import Component from '../../components/select/select.component.js'; import { type EventName } from '@lit/react'; import type { MfChangeEvent } from '../../events/events.js'; import type { MfClearEvent } from '../../events/events.js'; import type { MfInputEvent } from '../../events/events.js'; import type { MfFocusEvent } from '../../events/events.js'; import type { MfBlurEvent } from '../../events/events.js'; import type { MfShowEvent } from '../../events/events.js'; import type { MfAfterShowEvent } from '../../events/events.js'; import type { MfHideEvent } from '../../events/events.js'; import type { MfAfterHideEvent } from '../../events/events.js'; import type { MfInvalidEvent } from '../../events/events.js'; export type { MfChangeEvent } from '../../events/events.js'; export type { MfClearEvent } from '../../events/events.js'; export type { MfInputEvent } from '../../events/events.js'; export type { MfFocusEvent } from '../../events/events.js'; export type { MfBlurEvent } from '../../events/events.js'; export type { MfShowEvent } from '../../events/events.js'; export type { MfAfterShowEvent } from '../../events/events.js'; export type { MfHideEvent } from '../../events/events.js'; export type { MfAfterHideEvent } from '../../events/events.js'; export type { MfInvalidEvent } from '../../events/events.js'; /** * @summary Selects allow you to choose items from a menu of predefined options. * @documentation https://shoelace.style/components/select * @status stable * @since 2.0 * * @dependency mf-icon * @dependency mf-popup * @dependency mf-tag * * @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 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 help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute. * * @event mf-change - Emitted when the control's value changes. * @event mf-clear - Emitted when the control's value is cleared. * @event mf-input - Emitted when the control receives input. * @event mf-focus - Emitted when the control gains focus. * @event mf-blur - Emitted when the control loses focus. * @event mf-show - Emitted when the select's menu opens. * @event mf-after-show - Emitted after the select's menu opens and all animations are complete. * @event mf-hide - Emitted when the select's menu closes. * @event mf-after-hide - Emitted after the select's menu closes and all animations are complete. * @event mf-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 select's wrapper. * @csspart form-control-help-text - The help text's wrapper. * @csspart combobox - The container the wraps the prefix, combobox, clear icon, and expand button. * @csspart prefix - The container that wraps the prefix slot. * @csspart display-input - The element that displays the selected option's label, an `` element. * @csspart listbox - The listbox container where options are slotted. * @csspart tags - The container that houses option tags when `multiselect` is used. * @csspart tag - The individual tags that represent each multiselect 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; onMfClear: EventName; onMfInput: EventName; onMfFocus: EventName; onMfBlur: EventName; onMfShow: EventName; onMfAfterShow: EventName; onMfHide: EventName; onMfAfterHide: EventName; onMfInvalid: EventName; }>; export default reactWrapper;