Socket
Socket
Sign inDemoInstall

@radix-ui/react-popover

Package Overview
Dependencies
Maintainers
6
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-popover - npm Package Compare versions

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

19

dist/index.d.ts

@@ -6,9 +6,8 @@ import * as React from 'react';

import { Portal as Portal$1 } from '@radix-ui/react-portal';
import * as Radix from '@radix-ui/react-primitive';
import { Primitive } from '@radix-ui/react-primitive';
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;

@@ -30,11 +29,11 @@ };

declare const Popover: React.FC<PopoverProps>;
declare type PopperAnchorProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
type PopperAnchorProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Anchor>;
interface PopoverAnchorProps extends PopperAnchorProps {
}
declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
interface PopoverTriggerProps extends PrimitiveButtonProps {
}
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
declare type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>;
type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>;
interface PopoverPortalProps {

@@ -63,5 +62,5 @@ children?: React.ReactNode;

}
declare type FocusScopeProps = Radix.ComponentPropsWithoutRef<typeof FocusScope>;
declare type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
declare type PopperContentProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
type FocusScopeProps = React.ComponentPropsWithoutRef<typeof FocusScope>;
type DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>;
type PopperContentProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
interface PopoverContentImplProps extends Omit<PopperContentProps, 'onPlaced'>, Omit<DismissableLayerProps, 'onDismiss'> {

@@ -87,3 +86,3 @@ /**

declare const PopoverClose: React.ForwardRefExoticComponent<PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
declare type PopperArrowProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
type PopperArrowProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
interface PopoverArrowProps extends PopperArrowProps {

@@ -90,0 +89,0 @@ }

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

@@ -31,15 +31,15 @@ "exports": {

"dependencies": {
"@radix-ui/primitive": "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-dismissable-layer": "1.1.0-rc.3",
"@radix-ui/react-focus-guards": "1.1.0-rc.3",
"@radix-ui/react-focus-scope": "1.1.0-rc.3",
"@radix-ui/react-id": "1.1.0-rc.3",
"@radix-ui/react-popper": "1.2.0-rc.3",
"@radix-ui/react-portal": "1.1.0-rc.3",
"@radix-ui/react-presence": "1.1.0-rc.3",
"@radix-ui/react-primitive": "1.1.0-rc.3",
"@radix-ui/react-slot": "1.1.0-rc.3",
"@radix-ui/react-use-controllable-state": "1.1.0-rc.3",
"@radix-ui/primitive": "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-dismissable-layer": "1.1.0-rc.4",
"@radix-ui/react-focus-guards": "1.1.0-rc.4",
"@radix-ui/react-focus-scope": "1.1.0-rc.4",
"@radix-ui/react-id": "1.1.0-rc.4",
"@radix-ui/react-popper": "1.2.0-rc.4",
"@radix-ui/react-portal": "1.1.0-rc.4",
"@radix-ui/react-presence": "1.1.0-rc.4",
"@radix-ui/react-primitive": "2.0.0-rc.1",
"@radix-ui/react-slot": "1.1.0-rc.4",
"@radix-ui/react-use-controllable-state": "1.1.0-rc.4",
"aria-hidden": "^1.1.1",

@@ -51,4 +51,4 @@ "react-remove-scroll": "2.5.7"

"@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"
},

@@ -55,0 +55,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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc