@ringcentral/spring-ui 1.11.0 → 1.11.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.
Files changed (121) hide show
  1. package/Autocomplete.js +2 -0
  2. package/Dropdown.js +1 -0
  3. package/ListItem.js +1 -0
  4. package/ListItemText.js +8 -3
  5. package/MenuHeader.js +4 -1
  6. package/MenuItem.js +1 -0
  7. package/MenuItemText.js +1 -0
  8. package/MenuList.js +1 -0
  9. package/Option.js +1 -0
  10. package/Select.js +1 -0
  11. package/SingleFilter.js +2 -0
  12. package/SortableListItem.js +1 -0
  13. package/SortableVirtualizedList.js +1 -0
  14. package/SplitButton.js +1 -0
  15. package/SubMenu.js +2 -0
  16. package/SwipeableDrawer.js +16 -18
  17. package/TablePagination.js +2 -0
  18. package/Tabs.js +2 -0
  19. package/TrayMenu.js +1 -0
  20. package/VirtualizedList.js +4 -3
  21. package/VirtualizedMenu.js +1 -0
  22. package/chunks/MenuItemText.js +2 -1
  23. package/chunks/Modal.js +132 -8
  24. package/chunks/VirtualizedMenu.js +2 -0
  25. package/chunks/hasContent.js +3 -0
  26. package/chunks/useAnimationFrame.js +15 -0
  27. package/chunks/useMenuItemSelect.js +3 -1
  28. package/index.js +2 -0
  29. package/internal/hooks/index.d.ts +1 -0
  30. package/internal/hooks/useAnimationFrame.d.ts +4 -0
  31. package/internal/utils/hasContent.d.ts +2 -0
  32. package/{src/internal → internal}/utils/index.d.ts +1 -0
  33. package/package.json +4 -4
  34. package/src/Accordion/Accordion.d.ts +1 -1
  35. package/src/AccordionHeader/AccordionHeader.d.ts +1 -1
  36. package/src/Announcement/Announcement.d.ts +1 -1
  37. package/src/Autocomplete/SuggestionList/SuggestionListItem.d.ts +1 -1
  38. package/src/Autocomplete/SuggestionList/utils/useSuggestionList.d.ts +1 -1
  39. package/src/Autocomplete/useAutocomplete.d.ts +63 -39
  40. package/src/Autocomplete/useAutocompleteTag.d.ts +57 -33
  41. package/src/Backdrop/Backdrop.d.ts +1 -1
  42. package/src/Badge/Badge.d.ts +1 -2
  43. package/src/BottomNavigation/BottomNavigationGroup/BottomNavigationGroup.d.ts +1 -1
  44. package/src/CircularProgressIndicator/CircularProgressIndicator.d.ts +1 -1
  45. package/src/DatePicker/DatePicker.d.ts +1 -1
  46. package/src/DatePicker/Day.d.ts +1 -1
  47. package/src/DatePicker/Year.d.ts +1 -1
  48. package/src/Dialer/DialTextField/DialTextField.d.ts +1 -1
  49. package/src/Dialog/Dialog.d.ts +4 -4
  50. package/src/Drawer/Drawer.d.ts +1 -1
  51. package/src/EmptyState/EmptyState.d.ts +1 -1
  52. package/src/FormField/FormField.d.ts +1 -1
  53. package/src/FormLabel/FormLabel.d.ts +1 -1
  54. package/src/Icon/Icon.d.ts +1 -1
  55. package/src/IconButton/IconButtonLabel.d.ts +1 -1
  56. package/src/LinearProgressIndicator/LinearProgressIndicator.d.ts +1 -1
  57. package/src/List/List.d.ts +1 -1
  58. package/src/ListItem/ListItem.d.ts +1 -1
  59. package/src/ListItemText/ListItemText.d.ts +1 -1
  60. package/src/ListNavigation/useListNavigation.d.ts +2 -2
  61. package/src/Menu/Menu.d.ts +1 -1
  62. package/src/MenuActions/MenuActions.d.ts +2 -2
  63. package/src/MenuDivider/MenuDivider.d.ts +1 -1
  64. package/src/MenuFooter/MenuFooter.d.ts +1 -1
  65. package/src/MenuHeader/MenuHeader.d.ts +1 -1
  66. package/src/MenuItem/MenuItem.d.ts +1 -1
  67. package/src/MenuItemText/MenuItemText.d.ts +1 -1
  68. package/src/Modal/InnerModal.d.ts +2 -16
  69. package/src/Modal/InnerModal.type.d.ts +1 -0
  70. package/src/Modal/Modal.d.ts +2 -21
  71. package/src/Modal/ModalContext.d.ts +3 -0
  72. package/src/Modal/OverlayBranchRegistry.d.ts +8 -0
  73. package/src/Modal/useOverlayBranch.d.ts +8 -0
  74. package/src/NestedMenuContext/MenuOverlayGroupContext.d.ts +1 -1
  75. package/src/Option/Option.d.ts +1 -1
  76. package/src/PageHeader/PageHeader.d.ts +5 -5
  77. package/src/PickerTextField/PickerTextField.d.ts +1 -1
  78. package/src/Popover/Popover.d.ts +1 -1
  79. package/src/Popper/Popper.d.ts +1 -1
  80. package/src/PopperPaper/PopperPaper.d.ts +1 -1
  81. package/src/RadioGroup/RadioGroup.d.ts +1 -1
  82. package/src/Rating/Rating.d.ts +1 -1
  83. package/src/Rating/RatingItem.d.ts +1 -1
  84. package/src/Rating/utils.d.ts +2 -3
  85. package/src/SingleFilter/FilterButton/FilterButton.d.ts +1 -1
  86. package/src/SingleFilter/SingleFilter.d.ts +1 -1
  87. package/src/Skeleton/Skeleton.d.ts +1 -1
  88. package/src/Slider/Slider.d.ts +1 -1
  89. package/src/Slider/SliderThumb.d.ts +1 -2
  90. package/src/Snackbar/Snackbar.d.ts +1 -1
  91. package/src/Snackbar/SnackbarContent/SnackbarContent.d.ts +1 -1
  92. package/src/SortableListItem/SortableListItem.d.ts +1 -1
  93. package/src/SortableListItem/SortableListItemOverlay.d.ts +1 -1
  94. package/src/SplitButton/SplitButton.d.ts +1 -1
  95. package/src/StatusIndicator/StatusIndicator.d.ts +1 -2
  96. package/src/StepConnector/StepConnector.d.ts +1 -1
  97. package/src/StepContent/StepContent.d.ts +1 -1
  98. package/src/StepIcon/StepIcon.d.ts +1 -1
  99. package/src/StepLabel/StepLabel.d.ts +1 -1
  100. package/src/SubMenu/PopperMenu.d.ts +1 -1
  101. package/src/SubMenu/SubMenu.d.ts +1 -1
  102. package/src/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  103. package/src/Tab/Tab.d.ts +1 -1
  104. package/src/TabPanel/TabPanel.d.ts +1 -1
  105. package/src/TableFooter/TableFooter.d.ts +1 -1
  106. package/src/Tabs/TabMoreMenu.d.ts +1 -1
  107. package/src/Tabs/TabScrollButton.d.ts +1 -1
  108. package/src/Tabs/Tabs.d.ts +1 -1
  109. package/src/Tag/Tag.d.ts +1 -1
  110. package/src/TextField/TextField.d.ts +1 -1
  111. package/src/Textarea/Textarea.d.ts +1 -1
  112. package/src/TimePicker/NumberPicker.d.ts +1 -1
  113. package/src/TimePicker/TimeButton.d.ts +1 -1
  114. package/src/TimePicker/ToggleText.d.ts +1 -1
  115. package/src/Tray/Tray.d.ts +1 -1
  116. package/src/Tray/TrayPanel.d.ts +1 -1
  117. package/src/TrayMenu/TrayMenu.d.ts +1 -1
  118. package/src/TrayMenu/TrayMenuItem.d.ts +1 -1
  119. package/src/VirtualizedList/VirtuosoComponents.d.ts +4 -4
  120. package/src/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  121. /package/{src/internal → internal}/utils/composeEventHandlers.d.ts +0 -0
