{
  "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-list-item/mds-price-table-list-item.tsx",
      "encapsulation": "shadow",
      "tag": "mds-price-table-list-item",
      "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": "- Add `text string`, `HTML elements` or `components` to this slot."
        },
        {
          "name": "part",
          "text": "icon - The check icon of a `supported` item, a dash when it is not"
        },
        {
          "name": "parent",
          "text": "mds-price-table-list"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-price-table-list-item>` web component represents a single feature row inside a [`<mds-price-table-list>`](../mds-price-table-list/AGENTS.md), pairing a supported/unsupported status icon with a textual feature label. It is a presentational compound child.\n\n#### Semantic Behavior\n\n- **Compound child only**: It auto-assigns itself to the parent's `item` slot, so it must be a direct child of `<mds-price-table-list>` and is not used standalone.\n- **Drives parent layout**: The presence of at least one item is what makes the parent render its separator and feature region.\n- **Status icon by `supported`**: When `supported` is `true` it renders a filled check-circle icon; when `false` it renders a horizontal-rule (dash) icon, indicating the feature is absent.\n- **Default slot is the label**: Text or markup placed in the default slot becomes the feature description, rendered next to the icon.\n- **No interactivity**: The component is purely presentational - it has no role, selection/active/disabled state, emitted events, or keyboard handling.\n\n#### Properties & Visual Configurations\n\n- **`supported`**: Choose `true` for features included in the plan (check icon) and `false` for features not included (dash icon). It is the only semantic switch that changes the rendered icon, and is themeable via the `--mds-price-table-list-item-supported-*` / `-unsupported-*` CSS custom properties.\n- **`typography`**: Selects the text scale applied to both the icon wrapper and the label (the icon itself keeps a fixed size), accepting one of the shared read typography tokens (default `detail`). Use a larger value such as `paragraph` when the list should read at body size, or `caption` for denser tables.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-price-table-list-item>` 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#### Supported Feature Row\n\nThe most common form. Place the component as a direct child of [`<mds-price-table-list>`](../mds-price-table-list/AGENTS.md) and set `supported` to show the check-circle icon. Text in the default slot becomes the feature label.\n\n```html\n<mds-price-table-list>\n  <mds-price-table-list-item supported>Accesso base</mds-price-table-list-item>\n</mds-price-table-list>\n```\n\n#### Unsupported Feature Row\n\nOmit `supported` (or leave it at its default `false`) to render the dash icon, indicating the feature is not included in the plan.\n\n```html\n<mds-price-table-list>\n  <mds-price-table-list-item>Accesso API</mds-price-table-list-item>\n</mds-price-table-list>\n```\n\n#### Mixed Feature List\n\nCombine supported and unsupported rows inside one `<mds-price-table-list>` to build the complete plan comparison column.\n\n```html\n<mds-price-table-list>\n  <mds-price-table-list-item supported>Utenti illimitati</mds-price-table-list-item>\n  <mds-price-table-list-item supported>Supporto via chat</mds-price-table-list-item>\n  <mds-price-table-list-item supported>Flussi automatizzati</mds-price-table-list-item>\n  <mds-price-table-list-item>Analisi avanzata</mds-price-table-list-item>\n  <mds-price-table-list-item>Esportazione report</mds-price-table-list-item>\n  <mds-price-table-list-item>Accesso API</mds-price-table-list-item>\n</mds-price-table-list>\n```\n\n#### Feature Row with Contextual Help\n\nThe default slot accepts more than plain text. Slot an [`<mds-help>`](../mds-help/AGENTS.md) inline next to the label when a feature needs a short explanation.\n\n```html\n<mds-price-table-list>\n  <mds-price-table-list-item supported>\n    20 GB di spazio per utente\n    <mds-help>Lo spazio viene condiviso fra tutti i membri del piano.</mds-help>\n  </mds-price-table-list-item>\n</mds-price-table-list>\n```\n\n#### Adjusting Typography Scale\n\nUse the `typography` prop to control the text size across the whole row; the icon keeps its fixed size. The default `detail` fits dense tables; switch to `paragraph` for a more readable presentation or `caption` for compact layouts.\n\n```html\n<!-- Default (detail) -->\n<mds-price-table-list-item supported>Funzionalita di base</mds-price-table-list-item>\n\n<!-- Body-size presentation -->\n<mds-price-table-list-item supported typography=\"paragraph\">Funzionalita di base</mds-price-table-list-item>\n\n<!-- Compact table -->\n<mds-price-table-list-item typography=\"caption\">Accesso API</mds-price-table-list-item>\n```\n\n#### Full Plan Column\n\nThe full compound pattern: `<mds-price-table-list>` with header, items, a price, and a call-to-action.\n\n```html\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Business</mds-text>\n  <mds-text typography=\"detail\" slot=\"header\">\n    Adatto a team di medie dimensioni con esigenze collaborative avanzate.\n  </mds-text>\n\n  <mds-price-table-list-item supported>Utenti illimitati</mds-price-table-list-item>\n  <mds-price-table-list-item supported>Supporto prioritario</mds-price-table-list-item>\n  <mds-price-table-list-item supported>Flussi automatizzati</mds-price-table-list-item>\n  <mds-price-table-list-item>Accesso API</mds-price-table-list-item>\n\n  <mds-text typography=\"h2\" slot=\"price\">99 EUR</mds-text>\n  <mds-button slot=\"action\" variant=\"primary\" tone=\"strong\">Inizia ora</mds-button>\n</mds-price-table-list>\n```\n\n#### Styling Customization\n\n`<mds-price-table-list-item>` has no public CSS custom property: the supported and unsupported icons take their colors from the component, the supported one also while the pointer is over the item. For a targeted override, style the documented `::part(icon)`, with the reflected `supported` attribute to tell the two apart. Name a semantic role, `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)), so dark mode and high-contrast keep working.\n\n```css\n.promo-column mds-price-table-list-item[supported]::part(icon) {\n  fill: rgb(var(--magma-accent-fg));\n}\n\n.promo-column mds-price-table-list-item:not([supported])::part(icon) {\n  fill: rgb(var(--magma-text-subtle));\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-price-table-list-item>`. 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 Outside `<mds-price-table-list>`\n\nThe component auto-assigns itself to the parent's `item` slot and is designed exclusively as a child of [`<mds-price-table-list>`](../mds-price-table-list/AGENTS.md). Standalone it still renders its icon and label, but outside the plan card it loses the card's background, separator and spacing, and the `slot=\"item\"` it writes on itself points nowhere.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list-item supported>Funzionalita inclusa</mds-price-table-list-item>\n\n<!-- CORRECT -->\n<mds-price-table-list>\n  <mds-price-table-list-item supported>Funzionalita inclusa</mds-price-table-list-item>\n</mds-price-table-list>\n```\n\n#### Do Not Pass `supported` as a String\n\n`supported` is a boolean prop: remove the attribute to turn the feature off, the convention for every Magma boolean ([`agents/conventions.md`](../../../../agents/conventions.md)). Stencil does parse `\"false\"` as `false`, but the attribute stays in the markup until the component hydrates and its reflection removes it, so a `[supported]` selector or any code reading the attribute sees it set in the meantime.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list-item supported=\"false\">Accesso API</mds-price-table-list-item>\n\n<!-- CORRECT -->\n<mds-price-table-list-item>Accesso API</mds-price-table-list-item>\n```\n\n#### Do Not Use an Unsupported `typography` Value\n\n`typography` accepts only `\"caption\"`, `\"detail\"`, and `\"paragraph\"` (the `TypographyReadType` set). Passing a value outside that set - such as `\"h4\"` or `\"label\"` - produces no error in HTML: it is forwarded to the inner `mds-text`, which sets the row in that heading or label scale, out of step with the other rows.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list-item typography=\"h4\" supported>Accesso base</mds-price-table-list-item>\n<mds-price-table-list-item typography=\"label\">Analytics</mds-price-table-list-item>\n\n<!-- CORRECT -->\n<mds-price-table-list-item typography=\"paragraph\" supported>Accesso base</mds-price-table-list-item>\n<mds-price-table-list-item typography=\"caption\">Analytics</mds-price-table-list-item>\n```\n\n#### Do Not Pierce the Shadow DOM to Restyle the Icon\n\n`<mds-price-table-list-item>` has no public CSS custom property: the only supported customization surface for the icon is the documented `::part(icon)` shadow part. Targeting internal selectors via `>>>`, `/deep/`, or undocumented class names couples your styles to the implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-price-table-list-item >>> .icon {\n  fill: green;\n}\n\n/* CORRECT */\nmds-price-table-list-item::part(icon) {\n  fill: rgb(var(--magma-success-fg));\n}\n```\n\n#### Do Not Put Block HTML in the Default Slot to Create Layout\n\nThe default slot is for the feature label - plain text plus inline helpers such as `<mds-help>`. Inserting block elements, additional icons, or wrapper `<div>` structures breaks the flex row layout that aligns the icon and label.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list-item supported>\n  <div class=\"feature-row\">\n    <mds-icon name=\"mi/baseline/star\"></mds-icon>\n    <span>Analisi avanzata</span>\n  </div>\n</mds-price-table-list-item>\n\n<!-- CORRECT -->\n<mds-price-table-list-item supported>\n  Analisi avanzata\n  <mds-help>Disponibile solo nei piani premium.</mds-help>\n</mds-price-table-list-item>\n```\n"
      },
      "props": [
        {
          "name": "supported",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": false,
          "attr": "supported",
          "reflectToAttr": true,
          "docs": "Specifies if the feature is supported or not",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "typography",
          "type": "\"caption\" | \"detail\" | \"paragraph\"",
          "complexType": {
            "original": "TypographyReadType",
            "resolved": "\"caption\" | \"detail\" | \"paragraph\"",
            "references": {
              "TypographyReadType": {
                "location": "import",
                "path": "@type/typography",
                "id": "src/type/typography.ts::TypographyReadType",
                "referenceLocation": "TypographyReadType"
              }
            }
          },
          "mutable": false,
          "attr": "typography",
          "reflectToAttr": true,
          "docs": "Specifies if the feature is supported or not",
          "docsTags": [
            {
              "name": "default",
              "text": "'detail'"
            }
          ],
          "default": "'detail'",
          "values": [
            {
              "value": "caption",
              "type": "string"
            },
            {
              "value": "detail",
              "type": "string"
            },
            {
              "value": "paragraph",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-price-table-list-item-supported-icon-color",
          "annotation": "prop",
          "docs": "Default color of the supported icon in a list item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-price-table-list-item-supported-icon-color-hover",
          "annotation": "prop",
          "docs": "Color of the supported icon while the pointer is over the list item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-price-table-list-item-unsupported-icon-color",
          "annotation": "prop",
          "docs": "Default color of the unsupported icon in a list item.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Add `text string`, `HTML elements` or `components` to this slot."
        }
      ],
      "parts": [
        {
          "name": "icon",
          "docs": "The check icon of a `supported` item, a dash when it is not"
        }
      ],
      "states": [],
      "dependents": [],
      "dependencies": [
        "mds-text"
      ],
      "dependencyGraph": {
        "mds-price-table-list-item": [
          "mds-text"
        ]
      },
      "storybook": "ui-price-table-price-table-list-item--docs"
    }
  ]
}
