downshift 8.2.0 → 8.2.2

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.
@@ -152,6 +152,7 @@ export interface GetLabelPropsReturnValue {
152
152
  export interface GetToggleButtonPropsOptions
153
153
  extends React.HTMLProps<HTMLButtonElement> {
154
154
  disabled?: boolean
155
+ onPress?: (event: React.BaseSyntheticEvent) => void
155
156
  }
156
157
 
157
158
  interface GetToggleButtonPropsReturnValue {
@@ -398,7 +399,9 @@ export interface UseSelectGetMenuReturnValue extends GetMenuPropsReturnValue {
398
399
 
399
400
  export interface UseSelectGetToggleButtonPropsOptions
400
401
  extends GetPropsWithRefKey,
401
- React.HTMLProps<HTMLElement> {}
402
+ React.HTMLProps<HTMLElement> {
403
+ onPress?: (event: React.BaseSyntheticEvent) => void
404
+ }
402
405
 
403
406
  export interface UseSelectGetToggleButtonReturnValue
404
407
  extends Pick<
@@ -425,7 +428,7 @@ export interface UseSelectGetItemPropsOptions<Item>
425
428
  GetPropsWithRefKey {}
426
429
 
427
430
  export interface UseSelectGetItemPropsReturnValue
428
- extends Omit<GetItemPropsReturnValue, 'onMouseDown'> {
431
+ extends GetItemPropsReturnValue {
429
432
  'aria-disabled': boolean
430
433
  ref?: React.RefObject<any>
431
434
  }