@@ -1 +1,2 @@
1
1
  export * from './composeEventHandlers';
2
+ export * from './hasContent';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringcentral/spring-ui",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "author": "RingCentral",
5
5
  "description": "A comprehensive React component library built with Tailwind CSS, featuring production-ready components",
6
6
  "main": "./index.js",
@@ -15,9 +15,9 @@
15
15
  "@floating-ui/react-dom": "2.1.1",
16
16
  "@juggle/resize-observer": "3.4.0",
17
17
  "@mui/base": "5.0.0-beta.40",
18
- "@ringcentral/spring-base": "^1.11.0",
19
- "@ringcentral/spring-icon": "^1.11.0",
20
- "@ringcentral/spring-theme": "^1.11.0",
18
+ "@ringcentral/spring-base": "^1.11.2",
19
+ "@ringcentral/spring-icon": "^1.11.2",
20
+ "@ringcentral/spring-theme": "^1.11.2",
21
21
  "@types/lodash": "^4.14.182",
22
22
  "@use-gesture/react": "10.3.1",
23
23
  "clsx": "^1.2.1",
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { AccordionProps } from './Accordion.type';
3
3
  import accordionStyles from './styles/Accordion.css';
4
- declare const Accordion: import("react").ForwardRefExoticComponent<Pick<AccordionProps, "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "header" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "expanded" | "className" | "accessKey" | "dir" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "keepMounted" | "defaultExpanded"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const Accordion: import("react").ForwardRefExoticComponent<Omit<AccordionProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  export { Accordion, accordionStyles };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { AccordionHeaderProps } from './AccordionHeader.type';
3
3
  import accordionHeaderStyles from './styles/AccordionHeader.css';
