{
  "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-tree/mds-tree.tsx",
      "encapsulation": "shadow",
      "tag": "mds-tree",
      "docs": "",
      "docsTags": [
        {
          "name": "slot",
          "text": "- Add `mds-tree-item` element/s."
        },
        {
          "name": "category",
          "text": "navigation"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-tree>` web component is the root container of the Magma Design System tree view, organizing a hierarchy of slotted `<mds-tree-item>` nodes into an expandable/collapsible structure. It owns no visual row of its own: it is a compound parent that configures, stacks, and propagates state to its children.\n\n#### Semantic Behavior\n\n- **Compound parent**: The default slot accepts only `<mds-tree-item>` elements; the tree itself renders nothing but the slot and acts as the configuration and coordination root for the hierarchy.\n- **Accessibility**: The tree is a list of its items (`role=\"list\"`, named by `label`), and the items of a branch are a list inside their item, so a screen reader announces the level and the size of every branch. It is not a `role=\"tree\"`, which promises arrow-key navigation and leaves no room for the actions of an item: every button stays a Tab stop. The items of a closed branch are out of the tab order.\n- **Depth seeding**: Its direct children are assigned `depth = 0`, which removes the branch connector lines from the first level; deeper levels are indented by their nesting.\n- **Cascading `expanded`**: `expanded` on the tree, set in the markup or changed at runtime, propagates to every descendant item, opening or collapsing the whole hierarchy at once - except children marked `async`, which are left for on-demand resolution. Items added later, a branch loaded on demand, take the tree's `expanded`, `toggle`, `togglePosition`, `appearance` and `truncate` when they arrive; the items already there keep the state the user gave them.\n- **Cascading `toggle` and `truncate`**: Changing the toggle icon or the truncation mode on the tree pushes the value down to all descendant items so the whole tree stays visually consistent.\n- **Async branches**: When `async` is set on an item, its branch is expected to resolve its children after the click rather than expanding from pre-rendered content; such items are excluded from the bulk `expanded` cascade.\n\n#### Properties & Visual Configurations\n\n- **`appearance`** controls whether the depth-indicating branch decorations (connector lines and dots) are drawn: `'depth'` shows the guide lines that visualize nesting; `'none'` removes them for a flat look.\n- **`actions`** governs how per-item action controls are surfaced: `'auto'` reveals them on hover, `'visible'` keeps them always shown.\n- **`toggle`** selects the expand/collapse glyph for every item - `'chevron'` for a generic disclosure arrow, `'folder'` for a file-explorer metaphor; **`togglePosition`** places that glyph at the `'left'` or `'right'` of the label.\n\n#### Other behavioral props\n\n- **`truncate`** sets how item labels overflow: `'word'` truncates the line, `'all'` clamps to multiple lines (paired with the `--mds-tree-line-clamp` custom property), `'none'` lets text wrap freely.\n- **`expanded`** is the only mutable, reflected state prop; set it on the root to open the entire tree on first render, or change it to open or close the entire tree programmatically.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-tree>` 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#### Nested Hierarchy\n\nThe canonical form: the root-level `<mds-tree-item>` elements are direct children of `<mds-tree>`, and `<mds-tree-item>` elements placed inside other `<mds-tree-item>` elements build depth. The tree seeds `depth = 0` on direct children, which drops their branch connector lines; nested items are indented by their nesting.\n\n```html\n<mds-tree>\n  <mds-tree-item label=\"Direzione generale\">\n    <mds-tree-item label=\"Segreteria\">\n      <mds-tree-item label=\"Protocollo\"></mds-tree-item>\n      <mds-tree-item label=\"Archivio\"></mds-tree-item>\n    </mds-tree-item>\n    <mds-tree-item label=\"Risorse umane\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Flat List\n\nRoot-level nodes with no nesting are valid too, every `<mds-tree-item>` a direct child of `<mds-tree>`. With no branch to open the tree reads as a plain list.\n\n```html\n<mds-tree>\n  <mds-tree-item label=\"Bacheca\"></mds-tree-item>\n  <mds-tree-item label=\"Documenti\"></mds-tree-item>\n  <mds-tree-item label=\"Impostazioni\"></mds-tree-item>\n</mds-tree>\n```\n\n#### Programmatic Expand / Collapse\n\nChange `expanded` on `<mds-tree>` at runtime to open or close the entire hierarchy at once. This cascades to all descendant items except those marked `async`, also when `expanded` is set in the markup; to start with a single branch open set `expanded` on that item instead.\n\n```html\n<!-- A branch expanded on mount -->\n<mds-tree id=\"albero-pratiche\">\n  <mds-tree-item label=\"Pratiche in corso\" expanded>\n    <mds-tree-item label=\"Pratica 001/2025\"></mds-tree-item>\n    <mds-tree-item label=\"Pratica 002/2025\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n\n<script>\n  // Open or close the whole hierarchy later\n  document.getElementById('albero-pratiche').expanded = true;\n</script>\n```\n\n#### Folder Toggle Style\n\nUse `toggle=\"folder\"` for file-explorer metaphors. The toggle icon switches between a closed and open folder glyph when the item is expanded or collapsed.\n\n```html\n<mds-tree toggle=\"folder\" actions=\"visible\">\n  <mds-tree-item label=\"Fascicoli\">\n    <mds-tree-item label=\"2025\">\n      <mds-tree-item label=\"Fascicolo 001\"></mds-tree-item>\n      <mds-tree-item label=\"Fascicolo 002\"></mds-tree-item>\n    </mds-tree-item>\n    <mds-tree-item label=\"2024\">\n      <mds-tree-item label=\"Fascicolo 099\"></mds-tree-item>\n    </mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Right-Positioned Toggle for Navigation Menus\n\nSet `toggle-position=\"right\"` and `appearance=\"none\"` for a flat navigation-menu look where the expand chevron sits at the trailing edge of the row.\n\n```html\n<mds-tree toggle=\"chevron\" toggle-position=\"right\" appearance=\"none\">\n  <mds-tree-item label=\"Protocollazione documenti\">\n    <mds-tree-item label=\"Nuovo protocollo in arrivo\"></mds-tree-item>\n    <mds-tree-item label=\"Nuovo protocollo in partenza\"></mds-tree-item>\n  </mds-tree-item>\n  <mds-tree-item label=\"Gestione allegati\">\n    <mds-tree-item label=\"Scansione multipla\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Per-Item Actions via the `action` Slot\n\nSlot `<mds-button>` or `<mds-icon>` elements into each `<mds-tree-item>` with `slot=\"action\"`. Use `actions=\"auto\"` (default) to reveal them on hover, or `actions=\"visible\"` to always show them.\n\n```html\n<mds-tree actions=\"auto\">\n  <mds-tree-item label=\"Relazione annuale 2025\">\n    <mds-button\n      slot=\"action\"\n      icon=\"mi/baseline/download\"\n      variant=\"dark\"\n      tone=\"text\"\n      title=\"Scarica\"\n    ></mds-button>\n    <mds-button\n      slot=\"action\"\n      icon=\"mi/baseline/more-vert\"\n      variant=\"dark\"\n      tone=\"text\"\n      title=\"Altre opzioni\"\n    ></mds-button>\n    <mds-tree-item label=\"Capitolo 1\"></mds-tree-item>\n    <mds-tree-item label=\"Capitolo 2\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Listening to Expand and Collapse Events\n\n`<mds-tree-item>` emits `mdsTreeItemCollapse` when it closes, and `mdsTreeItemExpand` only when an item marked `async` is asked to open (see below): opening a regular item emits nothing. Both events bubble, so one listener on the tree catches them. Listen via `addEventListener` - do not rely on native `change` / `click` bubbling through shadow DOM.\n\n```html\n<mds-tree id=\"albero-categorie\">\n  <mds-tree-item label=\"Categoria A\">\n    <mds-tree-item label=\"Sottocategoria A1\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n\n<script>\n  // emitted only by items marked async\n  document.getElementById('albero-categorie').addEventListener('mdsTreeItemExpand', (event) => {\n    console.log('espanso:', event.detail.element.label);\n  });\n\n  document.getElementById('albero-categorie').addEventListener('mdsTreeItemCollapse', (event) => {\n    console.log('collassato:', event.detail.element.label);\n  });\n</script>\n```\n\n#### Async Lazy-Loading Branches\n\nMark a `<mds-tree-item>` with `async` when its children must be fetched on demand. The item shows a loading spinner on click and emits `mdsTreeItemExpand`. Resolve the branch by calling `element.expand()` on the item once data is ready, then remove `async` so that reopening the branch later does not fetch it again. An item looks for child items only when it first renders: one that has none then shows no toggle (and no spinner), and children appended later do not add it.\n\n```html\n<mds-tree>\n  <mds-tree-item label=\"Comune di Rimini\" icon=\"mgg/historic-building\">\n    <mds-tree-item label=\"Ufficio\" async class=\"ufficio-item\" icon=\"mi/baseline/desk\">\n      <!-- children appended by the script below -->\n    </mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n\n<script>\n  document.querySelector('.ufficio-item').addEventListener('mdsTreeItemExpand', async (event) => {\n    const { element } = event.detail;\n    if (!element.async) return;\n    const children = await fetchChildren(element.label);\n    children.forEach((nome) => {\n      const item = document.createElement('mds-tree-item');\n      item.label = nome;\n      element.appendChild(item);\n    });\n    element.expand();\n    element.async = false;\n  });\n</script>\n```\n\n#### Icon on Individual Items\n\nUse the `icon` prop on `<mds-tree-item>` to show a glyph next to the label. Reference icons by their slug from the Magma icon library.\n\n```html\n<mds-tree toggle=\"chevron\">\n  <mds-tree-item label=\"Comune di Rimini\" icon=\"mgg/historic-building\">\n    <mds-tree-item label=\"Sindaco\" icon=\"mdi/handshake\">\n      <mds-tree-item label=\"Segretario generale\" icon=\"mi/baseline/draw\"></mds-tree-item>\n    </mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Styling Customization\n\nThe only public CSS custom property of the tree is `--mds-tree-line-clamp`, the number of lines a label keeps with `truncate=\"all\"` (2 by default). The colours of the labels, branches and toggles, their spacing and the transitions follow the semantic roles, so dark mode and high-contrast modes keep working: shape the tree with its props (`appearance`, `toggle`, `toggle-position`, `truncate`, `actions`) instead. Set the property on the host element or a parent selector.\n\n```css\n.navigazione-laterale mds-tree {\n  --mds-tree-line-clamp: 3;\n}\n```\n\nThe toggle of an open item takes its expanded colours, and the connectors of the branches follow the distance between the toggle and the label of every item.\n",
        "3. Mistakes": "Common incorrect uses of `<mds-tree>`. 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 Non-`mds-tree-item` Elements Directly in `<mds-tree>`\n\nThe default slot of `<mds-tree>` accepts only `<mds-tree-item>` elements. Placing raw HTML or other components as direct children breaks depth seeding and compound communication.\n\n```html\n<!-- INCORRECT -->\n<mds-tree>\n  <li>Voce uno</li>\n  <li>Voce due</li>\n</mds-tree>\n\n<!-- CORRECT -->\n<mds-tree>\n  <mds-tree-item label=\"Voce uno\"></mds-tree-item>\n  <mds-tree-item label=\"Voce due\"></mds-tree-item>\n</mds-tree>\n```\n\n#### Do Not Slot `<mds-tree-item>` Outside `<mds-tree>`\n\n`<mds-tree-item>` is a compound child and depends on `<mds-tree>` for depth seeding and prop cascading. Using it standalone produces undefined indentation and no toggle coordination.\n\n```html\n<!-- INCORRECT -->\n<div class=\"menu\">\n  <mds-tree-item label=\"Impostazioni\">\n    <mds-tree-item label=\"Profilo\"></mds-tree-item>\n  </mds-tree-item>\n</div>\n\n<!-- CORRECT -->\n<mds-tree>\n  <mds-tree-item label=\"Impostazioni\">\n    <mds-tree-item label=\"Profilo\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Do Not Use the `action` Slot on `<mds-tree>` Itself\n\nThe `action` slot is defined on `<mds-tree-item>`, not on `<mds-tree>`. Placing content with `slot=\"action\"` on the root container has no effect; the slot is silently discarded.\n\n```html\n<!-- INCORRECT -->\n<mds-tree>\n  <mds-button slot=\"action\" icon=\"mi/baseline/add\" title=\"Aggiungi\"></mds-button>\n  <mds-tree-item label=\"Documenti\"></mds-tree-item>\n</mds-tree>\n\n<!-- CORRECT -->\n<mds-tree>\n  <mds-tree-item label=\"Documenti\">\n    <mds-button\n      slot=\"action\"\n      icon=\"mi/baseline/add\"\n      variant=\"dark\"\n      tone=\"text\"\n      title=\"Aggiungi\"\n    ></mds-button>\n  </mds-tree-item>\n</mds-tree>\n```\n\n#### Do Not Listen for Native `click` or `change` to Detect Expand/Collapse\n\nA native `click` tells you neither which item changed nor whether it opened or closed. Use the documented events emitted by `<mds-tree-item>`: `mdsTreeItemCollapse` when an item closes, `mdsTreeItemExpand` when an item marked `async` is asked to open.\n\n```html\n<!-- INCORRECT -->\n<mds-tree id=\"albero\">\n  <mds-tree-item label=\"Sezione A\">\n    <mds-tree-item label=\"Voce 1\"></mds-tree-item>\n  </mds-tree-item>\n</mds-tree>\n\n<script>\n  // unreliable - a click says nothing about the expanded state\n  document.getElementById('albero').addEventListener('click', handler);\n</script>\n\n<!-- CORRECT -->\n<script>\n  document.getElementById('albero').addEventListener('mdsTreeItemCollapse', (event) => {\n    console.log('collassato:', event.detail.element.label);\n  });\n</script>\n```\n\n#### Do Not Set `expanded=\"false\"` to Collapse\n\nStencil reads the exact string `\"false\"` as `false`, but the attribute stays on the element, where attribute selectors and presence checks (`hasAttribute('expanded')`) still read the tree as expanded. Remove the attribute (or set the prop to `undefined`) to collapse.\n\n```html\n<!-- INCORRECT -->\n<mds-tree expanded=\"false\">\n  <mds-tree-item label=\"Sezione\"></mds-tree-item>\n</mds-tree>\n\n<!-- CORRECT -->\n<mds-tree>\n  <mds-tree-item label=\"Sezione\"></mds-tree-item>\n</mds-tree>\n```\n\n#### Do Not Use Undocumented `::part()` Targets or `>>>` to Style Internals\n\nThe supported customization surface for `<mds-tree>` is its props and its public `--mds-tree-line-clamp` CSS custom property. Shadow-DOM piercing (`>>>`, `/deep/`) is not supported and `<mds-tree>` exposes no `::part()`. Coupling to internal selectors will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-tree >>> .header {\n  background: red;\n}\n\n/* CORRECT */\nmds-tree {\n  --mds-tree-line-clamp: 3;\n}\n```\n\n#### Do Not Wrap `<mds-tree-item>` in an Extra Div to Add Spacing\n\nInserting wrapper elements breaks the compound slot protocol - `<mds-tree>` communicates with items via `querySelectorAll` and slot assignment, and wrappers interrupt both. Keep the items as direct children: the tree sets their spacing itself, and it has no public CSS custom property for it.\n\n```html\n<!-- INCORRECT -->\n<mds-tree>\n  <div style=\"margin-bottom: 8px;\">\n    <mds-tree-item label=\"Categoria A\"></mds-tree-item>\n  </div>\n  <div style=\"margin-bottom: 8px;\">\n    <mds-tree-item label=\"Categoria B\"></mds-tree-item>\n  </div>\n</mds-tree>\n\n<!-- CORRECT -->\n<mds-tree>\n  <mds-tree-item label=\"Categoria A\"></mds-tree-item>\n  <mds-tree-item label=\"Categoria B\"></mds-tree-item>\n</mds-tree>\n```\n"
      },
      "props": [
        {
          "name": "actions",
          "type": "\"auto\" | \"visible\" | undefined",
          "complexType": {
            "original": "TreeActions",
            "resolved": "\"auto\" | \"visible\" | undefined",
            "references": {
              "TreeActions": {
                "location": "import",
                "path": "@type/tree",
                "id": "src/type/tree.ts::TreeActions",
                "referenceLocation": "TreeActions"
              }
            }
          },
          "mutable": false,
          "attr": "actions",
          "reflectToAttr": true,
          "docs": "Show actions on the every tree item on hover or by default.",
          "docsTags": [
            {
              "name": "default",
              "text": "'auto'"
            }
          ],
          "default": "'auto'",
          "values": [
            {
              "value": "auto",
              "type": "string"
            },
            {
              "value": "visible",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "appearance",
          "type": "\"depth\" | \"none\"",
          "complexType": {
            "original": "TreeAppearance",
            "resolved": "\"depth\" | \"none\"",
            "references": {
              "TreeAppearance": {
                "location": "import",
                "path": "@type/tree",
                "id": "src/type/tree.ts::TreeAppearance",
                "referenceLocation": "TreeAppearance"
              }
            }
          },
          "mutable": false,
          "attr": "appearance",
          "reflectToAttr": true,
          "docs": "Specifies if the branches depth decorations are visible.",
          "docsTags": [
            {
              "name": "default",
              "text": "'depth'"
            }
          ],
          "default": "'depth'",
          "values": [
            {
              "value": "depth",
              "type": "string"
            },
            {
              "value": "none",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "async",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "async",
          "reflectToAttr": true,
          "docs": "Has no effect on the tree: `async` is read on each `mds-tree-item`.",
          "docsTags": [
            {
              "name": "deprecated",
              "text": "Set `async` on the items that load their children on demand. Goes in the next\nmajor."
            }
          ],
          "deprecation": "Set `async` on the items that load their children on demand. Goes in the next\nmajor.",
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "expanded",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "expanded",
          "reflectToAttr": true,
          "docs": "Specifies if the tree is expanded.",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "label",
          "type": "string",
          "complexType": {
            "original": "string",
            "resolved": "string",
            "references": {}
          },
          "mutable": false,
          "attr": "label",
          "reflectToAttr": false,
          "docs": "Names the tree for assistive technologies: the tree is a list of its items, and the label\nis what that list is called",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "toggle",
          "type": "\"chevron\" | \"folder\"",
          "complexType": {
            "original": "TreeIcon",
            "resolved": "\"chevron\" | \"folder\"",
            "references": {
              "TreeIcon": {
                "location": "import",
                "path": "@type/tree",
                "id": "src/type/tree.ts::TreeIcon",
                "referenceLocation": "TreeIcon"
              }
            }
          },
          "mutable": false,
          "attr": "toggle",
          "reflectToAttr": true,
          "docs": "Specifies the toggle icon of the element",
          "docsTags": [
            {
              "name": "default",
              "text": "'chevron'"
            }
          ],
          "default": "'chevron'",
          "values": [
            {
              "value": "chevron",
              "type": "string"
            },
            {
              "value": "folder",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "togglePosition",
          "type": "\"left\" | \"right\"",
          "complexType": {
            "original": "ButtonIconPositionType",
            "resolved": "\"left\" | \"right\"",
            "references": {
              "ButtonIconPositionType": {
                "location": "import",
                "path": "@type/button",
                "id": "src/type/button.ts::ButtonIconPositionType",
                "referenceLocation": "ButtonIconPositionType"
              }
            }
          },
          "mutable": false,
          "attr": "toggle-position",
          "reflectToAttr": true,
          "docs": "Specifies the toggle icon position of the element",
          "docsTags": [
            {
              "name": "default",
              "text": "'left'"
            }
          ],
          "default": "'left'",
          "values": [
            {
              "value": "left",
              "type": "string"
            },
            {
              "value": "right",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "truncate",
          "type": "\"all\" | \"none\" | \"word\"",
          "complexType": {
            "original": "TypographyTruncateType",
            "resolved": "\"all\" | \"none\" | \"word\"",
            "references": {
              "TypographyTruncateType": {
                "location": "import",
                "path": "@type/text",
                "id": "src/type/text.ts::TypographyTruncateType",
                "referenceLocation": "TypographyTruncateType"
              }
            }
          },
          "mutable": false,
          "attr": "truncate",
          "reflectToAttr": true,
          "docs": "Truncate the text of the element on one single line.",
          "docsTags": [
            {
              "name": "default",
              "text": "'word'"
            }
          ],
          "default": "'word'",
          "values": [
            {
              "value": "all",
              "type": "string"
            },
            {
              "value": "none",
              "type": "string"
            },
            {
              "value": "word",
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-tree-actions-border-radius",
          "annotation": "prop",
          "docs": "Sets the border-radius of the wrapper container of the actions.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-actions-gap",
          "annotation": "prop",
          "docs": "Sets the gap between the actions.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-branch-border-color",
          "annotation": "prop",
          "docs": "Sets the border color of the tree branch.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-branch-border-size",
          "annotation": "prop",
          "docs": "Sets the border size of the tree branch.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-branch-dot-default-color",
          "annotation": "prop",
          "docs": "Sets the default color of the tree branch dot.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-branch-dot-expanded-color",
          "annotation": "prop",
          "docs": "Sets the color of the tree branch dot when the item is expanded.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-branch-use-rounded-border",
          "annotation": "prop",
          "docs": "Sets the tree branch has rounded connectors or not, use it as a boolean value `true` or `false`.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-label-default-background",
          "annotation": "prop",
          "docs": "Sets the default text color of the icon used at the near right of the label.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-label-hover-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the label when the mouse is over the item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-label-icon-default-color",
          "annotation": "prop",
          "docs": "Sets the default text color of the icon used at the near right of the label.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-label-icon-hover-color",
          "annotation": "prop",
          "docs": "Sets the text color of the icon used at the near right of the label when the mouse is over the item.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-line-clamp",
          "annotation": "prop",
          "docs": "Sets the number of lines to show before truncating the text, it only works when attribute `truncate` is set to `all`.",
          "visibility": "public"
        },
        {
          "name": "--mds-tree-toggle-gap",
          "annotation": "prop",
          "docs": "Sets the gap between the toggle icon and the label.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-async-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the icon when the attribute `async` is set.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-async-color",
          "annotation": "prop",
          "docs": "Sets the text color of the icon when the attribute `async` is set.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-chevron-default-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the chevron icon when the item is collapsed.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-chevron-default-color",
          "annotation": "prop",
          "docs": "Sets the text color of the chevron icon when the item is collapsed.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-chevron-expanded-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the chevron icon when the item is expanded.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-chevron-expanded-color",
          "annotation": "prop",
          "docs": "Sets the text color of the chevron icon when the item is expanded.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-folder-default-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the folder icon when the item is collapsed.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-folder-default-color",
          "annotation": "prop",
          "docs": "Sets the text color of the folder icon when the item is collapsed.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-folder-expanded-color",
          "annotation": "prop",
          "docs": "Sets the text color of the folder icon when the item is expanded.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-position-right-default-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the icon when the attribute `toggle-position` is set to `right`.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-position-right-default-color",
          "annotation": "prop",
          "docs": "Sets the text color of the icon when the attribute `toggle-position` is set to `right`.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-position-right-expanded-background",
          "annotation": "prop",
          "docs": "Sets the background-color of the icon when the attribute `toggle-position` is set to `right` and the item is expanded.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-toggle-icon-position-right-expanded-color",
          "annotation": "prop",
          "docs": "Sets the text color of the icon when the attribute `toggle-position` is set to `right` and the item is expanded.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-transition-duration",
          "annotation": "prop",
          "docs": "Sets the duration of the transition effect.",
          "visibility": "internal"
        },
        {
          "name": "--mds-tree-transition-timing-function",
          "annotation": "prop",
          "docs": "Sets the timing function of the transition effect.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "",
          "docs": "Add `mds-tree-item` element/s."
        }
      ],
      "parts": [],
      "states": [],
      "dependents": [],
      "dependencies": [],
      "dependencyGraph": {},
      "storybook": "ui-tree--docs"
    }
  ]
}
