Socket
Socket
Sign inDemoInstall

@radix-ui/react-popper

Package Overview
Dependencies
Maintainers
6
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0-rc.3 to 1.2.0-rc.4

15

dist/index.d.ts
import * as React from 'react';
import * as ArrowPrimitive from '@radix-ui/react-arrow';
import * as Radix from '@radix-ui/react-primitive';
import { Primitive } from '@radix-ui/react-primitive';
import { Measurable } from '@radix-ui/rect';
declare type Scope<C = any> = {
type Scope<C = any> = {
[scopeName: string]: React.Context<C>[];
} | undefined;
declare type ScopeHook = (scope: Scope) => {
type ScopeHook = (scope: Scope) => {
[__scopeProp: string]: Scope;

@@ -20,4 +19,4 @@ };

declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
declare type Side = typeof SIDE_OPTIONS[number];
declare type Align = typeof ALIGN_OPTIONS[number];
type Side = (typeof SIDE_OPTIONS)[number];
type Align = (typeof ALIGN_OPTIONS)[number];
declare const createPopperScope: CreateScope;

@@ -28,3 +27,3 @@ interface PopperProps {

declare const Popper: React.FC<PopperProps>;
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
interface PopperAnchorProps extends PrimitiveDivProps {

@@ -34,3 +33,3 @@ virtualRef?: React.RefObject<Measurable>;

declare const PopperAnchor: React.ForwardRefExoticComponent<PopperAnchorProps & React.RefAttributes<HTMLDivElement>>;
declare type Boundary = Element | null;
type Boundary = Element | null;
interface PopperContentProps extends PrimitiveDivProps {

@@ -51,3 +50,3 @@ side?: Side;

declare const PopperContent: React.ForwardRefExoticComponent<PopperContentProps & React.RefAttributes<HTMLDivElement>>;
declare type ArrowProps = Radix.ComponentPropsWithoutRef<typeof ArrowPrimitive.Root>;
type ArrowProps = React.ComponentPropsWithoutRef<typeof ArrowPrimitive.Root>;
interface PopperArrowProps extends ArrowProps {

@@ -54,0 +53,0 @@ }

{
"name": "@radix-ui/react-popper",
"version": "1.2.0-rc.3",
"version": "1.2.0-rc.4",
"license": "MIT",

@@ -32,11 +32,11 @@ "exports": {

"@floating-ui/react-dom": "^2.0.0",
"@radix-ui/react-arrow": "1.1.0-rc.3",
"@radix-ui/react-compose-refs": "1.1.0-rc.3",
"@radix-ui/react-context": "1.1.0-rc.3",
"@radix-ui/react-primitive": "1.1.0-rc.3",
"@radix-ui/react-use-callback-ref": "1.1.0-rc.3",
"@radix-ui/react-use-layout-effect": "1.1.0-rc.3",
"@radix-ui/react-use-rect": "1.1.0-rc.3",
"@radix-ui/react-use-size": "1.1.0-rc.3",
"@radix-ui/rect": "1.1.0-rc.3"
"@radix-ui/react-arrow": "1.1.0-rc.4",
"@radix-ui/react-compose-refs": "1.1.0-rc.4",
"@radix-ui/react-context": "1.1.0-rc.4",
"@radix-ui/react-primitive": "2.0.0-rc.1",
"@radix-ui/react-use-callback-ref": "1.1.0-rc.4",
"@radix-ui/react-use-layout-effect": "1.1.0-rc.4",
"@radix-ui/react-use-rect": "1.1.0-rc.4",
"@radix-ui/react-use-size": "1.1.0-rc.4",
"@radix-ui/rect": "1.1.0-rc.4"
},

@@ -46,4 +46,4 @@ "peerDependencies": {

"@types/react-dom": "*",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
"react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0"
},

@@ -50,0 +50,0 @@ "peerDependenciesMeta": {

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc