{
  "timestamp": "2026-11-19T09:33:56",
  "compiler": {
    "name": "@stencil/core",
    "version": "4.45.4",
    "typescriptVersion": "5.8.3"
  },
  "storybook": "https://magma-design-system.github.io/magma/storybook/",
  "studio": "https://magma-design-system.github.io/magma/studio/",
  "components": [
    {
      "filePath": "src/components/mds-price-table-features-row/mds-price-table-features-row.tsx",
      "encapsulation": "shadow",
      "tag": "mds-price-table-features-row",
      "docs": "This is a web-component from Maggioli Design System [Magma](https://magma.maggiolicloud.it), built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.",
      "docsTags": [
        {
          "name": "slot",
          "text": "- Expects to slot `mds-price-table-features-cell` component"
        },
        {
          "name": "parent",
          "text": "mds-price-table-features"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-price-table-features-row>` web component is a layout child of [`<mds-price-table-features>`](../mds-price-table-features/AGENTS.md) that represents a single horizontal row inside the feature-comparison table, conceptually playing the role of a table row (`<tr>`).\n\n#### Semantic Behavior\n\n- **Compound constraint**: Must be a direct default-slot child of `<mds-price-table-features>`; it is not used standalone or mixed with other child component types.\n- **Default slot for cells**: Its default slot expects `<mds-price-table-features-cell>` children only - each cell becomes one column of the row.\n- **Automatic equal-width columns**: It distributes the available width equally across its cells so columns are aligned without manual sizing.\n- **No role/ARIA overrides**: It is a pure presentational/layout wrapper with no added role, state props, events, or focus handling.\n\n#### Properties & Visual Configurations\n\nThis component has no configurable props. Its only responsibility is layout: it groups one or more `<mds-price-table-features-cell>` elements into a single row and guarantees they share the available horizontal space equally. Visual appearance (background, text color, and their hover variants) is tuned through the CSS custom properties documented in [`AGENTS.md`](AGENTS.md) (`--mds-price-table-features-row-background`, `--mds-price-table-features-row-color`, and their `-hover` counterparts). For the shared design-system conventions on compound components, refer to [`agents/conventions.md`](../../../../agents/conventions.md).\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-price-table-features-row>` component, ordered from most common to most specialized. The examples assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Standard Feature Row with Supported / Unsupported Cells\n\nThe most common pattern: one label cell followed by one boolean cell per plan column. Use `type=\"label\"` for the feature name and `type=\"supported\"` or `type=\"unsupported\"` for each plan's availability. The row distributes the cells equally across the available width automatically.\n\n```html\n<mds-price-table>\n  <mds-price-table-features label=\"Funzionalita' incluse\">\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Supporto clienti</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n    </mds-price-table-features-row>\n  </mds-price-table-features>\n</mds-price-table>\n```\n\n#### Feature Row with Text Values\n\nWhen a feature has a measurable limit rather than a simple yes/no, use `type=\"text\"` cells to display the value as a formatted string. The cell wraps the text in `<mds-text typography=\"detail\">` automatically.\n\n```html\n<mds-price-table>\n  <mds-price-table-features label=\"Limiti di utilizzo\">\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Utenti massimi</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">10</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">50</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">Illimitati</mds-price-table-features-cell>\n    </mds-price-table-features-row>\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Spazio di archiviazione</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">5 GB</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">50 GB</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">1 TB</mds-price-table-features-cell>\n    </mds-price-table-features-row>\n  </mds-price-table-features>\n</mds-price-table>\n```\n\n#### Mixed Row with Text and Boolean Cells\n\nA single row can mix `type=\"text\"`, `type=\"supported\"`, and `type=\"unsupported\"` cells when some plans have a value and others have a boolean flag. All cells still receive equal widths.\n\n```html\n<mds-price-table>\n  <mds-price-table-features label=\"Reportistica\">\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Report avanzati</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">Solo esportazione</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    </mds-price-table-features-row>\n  </mds-price-table-features>\n</mds-price-table>\n```\n\n#### Custom Cell Content with `type=\"custom\"`\n\nUse `type=\"custom\"` when none of the standard cell types is adequate - for example to embed a component or styled content. The cell renders its default slot as-is without any wrapping element.\n\n```html\n<mds-price-table>\n  <mds-price-table-features label=\"Assistenza\">\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Canale di supporto</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"custom\">\n        <mds-badge variant=\"info\" tone=\"weak\">Email</mds-badge>\n      </mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"custom\">\n        <mds-badge variant=\"success\" tone=\"weak\">Chat</mds-badge>\n      </mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"custom\">\n        <mds-badge variant=\"dark\" tone=\"strong\">Dedicato</mds-badge>\n      </mds-price-table-features-cell>\n    </mds-price-table-features-row>\n  </mds-price-table-features>\n</mds-price-table>\n```\n\n#### Text Cell with Inline Help Tooltip\n\nA `type=\"text\"` cell accepts arbitrary HTML in its slot, so you can pair the value with an [`<mds-help>`](../mds-help/AGENTS.md) component when additional context is needed.\n\n```html\n<mds-price-table>\n  <mds-price-table-features label=\"Archiviazione\">\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Capacita' massima</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">5 GB</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">100 GB</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"text\">\n        1 TB\n        <mds-help disable-auto-placement placement=\"top\">\n          La capacita' puo' variare in base allo stato del server.\n        </mds-help>\n      </mds-price-table-features-cell>\n    </mds-price-table-features-row>\n  </mds-price-table-features>\n</mds-price-table>\n```\n\n#### Styling Customization\n\nOverride the row's resting background and text colors through the public `--mds-price-table-features-row-*` CSS custom properties; the hover state is set by the component. Always name a semantic role, `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)), so dark mode and high-contrast modes keep working.\n\n```css\n.pricing-section mds-price-table-features-row {\n  --mds-price-table-features-row-background: rgb(var(--magma-surface-muted));\n  --mds-price-table-features-row-color: rgb(var(--magma-text-muted));\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-price-table-features-row>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.\n\n#### Do Not Use the Row Outside Its Parent\n\n`<mds-price-table-features-row>` is a compound child that must be a direct slot child of [`<mds-price-table-features>`](../mds-price-table-features/AGENTS.md). Using it standalone or inside any other element breaks the layout: the row is a `display: table-row` box meant for the `<table>` that `<mds-price-table-features>` renders around its slot.\n\n```html\n<!-- INCORRECT -->\n<div class=\"my-table\">\n  <mds-price-table-features-row>\n    <mds-price-table-features-cell type=\"label\">Funzione</mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n  </mds-price-table-features-row>\n</div>\n\n<!-- CORRECT -->\n<mds-price-table>\n  <mds-price-table-features label=\"Funzionalita'\">\n    <mds-price-table-features-row>\n      <mds-price-table-features-cell type=\"label\">Funzione</mds-price-table-features-cell>\n      <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    </mds-price-table-features-row>\n  </mds-price-table-features>\n</mds-price-table>\n```\n\n#### Do Not Slot Arbitrary HTML Directly into the Row\n\nThe row's default slot expects only [`<mds-price-table-features-cell>`](../mds-price-table-features-cell/AGENTS.md) children. Raw HTML elements bypass the automatic equal-width distribution and break column alignment across rows.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-features-row>\n  <span>Funzione avanzata</span>\n  <span>Si'</span>\n  <span>No</span>\n</mds-price-table-features-row>\n\n<!-- CORRECT -->\n<mds-price-table-features-row>\n  <mds-price-table-features-cell type=\"label\">Funzione avanzata</mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n</mds-price-table-features-row>\n```\n\n#### Do Not Omit the Label Cell\n\nEvery row should begin with a `type=\"label\"` cell that names the feature. Omitting it leaves the row without a readable identifier, which makes the comparison table unusable for sighted users and screen readers alike.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-features-row>\n  <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n</mds-price-table-features-row>\n\n<!-- CORRECT -->\n<mds-price-table-features-row>\n  <mds-price-table-features-cell type=\"label\">Backup automatico</mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n  <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n</mds-price-table-features-row>\n```\n\n#### Do Not Customize via Inline Styles or Undocumented Parts\n\nThe only supported customization surface is the four `--mds-price-table-features-row-*` CSS custom properties. Applying inline `style` attributes or targeting shadow internals couples your code to the implementation and breaks on minor releases.\n\n```css\n/* INCORRECT */\nmds-price-table-features-row {\n  background-color: #f5f5f5;\n}\n\nmds-price-table-features-row >>> .internal-row-class {\n  color: red;\n}\n```\n\n```css\n/* CORRECT */\nmds-price-table-features-row {\n  --mds-price-table-features-row-background: rgb(var(--magma-surface-muted));\n  --mds-price-table-features-row-color: rgb(var(--magma-text-muted));\n}\n```\n\n#### Do Not Mismatch Cell Count Across Rows\n\nAll rows inside a [`<mds-price-table-features>`](../mds-price-table-features/AGENTS.md) must have the same number of cells. The equal-width calculation runs per row in isolation, so mismatched counts produce misaligned columns.\n\n```html\n<!-- INCORRECT - row A has 4 cells, row B has 3 -->\n<mds-price-table-features>\n  <mds-price-table-features-row>\n    <mds-price-table-features-cell type=\"label\">Funzione A</mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n  </mds-price-table-features-row>\n  <mds-price-table-features-row>\n    <mds-price-table-features-cell type=\"label\">Funzione B</mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n  </mds-price-table-features-row>\n</mds-price-table-features>\n\n<!-- CORRECT - every row has the same number of cells -->\n<mds-price-table-features>\n  <mds-price-table-features-row>\n    <mds-price-table-features-cell type=\"label\">Funzione A</mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n  </mds-price-table-features-row>\n  <mds-price-table-features-row>\n    <mds-price-table-features-cell type=\"label\">Funzione B</mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"supported\"></mds-price-table-features-cell>\n    <mds-price-table-features-cell type=\"unsupported\"></mds-price-table-features-cell>\n  </mds-price-table-features-row>\n</mds-price-table-features>\n```\n"
      },
      "props": [],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-price-table-features-row-background",
          "annotation": "prop",
          "docs": "Default background color of a features row.",
          "visibility": "public"
        },
        {
          "name": "--mds-price-table-features-row-background-hover",
          "annotation": "prop",
          "docs": "Background color of a features row on hover.",
          "visibility": "internal"
        },
        {
          "name": "--mds-price-table-features-row-color",
          "annotation": "prop",
          "docs": "Default text color of a features row.",
          "visibility": "public"
        },
        {
          "name": "--mds-price-table-features-row-color-hover",
          "annotation": "prop",
          "docs": "Text color of a features row on hover.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Expects to slot `mds-price-table-features-cell` component"
        }
      ],
      "parts": [],
      "states": [],
      "dependents": [],
      "dependencies": [],
      "dependencyGraph": {},
      "storybook": "ui-price-table-price-table-features-row--docs"
    }
  ]
}
