import Component from '../../components/combobox/combobox.component.js'; import { type EventName } from '@lit/react'; import type { CwChangeEvent } from '../../events/events.js'; import type { CwClearEvent } from '../../events/events.js'; import type { CwInputEvent } from '../../events/events.js'; import type { CwFocusEvent } from '../../events/events.js'; import type { CwBlurEvent } from '../../events/events.js'; import type { CwShowEvent } from '../../events/events.js'; import type { CwAfterShowEvent } from '../../events/events.js'; import type { CwHideEvent } from '../../events/events.js'; import type { CwAfterHideEvent } from '../../events/events.js'; import type { CwInvalidEvent } from '../../events/events.js'; export type { CwChangeEvent } from '../../events/events.js'; export type { CwClearEvent } from '../../events/events.js'; export type { CwInputEvent } from '../../events/events.js'; export type { CwFocusEvent } from '../../events/events.js'; export type { CwBlurEvent } from '../../events/events.js'; export type { CwShowEvent } from '../../events/events.js'; export type { CwAfterShowEvent } from '../../events/events.js'; export type { CwHideEvent } from '../../events/events.js'; export type { CwAfterHideEvent } from '../../events/events.js'; export type { CwInvalidEvent } from '../../events/events.js'; /** * @summary Comboboxes combine a text input with a listbox, allowing users to filter a list of options by typing. * @documentation https://cw-elements-b0c7e5.gitlab.io/components/combobox * @status experimental * @since 1.1 * * @dependency cw-icon * @dependency cw-popup * @dependency cw-spinner * @dependency cw-tag * @dependency cw-visually-hidden * * @slot - The listbox options. Must be `` elements. You can use `` to group items visually. * @slot label - The input's label. Alternatively, you can use the `label` attribute. * @slot prefix - Used to prepend a presentational icon or similar element to the combobox. * @slot suffix - Used to append a presentational icon or similar element to the combobox. * @slot clear-icon - An icon to use in lieu of the default clear icon. * @slot expand-icon - The icon to show when the control is expanded and collapsed. Rotates on open and close. * @slot no-options - Content to show in the listbox when no options match the current filter. * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute. * * @event cw-change - Emitted when the control's value changes. * @event cw-clear - Emitted when the control's value is cleared. * @event cw-input - Emitted when the control receives input, including as the user types to filter options. * @event cw-focus - Emitted when the control gains focus. * @event cw-blur - Emitted when the control loses focus. * @event cw-show - Emitted when the combobox's listbox opens. * @event cw-after-show - Emitted after the combobox's listbox opens and all animations are complete. * @event cw-hide - Emitted when the combobox's listbox closes. * @event cw-after-hide - Emitted after the combobox's listbox closes and all animations are complete. * @event cw-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied. * * @csspart form-control - The form control that wraps the label, input, and help text. * @csspart form-control-label - The label's wrapper. * @csspart form-control-input - The combobox's wrapper. * @csspart form-control-help-text - The help text's wrapper. * @csspart combobox - The container that wraps the prefix, suffix, input, tags, clear icon, and expand button. * @csspart prefix - The container that wraps the prefix slot. * @csspart suffix - The container that wraps the suffix slot. * @csspart display-input - The component's `` element. * @csspart listbox - The listbox container where options are slotted. * @csspart no-options - The container shown when no options match the current filter. * @csspart loading - The container shown while `loading` is set. * @csspart tags - The container that houses option tags when `multiple` is used. * @csspart tag - The individual tags that represent each selected option. * @csspart tag__base - The tag's base part. * @csspart tag__content - The tag's content part. * @csspart tag__remove-button - The tag's remove button. * @csspart tag__remove-button__base - The tag's remove button base part. * @csspart clear-button - The clear button. * @csspart expand-icon - The container that wraps the expand icon. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onCwClear: EventName; onCwInput: EventName; onCwFocus: EventName; onCwBlur: EventName; onCwShow: EventName; onCwAfterShow: EventName; onCwHide: EventName; onCwAfterHide: EventName; onCwInvalid: EventName; }>; export default reactWrapper;