import type { Combobox as ComboboxPrimitive } from '@base-ui/react'; import type { SlotOverrides } from '../../../core/types'; import type { ComboboxSlot } from './Combobox.styles'; /** Props for the Combobox root. */ type IComboboxProps = ComboboxPrimitive.Root.Props; /** Props for ComboboxValue. */ type IComboboxValueProps = ComboboxPrimitive.Value.Props; /** Props for ComboboxTrigger. */ type IComboboxTriggerProps = ComboboxPrimitive.Trigger.Props; /** Props for ComboboxClear. */ type IComboboxClearProps = ComboboxPrimitive.Clear.Props; /** Props for ComboboxInput. */ interface IComboboxInputProps extends ComboboxPrimitive.Input.Props { /** Show the trigger arrow button. */ showTrigger?: boolean; /** Show the clear button. */ showClear?: boolean; /** Override classes for combobox visual regions. */ slots?: SlotOverrides; } /** Props for ComboboxContent. */ interface IComboboxContentProps extends ComboboxPrimitive.Popup.Props, Pick { slots?: SlotOverrides; } /** Props for ComboboxList. */ type IComboboxListProps = ComboboxPrimitive.List.Props; /** Props for ComboboxItem. */ type IComboboxItemProps = ComboboxPrimitive.Item.Props; /** Props for ComboboxGroup. */ type IComboboxGroupProps = ComboboxPrimitive.Group.Props; /** Props for ComboboxLabel. */ type IComboboxLabelProps = ComboboxPrimitive.GroupLabel.Props; /** Props for ComboboxCollection. */ type IComboboxCollectionProps = ComboboxPrimitive.Collection.Props; /** Props for ComboboxEmpty. */ type IComboboxEmptyProps = ComboboxPrimitive.Empty.Props; /** Props for ComboboxSeparator. */ type IComboboxSeparatorProps = ComboboxPrimitive.Separator.Props; /** Props for ComboboxChips. */ type IComboboxChipsProps = React.ComponentPropsWithRef & ComboboxPrimitive.Chips.Props; /** Props for ComboboxChip. */ interface IComboboxChipProps extends ComboboxPrimitive.Chip.Props { /** Show the remove button on the chip. */ showRemove?: boolean; } /** Props for ComboboxChipsInput. */ type IComboboxChipsInputProps = ComboboxPrimitive.Input.Props; export type { IComboboxProps, IComboboxValueProps, IComboboxTriggerProps, IComboboxClearProps, IComboboxInputProps, IComboboxContentProps, IComboboxListProps, IComboboxItemProps, IComboboxGroupProps, IComboboxLabelProps, IComboboxCollectionProps, IComboboxEmptyProps, IComboboxSeparatorProps, IComboboxChipsProps, IComboboxChipProps, IComboboxChipsInputProps, }; //# sourceMappingURL=Combobox.types.d.ts.map