Major Changes
- #3168 by @12joan –
- Major rework. The combobox package is no longer a plugin. Instead, it is now a collection of utilities that can be used by other plugins and components.
- Added the following exports:
withTriggerCombobox
: Insert a combobox input when a trigger character is typedTriggerComboboxPlugin
: Plugin options type forwithTriggerCombobox
useComboboxInput
: Manages the behavior of an inline combobox input elementuseHTMLInputCursorState
: Tracks whether the cursor is at the start or end of a HTML<input type="text">
elementComboboxInputCursorState
: Return type foruseHTMLInputCursorState
CancelComboboxInputCause
: A unison type of possible reasons why a combobox input may be cancelled (used byuseComboboxInput
)
- Removed the following exports:
comboboxStore
createComboboxPlugin
useComboboxContent
useComboboxControls
useComboboxItem
onChangeCombobox
onKeyDownCombobox
ComboboxOnSelectItem
ComboboxProps
getNextNonDisabledIndex
getNextWrappingIndex
getTextFromTrigger