import { LitElement, html, nothing, css } from 'lit'; const tagName = 'ui-portal-inpage-nav'; export class UIPortalInpageNav extends LitElement { static properties = { navData: { type: Array, attribute: 'nav-data' }, }; static styles = [ css` @media (max-width: 899px) { :host { display: none; } } [data-part='nav'] { position: sticky; top: 20px; margin-left: 20px; margin-top: 100px; } [data-part='list'] { list-style-type: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid var(--primary-lines-color); } [data-part='anchor'] { color: inherit; text-decoration: inherit; font-size: 14px; } [data-part='anchor']:hover { text-decoration: underline; } h4 { font-weight: normal; } `, ]; constructor() { super(); this.navData = []; } render() { return html` `; } _renderNavLevel({ children, level = 0 }) { return html` `; } } customElements.define(tagName, UIPortalInpageNav);