@repobit/dex-system-design 4.5.0 → 5.0.1

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/src/components/icons/arrow-back.d.ts +1 -0
  3. package/dist/src/components/icons/arrow-back.js +6 -0
  4. package/dist/src/components/icons/arrow-back.js.map +1 -0
  5. package/dist/src/components/icons/icons.d.ts +1 -0
  6. package/dist/src/components/icons/icons.js +1 -1
  7. package/dist/src/components/pricing-card/pricing-card.css.d.ts +1 -0
  8. package/dist/src/components/pricing-card/pricing-card.css.js +1 -1
  9. package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -1
  10. package/dist/src/components/pricing-card/pricing-card.d.ts +65 -49
  11. package/dist/src/components/pricing-card/pricing-card.js +7 -9
  12. package/dist/src/components/pricing-card/pricing-card.js.map +1 -1
  13. package/dist/src/components/pricing-card/pricing-feature-group.css.js +1 -1
  14. package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -1
  15. package/dist/src/components/pricing-card/pricing-feature-group.d.ts +7 -1
  16. package/dist/src/components/pricing-card/pricing-feature-group.js +5 -2
  17. package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -1
  18. package/dist/src/components/pricing-card/pricing-feature.css.js +1 -1
  19. package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -1
  20. package/dist/src/components/pricing-card/pricing-price.css.js +1 -1
  21. package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -1
  22. package/dist/src/components/pricing-card/pricing-price.d.ts +31 -2
  23. package/dist/src/components/pricing-card/pricing-price.js +3 -3
  24. package/dist/src/components/pricing-card/pricing-price.js.map +1 -1
  25. package/dist/src/components/shared/prop-vocabulary.js +1 -1
  26. package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
  27. package/dist/src/loader/registry.js +1 -1
  28. package/dist/src/loader/registry.js.map +1 -1
  29. package/package.json +2 -2
  30. package/schemas/component-manifest.json +98 -97
  31. package/schemas/figma-component-map.json +5 -10
  32. package/dist/src/components/pricing-card/pricing-group.css.d.ts +0 -3
  33. package/dist/src/components/pricing-card/pricing-group.css.js +0 -2
  34. package/dist/src/components/pricing-card/pricing-group.css.js.map +0 -1
  35. package/dist/src/components/pricing-card/pricing-group.d.ts +0 -48
  36. package/dist/src/components/pricing-card/pricing-group.js +0 -6
  37. package/dist/src/components/pricing-card/pricing-group.js.map +0 -1
@@ -1,16 +1,20 @@
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 "../badge/badge.js";
5
5
  import "../link/link.js";
6
6
  type Part = "" | "full" | "discount" | "period" | "caption";
7
+ export declare const PRICE_APPEARANCES: readonly ["card", "hero"];
8
+ export type PriceAppearance = typeof PRICE_APPEARANCES[number];
9
+ export declare const PRICE_SIZES: readonly ["md", "lg"];
10
+ export type PriceSize = typeof PRICE_SIZES[number];
7
11
  /**
8
12
  * A pricing card's price zone: the struck full price and the discount, the
9
13
  * price itself with its billing unit, and the line under it.
10
14
  *
11
15
  * <bd-pricing-price slot="price">
12
16
  * <s slot="full" data-store-render data-store-price="full" data-store-hide="!it.option.price.discounted"></s>
13
- * <bd-badge slot="discount" variant="success" appearance="shade" data-store-hide="!it.option.price.discounted">
17
+ * <bd-badge slot="discount" data-store-hide="!it.option.price.discounted">
14
18
  * Save <span data-store-render data-store-discount="percentage"></span>
15
19
  * </bd-badge>
16
20
  * <span data-store-render data-store-price="discounted||full"></span>
@@ -42,10 +46,35 @@ type Part = "" | "full" | "discount" | "period" | "caption";
42
46
  * page's. The monthly and yearly prices of a billing toggle are two of these,
43
47
  * one in each panel of a bd-tab-group the page writes into the card's price
44
48
  * slot.
49
+ *
50
+ * TWO LOOKS, ONE ZONE. `appearance` says where the zone stands: `card` (the
51
+ * default) in a pricing card, `hero` in a hero banner. They differ in the
52
+ * discount pill only, and the zone owns it. A row of cards sets several
53
+ * pills side by side, and a solid green one in each turns the row into a
54
+ * Christmas tree, so a card's pill is the success shade; a hero states one
55
+ * price, and its pill is the solid success fill at the large size, as
56
+ * bd-product-hero draws its own.
57
+ *
58
+ * `size` is how big a card's pill is: `md` (the default), 3.x v1's, or
59
+ * `lg`, bd-pricing-card's, as Figma's Badge tone=success size=lg draws it
60
+ * (8/12 padding, 14px words). A hero's pill is large whatever it says.
61
+ *
62
+ * The zone hands the look to each bd-badge the page slots into `discount` --
63
+ * variant, appearance and size, attributes the badge observes anyway
64
+ * (CLAUDE.md, Parent to child) -- on every slotchange and every change of
65
+ * `appearance` or `size`, so the page writes a bare
66
+ * `<bd-badge slot="discount">` and one zone cannot draw two looks.
45
67
  */
