downshift 7.3.4 → 7.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -426,6 +426,7 @@ export enum UseComboboxStateChangeTypes {
426
426
  export interface UseComboboxProps<Item> {
427
427
  items: Item[]
428
428
  itemToString?: (item: Item | null) => string
429
+ selectedItemChanged?: (prevItem: Item, item: Item) => boolean
429
430
  getA11yStatusMessage?: (options: A11yStatusMessageOptions<Item>) => string
430
431
  getA11ySelectionMessage?: (options: A11yStatusMessageOptions<Item>) => string
431
432
  highlightedIndex?: number