import { customElement } from 'lit/decorators.js'
import Element from './internals/ContextualMenuElement.js'
import styles from './internals/MenuElementStyles.js'
import listStyles from '../../md/list/internals/List.styles.js'

@customElement('contextual-menu')
export class UiContextMenu<S = unknown> extends Element<S> {
  static override styles = [styles, listStyles]
}

declare global {
  interface HTMLElementTagNameMap {
    'contextual-menu': UiContextMenu
  }
}
