{"version":3,"file":"primary-navigation-container.vFPtgIEA.js","sources":["../../../../../packages/web-components/src/lib/components/primary-navigation-container/primary-navigation-container.ts"],"sourcesContent":["// disable requiredSlot lint until requiredSlot error can be investigated for this component (throws error even if it is populated, may be a lifecycle issue)\n/* eslint-disable @nx/workspace-enforce-required-slot-decorator */\n\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { pdsCustomElement as customElement } from '../../decorators/pds-custom-element';\nimport { PdsElement } from '../PdsElement';\nimport styles from './primary-navigation-container.scss?inline';\n\n/**\n * @summary This component is a container (nav) that holds the primary-navigation-main-menu and primary-navigation-utility-menu elements\n *\n * @slot default Required: One or more pds-primary-navigation-main-menu &/or primary-navigation-utility-menu elements\n */\n@customElement('pds-primary-navigation-container', {\n category: 'component',\n type: 'component',\n state: 'stable',\n styles,\n})\nexport class PdsPrimaryNavigationContainer extends PdsElement {\n /**\n * Style variant\n * - **default** renders the default primary-navigation\n * - **inverted** renders the inverted primary-navigation\n */\n @property()\n variant: 'default' | 'inverted';\n\n /**\n * @internal\n */\n get classNames() {\n return {\n /* This is equivalent to doing\n * 'default': this.variant === 'default',\n * 'inverted': this.variant === 'inverted',\n */\n [this.variant]: !!this.variant,\n };\n }\n\n render() {\n return html`
\n e.stopPropagation()}\n >\n \n
\n `;\n }\n}\n"],"names":["PdsPrimaryNavigationContainer","PdsElement","html","e","__decorateClass","property","customElement","styles"],"mappings":";;;;;;;;AAoBa,IAAAA,IAAN,cAA4CC,EAAW;AAAA;AAAA;AAAA;AAAA,EAY5D,IAAI,aAAa;AACR,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKL,CAAC,KAAK,OAAO,GAAG,CAAC,CAAC,KAAK;AAAA,IACzB;AAAA,EAAA;AAAA,EAGF,SAAS;AACA,WAAAC,eAAkB,KAAK,SAAA,CAAU;AAAA;AAAA;AAAA,iBAG3B,CAACC,MAAaA,EAAE,gBAAiB,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA;AAMlD;AAzBEC,EAAA;AAAA,EADCC,EAAS;AAAA,GANCL,EAOX,WAAA,WAAA,CAAA;AAPWA,IAANI,EAAA;AAAA,EANNE,EAAc,oCAAoC;AAAA,IACjD,UAAU;AAAA,IACV,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAAC;AAAA,EACD,CAAA;AAAA,GACYP,CAAA;"}