@repobit/dex-system-design 4.4.0 → 4.5.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 +13 -0
- 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 +15 -6
- package/dist/src/components/cta-banner/cta-banner.js +14 -11
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- 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 +1 -0
- package/dist/src/components/features-tab/features-tab.js +4 -4
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.css.d.ts +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.css.js +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.css.js.map +1 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.d.ts +25 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.js +6 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner-item.js.map +1 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.css.d.ts +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.css.js +2 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.css.js.map +1 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.d.ts +36 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.js +9 -0
- package/dist/src/components/icon-columns-banner/icon-columns-banner.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.js +1 -1
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/loader/registry.js +1 -1
- package/dist/src/loader/registry.js.map +1 -1
- package/package.json +6 -2
- package/schemas/component-manifest.json +117 -3
- package/schemas/figma-component-map.json +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.5.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@4.4.0...@repobit/dex-system-design@4.5.0) (2026-11-25)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **DEX-29434:** split columns
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **DEX-29434:** clear remaining design-system checks
|
|
15
|
+
* **DEX-29434:** mark icon-columns-banner measures as not the column
|
|
16
|
+
* **DEX-29434:** satisfy ensemble, token and breakpoint gates for icon-columns-banner
|
|
17
|
+
|
|
18
|
+
|
|
6
19
|
## [4.4.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@4.3.3...@repobit/dex-system-design@4.4.0) (2026-11-25)
|
|
7
20
|
|
|
8
21
|
### Features
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{isolation:isolate;font-family:var(--typography-fontFamily-sans);background:linear-gradient(160deg, var(--color-surface-brand) 0%, var(--color-brand-700) 48%, var(--color-brand-950) 100%);display:block;position:relative}:host:before{content:"";z-index:var(--z-below);pointer-events:none;background:radial-gradient(1200px 600px at 78% -10%, var(--color-brand-400) 0%, transparent 55%);position:absolute;inset:0}.bd-ctabanner-container{padding-block:var(--spacing-64);box-sizing:border-box;text-align:center;align-items:center;gap:var(--spacing-16);flex-direction:column;display:flex}.bd-ctabanner-footer{margin-top:var(--spacing-24);align-items:center;gap:var(--spacing-8);text-align:center;flex-direction:column;display:flex}.bd-ctabanner-title[hidden],.bd-ctabanner-description[hidden],.bd-ctabanner-cta[hidden],.bd-ctabanner-caption[hidden],.bd-ctabanner-footer[hidden]{display:none}.bd-ctabanner-title{max-width:800px}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily);--bd-heading-color:var(--color-brand-on-fill);--bd-paragraph-color:var(--color-brand-on-fill);margin:0}.bd-ctabanner-description{margin-bottom:var(--spacing-16);max-width:640px}::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-large-fontSize);--bd-paragraph-font-weight:var(--typography-body-large-fontWeight);--bd-paragraph-line-height:var(--typography-body-large-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-large-letterSpacing);--bd-heading-color:var(--color-brand-on-fill);--bd-paragraph-color:var(--color-brand-on-fill)}.bd-ctabanner-cta{justify-content:center;gap:var(--spacing-16);flex-wrap:wrap;display:flex}.bd-ctabanner-caption{margin:var(--spacing-8) 0 0;font-family:var(--typography-fontFamily-mono);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);color:var(--color-brand-on-fill)}@media (width<576px){.bd-ctabanner-container{padding-block:var(--spacing-48)}.bd-ctabanner-cta{flex-direction:column;width:100%}}`;export{t as default};
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{isolation:isolate;font-family:var(--typography-fontFamily-sans);background:linear-gradient(160deg, var(--color-surface-brand) 0%, var(--color-brand-700) 48%, var(--color-brand-950) 100%);display:block;position:relative}:host([appearance=brand-soft]){color-scheme:light;background:var(--status-brand-surface)}:host([appearance=brand-deep]){background:var(--color-brand-700)}:host:before{content:"";z-index:var(--z-below);pointer-events:none;background:radial-gradient(1200px 600px at 78% -10%, var(--color-brand-400) 0%, transparent 55%);position:absolute;inset:0}:host([appearance=brand-soft]):before,:host([appearance=brand-deep]):before,:host([width=contained]):before{display:none}:host([width=contained]){background:0 0}.bd-ctabanner-container{padding-block:var(--spacing-64);box-sizing:border-box;text-align:center;align-items:center;gap:var(--spacing-16);flex-direction:column;display:flex}:host([width=contained]) .bd-ctabanner-container{box-sizing:border-box;width:min(calc(100% - var(--spacing-32)), var(--content-width-max));max-width:var(--content-width-max);border-radius:var(--shape-radius-2xl);background:var(--color-surface-brand);margin-inline:auto}:host([width=contained][appearance=brand-soft]) .bd-ctabanner-container{background:var(--status-brand-surface)}:host([width=contained][appearance=brand-deep]) .bd-ctabanner-container{background:var(--color-brand-700)}.bd-ctabanner-footer{margin-top:var(--spacing-24);align-items:center;gap:var(--spacing-8);text-align:center;flex-direction:column;display:flex}.bd-ctabanner-title[hidden],.bd-ctabanner-description[hidden],.bd-ctabanner-cta[hidden],.bd-ctabanner-caption[hidden],.bd-ctabanner-media[hidden],.bd-ctabanner-footer[hidden]{display:none}.bd-ctabanner-media{color:var(--color-brand-on-fill);justify-content:center;display:flex}.bd-ctabanner-media ::slotted(*){display:block}:host([appearance=brand-soft]) .bd-ctabanner-media{color:var(--color-text-primary)}.bd-ctabanner-title{max-width:800px}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily);--bd-heading-color:var(--color-brand-on-fill);--bd-paragraph-color:var(--color-brand-on-fill);margin:0}:host([appearance=brand-soft]) ::slotted(bd-h[slot=title]),:host([appearance=brand-soft]) ::slotted(bd-display[slot=title]){--bd-heading-color:var(--color-text-primary);--bd-paragraph-color:var(--color-text-primary)}.bd-ctabanner-description{margin-bottom:var(--spacing-16);max-width:640px}::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-large-fontSize);--bd-paragraph-font-weight:var(--typography-body-large-fontWeight);--bd-paragraph-line-height:var(--typography-body-large-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-large-letterSpacing);--bd-heading-color:var(--color-brand-on-fill);--bd-paragraph-color:var(--color-brand-on-fill)}:host([appearance=brand-soft]) ::slotted(bd-p[slot=description]){--bd-heading-color:var(--color-text-primary);--bd-paragraph-color:var(--color-text-primary)}.bd-ctabanner-cta{justify-content:center;gap:var(--spacing-16);flex-wrap:wrap;display:flex}.bd-ctabanner-caption{margin:var(--spacing-8) 0 0;font-family:var(--typography-fontFamily-mono);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);color:var(--color-brand-on-fill)}:host([appearance=brand-soft]) .bd-ctabanner-caption{color:var(--color-text-primary)}@media (width<576px){.bd-ctabanner-container{padding-block:var(--spacing-48)}.bd-ctabanner-cta{flex-direction:column;width:100%}}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=cta-banner.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cta-banner.css.js","names":["cta_banner_css_default"],"sources":["../../../../src/components/cta-banner/cta-banner.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n /* the light spot below is drawn behind the copy, inside this box */\n position: relative;\n isolation: isolate;\n font-family: var(--typography-fontFamily-sans);\n /* The band runs full-bleed on the host; the column inside it is\n bd-ensemble. Its ground is the brand fill, --color-surface-brand,\n deepening along the ramp: the ground --color-brand-on-fill is held to,\n and the same in both themes, as a brand band is. */\n background: linear-gradient(160deg, var(--color-surface-brand) 0%, var(--color-brand-700) 48%, var(--color-brand-950) 100%);\n }\n\n /* The light spot at the band's top right: decoration over the ground,\n under the copy. It was the first layer of the host's background, so a\n reading of the band's ground from its first stop -- the theme and brand\n sweeps' -- took brand-400 for the ground under every word, where the\n copy never sits: the spot is centred above the band and mostly outside\n it (Foundations/Text on a surface). */\n :host::before {\n content: \"\";\n position: absolute;\n inset: 0;\n z-index: var(--z-below);\n pointer-events: none;\n background: radial-gradient(1200px 600px at 78% -10%, var(--color-brand-400) 0%, transparent 55%);\n }\n\n .bd-ctabanner-container {\n padding-block: var(--spacing-64);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n gap: var(--spacing-16);\n }\n .bd-ctabanner-footer {\n margin-top: var(--spacing-24);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n text-align: center;\n }\n\n /* Each part's box is left out while its slot is empty (cta-banner.ts). The\n footer's used to be hidden by :not(:has(*)), which its own <slot> always\n defeated, so an empty footer kept its 24 above it. */\n .bd-ctabanner-title[hidden],\n .bd-ctabanner-description[hidden],\n .bd-ctabanner-cta[hidden],\n .bd-ctabanner-caption[hidden],\n .bd-ctabanner-footer[hidden] {\n display: none;\n }\n\n .bd-ctabanner-title {\n max-width: 800px;\n }\n\n /* The page's heading, at the page-section role whatever level it chose,\n in the band's ink -- what as=\"h2\" color=\"on-brand\" on the banner's own\n bd-h used to say. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h2\"))}\n ${unsafeCSS(ink(\"on-brand\"))}\n margin: 0;\n }\n\n .bd-ctabanner-description {\n margin-bottom: var(--spacing-16);\n max-width: 640px;\n }\n\n /* Solid on-brand ink, the title's. It was 85% white, translucent so the\n gradient showed through, and recorded as 4.67:1. Measured from\n screenshots of the Default story on 2026-10-29 -- text hidden, the ground\n under the glyph band sampled, the ink composited -- it was 4.07:1 at 375,\n 4.24 at 768 and 4.41 at 1024, at 18px/400 against a 4.5 bar: on a narrow\n screen it wraps up into the gradient's light spot. Nothing under 93%\n white clears that, so it is solid: worst point rgb(18,106,226) at 375,\n 5.02:1.\n .\n bd-p's flow margin is left on, as it was on the banner's own bd-p: with\n the box's 16 and the gap it holds the buttons and the caption where the\n caption's contrast was measured (below). */\n ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-large\"))}\n ${unsafeCSS(ink(\"on-brand\"))}\n }\n\n .bd-ctabanner-cta {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: var(--spacing-16);\n }\n\n /* The caption is text, so the page writes the words and this box sets\n them: body-small in mono, what <bd-p appearance=\"small\"\n font-family=\"mono\"> drew. */\n .bd-ctabanner-caption {\n margin: var(--spacing-8) 0 0;\n font-family: var(--typography-fontFamily-mono);\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n /* The band's ink, solid, as the description's became. It was that ink\n at 65%, no role, sampled from screenshots where it sat -- 4.92:1 at\n its worst, rgb(0,63,158) at 1600, on 2026-11-04 -- and re-measured\n each time the band's height or copy moved it. Against the band's own\n fill, the ground --color-brand-on-fill is held to under every theme,\n 65% is 2.7:1. Solid, it is that pair's 4.5:1 or more wherever the\n caption lands, under a partner's dark ink as under Bitdefender's white\n (9.5:1 at the worst point above). */\n color: var(--color-brand-on-fill);\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-ctabanner-container {\n padding-block: var(--spacing-48);\n }\n\n .bd-ctabanner-cta {\n flex-direction: column;\n width: 100%;\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,
|
|
1
|
+
{"version":3,"file":"cta-banner.css.js","names":["cta_banner_css_default"],"sources":["../../../../src/components/cta-banner/cta-banner.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n /* the light spot below is drawn behind the copy, inside this box */\n position: relative;\n isolation: isolate;\n font-family: var(--typography-fontFamily-sans);\n /* The band runs full-bleed on the host; the column inside it is\n bd-ensemble. Its ground is the brand fill, --color-surface-brand,\n deepening along the ramp: the ground --color-brand-on-fill is held to,\n and the same in both themes, as a brand band is. */\n background: linear-gradient(160deg, var(--color-surface-brand) 0%, var(--color-brand-700) 48%, var(--color-brand-950) 100%);\n }\n\n :host([appearance=\"brand-soft\"]) {\n color-scheme: light;\n background: var(--status-brand-surface);\n }\n\n :host([appearance=\"brand-deep\"]) {\n /* no token: a deep brand band, dark in every theme; no role names the\n brand ramp's 700 as a ground */\n background: var(--color-brand-700);\n }\n\n /* The light spot at the band's top right: decoration over the ground,\n under the copy. It was the first layer of the host's background, so a\n reading of the band's ground from its first stop -- the theme and brand\n sweeps' -- took brand-400 for the ground under every word, where the\n copy never sits: the spot is centred above the band and mostly outside\n it (Foundations/Text on a surface). */\n :host::before {\n content: \"\";\n position: absolute;\n inset: 0;\n z-index: var(--z-below);\n pointer-events: none;\n background: radial-gradient(1200px 600px at 78% -10%, var(--color-brand-400) 0%, transparent 55%);\n }\n\n :host([appearance=\"brand-soft\"])::before,\n :host([appearance=\"brand-deep\"])::before,\n :host([width=\"contained\"])::before {\n display: none;\n }\n\n :host([width=\"contained\"]) {\n background: transparent;\n }\n\n .bd-ctabanner-container {\n padding-block: var(--spacing-64);\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n gap: var(--spacing-16);\n }\n\n :host([width=\"contained\"]) .bd-ctabanner-container {\n box-sizing: border-box;\n width: min(calc(100% - var(--spacing-32)), var(--content-width-max));\n /* not the column: a contained surface, inset from the page's edges */\n max-width: var(--content-width-max);\n margin-inline: auto;\n border-radius: var(--shape-radius-2xl);\n background: var(--color-surface-brand);\n }\n\n :host([width=\"contained\"][appearance=\"brand-soft\"]) .bd-ctabanner-container {\n background: var(--status-brand-surface);\n }\n\n :host([width=\"contained\"][appearance=\"brand-deep\"]) .bd-ctabanner-container {\n /* no token: the deep band's ground, as the host's above */\n background: var(--color-brand-700);\n }\n .bd-ctabanner-footer {\n margin-top: var(--spacing-24);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n text-align: center;\n }\n\n /* Each part's box is left out while its slot is empty (cta-banner.ts). The\n footer's used to be hidden by :not(:has(*)), which its own <slot> always\n defeated, so an empty footer kept its 24 above it. */\n .bd-ctabanner-title[hidden],\n .bd-ctabanner-description[hidden],\n .bd-ctabanner-cta[hidden],\n .bd-ctabanner-caption[hidden],\n .bd-ctabanner-media[hidden],\n .bd-ctabanner-footer[hidden] {\n display: none;\n }\n\n .bd-ctabanner-media {\n display: flex;\n justify-content: center;\n color: var(--color-brand-on-fill);\n }\n\n .bd-ctabanner-media ::slotted(*) {\n display: block;\n }\n\n :host([appearance=\"brand-soft\"]) .bd-ctabanner-media {\n color: var(--color-text-primary);\n }\n\n .bd-ctabanner-title {\n max-width: 800px;\n }\n\n /* The page's heading, at the page-section role whatever level it chose,\n in the band's ink -- what as=\"h2\" color=\"on-brand\" on the banner's own\n bd-h used to say. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h2\"))}\n ${unsafeCSS(ink(\"on-brand\"))}\n margin: 0;\n }\n\n :host([appearance=\"brand-soft\"]) ::slotted(bd-h[slot=\"title\"]),\n :host([appearance=\"brand-soft\"]) ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(ink(\"strong\"))}\n }\n\n .bd-ctabanner-description {\n margin-bottom: var(--spacing-16);\n max-width: 640px;\n }\n\n /* Solid on-brand ink, the title's. It was 85% white, translucent so the\n gradient showed through, and recorded as 4.67:1. Measured from\n screenshots of the Default story on 2026-10-29 -- text hidden, the ground\n under the glyph band sampled, the ink composited -- it was 4.07:1 at 375,\n 4.24 at 768 and 4.41 at 1024, at 18px/400 against a 4.5 bar: on a narrow\n screen it wraps up into the gradient's light spot. Nothing under 93%\n white clears that, so it is solid: worst point rgb(18,106,226) at 375,\n 5.02:1.\n .\n bd-p's flow margin is left on, as it was on the banner's own bd-p: with\n the box's 16 and the gap it holds the buttons and the caption where the\n caption's contrast was measured (below). */\n ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-large\"))}\n ${unsafeCSS(ink(\"on-brand\"))}\n }\n\n :host([appearance=\"brand-soft\"]) ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(ink(\"strong\"))}\n }\n\n .bd-ctabanner-cta {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: var(--spacing-16);\n }\n\n /* The caption is text, so the page writes the words and this box sets\n them: body-small in mono, what <bd-p appearance=\"small\"\n font-family=\"mono\"> drew. */\n .bd-ctabanner-caption {\n margin: var(--spacing-8) 0 0;\n font-family: var(--typography-fontFamily-mono);\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n /* The band's ink, solid, as the description's became. It was that ink\n at 65%, no role, sampled from screenshots where it sat -- 4.92:1 at\n its worst, rgb(0,63,158) at 1600, on 2026-11-04 -- and re-measured\n each time the band's height or copy moved it. Against the band's own\n fill, the ground --color-brand-on-fill is held to under every theme,\n 65% is 2.7:1. Solid, it is that pair's 4.5:1 or more wherever the\n caption lands, under a partner's dark ink as under Bitdefender's white\n (9.5:1 at the worst point above). */\n color: var(--color-brand-on-fill);\n }\n\n :host([appearance=\"brand-soft\"]) .bd-ctabanner-caption {\n color: var(--color-text-primary);\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-ctabanner-container {\n padding-block: var(--spacing-48);\n }\n\n .bd-ctabanner-cta {\n flex-direction: column;\n width: 100%;\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,s3H"}
|
|
@@ -1,22 +1,30 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
1
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
2
2
|
import { SlotController } from "../shared/controller.slot.js";
|
|
3
3
|
import "../../tokens/tokens.js";
|
|
4
4
|
import "../h/h.js";
|
|
5
5
|
import "../p/p.js";
|
|
6
|
+
declare const APPEARANCES: readonly ["brand", "brand-soft", "brand-deep"];
|
|
7
|
+
declare const WIDTHS: readonly ["full", "contained"];
|
|
8
|
+
type Appearance = typeof APPEARANCES[number];
|
|
9
|
+
type Width = typeof WIDTHS[number];
|
|
6
10
|
/**
|
|
7
|
-
* A
|
|
8
|
-
*
|
|
11
|
+
* A centred closing call to action: a title, supporting line, one or two
|
|
12
|
+
* buttons, and an optional caption underneath. The surface can be full-width
|
|
13
|
+
* or contained, with optional media above the copy.
|
|
9
14
|
*
|
|
10
15
|
* Every word is the page's (ADR 0003): `<bd-h slot="title" as="h2">`,
|
|
11
16
|
* `<bd-p slot="description">`, `<bd-button slot="actions">` (one or two, in
|
|
12
17
|
* source order) and `<span slot="caption">`. The page picks the title's
|
|
13
18
|
* level; the banner sets the title's size (heading-h2), the description's
|
|
14
|
-
* (body-large) and the
|
|
15
|
-
* while its slot is empty.
|
|
19
|
+
* (body-large) and the ink for its appearance. `media` takes an icon or image.
|
|
20
|
+
* Each part's box is left out while its slot is empty.
|
|
16
21
|
*/
|
|
17
22
|
export declare class BdCtaBanner extends LitElement {
|
|
18
23
|
static styles: import("lit").CSSResult[];
|
|
19
|
-
|
|
24
|
+
appearance: Appearance;
|
|
25
|
+
width: Width;
|
|
26
|
+
_slots: SlotController<"title" | "description" | "caption" | "media" | "actions" | "footer">;
|
|
27
|
+
willUpdate(changed: PropertyValues<this>): void;
|
|
20
28
|
render(): import("lit-html").TemplateResult<1>;
|
|
21
29
|
}
|
|
22
30
|
declare global {
|
|
@@ -24,3 +32,4 @@ declare global {
|
|
|
24
32
|
"bd-cta-banner": BdCtaBanner;
|
|
25
33
|
}
|
|
26
34
|
}
|
|
35
|
+
export {};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as
|
|
2
|
-
<div class="bd-
|
|
3
|
-
<div class="bd-ctabanner-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{resolveEnum as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as r}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as i}from"../shared/ensemble.css.js";import a from"./cta-banner.css.js";import{LitElement as o,html as s}from"lit";import{property as c}from"lit/decorators.js";var l=[`brand`,`brand-soft`,`brand-deep`],u=[`full`,`contained`],d=class extends o{constructor(...e){super(...e),this.appearance=`brand`,this.width=`full`,this._slots=new r(this,{slots:[`media`,`title`,`description`,`actions`,`caption`,`footer`]})}static{this.styles=[i,a]}willUpdate(e){e.has(`appearance`)&&(this.appearance=t(this.appearance,{allowed:l,fallback:`brand`})),e.has(`width`)&&(this.width=t(this.width,{allowed:u,fallback:`full`}))}render(){let e=e=>this._slots.has(e);return s`
|
|
2
|
+
<div class="bd-ctabanner-surface">
|
|
3
|
+
<div class="bd-ensemble bd-ctabanner-container">
|
|
4
|
+
<div class="bd-ctabanner-media" ?hidden=${!e(`media`)}><slot name="media"></slot></div>
|
|
5
|
+
<div class="bd-ctabanner-title" ?hidden=${!e(`title`)}><slot name="title"></slot></div>
|
|
6
|
+
<div class="bd-ctabanner-description" ?hidden=${!e(`description`)}><slot name="description"></slot></div>
|
|
7
|
+
<div class="bd-ctabanner-cta" ?hidden=${!e(`actions`)}><slot name="actions"></slot></div>
|
|
8
|
+
<div class="bd-ctabanner-caption" ?hidden=${!e(`caption`)}><slot name="caption"></slot></div>
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
<!-- Freeform slot for extra content below the caption -- contact
|
|
11
|
+
info, legal disclaimers, links, etc. Empty by default,
|
|
12
|
+
collapses to nothing when unused. -->
|
|
13
|
+
<div class="bd-ctabanner-footer" ?hidden=${!e(`footer`)}><slot name="footer"></slot></div>
|
|
14
|
+
</div>
|
|
12
15
|
</div>
|
|
13
|
-
`}};
|
|
16
|
+
`}};n([c({type:String,reflect:!0})],d.prototype,`appearance`,void 0),n([c({type:String,reflect:!0})],d.prototype,`width`,void 0),d=n([e(`bd-cta-banner`)],d);export{d as BdCtaBanner};
|
|
14
17
|
//# sourceMappingURL=cta-banner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cta-banner.js","names":["ctaBannerCSS","_decorate","__decorate","cta_banner_css_default","BdCtaBanner","LitElement","_args","SlotController","ensembleCSS","has","name","defineElement"],"sources":["../../../../src/components/cta-banner/cta-banner.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atoms the page writes into the banner's title and description. It\n renders neither now, but 3.x's module registered both, and a page\n importing only this module still gets them. */\nimport \"#components/h/h.ts\";\nimport \"#components/p/p.ts\";\nimport ctaBannerCSS from \"./cta-banner.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n/**\n * A
|
|
1
|
+
{"version":3,"file":"cta-banner.js","names":["ctaBannerCSS","_decorate","__decorate","cta_banner_css_default","APPEARANCES","WIDTHS","BdCtaBanner","LitElement","_args","SlotController","ensembleCSS","changed","resolveEnum","has","name","property","defineElement"],"sources":["../../../../src/components/cta-banner/cta-banner.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { resolveEnum } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atoms the page writes into the banner's title and description. It\n renders neither now, but 3.x's module registered both, and a page\n importing only this module still gets them. */\nimport \"#components/h/h.ts\";\nimport \"#components/p/p.ts\";\nimport ctaBannerCSS from \"./cta-banner.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\nconst APPEARANCES = [\"brand\", \"brand-soft\", \"brand-deep\"] as const;\nconst WIDTHS = [\"full\", \"contained\"] as const;\n\ntype Appearance = typeof APPEARANCES[number];\ntype Width = typeof WIDTHS[number];\n\n/**\n * A centred closing call to action: a title, supporting line, one or two\n * buttons, and an optional caption underneath. The surface can be full-width\n * or contained, with optional media above the copy.\n *\n * Every word is the page's (ADR 0003): `<bd-h slot=\"title\" as=\"h2\">`,\n * `<bd-p slot=\"description\">`, `<bd-button slot=\"actions\">` (one or two, in\n * source order) and `<span slot=\"caption\">`. The page picks the title's\n * level; the banner sets the title's size (heading-h2), the description's\n * (body-large) and the ink for its appearance. `media` takes an icon or image.\n * Each part's box is left out while its slot is empty.\n */\n@defineElement(\"bd-cta-banner\")\nexport class BdCtaBanner extends LitElement {\n static styles = [ensembleCSS, ctaBannerCSS];\n\n @property({ type: String, reflect: true })\n appearance: Appearance = \"brand\";\n\n @property({ type: String, reflect: true })\n width: Width = \"full\";\n\n _slots = new SlotController(this, { slots: [\"media\", \"title\", \"description\", \"actions\", \"caption\", \"footer\"] });\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\")) {\n this.appearance = resolveEnum(this.appearance, { allowed: APPEARANCES, fallback: \"brand\" });\n }\n if (changed.has(\"width\")) {\n this.width = resolveEnum(this.width, { allowed: WIDTHS, fallback: \"full\" });\n }\n }\n\n render() {\n const has = (name: \"media\" | \"title\" | \"description\" | \"actions\" | \"caption\" | \"footer\") => this._slots.has(name);\n return html`\n <div class=\"bd-ctabanner-surface\">\n <div class=\"bd-ensemble bd-ctabanner-container\">\n <div class=\"bd-ctabanner-media\" ?hidden=${!has(\"media\")}><slot name=\"media\"></slot></div>\n <div class=\"bd-ctabanner-title\" ?hidden=${!has(\"title\")}><slot name=\"title\"></slot></div>\n <div class=\"bd-ctabanner-description\" ?hidden=${!has(\"description\")}><slot name=\"description\"></slot></div>\n <div class=\"bd-ctabanner-cta\" ?hidden=${!has(\"actions\")}><slot name=\"actions\"></slot></div>\n <div class=\"bd-ctabanner-caption\" ?hidden=${!has(\"caption\")}><slot name=\"caption\"></slot></div>\n\n <!-- Freeform slot for extra content below the caption -- contact\n info, legal disclaimers, links, etc. Empty by default,\n collapses to nothing when unused. -->\n <div class=\"bd-ctabanner-footer\" ?hidden=${!has(\"footer\")}><slot name=\"footer\"></slot></div>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-cta-banner\": BdCtaBanner;\n }\n}\n"],"mappings":"A,qfAeA,IAAMI,EAAc,CAAC,QAAS,aAAc,YAAY,EAClDC,EAAS,CAAC,OAAQ,WAAW,EAkBtBC,EAAN,cAA0BC,CAAW,C,8BAIjB,KAAA,WAAA,QAGV,KAAA,MAAA,OAEN,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAO,CAAC,QAAS,QAAS,cAAe,UAAW,UAAW,QAAQ,CAAE,CAAC,C,QAR9F,KAAA,OAAA,CAACC,EAAaV,CAAY,C,CAU1C,WAAW,EAA+B,CACpCW,EAAQ,IAAI,YAAY,IAC1B,KAAK,WAAaC,EAAY,KAAK,WAAY,CAAE,QAASR,EAAa,SAAU,OAAQ,CAAC,GAExFO,EAAQ,IAAI,OAAO,IACrB,KAAK,MAAQC,EAAY,KAAK,MAAO,CAAE,QAASP,EAAQ,SAAU,MAAO,CAAC,EAE9E,CAEA,QAAS,CACP,IAAMQ,EAAO,GAA+E,KAAK,OAAO,IAAIC,CAAI,EAChH,MAAO,EAAI;;;oDAGqC,CAACD,EAAI,OAAO,EAAE;oDACd,CAACA,EAAI,OAAO,EAAE;0DACR,CAACA,EAAI,aAAa,EAAE;kDAC5B,CAACA,EAAI,SAAS,EAAE;sDACZ,CAACA,EAAI,SAAS,EAAE;;;;;qDAKjB,CAACA,EAAI,QAAQ,EAAE;;;KAIlE,CACF,EApCGZ,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,aAAA,IAAA,EAAA,EAGxCL,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,QAAA,IAAA,EAAA,EAP1C,EAAAL,EAAA,CAAAe,EAAc,eAAe,CAAA,EAAAV,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{box-sizing:border-box;width:100%;display:block}.bd-features-tab-container{align-items:center;gap:var(--spacing-64);width:100%;animation:bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;display:flex}.bd-features-tab-left{align-items:flex-start;gap:var(--spacing-24);flex-direction:column;flex:1;display:flex}.bd-features-tab-content{gap:var(--spacing-8);flex-direction:column;display:flex}.bd-features-tab-content[hidden]{display:none}.bd-features-tab-right{flex:1;justify-content:center;align-items:center;display:flex}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h3-fontSize);--bd-heading-font-weight:var(--typography-heading-h3-fontWeight);--bd-heading-line-height:var(--typography-heading-h3-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h3-letterSpacing);--bd-heading-font-family:var(--typography-heading-h3-fontFamily);--bd-heading-color:var(--color-text-brand);--bd-paragraph-color:var(--color-text-brand);margin:0}::slotted([slot=media]){border-radius:var(--shape-radius-lg);width:100%;max-width:520px;height:auto;display:block}@media (prefers-reduced-motion:reduce){.bd-features-tab-container{animation:none}}@keyframes bd-fade-slide-right{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (width<992px){.bd-features-tab-container{gap:var(--spacing-32);flex-direction:column-reverse}.bd-features-tab-container.bd-features-tab-reverse{flex-direction:column-reverse}.bd-features-tab-left{text-align:center;align-items:center}::slotted([slot=media]){max-width:100%}}@media (width<576px){.bd-features-tab-container{gap:var(--spacing-24)}}`;export{t as default};
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{box-sizing:border-box;width:100%;display:block}.bd-features-tab-container{align-items:center;gap:var(--spacing-64);width:100%;animation:bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;display:flex}.bd-features-tab-left{align-items:flex-start;gap:var(--spacing-24);flex-direction:column;flex:1;display:flex}.bd-features-tab-content{gap:var(--spacing-8);flex-direction:column;display:flex}.bd-features-tab-content[hidden]{display:none}.bd-features-tab-right{flex:1;justify-content:center;align-items:center;display:flex}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h3-fontSize);--bd-heading-font-weight:var(--typography-heading-h3-fontWeight);--bd-heading-line-height:var(--typography-heading-h3-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h3-letterSpacing);--bd-heading-font-family:var(--typography-heading-h3-fontFamily);--bd-heading-color:var(--color-text-brand);--bd-paragraph-color:var(--color-text-brand);margin:0}::slotted([slot=media]){border-radius:var(--shape-radius-lg);width:100%;max-width:520px;height:auto;display:block}:host([appearance=contained]) .bd-features-tab-container{background:var(--color-surface-container);border-radius:var(--shape-radius-2xl);align-items:stretch;gap:0;overflow:clip}:host([appearance=contained]) .bd-features-tab-left,:host([appearance=contained]) .bd-features-tab-right{box-sizing:border-box;flex:0 0 50%;min-width:0}:host([appearance=contained]) .bd-features-tab-left{padding:var(--spacing-64);justify-content:center}:host([appearance=contained]) .bd-features-tab-right{aspect-ratio:16/9;position:relative}:host([appearance=contained]) ::slotted(img[slot=media]){border-radius:var(--radius-none);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.bd-features-tab-container{animation:none}}@keyframes bd-fade-slide-right{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (width<992px){.bd-features-tab-container{gap:var(--spacing-32);flex-direction:column-reverse}.bd-features-tab-container.bd-features-tab-reverse{flex-direction:column-reverse}.bd-features-tab-left{text-align:center;align-items:center}::slotted([slot=media]){max-width:100%}:host([appearance=contained]) .bd-features-tab-container{gap:0}:host([appearance=contained]) .bd-features-tab-left,:host([appearance=contained]) .bd-features-tab-right{flex:none;width:100%}:host([appearance=contained]) .bd-features-tab-left{padding:var(--spacing-32)}:host([appearance=contained]) .bd-features-tab-right{aspect-ratio:auto}:host([appearance=contained]) ::slotted(img[slot=media]){height:auto;position:static}}@media (width<576px){.bd-features-tab-container{gap:var(--spacing-24)}}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=features-tab.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features-tab.css.js","names":["features_tab_css_default"],"sources":["../../../../src/components/features-tab/features-tab.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, headingRole, ink } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-features-tab-container {\n display: flex;\n align-items: center;\n gap: var(--spacing-64);\n width: 100%;\n /* slow, not 350ms: a 50ms difference nobody chose, on a one-shot\n entrance that is not repeated. */\n animation: bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;\n }\n\n .bd-features-tab-left {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-24);\n }\n\n .bd-features-tab-content {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n /* The body's wrapper while the default slot is empty; display above\n outranks the hidden attribute's own rule. */\n .bd-features-tab-content[hidden] {\n display: none;\n }\n\n .bd-features-tab-right {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n /* The panel owns its title's size and ink, never its level: heading-h3 in\n brand ink. In 3.x the page's bd-h chose both, and the two places that\n follow the design -- the Figma component's Code Connect snippet and the\n Ultimate Security page rebuilt from the reference -- both wrote\n visual-level=\"h3\" color=\"primary\" (this file's own stories wrote h4). A\n visual-level or color on the page's bd-h still wins. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n margin: 0;\n ${unsafeCSS(headingRole('heading-h3'))}\n ${unsafeCSS(ink('primary'))}\n }\n\n ::slotted([slot=\"media\"]) {\n width: 100%;\n max-width: 520px;\n height: auto;\n border-radius: var(--shape-radius-lg);\n display: block;\n }\n\n /* The entrance is skipped rather than shortened. Its first frame is\n opacity 0 and a 24px offset, so under reduced motion the container simply\n renders where it belongs, fully opaque: it declares no opacity of its own,\n and none is what the keyframes stop supplying. Content is present\n immediately rather than waiting to be revealed. */\n @media (prefers-reduced-motion: reduce) {\n .bd-features-tab-container {\n animation: none;\n }\n }\n\n @keyframes bd-fade-slide-right {\n from {\n opacity: 0;\n transform: translateX(24px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n }\n\n @media ${unsafeCSS(below('lg'))} {\n .bd-features-tab-container {\n flex-direction: column-reverse;\n gap: var(--spacing-32);\n }\n\n .bd-features-tab-container.bd-features-tab-reverse {\n flex-direction: column-reverse;\n }\n\n .bd-features-tab-left {\n align-items: center;\n text-align: center;\n }\n\n ::slotted([slot=\"media\"]) {\n max-width: 100%;\n }\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-features-tab-container {\n gap: var(--spacing-24);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,
|
|
1
|
+
{"version":3,"file":"features-tab.css.js","names":["features_tab_css_default"],"sources":["../../../../src/components/features-tab/features-tab.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, headingRole, ink } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-features-tab-container {\n display: flex;\n align-items: center;\n gap: var(--spacing-64);\n width: 100%;\n /* slow, not 350ms: a 50ms difference nobody chose, on a one-shot\n entrance that is not repeated. */\n animation: bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;\n }\n\n .bd-features-tab-left {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-24);\n }\n\n .bd-features-tab-content {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n /* The body's wrapper while the default slot is empty; display above\n outranks the hidden attribute's own rule. */\n .bd-features-tab-content[hidden] {\n display: none;\n }\n\n .bd-features-tab-right {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n /* The panel owns its title's size and ink, never its level: heading-h3 in\n brand ink. In 3.x the page's bd-h chose both, and the two places that\n follow the design -- the Figma component's Code Connect snippet and the\n Ultimate Security page rebuilt from the reference -- both wrote\n visual-level=\"h3\" color=\"primary\" (this file's own stories wrote h4). A\n visual-level or color on the page's bd-h still wins. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n margin: 0;\n ${unsafeCSS(headingRole('heading-h3'))}\n ${unsafeCSS(ink('primary'))}\n }\n\n ::slotted([slot=\"media\"]) {\n width: 100%;\n max-width: 520px;\n height: auto;\n border-radius: var(--shape-radius-lg);\n display: block;\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-container {\n gap: 0;\n align-items: stretch;\n background: var(--color-surface-container);\n border-radius: var(--shape-radius-2xl);\n overflow: clip;\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-left,\n :host([appearance=\"contained\"]) .bd-features-tab-right {\n box-sizing: border-box;\n flex: 0 0 50%;\n min-width: 0;\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-left {\n justify-content: center;\n padding: var(--spacing-64);\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-right {\n position: relative;\n aspect-ratio: 16 / 9;\n }\n\n :host([appearance=\"contained\"]) ::slotted(img[slot=\"media\"]) {\n position: absolute;\n inset: 0;\n width: 100%;\n max-width: none;\n height: 100%;\n border-radius: var(--radius-none);\n object-fit: cover;\n }\n\n /* The entrance is skipped rather than shortened. Its first frame is\n opacity 0 and a 24px offset, so under reduced motion the container simply\n renders where it belongs, fully opaque: it declares no opacity of its own,\n and none is what the keyframes stop supplying. Content is present\n immediately rather than waiting to be revealed. */\n @media (prefers-reduced-motion: reduce) {\n .bd-features-tab-container {\n animation: none;\n }\n }\n\n @keyframes bd-fade-slide-right {\n from {\n opacity: 0;\n transform: translateX(24px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n }\n\n @media ${unsafeCSS(below('lg'))} {\n .bd-features-tab-container {\n flex-direction: column-reverse;\n gap: var(--spacing-32);\n }\n\n .bd-features-tab-container.bd-features-tab-reverse {\n flex-direction: column-reverse;\n }\n\n .bd-features-tab-left {\n align-items: center;\n text-align: center;\n }\n\n ::slotted([slot=\"media\"]) {\n max-width: 100%;\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-container {\n gap: 0;\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-left,\n :host([appearance=\"contained\"]) .bd-features-tab-right {\n flex: none;\n width: 100%;\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-left {\n padding: var(--spacing-32);\n }\n\n :host([appearance=\"contained\"]) .bd-features-tab-right {\n aspect-ratio: auto;\n }\n\n :host([appearance=\"contained\"]) ::slotted(img[slot=\"media\"]) {\n position: static;\n height: auto;\n }\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-features-tab-container {\n gap: var(--spacing-24);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,uwF"}
|
|
@@ -25,6 +25,7 @@ import { SlotController } from "../shared/controller.slot.js";
|
|
|
25
25
|
declare class BdFeaturesTab extends LitElement {
|
|
26
26
|
static styles: import("lit").CSSResult[];
|
|
27
27
|
reverse: boolean;
|
|
28
|
+
appearance: "default" | "contained";
|
|
28
29
|
_slots: SlotController<"">;
|
|
29
30
|
render(): import("lit-html").TemplateResult<1>;
|
|
30
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import"../button/button.js";import i from"./features-tab.css.js";import"../video-player/video-player.js";import{LitElement as a,html as o}from"lit";import{property as s}from"lit/decorators.js";var c=class extends a{constructor(...e){super(...e),this.reverse=!1,this._slots=new n(this,{slots:[``]})}static{this.styles=[r,i]}render(){let e=o`
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import"../button/button.js";import i from"./features-tab.css.js";import"../video-player/video-player.js";import{LitElement as a,html as o}from"lit";import{property as s}from"lit/decorators.js";var c=class extends a{constructor(...e){super(...e),this.reverse=!1,this.appearance=`default`,this._slots=new n(this,{slots:[``]})}static{this.styles=[r,i]}render(){let e=o`
|
|
2
2
|
<div class="bd-features-tab-left">
|
|
3
3
|
<slot name="title"></slot>
|
|
4
4
|
<div class="bd-features-tab-content" ?hidden=${!this._slots.has(``)}><slot></slot></div>
|
|
@@ -6,9 +6,9 @@ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/
|
|
|
6
6
|
</div>
|
|
7
7
|
`,t=o`
|
|
8
8
|
<div class="bd-features-tab-right"><slot name="media"></slot></div>
|
|
9
|
-
|
|
10
|
-
<div class="bd-ensemble bd-features-tab-container ${this.reverse?`bd-features-tab-reverse`:``}">
|
|
9
|
+
`,n=this.appearance===`contained`,r=o`
|
|
10
|
+
<div class="${n?``:`bd-ensemble`} bd-features-tab-container ${this.reverse?`bd-features-tab-reverse`:``}">
|
|
11
11
|
${this.reverse?o`${t}${e}`:o`${e}${t}`}
|
|
12
12
|
</div>
|
|
13
|
-
|
|
13
|
+
`;return n?o`<div class="bd-ensemble">${r}</div>`:r}};t([s({type:Boolean,reflect:!0})],c.prototype,`reverse`,void 0),t([s({type:String,reflect:!0})],c.prototype,`appearance`,void 0),c=t([e(`bd-features-tab`)],c);
|
|
14
14
|
//# sourceMappingURL=features-tab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features-tab.js","names":["featuresTabCSS","_decorate","__decorate","features_tab_css_default","BdFeaturesTab","LitElement","_args","SlotController","ensembleCSS","leftContent","rightContent","property","defineElement"],"sources":["../../../../src/components/features-tab/features-tab.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/h/h.ts\";\nimport \"#components/p/p.ts\";\nimport \"#components/video-player/video-player.ts\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport featuresTabCSS from \"./features-tab.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n/**\n * Copy on one side, media on the other: a title, the body, the actions and a\n * picture, a video or an embed.\n *\n * <bd-features-tab>\n * <bd-h slot=\"title\" as=\"h3\">Keep your loved ones protected.</bd-h>\n * <bd-p appearance=\"regular\">As the Subscription Manager, you can…</bd-p>\n * <bd-button slot=\"actions\" href=\"#plans\" appearance=\"accent\">Stay worry free</bd-button>\n * <img slot=\"media\" src=\"/family.png\" alt=\"…\" width=\"520\" height=\"390\">\n * </bd-features-tab>\n *\n * Everything is the page's. 3.x's CTA attributes (cta-label, cta-href,\n * cta-kind, cta-size) drew a bd-button here; the page writes that button into\n * `actions` now, with its own appearance and size. The title is drawn at\n * heading-h3 in brand ink, as the design draws it (features-tab.css.ts); the\n * level is the page's.\n */\n@defineElement(\"bd-features-tab\")\nclass BdFeaturesTab extends LitElement {\n static styles = [ensembleCSS, featuresTabCSS];\n\n @property({ type: Boolean, reflect: true })\n reverse = false;\n\n _slots = new SlotController(this, { slots: [\"\"] });\n\n render() {\n /* The title and the actions are flex items of the column themselves, so\n an empty one takes no box and leaves no gap. The body has a wrapper of\n its own, its paragraphs closer together, hidden while it is empty. */\n const leftContent = html`\n <div class=\"bd-features-tab-left\">\n <slot name=\"title\"></slot>\n <div class=\"bd-features-tab-content\" ?hidden=${!this._slots.has(\"\")}><slot></slot></div>\n <slot name=\"actions\"></slot>\n </div>\n `;\n\n const rightContent = html`\n <div class=\"bd-features-tab-right\"><slot name=\"media\"></slot></div>\n `;\n\n
|
|
1
|
+
{"version":3,"file":"features-tab.js","names":["featuresTabCSS","_decorate","__decorate","features_tab_css_default","BdFeaturesTab","LitElement","_args","SlotController","ensembleCSS","leftContent","rightContent","contained","content","property","defineElement"],"sources":["../../../../src/components/features-tab/features-tab.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/h/h.ts\";\nimport \"#components/p/p.ts\";\nimport \"#components/video-player/video-player.ts\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport featuresTabCSS from \"./features-tab.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n/**\n * Copy on one side, media on the other: a title, the body, the actions and a\n * picture, a video or an embed.\n *\n * <bd-features-tab>\n * <bd-h slot=\"title\" as=\"h3\">Keep your loved ones protected.</bd-h>\n * <bd-p appearance=\"regular\">As the Subscription Manager, you can…</bd-p>\n * <bd-button slot=\"actions\" href=\"#plans\" appearance=\"accent\">Stay worry free</bd-button>\n * <img slot=\"media\" src=\"/family.png\" alt=\"…\" width=\"520\" height=\"390\">\n * </bd-features-tab>\n *\n * Everything is the page's. 3.x's CTA attributes (cta-label, cta-href,\n * cta-kind, cta-size) drew a bd-button here; the page writes that button into\n * `actions` now, with its own appearance and size. The title is drawn at\n * heading-h3 in brand ink, as the design draws it (features-tab.css.ts); the\n * level is the page's.\n */\n@defineElement(\"bd-features-tab\")\nclass BdFeaturesTab extends LitElement {\n static styles = [ensembleCSS, featuresTabCSS];\n\n @property({ type: Boolean, reflect: true })\n reverse = false;\n\n @property({ type: String, reflect: true })\n appearance: \"default\" | \"contained\" = \"default\";\n\n _slots = new SlotController(this, { slots: [\"\"] });\n\n render() {\n /* The title and the actions are flex items of the column themselves, so\n an empty one takes no box and leaves no gap. The body has a wrapper of\n its own, its paragraphs closer together, hidden while it is empty. */\n const leftContent = html`\n <div class=\"bd-features-tab-left\">\n <slot name=\"title\"></slot>\n <div class=\"bd-features-tab-content\" ?hidden=${!this._slots.has(\"\")}><slot></slot></div>\n <slot name=\"actions\"></slot>\n </div>\n `;\n\n const rightContent = html`\n <div class=\"bd-features-tab-right\"><slot name=\"media\"></slot></div>\n `;\n\n const contained = this.appearance === \"contained\";\n const content = html`\n <div class=\"${contained ? \"\" : \"bd-ensemble\"} bd-features-tab-container ${this.reverse ? \"bd-features-tab-reverse\" : \"\"}\">\n ${this.reverse\n ? html`${rightContent}${leftContent}`\n : html`${leftContent}${rightContent}`}\n </div>\n `;\n return contained ? html`<div class=\"bd-ensemble\">${content}</div>` : content;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-features-tab\": BdFeaturesTab;\n }\n}\n"],"mappings":"A,ggBA8BA,IACMI,EADN,cAC4BC,CAAW,C,8BAI3B,KAAA,QAAA,GAG4B,KAAA,WAAA,UAE7B,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAO,CAAC,EAAE,CAAE,CAAC,C,QARjC,KAAA,OAAA,CAACC,EAAaR,CAAc,C,CAU5C,QAAS,CAIP,IAAMS,EAAc,CAAI;;;uDAG2B,CAAC,KAAK,OAAO,IAAI,EAAE,EAAE;;;MAKlEC,EAAe,CAAI;;MAInBC,EAAY,KAAK,aAAe,YAChCC,EAAU,CAAI;oBACJD,EAAY,GAAK,cAAc,6BAA6B,KAAK,QAAU,0BAA4B,GAAG;UACpH,KAAK,QACH,CAAI,GAAGD,IAAeD,IACtB,CAAI,GAAGA,IAAcC,IAAe;;MAG5C,OAAOC,EAAY,CAAI,4BAA4BC,EAAQ,QAAUA,CACvE,CACF,EAlCGX,EAAA,CAAAY,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,UAAA,IAAA,EAAA,EAGzCH,EAAA,CAAAY,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,aAAA,IAAA,EAAA,EAP1C,EAAAH,EAAA,CAAAa,EAAc,iBAAiB,CAAA,EAAAV,CAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{grid-row:span 3;grid-template-rows:subgrid;font-family:var(--typography-fontFamily-sans);display:grid}:host([hidden]),.icon[hidden],.title[hidden],.description[hidden]{display:none}.icon{color:var(--color-text-brand);margin-bottom:var(--spacing-24);align-items:flex-start;display:flex}.title{margin-bottom:var(--spacing-16)}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h4-fontSize);--bd-heading-font-weight:var(--typography-heading-h4-fontWeight);--bd-heading-line-height:var(--typography-heading-h4-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h4-letterSpacing);--bd-heading-font-family:var(--typography-heading-h4-fontFamily)}`;export{t as default};
|
|
2
|
+
//# sourceMappingURL=icon-columns-banner-item.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-columns-banner-item.css.js","names":["icon_columns_banner_item_css_default"],"sources":["../../../../src/components/icon-columns-banner/icon-columns-banner-item.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { headingRole } from \"#shared/token-scales.ts\";\n\nexport default css`\n /* The host takes three rows of the banner's grid and lays its parts on\n them, so the parts of neighbouring columns line up. */\n :host {\n display: grid;\n grid-row: span 3;\n grid-template-rows: subgrid;\n font-family: var(--typography-fontFamily-sans);\n }\n\n :host([hidden]),\n .icon[hidden],\n .title[hidden],\n .description[hidden] {\n display: none;\n }\n\n .icon {\n display: flex;\n align-items: flex-start;\n color: var(--color-text-brand);\n margin-bottom: var(--spacing-24);\n }\n\n .title {\n margin-bottom: var(--spacing-16);\n }\n\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h4\"))}\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,ktB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
|
+
/**
|
|
5
|
+
* One column of bd-icon-columns-banner: an icon, a title and a description.
|
|
6
|
+
*
|
|
7
|
+
* <bd-icon-columns-banner-item>
|
|
8
|
+
* <bd-img slot="icon" src="…" alt="" width="56" height="56"></bd-img>
|
|
9
|
+
* <bd-h slot="title" as="h3">Powered by 20+ years of expertise</bd-h>
|
|
10
|
+
* <bd-p slot="description">…</bd-p>
|
|
11
|
+
* </bd-icon-columns-banner-item>
|
|
12
|
+
*
|
|
13
|
+
* The three parts take a row each of the banner's grid, so every column's
|
|
14
|
+
* icon, title and description line up with its neighbours'.
|
|
15
|
+
*/
|
|
16
|
+
export declare class BdIconColumnsBannerItem extends LitElement {
|
|
17
|
+
static styles: import("lit").CSSResult[];
|
|
18
|
+
_slots: SlotController<"title" | "description" | "icon">;
|
|
19
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
"bd-icon-columns-banner-item": BdIconColumnsBannerItem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{SlotController as n}from"../shared/controller.slot.js";import r from"./icon-columns-banner-item.css.js";import{LitElement as i,html as a}from"lit";var o=class extends i{constructor(...e){super(...e),this._slots=new n(this,{slots:[`icon`,`title`,`description`]})}static{this.styles=[r]}render(){return a`
|
|
2
|
+
<div class="icon" ?hidden=${!this._slots.has(`icon`)}><slot name="icon"></slot></div>
|
|
3
|
+
<div class="title" ?hidden=${!this._slots.has(`title`)}><slot name="title"></slot></div>
|
|
4
|
+
<div class="description" ?hidden=${!this._slots.has(`description`)}><slot name="description"></slot></div>
|
|
5
|
+
`}};o=t([e(`bd-icon-columns-banner-item`)],o);export{o as BdIconColumnsBannerItem};
|
|
6
|
+
//# sourceMappingURL=icon-columns-banner-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-columns-banner-item.js","names":["itemCSS","_decorate","__decorate","icon_columns_banner_item_css_default","BdIconColumnsBannerItem","LitElement","_args","SlotController","defineElement"],"sources":["../../../../src/components/icon-columns-banner/icon-columns-banner-item.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport itemCSS from \"./icon-columns-banner-item.css.ts\";\n\n/**\n * One column of bd-icon-columns-banner: an icon, a title and a description.\n *\n * <bd-icon-columns-banner-item>\n * <bd-img slot=\"icon\" src=\"…\" alt=\"\" width=\"56\" height=\"56\"></bd-img>\n * <bd-h slot=\"title\" as=\"h3\">Powered by 20+ years of expertise</bd-h>\n * <bd-p slot=\"description\">…</bd-p>\n * </bd-icon-columns-banner-item>\n *\n * The three parts take a row each of the banner's grid, so every column's\n * icon, title and description line up with its neighbours'.\n */\n@defineElement(\"bd-icon-columns-banner-item\")\nexport class BdIconColumnsBannerItem extends LitElement {\n static styles = [itemCSS];\n\n _slots = new SlotController(this, { slots: [\"icon\", \"title\", \"description\"] });\n\n render() {\n return html`\n <div class=\"icon\" ?hidden=${!this._slots.has(\"icon\")}><slot name=\"icon\"></slot></div>\n <div class=\"title\" ?hidden=${!this._slots.has(\"title\")}><slot name=\"title\"></slot></div>\n <div class=\"description\" ?hidden=${!this._slots.has(\"description\")}><slot name=\"description\"></slot></div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-icon-columns-banner-item\": BdIconColumnsBannerItem;\n }\n}\n"],"mappings":"A,+TAoBO,IAAMI,EAAN,cAAsCC,CAAW,C,8BAG7C,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAO,CAAC,OAAQ,QAAS,aAAa,CAAE,CAAC,C,QAF7D,KAAA,OAAA,CAACP,CAAO,C,CAIxB,QAAS,CACP,MAAO,EAAI;kCACmB,CAAC,KAAK,OAAO,IAAI,MAAM,EAAE;mCACxB,CAAC,KAAK,OAAO,IAAI,OAAO,EAAE;yCACpB,CAAC,KAAK,OAAO,IAAI,aAAa,EAAE;KAEvE,CACF,EAbC,EAAAC,EAAA,CAAAO,EAAc,6BAA6B,CAAA,EAAAJ,CAAA,E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{box-sizing:border-box;font-family:var(--typography-fontFamily-sans);color-scheme:light;padding-inline:var(--spacing-16);display:block;container-type:inline-size}.surface{isolation:isolate;box-sizing:border-box;width:100%;max-width:var(--content-width-max);padding:var(--spacing-64) var(--spacing-24);border-radius:var(--shape-radius-2xl);background:var(--status-brand-surface);margin-inline:auto;position:relative;overflow:hidden}.surface>[hidden]{display:none}.corner{z-index:var(--z-below);pointer-events:none;width:24%;height:40%;position:absolute;top:0}.corner-start{inset-inline-start:0}.corner-end{inset-inline-end:0}.corner ::slotted(*){object-fit:cover;width:100%;height:100%;display:block}.corner-start ::slotted(*){object-position:left top}.corner-end ::slotted(*){object-position:right top}.title{margin:0 auto var(--spacing-48);max-width:var(--grid-container-max-lg);text-align:center}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily)}.columns{column-gap:var(--spacing-48);max-width:var(--grid-container-max-lg);grid-template-columns:repeat(3,minmax(0,1fr));row-gap:0;margin-inline:auto;display:grid}@container (width<=600px){.surface{padding-block:var(--spacing-48)}.columns{row-gap:var(--spacing-32);grid-template-columns:1fr}.corner{width:32%;height:24%}}`;export{t as default};
|
|
2
|
+
//# sourceMappingURL=icon-columns-banner.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-columns-banner.css.js","names":["icon_columns_banner_css_default"],"sources":["../../../../src/components/icon-columns-banner/icon-columns-banner.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { headingRole } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n /* the banner is the container that decides when the columns stack */\n container-type: inline-size;\n box-sizing: border-box;\n font-family: var(--typography-fontFamily-sans);\n /* a soft brand surface drawn in the light scheme in every theme, as\n bd-cta-banner's brand-soft is */\n color-scheme: light;\n padding-inline: var(--spacing-16);\n }\n\n .surface {\n position: relative;\n overflow: hidden;\n isolation: isolate;\n box-sizing: border-box;\n width: 100%;\n /* not the column: a contained surface, inset from the page's edges */\n max-width: var(--content-width-max);\n margin-inline: auto;\n padding: var(--spacing-64) var(--spacing-24);\n border-radius: var(--shape-radius-2xl);\n background: var(--status-brand-surface);\n }\n\n .surface > [hidden] {\n display: none;\n }\n\n /* The page's corner art, behind the copy, anchored to its top corner. */\n .corner {\n position: absolute;\n top: 0;\n z-index: var(--z-below);\n width: 24%;\n height: 40%;\n pointer-events: none;\n }\n\n .corner-start {\n inset-inline-start: 0;\n }\n\n .corner-end {\n inset-inline-end: 0;\n }\n\n .corner ::slotted(*) {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .corner-start ::slotted(*) {\n object-position: left top;\n }\n\n .corner-end ::slotted(*) {\n object-position: right top;\n }\n\n .title {\n margin: 0 auto var(--spacing-48);\n /* not the column: the title's centred measure, as the columns' below */\n max-width: var(--grid-container-max-lg);\n text-align: center;\n }\n\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h2\"))}\n }\n\n /* Each column takes three rows of this grid and shares them (subgrid), so\n a title that wraps or a longer description moves the next row down in\n every column. */\n .columns {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n column-gap: var(--spacing-48);\n row-gap: 0;\n /* not the column: three columns' measure, narrower than the surface */\n max-width: var(--grid-container-max-lg);\n margin-inline: auto;\n }\n\n @container (max-width: 600px) {\n .surface {\n padding-block: var(--spacing-48);\n }\n\n .columns {\n grid-template-columns: 1fr;\n row-gap: var(--spacing-32);\n }\n\n .corner {\n width: 32%;\n height: 24%;\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,klD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
|
+
import "./icon-columns-banner-item.js";
|
|
5
|
+
import "../h/h.js";
|
|
6
|
+
import "../img/img.js";
|
|
7
|
+
import "../p/p.js";
|
|
8
|
+
/**
|
|
9
|
+
* A soft brand surface with a centred title and a row of columns, each an
|
|
10
|
+
* icon, a title and a description. Decorative art sits in the surface's two
|
|
11
|
+
* top corners.
|
|
12
|
+
*
|
|
13
|
+
* <bd-icon-columns-banner>
|
|
14
|
+
* <bd-img slot="corner-start" src="…" alt=""></bd-img>
|
|
15
|
+
* <bd-img slot="corner-end" src="…" alt=""></bd-img>
|
|
16
|
+
* <bd-h slot="title" as="h2">Why trust Bitdefender Link Checker?</bd-h>
|
|
17
|
+
* <bd-icon-columns-banner-item>…</bd-icon-columns-banner-item>
|
|
18
|
+
* </bd-icon-columns-banner>
|
|
19
|
+
*
|
|
20
|
+
* The corner art is the page's content, not the component's: whatever is in
|
|
21
|
+
* `corner-start` and `corner-end` is clipped to the surface and anchored to
|
|
22
|
+
* its top corner, behind the copy, and hidden from assistive technology. The
|
|
23
|
+
* columns are the default slot and share their rows, so a title that wraps
|
|
24
|
+
* moves the descriptions down in every column. They stack at 600px wide or
|
|
25
|
+
* narrower. The page picks the title's level; the banner sets its size.
|
|
26
|
+
*/
|
|
27
|
+
export declare class BdIconColumnsBanner extends LitElement {
|
|
28
|
+
static styles: import("lit").CSSResult[];
|
|
29
|
+
_slots: SlotController<"" | "title" | "corner-start" | "corner-end">;
|
|
30
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
"bd-icon-columns-banner": BdIconColumnsBanner;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import"../img/img.js";import"./icon-columns-banner-item.js";import r from"./icon-columns-banner.css.js";import{LitElement as i,html as a}from"lit";var o=class extends i{constructor(...e){super(...e),this._slots=new n(this,{slots:[`corner-start`,`corner-end`,`title`,``]})}static{this.styles=[r]}render(){let e=e=>this._slots.has(e);return a`
|
|
2
|
+
<div class="surface">
|
|
3
|
+
<div class="corner corner-start" aria-hidden="true" ?hidden=${!e(`corner-start`)}><slot name="corner-start"></slot></div>
|
|
4
|
+
<div class="corner corner-end" aria-hidden="true" ?hidden=${!e(`corner-end`)}><slot name="corner-end"></slot></div>
|
|
5
|
+
<div class="title" ?hidden=${!e(`title`)}><slot name="title"></slot></div>
|
|
6
|
+
<div class="columns" ?hidden=${!e(``)}><slot></slot></div>
|
|
7
|
+
</div>
|
|
8
|
+
`}};o=t([e(`bd-icon-columns-banner`)],o);export{o as BdIconColumnsBanner};
|
|
9
|
+
//# sourceMappingURL=icon-columns-banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-columns-banner.js","names":["iconColumnsBannerCSS","_decorate","__decorate","icon_columns_banner_css_default","BdIconColumnsBanner","LitElement","_args","SlotController","has","name","defineElement"],"sources":["../../../../src/components/icon-columns-banner/icon-columns-banner.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"./icon-columns-banner-item.ts\";\nimport \"#components/h/h.ts\";\nimport \"#components/img/img.ts\";\nimport \"#components/p/p.ts\";\nimport iconColumnsBannerCSS from \"./icon-columns-banner.css.ts\";\n\n/**\n * A soft brand surface with a centred title and a row of columns, each an\n * icon, a title and a description. Decorative art sits in the surface's two\n * top corners.\n *\n * <bd-icon-columns-banner>\n * <bd-img slot=\"corner-start\" src=\"…\" alt=\"\"></bd-img>\n * <bd-img slot=\"corner-end\" src=\"…\" alt=\"\"></bd-img>\n * <bd-h slot=\"title\" as=\"h2\">Why trust Bitdefender Link Checker?</bd-h>\n * <bd-icon-columns-banner-item>…</bd-icon-columns-banner-item>\n * </bd-icon-columns-banner>\n *\n * The corner art is the page's content, not the component's: whatever is in\n * `corner-start` and `corner-end` is clipped to the surface and anchored to\n * its top corner, behind the copy, and hidden from assistive technology. The\n * columns are the default slot and share their rows, so a title that wraps\n * moves the descriptions down in every column. They stack at 600px wide or\n * narrower. The page picks the title's level; the banner sets its size.\n */\n@defineElement(\"bd-icon-columns-banner\")\nexport class BdIconColumnsBanner extends LitElement {\n static styles = [iconColumnsBannerCSS];\n\n _slots = new SlotController(this, { slots: [\"corner-start\", \"corner-end\", \"title\", \"\"] });\n\n render() {\n const has = (name: \"corner-start\" | \"corner-end\" | \"title\" | \"\") => this._slots.has(name);\n return html`\n <div class=\"surface\">\n <div class=\"corner corner-start\" aria-hidden=\"true\" ?hidden=${!has(\"corner-start\")}><slot name=\"corner-start\"></slot></div>\n <div class=\"corner corner-end\" aria-hidden=\"true\" ?hidden=${!has(\"corner-end\")}><slot name=\"corner-end\"></slot></div>\n <div class=\"title\" ?hidden=${!has(\"title\")}><slot name=\"title\"></slot></div>\n <div class=\"columns\" ?hidden=${!has(\"\")}><slot></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-icon-columns-banner\": BdIconColumnsBanner;\n }\n}\n"],"mappings":"A,0ZA+BO,IAAMI,EAAN,cAAkCC,CAAW,C,8BAGzC,KAAA,OAAA,IAAIE,EAAe,KAAM,CAAE,MAAO,CAAC,eAAgB,aAAc,QAAS,EAAE,CAAE,CAAC,C,QAFxE,KAAA,OAAA,CAACP,CAAoB,C,CAIrC,QAAS,CACP,IAAMQ,EAAO,GAAuD,KAAK,OAAO,IAAIC,CAAI,EACxF,MAAO,EAAI;;sEAEuD,CAACD,EAAI,cAAc,EAAE;oEACvB,CAACA,EAAI,YAAY,EAAE;qCAClD,CAACA,EAAI,OAAO,EAAE;uCACZ,CAACA,EAAI,EAAE,EAAE;;KAG9C,CACF,EAjBC,EAAAP,EAAA,CAAAS,EAAc,wBAAwB,CAAA,EAAAN,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=[`sm`,`md`,`lg`],t=[`neutral`,`brand`,`success`,`warning`,`error`,`info`],n=[``,`eyebrow`,`title`,`description`,`caption`,`badge`,`icon`,`media`,`actions`,`footer`,`start`,`end`,`label`,`hint`],r={"bd-agent-endpoints":{endpoints:`the first of two rows of links, the machine-readable files; a collection of its own beside the assistants, and the default slot takes what follows both rows`,assistants:`the second row of links, one per assistant; a collection of its own beside the endpoints`},"bd-article":{authors:`one bd-authors, which the article places under its title below lg and at the top of its sidebar from lg; no vocabulary word says a byline`,promo:"the product card the article draws at the end of its text, after its last section and before the newsletter, as REAL places it (DEX-29412); `actions` is a row of buttons, and this is an aside of its own",toc:`the article's one table of contents, inline before the first section heading below lg and sticky in the sidebar from lg`,newsletter:`the signup the article draws after its body in the main column, which the sidebar does not run beside`,related:`the article's related links, after its tags and a divider, a region of its own beside the body`},"bd-bar-chart-item":{value:`the text drawn at the end of the bar in place of its score ("6 / 6"), and the meter's value text; a bar is a name and its value, and the vocabulary has a word only for the first`},"bd-carousel-item":{"detail-title":`the heading of the item's own dialog, which the item forwards into the dialog's title and names its "+" by; the card itself shows no title, so \`title\` would say the card has one`,detail:`the body of the item's own dialog, forwarded into the dialog's default slot; a second region beside the card's own body in the default slot, and not a description of the card`},"bd-code":{copy:`the words of a block's own copy button and so its name ("Copy code"); the button stays in the shadow root, pinned outside the code's <pre>, and only its words are the page's, as bd-install-option's copy is -- label is a form control's, and bd-code's \`label\` attribute names its <pre>`,copied:`what the copy button shows for 1.5s after a copy, and what the block's live region says ("Copied"); a second state of the same button, which no word of the vocabulary names, as bd-install-option's copied`},"bd-comparison-panel":{positive:`the items of the column that says what the thing is, each ticked; one of two collections side by side, so neither is the default slot`,negative:`the items of the column that says what the thing is not, each crossed; the second collection`,"positive-title":`the positive column's own heading; the panel's title heads both columns`,"negative-title":`the negative column's own heading; the panel's title heads both columns`},"bd-fact":{value:`what the label names -- the figure or the answer; a fact is a label and its value, and the vocabulary has a word only for the first`},"bd-footer":{logo:`the brand's wordmark at the start of the masthead band; a mark the footer is signed with, not media illustrating its copy`,masterbrand:`the masterbrand lockup at the masthead band's end, opposite the logo; a second brand mark beside the first, which no word of the vocabulary names`,nav:`the main footer navigation, a bd-footer-nav above the link groups; one of two navigations, so neither is the default slot`,"quick-links":`the bd-footer-group columns of links; a collection of its own beside the social links and the navigations`,"social-links":`the links to the brand's social networks, drawn as their logos; a second collection of links beside the groups`,"secondary-nav":`the legal and policy bd-footer-nav beside the address; the second of the two navigations`,address:`the office's postal address beside the secondary nav; no word of the vocabulary names an address`,copyright:`the copyright line that opens the footer's last row; a legal notice, not a caption of anything`,anpc:`the Romanian consumer authority's ANPC badge, drawn on a ro locale only; a regulatory mark the vocabulary has no word for`,"country-label":`the country picker's words until a country is known, and the country list's heading; label is a form control's, and the picker is a disclosure, not a field`},"bd-install-option":{code:`the command the option shows in its code block and its Copy button copies, line breaks kept; no word of the vocabulary names a command`,copy:`the Copy button's words and so its name ("Copy"); the button stays in the shadow root beside the code block, and only its words are the page's, as bd-product-hero's cta is -- label is a form control's`,copied:`the words that take the Copy button's place for 1.5s after a copy and are said through the option's live region ("Copied"); a second state of the same button, which no word of the vocabulary names`},"bd-install-options":{"works-in":`the harnesses the options run in, one bd-tag each; a second collection beside the default slot's options`,"works-in-label":`the words that introduce that row ("Works in"); the section's eyebrow and title are its own, and label is a form control's`,"prompt-title":`the heading of the "Then just ask" panel, a second region of the section beside the options, under the section's own title`,"prompt-description":`the paragraph under the prompt panel's heading; the section's description is the one under its title`,"prompt-label":`the small label above the prompt block, naming what the block is ("Prompt for your agent")`,prompt:`the prompt itself, the words the panel shows and its Copy button copies`,"prompt-note":`the warning-style note under the prompt`,copy:`the prompt panel's Copy button's words and so its name ("Copy"), as bd-install-option's copy is for its command`,copied:`the words that take that button's place for 1.5s after a copy and are said through the section's live region ("Copied"), as bd-install-option's copied`},"bd-newsletter-signup":{cta:`the words of the component's own button or link, which stays in the shadow root because its look is the component's; only its label is the page's`,error:`the words shown under the field after an invalid address, announced; nothing in the vocabulary is shown only when the reader's input is refused`,success:`the words shown in place of the form once the page has sent the address (state="success"), in a status region; a state's message, which no vocabulary word names`,failure:`the words shown under the filled form when the page's send failed (state="failed"), announced; not \`error\`, which is the reader's invalid address, while this is the page's send`},"bd-partner-banner":{lockup:`the partner's and Bitdefender's logos side by side over the photo; a co-brand mark no word of the vocabulary names`},"bd-post-card":{meta:`the post's byline row -- its date and reading time, bd-meta items -- between the cover and the title; not the eyebrow, a kicker naming what the title is about, nor a caption, which describes the cover`,"read-more":`the words of the card's visual cue to follow its link ("Read more"), drawn with an arrow and hidden from a screen reader, which hears the title as the link; not the card's actions -- the whole card is its one link -- and not a caption, which describes something`},"bd-pricing-card":{banner:'the highlighted card\'s ribbon above its top edge ("Best value"), drawn only with `highlight`',price:`the card's price zone, a bd-pricing-price or a bd-tab-group of them for a billing choice; the store's figures, which no word of the vocabulary names`},"bd-pricing-price":{full:`the struck full price the discount is taken from; a price zone is a reference price, a discount and a price, and the vocabulary has a word for none of them`,discount:`the discount's bd-badge beside the full price ("Save 44%"); a figure of its own, not the card's badge`,period:`the price's billing unit after it ("/year", "/month"); not a caption`},"bd-product-hero":{"product-name":`the product's name, a kicker above the title in the heading-h4 role; the title is the promise, not the product`,cta:`the buy button's words; the button stays in the shadow root inside bd-product, where the store finds it, and only its label is the page's`,"cta-secondary":`the second button's words, drawn when cta-secondary-href is set`},"bd-product-upsell":{cta:`the words of the component's own button or link, which stays in the shadow root because its look is the component's; only its label is the page's`},"bd-quick-answer":{facts:`the labelled facts under the answer, one bd-fact each, drawn as a strip under a divider; a collection of its own beside the default slot, which takes whatever follows the answer`},"bd-report-promo":{cta:`the words of the promo's own bd-button, which stays in the shadow root because its look is the promo's; only its label is the page's`},"bd-review":{date:`when the review was written, the line under its caption; the vocabulary has a word for who said it (caption) and none for when`},"bd-spotlight":{"description-actions":"a second group of actions: the buttons under the description, in the other column from the `actions` under the title. Web Awesome names a second group by its part the same way (wa-card's header-actions and footer-actions)"},"bd-stat":{value:`the figure the caption explains ("580+"), drawn at display size above it; a stat is a figure and its caption, and the vocabulary has a word only for the second`},"bd-terminal-hero":{breadcrumb:`the page's bd-breadcrumb above the eyebrow, the hero's own trail`,"annotation-top":`a note pinned above the terminal, on its top edge; no word of the vocabulary names a note placed over another part`,"annotation-bottom":`a note pinned below the terminal, on its bottom edge; the second of the pair`,meta:`the mono spec line that opens the facts row; a line of its own above the facts, not their caption`,facts:`the labelled facts under the spec line, one bd-fact each in the spec look, drawn as a grid under a rule; a collection of its own beside the copy, as bd-quick-answer's facts are`},"bd-tooltip":{content:`the bubble's words; a tooltip has a trigger and what it says about it, not a title or a description`},"bd-trust-panel":{stats:`a second collection beside the cards in the default slot: the bd-fact statistics row above them`}},i={look:[`variant`,`kind`],meaning:[`tone`]},a={look:[`appearance`],meaning:[`variant`]};function o(e){for(let t of e)if(t===`appearance`)return a;return i}function s(e,{allowed:t,fallback:n}){return c(t,e)?e:n}var c=(e,t)=>e.includes(t);export{r as COMPONENT_SLOTS,i as PROP_AXES_V3,a as PROP_AXES_V4,e as SIZES,n as SLOT_NAMES,t as TONES,o as axesFor,c as isOneOf,s as resolveEnum};
|
|
1
|
+
var e=[`sm`,`md`,`lg`],t=[`neutral`,`brand`,`success`,`warning`,`error`,`info`],n=[``,`eyebrow`,`title`,`description`,`caption`,`badge`,`icon`,`media`,`actions`,`footer`,`start`,`end`,`label`,`hint`],r={"bd-agent-endpoints":{endpoints:`the first of two rows of links, the machine-readable files; a collection of its own beside the assistants, and the default slot takes what follows both rows`,assistants:`the second row of links, one per assistant; a collection of its own beside the endpoints`},"bd-article":{authors:`one bd-authors, which the article places under its title below lg and at the top of its sidebar from lg; no vocabulary word says a byline`,promo:"the product card the article draws at the end of its text, after its last section and before the newsletter, as REAL places it (DEX-29412); `actions` is a row of buttons, and this is an aside of its own",toc:`the article's one table of contents, inline before the first section heading below lg and sticky in the sidebar from lg`,newsletter:`the signup the article draws after its body in the main column, which the sidebar does not run beside`,related:`the article's related links, after its tags and a divider, a region of its own beside the body`},"bd-bar-chart-item":{value:`the text drawn at the end of the bar in place of its score ("6 / 6"), and the meter's value text; a bar is a name and its value, and the vocabulary has a word only for the first`},"bd-carousel-item":{"detail-title":`the heading of the item's own dialog, which the item forwards into the dialog's title and names its "+" by; the card itself shows no title, so \`title\` would say the card has one`,detail:`the body of the item's own dialog, forwarded into the dialog's default slot; a second region beside the card's own body in the default slot, and not a description of the card`},"bd-code":{copy:`the words of a block's own copy button and so its name ("Copy code"); the button stays in the shadow root, pinned outside the code's <pre>, and only its words are the page's, as bd-install-option's copy is -- label is a form control's, and bd-code's \`label\` attribute names its <pre>`,copied:`what the copy button shows for 1.5s after a copy, and what the block's live region says ("Copied"); a second state of the same button, which no word of the vocabulary names, as bd-install-option's copied`},"bd-comparison-panel":{positive:`the items of the column that says what the thing is, each ticked; one of two collections side by side, so neither is the default slot`,negative:`the items of the column that says what the thing is not, each crossed; the second collection`,"positive-title":`the positive column's own heading; the panel's title heads both columns`,"negative-title":`the negative column's own heading; the panel's title heads both columns`},"bd-fact":{value:`what the label names -- the figure or the answer; a fact is a label and its value, and the vocabulary has a word only for the first`},"bd-icon-columns-banner":{"corner-start":`decorative art anchored to the surface's top start corner behind the copy; an ornament, not media illustrating the copy`,"corner-end":`decorative art anchored to the surface's top end corner behind the copy; the counterpart of corner-start`},"bd-footer":{logo:`the brand's wordmark at the start of the masthead band; a mark the footer is signed with, not media illustrating its copy`,masterbrand:`the masterbrand lockup at the masthead band's end, opposite the logo; a second brand mark beside the first, which no word of the vocabulary names`,nav:`the main footer navigation, a bd-footer-nav above the link groups; one of two navigations, so neither is the default slot`,"quick-links":`the bd-footer-group columns of links; a collection of its own beside the social links and the navigations`,"social-links":`the links to the brand's social networks, drawn as their logos; a second collection of links beside the groups`,"secondary-nav":`the legal and policy bd-footer-nav beside the address; the second of the two navigations`,address:`the office's postal address beside the secondary nav; no word of the vocabulary names an address`,copyright:`the copyright line that opens the footer's last row; a legal notice, not a caption of anything`,anpc:`the Romanian consumer authority's ANPC badge, drawn on a ro locale only; a regulatory mark the vocabulary has no word for`,"country-label":`the country picker's words until a country is known, and the country list's heading; label is a form control's, and the picker is a disclosure, not a field`},"bd-install-option":{code:`the command the option shows in its code block and its Copy button copies, line breaks kept; no word of the vocabulary names a command`,copy:`the Copy button's words and so its name ("Copy"); the button stays in the shadow root beside the code block, and only its words are the page's, as bd-product-hero's cta is -- label is a form control's`,copied:`the words that take the Copy button's place for 1.5s after a copy and are said through the option's live region ("Copied"); a second state of the same button, which no word of the vocabulary names`},"bd-install-options":{"works-in":`the harnesses the options run in, one bd-tag each; a second collection beside the default slot's options`,"works-in-label":`the words that introduce that row ("Works in"); the section's eyebrow and title are its own, and label is a form control's`,"prompt-title":`the heading of the "Then just ask" panel, a second region of the section beside the options, under the section's own title`,"prompt-description":`the paragraph under the prompt panel's heading; the section's description is the one under its title`,"prompt-label":`the small label above the prompt block, naming what the block is ("Prompt for your agent")`,prompt:`the prompt itself, the words the panel shows and its Copy button copies`,"prompt-note":`the warning-style note under the prompt`,copy:`the prompt panel's Copy button's words and so its name ("Copy"), as bd-install-option's copy is for its command`,copied:`the words that take that button's place for 1.5s after a copy and are said through the section's live region ("Copied"), as bd-install-option's copied`},"bd-newsletter-signup":{cta:`the words of the component's own button or link, which stays in the shadow root because its look is the component's; only its label is the page's`,error:`the words shown under the field after an invalid address, announced; nothing in the vocabulary is shown only when the reader's input is refused`,success:`the words shown in place of the form once the page has sent the address (state="success"), in a status region; a state's message, which no vocabulary word names`,failure:`the words shown under the filled form when the page's send failed (state="failed"), announced; not \`error\`, which is the reader's invalid address, while this is the page's send`},"bd-partner-banner":{lockup:`the partner's and Bitdefender's logos side by side over the photo; a co-brand mark no word of the vocabulary names`},"bd-post-card":{meta:`the post's byline row -- its date and reading time, bd-meta items -- between the cover and the title; not the eyebrow, a kicker naming what the title is about, nor a caption, which describes the cover`,"read-more":`the words of the card's visual cue to follow its link ("Read more"), drawn with an arrow and hidden from a screen reader, which hears the title as the link; not the card's actions -- the whole card is its one link -- and not a caption, which describes something`},"bd-pricing-card":{banner:'the highlighted card\'s ribbon above its top edge ("Best value"), drawn only with `highlight`',price:`the card's price zone, a bd-pricing-price or a bd-tab-group of them for a billing choice; the store's figures, which no word of the vocabulary names`},"bd-pricing-price":{full:`the struck full price the discount is taken from; a price zone is a reference price, a discount and a price, and the vocabulary has a word for none of them`,discount:`the discount's bd-badge beside the full price ("Save 44%"); a figure of its own, not the card's badge`,period:`the price's billing unit after it ("/year", "/month"); not a caption`},"bd-product-hero":{"product-name":`the product's name, a kicker above the title in the heading-h4 role; the title is the promise, not the product`,cta:`the buy button's words; the button stays in the shadow root inside bd-product, where the store finds it, and only its label is the page's`,"cta-secondary":`the second button's words, drawn when cta-secondary-href is set`},"bd-product-upsell":{cta:`the words of the component's own button or link, which stays in the shadow root because its look is the component's; only its label is the page's`},"bd-quick-answer":{facts:`the labelled facts under the answer, one bd-fact each, drawn as a strip under a divider; a collection of its own beside the default slot, which takes whatever follows the answer`},"bd-report-promo":{cta:`the words of the promo's own bd-button, which stays in the shadow root because its look is the promo's; only its label is the page's`},"bd-review":{date:`when the review was written, the line under its caption; the vocabulary has a word for who said it (caption) and none for when`},"bd-spotlight":{"description-actions":"a second group of actions: the buttons under the description, in the other column from the `actions` under the title. Web Awesome names a second group by its part the same way (wa-card's header-actions and footer-actions)"},"bd-stat":{value:`the figure the caption explains ("580+"), drawn at display size above it; a stat is a figure and its caption, and the vocabulary has a word only for the second`},"bd-terminal-hero":{breadcrumb:`the page's bd-breadcrumb above the eyebrow, the hero's own trail`,"annotation-top":`a note pinned above the terminal, on its top edge; no word of the vocabulary names a note placed over another part`,"annotation-bottom":`a note pinned below the terminal, on its bottom edge; the second of the pair`,meta:`the mono spec line that opens the facts row; a line of its own above the facts, not their caption`,facts:`the labelled facts under the spec line, one bd-fact each in the spec look, drawn as a grid under a rule; a collection of its own beside the copy, as bd-quick-answer's facts are`},"bd-tooltip":{content:`the bubble's words; a tooltip has a trigger and what it says about it, not a title or a description`},"bd-trust-panel":{stats:`a second collection beside the cards in the default slot: the bd-fact statistics row above them`}},i={look:[`variant`,`kind`],meaning:[`tone`]},a={look:[`appearance`],meaning:[`variant`]};function o(e){for(let t of e)if(t===`appearance`)return a;return i}function s(e,{allowed:t,fallback:n}){return c(t,e)?e:n}var c=(e,t)=>e.includes(t);export{r as COMPONENT_SLOTS,i as PROP_AXES_V3,a as PROP_AXES_V4,e as SIZES,n as SLOT_NAMES,t as TONES,o as axesFor,c as isOneOf,s as resolveEnum};
|
|
2
2
|
//# sourceMappingURL=prop-vocabulary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-vocabulary.js","names":["SIZES","TONES","SLOT_NAMES","COMPONENT_SLOTS","PROP_AXES_V3","PROP_AXES_V4","axesFor","name","properties","resolveEnum","isOneOf","allowed","value","fallback","set"],"sources":["../../../../src/components/shared/prop-vocabulary.ts"],"sourcesContent":["/**\n * The words a component prop is allowed to use.\n *\n * Three axes, three names, and each name means one thing everywhere (N6,\n * docs/adr/0004-web-awesome-naming.md):\n *\n * size how big sm · md · lg\n * appearance how it looks primary, bullet, shade — per component\n * variant what it means neutral · brand · success · warning · error · info\n *\n * The look and the meaning share no value, and no set keeps a legacy alias:\n * a v4 tag reads these spellings and nothing else. A value outside its set,\n * an old one included (`size=\"small\"`, `kind=\"primary\"`), is repaired to the\n * default in willUpdate (isOneOf), the same as a typo. Translating a 3.x\n * spelling is scripts/codemod-v4.mjs's job, done once in the page's markup,\n * not every component's on every render.\n *\n * Before this there were three size vocabularies and `kind` meant four\n * unrelated things: the visual variant on bd-button and bd-link, the size on\n * the three form fields, the type step on bd-p and the marker on bd-li. An\n * author could not carry anything learned on one atom to the next.\n *\n * 3.x spelled the look `variant` and the meaning `tone`; v4 takes Web\n * Awesome's split. The tags move one family at a time, so until the last\n * family lands a tag is on one spelling or the other -- see axesFor().\n */\n\n/** The one size scale. */\nexport const SIZES = ['sm', 'md', 'lg'] as const;\nexport type Size = typeof SIZES[number];\n\n/**\n * The closed set of meanings. A meaning says what something is telling the\n * reader, not how it looks, so it is one set for every component: bd-badge\n * and bd-tag take all six, bd-callout and bd-progress-bar a subset. It was spelled\n * out in each of them; this is the declaration `check:enum-vocabulary` reads.\n */\nexport const TONES = ['neutral', 'brand', 'success', 'warning', 'error', 'info'] as const;\nexport type Tone = typeof TONES[number];\n\n/**\n * The names a slot may take (N7): the closed set, so `title` means the\n * heading in every component and nobody spells it `heading`, `headline` or\n * `header` again. '' is the default slot, which holds a container's items.\n * `start` and `end` hold decorations before and after a label, `label` and\n * `hint` a form control's words, `media` / `actions` / `footer` the parts a\n * card or a section shows around its copy.\n *\n * The naming rules in `check:element-api` fail a slot outside this set that\n * COMPONENT_SLOTS does not register for its tag. 3.x's names are frozen in\n * scripts/naming.baseline.json and leave it as each phase renames or\n * registers them.\n */\nexport const SLOT_NAMES = [\n '', 'eyebrow', 'title', 'description', 'caption', 'badge', 'icon',\n 'media', 'actions', 'footer', 'start', 'end', 'label', 'hint'\n] as const;\nexport type SlotName = typeof SLOT_NAMES[number];\n\n/**\n * A slot name only one component needs, keyed by tag, each with the reason\n * the vocabulary has no word for it. Register a name only when the slot holds\n * a part SLOT_NAMES cannot say -- a second collection beside the default\n * slot's items, or a part with no counterpart elsewhere -- never to keep a\n * 3.x name. A registered name the tag no longer renders fails as well, so\n * this cannot outlive the slot it explains.\n */\nexport const COMPONENT_SLOTS: Readonly<Record<string, Readonly<Record<string, string>>>> = {\n 'bd-agent-endpoints': {\n endpoints : 'the first of two rows of links, the machine-readable files; a collection of its own beside the assistants, and the default slot takes what follows both rows',\n assistants: 'the second row of links, one per assistant; a collection of its own beside the endpoints'\n },\n 'bd-article': {\n authors : 'one bd-authors, which the article places under its title below lg and at the top of its sidebar from lg; no vocabulary word says a byline',\n promo : 'the product card the article draws at the end of its text, after its last section and before the newsletter, as REAL places it (DEX-29412); `actions` is a row of buttons, and this is an aside of its own',\n toc : 'the article\\'s one table of contents, inline before the first section heading below lg and sticky in the sidebar from lg',\n newsletter: 'the signup the article draws after its body in the main column, which the sidebar does not run beside',\n related : 'the article\\'s related links, after its tags and a divider, a region of its own beside the body'\n },\n 'bd-bar-chart-item': {\n value: 'the text drawn at the end of the bar in place of its score (\"6 / 6\"), and the meter\\'s value text; a bar is a name and its value, and the vocabulary has a word only for the first'\n },\n 'bd-carousel-item': {\n 'detail-title': 'the heading of the item\\'s own dialog, which the item forwards into the dialog\\'s title and names its \"+\" by; the card itself shows no title, so `title` would say the card has one',\n detail : 'the body of the item\\'s own dialog, forwarded into the dialog\\'s default slot; a second region beside the card\\'s own body in the default slot, and not a description of the card'\n },\n 'bd-code': {\n copy : 'the words of a block\\'s own copy button and so its name (\"Copy code\"); the button stays in the shadow root, pinned outside the code\\'s <pre>, and only its words are the page\\'s, as bd-install-option\\'s copy is -- label is a form control\\'s, and bd-code\\'s `label` attribute names its <pre>',\n copied: 'what the copy button shows for 1.5s after a copy, and what the block\\'s live region says (\"Copied\"); a second state of the same button, which no word of the vocabulary names, as bd-install-option\\'s copied'\n },\n 'bd-comparison-panel': {\n positive : 'the items of the column that says what the thing is, each ticked; one of two collections side by side, so neither is the default slot',\n negative : 'the items of the column that says what the thing is not, each crossed; the second collection',\n 'positive-title': 'the positive column\\'s own heading; the panel\\'s title heads both columns',\n 'negative-title': 'the negative column\\'s own heading; the panel\\'s title heads both columns'\n },\n 'bd-fact': {\n value: 'what the label names -- the figure or the answer; a fact is a label and its value, and the vocabulary has a word only for the first'\n },\n 'bd-footer': {\n logo : 'the brand\\'s wordmark at the start of the masthead band; a mark the footer is signed with, not media illustrating its copy',\n masterbrand : 'the masterbrand lockup at the masthead band\\'s end, opposite the logo; a second brand mark beside the first, which no word of the vocabulary names',\n nav : 'the main footer navigation, a bd-footer-nav above the link groups; one of two navigations, so neither is the default slot',\n 'quick-links' : 'the bd-footer-group columns of links; a collection of its own beside the social links and the navigations',\n 'social-links' : 'the links to the brand\\'s social networks, drawn as their logos; a second collection of links beside the groups',\n 'secondary-nav': 'the legal and policy bd-footer-nav beside the address; the second of the two navigations',\n address : 'the office\\'s postal address beside the secondary nav; no word of the vocabulary names an address',\n copyright : 'the copyright line that opens the footer\\'s last row; a legal notice, not a caption of anything',\n anpc : 'the Romanian consumer authority\\'s ANPC badge, drawn on a ro locale only; a regulatory mark the vocabulary has no word for',\n 'country-label': 'the country picker\\'s words until a country is known, and the country list\\'s heading; label is a form control\\'s, and the picker is a disclosure, not a field'\n },\n 'bd-install-option': {\n code : 'the command the option shows in its code block and its Copy button copies, line breaks kept; no word of the vocabulary names a command',\n copy : 'the Copy button\\'s words and so its name (\"Copy\"); the button stays in the shadow root beside the code block, and only its words are the page\\'s, as bd-product-hero\\'s cta is -- label is a form control\\'s',\n copied: 'the words that take the Copy button\\'s place for 1.5s after a copy and are said through the option\\'s live region (\"Copied\"); a second state of the same button, which no word of the vocabulary names'\n },\n 'bd-install-options': {\n 'works-in' : 'the harnesses the options run in, one bd-tag each; a second collection beside the default slot\\'s options',\n 'works-in-label' : 'the words that introduce that row (\"Works in\"); the section\\'s eyebrow and title are its own, and label is a form control\\'s',\n 'prompt-title' : 'the heading of the \"Then just ask\" panel, a second region of the section beside the options, under the section\\'s own title',\n 'prompt-description': 'the paragraph under the prompt panel\\'s heading; the section\\'s description is the one under its title',\n 'prompt-label' : 'the small label above the prompt block, naming what the block is (\"Prompt for your agent\")',\n prompt : 'the prompt itself, the words the panel shows and its Copy button copies',\n 'prompt-note' : 'the warning-style note under the prompt',\n copy : 'the prompt panel\\'s Copy button\\'s words and so its name (\"Copy\"), as bd-install-option\\'s copy is for its command',\n copied : 'the words that take that button\\'s place for 1.5s after a copy and are said through the section\\'s live region (\"Copied\"), as bd-install-option\\'s copied'\n },\n 'bd-newsletter-signup': {\n cta : 'the words of the component\\'s own button or link, which stays in the shadow root because its look is the component\\'s; only its label is the page\\'s',\n error : 'the words shown under the field after an invalid address, announced; nothing in the vocabulary is shown only when the reader\\'s input is refused',\n success: 'the words shown in place of the form once the page has sent the address (state=\"success\"), in a status region; a state\\'s message, which no vocabulary word names',\n failure: 'the words shown under the filled form when the page\\'s send failed (state=\"failed\"), announced; not `error`, which is the reader\\'s invalid address, while this is the page\\'s send'\n },\n 'bd-partner-banner': {\n lockup: 'the partner\\'s and Bitdefender\\'s logos side by side over the photo; a co-brand mark no word of the vocabulary names'\n },\n 'bd-post-card': {\n meta : 'the post\\'s byline row -- its date and reading time, bd-meta items -- between the cover and the title; not the eyebrow, a kicker naming what the title is about, nor a caption, which describes the cover',\n 'read-more': 'the words of the card\\'s visual cue to follow its link (\"Read more\"), drawn with an arrow and hidden from a screen reader, which hears the title as the link; not the card\\'s actions -- the whole card is its one link -- and not a caption, which describes something'\n },\n 'bd-pricing-card': {\n banner: 'the highlighted card\\'s ribbon above its top edge (\"Best value\"), drawn only with `highlight`',\n price : 'the card\\'s price zone, a bd-pricing-price or a bd-tab-group of them for a billing choice; the store\\'s figures, which no word of the vocabulary names'\n },\n 'bd-pricing-price': {\n full : 'the struck full price the discount is taken from; a price zone is a reference price, a discount and a price, and the vocabulary has a word for none of them',\n discount: 'the discount\\'s bd-badge beside the full price (\"Save 44%\"); a figure of its own, not the card\\'s badge',\n period : 'the price\\'s billing unit after it (\"/year\", \"/month\"); not a caption'\n },\n 'bd-product-hero': {\n 'product-name' : 'the product\\'s name, a kicker above the title in the heading-h4 role; the title is the promise, not the product',\n cta : 'the buy button\\'s words; the button stays in the shadow root inside bd-product, where the store finds it, and only its label is the page\\'s',\n 'cta-secondary': 'the second button\\'s words, drawn when cta-secondary-href is set'\n },\n 'bd-product-upsell': {\n cta: 'the words of the component\\'s own button or link, which stays in the shadow root because its look is the component\\'s; only its label is the page\\'s'\n },\n 'bd-quick-answer': {\n facts: 'the labelled facts under the answer, one bd-fact each, drawn as a strip under a divider; a collection of its own beside the default slot, which takes whatever follows the answer'\n },\n 'bd-report-promo': {\n cta: 'the words of the promo\\'s own bd-button, which stays in the shadow root because its look is the promo\\'s; only its label is the page\\'s'\n },\n 'bd-review': {\n date: 'when the review was written, the line under its caption; the vocabulary has a word for who said it (caption) and none for when'\n },\n 'bd-spotlight': {\n 'description-actions': 'a second group of actions: the buttons under the description, in the other column from the `actions` under the title. Web Awesome names a second group by its part the same way (wa-card\\'s header-actions and footer-actions)'\n },\n 'bd-stat': {\n value: 'the figure the caption explains (\"580+\"), drawn at display size above it; a stat is a figure and its caption, and the vocabulary has a word only for the second'\n },\n 'bd-terminal-hero': {\n breadcrumb : 'the page\\'s bd-breadcrumb above the eyebrow, the hero\\'s own trail',\n 'annotation-top' : 'a note pinned above the terminal, on its top edge; no word of the vocabulary names a note placed over another part',\n 'annotation-bottom': 'a note pinned below the terminal, on its bottom edge; the second of the pair',\n meta : 'the mono spec line that opens the facts row; a line of its own above the facts, not their caption',\n facts : 'the labelled facts under the spec line, one bd-fact each in the spec look, drawn as a grid under a rule; a collection of its own beside the copy, as bd-quick-answer\\'s facts are'\n },\n 'bd-tooltip': {\n content: 'the bubble\\'s words; a tooltip has a trigger and what it says about it, not a title or a description'\n },\n 'bd-trust-panel': {\n stats: 'a second collection beside the cards in the default slot: the bd-fact statistics row above them'\n }\n};\n\n/**\n * Which property names carry the look and which carry the meaning -- the one\n * place that says so. `check:enum-vocabulary` fails a look property that\n * allows a meaning value, and a meaning property that allows anything outside\n * TONES, so the two vocabularies stay disjoint and an old `variant=\"primary\"`\n * cannot pass for a meaning.\n *\n * 3.x's, which the families of the later phases still declare until they\n * move: the look is `variant` (or `kind`) and the meaning is `tone`.\n */\nexport const PROP_AXES_V3 = {\n look : ['variant', 'kind'],\n meaning: ['tone']\n} as const;\n\n/** v4's (N6): the look is `appearance` and the meaning is `variant`. */\nexport const PROP_AXES_V4 = {\n look : ['appearance'],\n meaning: ['variant']\n} as const;\n\nexport type PropAxes = typeof PROP_AXES_V3 | typeof PROP_AXES_V4;\n\n/**\n * The axes one tag is read with, from the names of the properties it\n * declares. A tag that declares `appearance` has moved to v4, so its\n * `variant` is the meaning; any other tag is still on 3.x's names, where\n * `variant` is the look. The same word means opposite things on the two\n * sides, which is why the rule is per tag rather than one constant while the\n * families move (v4 phases 1-7). Once every tag is on v4 this is\n * PROP_AXES_V4 for all of them, and PROP_AXES_V3 goes.\n */\nexport function axesFor(properties: Iterable<string>): PropAxes {\n for (const name of properties) if (name === 'appearance') return PROP_AXES_V4;\n return PROP_AXES_V3;\n}\n\n/**\n * A prop value if its closed set has it, else the fallback. Returning the\n * fallback rather than the raw value is what stops a typo rendering an\n * unstyled component. There is no legacy map to consult first: an old\n * spelling is a value outside the set like any other (N6).\n */\nexport function resolveEnum<T extends string, F = T>(\n value: unknown,\n { allowed, fallback }: { allowed: readonly T[]; fallback: F }\n): T | F {\n return isOneOf(allowed, value) ? value : fallback;\n}\n\n/**\n * Whether a value is in a closed set. A property typed by the set can still\n * hold anything an attribute wrote, which is why the components repair it in\n * willUpdate; this is the check they repair on.\n */\nexport const isOneOf = <T extends string>(set: readonly T[], value: unknown): value is T =>\n (set as readonly unknown[]).includes(value);\n"],"mappings":"AA4BA,IAAaA,EAAQ,CAAC,KAAM,KAAM,IAAI,EASzBC,EAAQ,CAAC,UAAW,QAAS,UAAW,UAAW,QAAS,MAAM,EAgBlEC,EAAa,CACxB,GAAI,UAAW,QAAS,cAAe,UAAW,QAAS,OAC3D,QAAS,UAAW,SAAU,QAAS,MAAO,QAAS,MACzD,EAWaC,EAA8E,CACzF,qBAAsB,CACpB,UAAY,+JACZ,WAAY,0FACd,EACA,aAAc,CACZ,QAAY,4IACZ,MAAY,6MACZ,IAAY,0HACZ,WAAY,wGACZ,QAAY,gGACd,EACA,oBAAqB,CACnB,MAAO,mLACT,EACA,mBAAoB,CAClB,eAAgB,sLAChB,OAAgB,gLAClB,EACA,UAAW,CACT,KAAQ,gSACR,OAAQ,6MACV,EACA,sBAAuB,CACrB,SAAkB,wIAClB,SAAkB,+FAClB,iBAAkB,0EAClB,iBAAkB,yEACpB,EACA,UAAW,CACT,MAAO,qIACT,EACA,YAAa,CACX,KAAiB,4HACjB,YAAiB,oJACjB,IAAiB,4HACjB,cAAiB,4GACjB,eAAiB,iHACjB,gBAAiB,2FACjB,QAAiB,mGACjB,UAAiB,iGACjB,KAAiB,4HACjB,gBAAiB,6JACnB,EACA,oBAAqB,CACnB,KAAQ,yIACR,KAAQ,2MACR,OAAQ,sMACV,EACA,qBAAsB,CACpB,WAAsB,2GACtB,iBAAsB,6HACtB,eAAsB,6HACtB,qBAAsB,uGACtB,eAAsB,6FACtB,OAAsB,0EACtB,cAAsB,0CACtB,KAAsB,kHACtB,OAAsB,wJACxB,EACA,uBAAwB,CACtB,IAAS,oJACT,MAAS,kJACT,QAAS,mKACT,QAAS,oLACX,EACA,oBAAqB,CACnB,OAAQ,oHACV,EACA,eAAgB,CACd,KAAa,2MACb,YAAa,uQACf,EACA,kBAAmB,CACjB,OAAQ,gGACR,MAAQ,sJACV,EACA,mBAAoB,CAClB,KAAU,8JACV,SAAU,wGACV,OAAU,sEACZ,EACA,kBAAmB,CACjB,eAAiB,iHACjB,IAAiB,4IACjB,gBAAiB,iEACnB,EACA,oBAAqB,CACnB,IAAK,mJACP,EACA,kBAAmB,CACjB,MAAO,mLACT,EACA,kBAAmB,CACjB,IAAK,sIACP,EACA,YAAa,CACX,KAAM,gIACR,EACA,eAAgB,CACd,sBAAuB,+NACzB,EACA,UAAW,CACT,MAAO,iKACT,EACA,mBAAoB,CAClB,WAAqB,mEACrB,iBAAqB,qHACrB,oBAAqB,+EACrB,KAAqB,oGACrB,MAAqB,kLACvB,EACA,aAAc,CACZ,QAAS,qGACX,EACA,iBAAkB,CAChB,MAAO,iGACT,CACF,EAYaC,EAAe,CAC1B,KAAS,CAAC,UAAW,MAAM,EAC3B,QAAS,CAAC,MAAM,CAClB,EAGaC,EAAe,CAC1B,KAAS,CAAC,YAAY,EACtB,QAAS,CAAC,SAAS,CACrB,EAaA,SAAgBC,EAAQ,EAAwC,CAC9D,IAAK,IAAMC,KAAQC,EAAY,GAAID,IAAS,aAAc,OAAOF,EACjE,OAAOD,CACT,CAQA,SAAgBK,EACd,EACA,CAAE,UAAS,YACJ,CACP,OAAOC,EAAQC,EAASC,CAAK,EAAIA,EAAQC,CAC3C,CAOA,IAAaH,GAA6B,EAAmB,IAC1DI,EAA2B,SAASF,CAAK,E"}
|
|
1
|
+
{"version":3,"file":"prop-vocabulary.js","names":["SIZES","TONES","SLOT_NAMES","COMPONENT_SLOTS","PROP_AXES_V3","PROP_AXES_V4","axesFor","name","properties","resolveEnum","isOneOf","allowed","value","fallback","set"],"sources":["../../../../src/components/shared/prop-vocabulary.ts"],"sourcesContent":["/**\n * The words a component prop is allowed to use.\n *\n * Three axes, three names, and each name means one thing everywhere (N6,\n * docs/adr/0004-web-awesome-naming.md):\n *\n * size how big sm · md · lg\n * appearance how it looks primary, bullet, shade — per component\n * variant what it means neutral · brand · success · warning · error · info\n *\n * The look and the meaning share no value, and no set keeps a legacy alias:\n * a v4 tag reads these spellings and nothing else. A value outside its set,\n * an old one included (`size=\"small\"`, `kind=\"primary\"`), is repaired to the\n * default in willUpdate (isOneOf), the same as a typo. Translating a 3.x\n * spelling is scripts/codemod-v4.mjs's job, done once in the page's markup,\n * not every component's on every render.\n *\n * Before this there were three size vocabularies and `kind` meant four\n * unrelated things: the visual variant on bd-button and bd-link, the size on\n * the three form fields, the type step on bd-p and the marker on bd-li. An\n * author could not carry anything learned on one atom to the next.\n *\n * 3.x spelled the look `variant` and the meaning `tone`; v4 takes Web\n * Awesome's split. The tags move one family at a time, so until the last\n * family lands a tag is on one spelling or the other -- see axesFor().\n */\n\n/** The one size scale. */\nexport const SIZES = ['sm', 'md', 'lg'] as const;\nexport type Size = typeof SIZES[number];\n\n/**\n * The closed set of meanings. A meaning says what something is telling the\n * reader, not how it looks, so it is one set for every component: bd-badge\n * and bd-tag take all six, bd-callout and bd-progress-bar a subset. It was spelled\n * out in each of them; this is the declaration `check:enum-vocabulary` reads.\n */\nexport const TONES = ['neutral', 'brand', 'success', 'warning', 'error', 'info'] as const;\nexport type Tone = typeof TONES[number];\n\n/**\n * The names a slot may take (N7): the closed set, so `title` means the\n * heading in every component and nobody spells it `heading`, `headline` or\n * `header` again. '' is the default slot, which holds a container's items.\n * `start` and `end` hold decorations before and after a label, `label` and\n * `hint` a form control's words, `media` / `actions` / `footer` the parts a\n * card or a section shows around its copy.\n *\n * The naming rules in `check:element-api` fail a slot outside this set that\n * COMPONENT_SLOTS does not register for its tag. 3.x's names are frozen in\n * scripts/naming.baseline.json and leave it as each phase renames or\n * registers them.\n */\nexport const SLOT_NAMES = [\n '', 'eyebrow', 'title', 'description', 'caption', 'badge', 'icon',\n 'media', 'actions', 'footer', 'start', 'end', 'label', 'hint'\n] as const;\nexport type SlotName = typeof SLOT_NAMES[number];\n\n/**\n * A slot name only one component needs, keyed by tag, each with the reason\n * the vocabulary has no word for it. Register a name only when the slot holds\n * a part SLOT_NAMES cannot say -- a second collection beside the default\n * slot's items, or a part with no counterpart elsewhere -- never to keep a\n * 3.x name. A registered name the tag no longer renders fails as well, so\n * this cannot outlive the slot it explains.\n */\nexport const COMPONENT_SLOTS: Readonly<Record<string, Readonly<Record<string, string>>>> = {\n 'bd-agent-endpoints': {\n endpoints : 'the first of two rows of links, the machine-readable files; a collection of its own beside the assistants, and the default slot takes what follows both rows',\n assistants: 'the second row of links, one per assistant; a collection of its own beside the endpoints'\n },\n 'bd-article': {\n authors : 'one bd-authors, which the article places under its title below lg and at the top of its sidebar from lg; no vocabulary word says a byline',\n promo : 'the product card the article draws at the end of its text, after its last section and before the newsletter, as REAL places it (DEX-29412); `actions` is a row of buttons, and this is an aside of its own',\n toc : 'the article\\'s one table of contents, inline before the first section heading below lg and sticky in the sidebar from lg',\n newsletter: 'the signup the article draws after its body in the main column, which the sidebar does not run beside',\n related : 'the article\\'s related links, after its tags and a divider, a region of its own beside the body'\n },\n 'bd-bar-chart-item': {\n value: 'the text drawn at the end of the bar in place of its score (\"6 / 6\"), and the meter\\'s value text; a bar is a name and its value, and the vocabulary has a word only for the first'\n },\n 'bd-carousel-item': {\n 'detail-title': 'the heading of the item\\'s own dialog, which the item forwards into the dialog\\'s title and names its \"+\" by; the card itself shows no title, so `title` would say the card has one',\n detail : 'the body of the item\\'s own dialog, forwarded into the dialog\\'s default slot; a second region beside the card\\'s own body in the default slot, and not a description of the card'\n },\n 'bd-code': {\n copy : 'the words of a block\\'s own copy button and so its name (\"Copy code\"); the button stays in the shadow root, pinned outside the code\\'s <pre>, and only its words are the page\\'s, as bd-install-option\\'s copy is -- label is a form control\\'s, and bd-code\\'s `label` attribute names its <pre>',\n copied: 'what the copy button shows for 1.5s after a copy, and what the block\\'s live region says (\"Copied\"); a second state of the same button, which no word of the vocabulary names, as bd-install-option\\'s copied'\n },\n 'bd-comparison-panel': {\n positive : 'the items of the column that says what the thing is, each ticked; one of two collections side by side, so neither is the default slot',\n negative : 'the items of the column that says what the thing is not, each crossed; the second collection',\n 'positive-title': 'the positive column\\'s own heading; the panel\\'s title heads both columns',\n 'negative-title': 'the negative column\\'s own heading; the panel\\'s title heads both columns'\n },\n 'bd-fact': {\n value: 'what the label names -- the figure or the answer; a fact is a label and its value, and the vocabulary has a word only for the first'\n },\n 'bd-icon-columns-banner': {\n 'corner-start': 'decorative art anchored to the surface\\'s top start corner behind the copy; an ornament, not media illustrating the copy',\n 'corner-end' : 'decorative art anchored to the surface\\'s top end corner behind the copy; the counterpart of corner-start'\n },\n 'bd-footer': {\n logo : 'the brand\\'s wordmark at the start of the masthead band; a mark the footer is signed with, not media illustrating its copy',\n masterbrand : 'the masterbrand lockup at the masthead band\\'s end, opposite the logo; a second brand mark beside the first, which no word of the vocabulary names',\n nav : 'the main footer navigation, a bd-footer-nav above the link groups; one of two navigations, so neither is the default slot',\n 'quick-links' : 'the bd-footer-group columns of links; a collection of its own beside the social links and the navigations',\n 'social-links' : 'the links to the brand\\'s social networks, drawn as their logos; a second collection of links beside the groups',\n 'secondary-nav': 'the legal and policy bd-footer-nav beside the address; the second of the two navigations',\n address : 'the office\\'s postal address beside the secondary nav; no word of the vocabulary names an address',\n copyright : 'the copyright line that opens the footer\\'s last row; a legal notice, not a caption of anything',\n anpc : 'the Romanian consumer authority\\'s ANPC badge, drawn on a ro locale only; a regulatory mark the vocabulary has no word for',\n 'country-label': 'the country picker\\'s words until a country is known, and the country list\\'s heading; label is a form control\\'s, and the picker is a disclosure, not a field'\n },\n 'bd-install-option': {\n code : 'the command the option shows in its code block and its Copy button copies, line breaks kept; no word of the vocabulary names a command',\n copy : 'the Copy button\\'s words and so its name (\"Copy\"); the button stays in the shadow root beside the code block, and only its words are the page\\'s, as bd-product-hero\\'s cta is -- label is a form control\\'s',\n copied: 'the words that take the Copy button\\'s place for 1.5s after a copy and are said through the option\\'s live region (\"Copied\"); a second state of the same button, which no word of the vocabulary names'\n },\n 'bd-install-options': {\n 'works-in' : 'the harnesses the options run in, one bd-tag each; a second collection beside the default slot\\'s options',\n 'works-in-label' : 'the words that introduce that row (\"Works in\"); the section\\'s eyebrow and title are its own, and label is a form control\\'s',\n 'prompt-title' : 'the heading of the \"Then just ask\" panel, a second region of the section beside the options, under the section\\'s own title',\n 'prompt-description': 'the paragraph under the prompt panel\\'s heading; the section\\'s description is the one under its title',\n 'prompt-label' : 'the small label above the prompt block, naming what the block is (\"Prompt for your agent\")',\n prompt : 'the prompt itself, the words the panel shows and its Copy button copies',\n 'prompt-note' : 'the warning-style note under the prompt',\n copy : 'the prompt panel\\'s Copy button\\'s words and so its name (\"Copy\"), as bd-install-option\\'s copy is for its command',\n copied : 'the words that take that button\\'s place for 1.5s after a copy and are said through the section\\'s live region (\"Copied\"), as bd-install-option\\'s copied'\n },\n 'bd-newsletter-signup': {\n cta : 'the words of the component\\'s own button or link, which stays in the shadow root because its look is the component\\'s; only its label is the page\\'s',\n error : 'the words shown under the field after an invalid address, announced; nothing in the vocabulary is shown only when the reader\\'s input is refused',\n success: 'the words shown in place of the form once the page has sent the address (state=\"success\"), in a status region; a state\\'s message, which no vocabulary word names',\n failure: 'the words shown under the filled form when the page\\'s send failed (state=\"failed\"), announced; not `error`, which is the reader\\'s invalid address, while this is the page\\'s send'\n },\n 'bd-partner-banner': {\n lockup: 'the partner\\'s and Bitdefender\\'s logos side by side over the photo; a co-brand mark no word of the vocabulary names'\n },\n 'bd-post-card': {\n meta : 'the post\\'s byline row -- its date and reading time, bd-meta items -- between the cover and the title; not the eyebrow, a kicker naming what the title is about, nor a caption, which describes the cover',\n 'read-more': 'the words of the card\\'s visual cue to follow its link (\"Read more\"), drawn with an arrow and hidden from a screen reader, which hears the title as the link; not the card\\'s actions -- the whole card is its one link -- and not a caption, which describes something'\n },\n 'bd-pricing-card': {\n banner: 'the highlighted card\\'s ribbon above its top edge (\"Best value\"), drawn only with `highlight`',\n price : 'the card\\'s price zone, a bd-pricing-price or a bd-tab-group of them for a billing choice; the store\\'s figures, which no word of the vocabulary names'\n },\n 'bd-pricing-price': {\n full : 'the struck full price the discount is taken from; a price zone is a reference price, a discount and a price, and the vocabulary has a word for none of them',\n discount: 'the discount\\'s bd-badge beside the full price (\"Save 44%\"); a figure of its own, not the card\\'s badge',\n period : 'the price\\'s billing unit after it (\"/year\", \"/month\"); not a caption'\n },\n 'bd-product-hero': {\n 'product-name' : 'the product\\'s name, a kicker above the title in the heading-h4 role; the title is the promise, not the product',\n cta : 'the buy button\\'s words; the button stays in the shadow root inside bd-product, where the store finds it, and only its label is the page\\'s',\n 'cta-secondary': 'the second button\\'s words, drawn when cta-secondary-href is set'\n },\n 'bd-product-upsell': {\n cta: 'the words of the component\\'s own button or link, which stays in the shadow root because its look is the component\\'s; only its label is the page\\'s'\n },\n 'bd-quick-answer': {\n facts: 'the labelled facts under the answer, one bd-fact each, drawn as a strip under a divider; a collection of its own beside the default slot, which takes whatever follows the answer'\n },\n 'bd-report-promo': {\n cta: 'the words of the promo\\'s own bd-button, which stays in the shadow root because its look is the promo\\'s; only its label is the page\\'s'\n },\n 'bd-review': {\n date: 'when the review was written, the line under its caption; the vocabulary has a word for who said it (caption) and none for when'\n },\n 'bd-spotlight': {\n 'description-actions': 'a second group of actions: the buttons under the description, in the other column from the `actions` under the title. Web Awesome names a second group by its part the same way (wa-card\\'s header-actions and footer-actions)'\n },\n 'bd-stat': {\n value: 'the figure the caption explains (\"580+\"), drawn at display size above it; a stat is a figure and its caption, and the vocabulary has a word only for the second'\n },\n 'bd-terminal-hero': {\n breadcrumb : 'the page\\'s bd-breadcrumb above the eyebrow, the hero\\'s own trail',\n 'annotation-top' : 'a note pinned above the terminal, on its top edge; no word of the vocabulary names a note placed over another part',\n 'annotation-bottom': 'a note pinned below the terminal, on its bottom edge; the second of the pair',\n meta : 'the mono spec line that opens the facts row; a line of its own above the facts, not their caption',\n facts : 'the labelled facts under the spec line, one bd-fact each in the spec look, drawn as a grid under a rule; a collection of its own beside the copy, as bd-quick-answer\\'s facts are'\n },\n 'bd-tooltip': {\n content: 'the bubble\\'s words; a tooltip has a trigger and what it says about it, not a title or a description'\n },\n 'bd-trust-panel': {\n stats: 'a second collection beside the cards in the default slot: the bd-fact statistics row above them'\n }\n};\n\n/**\n * Which property names carry the look and which carry the meaning -- the one\n * place that says so. `check:enum-vocabulary` fails a look property that\n * allows a meaning value, and a meaning property that allows anything outside\n * TONES, so the two vocabularies stay disjoint and an old `variant=\"primary\"`\n * cannot pass for a meaning.\n *\n * 3.x's, which the families of the later phases still declare until they\n * move: the look is `variant` (or `kind`) and the meaning is `tone`.\n */\nexport const PROP_AXES_V3 = {\n look : ['variant', 'kind'],\n meaning: ['tone']\n} as const;\n\n/** v4's (N6): the look is `appearance` and the meaning is `variant`. */\nexport const PROP_AXES_V4 = {\n look : ['appearance'],\n meaning: ['variant']\n} as const;\n\nexport type PropAxes = typeof PROP_AXES_V3 | typeof PROP_AXES_V4;\n\n/**\n * The axes one tag is read with, from the names of the properties it\n * declares. A tag that declares `appearance` has moved to v4, so its\n * `variant` is the meaning; any other tag is still on 3.x's names, where\n * `variant` is the look. The same word means opposite things on the two\n * sides, which is why the rule is per tag rather than one constant while the\n * families move (v4 phases 1-7). Once every tag is on v4 this is\n * PROP_AXES_V4 for all of them, and PROP_AXES_V3 goes.\n */\nexport function axesFor(properties: Iterable<string>): PropAxes {\n for (const name of properties) if (name === 'appearance') return PROP_AXES_V4;\n return PROP_AXES_V3;\n}\n\n/**\n * A prop value if its closed set has it, else the fallback. Returning the\n * fallback rather than the raw value is what stops a typo rendering an\n * unstyled component. There is no legacy map to consult first: an old\n * spelling is a value outside the set like any other (N6).\n */\nexport function resolveEnum<T extends string, F = T>(\n value: unknown,\n { allowed, fallback }: { allowed: readonly T[]; fallback: F }\n): T | F {\n return isOneOf(allowed, value) ? value : fallback;\n}\n\n/**\n * Whether a value is in a closed set. A property typed by the set can still\n * hold anything an attribute wrote, which is why the components repair it in\n * willUpdate; this is the check they repair on.\n */\nexport const isOneOf = <T extends string>(set: readonly T[], value: unknown): value is T =>\n (set as readonly unknown[]).includes(value);\n"],"mappings":"AA4BA,IAAaA,EAAQ,CAAC,KAAM,KAAM,IAAI,EASzBC,EAAQ,CAAC,UAAW,QAAS,UAAW,UAAW,QAAS,MAAM,EAgBlEC,EAAa,CACxB,GAAI,UAAW,QAAS,cAAe,UAAW,QAAS,OAC3D,QAAS,UAAW,SAAU,QAAS,MAAO,QAAS,MACzD,EAWaC,EAA8E,CACzF,qBAAsB,CACpB,UAAY,+JACZ,WAAY,0FACd,EACA,aAAc,CACZ,QAAY,4IACZ,MAAY,6MACZ,IAAY,0HACZ,WAAY,wGACZ,QAAY,gGACd,EACA,oBAAqB,CACnB,MAAO,mLACT,EACA,mBAAoB,CAClB,eAAgB,sLAChB,OAAgB,gLAClB,EACA,UAAW,CACT,KAAQ,gSACR,OAAQ,6MACV,EACA,sBAAuB,CACrB,SAAkB,wIAClB,SAAkB,+FAClB,iBAAkB,0EAClB,iBAAkB,yEACpB,EACA,UAAW,CACT,MAAO,qIACT,EACA,yBAA0B,CACxB,eAAgB,0HAChB,aAAgB,0GAClB,EACA,YAAa,CACX,KAAiB,4HACjB,YAAiB,oJACjB,IAAiB,4HACjB,cAAiB,4GACjB,eAAiB,iHACjB,gBAAiB,2FACjB,QAAiB,mGACjB,UAAiB,iGACjB,KAAiB,4HACjB,gBAAiB,6JACnB,EACA,oBAAqB,CACnB,KAAQ,yIACR,KAAQ,2MACR,OAAQ,sMACV,EACA,qBAAsB,CACpB,WAAsB,2GACtB,iBAAsB,6HACtB,eAAsB,6HACtB,qBAAsB,uGACtB,eAAsB,6FACtB,OAAsB,0EACtB,cAAsB,0CACtB,KAAsB,kHACtB,OAAsB,wJACxB,EACA,uBAAwB,CACtB,IAAS,oJACT,MAAS,kJACT,QAAS,mKACT,QAAS,oLACX,EACA,oBAAqB,CACnB,OAAQ,oHACV,EACA,eAAgB,CACd,KAAa,2MACb,YAAa,uQACf,EACA,kBAAmB,CACjB,OAAQ,gGACR,MAAQ,sJACV,EACA,mBAAoB,CAClB,KAAU,8JACV,SAAU,wGACV,OAAU,sEACZ,EACA,kBAAmB,CACjB,eAAiB,iHACjB,IAAiB,4IACjB,gBAAiB,iEACnB,EACA,oBAAqB,CACnB,IAAK,mJACP,EACA,kBAAmB,CACjB,MAAO,mLACT,EACA,kBAAmB,CACjB,IAAK,sIACP,EACA,YAAa,CACX,KAAM,gIACR,EACA,eAAgB,CACd,sBAAuB,+NACzB,EACA,UAAW,CACT,MAAO,iKACT,EACA,mBAAoB,CAClB,WAAqB,mEACrB,iBAAqB,qHACrB,oBAAqB,+EACrB,KAAqB,oGACrB,MAAqB,kLACvB,EACA,aAAc,CACZ,QAAS,qGACX,EACA,iBAAkB,CAChB,MAAO,iGACT,CACF,EAYaC,EAAe,CAC1B,KAAS,CAAC,UAAW,MAAM,EAC3B,QAAS,CAAC,MAAM,CAClB,EAGaC,EAAe,CAC1B,KAAS,CAAC,YAAY,EACtB,QAAS,CAAC,SAAS,CACrB,EAaA,SAAgBC,EAAQ,EAAwC,CAC9D,IAAK,IAAMC,KAAQC,EAAY,GAAID,IAAS,aAAc,OAAOF,EACjE,OAAOD,CACT,CAQA,SAAgBK,EACd,EACA,CAAE,UAAS,YACJ,CACP,OAAOC,EAAQC,EAASC,CAAK,EAAIA,EAAQC,CAC3C,CAOA,IAAaH,GAA6B,EAAmB,IAC1DI,EAA2B,SAASF,CAAK,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=[[`bd-abstract`,()=>import(`../components/abstract/abstract.js`)],[`bd-accordion-item`,()=>import(`../components/accordion/accordion-item.js`)],[`bd-accordion`,()=>import(`../components/accordion/accordion.js`)],[`bd-agent-endpoints`,()=>import(`../components/agent-endpoints/agent-endpoints.js`)],[`bd-anchor-nav-item`,()=>import(`../components/anchor-nav/anchor-nav-item.js`)],[`bd-anchor-nav`,()=>import(`../components/anchor-nav/anchor-nav.js`)],[`bd-footnote bd-citation bd-sup bd-sub`,()=>import(`../components/annotation/annotation.js`)],[`bd-article`,()=>import(`../components/article/article.js`)],[`bd-audience-card`,()=>import(`../components/audience-card/audience-card.js`)],[`bd-authors`,()=>import(`../components/authors/authors.js`)],[`bd-avatar`,()=>import(`../components/avatar/avatar.js`)],[`bd-award`,()=>import(`../components/awards/award.js`)],[`bd-awards`,()=>import(`../components/awards/awards.js`)],[`bd-back`,()=>import(`../components/back/back.js`)],[`bd-badge`,()=>import(`../components/badge/badge.js`)],[`bd-bar-chart-item bd-bar-chart bd-bar-chart-grid`,()=>import(`../components/bar-chart/bar-chart.js`)],[`bd-bento-grid`,()=>import(`../components/bento-grid/bento-grid.js`)],[`bd-bento-item`,()=>import(`../components/bento-grid/bento-item.js`)],[`bd-blockquote`,()=>import(`../components/blockquote/blockquote.js`)],[`bd-breadcrumb bd-breadcrumb-item`,()=>import(`../components/breadcrumb/breadcrumb.js`)],[`bd-button`,()=>import(`../components/button/button.js`)],[`bd-callout`,()=>import(`../components/callout/callout.js`)],[`bd-caption`,()=>import(`../components/caption/caption.js`)],[`bd-card-grid`,()=>import(`../components/card/card-grid.js`)],[`bd-card`,()=>import(`../components/card/card.js`)],[`bd-carousel-item bd-carousel`,()=>import(`../components/carousel/carousel.js`)],[`bd-checkbox`,()=>import(`../components/checkbox/checkbox.js`)],[`bd-code`,()=>import(`../components/code/code.js`)],[`bd-comparison-panel`,()=>import(`../components/comparison-panel/comparison-panel.js`)],[`bd-compatibility-table`,()=>import(`../components/compatibility-table/compatibility-table.js`)],[`bd-cta-banner`,()=>import(`../components/cta-banner/cta-banner.js`)],[`bd-dialog`,()=>import(`../components/dialog/dialog.js`)],[`bd-display`,()=>import(`../components/display/display.js`)],[`bd-divider`,()=>import(`../components/divider/divider.js`)],[`bd-fact`,()=>import(`../components/fact/fact.js`)],[`bd-feature-column bd-feature-columns`,()=>import(`../components/feature-columns/feature-columns.js`)],[`bd-features-tab`,()=>import(`../components/features-tab/features-tab.js`)],[`bd-fieldset`,()=>import(`../components/fieldset/fieldset.js`)],[`bd-footer-group`,()=>import(`../components/footer/footer-group.js`)],[`bd-footer-nav`,()=>import(`../components/footer/footer-nav.js`)],[`bd-footer`,()=>import(`../components/footer/footer.js`)],[`bd-grid`,()=>import(`../components/grid/grid.js`)],[`bd-h`,()=>import(`../components/h/h.js`)],[`bd-hero`,()=>import(`../components/hero/hero.js`)],[`bd-highlight`,()=>import(`../components/highlight/highlight.js`)],[`bd-hint`,()=>import(`../components/hint/hint.js`)],[`bd-icon`,()=>import(`../components/icons/icons.js`),!0],[`bd-mark`,()=>import(`../components/icons/marks.js`),!0],[`bd-img`,()=>import(`../components/img/img.js`)],[`bd-input`,()=>import(`../components/input/input.js`)],[`bd-install-option`,()=>import(`../components/install-options/install-option.js`)],[`bd-install-options`,()=>import(`../components/install-options/install-options.js`)],[`bd-key-takeaways`,()=>import(`../components/key-takeaways/key-takeaways.js`)],[`bd-label`,()=>import(`../components/label/label.js`)],[`bd-link`,()=>import(`../components/link/link.js`)],[`bd-li`,()=>import(`../components/list/list-item/list-item.js`)],[`bd-list`,()=>import(`../components/list/list.js`)],[`bd-logo-marquee`,()=>import(`../components/logo-marquee/logo-marquee.js`)],[`bd-meta`,()=>import(`../components/meta/meta.js`)],[`bd-motion-art`,()=>import(`../components/motion-art/motion-art.js`)],[`bd-newsletter-signup`,()=>import(`../components/newsletter-signup/newsletter-signup.js`)],[`bd-overview`,()=>import(`../components/overview/overview.js`)],[`bd-p`,()=>import(`../components/p/p.js`)],[`bd-page-switcher`,()=>import(`../components/page-switcher/page-switcher.js`)],[`bd-pagination-dots`,()=>import(`../components/pagination-dots/pagination-dots.js`)],[`bd-partner-banner`,()=>import(`../components/partner-banner/partner-banner.js`)],[`bd-paste-button`,()=>import(`../components/paste-button/paste-button.js`)],[`bd-picture`,()=>import(`../components/picture/picture.js`)],[`bd-post-card`,()=>import(`../components/post-card/post-card.js`)],[`bd-pricing-card`,()=>import(`../components/pricing-card/pricing-card.js`)],[`bd-pricing-feature-group`,()=>import(`../components/pricing-card/pricing-feature-group.js`)],[`bd-pricing-feature`,()=>import(`../components/pricing-card/pricing-feature.js`)],[`bd-pricing-group`,()=>import(`../components/pricing-card/pricing-group.js`)],[`bd-pricing-price`,()=>import(`../components/pricing-card/pricing-price.js`)],[`bd-process-step`,()=>import(`../components/process-steps/process-step.js`)],[`bd-process-steps`,()=>import(`../components/process-steps/process-steps.js`)],[`bd-product-hero`,()=>import(`../components/product-hero/product-hero.js`)],[`bd-product-upsell`,()=>import(`../components/product-upsell/product-upsell.js`)],[`bd-progress-bar`,()=>import(`../components/progress-bar/progress-bar.js`)],[`bd-quick-answer`,()=>import(`../components/quick-answer/quick-answer.js`)],[`bd-radio-group`,()=>import(`../components/radio/radio-group.js`)],[`bd-radio`,()=>import(`../components/radio/radio.js`)],[`bd-related-articles`,()=>import(`../components/related-articles/related-articles.js`)],[`bd-report-promo`,()=>import(`../components/report-promo/report-promo.js`)],[`bd-review-grid`,()=>import(`../components/review/review-grid.js`)],[`bd-review`,()=>import(`../components/review/review.js`)],[`bd-section-header`,()=>import(`../components/section-header/section-header.js`)],[`bd-section`,()=>import(`../components/section/section.js`)],[`bd-select-option`,()=>import(`../components/select/select-option.js`)],[`bd-select`,()=>import(`../components/select/select.js`)],[`bd-skeleton`,()=>import(`../components/skeleton/skeleton.js`)],[`bd-spinner`,()=>import(`../components/spinner/spinner.js`)],[`bd-spotlight`,()=>import(`../components/spotlight/spotlight.js`)],[`bd-stat-highlight`,()=>import(`../components/stat/stat-highlight.js`)],[`bd-stat`,()=>import(`../components/stat/stat.js`)],[`bd-switch`,()=>import(`../components/switch/switch.js`)],[`bd-tab-group`,()=>import(`../components/tab-group/tab-group.js`)],[`bd-tab-panel`,()=>import(`../components/tab-group/tab-panel.js`)],[`bd-tab`,()=>import(`../components/tab-group/tab.js`)],[`bd-table-of-contents-item`,()=>import(`../components/table-of-contents/table-of-contents-item.js`)],[`bd-table-of-contents`,()=>import(`../components/table-of-contents/table-of-contents.js`)],[`bd-tag`,()=>import(`../components/tag/tag.js`)],[`bd-terminal-hero`,()=>import(`../components/terminal-hero/terminal-hero.js`)],[`bd-terminal-cursor`,()=>import(`../components/terminal/terminal-cursor.js`)],[`bd-terminal-line`,()=>import(`../components/terminal/terminal-line.js`)],[`bd-terminal`,()=>import(`../components/terminal/terminal.js`)],[`bd-terms`,()=>import(`../components/terms/terms.js`)],[`bd-textarea`,()=>import(`../components/textarea/textarea.js`)],[`bd-tooltip`,()=>import(`../components/tooltip/tooltip.js`)],[`bd-trust-card`,()=>import(`../components/trust-panel/trust-card.js`)],[`bd-trust-panel`,()=>import(`../components/trust-panel/trust-panel.js`)],[`bd-video-player`,()=>import(`../components/video-player/video-player.js`)],[`bd-video`,()=>import(`../components/video/video.js`)],[`bd-visually-hidden`,()=>import(`../components/visually-hidden/visually-hidden.js`)]];export{e as registry};
|
|
1
|
+
var e=[[`bd-abstract`,()=>import(`../components/abstract/abstract.js`)],[`bd-accordion-item`,()=>import(`../components/accordion/accordion-item.js`)],[`bd-accordion`,()=>import(`../components/accordion/accordion.js`)],[`bd-agent-endpoints`,()=>import(`../components/agent-endpoints/agent-endpoints.js`)],[`bd-anchor-nav-item`,()=>import(`../components/anchor-nav/anchor-nav-item.js`)],[`bd-anchor-nav`,()=>import(`../components/anchor-nav/anchor-nav.js`)],[`bd-footnote bd-citation bd-sup bd-sub`,()=>import(`../components/annotation/annotation.js`)],[`bd-article`,()=>import(`../components/article/article.js`)],[`bd-audience-card`,()=>import(`../components/audience-card/audience-card.js`)],[`bd-authors`,()=>import(`../components/authors/authors.js`)],[`bd-avatar`,()=>import(`../components/avatar/avatar.js`)],[`bd-award`,()=>import(`../components/awards/award.js`)],[`bd-awards`,()=>import(`../components/awards/awards.js`)],[`bd-back`,()=>import(`../components/back/back.js`)],[`bd-badge`,()=>import(`../components/badge/badge.js`)],[`bd-bar-chart-item bd-bar-chart bd-bar-chart-grid`,()=>import(`../components/bar-chart/bar-chart.js`)],[`bd-bento-grid`,()=>import(`../components/bento-grid/bento-grid.js`)],[`bd-bento-item`,()=>import(`../components/bento-grid/bento-item.js`)],[`bd-blockquote`,()=>import(`../components/blockquote/blockquote.js`)],[`bd-breadcrumb bd-breadcrumb-item`,()=>import(`../components/breadcrumb/breadcrumb.js`)],[`bd-button`,()=>import(`../components/button/button.js`)],[`bd-callout`,()=>import(`../components/callout/callout.js`)],[`bd-caption`,()=>import(`../components/caption/caption.js`)],[`bd-card-grid`,()=>import(`../components/card/card-grid.js`)],[`bd-card`,()=>import(`../components/card/card.js`)],[`bd-carousel-item bd-carousel`,()=>import(`../components/carousel/carousel.js`)],[`bd-checkbox`,()=>import(`../components/checkbox/checkbox.js`)],[`bd-code`,()=>import(`../components/code/code.js`)],[`bd-comparison-panel`,()=>import(`../components/comparison-panel/comparison-panel.js`)],[`bd-compatibility-table`,()=>import(`../components/compatibility-table/compatibility-table.js`)],[`bd-cta-banner`,()=>import(`../components/cta-banner/cta-banner.js`)],[`bd-dialog`,()=>import(`../components/dialog/dialog.js`)],[`bd-display`,()=>import(`../components/display/display.js`)],[`bd-divider`,()=>import(`../components/divider/divider.js`)],[`bd-fact`,()=>import(`../components/fact/fact.js`)],[`bd-feature-column bd-feature-columns`,()=>import(`../components/feature-columns/feature-columns.js`)],[`bd-features-tab`,()=>import(`../components/features-tab/features-tab.js`)],[`bd-fieldset`,()=>import(`../components/fieldset/fieldset.js`)],[`bd-footer-group`,()=>import(`../components/footer/footer-group.js`)],[`bd-footer-nav`,()=>import(`../components/footer/footer-nav.js`)],[`bd-footer`,()=>import(`../components/footer/footer.js`)],[`bd-grid`,()=>import(`../components/grid/grid.js`)],[`bd-h`,()=>import(`../components/h/h.js`)],[`bd-hero`,()=>import(`../components/hero/hero.js`)],[`bd-highlight`,()=>import(`../components/highlight/highlight.js`)],[`bd-hint`,()=>import(`../components/hint/hint.js`)],[`bd-icon-columns-banner-item`,()=>import(`../components/icon-columns-banner/icon-columns-banner-item.js`)],[`bd-icon-columns-banner`,()=>import(`../components/icon-columns-banner/icon-columns-banner.js`)],[`bd-icon`,()=>import(`../components/icons/icons.js`),!0],[`bd-mark`,()=>import(`../components/icons/marks.js`),!0],[`bd-img`,()=>import(`../components/img/img.js`)],[`bd-input`,()=>import(`../components/input/input.js`)],[`bd-install-option`,()=>import(`../components/install-options/install-option.js`)],[`bd-install-options`,()=>import(`../components/install-options/install-options.js`)],[`bd-key-takeaways`,()=>import(`../components/key-takeaways/key-takeaways.js`)],[`bd-label`,()=>import(`../components/label/label.js`)],[`bd-link`,()=>import(`../components/link/link.js`)],[`bd-li`,()=>import(`../components/list/list-item/list-item.js`)],[`bd-list`,()=>import(`../components/list/list.js`)],[`bd-logo-marquee`,()=>import(`../components/logo-marquee/logo-marquee.js`)],[`bd-meta`,()=>import(`../components/meta/meta.js`)],[`bd-motion-art`,()=>import(`../components/motion-art/motion-art.js`)],[`bd-newsletter-signup`,()=>import(`../components/newsletter-signup/newsletter-signup.js`)],[`bd-overview`,()=>import(`../components/overview/overview.js`)],[`bd-p`,()=>import(`../components/p/p.js`)],[`bd-page-switcher`,()=>import(`../components/page-switcher/page-switcher.js`)],[`bd-pagination-dots`,()=>import(`../components/pagination-dots/pagination-dots.js`)],[`bd-partner-banner`,()=>import(`../components/partner-banner/partner-banner.js`)],[`bd-paste-button`,()=>import(`../components/paste-button/paste-button.js`)],[`bd-picture`,()=>import(`../components/picture/picture.js`)],[`bd-post-card`,()=>import(`../components/post-card/post-card.js`)],[`bd-pricing-card`,()=>import(`../components/pricing-card/pricing-card.js`)],[`bd-pricing-feature-group`,()=>import(`../components/pricing-card/pricing-feature-group.js`)],[`bd-pricing-feature`,()=>import(`../components/pricing-card/pricing-feature.js`)],[`bd-pricing-group`,()=>import(`../components/pricing-card/pricing-group.js`)],[`bd-pricing-price`,()=>import(`../components/pricing-card/pricing-price.js`)],[`bd-process-step`,()=>import(`../components/process-steps/process-step.js`)],[`bd-process-steps`,()=>import(`../components/process-steps/process-steps.js`)],[`bd-product-hero`,()=>import(`../components/product-hero/product-hero.js`)],[`bd-product-upsell`,()=>import(`../components/product-upsell/product-upsell.js`)],[`bd-progress-bar`,()=>import(`../components/progress-bar/progress-bar.js`)],[`bd-quick-answer`,()=>import(`../components/quick-answer/quick-answer.js`)],[`bd-radio-group`,()=>import(`../components/radio/radio-group.js`)],[`bd-radio`,()=>import(`../components/radio/radio.js`)],[`bd-related-articles`,()=>import(`../components/related-articles/related-articles.js`)],[`bd-report-promo`,()=>import(`../components/report-promo/report-promo.js`)],[`bd-review-grid`,()=>import(`../components/review/review-grid.js`)],[`bd-review`,()=>import(`../components/review/review.js`)],[`bd-section-header`,()=>import(`../components/section-header/section-header.js`)],[`bd-section`,()=>import(`../components/section/section.js`)],[`bd-select-option`,()=>import(`../components/select/select-option.js`)],[`bd-select`,()=>import(`../components/select/select.js`)],[`bd-skeleton`,()=>import(`../components/skeleton/skeleton.js`)],[`bd-spinner`,()=>import(`../components/spinner/spinner.js`)],[`bd-spotlight`,()=>import(`../components/spotlight/spotlight.js`)],[`bd-stat-highlight`,()=>import(`../components/stat/stat-highlight.js`)],[`bd-stat`,()=>import(`../components/stat/stat.js`)],[`bd-switch`,()=>import(`../components/switch/switch.js`)],[`bd-tab-group`,()=>import(`../components/tab-group/tab-group.js`)],[`bd-tab-panel`,()=>import(`../components/tab-group/tab-panel.js`)],[`bd-tab`,()=>import(`../components/tab-group/tab.js`)],[`bd-table-of-contents-item`,()=>import(`../components/table-of-contents/table-of-contents-item.js`)],[`bd-table-of-contents`,()=>import(`../components/table-of-contents/table-of-contents.js`)],[`bd-tag`,()=>import(`../components/tag/tag.js`)],[`bd-terminal-hero`,()=>import(`../components/terminal-hero/terminal-hero.js`)],[`bd-terminal-cursor`,()=>import(`../components/terminal/terminal-cursor.js`)],[`bd-terminal-line`,()=>import(`../components/terminal/terminal-line.js`)],[`bd-terminal`,()=>import(`../components/terminal/terminal.js`)],[`bd-terms`,()=>import(`../components/terms/terms.js`)],[`bd-textarea`,()=>import(`../components/textarea/textarea.js`)],[`bd-tooltip`,()=>import(`../components/tooltip/tooltip.js`)],[`bd-trust-card`,()=>import(`../components/trust-panel/trust-card.js`)],[`bd-trust-panel`,()=>import(`../components/trust-panel/trust-panel.js`)],[`bd-video-player`,()=>import(`../components/video-player/video-player.js`)],[`bd-video`,()=>import(`../components/video/video.js`)],[`bd-visually-hidden`,()=>import(`../components/visually-hidden/visually-hidden.js`)]];export{e as registry};
|
|
2
2
|
//# sourceMappingURL=registry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","names":["registry"],"sources":["../../../src/loader/registry.ts"],"sourcesContent":["/* Generated by scripts/build-loader.mjs from the tags each shipped module\n registers -- do not edit. `npm run build:loader` rewrites it, and\n `check:loader` (in check:ds) fails while it is stale. */\nimport type { RegistryRow } from './create-loader.ts';\n\nexport const registry: readonly RegistryRow[] = [\n [\"bd-abstract\", () => import(\"#components/abstract/abstract.ts\")],\n [\"bd-accordion-item\", () => import(\"#components/accordion/accordion-item.ts\")],\n [\"bd-accordion\", () => import(\"#components/accordion/accordion.ts\")],\n [\"bd-agent-endpoints\", () => import(\"#components/agent-endpoints/agent-endpoints.ts\")],\n [\"bd-anchor-nav-item\", () => import(\"#components/anchor-nav/anchor-nav-item.ts\")],\n [\"bd-anchor-nav\", () => import(\"#components/anchor-nav/anchor-nav.ts\")],\n [\"bd-footnote bd-citation bd-sup bd-sub\", () => import(\"#components/annotation/annotation.ts\")],\n [\"bd-article\", () => import(\"#components/article/article.ts\")],\n [\"bd-audience-card\", () => import(\"#components/audience-card/audience-card.ts\")],\n [\"bd-authors\", () => import(\"#components/authors/authors.ts\")],\n [\"bd-avatar\", () => import(\"#components/avatar/avatar.ts\")],\n [\"bd-award\", () => import(\"#components/awards/award.ts\")],\n [\"bd-awards\", () => import(\"#components/awards/awards.ts\")],\n [\"bd-back\", () => import(\"#components/back/back.ts\")],\n [\"bd-badge\", () => import(\"#components/badge/badge.ts\")],\n [\"bd-bar-chart-item bd-bar-chart bd-bar-chart-grid\", () => import(\"#components/bar-chart/bar-chart.ts\")],\n [\"bd-bento-grid\", () => import(\"#components/bento-grid/bento-grid.ts\")],\n [\"bd-bento-item\", () => import(\"#components/bento-grid/bento-item.ts\")],\n [\"bd-blockquote\", () => import(\"#components/blockquote/blockquote.ts\")],\n [\"bd-breadcrumb bd-breadcrumb-item\", () => import(\"#components/breadcrumb/breadcrumb.ts\")],\n [\"bd-button\", () => import(\"#components/button/button.ts\")],\n [\"bd-callout\", () => import(\"#components/callout/callout.ts\")],\n [\"bd-caption\", () => import(\"#components/caption/caption.ts\")],\n [\"bd-card-grid\", () => import(\"#components/card/card-grid.ts\")],\n [\"bd-card\", () => import(\"#components/card/card.ts\")],\n [\"bd-carousel-item bd-carousel\", () => import(\"#components/carousel/carousel.ts\")],\n [\"bd-checkbox\", () => import(\"#components/checkbox/checkbox.ts\")],\n [\"bd-code\", () => import(\"#components/code/code.ts\")],\n [\"bd-comparison-panel\", () => import(\"#components/comparison-panel/comparison-panel.ts\")],\n [\"bd-compatibility-table\", () => import(\"#components/compatibility-table/compatibility-table.ts\")],\n [\"bd-cta-banner\", () => import(\"#components/cta-banner/cta-banner.ts\")],\n [\"bd-dialog\", () => import(\"#components/dialog/dialog.ts\")],\n [\"bd-display\", () => import(\"#components/display/display.ts\")],\n [\"bd-divider\", () => import(\"#components/divider/divider.ts\")],\n [\"bd-fact\", () => import(\"#components/fact/fact.ts\")],\n [\"bd-feature-column bd-feature-columns\", () => import(\"#components/feature-columns/feature-columns.ts\")],\n [\"bd-features-tab\", () => import(\"#components/features-tab/features-tab.ts\")],\n [\"bd-fieldset\", () => import(\"#components/fieldset/fieldset.ts\")],\n [\"bd-footer-group\", () => import(\"#components/footer/footer-group.ts\")],\n [\"bd-footer-nav\", () => import(\"#components/footer/footer-nav.ts\")],\n [\"bd-footer\", () => import(\"#components/footer/footer.ts\")],\n [\"bd-grid\", () => import(\"#components/grid/grid.ts\")],\n [\"bd-h\", () => import(\"#components/h/h.ts\")],\n [\"bd-hero\", () => import(\"#components/hero/hero.ts\")],\n [\"bd-highlight\", () => import(\"#components/highlight/highlight.ts\")],\n [\"bd-hint\", () => import(\"#components/hint/hint.ts\")],\n [\"bd-icon\", () => import(\"#components/icons/icons.ts\"), true],\n [\"bd-mark\", () => import(\"#components/icons/marks.ts\"), true],\n [\"bd-img\", () => import(\"#components/img/img.ts\")],\n [\"bd-input\", () => import(\"#components/input/input.ts\")],\n [\"bd-install-option\", () => import(\"#components/install-options/install-option.ts\")],\n [\"bd-install-options\", () => import(\"#components/install-options/install-options.ts\")],\n [\"bd-key-takeaways\", () => import(\"#components/key-takeaways/key-takeaways.ts\")],\n [\"bd-label\", () => import(\"#components/label/label.ts\")],\n [\"bd-link\", () => import(\"#components/link/link.ts\")],\n [\"bd-li\", () => import(\"#components/list/list-item/list-item.ts\")],\n [\"bd-list\", () => import(\"#components/list/list.ts\")],\n [\"bd-logo-marquee\", () => import(\"#components/logo-marquee/logo-marquee.ts\")],\n [\"bd-meta\", () => import(\"#components/meta/meta.ts\")],\n [\"bd-motion-art\", () => import(\"#components/motion-art/motion-art.ts\")],\n [\"bd-newsletter-signup\", () => import(\"#components/newsletter-signup/newsletter-signup.ts\")],\n [\"bd-overview\", () => import(\"#components/overview/overview.ts\")],\n [\"bd-p\", () => import(\"#components/p/p.ts\")],\n [\"bd-page-switcher\", () => import(\"#components/page-switcher/page-switcher.ts\")],\n [\"bd-pagination-dots\", () => import(\"#components/pagination-dots/pagination-dots.ts\")],\n [\"bd-partner-banner\", () => import(\"#components/partner-banner/partner-banner.ts\")],\n [\"bd-paste-button\", () => import(\"#components/paste-button/paste-button.ts\")],\n [\"bd-picture\", () => import(\"#components/picture/picture.ts\")],\n [\"bd-post-card\", () => import(\"#components/post-card/post-card.ts\")],\n [\"bd-pricing-card\", () => import(\"#components/pricing-card/pricing-card.ts\")],\n [\"bd-pricing-feature-group\", () => import(\"#components/pricing-card/pricing-feature-group.ts\")],\n [\"bd-pricing-feature\", () => import(\"#components/pricing-card/pricing-feature.ts\")],\n [\"bd-pricing-group\", () => import(\"#components/pricing-card/pricing-group.ts\")],\n [\"bd-pricing-price\", () => import(\"#components/pricing-card/pricing-price.ts\")],\n [\"bd-process-step\", () => import(\"#components/process-steps/process-step.ts\")],\n [\"bd-process-steps\", () => import(\"#components/process-steps/process-steps.ts\")],\n [\"bd-product-hero\", () => import(\"#components/product-hero/product-hero.ts\")],\n [\"bd-product-upsell\", () => import(\"#components/product-upsell/product-upsell.ts\")],\n [\"bd-progress-bar\", () => import(\"#components/progress-bar/progress-bar.ts\")],\n [\"bd-quick-answer\", () => import(\"#components/quick-answer/quick-answer.ts\")],\n [\"bd-radio-group\", () => import(\"#components/radio/radio-group.ts\")],\n [\"bd-radio\", () => import(\"#components/radio/radio.ts\")],\n [\"bd-related-articles\", () => import(\"#components/related-articles/related-articles.ts\")],\n [\"bd-report-promo\", () => import(\"#components/report-promo/report-promo.ts\")],\n [\"bd-review-grid\", () => import(\"#components/review/review-grid.ts\")],\n [\"bd-review\", () => import(\"#components/review/review.ts\")],\n [\"bd-section-header\", () => import(\"#components/section-header/section-header.ts\")],\n [\"bd-section\", () => import(\"#components/section/section.ts\")],\n [\"bd-select-option\", () => import(\"#components/select/select-option.ts\")],\n [\"bd-select\", () => import(\"#components/select/select.ts\")],\n [\"bd-skeleton\", () => import(\"#components/skeleton/skeleton.ts\")],\n [\"bd-spinner\", () => import(\"#components/spinner/spinner.ts\")],\n [\"bd-spotlight\", () => import(\"#components/spotlight/spotlight.ts\")],\n [\"bd-stat-highlight\", () => import(\"#components/stat/stat-highlight.ts\")],\n [\"bd-stat\", () => import(\"#components/stat/stat.ts\")],\n [\"bd-switch\", () => import(\"#components/switch/switch.ts\")],\n [\"bd-tab-group\", () => import(\"#components/tab-group/tab-group.ts\")],\n [\"bd-tab-panel\", () => import(\"#components/tab-group/tab-panel.ts\")],\n [\"bd-tab\", () => import(\"#components/tab-group/tab.ts\")],\n [\"bd-table-of-contents-item\", () => import(\"#components/table-of-contents/table-of-contents-item.ts\")],\n [\"bd-table-of-contents\", () => import(\"#components/table-of-contents/table-of-contents.ts\")],\n [\"bd-tag\", () => import(\"#components/tag/tag.ts\")],\n [\"bd-terminal-hero\", () => import(\"#components/terminal-hero/terminal-hero.ts\")],\n [\"bd-terminal-cursor\", () => import(\"#components/terminal/terminal-cursor.ts\")],\n [\"bd-terminal-line\", () => import(\"#components/terminal/terminal-line.ts\")],\n [\"bd-terminal\", () => import(\"#components/terminal/terminal.ts\")],\n [\"bd-terms\", () => import(\"#components/terms/terms.ts\")],\n [\"bd-textarea\", () => import(\"#components/textarea/textarea.ts\")],\n [\"bd-tooltip\", () => import(\"#components/tooltip/tooltip.ts\")],\n [\"bd-trust-card\", () => import(\"#components/trust-panel/trust-card.ts\")],\n [\"bd-trust-panel\", () => import(\"#components/trust-panel/trust-panel.ts\")],\n [\"bd-video-player\", () => import(\"#components/video-player/video-player.ts\")],\n [\"bd-video\", () => import(\"#components/video/video.ts\")],\n [\"bd-visually-hidden\", () => import(\"#components/visually-hidden/visually-hidden.ts\")]\n];\n"],"mappings":"AAKA,IAAaA,EAAmC,CAC9C,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,wBAA2B,OAAO,4CAA0C,EAC7E,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,yBAA4B,OAAO,mDAAiD,EACrF,CAAC,yBAA4B,OAAO,8CAA4C,EAChF,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,4CAA+C,OAAO,yCAAuC,EAC9F,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,eAAkB,OAAO,gCAA8B,EACxD,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,uDAA0D,OAAO,uCAAqC,EACvG,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,uCAA0C,OAAO,yCAAuC,EACzF,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,mBAAsB,OAAO,kCAAgC,EAC9D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,mCAAsC,OAAO,qCAAmC,EACjF,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,0BAA6B,OAAO,qDAAmD,EACxF,CAAC,6BAAgC,OAAO,2DAAyD,EACjG,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,2CAA8C,OAAO,mDAAiD,EACvG,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,sBAAyB,OAAO,uCAAqC,EACtE,CAAC,oBAAuB,OAAO,qCAAmC,EAClE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,WAAc,OAAO,uBAAqB,EAC3C,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,cAAiB,OAAO,gCAA+B,EAAI,EAC5D,CAAC,cAAiB,OAAO,gCAA+B,EAAI,EAC5D,CAAC,aAAgB,OAAO,2BAAyB,EACjD,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,wBAA2B,OAAO,kDAAgD,EACnF,CAAC,yBAA4B,OAAO,mDAAiD,EACrF,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,YAAe,OAAO,4CAA0C,EACjE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,2BAA8B,OAAO,uDAAqD,EAC3F,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,WAAc,OAAO,uBAAqB,EAC3C,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,yBAA4B,OAAO,mDAAiD,EACrF,CAAC,wBAA2B,OAAO,iDAA+C,EAClF,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,+BAAkC,OAAO,sDAAoD,EAC9F,CAAC,yBAA4B,OAAO,gDAA8C,EAClF,CAAC,uBAA0B,OAAO,8CAA4C,EAC9E,CAAC,uBAA0B,OAAO,8CAA4C,EAC9E,CAAC,sBAAyB,OAAO,8CAA4C,EAC7E,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,wBAA2B,OAAO,iDAA+C,EAClF,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,qBAAwB,OAAO,qCAAmC,EACnE,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,0BAA6B,OAAO,qDAAmD,EACxF,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,qBAAwB,OAAO,sCAAoC,EACpE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,wBAA2B,OAAO,iDAA+C,EAClF,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,uBAA0B,OAAO,wCAAsC,EACxE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,wBAA2B,OAAO,uCAAqC,EACxE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,aAAgB,OAAO,iCAA+B,EACvD,CAAC,gCAAmC,OAAO,4DAA0D,EACrG,CAAC,2BAA8B,OAAO,uDAAqD,EAC3F,CAAC,aAAgB,OAAO,2BAAyB,EACjD,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,yBAA4B,OAAO,4CAA0C,EAC9E,CAAC,uBAA0B,OAAO,0CAAwC,EAC1E,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,oBAAuB,OAAO,0CAAwC,EACvE,CAAC,qBAAwB,OAAO,2CAAyC,EACzE,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,yBAA4B,OAAO,mDAAiD,CACvF,E"}
|
|
1
|
+
{"version":3,"file":"registry.js","names":["registry"],"sources":["../../../src/loader/registry.ts"],"sourcesContent":["/* Generated by scripts/build-loader.mjs from the tags each shipped module\n registers -- do not edit. `npm run build:loader` rewrites it, and\n `check:loader` (in check:ds) fails while it is stale. */\nimport type { RegistryRow } from './create-loader.ts';\n\nexport const registry: readonly RegistryRow[] = [\n [\"bd-abstract\", () => import(\"#components/abstract/abstract.ts\")],\n [\"bd-accordion-item\", () => import(\"#components/accordion/accordion-item.ts\")],\n [\"bd-accordion\", () => import(\"#components/accordion/accordion.ts\")],\n [\"bd-agent-endpoints\", () => import(\"#components/agent-endpoints/agent-endpoints.ts\")],\n [\"bd-anchor-nav-item\", () => import(\"#components/anchor-nav/anchor-nav-item.ts\")],\n [\"bd-anchor-nav\", () => import(\"#components/anchor-nav/anchor-nav.ts\")],\n [\"bd-footnote bd-citation bd-sup bd-sub\", () => import(\"#components/annotation/annotation.ts\")],\n [\"bd-article\", () => import(\"#components/article/article.ts\")],\n [\"bd-audience-card\", () => import(\"#components/audience-card/audience-card.ts\")],\n [\"bd-authors\", () => import(\"#components/authors/authors.ts\")],\n [\"bd-avatar\", () => import(\"#components/avatar/avatar.ts\")],\n [\"bd-award\", () => import(\"#components/awards/award.ts\")],\n [\"bd-awards\", () => import(\"#components/awards/awards.ts\")],\n [\"bd-back\", () => import(\"#components/back/back.ts\")],\n [\"bd-badge\", () => import(\"#components/badge/badge.ts\")],\n [\"bd-bar-chart-item bd-bar-chart bd-bar-chart-grid\", () => import(\"#components/bar-chart/bar-chart.ts\")],\n [\"bd-bento-grid\", () => import(\"#components/bento-grid/bento-grid.ts\")],\n [\"bd-bento-item\", () => import(\"#components/bento-grid/bento-item.ts\")],\n [\"bd-blockquote\", () => import(\"#components/blockquote/blockquote.ts\")],\n [\"bd-breadcrumb bd-breadcrumb-item\", () => import(\"#components/breadcrumb/breadcrumb.ts\")],\n [\"bd-button\", () => import(\"#components/button/button.ts\")],\n [\"bd-callout\", () => import(\"#components/callout/callout.ts\")],\n [\"bd-caption\", () => import(\"#components/caption/caption.ts\")],\n [\"bd-card-grid\", () => import(\"#components/card/card-grid.ts\")],\n [\"bd-card\", () => import(\"#components/card/card.ts\")],\n [\"bd-carousel-item bd-carousel\", () => import(\"#components/carousel/carousel.ts\")],\n [\"bd-checkbox\", () => import(\"#components/checkbox/checkbox.ts\")],\n [\"bd-code\", () => import(\"#components/code/code.ts\")],\n [\"bd-comparison-panel\", () => import(\"#components/comparison-panel/comparison-panel.ts\")],\n [\"bd-compatibility-table\", () => import(\"#components/compatibility-table/compatibility-table.ts\")],\n [\"bd-cta-banner\", () => import(\"#components/cta-banner/cta-banner.ts\")],\n [\"bd-dialog\", () => import(\"#components/dialog/dialog.ts\")],\n [\"bd-display\", () => import(\"#components/display/display.ts\")],\n [\"bd-divider\", () => import(\"#components/divider/divider.ts\")],\n [\"bd-fact\", () => import(\"#components/fact/fact.ts\")],\n [\"bd-feature-column bd-feature-columns\", () => import(\"#components/feature-columns/feature-columns.ts\")],\n [\"bd-features-tab\", () => import(\"#components/features-tab/features-tab.ts\")],\n [\"bd-fieldset\", () => import(\"#components/fieldset/fieldset.ts\")],\n [\"bd-footer-group\", () => import(\"#components/footer/footer-group.ts\")],\n [\"bd-footer-nav\", () => import(\"#components/footer/footer-nav.ts\")],\n [\"bd-footer\", () => import(\"#components/footer/footer.ts\")],\n [\"bd-grid\", () => import(\"#components/grid/grid.ts\")],\n [\"bd-h\", () => import(\"#components/h/h.ts\")],\n [\"bd-hero\", () => import(\"#components/hero/hero.ts\")],\n [\"bd-highlight\", () => import(\"#components/highlight/highlight.ts\")],\n [\"bd-hint\", () => import(\"#components/hint/hint.ts\")],\n [\"bd-icon-columns-banner-item\", () => import(\"#components/icon-columns-banner/icon-columns-banner-item.ts\")],\n [\"bd-icon-columns-banner\", () => import(\"#components/icon-columns-banner/icon-columns-banner.ts\")],\n [\"bd-icon\", () => import(\"#components/icons/icons.ts\"), true],\n [\"bd-mark\", () => import(\"#components/icons/marks.ts\"), true],\n [\"bd-img\", () => import(\"#components/img/img.ts\")],\n [\"bd-input\", () => import(\"#components/input/input.ts\")],\n [\"bd-install-option\", () => import(\"#components/install-options/install-option.ts\")],\n [\"bd-install-options\", () => import(\"#components/install-options/install-options.ts\")],\n [\"bd-key-takeaways\", () => import(\"#components/key-takeaways/key-takeaways.ts\")],\n [\"bd-label\", () => import(\"#components/label/label.ts\")],\n [\"bd-link\", () => import(\"#components/link/link.ts\")],\n [\"bd-li\", () => import(\"#components/list/list-item/list-item.ts\")],\n [\"bd-list\", () => import(\"#components/list/list.ts\")],\n [\"bd-logo-marquee\", () => import(\"#components/logo-marquee/logo-marquee.ts\")],\n [\"bd-meta\", () => import(\"#components/meta/meta.ts\")],\n [\"bd-motion-art\", () => import(\"#components/motion-art/motion-art.ts\")],\n [\"bd-newsletter-signup\", () => import(\"#components/newsletter-signup/newsletter-signup.ts\")],\n [\"bd-overview\", () => import(\"#components/overview/overview.ts\")],\n [\"bd-p\", () => import(\"#components/p/p.ts\")],\n [\"bd-page-switcher\", () => import(\"#components/page-switcher/page-switcher.ts\")],\n [\"bd-pagination-dots\", () => import(\"#components/pagination-dots/pagination-dots.ts\")],\n [\"bd-partner-banner\", () => import(\"#components/partner-banner/partner-banner.ts\")],\n [\"bd-paste-button\", () => import(\"#components/paste-button/paste-button.ts\")],\n [\"bd-picture\", () => import(\"#components/picture/picture.ts\")],\n [\"bd-post-card\", () => import(\"#components/post-card/post-card.ts\")],\n [\"bd-pricing-card\", () => import(\"#components/pricing-card/pricing-card.ts\")],\n [\"bd-pricing-feature-group\", () => import(\"#components/pricing-card/pricing-feature-group.ts\")],\n [\"bd-pricing-feature\", () => import(\"#components/pricing-card/pricing-feature.ts\")],\n [\"bd-pricing-group\", () => import(\"#components/pricing-card/pricing-group.ts\")],\n [\"bd-pricing-price\", () => import(\"#components/pricing-card/pricing-price.ts\")],\n [\"bd-process-step\", () => import(\"#components/process-steps/process-step.ts\")],\n [\"bd-process-steps\", () => import(\"#components/process-steps/process-steps.ts\")],\n [\"bd-product-hero\", () => import(\"#components/product-hero/product-hero.ts\")],\n [\"bd-product-upsell\", () => import(\"#components/product-upsell/product-upsell.ts\")],\n [\"bd-progress-bar\", () => import(\"#components/progress-bar/progress-bar.ts\")],\n [\"bd-quick-answer\", () => import(\"#components/quick-answer/quick-answer.ts\")],\n [\"bd-radio-group\", () => import(\"#components/radio/radio-group.ts\")],\n [\"bd-radio\", () => import(\"#components/radio/radio.ts\")],\n [\"bd-related-articles\", () => import(\"#components/related-articles/related-articles.ts\")],\n [\"bd-report-promo\", () => import(\"#components/report-promo/report-promo.ts\")],\n [\"bd-review-grid\", () => import(\"#components/review/review-grid.ts\")],\n [\"bd-review\", () => import(\"#components/review/review.ts\")],\n [\"bd-section-header\", () => import(\"#components/section-header/section-header.ts\")],\n [\"bd-section\", () => import(\"#components/section/section.ts\")],\n [\"bd-select-option\", () => import(\"#components/select/select-option.ts\")],\n [\"bd-select\", () => import(\"#components/select/select.ts\")],\n [\"bd-skeleton\", () => import(\"#components/skeleton/skeleton.ts\")],\n [\"bd-spinner\", () => import(\"#components/spinner/spinner.ts\")],\n [\"bd-spotlight\", () => import(\"#components/spotlight/spotlight.ts\")],\n [\"bd-stat-highlight\", () => import(\"#components/stat/stat-highlight.ts\")],\n [\"bd-stat\", () => import(\"#components/stat/stat.ts\")],\n [\"bd-switch\", () => import(\"#components/switch/switch.ts\")],\n [\"bd-tab-group\", () => import(\"#components/tab-group/tab-group.ts\")],\n [\"bd-tab-panel\", () => import(\"#components/tab-group/tab-panel.ts\")],\n [\"bd-tab\", () => import(\"#components/tab-group/tab.ts\")],\n [\"bd-table-of-contents-item\", () => import(\"#components/table-of-contents/table-of-contents-item.ts\")],\n [\"bd-table-of-contents\", () => import(\"#components/table-of-contents/table-of-contents.ts\")],\n [\"bd-tag\", () => import(\"#components/tag/tag.ts\")],\n [\"bd-terminal-hero\", () => import(\"#components/terminal-hero/terminal-hero.ts\")],\n [\"bd-terminal-cursor\", () => import(\"#components/terminal/terminal-cursor.ts\")],\n [\"bd-terminal-line\", () => import(\"#components/terminal/terminal-line.ts\")],\n [\"bd-terminal\", () => import(\"#components/terminal/terminal.ts\")],\n [\"bd-terms\", () => import(\"#components/terms/terms.ts\")],\n [\"bd-textarea\", () => import(\"#components/textarea/textarea.ts\")],\n [\"bd-tooltip\", () => import(\"#components/tooltip/tooltip.ts\")],\n [\"bd-trust-card\", () => import(\"#components/trust-panel/trust-card.ts\")],\n [\"bd-trust-panel\", () => import(\"#components/trust-panel/trust-panel.ts\")],\n [\"bd-video-player\", () => import(\"#components/video-player/video-player.ts\")],\n [\"bd-video\", () => import(\"#components/video/video.ts\")],\n [\"bd-visually-hidden\", () => import(\"#components/visually-hidden/visually-hidden.ts\")]\n];\n"],"mappings":"AAKA,IAAaA,EAAmC,CAC9C,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,wBAA2B,OAAO,4CAA0C,EAC7E,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,yBAA4B,OAAO,mDAAiD,EACrF,CAAC,yBAA4B,OAAO,8CAA4C,EAChF,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,4CAA+C,OAAO,yCAAuC,EAC9F,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,eAAkB,OAAO,gCAA8B,EACxD,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,uDAA0D,OAAO,uCAAqC,EACvG,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,uCAA0C,OAAO,yCAAuC,EACzF,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,mBAAsB,OAAO,kCAAgC,EAC9D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,mCAAsC,OAAO,qCAAmC,EACjF,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,0BAA6B,OAAO,qDAAmD,EACxF,CAAC,6BAAgC,OAAO,2DAAyD,EACjG,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,2CAA8C,OAAO,mDAAiD,EACvG,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,sBAAyB,OAAO,uCAAqC,EACtE,CAAC,oBAAuB,OAAO,qCAAmC,EAClE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,WAAc,OAAO,uBAAqB,EAC3C,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,kCAAqC,OAAO,gEAA8D,EAC3G,CAAC,6BAAgC,OAAO,2DAAyD,EACjG,CAAC,cAAiB,OAAO,gCAA+B,EAAI,EAC5D,CAAC,cAAiB,OAAO,gCAA+B,EAAI,EAC5D,CAAC,aAAgB,OAAO,2BAAyB,EACjD,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,wBAA2B,OAAO,kDAAgD,EACnF,CAAC,yBAA4B,OAAO,mDAAiD,EACrF,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,YAAe,OAAO,4CAA0C,EACjE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,oBAAuB,OAAO,yCAAuC,EACtE,CAAC,2BAA8B,OAAO,uDAAqD,EAC3F,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,WAAc,OAAO,uBAAqB,EAC3C,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,yBAA4B,OAAO,mDAAiD,EACrF,CAAC,wBAA2B,OAAO,iDAA+C,EAClF,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,+BAAkC,OAAO,sDAAoD,EAC9F,CAAC,yBAA4B,OAAO,gDAA8C,EAClF,CAAC,uBAA0B,OAAO,8CAA4C,EAC9E,CAAC,uBAA0B,OAAO,8CAA4C,EAC9E,CAAC,sBAAyB,OAAO,8CAA4C,EAC7E,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,wBAA2B,OAAO,iDAA+C,EAClF,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,qBAAwB,OAAO,qCAAmC,EACnE,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,0BAA6B,OAAO,qDAAmD,EACxF,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,qBAAwB,OAAO,sCAAoC,EACpE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,wBAA2B,OAAO,iDAA+C,EAClF,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,uBAA0B,OAAO,wCAAsC,EACxE,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,wBAA2B,OAAO,uCAAqC,EACxE,CAAC,cAAiB,OAAO,6BAA2B,EACpD,CAAC,gBAAmB,OAAO,iCAA+B,EAC1D,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,mBAAsB,OAAO,uCAAqC,EACnE,CAAC,aAAgB,OAAO,iCAA+B,EACvD,CAAC,gCAAmC,OAAO,4DAA0D,EACrG,CAAC,2BAA8B,OAAO,uDAAqD,EAC3F,CAAC,aAAgB,OAAO,2BAAyB,EACjD,CAAC,uBAA0B,OAAO,+CAA6C,EAC/E,CAAC,yBAA4B,OAAO,4CAA0C,EAC9E,CAAC,uBAA0B,OAAO,0CAAwC,EAC1E,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,kBAAqB,OAAO,qCAAmC,EAChE,CAAC,iBAAoB,OAAO,mCAAiC,EAC7D,CAAC,oBAAuB,OAAO,0CAAwC,EACvE,CAAC,qBAAwB,OAAO,2CAAyC,EACzE,CAAC,sBAAyB,OAAO,6CAA2C,EAC5E,CAAC,eAAkB,OAAO,+BAA6B,EACvD,CAAC,yBAA4B,OAAO,mDAAiD,CACvF,E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repobit/dex-system-design",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Design system based on Web Components.",
|
|
5
5
|
"author": "Iordache Matei Cezar <miordache@bitdefender.com>",
|
|
6
6
|
"homepage": "https://github.com/bitdefender/dex-core#readme",
|
|
@@ -136,6 +136,10 @@
|
|
|
136
136
|
"types": "./dist/src/components/highlight/highlight.d.ts",
|
|
137
137
|
"default": "./dist/src/components/highlight/highlight.js"
|
|
138
138
|
},
|
|
139
|
+
"./icon-columns-banner": {
|
|
140
|
+
"types": "./dist/src/components/icon-columns-banner/icon-columns-banner.d.ts",
|
|
141
|
+
"default": "./dist/src/components/icon-columns-banner/icon-columns-banner.js"
|
|
142
|
+
},
|
|
139
143
|
"./icons": {
|
|
140
144
|
"types": "./dist/src/components/icons/icons.d.ts",
|
|
141
145
|
"default": "./dist/src/components/icons/icons.js"
|
|
@@ -490,5 +494,5 @@
|
|
|
490
494
|
"volta": {
|
|
491
495
|
"node": "24.22.1"
|
|
492
496
|
},
|
|
493
|
-
"gitHead": "
|
|
497
|
+
"gitHead": "70d7e5c0f157a3d79460f88ee078c279f4970da2"
|
|
494
498
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifestVersion": 1,
|
|
3
3
|
"package": "@repobit/dex-system-design",
|
|
4
|
-
"packageVersion": "4.
|
|
4
|
+
"packageVersion": "4.5.0",
|
|
5
5
|
"generatedFrom": [
|
|
6
6
|
"package.json exports",
|
|
7
7
|
"Lit reactive properties (static properties or @property/@state)",
|
|
@@ -1705,6 +1705,16 @@
|
|
|
1705
1705
|
}
|
|
1706
1706
|
],
|
|
1707
1707
|
"props": [
|
|
1708
|
+
{
|
|
1709
|
+
"name": "appearance",
|
|
1710
|
+
"type": "string",
|
|
1711
|
+
"enum": [
|
|
1712
|
+
"default",
|
|
1713
|
+
"contained"
|
|
1714
|
+
],
|
|
1715
|
+
"default": "default",
|
|
1716
|
+
"description": "Contained adds a rounded surface and equal columns; images fill the media half."
|
|
1717
|
+
},
|
|
1708
1718
|
{
|
|
1709
1719
|
"name": "reverse",
|
|
1710
1720
|
"type": "boolean",
|
|
@@ -5624,6 +5634,84 @@
|
|
|
5624
5634
|
"The card sets the title's size (the h4 role) and the description's muted ink; the page picks the title's level with `as`."
|
|
5625
5635
|
]
|
|
5626
5636
|
},
|
|
5637
|
+
{
|
|
5638
|
+
"tag": "bd-icon-columns-banner",
|
|
5639
|
+
"packageExport": "./icon-columns-banner",
|
|
5640
|
+
"module": "./dist/src/components/icon-columns-banner/icon-columns-banner.js",
|
|
5641
|
+
"role": "section",
|
|
5642
|
+
"contentModel": "children",
|
|
5643
|
+
"children": [
|
|
5644
|
+
"bd-icon-columns-banner-item"
|
|
5645
|
+
],
|
|
5646
|
+
"slots": [
|
|
5647
|
+
{
|
|
5648
|
+
"name": "",
|
|
5649
|
+
"accepts": [
|
|
5650
|
+
"bd-icon-columns-banner-item"
|
|
5651
|
+
]
|
|
5652
|
+
},
|
|
5653
|
+
{
|
|
5654
|
+
"name": "corner-end",
|
|
5655
|
+
"accepts": [
|
|
5656
|
+
"bd-img"
|
|
5657
|
+
]
|
|
5658
|
+
},
|
|
5659
|
+
{
|
|
5660
|
+
"name": "corner-start",
|
|
5661
|
+
"accepts": [
|
|
5662
|
+
"bd-img"
|
|
5663
|
+
]
|
|
5664
|
+
},
|
|
5665
|
+
{
|
|
5666
|
+
"name": "title",
|
|
5667
|
+
"accepts": "heading",
|
|
5668
|
+
"owns": [
|
|
5669
|
+
"size",
|
|
5670
|
+
"ink"
|
|
5671
|
+
]
|
|
5672
|
+
}
|
|
5673
|
+
],
|
|
5674
|
+
"props": [],
|
|
5675
|
+
"notes": [
|
|
5676
|
+
"A soft brand surface: a centred title and a row of bd-icon-columns-banner-item children, three to a row, stacking at 600px. The page's art in corner-start and corner-end is anchored to the top corners behind the copy and hidden from assistive technology.",
|
|
5677
|
+
"The banner sets the title's size (the h2 role); the page picks its level with `as`."
|
|
5678
|
+
]
|
|
5679
|
+
},
|
|
5680
|
+
{
|
|
5681
|
+
"tag": "bd-icon-columns-banner-item",
|
|
5682
|
+
"packageExport": "./icon-columns-banner",
|
|
5683
|
+
"module": "./dist/src/components/icon-columns-banner/icon-columns-banner-item.js",
|
|
5684
|
+
"role": "item",
|
|
5685
|
+
"contentModel": "children",
|
|
5686
|
+
"slots": [
|
|
5687
|
+
{
|
|
5688
|
+
"name": "description",
|
|
5689
|
+
"accepts": "atoms",
|
|
5690
|
+
"owns": [
|
|
5691
|
+
"ink"
|
|
5692
|
+
]
|
|
5693
|
+
},
|
|
5694
|
+
{
|
|
5695
|
+
"name": "icon",
|
|
5696
|
+
"accepts": [
|
|
5697
|
+
"bd-img"
|
|
5698
|
+
]
|
|
5699
|
+
},
|
|
5700
|
+
{
|
|
5701
|
+
"name": "title",
|
|
5702
|
+
"accepts": "heading",
|
|
5703
|
+
"owns": [
|
|
5704
|
+
"size",
|
|
5705
|
+
"ink"
|
|
5706
|
+
]
|
|
5707
|
+
}
|
|
5708
|
+
],
|
|
5709
|
+
"props": [],
|
|
5710
|
+
"notes": [
|
|
5711
|
+
"A column of bd-icon-columns-banner. The three parts share the banner's rows, so neighbouring columns line up.",
|
|
5712
|
+
"The item sets the title's size (the h4 role); the page picks its level with `as`."
|
|
5713
|
+
]
|
|
5714
|
+
},
|
|
5627
5715
|
{
|
|
5628
5716
|
"tag": "bd-process-steps",
|
|
5629
5717
|
"packageExport": "./process-steps",
|
|
@@ -5704,6 +5792,10 @@
|
|
|
5704
5792
|
"role": "section",
|
|
5705
5793
|
"contentModel": "children",
|
|
5706
5794
|
"slots": [
|
|
5795
|
+
{
|
|
5796
|
+
"name": "media",
|
|
5797
|
+
"accepts": "atoms"
|
|
5798
|
+
},
|
|
5707
5799
|
{
|
|
5708
5800
|
"name": "title",
|
|
5709
5801
|
"accepts": "heading",
|
|
@@ -5733,9 +5825,31 @@
|
|
|
5733
5825
|
"accepts": "atoms"
|
|
5734
5826
|
}
|
|
5735
5827
|
],
|
|
5736
|
-
"props": [
|
|
5828
|
+
"props": [
|
|
5829
|
+
{
|
|
5830
|
+
"name": "appearance",
|
|
5831
|
+
"type": "string",
|
|
5832
|
+
"enum": [
|
|
5833
|
+
"brand",
|
|
5834
|
+
"brand-soft",
|
|
5835
|
+
"brand-deep"
|
|
5836
|
+
],
|
|
5837
|
+
"default": "brand",
|
|
5838
|
+
"description": "The surface look: the original gradient, a pale brand wash, or a solid deep brand fill."
|
|
5839
|
+
},
|
|
5840
|
+
{
|
|
5841
|
+
"name": "width",
|
|
5842
|
+
"type": "string",
|
|
5843
|
+
"enum": [
|
|
5844
|
+
"full",
|
|
5845
|
+
"contained"
|
|
5846
|
+
],
|
|
5847
|
+
"default": "full",
|
|
5848
|
+
"description": "Whether the banner surface spans the host or is centred at the content max width."
|
|
5849
|
+
}
|
|
5850
|
+
],
|
|
5737
5851
|
"notes": [
|
|
5738
|
-
"
|
|
5852
|
+
"The title and description take ink appropriate to the selected appearance, and the caption uses the mono role. Buttons keep their own bd-button appearance and surface; the red accent on brand-deep is an exploratory combination below the 3:1 UI-boundary contrast floor."
|
|
5739
5853
|
]
|
|
5740
5854
|
},
|
|
5741
5855
|
{
|
|
@@ -3148,6 +3148,16 @@
|
|
|
3148
3148
|
"packageExport": "./trust-panel",
|
|
3149
3149
|
"role": "item"
|
|
3150
3150
|
},
|
|
3151
|
+
{
|
|
3152
|
+
"tag": "bd-icon-columns-banner",
|
|
3153
|
+
"packageExport": "./icon-columns-banner",
|
|
3154
|
+
"role": "section"
|
|
3155
|
+
},
|
|
3156
|
+
{
|
|
3157
|
+
"tag": "bd-icon-columns-banner-item",
|
|
3158
|
+
"packageExport": "./icon-columns-banner",
|
|
3159
|
+
"role": "item"
|
|
3160
|
+
},
|
|
3151
3161
|
{
|
|
3152
3162
|
"tag": "bd-process-steps",
|
|
3153
3163
|
"packageExport": "./process-steps",
|