@repobit/dex-system-design 5.0.0 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,21 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.0.2](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@5.0.1...@repobit/dex-system-design@5.0.2) (2026-11-26)
7
+
8
+ **Note:** Version bump only for package @repobit/dex-system-design
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.0.1](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@5.0.0...@repobit/dex-system-design@5.0.1) (2026-11-26)
15
+
16
+ ### Bug Fixes
17
+
18
+ * **DEX-1000:** align bd-pricing-card with the Figma card, add two- and three-card stories
19
+
20
+
6
21
  ## [5.0.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@4.5.0...@repobit/dex-system-design@5.0.0) (2026-11-25)
7
22
 
8
23
  ### ⚠ BREAKING CHANGES
@@ -1,2 +1,2 @@
1
- import"../shared/token-scales.js";import"../shared/fill-width.css.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);grid-template-rows:repeat(7,auto) 1fr;width:100%;display:grid}@supports (width:-moz-available){:host{width:-moz-available}}@supports (width:-webkit-fill-available){:host{width:-webkit-fill-available}}@supports (width:stretch){:host{width:-webkit-fill-available;width:-moz-available;width:stretch}}:host([hidden]){display:none}.card{grid-row:1/-1;grid-template-rows:subgrid;box-sizing:border-box;background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--card-radius);padding:var(--card-padding-compact);text-align:start;--bd-ensemble-max-width:none;--bd-ensemble-inline-padding:0;grid-template-columns:minmax(0,1fr);row-gap:0;display:grid;position:relative}:host([highlight]) .card{border-color:var(--color-border-brand);outline:var(--border-width-1) solid var(--color-border-brand)}.card [hidden]{display:none}.banner{padding:var(--spacing-4) var(--spacing-16);background:var(--status-brand-fill);color:var(--status-brand-on-fill);white-space:nowrap;font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-fontWeight-bold);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);z-index:var(--z-base);border-start-start-radius:var(--shape-radius-md);border-start-end-radius:var(--shape-radius-md);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.badge{align-items:flex-start;gap:var(--spacing-8);margin-bottom:var(--spacing-16);flex-wrap:wrap;grid-row:1;display:flex}.title{margin-bottom:var(--spacing-8);grid-row:2}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h5-fontSize);--bd-heading-font-weight:var(--typography-fontWeight-bold);--bd-heading-line-height:var(--typography-heading-h5-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h5-letterSpacing);--bd-heading-font-family:var(--typography-heading-h5-fontFamily);--bd-heading-color:var(--color-text-primary);margin:0}.description{gap:var(--spacing-16);font-size:var(--typography-body-regular-fontSize);font-weight:var(--typography-body-regular-fontWeight);line-height:var(--typography-body-regular-lineHeight);letter-spacing:var(--typography-body-regular-letterSpacing);font-family:var(--typography-body-regular-fontFamily);color:var(--color-text-primary);flex-direction:column;grid-row:3;display:flex}::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-regular-fontSize);--bd-paragraph-font-weight:var(--typography-body-regular-fontWeight);--bd-paragraph-line-height:var(--typography-body-regular-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-regular-letterSpacing);--bd-heading-color:var(--color-text-primary);--bd-paragraph-color:var(--color-text-primary);--bd-paragraph-margin-bottom:0}.rule{margin-block:var(--spacing-16);grid-row:4}.price{margin-bottom:var(--spacing-24);--bd-pricing-price-full-font-size:var(--typography-label-large-fontSize);--bd-pricing-price-full-font-weight:var(--typography-label-large-fontWeight);--bd-pricing-price-full-line-height:var(--typography-label-large-lineHeight);--bd-pricing-price-full-letter-spacing:var(--typography-label-large-letterSpacing);--bd-pricing-price-amount-font-weight:var(--typography-fontWeight-bold);--bd-pricing-price-reference-gap:0;--bd-pricing-price-reference-direction-narrow:row;--bd-pricing-price-reference-spacing-narrow:var(--spacing-8);--bd-pricing-price-caption-gap:0;grid-row:5}.actions{gap:var(--spacing-8);flex-direction:column;grid-row:6;display:flex}.caption{margin-top:var(--spacing-8);font-size:var(--typography-caption-default-fontSize);font-weight:var(--typography-caption-default-fontWeight);line-height:var(--typography-caption-default-lineHeight);letter-spacing:var(--typography-caption-default-letterSpacing);font-family:var(--typography-caption-default-fontFamily);color:var(--color-text-primary);grid-row:7}.features{gap:var(--spacing-24);margin-top:var(--spacing-24);--bd-pricing-feature-group-inset:0;--bd-pricing-feature-group-title-gap:var(--spacing-8);--bd-pricing-feature-group-list-gap:var(--spacing-8);--bd-pricing-feature-group-title-font-size:var(--typography-heading-h6-fontSize);--bd-pricing-feature-group-title-font-weight:var(--typography-fontWeight-bold);--bd-pricing-feature-group-title-line-height:var(--typography-heading-h6-lineHeight);--bd-pricing-feature-row-gap:var(--spacing-12);--bd-pricing-feature-name-gap:0;--bd-pricing-feature-font-size:var(--typography-body-small-fontSize);--bd-pricing-feature-font-weight:var(--typography-body-small-fontWeight);--bd-pricing-feature-line-height:var(--typography-body-small-lineHeight);flex-direction:column;grid-row:8;display:flex}`,n=e`bd-pricing-card>:is(bd-h,bd-display)[slot=title] em{color:var(--color-text-brand);font-style:normal}:where(bd-grid[item-rows]) :is(bd-context,bd-product,bd-option):has(bd-pricing-card):not(bd-pricing-card *):not(bd-grid>*),:where(bd-grid[item-rows]) :is(bd-context,bd-product,bd-option)>bd-pricing-card{grid-row:1/-1;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:0;display:grid}:where(bd-grid:not([item-rows])) :is(bd-context,bd-product,bd-option):has(bd-pricing-card):not(bd-pricing-card *){display:contents}`;export{t as default,n as pageCSS};
1
+ import"../shared/token-scales.js";import"../shared/fill-width.css.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);grid-template-rows:repeat(7,auto) 1fr;width:100%;display:grid}@supports (width:-moz-available){:host{width:-moz-available}}@supports (width:-webkit-fill-available){:host{width:-webkit-fill-available}}@supports (width:stretch){:host{width:-webkit-fill-available;width:-moz-available;width:stretch}}:host([hidden]){display:none}.card{grid-row:1/-1;grid-template-rows:subgrid;box-sizing:border-box;background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--card-radius);padding:var(--card-padding-compact);text-align:start;--bd-ensemble-max-width:none;--bd-ensemble-inline-padding:0;grid-template-columns:minmax(0,1fr);row-gap:0;display:grid;position:relative}:host([highlight]) .card{border:var(--border-width-2) solid var(--color-border-brand)}.card [hidden]{display:none}.banner{padding:var(--spacing-4) var(--spacing-16);background:var(--status-brand-fill);color:var(--status-brand-on-fill);white-space:nowrap;font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-fontWeight-bold);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);z-index:var(--z-base);border-start-start-radius:var(--shape-radius-md);border-start-end-radius:var(--shape-radius-md);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.badge{align-items:flex-start;gap:var(--spacing-8);margin-bottom:var(--spacing-16);flex-wrap:wrap;grid-row:1;display:flex}.title{margin-bottom:var(--spacing-8);grid-row:2}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h5-fontSize);--bd-heading-font-weight:var(--typography-fontWeight-bold);--bd-heading-line-height:var(--typography-heading-h5-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h5-letterSpacing);--bd-heading-font-family:var(--typography-heading-h5-fontFamily);--bd-heading-color:var(--color-text-primary);margin:0}.description{gap:var(--spacing-16);font-size:var(--typography-body-regular-fontSize);font-weight:var(--typography-body-regular-fontWeight);line-height:var(--typography-body-regular-lineHeight);letter-spacing:var(--typography-body-regular-letterSpacing);font-family:var(--typography-body-regular-fontFamily);color:var(--color-text-primary);flex-direction:column;grid-row:3;display:flex}::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-regular-fontSize);--bd-paragraph-font-weight:var(--typography-body-regular-fontWeight);--bd-paragraph-line-height:var(--typography-body-regular-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-regular-letterSpacing);--bd-heading-color:var(--color-text-primary);--bd-paragraph-color:var(--color-text-primary);--bd-paragraph-margin-bottom:0}.rule{margin-block:var(--spacing-24);grid-row:4}.price{margin-bottom:var(--spacing-24);--bd-pricing-price-full-font-size:var(--typography-label-large-fontSize);--bd-pricing-price-full-font-weight:var(--typography-label-large-fontWeight);--bd-pricing-price-full-line-height:var(--typography-label-large-lineHeight);--bd-pricing-price-full-letter-spacing:var(--typography-label-large-letterSpacing);--bd-pricing-price-amount-font-weight:var(--typography-fontWeight-bold);--bd-pricing-price-reference-gap:0;--bd-pricing-price-reference-direction-narrow:row;--bd-pricing-price-reference-spacing-narrow:var(--spacing-8);--bd-pricing-price-caption-gap:0;--bd-pricing-price-caption-max-width:none;grid-row:5}.actions{gap:var(--spacing-8);flex-direction:column;grid-row:6;display:flex}.caption{margin-top:var(--spacing-8);font-size:var(--typography-caption-default-fontSize);font-weight:var(--typography-caption-default-fontWeight);line-height:var(--typography-caption-default-lineHeight);letter-spacing:var(--typography-caption-default-letterSpacing);font-family:var(--typography-caption-default-fontFamily);color:var(--color-text-primary);grid-row:7}.features{gap:var(--spacing-24);margin-top:var(--spacing-24);--bd-pricing-feature-group-inset:0;--bd-pricing-feature-group-title-gap:var(--spacing-8);--bd-pricing-feature-group-list-gap:var(--spacing-8);--bd-pricing-feature-group-title-font-size:var(--typography-heading-h6-fontSize);--bd-pricing-feature-group-title-font-weight:var(--typography-fontWeight-bold);--bd-pricing-feature-group-title-line-height:var(--typography-heading-h6-lineHeight);--bd-pricing-feature-row-gap:var(--spacing-12);--bd-pricing-feature-name-gap:0;--bd-pricing-feature-font-size:var(--typography-body-small-fontSize);--bd-pricing-feature-font-weight:var(--typography-body-small-fontWeight);--bd-pricing-feature-line-height:var(--typography-body-small-lineHeight);flex-direction:column;grid-row:8;display:flex}`,n=e`bd-pricing-card>:is(bd-h,bd-display)[slot=title] em{color:var(--color-text-brand);font-style:normal}:where(bd-grid[item-rows]) :is(bd-context,bd-product,bd-option):has(bd-pricing-card):not(bd-pricing-card *):not(bd-grid>*),:where(bd-grid[item-rows]) :is(bd-context,bd-product,bd-option)>bd-pricing-card{grid-row:1/-1;grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:0;display:grid}:where(bd-grid:not([item-rows])) :is(bd-context,bd-product,bd-option):has(bd-pricing-card):not(bd-pricing-card *){display:contents}`;export{t as default,n as pageCSS};
2
2
  //# sourceMappingURL=pricing-card.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pricing-card.css.js","names":["pricing_card_css_default","pageCSS"],"sources":["../../../../src/components/pricing-card/pricing-card.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\nimport { hostFillsWidth } from \"#shared/fill-width.css.ts\";\n\n/* bd-pricing-card: the pricing card's second version. Its price zone is\n bd-pricing-price's and its features bd-pricing-feature-group's and\n bd-pricing-feature's, set in this card's scale through their hooks; the\n row it lines up in is bd-grid's, with item-rows=\"8\".\n\n EIGHT ROWS, ONE PER PART: badge, title, description, the rule, price,\n actions, caption, features. The host is a grid of its own eight, and the\n card a subgrid of them; in a bd-grid with item-rows=\"8\" the host is in turn\n a subgrid of the grid's rows (grid.css.ts), so the parts of a row of cards\n line up however differently each one's words wrap. Each part names its\n row, so a part a card leaves out leaves its row empty rather than pulling\n the parts under it up a row. The parts are spaced by margins rather than\n the row gap, so an empty row in one card takes no room of its own. */\nexport default css`\n /* bd-grid places its items at start, so the host asks for its column's\n whole width rather than its content's (shared/fill-width.css.ts). The\n last row, the features, takes what the row of cards leaves. */\n :host {\n display: grid;\n grid-template-rows: repeat(7, auto) 1fr;\n font-family: var(--typography-fontFamily-sans);\n }\n\n ${hostFillsWidth()}\n\n :host([hidden]) {\n display: none;\n }\n\n /* White with the border/container edge: the cards of a row are a\n comparison set, which the tonal step alone does not sharpen (CLAUDE.md,\n A card's ground and its edge), on the page and on a tint alike. The card\n corner and the compact inset. A page column met inside the card -- a\n billing bd-tab-group in the price slot -- draws none. */\n .card {\n position: relative;\n display: grid;\n grid-row: 1 / -1;\n grid-template-rows: subgrid;\n grid-template-columns: minmax(0, 1fr);\n row-gap: 0;\n box-sizing: border-box;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--card-radius);\n padding: var(--card-padding-compact);\n text-align: start;\n --bd-ensemble-max-width: none;\n --bd-ensemble-inline-padding: 0;\n }\n\n /* The recommended plan's edge, two wide: the border takes the brand and an\n outline doubles it outside, so the card's content box stays where its\n neighbours' is and the rows still line up to the pixel. */\n :host([highlight]) .card {\n border-color: var(--color-border-brand);\n outline: var(--border-width-1) solid var(--color-border-brand);\n }\n\n /* Each part's box is hidden while its slot is empty; the attribute's\n selector outweighs the display a box sets below. */\n .card [hidden] {\n display: none;\n }\n\n /* The recommended plan's tab, standing on the card's top edge, centred:\n the brand fill and its ink, its top corners rounded: Figma's\n Recommended ribbon, 4/16 padding at radius/md, its words 14/700/145%. Out of the rows -- absolutely placed -- so a highlighted card's\n parts sit where its neighbours' do. */\n .banner {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n padding: var(--spacing-4) var(--spacing-16);\n background: var(--status-brand-fill);\n color: var(--status-brand-on-fill);\n border-start-start-radius: var(--shape-radius-md);\n border-start-end-radius: var(--shape-radius-md);\n white-space: nowrap;\n font-size: var(--typography-body-small-fontSize);\n /* no role: the body-small role at 700, as Figma's ribbon sets it (IBM\n Plex Sans Bold, font-size/sm, 145%); no role carries 14px at that\n weight. */\n font-weight: var(--typography-fontWeight-bold);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n z-index: var(--z-base);\n }\n\n /* The plan's badge (\"Device Protection\"), 16 over the title. */\n .badge {\n grid-row: 1;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n gap: var(--spacing-8);\n margin-bottom: var(--spacing-16);\n }\n\n /* The plan's name, 8 over what it covers. */\n .title {\n grid-row: 2;\n margin-bottom: var(--spacing-8);\n }\n\n /* The heading-h5 role in bold, at the level the page picks. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h5\"))}\n /* no role: the h5 role at 700, the plan's name as the design draws it;\n no heading role carries the h5 size at that weight (bd-card's title\n is the same pair). */\n --bd-heading-font-weight: var(--typography-fontWeight-bold);\n --bd-heading-color: var(--color-text-primary);\n margin: 0;\n }\n\n /* What the plan covers -- its accounts and devices, then the line on what\n it protects -- one bd-p per paragraph, 16 apart, at body-regular in\n primary ink, Figma's body/regular, set through bd-p's hooks with no flow\n margin: the gap is the spacing here. A <strong> the page writes is its\n own: Figma sets the pitch's first word at 700. The box sets the same\n role, so words slotted bare read alike. */\n .description {\n grid-row: 3;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n font-size: var(--typography-body-regular-fontSize);\n font-weight: var(--typography-body-regular-fontWeight);\n line-height: var(--typography-body-regular-lineHeight);\n letter-spacing: var(--typography-body-regular-letterSpacing);\n font-family: var(--typography-body-regular-fontFamily);\n color: var(--color-text-primary);\n }\n\n ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-regular\"))}\n ${unsafeCSS(ink(\"strong\"))}\n --bd-paragraph-margin-bottom: 0;\n }\n\n /* The rule between what the plan is and what it costs, 16 either side.\n Its row is the one every card's rule shares, so the prices start on one\n line. */\n .rule {\n grid-row: 4;\n margin-block: var(--spacing-16);\n }\n\n /* The price zone in Figma's type, through bd-pricing-price's hooks: the\n struck price is price/was, the label-large role (16, medium, 150%),\n and the price is bold. */\n .price {\n grid-row: 5;\n margin-bottom: var(--spacing-24);\n --bd-pricing-price-full-font-size: var(--typography-label-large-fontSize);\n --bd-pricing-price-full-font-weight: var(--typography-label-large-fontWeight);\n --bd-pricing-price-full-line-height: var(--typography-label-large-lineHeight);\n --bd-pricing-price-full-letter-spacing: var(--typography-label-large-letterSpacing);\n /* no role: the heading-h3 price at 700, bold as Figma draws it; no role\n carries the h3 size at that weight. */\n --bd-pricing-price-amount-font-weight: var(--typography-fontWeight-bold);\n /* The struck price and the discount sit on one line at every width, as\n Figma draws them on a phone too, with nothing under them but the\n price's own leading: the zone's default 16 under each, and its\n stacking below md, spread the zone out on a phone. */\n --bd-pricing-price-reference-gap: 0;\n --bd-pricing-price-reference-direction-narrow: row;\n --bd-pricing-price-reference-spacing-narrow: var(--spacing-8);\n /* The small print sits right under the price, on the price's leading. */\n --bd-pricing-price-caption-gap: 0;\n }\n\n /* The buttons, stacked and as wide as the card, 8 apart. */\n .actions {\n grid-row: 6;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n /* The guarantee under the buttons, in the caption role. */\n .caption {\n grid-row: 7;\n margin-top: var(--spacing-8);\n font-size: var(--typography-caption-default-fontSize);\n font-weight: var(--typography-caption-default-fontWeight);\n line-height: var(--typography-caption-default-lineHeight);\n letter-spacing: var(--typography-caption-default-letterSpacing);\n font-family: var(--typography-caption-default-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The features, 24 under the buttons, in the card's scale: each list's\n heading at heading-h6 in bold, 8 over its first feature and no inset of\n its own, the features at body-small 12 apart. The hooks inherit through\n the slot into bd-pricing-feature-group's and bd-pricing-feature's shadow\n roots; a list 24 under the one before it. */\n .features {\n grid-row: 8;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-24);\n margin-top: var(--spacing-24);\n --bd-pricing-feature-group-inset: 0;\n --bd-pricing-feature-group-title-gap: var(--spacing-8);\n --bd-pricing-feature-group-list-gap: var(--spacing-8);\n --bd-pricing-feature-group-title-font-size: var(--typography-heading-h6-fontSize);\n /* no role: the h6 role at 700, \"Includes:\" as the design draws it; no\n heading role carries the h6 size at that weight. */\n --bd-pricing-feature-group-title-font-weight: var(--typography-fontWeight-bold);\n --bd-pricing-feature-group-title-line-height: var(--typography-heading-h6-lineHeight);\n --bd-pricing-feature-row-gap: var(--spacing-12);\n --bd-pricing-feature-name-gap: 0;\n --bd-pricing-feature-font-size: var(--typography-body-small-fontSize);\n --bd-pricing-feature-font-weight: var(--typography-body-small-fontWeight);\n --bd-pricing-feature-line-height: var(--typography-body-small-lineHeight);\n }\n`;\n\n/* Adopted into the tree the card sits in (adoptStyles, in connectedCallback).\n\n bd-context, bd-product and bd-option set no display of their own: each is\n an inline box with a slot in it, and a card inside them would be the block\n inside an inline, never the grid's item. Only the wrappers around a card\n are touched, none inside one.\n\n IN A bd-grid WITH item-rows the wrapper the grid slots is its item, and\n bd-grid's own ::slotted() rule makes it the subgrid of the grid's rows,\n spaced as any item is; the wrappers inside it and the card are each a\n subgrid of the one around them, spanning all its rows. So the card's parts\n sit in the grid's rows through the chain, and nothing here reads the\n grid's private properties. The wrapper the grid slots is left to that\n rule: a document rule beats a shadow root's ::slotted(), so this one must\n not match it.\n\n IN ANY OTHER bd-grid the wrappers draw no box, and the card is the item.\n\n THE NAME'S ACCENT. A word the page writes in <em> inside the title --\n \"Ultimate Security <em>Plus</em>\" -- is drawn upright in the brand's text\n ink, Figma's text/brand. It is the page's markup, so it is styled where the\n page's markup is, in this document-scope sheet: no rule in the card's or\n bd-h's shadow root reaches a word inside a slotted heading. Nothing is\n parsed out of the words; 3.x found and coloured \"Plus\" itself, and v4\n leaves which word to the page. */\nexport const pageCSS = css`\n bd-pricing-card > :is(bd-h, bd-display)[slot=\"title\"] em {\n font-style: normal;\n color: var(--color-text-brand);\n }\n\n :where(bd-grid[item-rows]) :is(bd-context, bd-product, bd-option):has(bd-pricing-card):not(bd-pricing-card *):not(bd-grid > *),\n :where(bd-grid[item-rows]) :is(bd-context, bd-product, bd-option) > bd-pricing-card {\n display: grid;\n grid-row: 1 / -1;\n grid-template-rows: subgrid;\n grid-template-columns: minmax(0, 1fr);\n row-gap: 0;\n }\n\n :where(bd-grid:not([item-rows])) :is(bd-context, bd-product, bd-option):has(bd-pricing-card):not(bd-pricing-card *) {\n display: contents;\n }\n`;\n"],"mappings":"A,gGAiBA,IAAAA,EAAe,CAAG,6tJA2OLC,EAAU,CAAG,yhB"}
