import type { CSSResultOrNative } from 'lit'
import { customElement } from 'lit/decorators.js'
import Element from './internals/TextFieldElement.js'
import styles from './internals/TextField.styles.js'

@customElement('ui-text-field')
export class UiTextFieldElement extends Element {
  static override styles: CSSResultOrNative[] = [styles]
}

declare global {
  interface HTMLElementTagNameMap {
    'ui-text-field': UiTextFieldElement
  }
}
