UNPKG

vue-bare

Version:

**Unstyled Vue components for frustration-free human interactions**

45 lines (44 loc) 1.83 kB
import { ClassValue } from './types.js'; export interface TextInputBareProps { /** * @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize) */ autocapitalize: 'none' | 'sentence' | 'words' | 'characters'; /** * @see [Apple Docs](https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element) * @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) */ autocomplete: 'off' | 'one-time-code' | 'name' | 'address-line1' | 'address-line2' | 'address-level1' | 'address-level2' | 'postal-code' | 'tel'; id: string; /** * @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) */ inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'search' | 'url' | 'tel'; name: string; placeholder: string; /** * @see [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck) */ spellcheck: boolean; autofocus?: boolean; class?: ClassValue; disabled?: boolean; trimStart?: boolean; modelValue?: string; value?: string; } interface Props extends TextInputBareProps { class: ClassValue; } declare const _default: import('vue').DefineComponent<Props, { focus: () => void; blur: () => void; select: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: string) => any; }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{ "onUpdate:modelValue"?: (value: string) => any; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { 'input-ref': HTMLInputElement; }, HTMLInputElement>; export default _default;