4
- declare const AccordionHeader: import("react").ForwardRefExoticComponent<Pick<AccordionHeaderProps, "value" | "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "disabled" | "form" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "classes" | "name" | "className" | "accessKey" | "dir" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "placeholder" | "type" | "onFocusVisible" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | `data-${string}` | "autoFocus" | "formEncType" | "secondarySlot" | "expandIcon" | "ExpandCollapseCaretProps"> & import("react").RefAttributes<HTMLButtonElement>>;
4
+ declare const AccordionHeader: import("react").ForwardRefExoticComponent<Omit<AccordionHeaderProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
5
  export { AccordionHeader, accordionHeaderStyles };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { AnnouncementProps } from './Announcement.type';
3
3
  import announcementStyles from './styles/Announcement.css';
4
- declare const Announcement: import("react").ForwardRefExoticComponent<Pick<AnnouncementProps, "classes" | "key" | "action" | `data-${string}` | keyof import("react").HTMLAttributes<HTMLDivElement> | "component" | "icon" | "onClose" | "startSlot" | "closeText" | "severity" | "CloseButtonProps"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const Announcement: import("react").ForwardRefExoticComponent<Omit<AnnouncementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  export { Announcement, announcementStyles };
@@ -23,4 +23,4 @@ export declare const SuggestionListItem: import("react").ForwardRefExoticCompone
23
23
  highlighted?: boolean | undefined;
24
24
  disabled?: boolean | undefined;
25
25
  expandIconProps?: Partial<IconButtonProps> | undefined;
26
- } & Pick<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof HTMLAttributes<HTMLElement>> & ClassesProp<SuggestionListClassesKey> & import("react").RefAttributes<HTMLDivElement>>;
26
+ } & Omit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & ClassesProp<SuggestionListClassesKey> & import("react").RefAttributes<HTMLDivElement>>;
@@ -58,6 +58,6 @@ export declare const useSuggestionList: <T extends SuggestionListItemData = Sugg
58
58
  changeHighlightedIndexReason: SuggestionListHighlightChangeReason;
59
59
  optionsGroupList: import("./SuggestionListItem").SuggestionListGroupedOption<T>[];
60
60
  id: string;
61
- getNextFocusableOption: (index?: number, isInfinite?: any) => number;
61
+ getNextFocusableOption: (index?: number, isInfinite?: boolean) => number;
62
62
  handleF10KeyDown: (e: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
63
63
  };
@@ -35,31 +35,34 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
35
35
  style?: import("react").CSSProperties | undefined;
36
36
  title?: string | undefined;
37
37
  'aria-live'?: "assertive" | "off" | "polite" | undefined;
38
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
39
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
40
- role?: string | undefined;
38
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
39
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
41
40
  className?: string | undefined;
