{
  "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/mds-price-table-list.tsx",
      "encapsulation": "shadow",
      "tag": "mds-price-table-list",
      "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": "part",
          "text": "content - Selects the element which wraps elements added via `default slot`"
        },
        {
          "name": "part",
          "text": "footer - Selects the element which wraps elements added via `slot=\"price\"` and `slot=\"action\"`"
        },
        {
          "name": "part",
          "text": "header - Selects the element which wraps elements added via `slot=\"header\"`"
        },
        {
          "name": "slot",
          "text": "action - Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element."
        },
        {
          "name": "slot",
          "text": "item - Add `mds-price-table-list-item` component, `HTML elements` or other `components` to this slot."
        },
        {
          "name": "slot",
          "text": "header - Add `text string`, `HTML elements` or `components` to this slot."
        },
        {
          "name": "slot",
          "text": "price - Add `text string`, `HTML elements` or `components` to this slot."
        },
        {
          "name": "parent",
          "text": "mds-price-table mds-price-table-header"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-price-table-list>` web component is a single pricing-plan column inside the [`<mds-price-table>`](../mds-price-table/AGENTS.md) layout container. It is a compound child that arranges a plan's heading, feature list, price and call-to-action into a consistent card-like structure built entirely from slots - it has no configurable props.\n\n#### Semantic Behavior\n\n- **Compound child**: Designed to sit inside [`<mds-price-table>`](../mds-price-table/AGENTS.md), directly or in its `<mds-price-table-header>`; one instance represents one pricing plan, and several siblings line up to form the comparison table. It is not used standalone.\n- **Owns the feature-list child type**: Feature rows are provided as `<mds-price-table-list-item>` elements - they are the intended child type for the list body.\n- **Conditional list region**: The feature region and the separator above it render only while feature items are present, items rendered after load included; a plan with no features collapses to header plus footer.\n- **No interactive state**: It renders pure structure with no ARIA attributes and no landmark (the feature region is a plain box), no selected/active/disabled state and no emitted events; any interactivity (e.g. the CTA) comes from the components you slot in, such as `<mds-button>` in the `action` slot.\n- **Footer composition**: The `price` and `action` slots are grouped together at the bottom of the card.\n\n#### Properties & Visual Configurations\n\n`<mds-price-table-list>` exposes no props; it is a layout-only child whose appearance is driven entirely by what you slot into it. Use the named slots to compose a plan:\n\n- **`header`**: the plan title and supporting description (typically `<mds-text>` elements); rendered at the top.\n- **`item`**: the feature rows. `<mds-price-table-list-item>` children assign themselves to it; any other element needs `slot=\"item\"`. There is no default slot: content without a `slot` is not rendered.\n- **`price`**: the plan's price, shown in the grouped footer.\n- **`action`**: the call-to-action; `<mds-button>` is recommended.\n\n`<mds-price-table-list>` has no public CSS custom property: the style hooks are the `header`, `content` and `footer` shadow parts, while the divider drawn between the header and the feature list keeps the colour the component gives it.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-price-table-list>` 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#### Minimal Plan Column (Header + Price + Action)\n\nThe simplest form: a plan name, a price, and a call-to-action. Feature rows are optional - the separator and the item region are omitted automatically when no `<mds-price-table-list-item>` children are present.\n\n```html\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Base</mds-text>\n  <mds-text typography=\"detail\" slot=\"header\">Adatto a professionisti individuali.</mds-text>\n\n  <mds-text typography=\"h2\" slot=\"price\">49 &euro;/mese</mds-text>\n  <mds-button slot=\"action\" variant=\"dark\">Inizia ora</mds-button>\n</mds-price-table-list>\n```\n\n#### Full Plan Column with Feature List\n\nAdd `<mds-price-table-list-item>` children directly inside the component (no explicit `slot` attribute needed - the element self-assigns to the correct internal slot). Use `supported` to toggle the check / dash icon.\n\n```html\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n  <mds-text typography=\"detail\" slot=\"header\">Ideale per team di medie dimensioni.</mds-text>\n\n  <mds-price-table-list-item supported>Funzionalita di base</mds-price-table-list-item>\n  <mds-price-table-list-item supported>Fino a 50 utenti</mds-price-table-list-item>\n  <mds-price-table-list-item supported>100 GB di spazio per utente</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 automatici</mds-price-table-list-item>\n  <mds-price-table-list-item>Accesso API</mds-price-table-list-item>\n  <mds-price-table-list-item>Report avanzati</mds-price-table-list-item>\n\n  <mds-text typography=\"h2\" slot=\"price\">99 &euro;/mese</mds-text>\n  <mds-button slot=\"action\" variant=\"primary\" tone=\"strong\">Attiva piano</mds-button>\n</mds-price-table-list>\n```\n\n#### Composing Multiple Plans Inside `<mds-price-table>`\n\n`<mds-price-table-list>` is a compound child of [`<mds-price-table>`](../mds-price-table/AGENTS.md). Place one instance per pricing plan as a direct slot child of the parent.\n\n```html\n<mds-price-table>\n  <mds-price-table-list>\n    <mds-text typography=\"h5\" slot=\"header\">Piano Base</mds-text>\n    <mds-price-table-list-item supported>Funzionalita essenziali</mds-price-table-list-item>\n    <mds-price-table-list-item>API access</mds-price-table-list-item>\n    <mds-text typography=\"h2\" slot=\"price\">29 &euro;</mds-text>\n    <mds-button slot=\"action\" variant=\"dark\">Scegli</mds-button>\n  </mds-price-table-list>\n\n  <mds-price-table-list>\n    <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n    <mds-price-table-list-item supported>Funzionalita essenziali</mds-price-table-list-item>\n    <mds-price-table-list-item supported>API access</mds-price-table-list-item>\n    <mds-text typography=\"h2\" slot=\"price\">79 &euro;</mds-text>\n    <mds-button slot=\"action\" variant=\"primary\" tone=\"strong\">Scegli</mds-button>\n  </mds-price-table-list>\n</mds-price-table>\n```\n\n#### Feature Item with Contextual Help\n\nNest an [`<mds-help>`](../mds-help/AGENTS.md) component inside a `<mds-price-table-list-item>` to add an inline tooltip for features that need extra explanation. Place it after the label text in the default slot.\n\n```html\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Enterprise</mds-text>\n\n  <mds-price-table-list-item supported>\n    SLA garantito\n    <mds-help>Disponibilita del 99,9% con monitoraggio dedicato.</mds-help>\n  </mds-price-table-list-item>\n  <mds-price-table-list-item supported>\n    Archiviazione illimitata\n    <mds-help>Soggetta a policy di utilizzo equo.</mds-help>\n  </mds-price-table-list-item>\n  <mds-price-table-list-item supported>Supporto telefonico 24/7</mds-price-table-list-item>\n\n  <mds-text typography=\"h2\" slot=\"price\">Su richiesta</mds-text>\n  <mds-button slot=\"action\" variant=\"primary\" tone=\"strong\">Contattaci</mds-button>\n</mds-price-table-list>\n```\n\n#### Adjusting Feature-Item Typography\n\n`<mds-price-table-list-item>` accepts a `typography` prop (`\"caption\"`, `\"detail\"` (default), `\"paragraph\"`) to match the density of the surrounding layout. Apply a consistent value to all items in the same list.\n\n```html\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Starter</mds-text>\n\n  <mds-price-table-list-item supported typography=\"caption\">5 utenti</mds-price-table-list-item>\n  <mds-price-table-list-item supported typography=\"caption\">1 GB di spazio</mds-price-table-list-item>\n  <mds-price-table-list-item typography=\"caption\">Esportazione dati</mds-price-table-list-item>\n\n  <mds-text typography=\"h3\" slot=\"price\">Gratuito</mds-text>\n  <mds-button slot=\"action\" variant=\"dark\" tone=\"outline\">Registrati</mds-button>\n</mds-price-table-list>\n```\n\n#### Highlighting a Plan\n\n`<mds-price-table-list>` has no public CSS custom property: the divider between the header and the feature list keeps the colour the component gives it, in every mode and contrast preference. To set a recommended plan apart, apply a Magma label-color utility class to the host instead, as in [`<mds-price-table>`](../mds-price-table/AGENTS.md).\n\n```html\n<mds-price-table-list class=\"bg-label-amaranth-10\">\n  <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n\n  <mds-price-table-list-item supported>Utenti illimitati</mds-price-table-list-item>\n\n  <mds-text typography=\"h3\" slot=\"price\">79 EUR</mds-text>\n  <mds-button slot=\"action\" variant=\"dark\">Attiva piano</mds-button>\n</mds-price-table-list>\n```\n\n#### Styling via Shadow Parts\n\nUse the documented `::part()` targets - `header`, `content`, and `footer` - when you need to override layout. Limit part overrides to layout-only changes; do not pierce the shadow DOM via `>>>` or undocumented class names.\n\n```css\nmds-price-table-list::part(footer) {\n  gap: calc(var(--spacing) * 300);\n}\n\nmds-price-table-list::part(header) {\n  padding-bottom: calc(var(--spacing) * 200);\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-price-table-list>`. 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 `<mds-price-table-list>` Outside `<mds-price-table>`\n\nThe component is a compound child of [`<mds-price-table>`](../mds-price-table/AGENTS.md) and relies on it (or on the `<mds-price-table-header>` inside it) for the stacking and the column grid it shares with the other plans. Using it standalone breaks the multi-column layout and misrepresents the pricing comparison.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Base</mds-text>\n  <mds-text typography=\"h2\" slot=\"price\">49 &euro;</mds-text>\n  <mds-button slot=\"action\" variant=\"dark\">Scegli</mds-button>\n</mds-price-table-list>\n\n<!-- CORRECT -->\n<mds-price-table>\n  <mds-price-table-list>\n    <mds-text typography=\"h5\" slot=\"header\">Piano Base</mds-text>\n    <mds-text typography=\"h2\" slot=\"price\">49 &euro;</mds-text>\n    <mds-button slot=\"action\" variant=\"dark\">Scegli</mds-button>\n  </mds-price-table-list>\n</mds-price-table>\n```\n\n#### Do Not Place Feature Items in the `header` Slot\n\nThe `header` slot is for the plan title and description only. `<mds-price-table-list-item>` assigns itself to the `item` slot when it renders, overwriting `slot=\"header\"`: the attribute is dead markup that only holds the row in the header region until it hydrates, then the row moves to the `content` region anyway. Leave the `slot` attribute off.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n  <mds-price-table-list-item slot=\"header\" supported>Funzionalita avanzate</mds-price-table-list-item>\n  <mds-text typography=\"h2\" slot=\"price\">99 &euro;</mds-text>\n  <mds-button slot=\"action\" variant=\"primary\">Attiva</mds-button>\n</mds-price-table-list>\n\n<!-- CORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n  <mds-price-table-list-item supported>Funzionalita avanzate</mds-price-table-list-item>\n  <mds-text typography=\"h2\" slot=\"price\">99 &euro;</mds-text>\n  <mds-button slot=\"action\" variant=\"primary\">Attiva</mds-button>\n</mds-price-table-list>\n```\n\n#### Do Not Replace `<mds-price-table-list-item>` with Raw HTML List Elements\n\nThe component has no default slot, so a `<ul>` without a `slot` attribute is not rendered at all; and even in the `item` slot, raw `<li>` or `<span>` elements lose the consistent supported/unsupported icon and the typography sizing of `<mds-price-table-list-item>`.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Base</mds-text>\n  <ul>\n    <li>Funzionalita di base</li>\n    <li>10 utenti</li>\n  </ul>\n  <mds-text typography=\"h2\" slot=\"price\">29 &euro;</mds-text>\n  <mds-button slot=\"action\" variant=\"dark\">Scegli</mds-button>\n</mds-price-table-list>\n\n<!-- CORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Base</mds-text>\n  <mds-price-table-list-item supported>Funzionalita di base</mds-price-table-list-item>\n  <mds-price-table-list-item supported>10 utenti</mds-price-table-list-item>\n  <mds-text typography=\"h2\" slot=\"price\">29 &euro;</mds-text>\n  <mds-button slot=\"action\" variant=\"dark\">Scegli</mds-button>\n</mds-price-table-list>\n```\n\n#### Do Not Set `supported=\"false\"` as a String\n\n`supported` is a boolean attribute: remove it entirely to show the unsupported (dash) state, 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\">Esportazione dati</mds-price-table-list-item>\n\n<!-- CORRECT -->\n<mds-price-table-list-item>Esportazione dati</mds-price-table-list-item>\n```\n\n#### Do Not Put the CTA in the `price` Slot\n\nThe `price` slot is for the price text only; the `action` slot is where `<mds-button>` belongs. Mixing them breaks the vertical stacking order and the footer layout.\n\n```html\n<!-- INCORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n  <mds-button slot=\"price\" variant=\"primary\">Attiva piano</mds-button>\n</mds-price-table-list>\n\n<!-- CORRECT -->\n<mds-price-table-list>\n  <mds-text typography=\"h5\" slot=\"header\">Piano Pro</mds-text>\n  <mds-text typography=\"h2\" slot=\"price\">79 &euro;/mese</mds-text>\n  <mds-button slot=\"action\" variant=\"primary\">Attiva piano</mds-button>\n</mds-price-table-list>\n```\n\n#### Do Not Pierce the Shadow DOM to Style Internal Regions\n\n`<mds-price-table-list>` has no public CSS custom property: the supported customization surface is the three documented `::part()` targets (`header`, `content`, `footer`). Targeting undocumented class names with `>>>` or deep selectors couples your code to the internal markup and breaks on minor releases.\n\n```css\n/* INCORRECT */\nmds-price-table-list >>> .main {\n  background-color: yellow;\n}\nmds-price-table-list::part(separator) {\n  height: 4px;\n}\n\n/* CORRECT */\nmds-price-table-list::part(content) {\n  gap: calc(var(--spacing) * 400);\n}\n```\n"
      },
      "props": [],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-price-table-list-separator-color",
          "annotation": "prop",
          "docs": "Color of the separator line in the price table list.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "action",
          "docs": "Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element."
        },
        {
          "name": "header",
          "docs": "Add `text string`, `HTML elements` or `components` to this slot."
        },
        {
          "name": "item",
          "docs": "Add `mds-price-table-list-item` component, `HTML elements` or other `components` to this slot."
        },
        {
          "name": "price",
          "docs": "Add `text string`, `HTML elements` or `components` to this slot."
        }
      ],
      "parts": [
        {
          "name": "content",
          "docs": "Selects the element which wraps elements added via `default slot`"
        },
        {
          "name": "footer",
          "docs": "Selects the element which wraps elements added via `slot=\"price\"` and `slot=\"action\"`"
        },
        {
          "name": "header",
          "docs": "Selects the element which wraps elements added via `slot=\"header\"`"
        }
      ],
      "states": [],
      "dependents": [],
      "dependencies": [
        "mds-separator"
      ],
      "dependencyGraph": {
        "mds-price-table-list": [
          "mds-separator"
        ]
      },
      "storybook": "ui-price-table-price-table-list--docs"
    }
  ]
}
