Socket
Socket
Sign inDemoInstall

@floating-ui/react-dom

Package Overview
Dependencies
Maintainers
2
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.0.2 to 2.0.3

2

dist/floating-ui.react-dom.esm.js

@@ -117,3 +117,3 @@ import { arrow as arrow$1, computePosition } from '@floating-ui/dom';

* Provides data to position a floating element.
* @see https://floating-ui.com/docs/react
* @see https://floating-ui.com/docs/useFloating
*/

@@ -120,0 +120,0 @@ function useFloating(options) {

@@ -137,3 +137,3 @@ (function (global, factory) {

* Provides data to position a floating element.
* @see https://floating-ui.com/docs/react
* @see https://floating-ui.com/docs/useFloating
*/

@@ -140,0 +140,0 @@ function useFloating(options) {

{
"name": "@floating-ui/react-dom",
"version": "2.0.2",
"@rollingversions": {
"baseVersion": [
0,
1,
0
]
},
"version": "2.0.3",
"description": "Floating UI for React DOM",

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

@@ -1,4 +0,4 @@

import { Middleware, MiddlewareState, Padding } from '@floating-ui/dom';
import type { Derivable, Middleware, Padding } from '@floating-ui/core';
import * as React from 'react';
export interface Options {
export interface ArrowOptions {
/**

@@ -22,2 +22,2 @@ * The arrow element to be positioned.

*/
export declare const arrow: (options: Options | ((state: MiddlewareState) => Options)) => Middleware;
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>) => Middleware;
import type { ComputePositionConfig, ComputePositionReturn, VirtualElement } from '@floating-ui/dom';
import * as React from 'react';
export { arrow, Options as ArrowOptions } from './arrow';
export { arrow, ArrowOptions } from './arrow';
export { useFloating } from './useFloating';

@@ -5,0 +5,0 @@ export type { AlignedPlacement, Alignment, AutoPlacementOptions, AutoUpdateOptions, Axis, Boundary, ClientRectObject, ComputePositionConfig, ComputePositionReturn, Coords, DetectOverflowOptions, Dimensions, ElementContext, ElementRects, Elements, FlipOptions, FloatingElement, HideOptions, InlineOptions, Length, Middleware, MiddlewareArguments, MiddlewareData, MiddlewareReturn, MiddlewareState, NodeScroll, OffsetOptions, Padding, Placement, Platform, Rect, ReferenceElement, RootBoundary, ShiftOptions, Side, SideObject, SizeOptions, Strategy, VirtualElement, } from '@floating-ui/dom';

import type { ReferenceType, UseFloatingOptions, UseFloatingReturn } from './types';
/**
* Provides data to position a floating element.
* @see https://floating-ui.com/docs/react
* @see https://floating-ui.com/docs/useFloating
*/
export declare function useFloating<RT extends ReferenceType = ReferenceType>(options?: UseFloatingOptions): UseFloatingReturn<RT>;

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