42
- accessKey?: string | undefined;
41
+ id?: string | undefined;
42
+ prefix?: string | undefined;
43
+ role?: import("react").AriaRole | undefined;
43
44
  dir?: string | undefined;
45
+ accessKey?: string | undefined;
44
46
  draggable?: (boolean | "true" | "false") | undefined;
45
47
  hidden?: boolean | undefined;
46
48
  lang?: string | undefined;
47
49
  translate?: "yes" | "no" | undefined;
48
- id?: string | undefined;
49
- prefix?: string | undefined;
50
50
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
51
- inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
51
+ inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
52
+ nonce?: string | undefined;
52
53
  tabIndex?: number | undefined;
53
54
  key?: import("react").Key | null | undefined;
54
55
  defaultChecked?: boolean | undefined;
55
56
  defaultValue?: string | number | readonly string[] | undefined;
56
57
  placeholder?: string | undefined;
58
+ content?: string | undefined;
57
59
  onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
58
60
  onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
59
61
  onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
60
62
  onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
61
63
  suppressContentEditableWarning?: boolean | undefined;
62
64
  suppressHydrationWarning?: boolean | undefined;
65
+ autoFocus?: boolean | undefined;
63
66
  contextMenu?: string | undefined;
64
67
  spellCheck?: (boolean | "true" | "false") | undefined;
65
68
  radioGroup?: string | undefined;
@@ -67,7 +70,9 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
67
70
  datatype?: string | undefined;
68
71
  inlist?: any;
69
72
  property?: string | undefined;
73
+ rel?: string | undefined;
70
74
  resource?: string | undefined;
75
+ rev?: string | undefined;
71
76
  typeof?: string | undefined;
72
77
  vocab?: string | undefined;
73
78
  autoCapitalize?: string | undefined;
@@ -84,43 +89,48 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
84
89
  is?: string | undefined;
85
90
  'aria-activedescendant'?: string | undefined;
86
91
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
87
- 'aria-busy'?: boolean | "true" | "false" | undefined;
92
+ 'aria-braillelabel'?: string | undefined;
93
+ 'aria-brailleroledescription'?: string | undefined;
94
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
88
95
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
89
96
  'aria-colcount'?: number | undefined;
90
97
  'aria-colindex'?: number | undefined;
98
+ 'aria-colindextext'?: string | undefined;
91
99
  'aria-colspan'?: number | undefined;
92
100
  'aria-controls'?: string | undefined;
93
101
  'aria-current'?: boolean | "true" | "time" | "false" | "step" | "date" | "page" | "location" | undefined;
94
102
  'aria-describedby'?: string | undefined;
103
+ 'aria-description'?: string | undefined;
95
104
  'aria-details'?: string | undefined;
96
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
105
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
97
106
  'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
98
107
  'aria-errormessage'?: string | undefined;
99
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
108
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
100
109
  'aria-flowto'?: string | undefined;
101
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
102
- 'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "tree" | "grid" | undefined;
110
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
111
+ 'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
103
112
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
104
113
  'aria-keyshortcuts'?: string | undefined;
105
114
  'aria-label'?: string | undefined;
106
115
  'aria-labelledby'?: string | undefined;
107
116
  'aria-level'?: number | undefined;
108
- 'aria-modal'?: boolean | "true" | "false" | undefined;
109
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
110
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
117
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
118
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
119
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
111
120
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
112
121
  'aria-owns'?: string | undefined;
113
122
  'aria-placeholder'?: string | undefined;
114
123
  'aria-posinset'?: number | undefined;
115
124
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
116
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
125
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
117
126
  'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
118
- 'aria-required'?: boolean | "true" | "false" | undefined;
127
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
119
128
  'aria-roledescription'?: string | undefined;
120
129
  'aria-rowcount'?: number | undefined;
121
130
  'aria-rowindex'?: number | undefined;
131
+ 'aria-rowindextext'?: string | undefined;
122
132
  'aria-rowspan'?: number | undefined;
123
- 'aria-selected'?: boolean | "true" | "false" | undefined;
133
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
124
134
  'aria-setsize'?: number | undefined;
125
135
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
126
136
  'aria-valuemax'?: number | undefined;
@@ -128,7 +138,7 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
128
138
  'aria-valuenow'?: number | undefined;
129
139
  'aria-valuetext'?: string | undefined;
