{
  "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-tooltip/mds-tooltip.tsx",
      "encapsulation": "shadow",
      "tag": "mds-tooltip",
      "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": "part",
          "text": "text - The text of the tooltip, around the default slot"
        },
        {
          "name": "category",
          "text": "overlays"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-tooltip>` web component is the floating contextual hint of the Magma Design System. It renders a small text bubble that attaches to a separate trigger element identified by a CSS selector, rather than relying on the native `title` attribute.\n\n#### Semantic Behavior\n\n- **Detached trigger model**: The tooltip is not wrapped around its trigger; the required `target` selector is resolved and the component binds itself to the first matching caller.\n- **Hover and focus visibility**: The bubble shows while the pointer is over the trigger or the trigger has a focus the browser rings (`:focus-visible`, the focus of the keyboard), and hides when neither holds; Escape hides it until the trigger is hovered or focused again. The focus of a click, or one a script moves to the trigger after a click, does not keep it open: it closes when the pointer leaves. The tooltip takes `role=\"tooltip\"` and, when it shares a DOM tree with the trigger, writes `aria-describedby` on it, or `aria-labelledby` with `relation=\"label\"`; an attribute the trigger already has is left alone.\n- **Visibility is the source of truth**: Setting `visible` programmatically shows or dismisses the bubble, allowing the tooltip to be controlled without a hover.\n- **Live repositioning**: Changing any layout prop (`placement`, `offset`, `disableShift`, `shiftPadding`, `strategy`, `flip`, `disableAutoPlacement`) recomputes the floating position on the fly.\n- **Text-only default slot**: The default slot is meant for a plain text string (exposed as the `text` shadow part); HTML elements or components should not be slotted in.\n\n#### Properties & Visual Configurations\n\n- **`target`** (required) is the CSS selector of the trigger element the tooltip listens to and anchors against; the first match wins.\n- **`placement`** chooses the preferred side and alignment relative to the caller (e.g. `'top'`, `'bottom-start'`), taken whenever it has room; by default the tooltip moves to the opposite side, then to the sides across, only when it does not fit there (**`disableAutoPlacement`** opts out and pins to `placement`, and **`flip`** then allows the fallback to the opposite side only).\n- the bubble is kept inside the viewport by default (**`disableShift`** opts out), with **`shiftPadding`** reserving a safe gap from the viewport edges; **`offset`** sets the distance between the bubble and the caller.\n- **`strategy`** selects the CSS positioning strategy: `'fixed'` (default) escapes clipping ancestors, `'absolute'` anchors within the nearest positioned ancestor.\n- **`relation`** says what the tooltip is to its trigger: its `'description'` (default, `aria-describedby`), or its `'label'` (`aria-labelledby`), when the tooltip text is the only visible name of the trigger, as on an icon-only button. Changing it moves the attribute on the trigger.\n- **`typography`** picks the text scale of the bubble (`'tip'`, `'caption'`, `'detail'`), where `'tip'` is the default compact hint sizing.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-tooltip>` 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 Tooltip on a Button\n\nThe most common form. Give the trigger element an `id` (or any unique CSS selector) and point `target` at it. The tooltip listens for the hover and the keyboard focus of the trigger and positions itself automatically.\n\n```html\n<mds-button id=\"salva-btn\" label=\"Salva documento\" variant=\"primary\" tone=\"strong\"></mds-button>\n<mds-tooltip target=\"#salva-btn\">Salva le modifiche correnti</mds-tooltip>\n```\n\n#### Naming an Icon-Only Button\n\nOn an icon-only button the tooltip usually shows the name of the button. Set `relation=\"label\"` so that the tooltip is the name (`aria-labelledby`) and not a description: the button needs no `aria-label`, and a screen reader does not read the same text twice. Use it only on an interactive trigger, a button or a link: ARIA does not allow a name on a generic element.\n\n```html\n<mds-button id=\"tokens-btn\" icon=\"mi/baseline/palette\" variant=\"dark\" tone=\"text\"></mds-button>\n<mds-tooltip target=\"#tokens-btn\" relation=\"label\">Tokens</mds-tooltip>\n```\n\n#### Tooltip on a Non-Interactive Element\n\n`target` accepts any CSS selector, not just `#id`. Use a class or attribute selector when the trigger is a static element such as a status icon.\n\n```html\n<mds-icon class=\"stato-icona\" name=\"mi/baseline/info\"></mds-icon>\n<mds-tooltip target=\".stato-icona\">Ultima sincronizzazione: oggi alle 08:30</mds-tooltip>\n```\n\n#### Placement and Preferred Side\n\nOverride the default `top` placement with `placement` when layout requires a different side. Auto placement is on by default: the tooltip takes `placement` whenever it has room and moves to another side only when it does not fit; `disable-auto-placement` locks the side.\n\n```html\n<mds-button id=\"dettagli-btn\" label=\"Dettagli\" variant=\"primary\" tone=\"outline\"></mds-button>\n<mds-tooltip target=\"#dettagli-btn\" placement=\"right\" disable-auto-placement>\n  Apre il pannello laterale con i dettagli completi\n</mds-tooltip>\n```\n\nAccepted values: `top`, `top-start`, `top-end`, `bottom`, `bottom-start`, `bottom-end`, `left`, `left-start`, `left-end`, `right`, `right-start`, `right-end`.\n\n#### Flip Fallback When Space is Tight\n\nEnable `flip` together with `disable-auto-placement` so the pinned tooltip moves to the opposite side, and to no other, if the preferred placement collides with the viewport edge. Auto placement already includes that fallback.\n\n```html\n<mds-button id=\"azione-btn\" label=\"Azione\" variant=\"primary\"></mds-button>\n<mds-tooltip target=\"#azione-btn\" placement=\"top\" disable-auto-placement flip>\n  Esegui l'operazione selezionata\n</mds-tooltip>\n```\n\n#### Viewport-Safe Shift\n\nBy default the tooltip slides along its axis so it stays inside the viewport (set `disable-shift` to opt out). Increase `shift-padding` to keep a wider safe margin from the viewport edges.\n\n```html\n<mds-button id=\"bordo-btn\" label=\"Vicino al bordo\" variant=\"dark\" tone=\"outline\"></mds-button>\n<mds-tooltip target=\"#bordo-btn\" shift-padding=\"24\">\n  Questa azione e' irreversibile\n</mds-tooltip>\n```\n\n#### Custom Offset Distance\n\nIncrease `offset` when additional breathing room between the trigger and the bubble is required - for example inside dense toolbars or on elements with large focus rings.\n\n```html\n<mds-button id=\"info-btn\" label=\"Info\" variant=\"info\" tone=\"weak\"></mds-button>\n<mds-tooltip target=\"#info-btn\" offset=\"20\">\n  Informazioni aggiuntive sul campo\n</mds-tooltip>\n```\n\n#### Programmatic Visibility\n\nSet the `visible` attribute (or property) to control the tooltip without hover. Useful for guided tours, onboarding hints, or error annotations that appear on demand.\n\n```html\n<mds-button id=\"primo-accesso\" label=\"Inizia\" variant=\"primary\"></mds-button>\n<mds-tooltip id=\"hint\" target=\"#primo-accesso\" visible>\n  Benvenuto! Clicca qui per iniziare la configurazione.\n</mds-tooltip>\n\n<script>\n  const hint = document.querySelector('#hint');\n  // Dismiss programmatically when the user acknowledges the hint\n  document.querySelector('#primo-accesso').addEventListener('click', () => {\n    hint.visible = false;\n  });\n</script>\n```\n\n#### Typography Scale\n\n`typography` adjusts the text scale inside the bubble. Use `'tip'` (default) for compact hints, `'caption'` for slightly larger labels, and `'detail'` for the largest, body-size text.\n\n```html\n<!-- Default compact hint -->\n<mds-tooltip target=\"#campo-nome\" typography=\"tip\">Massimo 64 caratteri</mds-tooltip>\n\n<!-- Slightly larger label -->\n<mds-tooltip target=\"#campo-data\" typography=\"caption\">Formato: GG/MM/AAAA</mds-tooltip>\n```\n\n#### Positioning Strategy\n\nUse `strategy=\"absolute\"` when the tooltip must be contained within a scrolling ancestor instead of the viewport. The default `strategy=\"fixed\"` escapes any clipping or overflow-hidden parent.\n\n```html\n<!-- Inside a scrollable panel with overflow:hidden ancestors -->\n<mds-tooltip target=\"#voce-lista\" strategy=\"absolute\">Trascina per riordinare</mds-tooltip>\n```\n\n#### Styling Customization\n\nStyle the tooltip only through its public `--mds-tooltip-*` CSS custom properties: the background (the arrow follows it), the delay and the z-index. Set them on the host element or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.onboarding-hint mds-tooltip {\n  --mds-tooltip-background: rgb(var(--magma-accent-surface));\n  --mds-tooltip-delay: 0.25s;\n  --mds-tooltip-z-index: 5000;\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-tooltip>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/mistakes.md`](../../../../agents/mistakes.md) - they apply here too but are not repeated.\n\n#### Do Not Use a Bare ID String as `target`\n\nThe value of `target` is passed directly to `querySelector`, so a CSS selector is required: a bare id (`hint-trigger`) looks for an element named `<hint-trigger>`, finds nothing, and the tooltip never attaches.\n\n```html\n<!-- INCORRECT -->\n<span id=\"hint-trigger\">Aiuto</span>\n<mds-tooltip target=\"hint-trigger\">Testo di aiuto</mds-tooltip>\n\n<!-- CORRECT -->\n<span id=\"hint-trigger\">Aiuto</span>\n<mds-tooltip target=\"#hint-trigger\">Testo di aiuto</mds-tooltip>\n```\n\n#### Do Not Slot HTML Elements or Components\n\nThe default slot is text-only. Nesting HTML elements or Magma components breaks the inner layout and may produce unexpected rendering because the slot is wrapped in `<mds-text>`.\n\n```html\n<!-- INCORRECT -->\n<mds-tooltip target=\"#voce\">\n  <mds-icon name=\"mi/baseline/warning\"></mds-icon>\n  <strong>Attenzione:</strong> campo obbligatorio\n</mds-tooltip>\n\n<!-- CORRECT -->\n<mds-tooltip target=\"#voce\">Attenzione: campo obbligatorio</mds-tooltip>\n```\n\n#### Do Not Wrap the Trigger Inside the Tooltip\n\n`<mds-tooltip>` uses a detached trigger model - the tooltip is placed as a sibling in the DOM and linked via `target`, not wrapped around its trigger. Nesting the trigger breaks the floating position logic.\n\n```html\n<!-- INCORRECT -->\n<mds-tooltip target=\"#btn\">\n  <mds-button id=\"btn\" label=\"Elimina\"></mds-button>\n  Elimina il record selezionato\n</mds-tooltip>\n\n<!-- CORRECT -->\n<mds-button id=\"btn\" label=\"Elimina\" variant=\"error\" tone=\"text\"></mds-button>\n<mds-tooltip target=\"#btn\">Elimina il record selezionato</mds-tooltip>\n```\n\n#### Do Not Set `visible=\"false\"` to Hide the Tooltip\n\n`visible` is a boolean attribute; setting it to the string `\"false\"` leaves the attribute on the element. The tooltip itself reads it as hidden, but every presence check (`[visible]`, `hasAttribute('visible')`) still reads it as visible. Remove the attribute (or set the property to `false`) to hide it.\n\n```html\n<!-- INCORRECT -->\n<mds-tooltip target=\"#campo\" visible=\"false\">Testo nascosto</mds-tooltip>\n\n<!-- CORRECT -->\n<mds-tooltip target=\"#campo\">Testo nascosto</mds-tooltip>\n```\n\n```js\n// CORRECT (programmatic)\ndocument.querySelector('mds-tooltip').visible = false;\n```\n\n#### Do Not Pierce the Shadow DOM to Style Internal Parts\n\nThe only supported customization surface is the set of public `--mds-tooltip-*` CSS custom properties and the documented `text` shadow part. Targeting undocumented internal selectors couples your code to the implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-tooltip >>> .text {\n  font-style: italic;\n}\nmds-tooltip::part(arrow) {\n  fill: red;\n}\n\n/* CORRECT */\nmds-tooltip {\n  --mds-tooltip-background: rgb(var(--magma-accent-surface));\n  --mds-tooltip-delay: 0.5s;\n}\nmds-tooltip::part(text) {\n  font-style: italic;\n}\n```\n\n#### Do Not Repeat the Name of the Trigger as Its Description\n\nA tooltip describes its trigger by default. When its text is the name of the trigger, as on an icon-only button, an `aria-label` with the same text makes a screen reader read it twice, as the name and as the description. Make the tooltip the name instead.\n\n```html\n<!-- INCORRECT -->\n<mds-button id=\"tokens-btn\" icon=\"mi/baseline/palette\" aria-label=\"Tokens\"></mds-button>\n<mds-tooltip target=\"#tokens-btn\">Tokens</mds-tooltip>\n\n<!-- CORRECT -->\n<mds-button id=\"tokens-btn\" icon=\"mi/baseline/palette\"></mds-button>\n<mds-tooltip target=\"#tokens-btn\" relation=\"label\">Tokens</mds-tooltip>\n```\n\n#### Do Not Replace `<mds-tooltip>` with a Native `title` Attribute\n\nThe native `title` tooltip is not styleable and not announced consistently by screen readers on touch devices. Use `<mds-tooltip>` for all contextual hints.\n\n```html\n<!-- INCORRECT -->\n<mds-button label=\"Elimina\" title=\"Elimina il record selezionato\"></mds-button>\n\n<!-- CORRECT -->\n<mds-button id=\"elimina-btn\" label=\"Elimina\" variant=\"error\" tone=\"text\"></mds-button>\n<mds-tooltip target=\"#elimina-btn\">Elimina il record selezionato</mds-tooltip>\n```\n"
      },
      "props": [
        {
          "name": "disableAutoPlacement",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": false,
          "attr": "disable-auto-placement",
          "reflectToAttr": true,
          "docs": "Pins the component to `placement`: without it, the component moves to another side of the\ncaller when `placement` has no room.",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "disableShift",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": false,
          "attr": "disable-shift",
          "reflectToAttr": false,
          "docs": "If set, the component will not be kept inside the viewport.",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "flip",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": false,
          "attr": "flip",
          "reflectToAttr": false,
          "docs": "With `disableAutoPlacement`, moves the component to the opposite side of the caller when\n`placement` has no room. Auto-placement, the default, already does it.",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "offset",
          "type": "number",
          "complexType": {
            "original": "number",
            "resolved": "number",
            "references": {}
          },
          "mutable": false,
          "attr": "offset",
          "reflectToAttr": false,
          "docs": "Sets distance between the tooltip and the caller.",
          "docsTags": [
            {
              "name": "default",
              "text": "12"
            }
          ],
          "default": "12",
          "values": [
            {
              "type": "number"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "placement",
          "type": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
          "complexType": {
            "original": "FloatingUIPlacement",
            "resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
            "references": {
              "FloatingUIPlacement": {
                "location": "import",
                "path": "@type/floating-ui",
                "id": "src/type/floating-ui.ts::FloatingUIPlacement",
                "referenceLocation": "FloatingUIPlacement"
              }
            }
          },
          "mutable": false,
          "attr": "placement",
          "reflectToAttr": true,
          "docs": "Specifies where the component should be placed relative to the caller: the side it takes\nwhenever it has room there.",
          "docsTags": [
            {
              "name": "default",
              "text": "'top'"
            }
          ],
          "default": "'top'",
          "values": [
            {
              "value": "bottom",
              "type": "string"
            },
            {
              "value": "bottom-end",
              "type": "string"
            },
            {
              "value": "bottom-start",
              "type": "string"
            },
            {
              "value": "left",
              "type": "string"
            },
            {
              "value": "left-end",
              "type": "string"
            },
            {
              "value": "left-start",
              "type": "string"
            },
            {
              "value": "right",
              "type": "string"
            },
            {
              "value": "right-end",
              "type": "string"
            },
            {
              "value": "right-start",
              "type": "string"
            },
            {
              "value": "top",
              "type": "string"
            },
            {
              "value": "top-end",
              "type": "string"
            },
            {
              "value": "top-start",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "relation",
          "type": "\"description\" | \"label\"",
          "complexType": {
            "original": "FloatingUIRelation",
            "resolved": "\"description\" | \"label\"",
            "references": {
              "FloatingUIRelation": {
                "location": "import",
                "path": "@type/floating-ui",
                "id": "src/type/floating-ui.ts::FloatingUIRelation",
                "referenceLocation": "FloatingUIRelation"
              }
            }
          },
          "mutable": false,
          "attr": "relation",
          "reflectToAttr": true,
          "docs": "Sets what the tooltip is to its caller: its `description` (`aria-describedby`), or its\n`label` (`aria-labelledby`), when the tooltip holds the only visible name of the caller, as on\nan icon-only button.",
          "docsTags": [
            {
              "name": "default",
              "text": "'description'"
            }
          ],
          "default": "'description'",
          "values": [
            {
              "value": "description",
              "type": "string"
            },
            {
              "value": "label",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "shiftPadding",
          "type": "number",
          "complexType": {
            "original": "number",
            "resolved": "number",
            "references": {}
          },
          "mutable": false,
          "attr": "shift-padding",
          "reflectToAttr": false,
          "docs": "Sets a safe area distance between the tooltip and the viewport.",
          "docsTags": [
            {
              "name": "default",
              "text": "12"
            }
          ],
          "default": "12",
          "values": [
            {
              "type": "number"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "strategy",
          "type": "\"absolute\" | \"fixed\"",
          "complexType": {
            "original": "FloatingUIStrategy",
            "resolved": "\"absolute\" | \"fixed\"",
            "references": {
              "FloatingUIStrategy": {
                "location": "import",
                "path": "@type/floating-ui",
                "id": "src/type/floating-ui.ts::FloatingUIStrategy",
                "referenceLocation": "FloatingUIStrategy"
              }
            }
          },
          "mutable": false,
          "attr": "strategy",
          "reflectToAttr": true,
          "docs": "Sets the CSS position strategy of the component.",
          "docsTags": [
            {
              "name": "default",
              "text": "'fixed'"
            }
          ],
          "default": "'fixed'",
          "values": [
            {
              "value": "absolute",
              "type": "string"
            },
            {
              "value": "fixed",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "target",
          "type": "string",
          "complexType": {
            "original": "string",
            "resolved": "string",
            "references": {}
          },
          "mutable": false,
          "attr": "target",
          "reflectToAttr": true,
          "docs": "Specifies the selector of the target element, this attribute is used with `querySelector` method.",
          "docsTags": [
            {
              "name": "example",
              "text": "'#profile-button'"
            }
          ],
          "values": [
            {
              "type": "string"
            }
          ],
          "optional": false,
          "required": true,
          "getter": false,
          "setter": false
        },
        {
          "name": "typography",
          "type": "\"caption\" | \"detail\" | \"tip\"",
          "complexType": {
            "original": "TypographyTooltipType",
            "resolved": "\"caption\" | \"detail\" | \"tip\"",
            "references": {
              "TypographyTooltipType": {
                "location": "import",
                "path": "@type/typography",
                "id": "src/type/typography.ts::TypographyTooltipType",
                "referenceLocation": "TypographyTooltipType"
              }
            }
          },
          "mutable": false,
          "attr": "typography",
          "reflectToAttr": false,
          "docs": "Specifies the font typography of the element",
          "docsTags": [
            {
              "name": "default",
              "text": "'tip'"
            }
          ],
          "default": "'tip'",
          "values": [
            {
              "value": "caption",
              "type": "string"
            },
            {
              "value": "detail",
              "type": "string"
            },
            {
              "value": "tip",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "visible",
          "type": "boolean",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean",
            "references": {}
          },
          "mutable": true,
          "attr": "visible",
          "reflectToAttr": true,
          "docs": "Specifies the visibility of the component.",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-tooltip-arrow-background",
          "annotation": "prop",
          "docs": "Background color of the tooltip arrow.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-background",
          "annotation": "prop",
          "docs": "Background color of the tooltip body.",
          "visibility": "public"
        },
        {
          "name": "--mds-tooltip-delay",
          "annotation": "prop",
          "docs": "Delay before showing the tooltip.",
          "visibility": "public"
        },
        {
          "name": "--mds-tooltip-dot-padding",
          "annotation": "prop",
          "docs": "Padding around the tooltip dot (if present).",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-drop-shadow",
          "annotation": "prop",
          "docs": "Drop shadow applied to the tooltip.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-duration",
          "annotation": "prop",
          "docs": "Duration of the tooltip animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-ease",
          "annotation": "prop",
          "docs": "Timing function for the tooltip animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-transform-from",
          "annotation": "prop",
          "docs": "Transform applied at the start of the tooltip animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-transform-to",
          "annotation": "prop",
          "docs": "Transform applied at the end of the tooltip animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tooltip-z-index",
          "annotation": "prop",
          "docs": "z-index of the tooltip container.",
          "visibility": "public"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
        }
      ],
      "parts": [
        {
          "name": "text",
          "docs": "The text of the tooltip, around the default slot"
        }
      ],
      "states": [],
      "dependents": [
        "mds-help",
        "mds-keyboard",
        "mds-radial-menu-item"
      ],
      "dependencies": [
        "mds-text"
      ],
      "dependencyGraph": {
        "mds-tooltip": [
          "mds-text"
        ],
        "mds-help": [
          "mds-tooltip"
        ],
        "mds-keyboard": [
          "mds-tooltip"
        ],
        "mds-radial-menu-item": [
          "mds-tooltip"
        ]
      },
      "storybook": "ui-tooltip--docs"
    }
  ]
}
