Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@floating-ui/react-dom-interactions

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "@floating-ui/react-dom-interactions",
"version": "0.1.0",
"version": "0.1.1",
"@rollingversions": {

@@ -5,0 +5,0 @@ "baseVersion": [

@@ -1,2 +0,2 @@

import React, { SetStateAction } from 'react';
import React from 'react';
import type { FloatingContext } from './types';

@@ -12,6 +12,7 @@ declare type Delay = number | Partial<{

}
export declare const useDelayGroupContext: () => GroupState & {
setCurrentId: (currentId: any) => void;
setState: React.Dispatch<SetStateAction<GroupState>>;
};
interface GroupContext extends GroupState {
setCurrentId: React.Dispatch<React.SetStateAction<any>>;
setState: React.Dispatch<React.SetStateAction<GroupState>>;
}
export declare const useDelayGroupContext: () => GroupContext;
/**

@@ -22,5 +23,6 @@ * Provides context for a group of floating elements that should share a

*/
export declare const FloatingDelayGroup: React.FC<{
export declare const FloatingDelayGroup: ({ children, delay, }: {
children?: React.ReactNode;
delay: Delay;
}>;
}) => JSX.Element;
interface UseGroupOptions {

@@ -27,0 +29,0 @@ id: any;

@@ -6,4 +6,5 @@ import React from 'react';

*/
export declare const FloatingPortal: React.FC<{
export declare const FloatingPortal: ({ children, id, }: {
children?: React.ReactNode;
id?: string;
}>;
}) => React.ReactPortal;
import React from 'react';
import type { FloatingTreeType } from './types';
export declare const useFloatingParentNodeId: () => string;
export declare const useFloatingTree: () => FloatingTreeType;
export declare const useFloatingParentNodeId: () => string | null;
export declare const useFloatingTree: () => FloatingTreeType | null;
/**

@@ -13,5 +13,6 @@ * Registers a node into the floating tree, returning its id.

*/
export declare const FloatingNode: React.FC<{
export declare const FloatingNode: ({ children, id, }: {
children?: React.ReactNode;
id: string;
}>;
}) => JSX.Element;
/**

@@ -23,2 +24,4 @@ * Provides context for nested floating elements when they are not children of

*/
export declare const FloatingTree: React.FC;
export declare const FloatingTree: ({ children }: {
children?: React.ReactNode;
}) => JSX.Element;
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