130
140
  dangerouslySetInnerHTML?: {
131
- __html: string;
141
+ __html: string | TrustedHTML;
132
142
  } | undefined;
133
143
  onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
134
144
  onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
@@ -194,6 +204,8 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
194
204
  onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
195
205
  onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
196
206
  onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
207
+ onResize?: import("react").ReactEventHandler<HTMLElement> | undefined;
208
+ onResizeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
197
209
  onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
198
210
  onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
199
211
  onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
@@ -283,22 +295,23 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
283
295
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
284
296
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
285
297
  };
286
- getClearButtonProps: (props?: PropsWithoutRef<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, 'color'>>) => Pick<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color">, "value" | "children" | "onKeyDown" | "onKeyUp" | "onMouseDown" | "onClick" | "disabled" | "form" | "slot" | "style" | "title" | "aria-live" | "aria-atomic" | "aria-hidden" | "role" | "name" | "className" | "accessKey" | "dir" | "draggable" | "hidden" | "lang" | "translate" | "id" | "prefix" | "contentEditable" | "inputMode" | "tabIndex" | "key" | "defaultChecked" | "defaultValue" | "formAction" | "formMethod" | "formNoValidate" | "formTarget" | "placeholder" | "type" | "onFocus" | "onBlur" | "onMouseEnter" | "onMouseLeave" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "formEncType">;
298
+ getClearButtonProps: (props?: PropsWithoutRef<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, 'color'>>) => Omit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color">, "ref">;
287
299
  activeIndex: number;
288
300
  setActiveIndex: (tagToFocus: number, focus?: any) => void;
289
301
  isOpen: boolean;
290
- getToggleButtonProps: (props?: PropsWithoutRef<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>) => Pick<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof ButtonHTMLAttributes<HTMLButtonElement>>;
291
- getPopperProps: (restPopperProps?: PropsWithoutRef<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>>) => Pick<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof HTMLAttributes<HTMLElement>>;
302
+ getToggleButtonProps: (props?: PropsWithoutRef<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>>) => Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">;
303
+ getPopperProps: (restPopperProps?: PropsWithoutRef<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>>) => Omit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref">;
292
304
  getLabelProps: (props?: DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement> | undefined) => import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement>;
293
305
  getSuggestionListProps: (restMenuProps?: DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement> | undefined) => import("react").ClassAttributes<HTMLElement> & HTMLAttributes<HTMLElement>;