1
+ {"version":3,"file":"pricing-card.css.js","names":["pricing_card_css_default","pageCSS"],"sources":["../../../../src/components/pricing-card/pricing-card.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { bodyRole, headingRole, ink } from \"#shared/token-scales.ts\";\nimport { hostFillsWidth } from \"#shared/fill-width.css.ts\";\n\n/* bd-pricing-card: the pricing card's second version. Its price zone is\n bd-pricing-price's and its features bd-pricing-feature-group's and\n bd-pricing-feature's, set in this card's scale through their hooks; the\n row it lines up in is bd-grid's, with item-rows=\"8\".\n\n EIGHT ROWS, ONE PER PART: badge, title, description, the rule, price,\n actions, caption, features. The host is a grid of its own eight, and the\n card a subgrid of them; in a bd-grid with item-rows=\"8\" the host is in turn\n a subgrid of the grid's rows (grid.css.ts), so the parts of a row of cards\n line up however differently each one's words wrap. Each part names its\n row, so a part a card leaves out leaves its row empty rather than pulling\n the parts under it up a row. The parts are spaced by margins rather than\n the row gap, so an empty row in one card takes no room of its own. */\nexport default css`\n /* bd-grid places its items at start, so the host asks for its column's\n whole width rather than its content's (shared/fill-width.css.ts). The\n last row, the features, takes what the row of cards leaves. */\n :host {\n display: grid;\n grid-template-rows: repeat(7, auto) 1fr;\n font-family: var(--typography-fontFamily-sans);\n }\n\n ${hostFillsWidth()}\n\n :host([hidden]) {\n display: none;\n }\n\n /* White with the border/container edge: the cards of a row are a\n comparison set, which the tonal step alone does not sharpen (CLAUDE.md,\n A card's ground and its edge), on the page and on a tint alike. The card\n corner and the compact inset. A page column met inside the card -- a\n billing bd-tab-group in the price slot -- draws none. */\n .card {\n position: relative;\n display: grid;\n grid-row: 1 / -1;\n grid-template-rows: subgrid;\n grid-template-columns: minmax(0, 1fr);\n row-gap: 0;\n box-sizing: border-box;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--card-radius);\n padding: var(--card-padding-compact);\n text-align: start;\n --bd-ensemble-max-width: none;\n --bd-ensemble-inline-padding: 0;\n }\n\n /* The recommended plan's edge: Figma's border-width/2 in border/brand, the\n card's own border, as the design draws it. It is one step heavier than\n its neighbours' edge, so its content sits that step further in; the rows\n the cards share as a subgrid still start on one line. */\n :host([highlight]) .card {\n border: var(--border-width-2) solid var(--color-border-brand);\n }\n\n /* Each part's box is hidden while its slot is empty; the attribute's\n selector outweighs the display a box sets below. */\n .card [hidden] {\n display: none;\n }\n\n /* The recommended plan's tab, standing on the card's top edge, centred:\n the brand fill and its ink, its top corners rounded: Figma's\n Recommended ribbon, 4/16 padding at radius/md, its words 14/700/145%. Out of the rows -- absolutely placed -- so a highlighted card's\n parts sit where its neighbours' do. */\n .banner {\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n padding: var(--spacing-4) var(--spacing-16);\n background: var(--status-brand-fill);\n color: var(--status-brand-on-fill);\n border-start-start-radius: var(--shape-radius-md);\n border-start-end-radius: var(--shape-radius-md);\n white-space: nowrap;\n font-size: var(--typography-body-small-fontSize);\n /* no role: the body-small role at 700, as Figma's ribbon sets it (IBM\n Plex Sans Bold, font-size/sm, 145%); no role carries 14px at that\n weight. */\n font-weight: var(--typography-fontWeight-bold);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n z-index: var(--z-base);\n }\n\n /* The plan's badge (\"Device Protection\"), 16 over the title. */\n .badge {\n grid-row: 1;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n gap: var(--spacing-8);\n margin-bottom: var(--spacing-16);\n }\n\n /* The plan's name, 8 over what it covers. */\n .title {\n grid-row: 2;\n margin-bottom: var(--spacing-8);\n }\n\n /* The heading-h5 role in bold, at the level the page picks. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h5\"))}\n /* no role: the h5 role at 700, the plan's name as the design draws it;\n no heading role carries the h5 size at that weight (bd-card's title\n is the same pair). */\n --bd-heading-font-weight: var(--typography-fontWeight-bold);\n --bd-heading-color: var(--color-text-primary);\n margin: 0;\n }\n\n /* What the plan covers -- its accounts and devices, then the line on what\n it protects -- one bd-p per paragraph, 16 apart, at body-regular in\n primary ink, Figma's body/regular, set through bd-p's hooks with no flow\n margin: the gap is the spacing here. A <strong> the page writes is its\n own: Figma sets the pitch's first word at 700. The box sets the same\n role, so words slotted bare read alike. */\n .description {\n grid-row: 3;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n font-size: var(--typography-body-regular-fontSize);\n font-weight: var(--typography-body-regular-fontWeight);\n line-height: var(--typography-body-regular-lineHeight);\n letter-spacing: var(--typography-body-regular-letterSpacing);\n font-family: var(--typography-body-regular-fontFamily);\n color: var(--color-text-primary);\n }\n\n ::slotted(bd-p[slot=\"description\"]) {\n ${unsafeCSS(bodyRole(\"body-regular\"))}\n ${unsafeCSS(ink(\"strong\"))}\n --bd-paragraph-margin-bottom: 0;\n }\n\n /* The rule between what the plan is and what it costs, 24 either side:\n Figma's card is an auto layout with spacing/24 between its children, and\n the rule is one of them. Its row is the one every card's rule shares, so\n the prices start on one line. */\n .rule {\n grid-row: 4;\n margin-block: var(--spacing-24);\n }\n\n /* The price zone in Figma's type, through bd-pricing-price's hooks: the\n struck price is price/was, the label-large role (16, medium, 150%),\n and the price is bold. */\n .price {\n grid-row: 5;\n margin-bottom: var(--spacing-24);\n --bd-pricing-price-full-font-size: var(--typography-label-large-fontSize);\n --bd-pricing-price-full-font-weight: var(--typography-label-large-fontWeight);\n --bd-pricing-price-full-line-height: var(--typography-label-large-lineHeight);\n --bd-pricing-price-full-letter-spacing: var(--typography-label-large-letterSpacing);\n /* no role: the heading-h3 price at 700, bold as Figma draws it; no role\n carries the h3 size at that weight. */\n --bd-pricing-price-amount-font-weight: var(--typography-fontWeight-bold);\n /* The struck price and the discount sit on one line at every width, as\n Figma draws them on a phone too, with nothing under them but the\n price's own leading: the zone's default 16 under each, and its\n stacking below md, spread the zone out on a phone. */\n --bd-pricing-price-reference-gap: 0;\n --bd-pricing-price-reference-direction-narrow: row;\n --bd-pricing-price-reference-spacing-narrow: var(--spacing-8);\n /* The small print sits right under the price, on the price's leading,\n as wide as the card: Figma's terms text fills the column. */\n --bd-pricing-price-caption-gap: 0;\n --bd-pricing-price-caption-max-width: none;\n }\n\n /* The buttons, stacked and as wide as the card, 8 apart. */\n .actions {\n grid-row: 6;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n /* The guarantee under the buttons, in the caption role. */\n .caption {\n grid-row: 7;\n margin-top: var(--spacing-8);\n font-size: var(--typography-caption-default-fontSize);\n font-weight: var(--typography-caption-default-fontWeight);\n line-height: var(--typography-caption-default-lineHeight);\n letter-spacing: var(--typography-caption-default-letterSpacing);\n font-family: var(--typography-caption-default-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The features, 24 under the buttons, in the card's scale: each list's\n heading at heading-h6 in bold, 8 over its first feature and no inset of\n its own, the features at body-small 12 apart. The hooks inherit through\n the slot into bd-pricing-feature-group's and bd-pricing-feature's shadow\n roots; a list 24 under the one before it. */\n .features {\n grid-row: 8;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-24);\n margin-top: var(--spacing-24);\n --bd-pricing-feature-group-inset: 0;\n --bd-pricing-feature-group-title-gap: var(--spacing-8);\n --bd-pricing-feature-group-list-gap: var(--spacing-8);\n --bd-pricing-feature-group-title-font-size: var(--typography-heading-h6-fontSize);\n /* no role: the h6 role at 700, \"Includes:\" as the design draws it; no\n heading role carries the h6 size at that weight. */\n --bd-pricing-feature-group-title-font-weight: var(--typography-fontWeight-bold);\n --bd-pricing-feature-group-title-line-height: var(--typography-heading-h6-lineHeight);\n --bd-pricing-feature-row-gap: var(--spacing-12);\n --bd-pricing-feature-name-gap: 0;\n --bd-pricing-feature-font-size: var(--typography-body-small-fontSize);\n --bd-pricing-feature-font-weight: var(--typography-body-small-fontWeight);\n --bd-pricing-feature-line-height: var(--typography-body-small-lineHeight);\n }\n`;\n\n/* Adopted into the tree the card sits in (adoptStyles, in connectedCallback).\n\n bd-context, bd-product and bd-option set no display of their own: each is\n an inline box with a slot in it, and a card inside them would be the block\n inside an inline, never the grid's item. Only the wrappers around a card\n are touched, none inside one.\n\n IN A bd-grid WITH item-rows the wrapper the grid slots is its item, and\n bd-grid's own ::slotted() rule makes it the subgrid of the grid's rows,\n spaced as any item is; the wrappers inside it and the card are each a\n subgrid of the one around them, spanning all its rows. So the card's parts\n sit in the grid's rows through the chain, and nothing here reads the\n grid's private properties. The wrapper the grid slots is left to that\n rule: a document rule beats a shadow root's ::slotted(), so this one must\n not match it.\n\n IN ANY OTHER bd-grid the wrappers draw no box, and the card is the item.\n\n THE NAME'S ACCENT. A word the page writes in <em> inside the title --\n \"Ultimate Security <em>Plus</em>\" -- is drawn upright in the brand's text\n ink, Figma's text/brand. It is the page's markup, so it is styled where the\n page's markup is, in this document-scope sheet: no rule in the card's or\n bd-h's shadow root reaches a word inside a slotted heading. Nothing is\n parsed out of the words; 3.x found and coloured \"Plus\" itself, and v4\n leaves which word to the page. */\nexport const pageCSS = css`\n bd-pricing-card > :is(bd-h, bd-display)[slot=\"title\"] em {\n font-style: normal;\n color: var(--color-text-brand);\n }\n\n :where(bd-grid[item-rows]) :is(bd-context, bd-product, bd-option):has(bd-pricing-card):not(bd-pricing-card *):not(bd-grid > *),\n :where(bd-grid[item-rows]) :is(bd-context, bd-product, bd-option) > bd-pricing-card {\n display: grid;\n grid-row: 1 / -1;\n grid-template-rows: subgrid;\n grid-template-columns: minmax(0, 1fr);\n row-gap: 0;\n }\n\n :where(bd-grid:not([item-rows])) :is(bd-context, bd-product, bd-option):has(bd-pricing-card):not(bd-pricing-card *) {\n display: contents;\n }\n`;\n"],"mappings":"A,gGAiBA,IAAAA,EAAe,CAAG,+tJA8OLC,EAAU,CAAG,yhB"}
@@ -1,2 +1,2 @@
1
- import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);text-align:start;display:block}:host([hidden]){display:none}.zone{flex-direction:column;align-items:flex-start;display:flex}.reference{align-items:center;gap:var(--spacing-8);display:inline-flex}.full,.discount{display:contents}::slotted([slot=full]),::slotted([slot=discount]){margin-bottom:var(--bd-pricing-price-reference-gap,var(--spacing-16))}.full{font-size:var(--bd-pricing-price-full-font-size,var(--typography-body-small-fontSize));font-weight:var(--bd-pricing-price-full-font-weight,var(--typography-body-small-fontWeight));line-height:var(--bd-pricing-price-full-line-height,var(--typography-body-small-lineHeight));letter-spacing:var(--bd-pricing-price-full-letter-spacing,var(--typography-body-small-letterSpacing));font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary)}.amount{font-size:var(--typography-heading-h3-fontSize);font-weight:var(--bd-pricing-price-amount-font-weight,var(--typography-heading-h3-fontWeight));line-height:var(--typography-heading-h3-lineHeight);letter-spacing:var(--typography-heading-h3-letterSpacing);font-family:var(--typography-heading-h3-fontFamily);color:var(--color-text-primary);margin:0}.caption{margin-top:var(--bd-pricing-price-caption-gap,var(--spacing-16));max-width:80%;font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary)}.zone [hidden]{display:none}@media (width<768px){.reference{flex-direction:var(--bd-pricing-price-reference-direction-narrow,column);gap:var(--bd-pricing-price-reference-spacing-narrow,var(--spacing-4))}}`;export{t as default};
1
+ import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);text-align:start;display:block}:host([hidden]){display:none}.zone{flex-direction:column;align-items:flex-start;display:flex}.reference{align-items:center;gap:var(--spacing-8);display:inline-flex}.full,.discount{display:contents}::slotted([slot=full]),::slotted([slot=discount]){margin-bottom:var(--bd-pricing-price-reference-gap,var(--spacing-16))}.full{font-size:var(--bd-pricing-price-full-font-size,var(--typography-body-small-fontSize));font-weight:var(--bd-pricing-price-full-font-weight,var(--typography-body-small-fontWeight));line-height:var(--bd-pricing-price-full-line-height,var(--typography-body-small-lineHeight));letter-spacing:var(--bd-pricing-price-full-letter-spacing,var(--typography-body-small-letterSpacing));font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary)}.amount{font-size:var(--typography-heading-h3-fontSize);font-weight:var(--bd-pricing-price-amount-font-weight,var(--typography-heading-h3-fontWeight));line-height:var(--typography-heading-h3-lineHeight);letter-spacing:var(--typography-heading-h3-letterSpacing);font-family:var(--typography-heading-h3-fontFamily);color:var(--color-text-primary);margin:0}.caption{margin-top:var(--bd-pricing-price-caption-gap,var(--spacing-16));max-width:var(--bd-pricing-price-caption-max-width,80%);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);color:var(--color-text-primary)}.zone [hidden]{display:none}@media (width<768px){.reference{flex-direction:var(--bd-pricing-price-reference-direction-narrow,column);gap:var(--bd-pricing-price-reference-spacing-narrow,var(--spacing-4))}}`;export{t as default};
2
2
  //# sourceMappingURL=pricing-price.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pricing-price.css.js","names":["pricing_price_css_default"],"sources":["../../../../src/components/pricing-card/pricing-price.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\n/* bd-pricing-price: 3.x v1's price zone (pricing-card.css.ts's .pricing,\n .pricing-info, .original-price, .price and .terms), at its type roles.\n\n THE HOOKS, as bd-pricing-feature-group has them: a card that sets its\n price in its own type -- bd-pricing-card, whose struck price is Figma's\n price/was and whose price is bold -- sets these around its price slot,\n and they inherit into this shadow root. Unset, each is 3.x v1's:\n\n --bd-pricing-price-full-font-size / -font-weight / -line-height /\n -letter-spacing the struck full price's role (body-small)\n --bd-pricing-price-amount-font-weight\n the price's weight (heading-h3's, 600)\n --bd-pricing-price-reference-gap\n under the full price and the discount (16)\n --bd-pricing-price-reference-direction-narrow\n the row below md: column, stacked as 3.x's,\n or row, side by side as at every width\n --bd-pricing-price-reference-spacing-narrow\n between them below md (4)\n --bd-pricing-price-caption-gap above the small print (16) */\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n text-align: start;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .zone {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n /* The full price and the discount, side by side and centred on each other\n as 3.x's .pricing-info row was; stacked below md, 4 apart. The wrappers\n draw no box, so the page's nodes are the row's items: the store hides a\n node with display: none, and a row whose nodes are both hidden takes no\n room. */\n .reference {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .full,\n .discount {\n display: contents;\n }\n\n /* The 16 under the row was the bottom margin of the bd-p 3.x wrapped each\n node in; it is the nodes' own here, so it goes with them when the store\n hides them. */\n ::slotted([slot=\"full\"]),\n ::slotted([slot=\"discount\"]) {\n margin-bottom: var(--bd-pricing-price-reference-gap, var(--spacing-16));\n }\n\n /* The struck full price: 3.x's bd-p small, body-small in primary ink. The\n page's <s> draws the strike. */\n .full {\n font-size: var(--bd-pricing-price-full-font-size, var(--typography-body-small-fontSize));\n font-weight: var(--bd-pricing-price-full-font-weight, var(--typography-body-small-fontWeight));\n line-height: var(--bd-pricing-price-full-line-height, var(--typography-body-small-lineHeight));\n letter-spacing: var(--bd-pricing-price-full-letter-spacing, var(--typography-body-small-letterSpacing));\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The price and its unit, one line in the heading-h3 role, as 3.x's\n .price paragraph read it. */\n .amount {\n margin: 0;\n font-size: var(--typography-heading-h3-fontSize);\n font-weight: var(--bd-pricing-price-amount-font-weight, var(--typography-heading-h3-fontWeight));\n line-height: var(--typography-heading-h3-lineHeight);\n letter-spacing: var(--typography-heading-h3-letterSpacing);\n font-family: var(--typography-heading-h3-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The small print: 3.x's bd-p small, 15 under the price (16, the step on\n the scale) and four-fifths of the card wide. */\n .caption {\n margin-top: var(--bd-pricing-price-caption-gap, var(--spacing-16));\n max-width: 80%;\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* A part's box is hidden while its slot is empty; this outweighs the\n display each box sets above. */\n .zone [hidden] {\n display: none;\n }\n\n @media ${unsafeCSS(below(\"md\"))} {\n .reference {\n flex-direction: var(--bd-pricing-price-reference-direction-narrow, column);\n gap: var(--bd-pricing-price-reference-spacing-narrow, var(--spacing-4));\n }\n }\n`;\n"],"mappings":"A,4DAuBA,IAAAA,EAAe,CAAG,gxD"}
