{
  "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-text/mds-text.tsx",
      "encapsulation": "shadow",
      "tag": "mds-text",
      "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": "category",
          "text": "content"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-text>` web component is the foundational typography primitive of the Magma Design System. It decouples the _semantic typography role_ of a piece of text from the _HTML element_ that renders it, replacing raw heading, paragraph, label and inline tags (`<h1>`-`<h6>`, `<p>`, `<span>`, `<label>`, `<code>`, ...) with a single design-tokenized text node that is consumed internally by nearly every other Magma component.\n\n#### Semantic Behavior\n\n- **Typography drives the rendered tag**: when `tag` is left unset, a sensible default element is resolved from the chosen `typography` (e.g. `typography=\"h2\"` -> `<h2>`, `paragraph`/`detail` -> `<p>`, `label`/`option` -> `<label>`, `snippet`/`hack` -> `<code>`, `tip` -> `<div>`). Setting `tag` explicitly overrides this.\n- **A title is written by its role**: `page`, `section`, `dialog`, `part` and `group` are the titles of the design language (`titles/page` and the others). Each takes the style of its role, the level the role is styled as (the title of a page is styled as `h3`, of a section and a dialog as `h5`, of a part and a group as `h6`), so a theme moves a role in one place. Left without `tag`, a role renders the tag of that level; the outline of the page sets the tag (`titles/tag-is-structure`), so the title of a page is `typography=\"page\" tag=\"h1\"`.\n- **Semantics vs. visual style are independent**: `typography` controls the visual ramp and the default element, but you may pin any allowed `tag` to keep the correct document outline (accessibility) while choosing a different visual scale.\n- **Text to read stops at the reading measure**: with the tag `p`, `li` or `figcaption` (`p` is the default of `detail` and `paragraph`) the host is capped at `max-w-text`, the reading measure (`--spacing-text`, `56ch`), as the reset caps the plain tags. The cap sits on the host, which carries the type style, so the `ch` is that of its own text; every other tag leaves the host as wide as its container.\n- **Text source is slot or prop**: text is normally provided through the default slot. Passing the `text` prop renders that string instead of the slotted content - required for the animation path, since the animation watches the `text` value.\n- **Default-slot is text only**: the default slot is intended for a plain text string; HTML elements or other components should not be slotted in. The one exception is `<mds-link>`, made to sit inside the text: it takes the font of the typography role and wraps with the words around it.\n- **Animated reveal**: with `animation=\"yugop\"` the component runs a randomized character \"decode\" reveal whenever the `text` prop changes after load (the initial value is rendered as is); `animation=\"none\"` (the default) skips all animation. The revealed string is always painted as text, never parsed as HTML.\n- **Animation tuning via CSS**: the yugop reveal reads `--mds-text-animation-speed` and `--mds-text-animation-placeholder-char`, so speed and placeholder glyph are themeable through CSS custom properties rather than props. They are read each time a reveal starts, so a value changed after load applies to the next reveal. The placeholder is one character (a longer string keeps its first one); a speed that is not a positive number, or an empty placeholder, falls back to the defaults (`0.5` and a space).\n\n#### Properties & Visual Configurations\n\n- **`typography`** selects the semantic text role from the shared typography ramp (titles `h1`-`h6` and `action`; informational `detail`, `paragraph`, `caption`, `label`, `option`, `tip`; monospaced `snippet`, `hack`) or, for a title, its role in the design language (`page`, `section`, `dialog`, `part`, `group`, values of `mds-text` only). It is the primary prop and also determines the default rendered tag. Defaults to `'detail'`.\n- **`variant`** refines the _tone of a typography role_ and is specific to this component - it is the typography variation (`'title'`, `'info'`, `'read'`, `'code'`), not the shared component tone/variant ladder. Only `'read'` has a visual effect, and only on `paragraph`, `detail` and `caption` (it switches them to the reading family); the other values change nothing, and leaving it unset uses the role's default styling.\n- **`tag`** is an escape hatch to force a specific HTML element independently of `typography`, e.g. rendering a visually large heading as a `<span>` or marking text as `<strong>`/`<em>`/`<mark>` without changing the visual scale.\n- **`truncate`** governs overflow clipping: `'word'` forces single-line truncation (no wrapping), `'all'` clamps to a multi-line block whose line count is controlled by `--mds-text-line-clamp`, and `'none'` lets text flow normally. `'word'` and `'none'` clip only the end of the line, for the ellipsis, so the accents and the descenders of the `label` and `option` typographies (whose box is trimmed to the capitals) stay visible. `'all'` has to hide the lines after the clamp: the accents of its first line stay visible, while the descenders of its last visible line (a cedilla, the tail of a comma) are cut where the box ends.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-text>` component, ordered from most common to most specialized. The examples assume a working knowledge of the typography ramp documented in [`agents/typography.md`](../../../../agents/typography.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Body Text via Default Slot\n\nThe canonical form for body copy. Slot a plain text string; `typography` defaults to `'detail'`, which renders a `<p>` element with the detail style.\n\n```html\n<mds-text>Inserisci il testo del messaggio nel campo sottostante.</mds-text>\n```\n\n#### A Title by Its Role\n\nWrite a title by what it is: `page`, `section`, `dialog`, `part` or `group`. Each takes the style of its role (the page as `h3`, a section and a dialog as `h5`, a part and a group as `h6`), and `tag` gives the level of its place in the outline: one `h1`, the title of the page.\n\n```html\n<mds-text typography=\"page\" tag=\"h1\">Pratiche di residenza</mds-text>\n<mds-text typography=\"section\" tag=\"h2\">Dati del richiedente</mds-text>\n<mds-text typography=\"part\" tag=\"h3\">Indirizzo di residenza</mds-text>\n```\n\n#### Choosing a Typography Role\n\nSet `typography` to match the semantic role. The component resolves the correct HTML element automatically - `h1`-`h6` emit heading elements, a title role emits the heading of the level it is styled as, `paragraph`/`detail` emit `<p>`, `label`/`option` emit `<label>`, `snippet`/`hack` emit `<code>`, `tip` and `action` emit `<div>` and `<span>` respectively.\n\n```html\n<mds-text typography=\"page\" tag=\"h1\">Benvenuto nel portale</mds-text>\n<mds-text typography=\"section\" tag=\"h2\">Impostazioni account</mds-text>\n<mds-text typography=\"paragraph\">Questo e' il corpo principale della pagina.</mds-text>\n<mds-text typography=\"caption\">Nota: i campi obbligatori sono contrassegnati con *</mds-text>\n<mds-text typography=\"label\">Nome utente</mds-text>\n<mds-text typography=\"tip\">Usa almeno 8 caratteri</mds-text>\n```\n\n#### Text via `text` Prop\n\nUse the `text` prop when the string comes from a JavaScript expression or data binding. This is also required for the `yugop` animation (see below) since the animation watches the prop value.\n\n```html\n<mds-text typography=\"detail\" text=\"Ultimo accesso: 3 giugno 2026\"></mds-text>\n```\n\n#### Reading Variant\n\nApply `variant=\"read\"` to `paragraph`, `detail`, or `caption` when rendering long-form editorial content. The reading variant keeps the same sizes but switches to the serif reading font (lighter for `paragraph` and `detail`), optimized for sustained reading.\n\n```html\n<mds-text typography=\"paragraph\" variant=\"read\">\n  Il regolamento definisce le modalita' di accesso ai servizi digitali\n  dell'amministrazione pubblica, in conformita' con le vigenti normative europee.\n</mds-text>\n\n<mds-text typography=\"detail\" variant=\"read\">\n  Fonte: Gazzetta Ufficiale, serie generale n. 128 del 4 giugno 2026.\n</mds-text>\n```\n\n#### A Link Inside the Text\n\nThe default slot takes plain text and one component, `<mds-link>`: a word or a phrase that links, with the font of the typography role, wrapping with the text around it.\n\n```html\n<mds-text typography=\"paragraph\">\n  Leggi l'<mds-link href=\"/privacy\">informativa sulla privacy</mds-link> prima di continuare.\n</mds-text>\n```\n\n#### Monospaced Code Styles\n\nUse `typography=\"snippet\"` for inline code values or short terminal output. Use `typography=\"hack\"` for a smaller monospaced size suited to code-dense interfaces.\n\n```html\n<mds-text typography=\"snippet\">SELECT * FROM utenti WHERE attivo = true;</mds-text>\n<mds-text typography=\"hack\">npm install @maggioli-design-system/magma</mds-text>\n```\n\n#### Overriding the Rendered Tag\n\n`tag` is an escape hatch to pin a specific HTML element when the `typography` default is semantically wrong - for example, rendering a visually large heading as a `<span>` for a non-heading context, or marking inline text as `<strong>` or `<em>` without changing the visual scale.\n\n```html\n<!-- Visually h2 scale but not a landmark heading -->\n<mds-text typography=\"h2\" tag=\"span\">Sezione in evidenza</mds-text>\n\n<!-- Emphasized inline detail without changing scale -->\n<mds-text typography=\"detail\" tag=\"strong\">Attenzione: questa operazione e' irreversibile.</mds-text>\n\n<!-- Marked text using caption scale -->\n<mds-text typography=\"caption\" tag=\"mark\">Modificato il 3 giugno 2026</mds-text>\n```\n\n#### Single-Line Truncation\n\nUse `truncate=\"word\"` to clamp text to a single line with an ellipsis when layout space is constrained, for example inside a table cell or card header.\n\n```html\n<div style=\"width: 200px;\">\n  <mds-text typography=\"detail\" truncate=\"word\">\n    Titolo molto lungo che supera la larghezza disponibile del contenitore\n  </mds-text>\n</div>\n```\n\n#### Multi-Line Clamp\n\nUse `truncate=\"all\"` to clamp text to a fixed number of lines. Control the number of visible lines via `--mds-text-line-clamp` (default 3).\n\n```html\n<mds-text typography=\"paragraph\" truncate=\"all\" style=\"--mds-text-line-clamp: 2;\">\n  Questo paragrafo mostra solo le prime due righe di testo, troncando il resto\n  con i puntini di sospensione indipendentemente dai caratteri di confine.\n</mds-text>\n```\n\n#### Animated Character Reveal\n\nSet `animation=\"yugop\"` together with the `text` prop to run a randomized character-decode reveal each time `text` changes; the initial value is rendered without animation. Tune the speed via `--mds-text-animation-speed`.\n\n```html\n<mds-text\n  typography=\"h3\"\n  animation=\"yugop\"\n  text=\"Benvenuto nel sistema\"\n  style=\"--mds-text-animation-speed: 1;\"\n></mds-text>\n```\n\n#### Custom Line-Clamp Count\n\nSet `--mds-text-line-clamp` on the component host (or a parent selector) to vary the clamp depth per context without duplicating attributes.\n\n```css\n.abstract mds-text {\n  --mds-text-line-clamp: 4;\n}\n\n.anteprima mds-text {\n  --mds-text-line-clamp: 2;\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-text>`. 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 Slot HTML Elements in the Default Slot\n\nThe default slot accepts plain text strings only. HTML elements or components slotted inside are outside the supported API: they keep their own browser and page styles instead of following the typography role. The one exception is `<mds-link>`, a word of the sentence that takes the font of the role.\n\n```html\n<!-- INCORRECT -->\n<mds-text typography=\"paragraph\">\n  <strong>Attenzione:</strong> questa operazione e' <em>irreversibile</em>.\n</mds-text>\n\n<!-- CORRECT -->\n<mds-text typography=\"paragraph\">Attenzione: questa operazione e' irreversibile.</mds-text>\n<mds-text typography=\"paragraph\" tag=\"strong\">Attenzione:</mds-text>\n```\n\n#### Do Not Mix `text` Prop and Slotted Content\n\nWhen `text` is set, the component renders that string and ignores the slot entirely. Do not provide both - the slotted content is silently discarded.\n\n```html\n<!-- INCORRECT -->\n<mds-text text=\"Titolo dal prop\">Titolo dallo slot</mds-text>\n\n<!-- CORRECT -->\n<!-- Use either the prop (preferred for dynamic / animated content) -->\n<mds-text text=\"Titolo dal prop\"></mds-text>\n<!-- or the slot (convenient for static markup) -->\n<mds-text>Titolo dallo slot</mds-text>\n```\n\n#### Do Not Use `animation=\"yugop\"` Without the `text` Prop\n\nThe yugop animation requires the `text` prop because it watches prop changes to retrigger. Slotted content is not observed; changing it will not re-run the animation.\n\n```html\n<!-- INCORRECT -->\n<mds-text animation=\"yugop\">Testo animato dallo slot</mds-text>\n\n<!-- CORRECT -->\n<mds-text animation=\"yugop\" text=\"Testo animato dal prop\"></mds-text>\n```\n\n#### Do Not Apply an Invalid `variant` for the Chosen `typography`\n\n`variant` is specific to the typography role: only `paragraph`, `detail`, and `caption` accept `variant=\"read\"`. Applying `variant=\"read\"` to heading or label roles silently has no visual effect and adds misleading markup.\n\n```html\n<!-- INCORRECT -->\n<mds-text typography=\"h2\" variant=\"read\">Impostazioni</mds-text>\n<mds-text typography=\"label\" variant=\"read\">Nome</mds-text>\n\n<!-- CORRECT -->\n<mds-text typography=\"h2\">Impostazioni</mds-text>\n<mds-text typography=\"paragraph\" variant=\"read\">Testo editoriale lungo.</mds-text>\n```\n\n#### Do Not Style a Title by Its Level\n\nA title is written by its role, not by the level it happens to look like: a level ties the title to one style, and a theme that moves the title of a page would have to move every `h3`. Nor does the tag choose the style: the title of a page is the one `h1` of the page and keeps the style of its role.\n\n```html\n<!-- INCORRECT -->\n<mds-text typography=\"h1\">Pratiche di residenza</mds-text>\n<mds-text typography=\"h3\" tag=\"h1\">Pratiche di residenza</mds-text>\n\n<!-- CORRECT -->\n<mds-text typography=\"page\" tag=\"h1\">Pratiche di residenza</mds-text>\n```\n\n#### Do Not Use Raw HTML Headings Instead of `<mds-text>`\n\nReplace raw `<h1>`-`<h6>`, `<p>`, `<span>`, `<label>`, and `<code>` styled with generic utilities with `<mds-text>` in Magma-managed views (or apply the typography utilities of [`agents/typography.md`](../../../../agents/typography.md)). Generic sizes and weights bypass the design-token typography ramp, causing visual inconsistency across themes and sizes.\n\n```html\n<!-- INCORRECT -->\n<h2 class=\"text-2xl font-bold\">Riepilogo ordine</h2>\n<p class=\"text-sm text-fg-muted\">Totale: 128,00 EUR</p>\n\n<!-- CORRECT -->\n<mds-text typography=\"section\" tag=\"h2\">Riepilogo ordine</mds-text>\n<mds-text typography=\"caption\">Totale: 128,00 EUR</mds-text>\n```\n\n#### Do Not Reach Into Shadow DOM to Style Internal Elements\n\nThe component exposes three public `--mds-text-*` CSS custom properties for customization (the animation speed, the animation placeholder character and the line clamp); the other text styles are set on the host. Do not pierce the shadow DOM via `::part()` or `>>>` selectors targeting the internal `.text` element - that implementation detail is not a documented part and may change.\n\n```css\n/* INCORRECT */\nmds-text >>> .text {\n  letter-spacing: 0.1em;\n}\n\n/* CORRECT - set via host; the host styles cascade into the shadow text node */\nmds-text {\n  letter-spacing: 0.1em;\n}\n```\n\n#### Do Not Confuse `truncate=\"word\"` and `truncate=\"all\"`\n\n`truncate=\"word\"` forces **single-line** truncation. `truncate=\"all\"` enables **multi-line** clamping controlled by `--mds-text-line-clamp`. Using `\"word\"` when you want multi-line clamp will collapse the text to one line unexpectedly.\n\n```html\n<!-- INCORRECT - collapses to one line when two lines were intended -->\n<mds-text typography=\"paragraph\" truncate=\"word\" style=\"--mds-text-line-clamp: 2;\">\n  Testo lungo che dovrebbe mostrare due righe prima del troncamento.\n</mds-text>\n\n<!-- CORRECT -->\n<mds-text typography=\"paragraph\" truncate=\"all\" style=\"--mds-text-line-clamp: 2;\">\n  Testo lungo che dovrebbe mostrare due righe prima del troncamento.\n</mds-text>\n```\n\n#### Do Not Center Only the Lines of a Paragraph\n\nA paragraph (the tag `p`, the default of `detail` and `paragraph`) stops at the reading measure. In a wider column, `text-center` centers its lines inside a box that still starts at the left edge, so the text looks pushed to one side: center the box as well.\n\n```html\n<!-- INCORRECT - the lines are centered in a 56ch box at the start of the column -->\n<mds-text typography=\"paragraph\" class=\"text-center\">\n  Nessun risultato corrisponde ai filtri scelti.\n</mds-text>\n\n<!-- CORRECT -->\n<mds-text typography=\"paragraph\" class=\"mx-auto text-center\">\n  Nessun risultato corrisponde ai filtri scelti.\n</mds-text>\n```\n"
      },
      "props": [
        {
          "name": "animation",
          "type": "\"none\" | \"yugop\" | undefined",
          "complexType": {
            "original": "TextAnimationType",
            "resolved": "\"none\" | \"yugop\" | undefined",
            "references": {
              "TextAnimationType": {
                "location": "import",
                "path": "./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": "tag",
          "type": "\"abbr\" | \"address\" | \"article\" | \"b\" | \"bdo\" | \"blockquote\" | \"cite\" | \"code\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"figcaption\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"i\" | \"ins\" | \"kbd\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"ol\" | \"p\" | \"pre\" | \"q\" | \"rb\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"small\" | \"span\" | \"strong\" | \"sub\" | \"summary\" | \"sup\" | \"time\" | \"u\" | \"ul\" | \"var\"",
          "complexType": {
            "original": "TypographyTagType",
            "resolved": "\"abbr\" | \"address\" | \"article\" | \"b\" | \"bdo\" | \"blockquote\" | \"cite\" | \"code\" | \"dd\" | \"del\" | \"details\" | \"dfn\" | \"div\" | \"dl\" | \"dt\" | \"em\" | \"figcaption\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"i\" | \"ins\" | \"kbd\" | \"label\" | \"legend\" | \"li\" | \"mark\" | \"ol\" | \"p\" | \"pre\" | \"q\" | \"rb\" | \"rt\" | \"ruby\" | \"s\" | \"samp\" | \"small\" | \"span\" | \"strong\" | \"sub\" | \"summary\" | \"sup\" | \"time\" | \"u\" | \"ul\" | \"var\"",
            "references": {
              "TypographyTagType": {
                "location": "import",
                "path": "@type/text",
                "id": "src/type/text.ts::TypographyTagType",
                "referenceLocation": "TypographyTagType"
              }
            }
          },
          "mutable": true,
          "attr": "tag",
          "reflectToAttr": true,
          "docs": "Specifies the HTML tag of the element. With `p`, `li` or `figcaption` the text stops at the\nreading measure (`max-w-text`), as the reset does for the plain tags",
          "docsTags": [],
          "values": [
            {
              "value": "abbr",
              "type": "string"
            },
            {
              "value": "address",
              "type": "string"
            },
            {
              "value": "article",
              "type": "string"
            },
            {
              "value": "b",
              "type": "string"
            },
            {
              "value": "bdo",
              "type": "string"
            },
            {
              "value": "blockquote",
              "type": "string"
            },
            {
              "value": "cite",
              "type": "string"
            },
            {
              "value": "code",
              "type": "string"
            },
            {
              "value": "dd",
              "type": "string"
            },
            {
              "value": "del",
              "type": "string"
            },
            {
              "value": "details",
              "type": "string"
            },
            {
              "value": "dfn",
              "type": "string"
            },
            {
              "value": "div",
              "type": "string"
            },
            {
              "value": "dl",
              "type": "string"
            },
            {
              "value": "dt",
              "type": "string"
            },
            {
              "value": "em",
              "type": "string"
            },
            {
              "value": "figcaption",
              "type": "string"
            },
            {
              "value": "h1",
              "type": "string"
            },
            {
              "value": "h2",
              "type": "string"
            },
            {
              "value": "h3",
              "type": "string"
            },
            {
              "value": "h4",
              "type": "string"
            },
            {
              "value": "h5",
              "type": "string"
            },
            {
              "value": "h6",
              "type": "string"
            },
            {
              "value": "i",
              "type": "string"
            },
            {
              "value": "ins",
              "type": "string"
            },
            {
              "value": "kbd",
              "type": "string"
            },
            {
              "value": "label",
              "type": "string"
            },
            {
              "value": "legend",
              "type": "string"
            },
            {
              "value": "li",
              "type": "string"
            },
            {
              "value": "mark",
              "type": "string"
            },
            {
              "value": "ol",
              "type": "string"
            },
            {
              "value": "p",
              "type": "string"
            },
            {
              "value": "pre",
              "type": "string"
            },
            {
              "value": "q",
              "type": "string"
            },
            {
              "value": "rb",
              "type": "string"
            },
            {
              "value": "rt",
              "type": "string"
            },
            {
              "value": "ruby",
              "type": "string"
            },
            {
              "value": "s",
              "type": "string"
            },
            {
              "value": "samp",
              "type": "string"
            },
            {
              "value": "small",
              "type": "string"
            },
            {
              "value": "span",
              "type": "string"
            },
            {
              "value": "strong",
              "type": "string"
            },
            {
              "value": "sub",
              "type": "string"
            },
            {
              "value": "summary",
              "type": "string"
            },
            {
              "value": "sup",
              "type": "string"
            },
            {
              "value": "time",
              "type": "string"
            },
            {
              "value": "u",
              "type": "string"
            },
            {
              "value": "ul",
              "type": "string"
            },
            {
              "value": "var",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "text",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "text",
          "reflectToAttr": true,
          "docs": "Specifies the text string to the component instead of passing an HTML node",
          "docsTags": [],
          "values": [
            {
              "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": [],
          "values": [
            {
              "value": "all",
              "type": "string"
            },
            {
              "value": "none",
              "type": "string"
            },
            {
              "value": "word",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "typography",
          "type": "\"action\" | \"caption\" | \"detail\" | \"dialog\" | \"group\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"hack\" | \"label\" | \"option\" | \"page\" | \"paragraph\" | \"part\" | \"section\" | \"snippet\" | \"tip\"",
          "complexType": {
            "original": "TextTypographyType",
            "resolved": "\"action\" | \"caption\" | \"detail\" | \"dialog\" | \"group\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\" | \"hack\" | \"label\" | \"option\" | \"page\" | \"paragraph\" | \"part\" | \"section\" | \"snippet\" | \"tip\"",
            "references": {
              "TextTypographyType": {
                "location": "import",
                "path": "./meta/types",
                "id": "src/components/mds-text/meta/types.ts::TextTypographyType",
                "referenceLocation": "TextTypographyType"
              }
            }
          },
          "mutable": false,
          "attr": "typography",
          "reflectToAttr": true,
          "docs": "Specifies the font typography of the element. A title is written by its role (`page`,\n`section`, `dialog`, `part`, `group`), which takes the style of that role, and the tag of\nthe level it is styled as unless `tag` gives the level of its place in the outline",
          "docsTags": [
            {
              "name": "default",
              "text": "'detail'"
            }
          ],
          "default": "'detail'",
          "values": [
            {
              "value": "action",
              "type": "string"
            },
            {
              "value": "caption",
              "type": "string"
            },
            {
              "value": "detail",
              "type": "string"
            },
            {
              "value": "dialog",
              "type": "string"
            },
            {
              "value": "group",
              "type": "string"
            },
            {
              "value": "h1",
              "type": "string"
            },
            {
              "value": "h2",
              "type": "string"
            },
            {
              "value": "h3",
              "type": "string"
            },
            {
              "value": "h4",
              "type": "string"
            },
            {
              "value": "h5",
              "type": "string"
            },
            {
              "value": "h6",
              "type": "string"
            },
            {
              "value": "hack",
              "type": "string"
            },
            {
              "value": "label",
              "type": "string"
            },
            {
              "value": "option",
              "type": "string"
            },
            {
              "value": "page",
              "type": "string"
            },
            {
              "value": "paragraph",
              "type": "string"
            },
            {
              "value": "part",
              "type": "string"
            },
            {
              "value": "section",
              "type": "string"
            },
            {
              "value": "snippet",
              "type": "string"
            },
            {
              "value": "tip",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "variant",
          "type": "\"code\" | \"info\" | \"read\" | \"title\" | undefined",
          "complexType": {
            "original": "TypographyVariants",
            "resolved": "\"code\" | \"info\" | \"read\" | \"title\" | undefined",
            "references": {
              "TypographyVariants": {
                "location": "import",
                "path": "@type/typography",
                "id": "src/type/typography.ts::TypographyVariants",
                "referenceLocation": "TypographyVariants"
              }
            }
          },
          "mutable": false,
          "attr": "variant",
          "reflectToAttr": true,
          "docs": "Specifies the variant for `typography`",
          "docsTags": [],
          "values": [
            {
              "value": "code",
              "type": "string"
            },
            {
              "value": "info",
              "type": "string"
            },
            {
              "value": "read",
              "type": "string"
            },
            {
              "value": "title",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-text-animation-placeholder-char",
          "annotation": "prop",
          "docs": "Placeholder character used during text animation.",
          "visibility": "public"
        },
        {
          "name": "--mds-text-animation-speed",
          "annotation": "prop",
          "docs": "Speed of text animation.",
          "visibility": "public"
        },
        {
          "name": "--mds-text-line-clamp",
          "annotation": "prop",
          "docs": "Number of lines to clamp text to (line-clamp).",
          "visibility": "public"
        },
        {
          "name": "--mds-text-selection-background",
          "annotation": "prop",
          "docs": "Background color used when text is selected.",
          "visibility": "internal"
        },
        {
          "name": "--mds-text-selection-color",
          "annotation": "prop",
          "docs": "Text color used when text is selected.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Add `text string` to this slot, **avoid** to add `HTML elements` or `components` here."
        }
      ],
      "parts": [],
      "states": [],
      "dependents": [
        "mds-accordion-item",
        "mds-accordion-timer-item",
        "mds-badge",
        "mds-banner",
        "mds-benchmark-bar",
        "mds-bibliography",
        "mds-button",
        "mds-chip",
        "mds-file",
        "mds-file-preview",
        "mds-filter",
        "mds-filter-item",
        "mds-img",
        "mds-input-date-range",
        "mds-input-field",
        "mds-input-range",
        "mds-input-switch",
        "mds-input-tip-item",
        "mds-input-upload",
        "mds-keyboard",
        "mds-keyboard-key",
        "mds-kpi-item",
        "mds-label",
        "mds-list-item",
        "mds-mention",
        "mds-notification",
        "mds-paginator-item",
        "mds-policy-ai",
        "mds-pref",
        "mds-pref-animation",
        "mds-pref-consumption",
        "mds-pref-contrast",
        "mds-pref-language",
        "mds-pref-mode",
        "mds-pref-theme",
        "mds-price-table-features",
        "mds-price-table-features-cell",
        "mds-price-table-list-item",
        "mds-push-notification-item",
        "mds-quote",
        "mds-radial-progress",
        "mds-status-bar",
        "mds-stepper-bar-item",
        "mds-tab-bar-item",
        "mds-table",
        "mds-table-header-cell",
        "mds-toast",
        "mds-tooltip",
        "mds-url-view",
        "mds-usage"
      ],
      "dependencies": [],
      "dependencyGraph": {
        "mds-accordion-item": [
          "mds-text"
        ],
        "mds-accordion-timer-item": [
          "mds-text"
        ],
        "mds-badge": [
          "mds-text"
        ],
        "mds-banner": [
          "mds-text"
        ],
        "mds-benchmark-bar": [
          "mds-text"
        ],
        "mds-bibliography": [
          "mds-text"
        ],
        "mds-button": [
          "mds-text"
        ],
        "mds-chip": [
          "mds-text"
        ],
        "mds-file": [
          "mds-text"
        ],
        "mds-file-preview": [
          "mds-text"
        ],
        "mds-filter": [
          "mds-text"
        ],
        "mds-filter-item": [
          "mds-text"
        ],
        "mds-img": [
          "mds-text"
        ],
        "mds-input-date-range": [
          "mds-text"
        ],
        "mds-input-field": [
          "mds-text"
        ],
        "mds-input-range": [
          "mds-text"
        ],
        "mds-input-switch": [
          "mds-text"
        ],
        "mds-input-tip-item": [
          "mds-text"
        ],
        "mds-input-upload": [
          "mds-text"
        ],
        "mds-keyboard": [
          "mds-text"
        ],
        "mds-keyboard-key": [
          "mds-text"
        ],
        "mds-kpi-item": [
          "mds-text"
        ],
        "mds-label": [
          "mds-text"
        ],
        "mds-list-item": [
          "mds-text"
        ],
        "mds-mention": [
          "mds-text"
        ],
        "mds-notification": [
          "mds-text"
        ],
        "mds-paginator-item": [
          "mds-text"
        ],
        "mds-policy-ai": [
          "mds-text"
        ],
        "mds-pref": [
          "mds-text"
        ],
        "mds-pref-animation": [
          "mds-text"
        ],
        "mds-pref-consumption": [
          "mds-text"
        ],
        "mds-pref-contrast": [
          "mds-text"
        ],
        "mds-pref-language": [
          "mds-text"
        ],
        "mds-pref-mode": [
          "mds-text"
        ],
        "mds-pref-theme": [
          "mds-text"
        ],
        "mds-price-table-features": [
          "mds-text"
        ],
        "mds-price-table-features-cell": [
          "mds-text"
        ],
        "mds-price-table-list-item": [
          "mds-text"
        ],
        "mds-push-notification-item": [
          "mds-text"
        ],
        "mds-quote": [
          "mds-text"
        ],
        "mds-radial-progress": [
          "mds-text"
        ],
        "mds-status-bar": [
          "mds-text"
        ],
        "mds-stepper-bar-item": [
          "mds-text"
        ],
        "mds-tab-bar-item": [
          "mds-text"
        ],
        "mds-table": [
          "mds-text"
        ],
        "mds-table-header-cell": [
          "mds-text"
        ],
        "mds-toast": [
          "mds-text"
        ],
        "mds-tooltip": [
          "mds-text"
        ],
        "mds-url-view": [
          "mds-text"
        ],
        "mds-usage": [
          "mds-text"
        ]
      },
      "storybook": "design-typography--docs"
    }
  ]
}
