| | import { AlignedPlacement } from '@floating-ui/dom';
|
| | import { Alignment } from '@floating-ui/dom';
|
| | import { AutoPlacementOptions } from '@floating-ui/dom';
|
| | import { autoUpdate } from '@floating-ui/dom';
|
| | import { AutoUpdateOptions } from '@floating-ui/dom';
|
| | import { Axis } from '@floating-ui/dom';
|
| | import { Boundary } from '@floating-ui/dom';
|
| | import { ClientRectObject } from '@floating-ui/dom';
|
| | import { computePosition } from '@floating-ui/dom';
|
| | import { ComputePositionConfig } from '@floating-ui/dom';
|
| | import { ComputePositionReturn } from '@floating-ui/dom';
|
| | import { Coords } from '@floating-ui/dom';
|
| | import { Derivable } from '@floating-ui/dom';
|
| | import { detectOverflow } from '@floating-ui/dom';
|
| | import { DetectOverflowOptions } from '@floating-ui/dom';
|
| | import { Dimensions } from '@floating-ui/dom';
|
| | import { ElementContext } from '@floating-ui/dom';
|
| | import { ElementRects } from '@floating-ui/dom';
|
| | import { Elements } from '@floating-ui/dom';
|
| | import { FlipOptions } from '@floating-ui/dom';
|
| | import { FloatingElement } from '@floating-ui/dom';
|
| | import { getOverflowAncestors } from '@floating-ui/dom';
|
| | import { HideOptions } from '@floating-ui/dom';
|
| | import { InlineOptions } from '@floating-ui/dom';
|
| | import { Length } from '@floating-ui/dom';
|
| | import { LimitShiftOptions } from '@floating-ui/dom';
|
| | import { Middleware } from '@floating-ui/dom';
|
| | import { MiddlewareArguments } from '@floating-ui/dom';
|
| | import { MiddlewareData } from '@floating-ui/dom';
|
| | import { MiddlewareReturn } from '@floating-ui/dom';
|
| | import { MiddlewareState } from '@floating-ui/dom';
|
| | import { NodeScroll } from '@floating-ui/dom';
|
| | import { OffsetOptions } from '@floating-ui/dom';
|
| | import { Padding } from '@floating-ui/dom';
|
| | import { Placement } from '@floating-ui/dom';
|
| | import { Platform } from '@floating-ui/dom';
|
| | import { platform } from '@floating-ui/dom';
|
| | import type * as React from 'react';
|
| | import { Rect } from '@floating-ui/dom';
|
| | import { ReferenceElement } from '@floating-ui/dom';
|
| | import { RootBoundary } from '@floating-ui/dom';
|
| | import { ShiftOptions } from '@floating-ui/dom';
|
| | import { Side } from '@floating-ui/dom';
|
| | import { SideObject } from '@floating-ui/dom';
|
| | import { SizeOptions } from '@floating-ui/dom';
|
| | import { Strategy } from '@floating-ui/dom';
|
| | import { VirtualElement } from '@floating-ui/dom';
|
| |
|
| | export { AlignedPlacement }
|
| |
|
| | export { Alignment }
|
| |
|
| | |
| | |
| | |
| | |
| | |
| |
|
| | export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export declare interface ArrowOptions {
|
| | |
| | |
| | |
| |
|
| | element: React.MutableRefObject<Element | null> | Element | null;
|
| | |
| | |
| | |
| | |
| |
|
| | padding?: Padding;
|
| | }
|
| |
|
| | |
| | |
| | |
| | |
| | |
| |
|
| | export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { AutoPlacementOptions }
|
| |
|
| | export { autoUpdate }
|
| |
|
| | export { AutoUpdateOptions }
|
| |
|
| | export { Axis }
|
| |
|
| | export { Boundary }
|
| |
|
| | export { ClientRectObject }
|
| |
|
| | export { computePosition }
|
| |
|
| | export { ComputePositionConfig }
|
| |
|
| | export { ComputePositionReturn }
|
| |
|
| | export { Coords }
|
| |
|
| | export { Derivable }
|
| |
|
| | export { detectOverflow }
|
| |
|
| | export { DetectOverflowOptions }
|
| |
|
| | export { Dimensions }
|
| |
|
| | export { ElementContext }
|
| |
|
| | export { ElementRects }
|
| |
|
| | export { Elements }
|
| |
|
| | |
| | |
| | |
| | |
| | |
| |
|
| | export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { FlipOptions }
|
| |
|
| | export { FloatingElement }
|
| |
|
| | export { getOverflowAncestors }
|
| |
|
| | |
| | |
| | |
| | |
| |
|
| | export declare const hide: (options?: HideOptions | Derivable<HideOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { HideOptions }
|
| |
|
| | |
| | |
| | |
| | |
| |
|
| | export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { InlineOptions }
|
| |
|
| | export { Length }
|
| |
|
| | |
| | |
| |
|
| | export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>, deps?: React.DependencyList) => {
|
| | fn: (state: MiddlewareState) => Coords;
|
| | options: any;
|
| | };
|
| |
|
| | export { Middleware }
|
| |
|
| | export { MiddlewareArguments }
|
| |
|
| | export { MiddlewareData }
|
| |
|
| | export { MiddlewareReturn }
|
| |
|
| | export { MiddlewareState }
|
| |
|
| | export { NodeScroll }
|
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | export declare const offset: (options?: OffsetOptions, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { OffsetOptions }
|
| |
|
| | export { Padding }
|
| |
|
| | export { Placement }
|
| |
|
| | export { Platform }
|
| |
|
| | export { platform }
|
| |
|
| | declare type Prettify<T> = {
|
| | [K in keyof T]: T[K];
|
| | } & {};
|
| |
|
| | export { Rect }
|
| |
|
| | export { ReferenceElement }
|
| |
|
| | export declare type ReferenceType = Element | VirtualElement;
|
| |
|
| | export { RootBoundary }
|
| |
|
| | |
| | |
| | |
| | |
| |
|
| | export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { ShiftOptions }
|
| |
|
| | export { Side }
|
| |
|
| | export { SideObject }
|
| |
|
| | |
| | |
| | |
| | |
| | |
| |
|
| | export declare const size: (options?: SizeOptions | Derivable<SizeOptions>, deps?: React.DependencyList) => Middleware;
|
| |
|
| | export { SizeOptions }
|
| |
|
| | export { Strategy }
|
| |
|
| | |
| | |
| | |
| |
|
| | export declare function useFloating<RT extends ReferenceType = ReferenceType>(options?: UseFloatingOptions): UseFloatingReturn<RT>;
|
| |
|
| | export declare type UseFloatingData = Prettify<ComputePositionReturn & {
|
| | isPositioned: boolean;
|
| | }>;
|
| |
|
| | export declare type UseFloatingOptions<RT extends ReferenceType = ReferenceType> = Prettify<Partial<ComputePositionConfig> & {
|
| | |
| | |
| | |
| | |
| |
|
| | whileElementsMounted?: (reference: RT, floating: HTMLElement, update: () => void) => () => void;
|
| | |
| | |
| |
|
| | elements?: {
|
| | reference?: RT | null;
|
| | floating?: HTMLElement | null;
|
| | };
|
| | |
| | |
| | |
| | |
| |
|
| | open?: boolean;
|
| | |
| | |
| | |
| | |
| |
|
| | transform?: boolean;
|
| | }>;
|
| |
|
| | export declare type UseFloatingReturn<RT extends ReferenceType = ReferenceType> = Prettify<UseFloatingData & {
|
| | |
| | |
| | |
| |
|
| | update: () => void;
|
| | |
| | |
| |
|
| | floatingStyles: React.CSSProperties;
|
| | |
| | |
| |
|
| | refs: {
|
| | |
| | |
| |
|
| | reference: React.MutableRefObject<RT | null>;
|
| | |
| | |
| |
|
| | floating: React.MutableRefObject<HTMLElement | null>;
|
| | |
| | |
| |
|
| | setReference: (node: RT | null) => void;
|
| | |
| | |
| |
|
| | setFloating: (node: HTMLElement | null) => void;
|
| | };
|
| | |
| | |
| |
|
| | elements: {
|
| | reference: RT | null;
|
| | floating: HTMLElement | null;
|
| | };
|
| | }>;
|
| |
|
| | export { VirtualElement }
|
| |
|
| | export { }
|
| |
|