import type { CSSResultOrNative } from 'lit'
import { customElement } from 'lit/decorators.js'
import Element from './internals/text-button.js'
import base from './internals/button-styles.js'
import styles from './internals/text-button.styles.js'

/**
 * @attrbite {string} form
 */
@customElement('ui-text-button')
export class UiTextButtonElement extends Element {
  static override styles: CSSResultOrNative[] = [base, styles]
}

declare global {
  interface HTMLElementTagNameMap {
    'ui-text-button': UiTextButtonElement
  }
}
