UNPKG

svelte-ux

Version:

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

68 lines (67 loc) 1.83 kB
import { SvelteComponentTyped } from "svelte"; import type { Placement } from '@floating-ui/dom'; declare const __propDef: { props: { [x: string]: any; items?: any[]; itemText?: (item: any) => string; itemValue?: (item: any) => any; label?: string; placeholder?: string; loading?: boolean; disabled?: boolean; readonly?: boolean; icon?: string | null; base?: boolean; rounded?: boolean; filled?: boolean; dense?: boolean; clearSearchOnFocus?: boolean; classes?: { root?: string; field?: string; items?: string; item?: string; group?: string; empty?: string; }; placement?: Placement; autoPlacement?: boolean; matchWidth?: boolean; resize?: boolean; disableTransition?: boolean; value?: any; selected?: any; search?: (text: string) => Promise<void>; open?: boolean; }; events: { change: CustomEvent<{ value: any; item: any; }>; inputChange: CustomEvent<string>; } & { [evt: string]: CustomEvent<any>; }; slots: { prepend: { slot: string; }; append: {}; item: { item: any; index: any; highlightIndex: number; }; empty: { searchText: string; }; }; }; export type SelectFieldProps = typeof __propDef.props; export type SelectFieldEvents = typeof __propDef.events; export type SelectFieldSlots = typeof __propDef.slots; export default class SelectField extends SvelteComponentTyped<SelectFieldProps, SelectFieldEvents, SelectFieldSlots> { } export {};