{"version":3,"file":"primary-navigation-utility-menu-item.bCq7cHwu.js","sources":["../../../../../packages/web-components/src/lib/components/primary-navigation-utility-menu-item/primary-navigation-utility-menu-item.ts"],"sourcesContent":["import { html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { pdsCustomElement as customElement } from '../../decorators/pds-custom-element';\nimport { PdsElement } from '../PdsElement';\nimport { required } from '../../decorators/required';\nimport styles from './primary-navigation-utility-menu-item.scss?inline';\nimport { requiredSlot } from '../../decorators/requiredSlot';\n\n/**\n * @summary A list item (li) element that contains a link (a)\n *\n * @slot default Required: The link text\n *\n * @fires primary-navigation-utility-menu-item-click A custom event dispatched on click\n */\n@customElement('pds-primary-navigation-utility-menu-item', {\n category: 'component',\n type: 'component',\n state: 'stable',\n styles,\n})\nexport class PdsPrimaryNavigationUtilityMenuItem extends PdsElement {\n /**\n * The link for the item. This is a **required** property.\n */\n @required\n @property()\n href: string;\n\n handleClick() {\n const customEvent = new CustomEvent(\n 'pds-primary-navigation-utility-menu-item-click',\n {\n bubbles: true,\n composed: true,\n detail: {\n summary: this.textContent,\n },\n },\n );\n\n this.dispatchEvent(customEvent);\n }\n\n @requiredSlot(['default'])\n render() {\n return html`\n