Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@radix-ui/react-dialog

Package Overview
Dependencies
34
Maintainers
6
Versions
222
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

22

dist/index.d.ts

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

import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';

@@ -5,9 +6,8 @@ import { DismissableLayer } from '@radix-ui/react-dismissable-layer';

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;

@@ -29,7 +29,7 @@ };

declare const Dialog: React.FC<DialogProps>;
declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
interface DialogTriggerProps extends PrimitiveButtonProps {
}
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
declare type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>;
type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>;
interface DialogPortalProps {

@@ -56,3 +56,3 @@ children?: React.ReactNode;

declare const DialogOverlay: React.ForwardRefExoticComponent<DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>;
interface DialogOverlayImplProps extends PrimitiveDivProps {

@@ -70,4 +70,4 @@ }

}
declare type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
declare type FocusScopeProps = Radix.ComponentPropsWithoutRef<typeof FocusScope>;
type DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>;
type FocusScopeProps = React.ComponentPropsWithoutRef<typeof FocusScope>;
interface DialogContentImplProps extends Omit<DismissableLayerProps, 'onDismiss'> {

@@ -91,7 +91,7 @@ /**

}
declare type PrimitiveHeading2Props = Radix.ComponentPropsWithoutRef<typeof Primitive.h2>;
type PrimitiveHeading2Props = React.ComponentPropsWithoutRef<typeof Primitive.h2>;
interface DialogTitleProps extends PrimitiveHeading2Props {
}
declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
declare type PrimitiveParagraphProps = Radix.ComponentPropsWithoutRef<typeof Primitive.p>;
type PrimitiveParagraphProps = React.ComponentPropsWithoutRef<typeof Primitive.p>;
interface DialogDescriptionProps extends PrimitiveParagraphProps {

@@ -110,3 +110,3 @@ }

children: React.ReactNode;
}): JSX.Element;
}): react_jsx_runtime.JSX.Element;
displayName: string;

@@ -113,0 +113,0 @@ };

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

@@ -31,14 +31,14 @@ "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-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-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",

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc