{
  "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/mds-tab.tsx",
      "encapsulation": "shadow",
      "tag": "mds-tab",
      "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": "contents - Selects the container of the tabbed contents elements."
        },
        {
          "name": "part",
          "text": "slider - Selects the slider element which is visible when attribute `animation` is set to `slide`."
        },
        {
          "name": "part",
          "text": "tabs - Selects the container of `mds-tab-item` list elements."
        },
        {
          "name": "slot",
          "text": "content - Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the\nitems are links (`href`) to other pages or places and the page, not the component, shows the\ncontent."
        },
        {
          "name": "slot",
          "text": "- Add `mds-tab-item` element/s."
        },
        {
          "name": "category",
          "text": "navigation"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-tab>` web component is the compound container that orchestrates a tabbed navigation in the Magma Design System. It is the parent wrapper around a set of `<mds-tab-item>` triggers and, when the component shows the content itself, their content panels, providing the ARIA `tablist` structure, selection state, scrolling and the animated selection indicator.\n\n#### Semantic Behavior\n\n- **Compound parent**: Expects `<mds-tab-item>` elements in the default slot; each panel in the named `content` slot is wired up automatically and paired by document order; a panel past the last item has no tab to open it, so it stays hidden and the component logs a console warning. The panels are optional: without them the component shows the strip alone, and the page shows the content, driven by `mdsTabChange` or by navigation.\n- **Navigation strip**: When every item has `href`, the items are links (announced as such, the selected one as current) and the strip is no longer a `tablist`: the browser follows the links, in a new tab on a modifier or middle click, and the strip keeps the selected item highlighted. A client-side router cancels the click on the item with `preventDefault()` and routes; a modifier click leaves the selection alone.\n- **Selection ownership**: The active tab is whichever `<mds-tab-item>` carries `selected`; the parent flips `selected` across siblings, shows the corresponding content panel and hides the rest.\n- **Change event**: Emits `mdsTabChange` with the selected item's index (`id`) and `value` whenever the active child changes.\n- **Focus restoration**: After a keyboard activation it re-focuses the selected item's button, so the user does not have to re-locate the tab. An item selected from code (`selected` set by the page) leaves the focus where it is.\n- **Auto-scroll into view**: On selection or child focus, the active tab is scrolled to the center of its strip.\n- **Overflow tracking**: When `overflow` is enabled, left/right inset shadows appear while the tabs overflow their container.\n- **Size propagation**: The parent `size` is pushed down onto every nested `<mds-tab-item>`, so children should not be sized individually.\n\n#### Properties & Visual Configurations\n\n- **`direction`** chooses whether the tab strip is laid out `'horizontal'` (default) or `'vertical'`.\n- **`animation`** governs the transition between active items: `'slide'` (default) renders the moving slider indicator, while `'fade'` cross-fades without the slider. The slider slides only when the selection changes: on load, and when the strip is shown again after being hidden, it is already under the selected tab.\n- **`fill`** makes the tab strip stretch to occupy the full available width rather than hugging its content.\n- **`overflow`** enables the inset-shadow affordance that signals more tabs exist beyond the visible edges; **`scrollbar`** instead exposes the native horizontal scrollbar for accessibility.\n\n#### Other behavioral props\n\n- **`size`** sets the scale (`'sm'` / `'md'`) for the whole group and is forwarded to the child items; it is the only way to size the tabs consistently.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-tab>` 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 with Managed Panels\n\nThe canonical form. Put `<mds-tab-item>` elements in the default slot and one content element per tab in the named `content` slot. Mark the initially-visible tab with `selected`. Panels are wired up by document order - the first `[slot=content]` element is paired with the first `<mds-tab-item>`.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Panoramica\" selected></mds-tab-item>\n  <mds-tab-item label=\"Dettagli\"></mds-tab-item>\n  <mds-tab-item label=\"Allegati\"></mds-tab-item>\n\n  <div slot=\"content\">\n    <mds-text>Contenuto della scheda Panoramica.</mds-text>\n  </div>\n  <div slot=\"content\">\n    <mds-text>Contenuto della scheda Dettagli.</mds-text>\n  </div>\n  <div slot=\"content\">\n    <mds-text>Contenuto della scheda Allegati.</mds-text>\n  </div>\n</mds-tab>\n```\n\n#### Listening to Tab Changes\n\nListen to the `mdsTabChange` event to react when the active panel changes. The event detail carries the zero-based `id` (index) and the optional `value` of the newly selected `<mds-tab-item>`.\n\n```html\n<mds-tab id=\"schede-pratica\">\n  <mds-tab-item label=\"Anagrafica\" value=\"anagrafica\" selected></mds-tab-item>\n  <mds-tab-item label=\"Documenti\" value=\"documenti\"></mds-tab-item>\n  <mds-tab-item label=\"Pagamenti\" value=\"pagamenti\"></mds-tab-item>\n</mds-tab>\n\n<script>\n  document.querySelector('#schede-pratica').addEventListener('mdsTabChange', (e) => {\n    console.log('scheda attiva:', e.detail.id, e.detail.value);\n  });\n</script>\n```\n\n#### Tab Items with Icons\n\nPass an icon slug to `<mds-tab-item>` via the `icon` prop. Icon position defaults to `left`; use `icon-position=\"right\"` for forward-navigation tabs.\n\n```html\n<mds-tab>\n  <mds-tab-item label=\"Utente\" 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=\"Notifiche\" icon=\"mi/baseline/notifications\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Profilo utente.</mds-text></div>\n  <div slot=\"content\"><mds-text>Impostazioni account.</mds-text></div>\n  <div slot=\"content\"><mds-text>Cronologia notifiche.</mds-text></div>\n</mds-tab>\n```\n\n#### Fill the Available Width\n\nSet `fill` when the tab strip should stretch to occupy the full container width instead of hugging its content.\n\n```html\n<mds-tab fill>\n  <mds-tab-item label=\"Riepilogo\" selected></mds-tab-item>\n  <mds-tab-item label=\"Cronologia\"></mds-tab-item>\n  <mds-tab-item label=\"Statistiche\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Riepilogo pratica.</mds-text></div>\n  <div slot=\"content\"><mds-text>Registro modifiche.</mds-text></div>\n  <div slot=\"content\"><mds-text>Dati statistici.</mds-text></div>\n</mds-tab>\n```\n\n#### Vertical Direction\n\nUse `direction=\"vertical\"` to stack the tab strip on the side. Pair it with `--mds-tab-direction-vertical-columns` to control the column widths of the sidebar and the content area.\n\n```html\n<mds-tab direction=\"vertical\">\n  <mds-tab-item label=\"Dati generali\" selected></mds-tab-item>\n  <mds-tab-item label=\"Indirizzi\"></mds-tab-item>\n  <mds-tab-item label=\"Contatti\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Dati generali.</mds-text></div>\n  <div slot=\"content\"><mds-text>Indirizzi registrati.</mds-text></div>\n  <div slot=\"content\"><mds-text>Recapiti di contatto.</mds-text></div>\n</mds-tab>\n```\n\n#### Fade Animation\n\nSwitch to `animation=\"fade\"` to highlight the selected tab in place instead of moving the slider indicator. The panels switch without animation in both modes.\n\n```html\n<mds-tab animation=\"fade\">\n  <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n  <mds-tab-item label=\"Seconda\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Pannello 1.</mds-text></div>\n  <div slot=\"content\"><mds-text>Pannello 2.</mds-text></div>\n</mds-tab>\n```\n\n#### Overflow Shadow for Many Tabs\n\nEnable `overflow` when the tab strip can contain more items than the viewport permits. Left and right inset shadows appear whenever tabs overflow their container, signalling that scrolling is possible.\n\n```html\n<mds-tab overflow>\n  <mds-tab-item label=\"Gennaio\" selected></mds-tab-item>\n  <mds-tab-item label=\"Febbraio\"></mds-tab-item>\n  <mds-tab-item label=\"Marzo\"></mds-tab-item>\n  <mds-tab-item label=\"Aprile\"></mds-tab-item>\n  <mds-tab-item label=\"Maggio\"></mds-tab-item>\n  <mds-tab-item label=\"Giugno\"></mds-tab-item>\n  <mds-tab-item label=\"Luglio\"></mds-tab-item>\n  <mds-tab-item label=\"Agosto\"></mds-tab-item>\n  <mds-tab-item label=\"Settembre\"></mds-tab-item>\n  <mds-tab-item label=\"Ottobre\"></mds-tab-item>\n  <mds-tab-item label=\"Novembre\"></mds-tab-item>\n  <mds-tab-item label=\"Dicembre\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Scrollbar for Accessible Overflow\n\nUse `scrollbar` instead of (or alongside) `overflow` to expose the native horizontal scrollbar. This is the accessible complement for users who navigate via keyboard or who have motor difficulties.\n\n```html\n<mds-tab scrollbar overflow>\n  <mds-tab-item label=\"Sezione A\" selected></mds-tab-item>\n  <mds-tab-item label=\"Sezione B\"></mds-tab-item>\n  <mds-tab-item label=\"Sezione C\"></mds-tab-item>\n  <mds-tab-item label=\"Sezione D\"></mds-tab-item>\n  <mds-tab-item label=\"Sezione E\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Sizing\n\nSet `size` on the parent to scale all tabs uniformly. Do not set `size` on individual `<mds-tab-item>` elements - the parent propagates the value automatically.\n\n```html\n<!-- Compact strip, e.g. inside a sidebar or dense toolbar -->\n<mds-tab size=\"sm\">\n  <mds-tab-item label=\"Vista elenco\" selected></mds-tab-item>\n  <mds-tab-item label=\"Vista griglia\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Navigation Links (href on Tab Items)\n\nWhen each tab leads to an anchor, another page or a route, set `href` on every `<mds-tab-item>` and omit the `content` slot: the items render as links, the browser follows them (in a new tab on a modifier or middle click) and the strip keeps the selected item highlighted. The page content is driven by navigation, not by the managed-panels mechanism.\n\n```html\n<mds-tab>\n  <mds-tab-item href=\"#sezione-1\" label=\"Introduzione\" selected></mds-tab-item>\n  <mds-tab-item href=\"#sezione-2\" label=\"Requisiti\"></mds-tab-item>\n  <mds-tab-item href=\"#sezione-3\" label=\"Conclusioni\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Client-Side Routing (href on Tab Items)\n\nIn a single-page app keep `href` on the items and register the router once with `NavigationService`, from `@maggioli-design-system/magma/services`: a plain click on an item is routed on the client and the selection still moves, with no listener per item. A modifier or middle click stays with the browser, which opens the link in a new tab while the strip stays as it is.\n\n```html\n<mds-tab id=\"sezioni\">\n  <mds-tab-item href=\"/pratiche\" label=\"Pratiche\" selected></mds-tab-item>\n  <mds-tab-item href=\"/documenti\" label=\"Documenti\"></mds-tab-item>\n  <mds-tab-item href=\"/pagamenti\" label=\"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 items and route by hand: the component honours `preventDefault()` and still moves the selection. Leave a modifier click alone.\n\n```html\n<script>\n  document.querySelectorAll('#sezioni mds-tab-item').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#### Disabled Tab Item\n\nMark an individual tab as unavailable with `disabled`. The parent's selection mechanism skips it; the tab is removed from the tab order automatically.\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  <mds-tab-item label=\"Altro\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Contenuto disponibile.</mds-text></div>\n  <div slot=\"content\"><mds-text>Contenuto non disponibile.</mds-text></div>\n  <div slot=\"content\"><mds-text>Altro contenuto.</mds-text></div>\n</mds-tab>\n```\n\n#### Styling Customization\n\nStyle the component only through its public `--mds-tab-*` CSS custom properties: the background, margin and shadow of the tab strip and the columns of the vertical layout. The colours and shadows of the items and the timing of the transitions are not part of them. Set them on the host or a parent selector; use semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.scheda-primaria mds-tab {\n  --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n  --mds-tab-tabs-wrapper-shadow: 0 0 0 calc(var(--spacing) * 50) rgb(var(--magma-accent-border)) inset;\n}\n```\n\nWith `animation=\"fade\"` every item paints its own states (resting, hover and selected). With the slider (`animation=\"slide\"`) the items stay transparent over it, and the slider (`::part(slider)`) paints the selected one.\n",
        "3. Mistakes": "Common incorrect uses of `<mds-tab>`. 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 Size Individual Tab Items\n\nSetting `size` on a `<mds-tab-item>` directly is overridden by the parent at render time. Use the `size` prop on `<mds-tab>` to size all tabs uniformly.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Elenco\" size=\"sm\" selected></mds-tab-item>\n  <mds-tab-item label=\"Griglia\" size=\"sm\"></mds-tab-item>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab size=\"sm\">\n  <mds-tab-item label=\"Elenco\" selected></mds-tab-item>\n  <mds-tab-item label=\"Griglia\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Do Not Mix Tab Items and Content Panels Out of Order\n\nPanels in `slot=\"content\"` are wired to `<mds-tab-item>` elements by document order. A missing panel leaves its tab with no content, a wrong ordering shows the wrong panel when a tab is selected.\n\n```html\n<!-- INCORRECT: only two content panels for three tab items -->\n<mds-tab>\n  <mds-tab-item label=\"A\" selected></mds-tab-item>\n  <mds-tab-item label=\"B\"></mds-tab-item>\n  <mds-tab-item label=\"C\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Pannello A.</mds-text></div>\n  <div slot=\"content\"><mds-text>Pannello B.</mds-text></div>\n</mds-tab>\n\n<!-- CORRECT: one content panel per tab item, same order -->\n<mds-tab>\n  <mds-tab-item label=\"A\" selected></mds-tab-item>\n  <mds-tab-item label=\"B\"></mds-tab-item>\n  <mds-tab-item label=\"C\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Pannello A.</mds-text></div>\n  <div slot=\"content\"><mds-text>Pannello B.</mds-text></div>\n  <div slot=\"content\"><mds-text>Pannello C.</mds-text></div>\n</mds-tab>\n```\n\n#### Do Not Mix Link Items and Panel Tabs in One Strip\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, and assistive technology announces the strip wrong. Keep the link out of the strip, as an `<mds-button>` next to it.\n\n```html\n<!-- INCORRECT -->\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=\"Portale\" href=\"https://portale.example.com\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Dettagli.</mds-text></div>\n  <div slot=\"content\"><mds-text>Allegati.</mds-text></div>\n  <div slot=\"content\"></div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Dettagli\" selected></mds-tab-item>\n  <mds-tab-item label=\"Allegati\"></mds-tab-item>\n\n  <div slot=\"content\"><mds-text>Dettagli.</mds-text></div>\n  <div slot=\"content\"><mds-text>Allegati.</mds-text></div>\n</mds-tab>\n<mds-button label=\"Portale\" href=\"https://portale.example.com\" target=\"blank\" tone=\"text\"></mds-button>\n```\n\n#### Do Not Put Tab Items Outside `<mds-tab>`\n\n`<mds-tab-item>` communicates with its parent through internal Stencil events. Used outside `<mds-tab>` it renders as an inert button with no selection, panel, or keyboard management.\n\n```html\n<!-- INCORRECT -->\n<div class=\"my-tab-wrapper\">\n  <mds-tab-item label=\"Scheda uno\" selected></mds-tab-item>\n  <mds-tab-item label=\"Scheda due\"></mds-tab-item>\n</div>\n<div>...</div>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Scheda uno\" selected></mds-tab-item>\n  <mds-tab-item label=\"Scheda due\"></mds-tab-item>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Listen to the `mdsTabItemSelect` Event from Outside\n\n`mdsTabItemSelect` is the item-level event that `<mds-tab-item>` fires to its parent `<mds-tab>`: its `detail` carries the item element (`target`) and `value`, not the position of the tab. To react to the active tab of the group listen to `mdsTabChange` on `<mds-tab>`, whose `detail` has the tab index (`id`) and `value`.\n\n```html\n<!-- INCORRECT -->\n<mds-tab id=\"schede\">\n  <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n  <mds-tab-item label=\"Seconda\"></mds-tab-item>\n</mds-tab>\n\n<script>\n  document.querySelector('#schede').addEventListener('mdsTabItemSelect', handler);\n</script>\n\n<!-- CORRECT -->\n<mds-tab id=\"schede\">\n  <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n  <mds-tab-item label=\"Seconda\"></mds-tab-item>\n</mds-tab>\n\n<script>\n  document.querySelector('#schede').addEventListener('mdsTabChange', handler);\n</script>\n```\n\n#### Do Not Use `scrollbar=\"false\"` or `overflow=\"false\"` to Turn Off Boolean Props\n\nStencil reads `\"false\"` as `false` and, since both props are reflected, removes the attribute at the first render, so this happens to work; but the markup says the opposite of what it does, and on a prop that is not reflected the attribute stays in the DOM, where `[attr]` selectors still match it. Remove the attribute entirely to turn a prop off.\n\n```html\n<!-- INCORRECT -->\n<mds-tab scrollbar=\"false\" overflow=\"false\">\n  <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n</mds-tab>\n```\n\n#### Do Not Place Raw HTML Instead of `<mds-tab-item>` in the Default Slot\n\nThe default slot expects `<mds-tab-item>` elements only. Placing a raw `<button>` or `<a>` there bypasses the ARIA `tablist` structure, selection management, and keyboard handling that `<mds-tab>` provides.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n  <button class=\"tab\">Documenti</button>\n  <button class=\"tab\">Messaggi</button>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n  <mds-tab-item label=\"Documenti\" selected></mds-tab-item>\n  <mds-tab-item label=\"Messaggi\"></mds-tab-item>\n  <div slot=\"content\">...</div>\n  <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Customize via Undocumented Shadow Parts or Internal Selectors\n\nThe supported customization surface is the public `--mds-tab-*` CSS custom properties and the documented shadow parts (`tabs`, `contents`, `slider`). Targeting other internals via `>>>`, `/deep/`, or undocumented class names couples your code to the shadow DOM implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-tab >>> .tabs-wrapper {\n  background: red;\n}\nmds-tab::part(tabs-wrapper) {\n  padding: 0;\n}\n\n/* CORRECT */\nmds-tab {\n  --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n}\nmds-tab::part(tabs) {\n  outline: 2px solid rgb(var(--magma-accent-border));\n}\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": "Sets the animation type of the selection transition between `mds-tab-item` elements",
          "docsTags": [
            {
              "name": "default",
              "text": "'slide'"
            }
          ],
          "default": "'slide'",
          "values": [
            {
              "value": "fade",
              "type": "string"
            },
            {
              "value": "slide",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "direction",
          "type": "\"horizontal\" | \"vertical\" | undefined",
          "complexType": {
            "original": "DirectionType",
            "resolved": "\"horizontal\" | \"vertical\" | undefined",
            "references": {
              "DirectionType": {
                "location": "import",
                "path": "./meta/type",
                "id": "src/components/mds-tab/meta/type.ts::DirectionType",
                "referenceLocation": "DirectionType"
              }
            }
          },
          "mutable": true,
          "attr": "direction",
          "reflectToAttr": true,
          "docs": "Sets if the component distributes item vertically or horzontally",
          "docsTags": [
            {
              "name": "default",
              "text": "'horizontal'"
            }
          ],
          "default": "'horizontal'",
          "values": [
            {
              "value": "horizontal",
              "type": "string"
            },
            {
              "value": "vertical",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "fill",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "fill",
          "reflectToAttr": true,
          "docs": "Sets if the tab area should fill the entire width",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "overflow",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "overflow",
          "reflectToAttr": true,
          "docs": "Sets if the tab area should show an inset shadow when the tabs overflows it's container",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "scrollbar",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "scrollbar",
          "reflectToAttr": true,
          "docs": "Shows the horizontal scrollbar to maximize accessibility",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "size",
          "type": "\"md\" | \"sm\" | undefined",
          "complexType": {
            "original": "TabSizeType",
            "resolved": "\"md\" | \"sm\" | undefined",
            "references": {
              "TabSizeType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::TabSizeType",
                "referenceLocation": "TabSizeType"
              }
            }
          },
          "mutable": true,
          "attr": "size",
          "reflectToAttr": true,
          "docs": "Sets the size of the component items nested inside it",
          "docsTags": [],
          "values": [
            {
              "value": "md",
              "type": "string"
            },
            {
              "value": "sm",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [
        {
          "event": "mdsTabChange",
          "detail": "MdsTabEventDetail",
          "bubbles": true,
          "complexType": {
            "original": "MdsTabEventDetail",
            "resolved": "MdsTabEventDetail",
            "references": {
              "MdsTabEventDetail": {
                "location": "import",
                "path": "./meta/event-detail",
                "id": "src/components/mds-tab/meta/event-detail.ts::MdsTabEventDetail",
                "referenceLocation": "MdsTabEventDetail"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when a children is changed",
          "docsTags": []
        }
      ],
      "listeners": [
        {
          "event": "mdsTabItemSelect",
          "capture": false,
          "passive": false
        },
        {
          "event": "mdsTabItemFocus",
          "capture": false,
          "passive": false
        }
      ],
      "styles": [
        {
          "name": "--mds-tab-direction-vertical-columns",
          "annotation": "prop",
          "docs": "Defines the column layout for vertical tabs.",
          "visibility": "public"
        },
        {
          "name": "--mds-tab-item-default-background",
          "annotation": "prop",
          "docs": "Background color for default tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-default-color",
          "annotation": "prop",
          "docs": "Text color for default tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-default-shadow",
          "annotation": "prop",
          "docs": "Shadow for default tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-hover-background",
          "annotation": "prop",
          "docs": "Background color for hovered tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-hover-color",
          "annotation": "prop",
          "docs": "Text color for hovered tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-hover-shadow",
          "annotation": "prop",
          "docs": "Shadow for hovered tab items, the default shadow when not set.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-radius",
          "annotation": "prop",
          "docs": "Border radius for tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-selected-background",
          "annotation": "prop",
          "docs": "Background color for selected tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-selected-color",
          "annotation": "prop",
          "docs": "Text color for selected tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-item-selected-shadow",
          "annotation": "prop",
          "docs": "Shadow for selected tab items.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-scroll-behavior",
          "annotation": "prop",
          "docs": "Scroll behavior for tab container.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-scroll-scrollbar-margin",
          "annotation": "prop",
          "docs": "Margin for scrollbar.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-scroll-scrollbar-radius",
          "annotation": "prop",
          "docs": "Radius of scrollbar.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-scroll-scrollbar-size",
          "annotation": "prop",
          "docs": "Size of scrollbar.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-scroll-scrollbar-thumb-background",
          "annotation": "prop",
          "docs": "Background color of scrollbar thumb.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-scroll-scrollbar-track-background",
          "annotation": "prop",
          "docs": "Background color of scrollbar track.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-slide-delay",
          "annotation": "prop",
          "docs": "Delay before tab slide animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-background",
          "annotation": "prop",
          "docs": "Background color of the tabs container.",
          "visibility": "public"
        },
        {
          "name": "--mds-tab-tabs-gap",
          "annotation": "prop",
          "docs": "Gap between tabs.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-overflow-shadow",
          "annotation": "prop",
          "docs": "Shadow applied to overflowed tabs.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-overflow-shadow-size",
          "annotation": "prop",
          "docs": "Size of the overflow shadow.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-padding",
          "annotation": "prop",
          "docs": "Padding inside the tabs container.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-radius",
          "annotation": "prop",
          "docs": "Border radius of the tabs container.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-wrapper-margin",
          "annotation": "prop",
          "docs": "Margin for the tabs wrapper.",
          "visibility": "public"
        },
        {
          "name": "--mds-tab-tabs-wrapper-outline-opacity",
          "annotation": "prop",
          "docs": "Opacity of the wrapper outline.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-tabs-wrapper-shadow",
          "annotation": "prop",
          "docs": "Shadow for the tabs wrapper.",
          "visibility": "public"
        },
        {
          "name": "--mds-tab-tabs-wrapper-shadow-color",
          "annotation": "prop",
          "docs": "Color of the wrapper shadow.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-transition-duration",
          "annotation": "prop",
          "docs": "Duration of tab transition animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tab-transition-timing-function",
          "annotation": "prop",
          "docs": "Timing function for tab transition animation.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Add `mds-tab-item` element/s."
        },
        {
          "name": "content",
          "docs": "Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the\nitems are links (`href`) to other pages or places and the page, not the component, shows the\ncontent."
        }
      ],
      "parts": [
        {
          "name": "contents",
          "docs": "Selects the container of the tabbed contents elements."
        },
        {
          "name": "slider",
          "docs": "Selects the slider element which is visible when attribute `animation` is set to `slide`."
        },
        {
          "name": "tabs",
          "docs": "Selects the container of `mds-tab-item` list elements."
        }
      ],
      "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": [],
      "dependencyGraph": {
        "mds-input-date-range": [
          "mds-tab"
        ],
        "mds-input-upload": [
          "mds-tab"
        ],
        "mds-pref-animation": [
          "mds-tab"
        ],
        "mds-pref-consumption": [
          "mds-tab"
        ],
        "mds-pref-contrast": [
          "mds-tab"
        ],
        "mds-pref-language": [
          "mds-tab"
        ],
        "mds-pref-mode": [
          "mds-tab"
        ],
        "mds-pref-theme": [
          "mds-tab"
        ]
      },
      "storybook": "ui-tab--docs"
    }
  ]
}
