{
  "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-chip/mds-chip.tsx",
      "encapsulation": "shadow",
      "tag": "mds-chip",
      "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": "category",
          "text": "tags"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-chip>` web component is the Magma Design System's compact element for representing a discrete piece of information, a filter, a selection, or a removable token. It renders a label with an optional leading icon or colour swatch and an optional delete affordance, and can be made interactive (clickable or selectable) to act as a lightweight button-like control rather than a static tag.\n\n#### Semantic Behavior\n\n- **Static by default**: With no interaction props the chip is a passive, non-focusable label; it becomes a focusable, button-like control only when `clickable` is set.\n- **Selectable implies clickable**: Setting `selectable` automatically turns on `clickable`, so a selectable chip is always keyboard- and pointer-interactive.\n- **Selection toggle**: When `selectable`, activating the chip flips `selected`; an unselected chip carries no `selected` attribute (rather than `selected=\"false\"`).\n- **Keyboard activation**: When interactive, Enter and Space activate the chip just like a pointer click.\n- **Delete affordance**: When `deletable`, a trailing delete button is rendered with a localized title (el/en/es/it) and emits the delete event on activation.\n- **Emitted events**: `mdsChipClickLabel` fires on activation for non-selectable chips, `mdsChipSelect` fires (carrying the new `selected` value) for selectable chips, and `mdsChipDelete` fires from the delete button - all carrying the originating event and host element.\n- **Label is text, on one line**: Long labels do not wrap (`truncate=\"word\"` on the inner text).\n- **One leading mark**: `swatch` takes the place of `icon`; when both are set the chip draws the swatch. The swatch is decorative and hidden from assistive technologies, so the label has to name the colour.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` / `tone` ladders are defined in [`agents/variants.md`](../../../../agents/variants.md); the chip defaults to `variant=\"primary\"` and `tone=\"strong\"`, and accepts only the minimal `'strong'` / `'weak'` tone set. `variant` and `tone` paint the leading icon badge and the border of a selected chip; the body of the chip stays neutral for every variant.\n\n#### Other behavioral props\n\n- **`clickable`** opts the chip into interactivity (focus, keyboard and click handling) without changing its state on activation - use it for chips that act as actions rather than toggles.\n- **`selectable`** makes the chip a toggle whose `selected` state flips on each activation; pick it for filter/choice chips where the visual selected state matters.\n- **`selected`** drives the selected visual treatment and can be set externally to pre-select a chip; an unselected chip carries no attribute.\n- **`deletable`** adds the trailing cancel button for removable tokens; reserve it for chips the user is meant to dismiss.\n- **`icon`** is an SVG filename slug from the Magma icon library, shown decoratively to the left of the label.\n- **`swatch`** is a colour of the product, any CSS colour, drawn as a round swatch where the icon goes: for chips whose label names a colour (a family of colours, a category, a calendar). It is not a role and does not follow `variant` or the mode: the chip draws it as given, inside a ring that keeps it visible on the chip at rest and selected, in light and dark. A value that is not a colour draws the empty ring.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-chip>` component, ordered from most common to most specialized. The examples assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Static Tag (Label Only)\n\nThe simplest form. Use the required `label` prop to display a read-only tag. With no interaction props the chip is passive and non-focusable.\n\n```html\n<mds-chip label=\"In lavorazione\" variant=\"warning\" tone=\"strong\"></mds-chip>\n```\n\n#### Variant and Tone for Semantic Emphasis\n\nPair the same `variant` with a different `tone` to express importance or category. Do not invent custom colors to dim or saturate. The variant paints the leading icon badge (and the border of a selected chip), not the body of the chip: give the chip an `icon` when its color has to carry meaning.\n\n```html\n<!-- Status chips -->\n<mds-chip label=\"Completato\" icon=\"mi/baseline/check-circle\" variant=\"success\" tone=\"strong\"></mds-chip>\n<mds-chip label=\"In attesa\" icon=\"mi/baseline/schedule\" variant=\"warning\" tone=\"weak\"></mds-chip>\n<mds-chip label=\"Errore\" icon=\"mi/baseline/error\" variant=\"error\" tone=\"strong\"></mds-chip>\n\n<!-- Decorative label chips -->\n<mds-chip label=\"Natura\" icon=\"mi/baseline/eco\" variant=\"green\" tone=\"weak\"></mds-chip>\n<mds-chip label=\"Tecnologia\" icon=\"mi/baseline/computer\" variant=\"blue\" tone=\"strong\"></mds-chip>\n```\n\n#### Chip with Leading Icon\n\nReference icons by their filename slug (no `.svg` extension). The icon is rendered decoratively to the left of the label inside a circular badge.\n\n```html\n<mds-chip\n  label=\"Animali\"\n  icon=\"mi/baseline/pets\"\n  variant=\"primary\"\n  tone=\"strong\"\n></mds-chip>\n```\n\n#### Chip with a Colour Swatch\n\nUse `swatch` when the label names a colour of the product: a family of colours to turn on and off, a category, a calendar. The value is the product's own, any CSS colour (`#a89586`, `rgb(47 111 208)`, `oklch(70% 0.19 50)`), not a token: the chip draws it as given in every mode, round and where the icon goes, inside a ring that keeps a colour as light or as dark as the chip visible. The swatch is hidden from assistive technologies, so the label names the colour; it takes the place of `icon`.\n\n```html\n<mds-chip label=\"kaolin\" swatch=\"#9aa3ad\" selectable selected></mds-chip>\n<mds-chip label=\"fireclay\" swatch=\"#a89586\" selectable></mds-chip>\n<mds-chip label=\"Calendario ferie\" swatch=\"#2f6fd0\" clickable></mds-chip>\n```\n\n#### Clickable Chip (Action, No Toggle)\n\nUse `clickable` when the chip triggers an action but does not need a persistent selected state. The component adds `role=\"button\"`, focus handling, and keyboard activation. Listen for `mdsChipClickLabel`.\n\n```html\n<mds-chip\n  label=\"Apri dettagli\"\n  clickable\n  icon=\"mi/baseline/open-in-new\"\n  variant=\"primary\"\n  tone=\"weak\"\n></mds-chip>\n\n<script>\n  document.querySelector('mds-chip').addEventListener('mdsChipClickLabel', (e) => {\n    console.log('clicked', e.detail.element);\n  });\n</script>\n```\n\n#### Selectable Chip (Toggle)\n\nUse `selectable` for filter or choice chips where the visual selected state matters. `selectable` implies `clickable` automatically. Activating the chip flips `selected`; the event `mdsChipSelect` carries the new value in `e.detail.selected` (`true`, or `undefined` when deselected).\n\n```html\n<mds-chip\n  label=\"Vegetariano\"\n  selectable\n  icon=\"mi/baseline/eco\"\n  variant=\"success\"\n  tone=\"weak\"\n></mds-chip>\n\n<script>\n  document.querySelector('mds-chip').addEventListener('mdsChipSelect', (e) => {\n    console.log('selezionato:', e.detail.selected);\n  });\n</script>\n```\n\n#### Pre-selected Chip\n\nSet `selected` externally to initialize a selectable chip in the selected state (e.g. when restoring saved filter state). An unselected chip carries no `selected` attribute.\n\n```html\n<mds-chip\n  label=\"Urgente\"\n  selectable\n  selected\n  variant=\"error\"\n  tone=\"strong\"\n></mds-chip>\n```\n\n#### Deletable Chip (Removable Token)\n\nUse `deletable` for chips the user is meant to dismiss - for example tags on an entity or active filters. A trailing cancel button emits `mdsChipDelete` on activation.\n\n```html\n<mds-chip\n  label=\"Mario Rossi\"\n  deletable\n  icon=\"mi/baseline/person\"\n  variant=\"primary\"\n  tone=\"weak\"\n></mds-chip>\n\n<script>\n  document.querySelector('mds-chip').addEventListener('mdsChipDelete', (e) => {\n    e.detail.element.remove();\n  });\n</script>\n```\n\n#### Fully Interactive Chip\n\nCombine `clickable` (or `selectable`) with `deletable` for chips that can both be activated and removed independently.\n\n```html\n<mds-chip\n  label=\"Sport invernali\"\n  clickable\n  deletable\n  icon=\"mi/baseline/downhill-skiing\"\n  variant=\"info\"\n  tone=\"weak\"\n></mds-chip>\n```\n\n#### Disabled Chip\n\nSet `disabled` to dim the chip and block it: a clickable label leaves the tab order and takes `aria-disabled=\"true\"`, the delete button is disabled, and neither the pointer nor the keyboard fires an event. The prop is reflected, so setting it from code styles the chip too. Do not use `disabled=\"false\"` - remove the attribute to re-enable.\n\n```html\n<mds-chip\n  label=\"Non disponibile\"\n  disabled\n  variant=\"dark\"\n  tone=\"strong\"\n></mds-chip>\n```\n\n#### Styling Customization\n\nStyle the chip only through its public `--mds-chip-*` CSS custom properties. Set them on the host or a parent selector; use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode, named themes and high contrast keep working. When `selected` is set the component swaps each property for a selected value of its own, which is not public. A property set on the host from outside wins over that swap: scope the resting values to `:not([selected])`, and set the same public properties on `[selected]` to restyle the selected state.\n\n```css\n.filtri-categoria mds-chip:not([selected]) {\n  --mds-chip-background: rgb(var(--magma-accent-surface));\n  --mds-chip-color: rgb(var(--magma-accent-fg));\n}\n\n.filtri-categoria mds-chip[selected] {\n  --mds-chip-background: rgb(var(--magma-accent-emphasis));\n  --mds-chip-color: rgb(var(--magma-accent-on-emphasis));\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-chip>`. 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 Clickable Chip Without `clickable` or `selectable`\n\nWithout `clickable`, the chip has no `role`, no focus management, and no keyboard activation. Listening for click events on a static chip is a silent accessibility failure.\n\n```html\n<!-- INCORRECT -->\n<mds-chip label=\"Apri\" variant=\"primary\" onclick=\"doSomething()\"></mds-chip>\n\n<!-- CORRECT -->\n<mds-chip label=\"Apri\" clickable variant=\"primary\"></mds-chip>\n<script>\n  document.querySelector('mds-chip').addEventListener('mdsChipClickLabel', doSomething);\n</script>\n```\n\n#### Do Not Use `selected` Without `selectable`\n\n`selected` only has visual and semantic meaning when `selectable` is also set. On a non-selectable chip the attribute renders the selected style but the selection can never be toggled and no event fires, misleading users.\n\n```html\n<!-- INCORRECT -->\n<mds-chip label=\"Attivo\" selected variant=\"success\"></mds-chip>\n\n<!-- CORRECT -->\n<mds-chip label=\"Attivo\" selectable selected variant=\"success\"></mds-chip>\n```\n\n#### Do Not Apply `tone` Values Outside the Minimal Ladder\n\n`mds-chip` accepts only `ToneMinimalVariantType`: `strong` and `weak`. Passing `outline`, `text`, or `box` is invalid: no style matches it, so the chip silently loses its variant colors.\n\n```html\n<!-- INCORRECT -->\n<mds-chip label=\"Categoria\" tone=\"outline\" variant=\"primary\"></mds-chip>\n<mds-chip label=\"Categoria\" tone=\"text\" variant=\"primary\"></mds-chip>\n\n<!-- CORRECT -->\n<mds-chip label=\"Categoria\" tone=\"weak\" variant=\"primary\"></mds-chip>\n<mds-chip label=\"Categoria\" tone=\"strong\" variant=\"primary\"></mds-chip>\n```\n\n#### Do Not Slot Content Into the Chip\n\n`<mds-chip>` has no default or named slots - all content is driven by props (`label`, `icon`, `swatch`, `deletable`). Slotting HTML children is ignored by the Shadow DOM.\n\n```html\n<!-- INCORRECT -->\n<mds-chip>\n  <span>Etichetta</span>\n  <mds-icon name=\"mi/baseline/close\"></mds-icon>\n</mds-chip>\n\n<!-- CORRECT -->\n<mds-chip\n  label=\"Etichetta\"\n  icon=\"mi/baseline/pets\"\n  deletable\n  variant=\"primary\"\n></mds-chip>\n```\n\n#### Do Not Draw a Colour Through the Icon\n\nA circle icon painted with the colour, or the markup of an `<svg>` given to `icon`, sits on the disc of the icon, has no ring to keep a colour as light or as dark as the chip visible, and leans on custom properties that are not public. Give the colour to `swatch`.\n\n```html\n<!-- INCORRECT -->\n<mds-chip label=\"fireclay\" icon=\"mdi/circle\" style=\"--mds-chip-icon-color: #a89586\"></mds-chip>\n\n<!-- CORRECT -->\n<mds-chip label=\"fireclay\" swatch=\"#a89586\"></mds-chip>\n```\n\n#### Do Not Say a State With a Swatch\n\nThe swatch draws its colour as given: a status painted there does not follow the mode, the named theme or the contrast preference as a variant does, and, hidden from assistive technologies, it adds nothing a screen reader hears. Say a status with `variant` and an icon; keep `swatch` for a colour the label names.\n\n```html\n<!-- INCORRECT -->\n<mds-chip label=\"Errore\" swatch=\"#d32f2f\"></mds-chip>\n\n<!-- CORRECT -->\n<mds-chip label=\"Errore\" icon=\"mi/baseline/error\" variant=\"error\" tone=\"strong\"></mds-chip>\n```\n\n#### Do Not Pierce Shadow DOM to Style the Delete Button\n\nThe inner `mds-button` used for the delete affordance is a Shadow DOM implementation detail with no styling API of its own: targeting it with `>>>` or undocumented `::part()` names will break on minor releases. Restyle the chip and its leading icon through the public `--mds-chip-*` properties.\n\n```css\n/* INCORRECT */\nmds-chip >>> .button-delete {\n  color: red;\n}\n\n/* CORRECT */\nmds-chip {\n  --mds-chip-icon-background: rgb(var(--magma-danger-emphasis));\n}\n```\n\n#### Do Not Forget to Remove `await`-Pattern Analogue: Removing `selected` by Setting It to `false`\n\nWith `selected=\"false\"` the component reads the prop as `false` and drops the attribute when it renders, but until then the attribute is in the DOM and attribute selectors (`mds-chip[selected]`) match it. Remove the attribute; from JavaScript both `false` and `undefined` deselect the chip (the component turns `false` into `undefined` and drops the attribute).\n\n```html\n<!-- INCORRECT -->\n<mds-chip label=\"Filtro\" selectable selected=\"false\" variant=\"primary\"></mds-chip>\n\n<!-- CORRECT -->\n<mds-chip label=\"Filtro\" selectable variant=\"primary\"></mds-chip>\n```\n\n#### Do Not Use `<mds-chip>` as a Navigation Link\n\n`<mds-chip>` has no `href` prop. Wrapping it in an `<a>` creates a nested interactive element, breaks keyboard semantics, and fails accessibility audits. Use [`mds-button`](../mds-button/AGENTS.md) with `href` instead.\n\n```html\n<!-- INCORRECT -->\n<a href=\"/categoria/sport\">\n  <mds-chip label=\"Sport\" variant=\"primary\"></mds-chip>\n</a>\n\n<!-- CORRECT -->\n<mds-button\n  label=\"Sport\"\n  href=\"/categoria/sport\"\n  variant=\"primary\"\n  tone=\"weak\"\n></mds-button>\n```\n"
      },
      "props": [
        {
          "name": "clickable",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "clickable",
          "reflectToAttr": true,
          "docs": "Adds ARIA support to the element if has interaction",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "deletable",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "deletable",
          "reflectToAttr": false,
          "docs": "Shows the cross icon to perform cancel/delete action on element",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "disabled",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "disabled",
          "reflectToAttr": true,
          "docs": "Sets the component disabled status: neither the label nor the delete button can be focused\nor activated",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "icon",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "icon",
          "reflectToAttr": false,
          "docs": "The icon displayed to the left of the component's label",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "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": true,
          "docs": "The label displayed to the right of the component's icon",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            }
          ],
          "optional": false,
          "required": true,
          "getter": false,
          "setter": false
        },
        {
          "name": "selectable",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "selectable",
          "reflectToAttr": true,
          "docs": "Sets if the component change is status to selected when is clicked",
          "docsTags": [
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "selected",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "selected",
          "reflectToAttr": true,
          "docs": "Sets the component selected",
          "docsTags": [],
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "swatch",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "swatch",
          "reflectToAttr": false,
          "docs": "A colour drawn as a round swatch where the icon goes, in place of `icon`: any CSS colour\n(`#2f6fd0`, `rgb(47 111 208)`, `oklch(55% 0.2 260)`). It is a value of the product, the\ncolour the label names (a family of colours, a category, a calendar), not a role of Magma:\nthe chip draws it as it is given in every mode and theme, inside a ring that keeps it visible\non the chip, at rest and selected. Decorative: hidden from assistive technologies, since the\nlabel names it. A value that is not a colour draws the empty ring.",
          "docsTags": [
            {
              "name": "example",
              "text": "'#2f6fd0'"
            }
          ],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "tone",
          "type": "\"strong\" | \"weak\" | undefined",
          "complexType": {
            "original": "ToneMinimalVariantType",
            "resolved": "\"strong\" | \"weak\" | undefined",
            "references": {
              "ToneMinimalVariantType": {
                "location": "import",
                "path": "@type/tone",
                "id": "src/type/tone.ts::ToneMinimalVariantType",
                "referenceLocation": "ToneMinimalVariantType"
              }
            }
          },
          "mutable": false,
          "attr": "tone",
          "reflectToAttr": true,
          "docs": "Sets the color variant tone of the component",
          "docsTags": [
            {
              "name": "default",
              "text": "'strong'"
            }
          ],
          "default": "'strong'",
          "values": [
            {
              "value": "strong",
              "type": "string"
            },
            {
              "value": "weak",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "variant",
          "type": "\"ai\" | \"amaranth\" | \"aqua\" | \"blue\" | \"dark\" | \"error\" | \"green\" | \"info\" | \"lime\" | \"orange\" | \"orchid\" | \"primary\" | \"purple\" | \"red\" | \"secondary\" | \"sky\" | \"success\" | \"violet\" | \"warning\" | \"yellow\" | undefined",
          "complexType": {
            "original": "ChipVariantType",
            "resolved": "\"ai\" | \"amaranth\" | \"aqua\" | \"blue\" | \"dark\" | \"error\" | \"green\" | \"info\" | \"lime\" | \"orange\" | \"orchid\" | \"primary\" | \"purple\" | \"red\" | \"secondary\" | \"sky\" | \"success\" | \"violet\" | \"warning\" | \"yellow\" | undefined",
            "references": {
              "ChipVariantType": {
                "location": "import",
                "path": "@type/variant",
                "id": "src/type/variant.ts::ChipVariantType",
                "referenceLocation": "ChipVariantType"
              }
            }
          },
          "mutable": false,
          "attr": "variant",
          "reflectToAttr": true,
          "docs": "Sets the color variant of the component",
          "docsTags": [
            {
              "name": "default",
              "text": "'primary'"
            }
          ],
          "default": "'primary'",
          "values": [
            {
              "value": "ai",
              "type": "string"
            },
            {
              "value": "amaranth",
              "type": "string"
            },
            {
              "value": "aqua",
              "type": "string"
            },
            {
              "value": "blue",
              "type": "string"
            },
            {
              "value": "dark",
              "type": "string"
            },
            {
              "value": "error",
              "type": "string"
            },
            {
              "value": "green",
              "type": "string"
            },
            {
              "value": "info",
              "type": "string"
            },
            {
              "value": "lime",
              "type": "string"
            },
            {
              "value": "orange",
              "type": "string"
            },
            {
              "value": "orchid",
              "type": "string"
            },
            {
              "value": "primary",
              "type": "string"
            },
            {
              "value": "purple",
              "type": "string"
            },
            {
              "value": "red",
              "type": "string"
            },
            {
              "value": "secondary",
              "type": "string"
            },
            {
              "value": "sky",
              "type": "string"
            },
            {
              "value": "success",
              "type": "string"
            },
            {
              "value": "violet",
              "type": "string"
            },
            {
              "value": "warning",
              "type": "string"
            },
            {
              "value": "yellow",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        }
      ],
      "methods": [],
      "events": [
        {
          "event": "mdsChipClickLabel",
          "detail": "MdsChipEvent",
          "bubbles": true,
          "complexType": {
            "original": "MdsChipEvent",
            "resolved": "MdsChipEvent",
            "references": {
              "MdsChipEvent": {
                "location": "import",
                "path": "./meta/interface",
                "id": "src/components/mds-chip/meta/interface.ts::MdsChipEvent",
                "referenceLocation": "MdsChipEvent"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when the component's label is clicked",
          "docsTags": []
        },
        {
          "event": "mdsChipDelete",
          "detail": "MdsChipEvent",
          "bubbles": true,
          "complexType": {
            "original": "MdsChipEvent",
            "resolved": "MdsChipEvent",
            "references": {
              "MdsChipEvent": {
                "location": "import",
                "path": "./meta/interface",
                "id": "src/components/mds-chip/meta/interface.ts::MdsChipEvent",
                "referenceLocation": "MdsChipEvent"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when the component's delete button is clicked",
          "docsTags": []
        },
        {
          "event": "mdsChipSelect",
          "detail": "MdsChipEvent",
          "bubbles": true,
          "complexType": {
            "original": "MdsChipEvent",
            "resolved": "MdsChipEvent",
            "references": {
              "MdsChipEvent": {
                "location": "import",
                "path": "./meta/interface",
                "id": "src/components/mds-chip/meta/interface.ts::MdsChipEvent",
                "referenceLocation": "MdsChipEvent"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when the component's label is clicked and when `selectable` attribute is set to `true`",
          "docsTags": []
        }
      ],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-chip-background",
          "annotation": "prop",
          "docs": "Sets the `background-color` of the component",
          "visibility": "public"
        },
        {
          "name": "--mds-chip-background-selected",
          "annotation": "prop",
          "docs": "Sets the `background-color` of the component when it's selected",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-border",
          "annotation": "prop",
          "docs": "Sets the `border-color` of the component",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-border-selected",
          "annotation": "prop",
          "docs": "Sets the `border-color` of the component when it's selected",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-color",
          "annotation": "prop",
          "docs": "Sets the `color` of the component",
          "visibility": "public"
        },
        {
          "name": "--mds-chip-color-selected",
          "annotation": "prop",
          "docs": "Sets the `color` of the component when it's selected",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-icon-background",
          "annotation": "prop",
          "docs": "Sets the `background-color` of the icon",
          "visibility": "public"
        },
        {
          "name": "--mds-chip-icon-background-selected",
          "annotation": "prop",
          "docs": "Sets the `background-color` of the icon when the component is selected",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-icon-color",
          "annotation": "prop",
          "docs": "Sets the `fill` color of the icon of the component",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-icon-color-selected",
          "annotation": "prop",
          "docs": "Sets the `fill` color of the icon of the component when it's selected",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-opacity-disabled",
          "annotation": "prop",
          "docs": "Sets the `opacity` of the component when it's disabled",
          "visibility": "internal"
        },
        {
          "name": "--mds-chip-shadow",
          "annotation": "prop",
          "docs": "Sets the `box-shadow` of the component",
          "visibility": "public"
        },
        {
          "name": "--mds-chip-shadow-selected",
          "annotation": "prop",
          "docs": "Sets the `box-shadow` of the component when it's selected",
          "visibility": "internal"
        }
      ],
      "slots": [],
      "parts": [],
      "states": [],
      "dependents": [
        "mds-policy-ai"
      ],
      "dependencies": [
        "mds-icon",
        "mds-text",
        "mds-button"
      ],
      "dependencyGraph": {
        "mds-chip": [
          "mds-icon",
          "mds-text",
          "mds-button"
        ],
        "mds-button": [
          "mds-icon",
          "mds-spinner",
          "mds-text"
        ],
        "mds-policy-ai": [
          "mds-chip"
        ]
      },
      "storybook": "ui-chip--docs"
    }
  ]
}