294
- getInputProps: (props?: PropsWithoutRef<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>) => Pick<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof InputHTMLAttributes<HTMLInputElement>>;
295
- getInputAriaProps: (props?: PropsWithoutRef<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>) => Pick<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof InputHTMLAttributes<HTMLInputElement>>;
306
+ getInputProps: (props?: PropsWithoutRef<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>) => Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">;
307
+ getInputAriaProps: (props?: PropsWithoutRef<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>) => Omit<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">;
296
308
  getTagListBoxProps: (props?: HTMLAttributes<HTMLElement> | undefined) => {
297
309
  defaultChecked?: boolean | undefined;
298
310
  defaultValue?: string | number | readonly string[] | undefined;
299
311
  suppressContentEditableWarning?: boolean | undefined;
300
312
  suppressHydrationWarning?: boolean | undefined;
301
313
  accessKey?: string | undefined;
314
+ autoFocus?: boolean | undefined;
302
315
  className?: string | undefined;
303
316
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
304
317
  contextMenu?: string | undefined;
@@ -307,6 +320,7 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
307
320
  hidden?: boolean | undefined;
308
321
  id?: string | undefined;
309
322
  lang?: string | undefined;
323
+ nonce?: string | undefined;
310
324
  placeholder?: string | undefined;
311
325
  slot?: string | undefined;
312
326
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -315,13 +329,16 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
315
329
  title?: string | undefined;
316
330
  translate?: "yes" | "no" | undefined;
317
331
  radioGroup?: string | undefined;
318
- role?: string | undefined;
332
+ role?: import("react").AriaRole | undefined;
319
333
  about?: string | undefined;
334
+ content?: string | undefined;
320
335
  datatype?: string | undefined;
321
336
  inlist?: any;
322
337
  prefix?: string | undefined;
323
338
  property?: string | undefined;
339
+ rel?: string | undefined;
324
340
  resource?: string | undefined;
341
+ rev?: string | undefined;
325
342
  typeof?: string | undefined;
326
343
  vocab?: string | undefined;
327
344
  autoCapitalize?: string | undefined;
@@ -336,50 +353,55 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
336
353
  results?: number | undefined;
337
354
  security?: string | undefined;
338
355
  unselectable?: "on" | "off" | undefined;
339
- inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
356
+ inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
340
357
  is?: string | undefined;
341
358
  'aria-activedescendant'?: string | undefined;
342
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
359
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
343
360
  'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
344
- 'aria-busy'?: boolean | "true" | "false" | undefined;
361
+ 'aria-braillelabel'?: string | undefined;
362
+ 'aria-brailleroledescription'?: string | undefined;
363
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
345
364
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
346
365
  'aria-colcount'?: number | undefined;
347
366
  'aria-colindex'?: number | undefined;
367
+ 'aria-colindextext'?: string | undefined;
348
368
  'aria-colspan'?: number | undefined;
349
369
  'aria-controls'?: string | undefined;
350
370
  'aria-current'?: boolean | "true" | "time" | "false" | "step" | "date" | "page" | "location" | undefined;
351
371
  'aria-describedby'?: string | undefined;
372
+ 'aria-description'?: string | undefined;
352
373
  'aria-details'?: string | undefined;
353
374
  'aria-disabled': boolean | "true" | "false";
354
375
  'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
355
376
  'aria-errormessage'?: string | undefined;
356
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
377
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
357
378
  'aria-flowto'?: string | undefined;
358
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
359
- 'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "tree" | "grid" | undefined;
360
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
379
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
380
+ 'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
381
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
361
382
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
362
383
  'aria-keyshortcuts'?: string | undefined;
363
384
  'aria-label'?: string | undefined;
364
385
  'aria-labelledby'?: string | undefined;
365
386
  'aria-level'?: number | undefined;
366
387
  'aria-live'?: "assertive" | "off" | "polite" | undefined;
367
- 'aria-modal'?: boolean | "true" | "false" | undefined;
368
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
369
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
388
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
389
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
390
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
370
391
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
371
392
  'aria-owns'?: string | undefined;
372
393
  'aria-placeholder'?: string | undefined;
373
394
  'aria-posinset'?: number | undefined;
374
395
  'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
375
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
396
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
376
397
  'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
377
398
  'aria-required': boolean | "true" | "false";
378
399
  'aria-roledescription'?: string | undefined;
379
400
  'aria-rowcount'?: number | undefined;
380
401
  'aria-rowindex'?: number | undefined;
402
+ 'aria-rowindextext'?: string | undefined;
381
403
  'aria-rowspan'?: number | undefined;
382
- 'aria-selected'?: boolean | "true" | "false" | undefined;
404
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
383
405
  'aria-setsize'?: number | undefined;
384
406
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
385
407
  'aria-valuemax'?: number | undefined;
@@ -388,7 +410,7 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
388
410
  'aria-valuetext'?: string | undefined;
389
411
  children?: import("react").ReactNode;
390
412
  dangerouslySetInnerHTML?: {
391
- __html: string;
413
+ __html: string | TrustedHTML;
392
414
  } | undefined;
393
415
  onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
394
416
  onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
@@ -458,6 +480,8 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
458
480
  onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
459
481
  onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
460
482
  onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
483
+ onResize?: import("react").ReactEventHandler<HTMLElement> | undefined;
484
+ onResizeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
461
485
  onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
462
486
  onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
463
487
  onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
@@ -552,7 +576,7 @@ export declare const useAutocomplete: <T extends SuggestionListItemData = Sugges
552
576
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
553
577
  };
554
578
  getItemProps: (props: SuggestionListGetItemPropsOptions<T>) => import("./SuggestionList").SuggestionListItemProps;
555
- getNoOptionsProps: (additionProps: PropsWithoutRef<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>>) => Pick<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "key" | keyof HTMLAttributes<HTMLElement>>;
579
+ getNoOptionsProps: (additionProps: PropsWithoutRef<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>>) => Omit<DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>, "ref">;
556
580
  noOptionItem: T | null;
557
581
  highlightedIndex: number;
558
582
  tags: T[];