1
+ {"version":3,"file":"pricing-price.css.js","names":["pricing_price_css_default"],"sources":["../../../../src/components/pricing-card/pricing-price.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\n/* bd-pricing-price: 3.x v1's price zone (pricing-card.css.ts's .pricing,\n .pricing-info, .original-price, .price and .terms), at its type roles.\n\n THE HOOKS, as bd-pricing-feature-group has them: a card that sets its\n price in its own type -- bd-pricing-card, whose struck price is Figma's\n price/was and whose price is bold -- sets these around its price slot,\n and they inherit into this shadow root. Unset, each is 3.x v1's:\n\n --bd-pricing-price-full-font-size / -font-weight / -line-height /\n -letter-spacing the struck full price's role (body-small)\n --bd-pricing-price-amount-font-weight\n the price's weight (heading-h3's, 600)\n --bd-pricing-price-reference-gap\n under the full price and the discount (16)\n --bd-pricing-price-reference-direction-narrow\n the row below md: column, stacked as 3.x's,\n or row, side by side as at every width\n --bd-pricing-price-reference-spacing-narrow\n between them below md (4)\n --bd-pricing-price-caption-gap above the small print (16)\n --bd-pricing-price-caption-max-width\n the small print's measure (80%) */\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n text-align: start;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .zone {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n\n /* The full price and the discount, side by side and centred on each other\n as 3.x's .pricing-info row was; stacked below md, 4 apart. The wrappers\n draw no box, so the page's nodes are the row's items: the store hides a\n node with display: none, and a row whose nodes are both hidden takes no\n room. */\n .reference {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .full,\n .discount {\n display: contents;\n }\n\n /* The 16 under the row was the bottom margin of the bd-p 3.x wrapped each\n node in; it is the nodes' own here, so it goes with them when the store\n hides them. */\n ::slotted([slot=\"full\"]),\n ::slotted([slot=\"discount\"]) {\n margin-bottom: var(--bd-pricing-price-reference-gap, var(--spacing-16));\n }\n\n /* The struck full price: 3.x's bd-p small, body-small in primary ink. The\n page's <s> draws the strike. */\n .full {\n font-size: var(--bd-pricing-price-full-font-size, var(--typography-body-small-fontSize));\n font-weight: var(--bd-pricing-price-full-font-weight, var(--typography-body-small-fontWeight));\n line-height: var(--bd-pricing-price-full-line-height, var(--typography-body-small-lineHeight));\n letter-spacing: var(--bd-pricing-price-full-letter-spacing, var(--typography-body-small-letterSpacing));\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The price and its unit, one line in the heading-h3 role, as 3.x's\n .price paragraph read it. */\n .amount {\n margin: 0;\n font-size: var(--typography-heading-h3-fontSize);\n font-weight: var(--bd-pricing-price-amount-font-weight, var(--typography-heading-h3-fontWeight));\n line-height: var(--typography-heading-h3-lineHeight);\n letter-spacing: var(--typography-heading-h3-letterSpacing);\n font-family: var(--typography-heading-h3-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* The small print: 3.x's bd-p small, 15 under the price (16, the step on\n the scale) and four-fifths of the card wide. */\n .caption {\n margin-top: var(--bd-pricing-price-caption-gap, var(--spacing-16));\n max-width: var(--bd-pricing-price-caption-max-width, 80%);\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n color: var(--color-text-primary);\n }\n\n /* A part's box is hidden while its slot is empty; this outweighs the\n display each box sets above. */\n .zone [hidden] {\n display: none;\n }\n\n @media ${unsafeCSS(below(\"md\"))} {\n .reference {\n flex-direction: var(--bd-pricing-price-reference-direction-narrow, column);\n gap: var(--bd-pricing-price-reference-spacing-narrow, var(--spacing-4));\n }\n }\n`;\n"],"mappings":"A,4DAyBA,IAAAA,EAAe,CAAG,0zD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repobit/dex-system-design",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
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",
@@ -480,8 +480,8 @@
480
480
  "devDependencies": {
481
481
  "@chromatic-com/storybook": "^5.6.0",
482
482
  "@figma/code-connect": "^2.0.0",
483
- "@repobit/dex-store": "2.0.1",
484
- "@repobit/dex-store-elements": "3.0.1",
483
+ "@repobit/dex-store": "2.0.2",
484
+ "@repobit/dex-store-elements": "3.0.2",
485
485
  "@storybook/addon-docs": "^10.6.5",
486
486
  "@storybook/addon-vitest": "^10.6.5",
487
487
  "@storybook/web-components-vite": "^10.6.5",
@@ -494,5 +494,5 @@
494
494
  "volta": {
495
495
  "node": "24.22.1"
496
496
  },
497
- "gitHead": "9361d1ae1386da5fdb55da6f2aa7e67f92e46a73"
497
+ "gitHead": "5f20bc7930465686d18149ebd2fdcdeb450e9d20"
498
498
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifestVersion": 1,
3
3
  "package": "@repobit/dex-system-design",
4
- "packageVersion": "5.0.0",
4
+ "packageVersion": "5.0.2",
5
5
  "generatedFrom": [
6
6
  "package.json exports",
7
7
  "Lit reactive properties (static properties or @property/@state)",