UNPKG

@yandex/ui

Version:

Yandex UI components

16 lines (15 loc) 665 B
import { Placement, BasePlacement, Offsets } from '@popperjs/core'; export declare const top = "top"; export declare const left = "left"; export declare const right = "right"; export declare const bottom = "bottom"; import { Boundary } from './types'; export declare function getLayoutRect(element: HTMLElement): { x: number; y: number; width: number; height: number; }; export default function getBasePlacement(placement: Placement): BasePlacement; export declare function distanceAndSkiddingToXY(placement: Placement, offset: [number, number]): Offsets; export declare function getElementsFromRefs(boundary?: Boundary): HTMLElement[] | undefined;