Socket
Socket
Sign inDemoInstall

@floating-ui/react-dom

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@floating-ui/react-dom - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

16

dist/floating-ui.react-dom.d.ts

@@ -26,3 +26,3 @@ import { AlignedPlacement } from '@floating-ui/dom';

import { Length } from '@floating-ui/dom';
import { limitShift as limitShift_2 } from '@floating-ui/dom';
import { LimitShiftOptions } from '@floating-ui/dom';
import { Middleware } from '@floating-ui/dom';

@@ -104,2 +104,4 @@ import { MiddlewareArguments } from '@floating-ui/dom';

export { Derivable }
export { detectOverflow }

@@ -154,3 +156,3 @@

*/
export declare const limitShift: (options?: LimitShiftOptions, deps?: React.DependencyList) => {
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>, deps?: React.DependencyList) => {
fn: (state: MiddlewareState) => Coords;

@@ -160,4 +162,2 @@ options: any;

declare type LimitShiftOptions = Parameters<typeof limitShift_2>[0];
export { Middleware }

@@ -248,2 +248,5 @@

whileElementsMounted?: (reference: RT, floating: HTMLElement, update: () => void) => () => void;
/**
* Object containing the reference and floating elements.
*/
elements?: {

@@ -256,2 +259,3 @@ reference?: RT | null;

* `isPositioned` value.
* @default false
*/

@@ -262,2 +266,3 @@ open?: boolean;

* (layout) in the `floatingStyles` object.
* @default false
*/

@@ -298,2 +303,5 @@ transform?: boolean;

};
/**
* Object containing the reference and floating elements.
*/
elements: {

@@ -300,0 +308,0 @@ reference: RT | null;

@@ -290,2 +290,3 @@ import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';

});
/**

@@ -292,0 +293,0 @@ * Built-in `limiter` that will stop `shift()` at a certain point.

@@ -310,2 +310,3 @@ (function (global, factory) {

});
/**

@@ -312,0 +313,0 @@ * Built-in `limiter` that will stop `shift()` at a certain point.

{
"name": "@floating-ui/react-dom",
"version": "2.1.0",
"version": "2.1.1",
"description": "Floating UI for React DOM",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc