downshift 8.0.2 → 8.1.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.
@@ -109,7 +109,7 @@ type StateChangeFunction<Item> = (
109
109
 
110
110
  export interface GetRootPropsOptions {
111
111
  refKey?: string
112
- ref?: React.RefObject
112
+ ref?: React.RefObject<any>
113
113
  }
114
114
 
115
115
  export interface GetRootPropsReturnValue {
@@ -117,7 +117,7 @@ export interface GetRootPropsReturnValue {
117
117
  'aria-haspopup': 'listbox'
118
118
  'aria-labelledby': string
119
119
  'aria-owns': string | undefined
120
- ref?: React.RefObject
120
+ ref?: React.RefObject<any>
121
121
  role: 'combobox'
122
122
  }
123
123
 
@@ -174,7 +174,7 @@ export interface GetMenuPropsOptions
174
174
 
175
175
  export interface GetMenuPropsReturnValue {
176
176
  'aria-labelledby': string | undefined
177
- ref?: React.RefObject
177
+ ref?: React.RefObject<any>
178
178
  role: 'listbox'
179
179
  id: string
180
180
  }
@@ -411,7 +411,7 @@ export interface UseSelectGetToggleButtonReturnValue
411
411
  'aria-haspopup': 'listbox'
412
412
  'aria-labelledby': string | undefined
413
413
  id: string
414
- ref?: React.RefObject
414
+ ref?: React.RefObject<any>
415
415
  role: 'combobox'
416
416
  tabIndex: 0
417
417
  }
@@ -427,7 +427,7 @@ export interface UseSelectGetItemPropsOptions<Item>
427
427
  export interface UseSelectGetItemPropsReturnValue
428
428
  extends Omit<GetItemPropsReturnValue, 'onMouseDown'> {
429
429
  'aria-disabled': boolean
430
- ref?: React.RefObject
430
+ ref?: React.RefObject<any>
431
431
  }
432
432
 
433
433
  export interface UseSelectPropGetters<Item> {
@@ -603,7 +603,7 @@ export interface UseComboboxGetToggleButtonPropsReturnValue {
603
603
  id: string
604
604
  onPress?: (event: React.BaseSyntheticEvent) => void
605
605
  onClick?: React.MouseEventHandler
606
- ref?: React.RefObject
606
+ ref?: React.RefObject<any>
607
607
  tabIndex: -1
608
608
  }
609
609
 
@@ -619,7 +619,7 @@ export interface UseComboboxGetItemPropsOptions<Item>
619
619
  export interface UseComboboxGetItemPropsReturnValue
620
620
  extends GetItemPropsReturnValue {
621
621
  'aria-disabled': boolean
622
- ref?: React.RefObject
622
+ ref?: React.RefObject<any>
623
623
  }
624
624
 
625
625
  export interface UseComboboxGetInputPropsOptions
@@ -782,7 +782,7 @@ export interface UseMultipleSelectionGetSelectedItemPropsOptions<Item>
782
782
  }
783
783
 
784
784
  export interface UseMultipleSelectionGetSelectedItemReturnValue {
785
- ref?: React.RefObject
785
+ ref?: React.RefObject<any>
786
786
  tabIndex: 0 | -1
787
787
  onClick: React.MouseEventHandler
788
788
  onKeyDown: React.KeyboardEventHandler
@@ -794,7 +794,7 @@ export interface UseMultipleSelectionGetDropdownPropsOptions
794
794
  }
795
795
 
796
796
  export interface UseMultipleSelectionGetDropdownReturnValue {
797
- ref?: React.RefObject
797
+ ref?: React.RefObject<any>
798
798
  onClick?: React.MouseEventHandler
799
799
  onKeyDown?: React.KeyboardEventHandler
800
800
  }