46
68
  export declare class BdPricingPrice extends LitElement {
47
69
  static styles: import("lit").CSSResult[];
70
+ /** Where the zone stands: card (the discount in the success shade) or hero (the solid success fill, large). Reflected. */
71
+ appearance: PriceAppearance;
72
+ /** How big a card's discount pill is: md (3.x v1's) or lg (bd-pricing-card's). A hero's is always lg. Reflected. */
73
+ size: PriceSize;
48
74
  _slots: SlotController<Part>;
75
+ willUpdate(changed: PropertyValues<this>): void;
76
+ updated(changed: PropertyValues<this>): void;
77
+ private _pushDiscountLook;
49
78
  render(): import("lit-html").TemplateResult<1>;
50
79
  }
51
80
  declare global {
@@ -1,11 +1,11 @@
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"../link/link.js";import"../badge/badge.js";import r from"./pricing-price.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:[`full`,`discount`,``,`period`,`caption`]})}static{this.styles=[r]}render(){let e=e=>this._slots.has(e);return a`
1
+ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{SlotController as r}from"../shared/controller.slot.js";import"../link/link.js";import"../badge/badge.js";import i from"./pricing-price.css.js";import{LitElement as a,html as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`card`,`hero`],l=[`md`,`lg`],u=(e,t)=>e===`hero`?{appearance:`fill`,size:`lg`}:{appearance:`shade`,size:t},d=class extends a{constructor(...e){super(...e),this.appearance=`card`,this.size=`md`,this._slots=new r(this,{slots:[`full`,`discount`,``,`period`,`caption`]})}static{this.styles=[i]}willUpdate(e){e.has(`appearance`)&&!t(c,this.appearance)&&(this.appearance=`card`),e.has(`size`)&&!t(l,this.size)&&(this.size=`md`)}updated(e){(e.has(`appearance`)||e.has(`size`))&&this._pushDiscountLook()}_pushDiscountLook(){let e=u(this.appearance,this.size);for(let t of this.querySelectorAll(`:scope > bd-badge[slot="discount"]`))t.setAttribute(`variant`,`success`),t.setAttribute(`appearance`,e.appearance),t.setAttribute(`size`,e.size)}render(){let e=e=>this._slots.has(e);return o`
2
2
  <div class="zone">
3
3
  <div class="reference" ?hidden=${!e(`full`)&&!e(`discount`)}>
4
4
  <span class="full" ?hidden=${!e(`full`)}><slot name="full"></slot></span>
5
- <span class="discount" ?hidden=${!e(`discount`)}><slot name="discount"></slot></span>
5
+ <span class="discount" ?hidden=${!e(`discount`)}><slot name="discount" @slotchange=${this._pushDiscountLook}></slot></span>
6
6
  </div>
7
7
  <p class="amount" ?hidden=${!e(``)&&!e(`period`)}><slot></slot><span class="period"><slot name="period"></slot></span></p>
8
8
  <div class="caption" ?hidden=${!e(`caption`)}><slot name="caption"></slot></div>
9
9
  </div>
10
- `}};o=t([e(`bd-pricing-price`)],o);export{o as BdPricingPrice};
10
+ `}};n([s({type:String,reflect:!0})],d.prototype,`appearance`,void 0),n([s({type:String,reflect:!0})],d.prototype,`size`,void 0),d=n([e(`bd-pricing-price`)],d);export{d as BdPricingPrice,c as PRICE_APPEARANCES,l as PRICE_SIZES};
11
11
  //# sourceMappingURL=pricing-price.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pricing-price.js","names":["priceCSS","_decorate","__decorate","pricing_price_css_default","BdPricingPrice","LitElement","_args","SlotController","has","part","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-price.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\";\n/* The atoms the page writes into the slots: the discount's bd-badge and the\n caption's terms bd-link. */\nimport \"#components/badge/badge.ts\";\nimport \"#components/link/link.ts\";\nimport priceCSS from \"./pricing-price.css.ts\";\n\ntype Part = \"\" | \"full\" | \"discount\" | \"period\" | \"caption\";\n\n/**\n * A pricing card's price zone: the struck full price and the discount, the\n * price itself with its billing unit, and the line under it.\n *\n * <bd-pricing-price slot=\"price\">\n * <s slot=\"full\" data-store-render data-store-price=\"full\" data-store-hide=\"!it.option.price.discounted\"></s>\n * <bd-badge slot=\"discount\" variant=\"success\" appearance=\"shade\" data-store-hide=\"!it.option.price.discounted\">\n * Save <span data-store-render data-store-discount=\"percentage\"></span>\n * </bd-badge>\n * <span data-store-render data-store-price=\"discounted||full\"></span>\n * <span slot=\"period\">/year</span>\n * <span slot=\"caption\">First year price. Plus applicable sales tax. See <bd-link href=\"#terms\" inline underline>terms of use</bd-link> below.</span>\n * </bd-pricing-price>\n *\n * EVERY NODE THE STORE FILLS IS THE PAGE'S. 3.x's v1 card rendered this zone\n * itself, into the light DOM so the store and anything reading the page\n * found it, and v2's pricing-card-pricing did the same inside a\n * bd-context/bd-product/bd-option of its own. Here the page writes each\n * node, with its data-store-* attributes, inside the bd-product and\n * bd-option it wraps the card in; @repobit/dex-store-elements finds them in\n * the document, and each node's request for the store's scope bubbles from\n * the page's node, through this element's slot and the card's, to that\n * bd-option. Nothing store-bound is in a shadow root, so neither element\n * needs the store's `shadow` opt-in.\n *\n * 3.x hid the full price and the discount together, on their row, with\n * data-store-hide=\"!it.option.price.discounted\"; the page writes it on both\n * nodes now. The store hides a node with display: none, and the 16 under the\n * row is the nodes' own margin, so a price with no discount closes the row\n * up as 3.x's did.\n *\n * 3.x's type, at 3.x's roles: the full price at body-small, the price and\n * its unit at heading-h3 (it is a figure the card states, not a heading of\n * anything, so it is a paragraph), the caption at body-small in 80% of the\n * card. The words -- \"Save\", \"/year\", \"First year price…\" -- are the\n * page's. The monthly and yearly prices of a billing toggle are two of these,\n * one in each panel of a bd-tab-group the page writes into the card's price\n * slot.\n */\n@defineElement(\"bd-pricing-price\")\nexport class BdPricingPrice extends LitElement {\n static styles = [priceCSS];\n\n _slots = new SlotController<Part>(this, { slots: [\"full\", \"discount\", \"\", \"period\", \"caption\"] });\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n return html`\n <div class=\"zone\">\n <div class=\"reference\" ?hidden=${!has(\"full\") && !has(\"discount\")}>\n <span class=\"full\" ?hidden=${!has(\"full\")}><slot name=\"full\"></slot></span>\n <span class=\"discount\" ?hidden=${!has(\"discount\")}><slot name=\"discount\"></slot></span>\n </div>\n <p class=\"amount\" ?hidden=${!has(\"\") && !has(\"period\")}><slot></slot><span class=\"period\"><slot name=\"period\"></slot></span></p>\n <div class=\"caption\" ?hidden=${!has(\"caption\")}><slot name=\"caption\"></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-price\": BdPricingPrice;\n }\n}\n"],"mappings":"A,sWAqDO,IAAMI,EAAN,cAA6BC,CAAW,C,8BAGpC,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,OAAQ,WAAY,GAAI,SAAU,SAAS,CAAE,CAAC,C,QAFhF,KAAA,OAAA,CAACP,CAAQ,C,CAIzB,QAAS,CACP,IAAMQ,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAChD,MAAO,EAAI;;yCAE0B,CAACD,EAAI,MAAM,GAAK,CAACA,EAAI,UAAU,EAAE;uCACnC,CAACA,EAAI,MAAM,EAAE;2CACT,CAACA,EAAI,UAAU,EAAE;;oCAExB,CAACA,EAAI,EAAE,GAAK,CAACA,EAAI,QAAQ,EAAE;uCACxB,CAACA,EAAI,SAAS,EAAE;;KAGrD,CACF,EAnBC,EAAAP,EAAA,CAAAS,EAAc,kBAAkB,CAAA,EAAAN,CAAA,E"}
