Socket
Socket
Sign inDemoInstall

@floating-ui/core

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@floating-ui/core - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

package.json
{
"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';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc