claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
80 lines • 2.21 kB
TypeScript
export default SearchInput;
type SearchInput = SvelteComponent<$$ComponentProps, {
input: CustomEvent<any>;
change: CustomEvent<any>;
keydown: CustomEvent<any>;
search: CustomEvent<any>;
focus: CustomEvent<any>;
blur: CustomEvent<any>;
clear: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {}> & {
$$bindings?: "" | undefined;
} & {
focus: () => void;
blur: () => void;
};
declare const SearchInput: $$__sveltets_2_IsomorphicComponent<{
id?: any;
name?: string;
value?: string;
placeholder?: string;
label?: string;
helperText?: string;
error?: string;
disabled?: boolean;
readonly?: boolean;
required?: boolean;
loading?: boolean;
clearable?: boolean;
autofocus?: boolean;
size?: string;
debounce?: number;
className?: string;
} & Record<string, any>, {
input: CustomEvent<any>;
change: CustomEvent<any>;
keydown: CustomEvent<any>;
search: CustomEvent<any>;
focus: CustomEvent<any>;
blur: CustomEvent<any>;
clear: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
}, {}, {
focus: () => void;
blur: () => void;
}, "">;
type $$ComponentProps = {
id?: any;
name?: string;
value?: string;
placeholder?: string;
label?: string;
helperText?: string;
error?: string;
disabled?: boolean;
readonly?: boolean;
required?: boolean;
loading?: boolean;
clearable?: boolean;
autofocus?: boolean;
size?: string;
debounce?: number;
className?: string;
} & Record<string, any>;
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
new (options: import("svelte").ComponentConstructorOptions<Props>): import("svelte").SvelteComponent<Props, Events, Slots> & {
$$bindings?: Bindings;
} & Exports;
(internal: unknown, props: Props & {
$$events?: Events;
$$slots?: Slots;
}): Exports & {
$set?: any;
$on?: any;
};
z_$$bindings?: Bindings;
}
//# sourceMappingURL=SearchInput.svelte.d.ts.map