UNPKG

@project-jade-garden/kobalte

Version:
38 lines (37 loc) 1.35 kB
import { SVATraits } from 'jade-garden'; /** * **Combobox** * @description Combines a text input with a listbox, allowing users to filter a list of options to items matching a query. * @see [source](https://kobalte.dev/docs/core/components/combobox#anatomy) */ export declare const slots: readonly ["root", "arrow", "content", "control", "description", "errorMessage", "hiddenSelect", "icon", "input", "item", "itemDescription", "itemIndicator", "itemLabel", "label", "listbox", "section", "trigger"]; /** * **Combobox** * @description Combines a text input with a listbox, allowing users to filter a list of options to items matching a query. * @see [source](https://kobalte.dev/docs/core/components/combobox#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Combobox** * @description Combines a text input with a listbox, allowing users to filter a list of options to items matching a query. * @see [source](https://kobalte.dev/docs/core/components/combobox#api-reference) */ export type Traits = SVATraits<Slots, { root: {}; arrow: {}; content: {}; control: {}; description: {}; errorMessage: {}; hiddenSelect: {}; icon: {}; input: {}; item: {}; itemDescription: {}; itemIndicator: {}; itemLabel: {}; label: {}; listbox: {}; section: {}; trigger: {}; }>;