{
  "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-push-notification-item/mds-push-notification-item.tsx",
      "encapsulation": "shadow",
      "tag": "mds-push-notification-item",
      "docs": "",
      "docsTags": [
        {
          "name": "part",
          "text": "actions - The actions wrapper"
        },
        {
          "name": "part",
          "text": "avatar - The `mds-avatar` that shows the `icon`, the `initials` or, with `preview` set to `avatar`, the picture of `src`"
        },
        {
          "name": "part",
          "text": "content - The content wrapper of the message"
        },
        {
          "name": "part",
          "text": "picture - The picture image added by `src` attribute"
        },
        {
          "name": "slot",
          "text": "action - Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element."
        },
        {
          "name": "slot",
          "text": "badge - Add `HTML elements` or `components`, it is **recommended** to use `mds-badge` element."
        },
        {
          "name": "parent",
          "text": "mds-push-notification"
        }
      ],
      "usage": {
        "1. Description": "The `<mds-push-notification-item>` web component is a single notification card rendered inside its parent container [`<mds-push-notification>`](../mds-push-notification/AGENTS.md). It composes an avatar/image, a subject, a relative or formatted timestamp, a message body and an optional dismiss control into one toast-like row.\n\n#### Semantic Behavior\n\n- **Compound child only**: It must be placed as a direct default-slot child of `<mds-push-notification>`; it is not used standalone or mixed with other child types, since the parent animates intro/outro and manages stacking.\n- **Dismiss reports up, removal happens in the parent**: Clicking the built-in close button emits the bubbling `mdsPushNotificationItemClose` event, with the `id` of the item as `detail.id`; the parent runs the outro animation and removes the item. The item never removes itself.\n- **Parent-driven visibility lifecycle**: When the last item closes, the parent auto-hides the whole notification area.\n- **Timestamp rendering**: With `dateFormat=\"timeago\"` `datetime` shows a localized relative time (\"2 minutes ago\"); otherwise the value is treated as a date-format string for a static date.\n- **Localization**: The relative-time strings and the dismiss button title are localized (el/en/es/it).\n- **Conditional avatar vs. picture**: An `<mds-avatar>` is rendered when `icon` is set or `preview=\"avatar\"`; when `src` is set and `preview` is not `avatar`, an `<mds-img>` picture is rendered (next to the avatar when `icon` is also set).\n- **Slot detection**: The `badge` and `action` named slot wrappers stay hidden (`display: none`) until matching slotted children exist, so empty slots take no space.\n\n#### Properties & Visual Configurations\n\n- **`dismissible`**: Controls whether the dismiss button is shown. Add it to let the user close the notification manually; leave it off for items the user should not close.\n- **`deletable`** is the old name of `dismissible`, deprecated: the button dismisses the notification, it deletes nothing. It still works, and goes in the next major.\n- **`preview`**: Pick `avatar` to show the `src` image (or `initials`/`icon` fallback) as a compact round avatar, or `image` (default) to show `src` as a larger inline picture preview.\n- **`initials`**: Provided as the avatar fallback when no image is available; it overrides `tone`/`variant` styling so the user stays visually recognizable.\n- **`dateFormat`**: Use `timeago` for a live relative timestamp, or any date-format token string for a fixed display date.\n\nFor `tone` and `variant`, this component consumes the shared color ladders defined in [`agents/variants.md`](../../../../agents/variants.md); the values are forwarded to the underlying `<mds-avatar>` and follow the avatar tone/variant set rather than adding component-specific values.\n",
        "2. Examples": "Correct and idiomatic ways to use the `<mds-push-notification-item>` 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#### Basic Message Notification\n\nThe minimal form: a message body with an icon and a relative timestamp. Always nest the item inside [`mds-push-notification`](../mds-push-notification/AGENTS.md), which manages stacking and animation.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    icon=\"mi/baseline/email\"\n    subject=\"Nuovo messaggio\"\n    message=\"Hai ricevuto 3 nuovi messaggi da account diversi\"\n    datetime=\"2024-06-01T10:30:00\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Variant for Semantic Status\n\nUse `variant` to communicate meaning - success, warning, error, info - and `tone` to set visual weight. The values are forwarded to the internal `<mds-avatar>`.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    icon=\"mi/baseline/check-circle\"\n    subject=\"Salvataggio completato\"\n    message=\"Il documento e' stato salvato con successo\"\n    datetime=\"2024-06-01T10:31:00\"\n    variant=\"success\"\n    tone=\"strong\"\n  ></mds-push-notification-item>\n\n  <mds-push-notification-item\n    icon=\"mi/baseline/warning\"\n    subject=\"Attenzione\"\n    message=\"La sessione scadra' tra 5 minuti\"\n    datetime=\"2024-06-01T10:32:00\"\n    variant=\"warning\"\n    tone=\"weak\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Dismissible Notification\n\nAdd the `dismissible` attribute to show the dismiss button, letting the user close the notification manually. Without it the notification cannot be dismissed by the user - keep it off for system notifications the user must not close.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    dismissible\n    icon=\"mi/baseline/email\"\n    subject=\"Nuovo messaggio\"\n    message=\"Hai ricevuto un nuovo messaggio\"\n    datetime=\"2024-06-01T09:00:00\"\n    variant=\"info\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Action Buttons via the `action` Slot\n\nSlot one or more `<mds-button>` elements into `slot=\"action\"` for in-notification CTAs. Use `size=\"sm\"` to keep the actions compact.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    icon=\"mi/baseline/person\"\n    subject=\"Mario Giannini\"\n    message=\"Ciao, sono Mario, questo e' il mio contatto, buona giornata!\"\n    datetime=\"2024-06-01T10:25:00\"\n    variant=\"primary\"\n    tone=\"strong\"\n  >\n    <mds-button slot=\"action\" variant=\"success\" tone=\"weak\" size=\"sm\" label=\"Accetta\"></mds-button>\n    <mds-button slot=\"action\" variant=\"error\" tone=\"weak\" size=\"sm\" label=\"Ignora\"></mds-button>\n  </mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Badge Label via the `badge` Slot\n\nSlot an `<mds-badge>` into `slot=\"badge\"` to show a category or type label above the subject line.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    icon=\"mi/baseline/attach-file\"\n    subject=\"Nuovo allegato\"\n    message=\"Hai ricevuto un nuovo file allegato da Luca Bianchi\"\n    datetime=\"2024-06-01T10:20:00\"\n    variant=\"primary\"\n  >\n    <mds-badge slot=\"badge\" variant=\"amaranth\" tone=\"weak\" label=\"pdf\"></mds-badge>\n    <mds-button slot=\"action\" tone=\"outline\" size=\"sm\" label=\"Scarica\"></mds-button>\n  </mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Avatar Mode with Image\n\nSet `src` and `preview=\"avatar\"` to display a user photo as a round avatar instead of the default full-width image preview.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    src=\"./avatar-sarah.jpeg\"\n    preview=\"avatar\"\n    subject=\"Sarah Ho\"\n    message=\"Ciao, sono Sarah, questo e' il mio contatto, buona giornata!\"\n    datetime=\"2024-06-01T10:15:00\"\n    variant=\"primary\"\n    tone=\"strong\"\n  >\n    <mds-button slot=\"action\" variant=\"success\" tone=\"weak\" size=\"sm\" label=\"Scrivi\"></mds-button>\n  </mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Avatar Mode with Initials Fallback\n\nWhen no image is available, set `initials` and `preview=\"avatar\"`. The initials override `tone` and `variant` coloring so the user stays visually distinguishable.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    initials=\"MG\"\n    preview=\"avatar\"\n    subject=\"Mario Giannini\"\n    message=\"Ha modificato il documento condiviso\"\n    datetime=\"2024-06-01T10:10:00\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Inline Image Preview\n\nOmit `preview=\"avatar\"` (or keep the default `image`) and supply `src` to show the image as a larger inline thumbnail - useful for file or media notifications.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    src=\"./book-cover-01.webp\"\n    subject=\"Anteprima immagine\"\n    message=\"La copertina e' stata aggiornata\"\n    datetime=\"2024-06-01T10:05:00\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Fixed Date Format\n\nUse any `dayjs`-compatible format string as `date-format` to show a static date instead of the default relative \"time ago\" display.\n\n```html\n<mds-push-notification>\n  <mds-push-notification-item\n    icon=\"mi/baseline/event\"\n    subject=\"Promemoria riunione\"\n    message=\"La riunione di progetto e' fissata per domani\"\n    datetime=\"2024-06-01T09:00:00\"\n    date-format=\"DD/MM/YYYY\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Listening to the Dismiss Event\n\nListen to `mdsPushNotificationItemClose` to handle cleanup when the user dismisses the item. The parent `<mds-push-notification>` does this automatically, but you can also add your own logic (e.g. marking the notification read in the server). The event carries the `id` of the item in `detail.id`.\n\n```javascript\ndocument\n  .querySelector('mds-push-notification-item')\n  .addEventListener('mdsPushNotificationItemClose', (event) => {\n    markNotificationRead(event.detail.id);\n  });\n```\n\n#### Styling Customization\n\nCustomize the item only through its public `--mds-push-notification-item-*` CSS custom properties.\n\n```css\n.app-notifications mds-push-notification-item {\n  --mds-push-notification-item-shadow: var(--shadow-md-sharp);\n  --mds-push-notification-item-message-line-clamp: 3;\n  --mds-push-notification-item-subject-line-clamp: 2;\n}\n```\n",
        "3. Mistakes": "Common incorrect uses of `<mds-push-notification-item>`. 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 the Item Outside Its Parent\n\n`<mds-push-notification-item>` is a compound child that must live inside [`<mds-push-notification>`](../mds-push-notification/AGENTS.md). The parent drives entry / exit animation, stacking, and auto-hide when the last item closes.\n\n```html\n<!-- INCORRECT -->\n<mds-push-notification-item\n  icon=\"mi/baseline/email\"\n  subject=\"Nuovo messaggio\"\n  message=\"Hai ricevuto un nuovo messaggio\"\n></mds-push-notification-item>\n\n<!-- CORRECT -->\n<mds-push-notification>\n  <mds-push-notification-item\n    icon=\"mi/baseline/email\"\n    subject=\"Nuovo messaggio\"\n    message=\"Hai ricevuto un nuovo messaggio\"\n  ></mds-push-notification-item>\n</mds-push-notification>\n```\n\n#### Do Not Put Content in the Default Slot\n\n`<mds-push-notification-item>` has no default slot. All text content goes through the `message` and `subject` props; interactive content goes into the named `action` or `badge` slots.\n\n```html\n<!-- INCORRECT -->\n<mds-push-notification-item>\n  Hai un nuovo messaggio\n</mds-push-notification-item>\n\n<!-- CORRECT -->\n<mds-push-notification-item\n  message=\"Hai un nuovo messaggio\"\n  subject=\"Posta in arrivo\"\n></mds-push-notification-item>\n```\n\n#### Do Not Slot Arbitrary Content Into `action` Without `mds-button`\n\nThe `action` slot is designed for `<mds-button>` elements at `size=\"sm\"`. Slotting raw `<button>` or large components breaks layout alignment and loses Magma theming and keyboard semantics.\n\n```html\n<!-- INCORRECT -->\n<mds-push-notification-item subject=\"Richiesta\" message=\"Approva la richiesta di accesso\">\n  <button slot=\"action\" class=\"btn\">Approva</button>\n</mds-push-notification-item>\n\n<!-- CORRECT -->\n<mds-push-notification-item subject=\"Richiesta\" message=\"Approva la richiesta di accesso\">\n  <mds-button slot=\"action\" variant=\"success\" tone=\"weak\" size=\"sm\" label=\"Approva\"></mds-button>\n</mds-push-notification-item>\n```\n\n#### Do Not Mix `icon` and `src` With `preview=\"image\"`\n\nWhen `icon` is set, the component always renders an `<mds-avatar>` for the icon. If `src` is also set and `preview` is not `\"avatar\"`, an `<mds-img>` picture is rendered as well - producing two media areas side by side, which is almost never the intended layout. Pick one visual mode per notification.\n\n```html\n<!-- INCORRECT - both an icon avatar and an image preview render simultaneously -->\n<mds-push-notification-item\n  icon=\"mi/baseline/photo\"\n  src=\"./cover.jpg\"\n  preview=\"image\"\n  subject=\"Nuova foto\"\n  message=\"La copertina e' stata aggiornata\"\n></mds-push-notification-item>\n\n<!-- CORRECT - icon only, no image -->\n<mds-push-notification-item\n  icon=\"mi/baseline/photo\"\n  subject=\"Nuova foto\"\n  message=\"La copertina e' stata aggiornata\"\n></mds-push-notification-item>\n\n<!-- CORRECT - image preview only, no icon -->\n<mds-push-notification-item\n  src=\"./cover.jpg\"\n  subject=\"Nuova foto\"\n  message=\"La copertina e' stata aggiornata\"\n></mds-push-notification-item>\n```\n\n#### Do Not Listen for the Native `close` DOM Event\n\nThe component emits `mdsPushNotificationItemClose`, not a native `close`. Listening for `close` never fires, and the `click` of the dismiss button does not leave the component (its handler calls `stopPropagation()`).\n\n```javascript\n// INCORRECT\nelement.addEventListener('close', handler);\n\n// CORRECT\nelement.addEventListener('mdsPushNotificationItemClose', handler);\n```\n\n#### Customize via Documented Vars, Not Internal Selectors\n\nThe supported customization surface is `--mds-push-notification-item-*` CSS custom properties and documented shadow parts (`actions`, `avatar`, `content`, `picture`). Targeting shadow-DOM internals via `::part()` on undocumented parts or via `>>>` will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-push-notification-item::part(header) {\n  font-weight: bold;\n}\nmds-push-notification-item >>> .message {\n  color: red;\n}\n\n/* CORRECT */\nmds-push-notification-item {\n  --mds-push-notification-item-message-line-clamp: 3;\n  --mds-push-notification-item-shadow: var(--shadow-md-sharp);\n}\nmds-push-notification-item::part(content) {\n  gap: calc(var(--spacing) * 200);\n}\n```\n"
      },
      "props": [
        {
          "name": "dateFormat",
          "type": "string",
          "complexType": {
            "original": "NotificationItemDateFormatType",
            "resolved": "string",
            "references": {
              "NotificationItemDateFormatType": {
                "location": "import",
                "path": "./meta/types",
                "id": "src/components/mds-push-notification-item/meta/types.ts::NotificationItemDateFormatType",
                "referenceLocation": "NotificationItemDateFormatType"
              }
            }
          },
          "mutable": false,
          "attr": "date-format",
          "reflectToAttr": true,
          "docs": "Specifies how the notification date is written: `timeago` shows the time passed, any other\nvalue is the Day.js format of a static date",
          "docsTags": [
            {
              "name": "example",
              "text": "'DD/MM/YYYY HH:mm'"
            },
            {
              "name": "default",
              "text": "'timeago'"
            }
          ],
          "default": "'timeago'",
          "values": [
            {
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "datetime",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "datetime",
          "reflectToAttr": true,
          "docs": "Specifies the notification date based on [standard ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html).",
          "docsTags": [
            {
              "name": "example",
              "text": "'2025-06-15T09:30:00+02:00'"
            }
          ],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "deletable",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "deletable",
          "reflectToAttr": true,
          "docs": "Shows the dismiss button, as `dismissible` does.",
          "docsTags": [
            {
              "name": "deprecated",
              "text": "Use `dismissible`: the button dismisses the notification, it deletes nothing.\nGoes in the next major."
            },
            {
              "name": "default",
              "text": "false"
            }
          ],
          "default": "false",
          "deprecation": "Use `dismissible`: the button dismisses the notification, it deletes nothing.\nGoes in the next major.",
          "values": [
            {
              "type": "boolean"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "dismissible",
          "type": "boolean | undefined",
          "complexType": {
            "original": "boolean",
            "resolved": "boolean | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "dismissible",
          "reflectToAttr": true,
          "docs": "Shows a dismiss button: activating it emits `mdsPushNotificationItemClose`, and a parent\n`mds-push-notification` takes the item out of the stack",
          "docsTags": [],
          "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": true,
          "docs": "Specifies the icon to be displayed",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "initials",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": true,
          "attr": "initials",
          "reflectToAttr": true,
          "docs": "The user's inizials displayed if there's no image available, initials will override tone and variant senttings to keep user recognizable from others",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "message",
          "type": "string",
          "complexType": {
            "original": "string",
            "resolved": "string",
            "references": {}
          },
          "mutable": false,
          "attr": "message",
          "reflectToAttr": true,
          "docs": "Specifies the message of the component",
          "docsTags": [
            {
              "name": "default",
              "text": "'Nessun messaggio disponibile'"
            }
          ],
          "default": "'Nessun messaggio disponibile'",
          "values": [
            {
              "type": "string"
            }
          ],
          "optional": false,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "preview",
          "type": "\"avatar\" | \"image\" | undefined",
          "complexType": {
            "original": "NotificationItemPreviewType",
            "resolved": "\"avatar\" | \"image\" | undefined",
            "references": {
              "NotificationItemPreviewType": {
                "location": "import",
                "path": "./meta/types",
                "id": "src/components/mds-push-notification-item/meta/types.ts::NotificationItemPreviewType",
                "referenceLocation": "NotificationItemPreviewType"
              }
            }
          },
          "mutable": false,
          "attr": "preview",
          "reflectToAttr": true,
          "docs": "Specifies if the `src` attribute is used to show a the image as avatar or full image",
          "docsTags": [
            {
              "name": "default",
              "text": "'image'"
            }
          ],
          "default": "'image'",
          "values": [
            {
              "value": "avatar",
              "type": "string"
            },
            {
              "value": "image",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "src",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "src",
          "reflectToAttr": true,
          "docs": "Specifies the path to the image",
          "docsTags": [],
          "values": [
            {
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "subject",
          "type": "string | undefined",
          "complexType": {
            "original": "string",
            "resolved": "string | undefined",
            "references": {}
          },
          "mutable": false,
          "attr": "subject",
          "reflectToAttr": true,
          "docs": "Specifies the subject of the component",
          "docsTags": [],
          "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": "Specifies the color tone of the component",
          "docsTags": [
            {
              "name": "default",
              "text": "'weak'"
            }
          ],
          "default": "'weak'",
          "values": [
            {
              "value": "strong",
              "type": "string"
            },
            {
              "value": "weak",
              "type": "string"
            },
            {
              "type": "undefined"
            }
          ],
          "optional": true,
          "required": false,
          "getter": false,
          "setter": false
        },
        {
          "name": "variant",
          "type": "\"amaranth\" | \"aqua\" | \"blue\" | \"error\" | \"green\" | \"info\" | \"lime\" | \"orange\" | \"orchid\" | \"primary\" | \"purple\" | \"red\" | \"sky\" | \"success\" | \"violet\" | \"warning\" | \"yellow\" | undefined",
          "complexType": {
            "original": "ThemeFullVariantAvatarType",
            "resolved": "\"amaranth\" | \"aqua\" | \"blue\" | \"error\" | \"green\" | \"info\" | \"lime\" | \"orange\" | \"orchid\" | \"primary\" | \"purple\" | \"red\" | \"sky\" | \"success\" | \"violet\" | \"warning\" | \"yellow\" | undefined",
            "references": {
              "ThemeFullVariantAvatarType": {
                "location": "import",
                "path": "@type/variant",
                "id": "src/type/variant.ts::ThemeFullVariantAvatarType",
                "referenceLocation": "ThemeFullVariantAvatarType"
              }
            }
          },
          "mutable": false,
          "attr": "variant",
          "reflectToAttr": true,
          "docs": "Specifies the color variant of the component",
          "docsTags": [],
          "values": [
            {
              "value": "amaranth",
              "type": "string"
            },
            {
              "value": "aqua",
              "type": "string"
            },
            {
              "value": "blue",
              "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": "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": "mdsPushNotificationItemClose",
          "detail": "MdsPushNotificationItemEventDetail",
          "bubbles": true,
          "complexType": {
            "original": "MdsPushNotificationItemEventDetail",
            "resolved": "MdsPushNotificationItemEventDetail",
            "references": {
              "MdsPushNotificationItemEventDetail": {
                "location": "import",
                "path": "./meta/event-detail",
                "id": "src/components/mds-push-notification-item/meta/event-detail.ts::MdsPushNotificationItemEventDetail",
                "referenceLocation": "MdsPushNotificationItemEventDetail"
              }
            }
          },
          "cancelable": true,
          "composed": true,
          "docs": "Emits when the component is closed",
          "docsTags": []
        }
      ],
      "listeners": [],
      "styles": [
        {
          "name": "--mds-push-notification-item-duration",
          "annotation": "prop",
          "docs": "Duration of the individual push notification item animation.",
          "visibility": "internal"
        },
        {
          "name": "--mds-push-notification-item-icon-background-color",
          "annotation": "prop",
          "docs": "Background color of the item's icon.",
          "visibility": "internal"
        },
        {
          "name": "--mds-push-notification-item-icon-color",
          "annotation": "prop",
          "docs": "Color of the item's icon.",
          "visibility": "internal"
        },
        {
          "name": "--mds-push-notification-item-message-line-clamp",
          "annotation": "prop",
          "docs": "Number of lines to clamp the message text.",
          "visibility": "public"
        },
        {
          "name": "--mds-push-notification-item-shadow",
          "annotation": "prop",
          "docs": "Shadow applied to the push notification item.",
          "visibility": "public"
        },
        {
          "name": "--mds-push-notification-item-subject-line-clamp",
          "annotation": "prop",
          "docs": "Number of lines to clamp the subject text.",
          "visibility": "public"
        },
        {
          "name": "--mds-push-notification-item-timing-function",
          "annotation": "prop",
          "docs": "Timing function used for the item animation.",
          "visibility": "internal"
        }
      ],
      "slots": [
        {
          "name": "action",
          "docs": "Add `HTML elements` or `components`, it is **recommended** to use `mds-button` element."
        },
        {
          "name": "badge",
          "docs": "Add `HTML elements` or `components`, it is **recommended** to use `mds-badge` element."
        }
      ],
      "parts": [
        {
          "name": "actions",
          "docs": "The actions wrapper"
        },
        {
          "name": "avatar",
          "docs": "The `mds-avatar` that shows the `icon`, the `initials` or, with `preview` set to `avatar`, the picture of `src`"
        },
        {
          "name": "content",
          "docs": "The content wrapper of the message"
        },
        {
          "name": "picture",
          "docs": "The picture image added by `src` attribute"
        }
      ],
      "states": [],
      "dependents": [],
      "dependencies": [
        "mds-avatar",
        "mds-img",
        "mds-text",
        "mds-button"
      ],
      "dependencyGraph": {
        "mds-push-notification-item": [
          "mds-avatar",
          "mds-img",
          "mds-text",
          "mds-button"
        ],
        "mds-avatar": [
          "mds-img",
          "mds-icon"
        ],
        "mds-img": [
          "mds-icon",
          "mds-text",
          "mds-button"
        ],
        "mds-button": [
          "mds-icon",
          "mds-spinner",
          "mds-text"
        ]
      },
      "storybook": "ui-push-notification-push-notification-item--docs"
    }
  ]
}
