{
  "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-button/mds-button.tsx",
      "encapsulation": "shadow",
      "tag": "mds-button",
      "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` to this slot, **avoid** to add `HTML elements` or `components` here."
        },
        {
          "name": "slot",
          "text": "notification - Add `HTML elements` or `components`, it is **recommended** to use `mds-notification` element."
        },
        {
          "name": "part",
          "text": "icon - The icon inside the component"
        },
        {
          "name": "part",
          "text": "label - The text of the button: the `label`, or the default slot when `label` is not set"
        },
        {
          "name": "category",
          "text": "actions"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-button>` web component is the primary interactive action control of the Magma Design System. It renders as a button, or as a link when `href` is set, handling form association, accessibility, loading state, and iconography natively.\n\n#### Semantic Behavior\n\n- **Button vs. link**: Providing `href` renders a real anchor inside the component and gives the host `role=\"link\"`. The browser follows the link, so a modifier or middle click opens it in a new tab and the context menu offers the link actions; `target=\"blank\"` opens a new tab on a plain click too. A `click` listener on the host cancels the navigation with `preventDefault()`, which is how a client-side router takes over. A click from the keyboard, a script or an assistive technology lands on the host and is followed the same way, unless cancelled.\n- **Download**: with `href`, `download` saves the file instead of opening it, as on a native `<a download>`: with no value the file keeps the name the server gives it, a value names the saved file. Browsers apply it to the URLs of the origin of the page, `blob:` and `data:` only. A download never goes to the router: the click of the pointer, of the keyboard and of a script all reach the anchor, which saves the file.\n- **Form association**: Inside a `<form>` the component submits (`type=\"submit\"`, default) or resets (`type=\"reset\"`) it like a native button, with no extra wiring; use `type=\"button\"` to opt out. With `name` set, a submit sends `name=value`, so buttons that submit the same form tell the receiver which one was chosen. A custom element cannot be a submitter, so `event.submitter` is a hidden native button that stands in for the component: it carries the same `name` and `value`, but it is not the `mds-button` element.\n- **Active state**: Mirrors a visual pressed state through the `active` attribute, safe to drive from CSS attribute selectors. It is cleared when the pointer is released: it does not mark the view you are in, `current` does.\n- **Current state**: `current` marks the button that leads to the view you are in, the current section of a bar or the current view of a switcher. `current` (or `current=\"page\"`) is that view: the button takes no pointer, Enter does nothing, and a click from a script neither navigates nor submits, so going there again never reloads it; it stays in the Tab order, announced with `aria-current=\"page\"` on a link and `aria-current=\"true\"` otherwise. `current=\"section\"` is a view inside it, a record of its list: the same look, but the button stays a link that brings you back, announced with `aria-current=\"true\"`. An `aria-current` written on the host (`step`, `date`) stays as written. The look: an area that weighs less than the hover of the tone, never its ring, so the hover of the other buttons still weighs more. `weak` takes the selected wash of its family (`--magma-accent-surface-selected`, `-wash-soft` for a status variant), `strong` keeps its fill, `outline` and `text` take the wash of their hover, and a variant whose hover keeps the area (`dark` and `light` weak, `light` strong) keeps it too. The label is one weight heavier (`xl` is black already), which marks the state where the area stays under 3:1; the look holds on hover. Never mark the current button with `disabled`, `aria-disabled` or a style of your own.\n- **Disabled state**: Blocks pointer and keyboard activation and removes the host from the tab sequence. A disabled `<fieldset>` around the button disables it the same way, as it does a native button, without setting `disabled`.\n- **Await state**: Renders an inline spinner, blocks pointer and keyboard activation, and sets `aria-busy=\"true\"` for assistive tech. The button keeps the focus it had, and a click from a script or an assistive technology neither submits nor resets its form again. Remove the attribute when done - do not set `await=\"false\"`.\n- **Keyboard**: Enter activates the button as a click does, and so does Space, on release, as on a native button; a button with `href` is a link, which Enter follows and Space does not.\n- **Accessibility**: Sets `role=\"button\"` on the host, `role=\"link\"` when `href` is set, whatever the format of the icon; the `label` prop (or slotted text) is rendered as the button text, which names it. Without a label, an `aria-label` or a `title`, the component sets `title` from the last segment of the icon slug (`mi/baseline/delete` -> \"delete\"), which names the icon, not the action; an icon given as inline SVG or base64 has no slug, and leaves the button with no name at all: icon-only buttons need an explicit `aria-label` (or `title`), or an `mds-tooltip` with `relation=\"label\"`. A host with `aria-labelledby` gets no name from the slug, and loses the one it had when the attribute comes later, as it does from the tooltip.\n- **Sizing**: The `size` prop drives padding, font size, and minimum hit area. Do not override dimensions with inline `width` / `height`.\n- **Linking constraint**: `target` is effective only when `href` is set.\n\n#### Component-specific variants and tones\n\nThe shared `variant` / `tone` ladders are defined in [`agents/variants.md`](../../../../agents/variants.md). `<mds-button>` adds:\n\n- **`variant=\"google\"` / `variant=\"apple\"`**: brand-correct chrome for SSO entry points. Do not reuse them for non-SSO buttons.\n- **`tone=\"box\"`**: the `strong` fill with an embossed, raised shadow (`--shadow-box-solid-strong`) and a brighter hover: more marked than `strong`, not less.\n\n#### Other behavioral props\n\n- **`icon`** is an SVG filename slug from the Magma icon library; **`iconPosition`** places the glyph relative to the label (use `right` for forward-motion CTAs).\n- **`iconCurrent`** and **`iconHover`** take the place of `icon` in their state: `iconCurrent` on the current button, `iconHover` under the pointer, which falls back on `iconCurrent`. One attribute gives the common pair, an outline icon at rest and the filled one on the current button, which the pointer previews on the others. Set `iconHover` to the `icon` to keep the icon still under the pointer, when `iconCurrent` says something the click does not do (a check). A pointer that cannot hover, a finger, never shows `iconHover`; the current button shows `iconCurrent` under the pointer too. Both need `icon`, which gives the icon its room, and the name taken from the slug stays the one of `icon`. Write every slug out whole, as for `icon`: the icons a product serves are the ones read in its sources.\n- **`truncate`**: `word` (default) keeps the label on one line and cuts it with an ellipsis, `all` clamps it with `line-clamp` (one line in the button), `none` lets it wrap onto more lines.\n- **`animation`**: `yugop` progressively reveals characters; otherwise text renders immediately.\n- **The first letter** of the label is uppercased. For a name or an identifier that must stay as written (`rdsysadmin`), set `--mds-button-label-transform: none` on the button or on any ancestor: the property inherits, so it also reaches the buttons that other components, `mds-button-dropdown` among them, render in their shadow root.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-button>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Text Button via `label` Prop\n\nThe canonical form. Use the `label` prop for the button's text; it is rendered inside the button and is its accessible name, so screen readers work without extra wiring.\n\n```html\n<mds-button label=\"Conferma azione\" variant=\"primary\" tone=\"strong\"></mds-button>\n```\n\n#### Variant and Tone for Emphasis\n\nPair the same `variant` with a different `tone` to express importance. Do not invent custom colors to dim or saturate.\n\n```html\n<!-- High emphasis: primary call to action -->\n<mds-button label=\"Salva\" variant=\"primary\" tone=\"strong\"></mds-button>\n\n<!-- Medium emphasis: supporting action -->\n<mds-button label=\"Modifica\" variant=\"primary\" tone=\"outline\"></mds-button>\n\n<!-- Low emphasis: in-text or destructive secondary action -->\n<mds-button label=\"Annulla\" variant=\"error\" tone=\"text\"></mds-button>\n```\n\n#### Sizing\n\nUse the `size` prop. Do not override dimensions with inline `width` / `height`.\n\n```html\n<mds-button label=\"Small\" size=\"sm\" variant=\"primary\"></mds-button>\n<mds-button label=\"Medium\" size=\"md\" variant=\"primary\"></mds-button>\n<mds-button label=\"Large\" size=\"lg\" variant=\"primary\"></mds-button>\n<mds-button label=\"Extra large\" size=\"xl\" variant=\"primary\"></mds-button>\n```\n\n#### Button with Icon\n\nReference icons by their filename slug (no `.svg` extension). `icon-position` defaults to `left`; set it to `right` for forward-motion CTAs.\n\n```html\n<!-- Left icon (default) -->\n<mds-button label=\"Aggiungi\" icon=\"mi/baseline/add\" variant=\"primary\" tone=\"weak\"></mds-button>\n\n<!-- Right icon -->\n<mds-button\n  label=\"Avanti\"\n  icon=\"mi/baseline/arrow-forward\"\n  icon-position=\"right\"\n  variant=\"primary\"\n></mds-button>\n```\n\n#### Icon-Only Button\n\nOmit `label` and provide `aria-label` (or `title`) explicitly. Without one, the component names the button after the last segment of the icon slug (\"delete\"), which names the icon, not the action.\n\n```html\n<mds-button\n  icon=\"mi/baseline/delete\"\n  aria-label=\"Elimina elemento\"\n  variant=\"error\"\n  tone=\"text\"\n></mds-button>\n```\n\nWhen an `mds-tooltip` shows the name of the button, let the tooltip be the name with `relation=\"label\"` instead: the button then needs no `aria-label`, and gets no `title` from the icon slug.\n\n```html\n<mds-button id=\"elimina-btn\" icon=\"mi/baseline/delete\" variant=\"error\" tone=\"text\"></mds-button>\n<mds-tooltip target=\"#elimina-btn\" relation=\"label\">Elimina elemento</mds-tooltip>\n```\n\n#### Hyperlink via `href`\n\nSetting `href` renders a real link: the browser follows it, in a new tab on a modifier or middle click, and the context menu offers the link actions. Use `target=\"blank\"` to open in a new tab on a plain click too; default is `self`.\n\n```html\n<mds-button\n  label=\"Visita il sito\"\n  href=\"https://example.com\"\n  target=\"blank\"\n  variant=\"primary\"\n  tone=\"outline\"\n></mds-button>\n```\n\n#### Download via `download`\n\nWith `href`, `download` saves the file instead of opening it in the tab, a file the browser can show (JSON, XML, a PDF) included; its value is the name of the saved file. The URL has to be on the origin of the page.\n\n```html\n<mds-button\n  label=\"Scarica i colori\"\n  href=\"/downloads/colors.xml\"\n  download=\"colors.xml\"\n  icon=\"mi/baseline/download\"\n  tone=\"outline\"\n></mds-button>\n```\n\n#### Client-Side Routing via `href`\n\nIn a single-page app keep `href` for the link it gives (new tab, context menu, crawlers) and register the router once with `NavigationService`, from `@maggioli-design-system/magma/services`: every component link is then routed on the client on a plain click, with no listener per button. A modifier or middle click, `target=\"blank\"`, `download` and a link to another origin stay with the browser; return `false` from the handler for a link the browser is to load.\n\n```html\n<mds-button label=\"Pratiche\" href=\"/pratiche\" variant=\"primary\" tone=\"text\"></mds-button>\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 button 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.querySelector('mds-button[href]').addEventListener('click', (event) => {\n    if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;\n    event.preventDefault();\n    router.navigate(event.currentTarget.href);\n  });\n</script>\n```\n\n#### The Current Section via `current`\n\nMark the button that leads to the view you are in with `current`: the section of the bar of the page on screen, the view of a switcher. It does nothing when clicked, so it never reloads the page, and it is announced as the current page. On a page inside a section, a record of its list, write `current=\"section\"`: the same look, and the button stays a link back to the list.\n\n```html\n<!-- the list of the records: Pratiche is the page on screen -->\n<mds-header-bar>\n  <mds-text typography=\"h6\" tag=\"p\">Servizi demografici</mds-text>\n  <mds-button slot=\"nav\" href=\"/pratiche\" variant=\"dark\" tone=\"text\" current>Pratiche</mds-button>\n  <mds-button slot=\"nav\" href=\"/contatti\" variant=\"dark\" tone=\"text\">Contatti</mds-button>\n</mds-header-bar>\n\n<!-- one record of the list: Pratiche brings you back to it -->\n<mds-button slot=\"nav\" href=\"/pratiche\" variant=\"dark\" tone=\"text\" current=\"section\">Pratiche</mds-button>\n\n<!-- the view of a switcher, with no page of its own: aria-current=\"true\" -->\n<mds-button label=\"Lista\" tone=\"weak\" type=\"button\" current></mds-button>\n<mds-button label=\"Mappa\" tone=\"weak\" type=\"button\"></mds-button>\n```\n\n#### The Icon of Each State via `icon-current` and `icon-hover`\n\n`icon-current` takes the place of `icon` on the current button, and under the pointer too, which previews it on the other buttons: one attribute gives an outline icon at rest and the filled one on the view you are in. `icon-hover` sets the icon under the pointer on its own; set it to the `icon` to keep the icon still, when the icon of the current button says something the click does not do. Write the slugs out whole.\n\n```html\n<!-- outline at rest, filled on the current section and under the pointer -->\n<mds-button\n  slot=\"nav\"\n  href=\"/pratiche\"\n  variant=\"dark\"\n  tone=\"text\"\n  icon=\"mi/outline/folder\"\n  icon-current=\"mi/baseline/folder\"\n  current\n>Pratiche</mds-button>\n<mds-button\n  slot=\"nav\"\n  href=\"/contatti\"\n  variant=\"dark\"\n  tone=\"text\"\n  icon=\"mi/outline/contacts\"\n  icon-current=\"mi/baseline/contacts\"\n>Contatti</mds-button>\n\n<!-- a check on the current view, and none under the pointer: it would say the view is chosen -->\n<mds-button\n  label=\"Elenco\"\n  tone=\"weak\"\n  type=\"button\"\n  icon=\"mi/baseline/view-list\"\n  icon-current=\"mi/baseline/check\"\n  icon-hover=\"mi/baseline/view-list\"\n  current\n></mds-button>\n<mds-button\n  label=\"Griglia\"\n  tone=\"weak\"\n  type=\"button\"\n  icon=\"mi/baseline/grid-view\"\n  icon-current=\"mi/baseline/check\"\n  icon-hover=\"mi/baseline/grid-view\"\n></mds-button>\n\n<!-- another icon under the pointer only -->\n<mds-button\n  icon=\"mi/baseline/close\"\n  icon-hover=\"mi/outline/close\"\n  aria-label=\"Chiudi\"\n  variant=\"dark\"\n  tone=\"text\"\n></mds-button>\n```\n\n#### Async Loading via `await`\n\nSet the `await` boolean attribute while a request is in flight. The component renders an inline spinner, blocks pointer activation, and sets `aria-busy=\"true\"`. Remove the attribute when done - do not set `await=\"false\"`.\n\n```html\n<mds-button label=\"Salvataggio in corso...\" await variant=\"primary\"></mds-button>\n```\n\n#### Form Participation\n\n`<mds-button>` is form-associated. Inside a `<form>` it natively triggers submit (`type=\"submit\"`, default) or reset (`type=\"reset\"`). Use `type=\"button\"` for any action that must not submit the form.\n\n```html\n<form action=\"/save\" method=\"post\">\n  <mds-input-field label=\"Titolo\">\n    <mds-input name=\"title\"></mds-input>\n  </mds-input-field>\n\n  <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n  <mds-button type=\"reset\" label=\"Reimposta\" variant=\"dark\" tone=\"outline\"></mds-button>\n  <mds-button type=\"button\" label=\"Anteprima\" variant=\"primary\" tone=\"text\"></mds-button>\n</form>\n```\n\n#### Several Actions That Submit One Form\n\nGive the buttons the same `name` and a different `value`, as with native submit buttons: the receiver reads which action was chosen from `name`.\n\n```html\n<form action=\"/mail\" method=\"post\">\n  <mds-input-field label=\"Oggetto\">\n    <mds-input name=\"subject\"></mds-input>\n  </mds-input-field>\n\n  <!-- the receiver gets action=send or action=draft -->\n  <mds-button name=\"action\" value=\"send\" label=\"Invia\" variant=\"primary\"></mds-button>\n  <mds-button name=\"action\" value=\"draft\" label=\"Salva come bozza\" tone=\"outline\"></mds-button>\n</form>\n```\n\nWhen your code handles the submit, build the form data with `event.submitter`, as for a native button: it carries the `name` / `value` of the button that was clicked.\n\n```js\nform.addEventListener('submit', (event) => {\n  event.preventDefault();\n  const data = new FormData(form, event.submitter);\n  data.get('action'); // 'send' or 'draft'\n});\n```\n\nTo show one action and keep the others in a menu, use [`mds-button-dropdown`](../mds-button-dropdown/AGENTS.md) with `type=\"submit\"`: its primary action and its menu items send `name` / `value` the same way.\n\n#### Notification Badge via Named Slot\n\nThe `notification` slot accepts an `<mds-notification>`. This is the documented exception to the default-slot-is-text rule.\n\n```html\n<mds-button label=\"Notifiche\" icon=\"mi/baseline/notifications\" variant=\"primary\" tone=\"weak\">\n  <mds-notification slot=\"notification\" value=\"12\"></mds-notification>\n</mds-button>\n```\n\n#### SSO Identity Variants\n\n`variant=\"google\"` and `variant=\"apple\"` apply the brand-correct chrome for SSO entry points. Do not reuse them for non-SSO buttons.\n\n```html\n<mds-button label=\"Accedi con Google\" variant=\"google\"></mds-button>\n<mds-button label=\"Accedi con Apple\" variant=\"apple\"></mds-button>\n```\n\n#### Styling Customization\n\nStyle the button only through its documented `--mds-button-*` CSS custom properties. Set them on the host or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode, named themes and high contrast keep working.\n\n```css\n.featured-action mds-button {\n  --mds-button-background: rgb(var(--magma-accent-emphasis));\n  --mds-button-color: rgb(var(--magma-accent-on-emphasis));\n  --mds-button-radius: var(--magma-radius-lg);\n  --mds-button-gap: calc(var(--spacing) * 300);\n}\n\n/* labels that are names or identifiers, shown as written: it inherits, so it reaches the\n   buttons inside other components too */\n.tenant-switcher {\n  --mds-button-label-transform: none;\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-button>`. 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 Put HTML in the Default Slot\n\nThe default slot accepts plain text only; nested elements are stripped or break layout. Use the `label` prop for text and the dedicated props/slots for everything else.\n\n```html\n<!-- INCORRECT -->\n<mds-button>\n  <span class=\"bold\">Scarica</span>\n  <small>(PDF)</small>\n</mds-button>\n\n<!-- CORRECT -->\n<mds-button label=\"Scarica (PDF)\" icon=\"mi/baseline/download\" variant=\"primary\"></mds-button>\n```\n\n#### Do Not Nest `<mds-button>` Inside an Anchor\n\nWrapping the button in `<a>` creates nested interactive controls, breaks keyboard semantics, and fails accessibility audits. Use the `href` prop on the component instead - it renders the link itself.\n\n```html\n<!-- INCORRECT -->\n<a href=\"/login\">\n  <mds-button label=\"Accedi\"></mds-button>\n</a>\n\n<!-- CORRECT -->\n<mds-button label=\"Accedi\" href=\"/login\"></mds-button>\n```\n\n#### Do Not Use `mds-button` for a Link Inside a Sentence\n\n`mds-button` is a block-level control with its own typography and padding: inside a sentence it breaks the line and the font. A word or a phrase that links belongs to `<mds-link>`, which takes the font of the text around it.\n\n```html\n<!-- INCORRECT -->\n<mds-text typography=\"paragraph\">\n  Leggi l'<mds-button href=\"/privacy\" tone=\"text\" label=\"informativa\"></mds-button> prima di continuare.\n</mds-text>\n\n<!-- CORRECT -->\n<mds-text typography=\"paragraph\">\n  Leggi l'<mds-link href=\"/privacy\">informativa</mds-link> prima di continuare.\n</mds-text>\n```\n\n#### Do Not Follow the `href` Yourself in a Click Listener\n\nWith `href` set the component already renders a link the browser follows. Assigning `window.location` in a click listener loads the page a second time and takes a modifier click, which the browser would open in a new tab, into the current one. Either let the browser follow the link, or cancel the click and route on the client.\n\n```js\n// INCORRECT\nbutton.addEventListener('click', () => {\n  window.location.href = button.href;\n});\n\n// CORRECT: a client-side router cancels the click and routes\nbutton.addEventListener('click', (event) => {\n  if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;\n  event.preventDefault();\n  router.navigate(button.href);\n});\n```\n\n#### Icon-Only Buttons Without an Accessible Name\n\nWhen `label` is empty, the component derives a `title` from the last segment of the icon slug (\"delete\"), which names the icon, not the action. Always supply an explicit `aria-label` (or `title`) for icon-only buttons, or an `mds-tooltip` with `relation=\"label\"`.\n\n```html\n<!-- INCORRECT -->\n<mds-button icon=\"mi/baseline/delete\" variant=\"error\" tone=\"text\"></mds-button>\n\n<!-- CORRECT -->\n<mds-button\n  icon=\"mi/baseline/delete\"\n  aria-label=\"Elimina elemento\"\n  variant=\"error\"\n  tone=\"text\"\n></mds-button>\n```\n\n#### Do Not Build the Form Data Without the Submitter\n\n`new FormData(form)` leaves out the `name` / `value` of the button that submitted the form, as it does for a native submit button. Pass `event.submitter` to read which action was chosen; do not track the clicked button in a variable or a hidden input.\n\n```js\n// INCORRECT: action is missing\nform.addEventListener('submit', (event) => {\n  event.preventDefault();\n  const data = new FormData(form);\n});\n\n// CORRECT\nform.addEventListener('submit', (event) => {\n  event.preventDefault();\n  const data = new FormData(form, event.submitter);\n});\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe component's `icon` prop renders the SVG through the shared icon-set service and positions it correctly via `icon-position`. Slotting `<mds-icon>` puts it in the text-only default slot, where it is stripped or misaligned.\n\n```html\n<!-- INCORRECT -->\n<mds-button>\n  <mds-icon name=\"mi/baseline/add\"></mds-icon>\n  Aggiungi\n</mds-button>\n\n<!-- CORRECT -->\n<mds-button label=\"Aggiungi\" icon=\"mi/baseline/add\" variant=\"primary\" tone=\"weak\"></mds-button>\n```\n\n#### Do Not Mark the Current Button by Hand, Nor Disable It\n\nThe button of the view you are in takes `current`. A tone switched by hand with `aria-current` gives every product its own look (and `tone=\"weak\"` alone stays under the 3:1 of a state), `active` is the pressed look and is cleared when the pointer is released, and `disabled` takes the button out of the Tab order and announces it as unavailable, so the keyboard never learns where it is.\n\n```html\n<!-- INCORRECT -->\n<mds-button href=\"/pratiche\" variant=\"dark\" tone=\"weak\" aria-current=\"page\">Pratiche</mds-button>\n<mds-button href=\"/pratiche\" variant=\"dark\" tone=\"text\" active>Pratiche</mds-button>\n<mds-button href=\"/pratiche\" variant=\"dark\" tone=\"text\" disabled>Pratiche</mds-button>\n\n<!-- CORRECT -->\n<mds-button href=\"/pratiche\" variant=\"dark\" tone=\"text\" current>Pratiche</mds-button>\n```\n\n#### Do Not Swap the Icon by Hand\n\nA listener that changes `icon` under the pointer fetches the new icon the first time it comes, so the button shows no icon until it arrives, and leaves it on what a finger tapped. A slug built at runtime is never served: the icons a product serves are the ones written in its sources. Use `icon-current` and `icon-hover`, with the slugs written out whole.\n\n```js\n// INCORRECT\nbutton.addEventListener('mouseenter', () => (button.icon = 'mi/baseline/folder'));\nbutton.addEventListener('mouseleave', () => (button.icon = 'mi/outline/folder'));\nbutton.icon = `mi/${here ? 'baseline' : 'outline'}/folder`;\n```\n\n```html\n<!-- CORRECT -->\n<mds-button\n  href=\"/pratiche\"\n  icon=\"mi/outline/folder\"\n  icon-current=\"mi/baseline/folder\"\n  current\n>Pratiche</mds-button>\n```\n\n#### Do Not Use Legacy `ghost` or `quiet` Tone Values\n\n`tone=\"ghost\"` and `tone=\"quiet\"` were renamed in Magma 2.0 to `outline` and `text`. The old values are no longer accepted by the typed `ToneBoxVariantType` and silently fall back to the default tone.\n\n```html\n<!-- INCORRECT (Magma 1.x naming) -->\n<mds-button label=\"Modifica\" tone=\"ghost\" variant=\"primary\"></mds-button>\n<mds-button label=\"Annulla\" tone=\"quiet\" variant=\"error\"></mds-button>\n\n<!-- CORRECT (Magma 2.x) -->\n<mds-button label=\"Modifica\" tone=\"outline\" variant=\"primary\"></mds-button>\n<mds-button label=\"Annulla\" tone=\"text\" variant=\"error\"></mds-button>\n```\n\n#### Customize via Documented Vars and Parts, Not Internal Selectors\n\nThe supported customization surface is `--mds-button-*` CSS custom properties plus the two documented shadow parts (`icon`, `label`). Targeting other internals via `::part()`, `>>>`, or undocumented class names couples your code to the Shadow DOM implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-button >>> .text {\n  font-weight: bold;\n}\nmds-button::part(spinner) {\n  color: red;\n}\n\n/* CORRECT */\nmds-button {\n  --mds-button-color: rgb(var(--magma-accent-on-emphasis));\n  --mds-button-radius: var(--magma-radius-lg);\n}\nmds-button::part(icon) {\n  fill: rgb(var(--magma-warning-fg));\n}\n```\n"
      },
      "props": [
        {
          "name": "active",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": true,
          "attr": "active",
          "reflectToAttr": true,
          "docs": "Specifies if the button is active or not",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "animation",
          "type": "\"none\" | \"yugop\" | undefined",
          "complexType": {
            "original": "TextAnimationType",
            "resolved": "\"none\" | \"yugop\" | undefined",
            "references": {
              "TextAnimationType": {
                "location": "import",
                "path": "@component/mds-text/meta/types",
                "id": "src/components/mds-text/meta/types.ts::TextAnimationType",
                "referenceLocation": "TextAnimationType"
              }
            }
          },
          "mutable": false,
          "attr": "animation",
          "reflectToAttr": true,
          "docs": "Specifies if the text is animated when it is rendered",
          "docsTags": [
            {
              "name": "default",
              "text": "'none'"
            }
          ],
          "default": "'none'",
          "values": [
            {
              "value": "none",
              "type": "string"
            },
            {
              "value": "yugop",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "autoFocus",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": false,
          "attr": "auto-focus",
          "reflectToAttr": false,
          "docs": "Specifies if the component is focused when is loaded on the viewport",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "await",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "await",
          "reflectToAttr": true,
          "docs": "Specifies if the button is awaiting for a response",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "current",
          "type": "\"page\" | \"section\" | boolean | undefined",
          "complexType": {
            "original": "ButtonCurrentType",
            "resolved": "\"page\" | \"section\" | boolean | undefined",
            "references": {
              "ButtonCurrentType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonCurrentType",
                "referenceLocation": "ButtonCurrentType"
              }
            }
          },
          "mutable": false,
          "attr": "current",
          "reflectToAttr": true,
          "docs": "Marks the button that leads to the view you are in, as the current section of a bar or the\ncurrent view of a switcher, with a look of its own: an area that weighs less than the hover of\nits tone, never its ring, and a heavier label. `current`, or\n`current=\"page\"`, is that view: the button neither navigates nor submits, a click and Enter do\nnothing, but it stays in the Tab order, announced with `aria-current` (`\"page\"` on a link,\n`\"true\"` otherwise). `current=\"section\"` is a view inside it, as a record of its list: the\nsame look, and the button stays a link that brings you back, announced with\n`aria-current=\"true\"`. An `aria-current` written on the host stays as written.",
          "docsTags": [],
          "values": [
            {
              "value": "page",
              "type": "string"
            },
            {
              "value": "section",
              "type": "string"
            },
            {
              "type": "boolean"
            },
            {
              "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 component is disabled or not",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "download",
          "type": "boolean | string | undefined",
          "complexType": {
            "original": "boolean | string",
            "resolved": "boolean | string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "download",
          "reflectToAttr": false,
          "docs": "With `href`, saves its file instead of opening it, as the `download` attribute of `<a>`:\npresent with no value, or `true`, the file takes the name the server gives it; a string is\nthe name of the saved file. Browsers apply it to the URLs of the origin of the page, `blob:`\nand `data:`: a link to another origin opens the file as without it. A download never goes to\nthe router registered with `NavigationService`",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "string"
            },
            {
              "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 button into a link to this URL: a real anchor in its shadow root, so the browser\ngives it what it gives every link (new tab on a modifier or middle click, the context menu,\ndrag). A client-side router takes the plain clicks over once registered with\n`NavigationService.setHandler()` (from `@maggioli-design-system/magma/services`); without\none, a click listener on the host can still cancel the navigation with `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": true,
          "attr": "icon",
          "reflectToAttr": true,
          "docs": "The icon displayed in the button; `iconCurrent` and `iconHover` take its place in their\nstates",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "iconCurrent",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "icon-current",
          "reflectToAttr": false,
          "docs": "The icon of the current button, in place of `icon`: the filled icon, say, of an `icon` drawn\nas an outline. It is the icon under the pointer too, unless `iconHover` says otherwise, so\nthe pointer previews it on the buttons that are not current. It takes the place of `icon`:\nwithout `icon` it shows nothing",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "iconHover",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "icon-hover",
          "reflectToAttr": false,
          "docs": "The icon under the pointer, in place of `icon`, and `iconCurrent` when it is not set. Set it\nto the `icon` to keep the icon still under the pointer, when `iconCurrent` says something\nthe click does not do (a check, say). A pointer that cannot hover, as a finger, never shows\nit. It takes the place of `icon`: without `icon` it shows nothing",
          "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": true,
          "docs": "Specifies the horizontal position of the icon displayed in the button",
          "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": true,
          "attr": "label",
          "reflectToAttr": true,
          "docs": "The label of the button",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "name",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "name",
          "reflectToAttr": true,
          "docs": "The name sent with `value` to the form the button submits, as a native submit button\ndoes: buttons that submit the same form tell the receiver which one was chosen",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "size",
          "type": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
          "complexType": {
            "original": "ButtonSizeType",
            "resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
            "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 button",
          "docsTags": [
            {
              "name": "default",
              "text": "'md'"
            }
          ],
          "default": "'md'",
          "values": [
            {
              "value": "lg",
              "type": "string"
            },
            {
              "value": "md",
              "type": "string"
            },
            {
              "value": "sm",
              "type": "string"
            },
            {
              "value": "xl",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "target",
          "type": "\"blank\" | \"self\"",
          "complexType": {
            "original": "ButtonTargetType",
            "resolved": "\"blank\" | \"self\"",
            "references": {
              "ButtonTargetType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonTargetType",
                "referenceLocation": "ButtonTargetType"
              }
            }
          },
          "mutable": false,
          "attr": "target",
          "reflectToAttr": false,
          "docs": "Specifies the target of the URL, if self or blank",
          "docsTags": [
            {
              "name": "default",
              "text": "'self'"
            }
          ],
          "default": "'self'",
          "values": [
            {
              "value": "blank",
              "type": "string"
            },
            {
              "value": "self",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "tone",
          "type": "\"box\" | \"outline\" | \"strong\" | \"text\" | \"weak\" | undefined",
          "complexType": {
            "original": "ToneBoxVariantType",
            "resolved": "\"box\" | \"outline\" | \"strong\" | \"text\" | \"weak\" | undefined",
            "references": {
              "ToneBoxVariantType": {
                "location": "import",
                "path": "@type/tone",
                "id": "src/type/tone.ts::ToneBoxVariantType",
                "referenceLocation": "ToneBoxVariantType"
              }
            }
          },
          "mutable": false,
          "attr": "tone",
          "reflectToAttr": true,
          "docs": "Specifies the tone variant for the button",
          "docsTags": [
            {
              "name": "default",
              "text": "'strong'"
            }
          ],
          "default": "'strong'",
          "values": [
            {
              "value": "box",
              "type": "string"
            },
            {
              "value": "outline",
              "type": "string"
            },
            {
              "value": "strong",
              "type": "string"
            },
            {
              "value": "text",
              "type": "string"
            },
            {
              "value": "weak",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "truncate",
          "type": "\"all\" | \"none\" | \"word\" | undefined",
          "complexType": {
            "original": "TypographyTruncateType",
            "resolved": "\"all\" | \"none\" | \"word\" | undefined",
            "references": {
              "TypographyTruncateType": {
                "location": "import",
                "path": "@type/text",
                "id": "src/type/text.ts::TypographyTruncateType",
                "referenceLocation": "TypographyTruncateType"
              }
            }
          },
          "mutable": false,
          "attr": "truncate",
          "reflectToAttr": true,
          "docs": "Specifies if the text shoud be truncated or should behave as a normal text",
          "docsTags": [
            {
              "name": "default",
              "text": "'word'"
            }
          ],
          "default": "'word'",
          "values": [
            {
              "value": "all",
              "type": "string"
            },
            {
              "value": "none",
              "type": "string"
            },
            {
              "value": "word",
              "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": true,
          "docs": "The type of the button 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": "The value sent under `name` to the form the button submits",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "variant",
          "type": "\"ai\" | \"apple\" | \"dark\" | \"error\" | \"google\" | \"info\" | \"light\" | \"primary\" | \"secondary\" | \"success\" | \"warning\" | undefined",
          "complexType": {
            "original": "ButtonVariantType",
            "resolved": "\"ai\" | \"apple\" | \"dark\" | \"error\" | \"google\" | \"info\" | \"light\" | \"primary\" | \"secondary\" | \"success\" | \"warning\" | undefined",
            "references": {
              "ButtonVariantType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonVariantType",
                "referenceLocation": "ButtonVariantType"
              }
            }
          },
          "mutable": false,
          "attr": "variant",
          "reflectToAttr": true,
          "docs": "Specifies the color variant for the button",
          "docsTags": [
            {
              "name": "default",
              "text": "'primary'"
            }
          ],
          "default": "'primary'",
          "values": [
            {
              "value": "ai",
              "type": "string"
            },
            {
              "value": "apple",
              "type": "string"
            },
            {
              "value": "dark",
              "type": "string"
            },
            {
              "value": "error",
              "type": "string"
            },
            {
              "value": "google",
              "type": "string"
            },
            {
              "value": "info",
              "type": "string"
            },
            {
              "value": "light",
              "type": "string"
            },
            {
              "value": "primary",
              "type": "string"
            },
            {
              "value": "secondary",
              "type": "string"
            },
            {
              "value": "success",
              "type": "string"
            },
            {
              "value": "warning",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-button-await-duration",
          "annotation": "prop",
          "docs": "Sets the duration of the rotation of the spinner await component",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the component",
          "visibility": "public"
        },
        {
          "name": "--mds-button-border-color-rgb",
          "annotation": "prop",
          "docs": "Sets the color of the border of the component (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-default-opacity",
          "annotation": "prop",
          "docs": "Sets the default opacity of the border color of the component (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-high-contrast-hover-width",
          "annotation": "prop",
          "docs": "Deprecated, read by nothing: the button has no high contrast border of its own, the contrast preference acts on the colour roles.",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-high-contrast-width",
          "annotation": "prop",
          "docs": "Deprecated, read by nothing: the button has no high contrast border of its own, the contrast preference acts on the colour roles.",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-hover-opacity",
          "annotation": "prop",
          "docs": "Sets the opacity of the border color when the component is hovered (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-opacity",
          "annotation": "prop",
          "docs": "Sets the border opacity of the component (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-tone-outline-hover-width",
          "annotation": "prop",
          "docs": "Sets the width of the border when the component is hovered when the tone is set to `outline` (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-tone-strong-hover-width",
          "annotation": "prop",
          "docs": "Sets the width of the border when the component is hovered when the tone is set to `strong` (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-tone-weak-hover-width",
          "annotation": "prop",
          "docs": "Sets the width of the border when the component is hovered when the tone is set to `weak` (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-border-width",
          "annotation": "prop",
          "docs": "Sets the border width of the component (based on box-shadow declaration)",
          "visibility": "internal"
        },
        {
          "name": "--mds-button-color",
          "annotation": "prop",
          "docs": "Sets the text color of the component",
          "visibility": "public"
        },
        {
          "name": "--mds-button-gap",
          "annotation": "prop",
          "docs": "Sets the distance betwen element inside the components, use it instead of setting gap property directly.",
          "visibility": "public"
        },
        {
          "name": "--mds-button-label-transform",
          "annotation": "prop",
          "docs": "Sets the text-transform of the first letter of the label, `uppercase` by default; `none` shows the label as written. It inherits: set on `mds-button-dropdown` or any ancestor, it reaches the buttons inside other components too",
          "visibility": "public"
        },
        {
          "name": "--mds-button-radius",
          "annotation": "prop",
          "docs": "Sets the border-radius of the component",
          "visibility": "public"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
        },
        {
          "name": "notification",
          "docs": "Add `HTML elements` or `components`, it is **recommended** to use `mds-notification` element."
        }
      ],
      "parts": [
        {
          "name": "icon",
          "docs": "The icon inside the component"
        },
        {
          "name": "label",
          "docs": "The text of the button: the `label`, or the default slot when `label` is not set"
        }
      ],
      "states": [],
      "dependents": [
        "mds-banner",
        "mds-breadcrumb",
        "mds-breadcrumb-item",
        "mds-button-dropdown",
        "mds-calendar",
        "mds-calendar-cell",
        "mds-chip",
        "mds-file-preview",
        "mds-header-bar",
        "mds-horizontal-scroll",
        "mds-img",
        "mds-input",
        "mds-input-date",
        "mds-input-date-range",
        "mds-input-date-range-preselection",
        "mds-input-upload",
        "mds-keyboard",
        "mds-label",
        "mds-mention",
        "mds-modal",
        "mds-note",
        "mds-policy-ai",
        "mds-pref-language-item",
        "mds-pref-theme-item",
        "mds-push-notification",
        "mds-push-notification-item",
        "mds-radial-menu",
        "mds-radial-menu-item",
        "mds-tab-item",
        "mds-table-header-cell",
        "mds-toast",
        "mds-tree-item",
        "mds-url-view"
      ],
      "dependencies": [
        "mds-icon",
        "mds-spinner",
        "mds-text"
      ],
      "dependencyGraph": {
        "mds-button": [
          "mds-icon",
          "mds-spinner",
          "mds-text"
        ],
        "mds-banner": [
          "mds-button"
        ],
        "mds-breadcrumb": [
          "mds-button"
        ],
        "mds-breadcrumb-item": [
          "mds-button"
        ],
        "mds-button-dropdown": [
          "mds-button"
        ],
        "mds-calendar": [
          "mds-button"
        ],
        "mds-calendar-cell": [
          "mds-button"
        ],
        "mds-chip": [
          "mds-button"
        ],
        "mds-file-preview": [
          "mds-button"
        ],
        "mds-header-bar": [
          "mds-button"
        ],
        "mds-horizontal-scroll": [
          "mds-button"
        ],
        "mds-img": [
          "mds-button"
        ],
        "mds-input": [
          "mds-button"
        ],
        "mds-input-date": [
          "mds-button"
        ],
        "mds-input-date-range": [
          "mds-button"
        ],
        "mds-input-date-range-preselection": [
          "mds-button"
        ],
        "mds-input-upload": [
          "mds-button"
        ],
        "mds-keyboard": [
          "mds-button"
        ],
        "mds-label": [
          "mds-button"
        ],
        "mds-mention": [
          "mds-button"
        ],
        "mds-modal": [
          "mds-button"
        ],
        "mds-note": [
          "mds-button"
        ],
        "mds-policy-ai": [
          "mds-button"
        ],
        "mds-pref-language-item": [
          "mds-button"
        ],
        "mds-pref-theme-item": [
          "mds-button"
        ],
        "mds-push-notification": [
          "mds-button"
        ],
        "mds-push-notification-item": [
          "mds-button"
        ],
        "mds-radial-menu": [
          "mds-button"
        ],
        "mds-radial-menu-item": [
          "mds-button"
        ],
        "mds-tab-item": [
          "mds-button"
        ],
        "mds-table-header-cell": [
          "mds-button"
        ],
        "mds-toast": [
          "mds-button"
        ],
        "mds-tree-item": [
          "mds-button"
        ],
        "mds-url-view": [
          "mds-button"
        ]
      },
      "storybook": "ui-button--docs"
    }
  ]
}
