@floating-ui/core
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "@floating-ui/core", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Positioning library for floating elements: tooltips, popovers, dropdowns, and more", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
import type { Boundary, Derivable, ElementContext, MiddlewareState, Padding, RootBoundary, SideObject } from './types'; | ||
export type Options = Partial<{ | ||
export type DetectOverflowOptions = Partial<{ | ||
/** | ||
@@ -38,2 +38,2 @@ * The clipping element(s) or area in which overflow will be checked. | ||
*/ | ||
export declare function detectOverflow(state: MiddlewareState, options?: Options | Derivable<Options>): Promise<SideObject>; | ||
export declare function detectOverflow(state: MiddlewareState, options?: DetectOverflowOptions | Derivable<DetectOverflowOptions>): Promise<SideObject>; |
@@ -1,2 +0,2 @@ | ||
import { type Options as DetectOverflowOptions } from '../detectOverflow'; | ||
import type { DetectOverflowOptions } from '../detectOverflow'; | ||
import type { Alignment, Derivable, Middleware, Placement } from '../types'; | ||
@@ -3,0 +3,0 @@ export declare function getPlacementList(alignment: Alignment | null, autoAlignment: boolean, allowedPlacements: Array<Placement>): Placement[]; |
@@ -1,2 +0,2 @@ | ||
import { type Options as DetectOverflowOptions } from '../detectOverflow'; | ||
import type { DetectOverflowOptions } from '../detectOverflow'; | ||
import type { Derivable, Middleware } from '../types'; | ||
@@ -3,0 +3,0 @@ export type HideOptions = Partial<DetectOverflowOptions & { |
@@ -1,2 +0,2 @@ | ||
import { type Options as DetectOverflowOptions } from '../detectOverflow'; | ||
import type { DetectOverflowOptions } from '../detectOverflow'; | ||
import type { Coords, Derivable, Middleware, MiddlewareState } from '../types'; | ||
@@ -3,0 +3,0 @@ export type ShiftOptions = Partial<DetectOverflowOptions & { |
@@ -1,2 +0,2 @@ | ||
import { type Options as DetectOverflowOptions } from '../detectOverflow'; | ||
import type { DetectOverflowOptions } from '../detectOverflow'; | ||
import type { Derivable, Middleware, MiddlewareState } from '../types'; | ||
@@ -3,0 +3,0 @@ export type SizeOptions = Partial<DetectOverflowOptions & { |
@@ -148,3 +148,3 @@ import type { Axis, ClientRectObject, ElementRects, Length, Placement, Rect, SideObject, Strategy } from '@floating-ui/utils'; | ||
export { computePosition } from './computePosition'; | ||
export { detectOverflow, Options as DetectOverflowOptions, } from './detectOverflow'; | ||
export { detectOverflow, DetectOverflowOptions } from './detectOverflow'; | ||
export { arrow, ArrowOptions } from './middleware/arrow'; | ||
@@ -151,0 +151,0 @@ export { autoPlacement, AutoPlacementOptions } from './middleware/autoPlacement'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
192702