github udecode/plate @udecode/plate-combobox@34.0.0

latest releases: @udecode/plate-utils@35.3.2, @udecode/plate@35.3.2, @udecode/plate-common@35.3.2...
29 days ago

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 typed
      • TriggerComboboxPlugin: Plugin options type for withTriggerCombobox
      • useComboboxInput: Manages the behavior of an inline combobox input element
      • useHTMLInputCursorState: Tracks whether the cursor is at the start or end of a HTML <input type="text"> element
      • ComboboxInputCursorState: Return type for useHTMLInputCursorState
      • CancelComboboxInputCause: A unison type of possible reasons why a combobox input may be cancelled (used by useComboboxInput)
    • Removed the following exports:
      • comboboxStore
      • createComboboxPlugin
      • useComboboxContent
      • useComboboxControls
      • useComboboxItem
      • onChangeCombobox
      • onKeyDownCombobox
      • ComboboxOnSelectItem
      • ComboboxProps
      • getNextNonDisabledIndex
      • getNextWrappingIndex
      • getTextFromTrigger

Don't miss a new plate release

NewReleases is sending notifications on new releases.