import {NavigationDrawerModal as MDNavigationDrawerModal} from '@material/web/labs/navigationdrawer/internal/navigation-drawer-modal.js'; import {styles} from '@material/web/labs/navigationdrawer/internal/navigation-drawer-modal-styles.css.js'; import {styles as sharedStyles} from '@material/web/labs/navigationdrawer/internal/shared-styles.css.js'; import {css} from 'lit'; import {customElement} from 'lit/decorators.js'; declare global { interface HTMLElementTagNameMap { 'md-navigation-drawer-modal': MdNavigationDrawer; } } /** * @deprecated Use `nav-drawer` instead until official Material Web NavigationDrawer is released. */ @customElement('md-navigation-drawer-modal') export default class MdNavigationDrawer extends MDNavigationDrawerModal { static override readonly styles = [sharedStyles, styles, css` :host { --md-navigation-drawer-modal-container-color: var(--md-sys-color-surface); z-index: 10; } /*.md3-navigation-drawer-modal .md3-navigation-drawer-modal__slot-content { padding-top: 64px; }*/ `]; }