UNPKG

svelte-ux

Version:

- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`

73 lines (72 loc) 2.21 kB
import { SvelteComponentTyped } from "svelte"; import type { Actions } from '../actions/multi'; import { autoFocus } from '../actions'; declare const __propDef: { props: { [x: string]: any; label?: string; value?: (string | number) | { [operator: string]: string | number; }; type?: 'text' | 'password' | 'integer' | 'decimal' | 'currency' | 'percent' | 'search' | 'email'; placeholder?: any; error?: string; hint?: string; autocomplete?: string; multiline?: boolean; disabled?: boolean; clearable?: boolean; base?: boolean; rounded?: boolean; filled?: boolean; dense?: boolean; icon?: string | null; iconRight?: string | null; align?: 'left' | 'center' | 'right'; shrinkLabel?: boolean; autofocus?: boolean | Parameters<typeof autoFocus>[1]; actions?: Actions<HTMLInputElement | HTMLTextAreaElement>; operators?: { label: string; value: string; }[]; inputEl?: HTMLInputElement | null; debounceChange?: boolean | number; classes?: { root?: string; container?: string; }; mask?: any; replace?: any; accept?: any; }; events: { click: MouseEvent; focus: FocusEvent; blur: FocusEvent | CustomEvent<any>; keydown: KeyboardEvent; keypress: KeyboardEvent; clear: CustomEvent<null>; change: CustomEvent<{ value: (string | number) | { [operator: string]: string | number; }; inputValue: string | number; operator: string; }>; } & { [evt: string]: CustomEvent<any>; }; slots: { prepend: {}; prefix: {}; suffix: {}; append: {}; }; }; export type TextFieldProps = typeof __propDef.props; export type TextFieldEvents = typeof __propDef.events; export type TextFieldSlots = typeof __propDef.slots; export default class TextField extends SvelteComponentTyped<TextFieldProps, TextFieldEvents, TextFieldSlots> { } export {};