1
+ {"version":3,"file":"pricing-price.js","names":["priceCSS","_decorate","__decorate","pricing_price_css_default","PRICE_APPEARANCES","PRICE_SIZES","discountLook","appearance","BdPricingPrice","LitElement","_args","SlotController","changed","isOneOf","look","badge","has","part","property","defineElement"],"sources":["../../../../src/components/pricing-card/pricing-price.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\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\";\n/* The atoms the page writes into the slots: the discount's bd-badge and the\n caption's terms bd-link. */\nimport \"#components/badge/badge.ts\";\nimport \"#components/link/link.ts\";\nimport priceCSS from \"./pricing-price.css.ts\";\n\ntype Part = \"\" | \"full\" | \"discount\" | \"period\" | \"caption\";\n\n/* Where the zone stands, which decides the discount's look. */\nexport const PRICE_APPEARANCES = [\"card\", \"hero\"] as const;\nexport type PriceAppearance = typeof PRICE_APPEARANCES[number];\n\n/* How big the discount pill is in a card: md, 3.x v1's, or lg, bd-pricing-card's. */\nexport const PRICE_SIZES = [\"md\", \"lg\"] as const;\nexport type PriceSize = typeof PRICE_SIZES[number];\n\n/* The discount bd-badge each appearance draws, always the success meaning:\n the shade wash in a card, at the zone's size, and the solid fill in a hero,\n always large (bd-product-hero's own discount badge). */\nconst discountLook = (appearance: PriceAppearance, size: PriceSize) =>\n appearance === \"hero\" ? { appearance: \"fill\", size: \"lg\" } : { appearance: \"shade\", size };\n\n/**\n * A pricing card's price zone: the struck full price and the discount, the\n * price itself with its billing unit, and the line under it.\n *\n * <bd-pricing-price slot=\"price\">\n * <s slot=\"full\" data-store-render data-store-price=\"full\" data-store-hide=\"!it.option.price.discounted\"></s>\n * <bd-badge slot=\"discount\" data-store-hide=\"!it.option.price.discounted\">\n * Save <span data-store-render data-store-discount=\"percentage\"></span>\n * </bd-badge>\n * <span data-store-render data-store-price=\"discounted||full\"></span>\n * <span slot=\"period\">/year</span>\n * <span slot=\"caption\">First year price. Plus applicable sales tax. See <bd-link href=\"#terms\" inline underline>terms of use</bd-link> below.</span>\n * </bd-pricing-price>\n *\n * EVERY NODE THE STORE FILLS IS THE PAGE'S. 3.x's v1 card rendered this zone\n * itself, into the light DOM so the store and anything reading the page\n * found it, and v2's pricing-card-pricing did the same inside a\n * bd-context/bd-product/bd-option of its own. Here the page writes each\n * node, with its data-store-* attributes, inside the bd-product and\n * bd-option it wraps the card in; @repobit/dex-store-elements finds them in\n * the document, and each node's request for the store's scope bubbles from\n * the page's node, through this element's slot and the card's, to that\n * bd-option. Nothing store-bound is in a shadow root, so neither element\n * needs the store's `shadow` opt-in.\n *\n * 3.x hid the full price and the discount together, on their row, with\n * data-store-hide=\"!it.option.price.discounted\"; the page writes it on both\n * nodes now. The store hides a node with display: none, and the 16 under the\n * row is the nodes' own margin, so a price with no discount closes the row\n * up as 3.x's did.\n *\n * 3.x's type, at 3.x's roles: the full price at body-small, the price and\n * its unit at heading-h3 (it is a figure the card states, not a heading of\n * anything, so it is a paragraph), the caption at body-small in 80% of the\n * card. The words -- \"Save\", \"/year\", \"First year price…\" -- are the\n * page's. The monthly and yearly prices of a billing toggle are two of these,\n * one in each panel of a bd-tab-group the page writes into the card's price\n * slot.\n *\n * TWO LOOKS, ONE ZONE. `appearance` says where the zone stands: `card` (the\n * default) in a pricing card, `hero` in a hero banner. They differ in the\n * discount pill only, and the zone owns it. A row of cards sets several\n * pills side by side, and a solid green one in each turns the row into a\n * Christmas tree, so a card's pill is the success shade; a hero states one\n * price, and its pill is the solid success fill at the large size, as\n * bd-product-hero draws its own.\n *\n * `size` is how big a card's pill is: `md` (the default), 3.x v1's, or\n * `lg`, bd-pricing-card's, as Figma's Badge tone=success size=lg draws it\n * (8/12 padding, 14px words). A hero's pill is large whatever it says.\n *\n * The zone hands the look to each bd-badge the page slots into `discount` --\n * variant, appearance and size, attributes the badge observes anyway\n * (CLAUDE.md, Parent to child) -- on every slotchange and every change of\n * `appearance` or `size`, so the page writes a bare\n * `<bd-badge slot=\"discount\">` and one zone cannot draw two looks.\n */\n@defineElement(\"bd-pricing-price\")\nexport class BdPricingPrice extends LitElement {\n static styles = [priceCSS];\n\n /** Where the zone stands: card (the discount in the success shade) or hero (the solid success fill, large). Reflected. */\n @property({ type: String, reflect: true })\n appearance: PriceAppearance = \"card\";\n\n /** How big a card's discount pill is: md (3.x v1's) or lg (bd-pricing-card's). A hero's is always lg. Reflected. */\n @property({ type: String, reflect: true })\n size: PriceSize = \"md\";\n\n _slots = new SlotController<Part>(this, { slots: [\"full\", \"discount\", \"\", \"period\", \"caption\"] });\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\") && !isOneOf(PRICE_APPEARANCES, this.appearance)) this.appearance = \"card\";\n if (changed.has(\"size\") && !isOneOf(PRICE_SIZES, this.size)) this.size = \"md\";\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\") || changed.has(\"size\")) this._pushDiscountLook();\n }\n\n /* The discount's look, onto each bd-badge the page slotted into\n `discount`; its words and data-store-* attributes stay the page's. */\n private _pushDiscountLook() {\n const look = discountLook(this.appearance, this.size);\n for (const badge of this.querySelectorAll(':scope > bd-badge[slot=\"discount\"]')) {\n badge.setAttribute(\"variant\", \"success\");\n badge.setAttribute(\"appearance\", look.appearance);\n badge.setAttribute(\"size\", look.size);\n }\n }\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n return html`\n <div class=\"zone\">\n <div class=\"reference\" ?hidden=${!has(\"full\") && !has(\"discount\")}>\n <span class=\"full\" ?hidden=${!has(\"full\")}><slot name=\"full\"></slot></span>\n <span class=\"discount\" ?hidden=${!has(\"discount\")}><slot name=\"discount\" @slotchange=${this._pushDiscountLook}></slot></span>\n </div>\n <p class=\"amount\" ?hidden=${!has(\"\") && !has(\"period\")}><slot></slot><span class=\"period\"><slot name=\"period\"></slot></span></p>\n <div class=\"caption\" ?hidden=${!has(\"caption\")}><slot name=\"caption\"></slot></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-pricing-price\": BdPricingPrice;\n }\n}\n"],"mappings":"A,0cAgBA,IAAaI,EAAoB,CAAC,OAAQ,MAAM,EAInCC,EAAc,CAAC,KAAM,IAAI,EAMhCC,GAAgB,EAA6B,IACjDC,IAAe,OAAS,CAAE,WAAY,OAAQ,KAAM,IAAK,EAAI,CAAE,WAAY,QAAS,MAAK,EA4D9EC,EAAN,cAA6BC,CAAW,C,8BAKf,KAAA,WAAA,OAIZ,KAAA,KAAA,KAET,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,OAAQ,WAAY,GAAI,SAAU,SAAS,CAAE,CAAC,C,QAVhF,KAAA,OAAA,CAACX,CAAQ,C,CAYzB,WAAW,EAA+B,CACpCY,EAAQ,IAAI,YAAY,GAAK,CAACC,EAAQT,EAAmB,KAAK,UAAU,IAAG,KAAK,WAAa,QAC7FQ,EAAQ,IAAI,MAAM,GAAK,CAACC,EAAQR,EAAa,KAAK,IAAI,IAAG,KAAK,KAAO,KAC3E,CAEA,QAAQ,EAA+B,EACjCO,EAAQ,IAAI,YAAY,GAAKA,EAAQ,IAAI,MAAM,IAAG,KAAK,kBAAkB,CAC/E,CAIA,mBAA4B,CAC1B,IAAME,EAAOR,EAAa,KAAK,WAAY,KAAK,IAAI,EACpD,IAAK,IAAMS,KAAS,KAAK,iBAAiB,oCAAoC,EAC5EA,EAAM,aAAa,UAAW,SAAS,EACvCA,EAAM,aAAa,aAAcD,EAAK,UAAU,EAChDC,EAAM,aAAa,OAAQD,EAAK,IAAI,CAExC,CAEA,QAAS,CACP,IAAME,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAChD,MAAO,EAAI;;yCAE0B,CAACD,EAAI,MAAM,GAAK,CAACA,EAAI,UAAU,EAAE;uCACnC,CAACA,EAAI,MAAM,EAAE;2CACT,CAACA,EAAI,UAAU,EAAE,qCAAqC,KAAK,kBAAkB;;oCAEpF,CAACA,EAAI,EAAE,GAAK,CAACA,EAAI,QAAQ,EAAE;uCACxB,CAACA,EAAI,SAAS,EAAE;;KAGrD,CACF,EA1CGf,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,aAAA,IAAA,EAAA,EAIxCP,EAAA,CAAAiB,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAT1C,EAAAP,EAAA,CAAAkB,EAAc,kBAAkB,CAAA,EAAAX,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-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};
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 recommended card's tab standing on its top edge ("Recommended"), drawn only with \`highlight\`; no word of the vocabulary names a label placed over a card's edge`,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-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,2MAC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"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 recommended card\\'s tab standing on its top edge (\"Recommended\"), drawn only with `highlight`; no word of the vocabulary names a label placed over a card\\'s edge',\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,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 +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-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};
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-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-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,CAA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AC,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-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,gC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dex-system-design",
3
- "version": "4.5.0",
3
+ "version": "5.0.1",
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",
@@ -494,5 +494,5 @@
494
494
  "volta": {
495
495
  "node": "24.22.1"
496
496
  },
497
- "gitHead": "70d7e5c0f157a3d79460f88ee078c279f4970da2"
497
+ "gitHead": "beae7d9e676bd3c80e48c438f319a5b2ae751d34"
498
498
  }