{
  "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-tab-item/mds-tab-item.tsx",
      "encapsulation": "shadow",
      "tag": "mds-tab-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": "part",
          "text": "button - The `mds-button` of the tab"
        },
        {
          "name": "parent",
          "text": "mds-tab"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-tab-item>` web component is the individual, clickable tab control of the Magma Design System, designed to be slotted into the default slot of its parent [`<mds-tab>`](../mds-tab/AGENTS.md). It acts as the trigger that switches the matching `content`-slotted panel inside the tab group.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be a direct child of `<mds-tab>` placed in its default slot; it is not used standalone, and the matching panel content is added separately into the parent's `content` slot (one per `<mds-tab-item>`, or none when the page shows the content itself). Mixing it with other child types breaks the parent's pairing.\n- **Link item**: With `href` the item renders a real link instead of a tab: it is announced as a link, with `aria-current` when selected, and the browser follows it, in a new tab on a modifier or middle click. A `click` listener on the item cancels the navigation with `preventDefault()` to route on the client; the selection still moves, except on a modifier click, which the browser opens elsewhere.\n- **Selection driven by the parent**: Clicking the item emits `mdsTabItemSelect`; `<mds-tab>` sets `selected` on the chosen item, clears it on the others, and reveals the corresponding panel.\n- **Initial selection**: Marking one item `selected` in markup tells the parent which tab is active on load.\n- **Focus reporting**: A key press emits `mdsTabItemFocus`, which the parent uses to scroll the focused tab into view; both events carry `{ target, value }` so the parent can resolve the item even with a custom `id`.\n- **Disabled guard**: When `disabled`, the item cannot be selected via pointer or keyboard.\n- **Sizing managed upstream**: `size` is pushed down from `<mds-tab>`, overriding the item's own `size` prop.\n\n#### Properties & Visual Configurations\n\nThis child does not use the shared `variant`/`tone` ladders; its props mirror the underlying `<mds-button>`.\n\n- **`value`**: Set this to identify the tab in the `mdsTabItemSelect` payload (and the parent's `mdsTabChange`) when you need to react to selection without relying on DOM index or `id`.\n- **`type`**: Defaults to `submit`; pick `button` for a plain tab that does not interact with a surrounding form. With `href` the item is a link and `type` has no effect.\n- **`icon`** / **`iconPosition`**: Add a leading (`left`, default) or trailing (`right`) glyph; use the trailing position for affordances like an external-link or dismiss hint.\n- **`await`**: Reflects the button's awaiting/loading state for tabs whose activation triggers an async operation.\n- **`size`**: Defaults to `md`, but is normally controlled by the parent's `size` prop, so set it on `<mds-tab>` for consistent sizing across all items.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-tab-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#### Basic Tab Group\n\nThe canonical form. Place `<mds-tab-item>` elements in the default slot of [`<mds-tab>`](../mds-tab/AGENTS.md), with one matching panel element per item in the `content` slot. Mark the initially active tab with `selected`.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Dettagli\" selected></mds-tab-item>\n  <mds-tab-item label=\"Allegati\"></mds-tab-item>\n  <mds-tab-item label=\"Cronologia\"></mds-tab-item>\n\n  <div slot=\"content\">\n    <p>Contenuto della scheda Dettagli.</p>\n  </div>\n  <div slot=\"content\">\n    <p>Elenco degli allegati.</p>\n  </div>\n  <div slot=\"content\">\n    <p>Cronologia delle modifiche.</p>\n  </div>\n</mds-tab>\n```\n\n#### Tabs with Icons\n\nUse the `icon` prop to add a glyph. `icon-position` defaults to `left`; set it to `right` for affordance glyphs such as external-link hints.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Profilo\" icon=\"mi/baseline/person\" selected></mds-tab-item>\n  <mds-tab-item label=\"Impostazioni\" icon=\"mi/baseline/settings\"></mds-tab-item>\n  <mds-tab-item label=\"Apri in nuova finestra\" icon=\"mi/baseline/open-in-new\" icon-position=\"right\"></mds-tab-item>\n\n  <div slot=\"content\"><p>Sezione profilo.</p></div>\n  <div slot=\"content\"><p>Sezione impostazioni.</p></div>\n  <div slot=\"content\"><p>Sezione apertura esterna.</p></div>\n</mds-tab>\n```\n\n#### Disabled Tab\n\nSet the `disabled` boolean attribute to block selection via pointer and keyboard.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Attivo\" selected></mds-tab-item>\n  <mds-tab-item label=\"Non disponibile\" disabled></mds-tab-item>\n\n  <div slot=\"content\"><p>Contenuto attivo.</p></div>\n  <div slot=\"content\"><p>Contenuto non ancora disponibile.</p></div>\n</mds-tab>\n```\n\n#### Controlled Selection via `value` and Event\n\nUse `value` to identify which tab was activated in the `mdsTabItemSelect` (or the parent's `mdsTabChange`) payload, instead of relying on DOM index.\n\n```html\n<mds-tab id=\"schede-pratica\">\n  <mds-tab-item label=\"Dati generali\" value=\"dati\" selected></mds-tab-item>\n  <mds-tab-item label=\"Documenti\" value=\"documenti\"></mds-tab-item>\n  <mds-tab-item label=\"Note\" value=\"note\"></mds-tab-item>\n\n  <div slot=\"content\"><p>Dati generali.</p></div>\n  <div slot=\"content\"><p>Documenti allegati.</p></div>\n  <div slot=\"content\"><p>Note operative.</p></div>\n</mds-tab>\n\n<script>\n  document.getElementById('schede-pratica').addEventListener('mdsTabChange', (e) => {\n    console.log('Tab attiva:', e.detail.value); // 'dati' | 'documenti' | 'note'\n  });\n</script>\n```\n\n#### Consistent Sizing via the Parent\n\nSet `size` on `<mds-tab>` once; the parent propagates it to every child item automatically. Do not set `size` on individual items when they all share the same parent.\n\n```html\n<!-- Tutti i tab usano size=\"sm\" -->\n<mds-tab size=\"sm\">\n  <mds-tab-item label=\"Riepilogo\" selected></mds-tab-item>\n  <mds-tab-item label=\"Dettaglio\"></mds-tab-item>\n\n  <div slot=\"content\"><p>Riepilogo.</p></div>\n  <div slot=\"content\"><p>Dettaglio.</p></div>\n</mds-tab>\n```\n\n#### Link Items via `href`\n\nSet `href` on every item to make the strip a navigation: each item is a link the browser follows instead of a tab switching a panel, so omit the `content` slot. `<mds-tab-item>` has no `target` prop, so a plain click opens the link in the same window; a modifier or middle click opens it in a new tab. In a single-page app, register the router once with `NavigationService` (from `@maggioli-design-system/magma/services`): a plain click on an item is then routed on the client, and the selection still moves.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Pratiche\" href=\"/pratiche\" selected></mds-tab-item>\n  <mds-tab-item label=\"Documenti\" href=\"/documenti\"></mds-tab-item>\n  <mds-tab-item label=\"Pagamenti\" href=\"/pagamenti\"></mds-tab-item>\n</mds-tab>\n\n<script type=\"module\">\n  import { NavigationService } from '@maggioli-design-system/magma/services';\n\n  NavigationService.setHandler((href) => router.navigate(href));\n</script>\n```\n\nWithout a registered router, cancel the click on the item and route by hand: the component honours `preventDefault()`. Leave a modifier click alone, so that the browser opens the link in a new tab.\n\n```html\n<script>\n  document.querySelectorAll('mds-tab-item[href]').forEach((item) => {\n    item.addEventListener('click', (event) => {\n      if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;\n      event.preventDefault();\n      router.navigate(item.href);\n    });\n  });\n</script>\n```\n\n#### Async Loading Tab via `await`\n\nSet `await` while the tab's content is loading. The item renders an inline spinner and blocks interaction until you remove the attribute.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Anteprima\" await selected></mds-tab-item>\n  <mds-tab-item label=\"Sorgente\"></mds-tab-item>\n\n  <div slot=\"content\"><p>Caricamento in corso...</p></div>\n  <div slot=\"content\"><p>Sorgente del documento.</p></div>\n</mds-tab>\n```\n\n#### Vertical Layout\n\nSet `direction=\"vertical\"` on the parent to stack the tabs alongside the panels.\n\n```html\n<mds-tab direction=\"vertical\">\n  <mds-tab-item label=\"Generale\" selected></mds-tab-item>\n  <mds-tab-item label=\"Sicurezza\"></mds-tab-item>\n  <mds-tab-item label=\"Notifiche\"></mds-tab-item>\n\n  <div slot=\"content\"><p>Impostazioni generali.</p></div>\n  <div slot=\"content\"><p>Impostazioni di sicurezza.</p></div>\n  <div slot=\"content\"><p>Preferenze notifiche.</p></div>\n</mds-tab>\n```\n\n#### CSS Customization\n\n`mds-tab-item` has no public CSS custom property: style it with its props (`size`, `icon`, `icon-position`), its `button` part and the public `--mds-tab-*` properties of the parent `mds-tab`. The resting, hover and selected states follow the parent and its `animation`. Use semantic color roles via `rgb(var(--magma-<role>))` so dark mode keeps working.\n\n```css\n.schede-contratto mds-tab {\n  --mds-tab-tabs-background: rgb(var(--magma-wash-soft));\n}\n.schede-contratto mds-tab-item::part(button) {\n  border-radius: var(--magma-radius-lg);\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-tab-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 `<mds-tab-item>` Outside `<mds-tab>`\n\nThe item communicates with its parent through Stencil's internal listener (`mdsTabItemSelect`); used standalone it has no tab-switching behavior and no aria context.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-item label=\"Dettagli\" selected></mds-tab-item>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Dettagli\" selected></mds-tab-item>\n  <div slot=\"content\"><p>Contenuto dei dettagli.</p></div>\n</mds-tab>\n```\n\n#### Do Not Wrap `<mds-tab-item>` in a Div or Other Element\n\nThe parent finds the items anywhere inside it, but it lays out and styles only its direct slot children (`::slotted(mds-tab-item)`): a wrapper takes their place in the tab strip, so the items lose the strip layout and their stacking above the slider indicator.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n  <div class=\"tab-group\">\n    <mds-tab-item label=\"Uno\" selected></mds-tab-item>\n    <mds-tab-item label=\"Due\"></mds-tab-item>\n  </div>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Uno\" selected></mds-tab-item>\n  <mds-tab-item label=\"Due\"></mds-tab-item>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Set `selected=\"false\"` to Deselect\n\n`selected` is a boolean attribute; `selected=\"false\"` leaves a `selected` attribute on the element that contradicts the state, so attribute selectors and checks still read the item as selected. Remove the attribute entirely to deselect.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-item label=\"Archivio\" selected=\"false\"></mds-tab-item>\n\n<!-- CORRECT -->\n<mds-tab-item label=\"Archivio\"></mds-tab-item>\n```\n\n#### Do Not Slot `<mds-icon>` or HTML to Add an Icon\n\n`<mds-tab-item>` has no documented default slot for content; it is a button-like leaf element. Use the `icon` prop to add a glyph.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-item>\n  <mds-icon name=\"mi/baseline/settings\"></mds-icon>\n  Impostazioni\n</mds-tab-item>\n\n<!-- CORRECT -->\n<mds-tab-item label=\"Impostazioni\" icon=\"mi/baseline/settings\"></mds-tab-item>\n```\n\n#### Do Not Override `size` on Individual Items When a Parent Size Is Set\n\nThe parent pushes its `size` down to every child item on load and whenever `size` changes. Setting `size` on individual items is overwritten and creates confusion about the source of truth.\n\n```html\n<!-- INCORRECT -->\n<mds-tab size=\"sm\">\n  <mds-tab-item label=\"Uno\" size=\"lg\" selected></mds-tab-item>\n  <mds-tab-item label=\"Due\" size=\"sm\"></mds-tab-item>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab size=\"sm\">\n  <mds-tab-item label=\"Uno\" selected></mds-tab-item>\n  <mds-tab-item label=\"Due\"></mds-tab-item>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Pierce the Shadow DOM to Style the Inner Button\n\n`mds-tab-item` has no public CSS custom property: the only supported customization surface is the documented `button` shadow part and the public `--mds-tab-*` properties of the parent `mds-tab`. Targeting internals via `::part(button) >>> .button` or undocumented selectors couples your code to the implementation.\n\n```css\n/* INCORRECT */\nmds-tab-item::part(button) >>> .text {\n  font-weight: 900;\n}\n\n/* CORRECT */\nmds-tab {\n  --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n}\nmds-tab-item::part(button) {\n  border-radius: var(--magma-radius-lg);\n}\n```\n\n#### Do Not Mix Content Panels and Tab Items Without a 1-to-1 Pairing\n\nThe parent resolves each content panel by index, matching it to the `mds-tab-item` at the same position. A mismatch breaks it: with fewer `slot=\"content\"` elements than tab items a tab shows no panel, with more the component throws while wiring them and no panel gets hidden. No panel at all is fine: the strip then only reports the selection, or navigates when the items have `href`.\n\n```html\n<!-- INCORRECT - two items, one content panel -->\n<mds-tab>\n  <mds-tab-item label=\"Uno\" selected></mds-tab-item>\n  <mds-tab-item label=\"Due\"></mds-tab-item>\n  <div slot=\"content\"><p>Contenuto unico.</p></div>\n</mds-tab>\n\n<!-- CORRECT - one content panel per tab item -->\n<mds-tab>\n  <mds-tab-item label=\"Uno\" selected></mds-tab-item>\n  <mds-tab-item label=\"Due\"></mds-tab-item>\n  <div slot=\"content\"><p>Contenuto del tab Uno.</p></div>\n  <div slot=\"content\"><p>Contenuto del tab Due.</p></div>\n</mds-tab>\n```\n\n#### Do Not Mix a Link Item with Panel Tabs\n\nA strip is either a `tablist` of tabs, each controlling a panel, or a navigation of links (`href` on every item): a link inside a tablist is not a child the role allows. Keep the link out of the strip, as an `<mds-button>` next to it (see [`mds-tab`](../mds-tab/AGENTS.md)).\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Locale\" selected></mds-tab-item>\n  <mds-tab-item label=\"Portale\" href=\"https://portale.example.com\"></mds-tab-item>\n  <div slot=\"content\"><p>Vista locale.</p></div>\n  <div slot=\"content\"></div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Locale\" selected></mds-tab-item>\n  <div slot=\"content\"><p>Vista locale.</p></div>\n</mds-tab>\n<mds-button label=\"Portale\" href=\"https://portale.example.com\" target=\"blank\" tone=\"text\"></mds-button>\n```\n"
      },
      "props": [
        {
          "name": "animation",
          "type": "\"fade\" | \"slide\" | undefined",
          "complexType": {
            "original": "HorizontalActionsAnimationType",
            "resolved": "\"fade\" | \"slide\" | undefined",
            "references": {
              "HorizontalActionsAnimationType": {
                "location": "import",
                "path": "@type/animation",
                "id": "src/type/animation.ts::HorizontalActionsAnimationType",
                "referenceLocation": "HorizontalActionsAnimationType"
              }
            }
          },
          "mutable": false,
          "attr": "animation",
          "reflectToAttr": true,
          "docs": "Reflects the parent tab selection animation (set by mds-tab); drives the\nslide-variant styling without :host-context",
          "docsTags": [],
          "values": [
            {
              "value": "fade",
              "type": "string"
            },
            {
              "value": "slide",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "await",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": false,
          "attr": "await",
          "reflectToAttr": true,
          "docs": "Specifies if the button is awaiting for a response",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "direction",
          "type": "\"horizontal\" | \"vertical\" | undefined",
          "complexType": {
            "original": "DirectionType",
            "resolved": "\"horizontal\" | \"vertical\" | undefined",
            "references": {
              "DirectionType": {
                "location": "import",
                "path": "@component/mds-tab/meta/type",
                "id": "src/components/mds-tab/meta/type.ts::DirectionType",
                "referenceLocation": "DirectionType"
              }
            }
          },
          "mutable": false,
          "attr": "direction",
          "reflectToAttr": true,
          "docs": "Reflects the parent tab layout direction (set by mds-tab); drives the\nvertical layout without :host-context",
          "docsTags": [],
          "values": [
            {
              "value": "horizontal",
              "type": "string"
            },
            {
              "value": "vertical",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "disabled",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "disabled",
          "reflectToAttr": true,
          "docs": "Specifies if the tab item is disabled or not",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "expanded",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "expanded",
          "reflectToAttr": false,
          "docs": "Specifies whether the popup the tab item opens is showing. Left unset the tab says nothing\nabout a popup, which is what a tab that opens none has to say.",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "href",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "href",
          "reflectToAttr": true,
          "docs": "Turns the tab into a link to this URL: the item renders a real anchor and is announced as a\nlink, not as a tab, with `aria-current` when selected. A client-side router registered with\n`NavigationService.setHandler()` (from `@maggioli-design-system/magma/services`) takes the\nplain clicks over; without one, a click listener on the host can still cancel the navigation\nwith `preventDefault()`.",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "icon",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "icon",
          "reflectToAttr": false,
          "docs": "The icon displayed in the tab item",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "iconPosition",
          "type": "\"left\" | \"right\" | undefined",
          "complexType": {
            "original": "ButtonIconPositionType",
            "resolved": "\"left\" | \"right\" | undefined",
            "references": {
              "ButtonIconPositionType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonIconPositionType",
                "referenceLocation": "ButtonIconPositionType"
              }
            }
          },
          "mutable": false,
          "attr": "icon-position",
          "reflectToAttr": false,
          "docs": "Specifies the horizontal position of the icon displayed in the tab item",
          "docsTags": [
            {
              "name": "default",
              "text": "'left'"
            }
          ],
          "default": "'left'",
          "values": [
            {
              "value": "left",
              "type": "string"
            },
            {
              "value": "right",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "label",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "label",
          "reflectToAttr": true,
          "docs": "The label of the tab item",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "selected",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "selected",
          "reflectToAttr": true,
          "docs": "Specifies if the tab item is selected or not",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "size",
          "type": "\"lg\" | \"md\" | \"sm\" | \"xl\" | undefined",
          "complexType": {
            "original": "ButtonSizeType",
            "resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\" | undefined",
            "references": {
              "ButtonSizeType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonSizeType",
                "referenceLocation": "ButtonSizeType"
              }
            }
          },
          "mutable": false,
          "attr": "size",
          "reflectToAttr": true,
          "docs": "Specifies the size for the tab item",
          "docsTags": [
            {
              "name": "default",
              "text": "'md'"
            }
          ],
          "default": "'md'",
          "values": [
            {
              "value": "lg",
              "type": "string"
            },
            {
              "value": "md",
              "type": "string"
            },
            {
              "value": "sm",
              "type": "string"
            },
            {
              "value": "xl",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "type",
          "type": "\"a\" | \"button\" | \"reset\" | \"submit\" | undefined",
          "complexType": {
            "original": "ButtonType",
            "resolved": "\"a\" | \"button\" | \"reset\" | \"submit\" | undefined",
            "references": {
              "ButtonType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonType",
                "referenceLocation": "ButtonType"
              }
            }
          },
          "mutable": false,
          "attr": "type",
          "reflectToAttr": false,
          "docs": "The type of the tab item element",
          "docsTags": [
            {
              "name": "default",
              "text": "'submit'"
            }
          ],
          "default": "'submit'",
          "values": [
            {
              "value": "a",
              "type": "string"
            },
            {
              "value": "button",
              "type": "string"
            },
            {
              "value": "reset",
              "type": "string"
            },
            {
              "value": "submit",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "value",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "value",
          "reflectToAttr": true,
          "docs": "Specifies an optional value to get from mdsTabItemSelect event",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [
        {
          "event": "mdsTabItemFocus",
          "detail": "MdsTabItemEventDetail",
          "bubbles": true,
          "complexType": {
            "original": "MdsTabItemEventDetail",
            "resolved": "MdsTabItemEventDetail",
            "references": {
              "MdsTabItemEventDetail": {
                "location": "import",
                "path": "./meta/event-detail",
                "id": "src/components/mds-tab-item/meta/event-detail.ts::MdsTabItemEventDetail",
                "referenceLocation": "MdsTabItemEventDetail"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when the tab item is selected",
          "docsTags": []
        },
        {
          "event": "mdsTabItemSelect",
          "detail": "MdsTabItemEventDetail",
          "bubbles": true,
          "complexType": {
            "original": "MdsTabItemEventDetail",
            "resolved": "MdsTabItemEventDetail",
            "references": {
              "MdsTabItemEventDetail": {
                "location": "import",
                "path": "./meta/event-detail",
                "id": "src/components/mds-tab-item/meta/event-detail.ts::MdsTabItemEventDetail",
                "referenceLocation": "MdsTabItemEventDetail"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when the tab item is selected",
          "docsTags": []
        }
      ],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-tab-item-default-background",
          "annotation": "prop",
          "docs": "Default background color of a tab item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-default-shadow",
          "annotation": "prop",
          "docs": "Default shadow of a tab item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-hover-background",
          "annotation": "prop",
          "docs": "Background color when hovering a tab item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-selected-background",
          "annotation": "prop",
          "docs": "Background color of a selected tab item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-selected-shadow",
          "annotation": "prop",
          "docs": "Shadow of a selected tab item.",
          "visibility": "internal"
        }
      ],
      "slots": [],
      "parts": [
        {
          "name": "button",
          "docs": "The `mds-button` of the tab"
        }
      ],
      "states": [],
      "dependents": [
        "mds-input-date-range",
        "mds-input-upload",
        "mds-pref-animation",
        "mds-pref-consumption",
        "mds-pref-contrast",
        "mds-pref-language",
        "mds-pref-mode",
        "mds-pref-theme"
      ],
      "dependencies": [
        "mds-button"
      ],
      "dependencyGraph": {
        "mds-tab-item": [
          "mds-button"
        ],
        "mds-button": [
          "mds-icon",
          "mds-spinner",
          "mds-text"
        ],
        "mds-input-date-range": [
          "mds-tab-item"
        ],
        "mds-input-upload": [
          "mds-tab-item"
        ],
        "mds-pref-animation": [
          "mds-tab-item"
        ],
        "mds-pref-consumption": [
          "mds-tab-item"
        ],
        "mds-pref-contrast": [
          "mds-tab-item"
        ],
        "mds-pref-language": [
          "mds-tab-item"
        ],
        "mds-pref-mode": [
          "mds-tab-item"
        ],
        "mds-pref-theme": [
          "mds-tab-item"
        ]
      },
      "storybook": "ui-tab-tab-item--docs"
    }
  ]
}
