UNPKG

reakit

Version:

Toolkit for building accessible rich web apps with React

23 lines (22 loc) 3.15 kB
/// <reference types="react" /> import { PopoverOptions, PopoverHTMLProps } from "../Popover/Popover"; import { unstable_ComboboxListOptions as ComboboxListOptions, unstable_ComboboxListHTMLProps as ComboboxListHTMLProps } from "./ComboboxList"; import { ComboboxPopoverStateReturn } from "./__utils/ComboboxPopoverState"; export declare const unstable_useComboboxPopover: { (options?: unstable_ComboboxPopoverOptions | undefined, htmlProps?: unstable_ComboboxPopoverHTMLProps | undefined, unstable_ignoreUseOptions?: boolean | undefined): unstable_ComboboxPopoverHTMLProps; unstable_propsAreEqual: (prev: import("..").BoxOptions & Pick<Partial<import("./ComboboxState").unstable_ComboboxStateReturn>, "menuRole"> & Pick<import("./ComboboxState").unstable_ComboboxStateReturn, "baseId"> & Pick<PopoverOptions, "hide" | "visible" | "unstable_system" | "baseId" | "animated" | "animating" | "modal" | "unstable_popoverRef" | "unstable_popoverStyles" | "stopAnimation" | "hideOnEsc" | "hideOnClickOutside" | "preventBodyScroll" | "unstable_initialFocusRef" | "unstable_finalFocusRef" | "unstable_orphan"> & Pick<Partial<ComboboxPopoverStateReturn>, "unstable_referenceRef"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; } & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }, next: import("..").BoxOptions & Pick<Partial<import("./ComboboxState").unstable_ComboboxStateReturn>, "menuRole"> & Pick<import("./ComboboxState").unstable_ComboboxStateReturn, "baseId"> & Pick<PopoverOptions, "hide" | "visible" | "unstable_system" | "baseId" | "animated" | "animating" | "modal" | "unstable_popoverRef" | "unstable_popoverStyles" | "stopAnimation" | "hideOnEsc" | "hideOnClickOutside" | "preventBodyScroll" | "unstable_initialFocusRef" | "unstable_finalFocusRef" | "unstable_orphan"> & Pick<Partial<ComboboxPopoverStateReturn>, "unstable_referenceRef"> & import("react").HTMLAttributes<any> & import("react").RefAttributes<any> & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; } & { wrapElement?: ((element: import("react").ReactNode) => import("react").ReactNode) | undefined; }) => boolean; __keys: readonly any[]; __useOptions: (options: unstable_ComboboxPopoverOptions, htmlProps: unstable_ComboboxPopoverHTMLProps) => unstable_ComboboxPopoverOptions; }; export declare const unstable_ComboboxPopover: import("reakit-system/ts/createComponent").Component<"div", unstable_ComboboxPopoverOptions>; export declare type unstable_ComboboxPopoverOptions = ComboboxListOptions & Omit<PopoverOptions, "unstable_disclosureRef" | "unstable_autoFocusOnHide" | "unstable_autoFocusOnShow"> & Pick<Partial<ComboboxPopoverStateReturn>, "unstable_referenceRef">; export declare type unstable_ComboboxPopoverHTMLProps = PopoverHTMLProps & ComboboxListHTMLProps; export declare type unstable_ComboboxPopoverProps = unstable_ComboboxPopoverOptions & unstable_ComboboxPopoverHTMLProps;