@radix-ui/react-alert-dialog
Advanced tools
Comparing version 1.1.0-rc.3 to 1.1.0-rc.4
import * as React from 'react'; | ||
import * as DialogPrimitive from '@radix-ui/react-dialog'; | ||
import * as Radix 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; | ||
@@ -17,31 +16,31 @@ }; | ||
declare const createAlertDialogScope: CreateScope; | ||
declare type DialogProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>; | ||
type DialogProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>; | ||
interface AlertDialogProps extends Omit<DialogProps, 'modal'> { | ||
} | ||
declare const AlertDialog: React.FC<AlertDialogProps>; | ||
declare type DialogTriggerProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger>; | ||
type DialogTriggerProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger>; | ||
interface AlertDialogTriggerProps extends DialogTriggerProps { | ||
} | ||
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>; | ||
declare type DialogPortalProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Portal>; | ||
type DialogPortalProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Portal>; | ||
interface AlertDialogPortalProps extends DialogPortalProps { | ||
} | ||
declare const AlertDialogPortal: React.FC<AlertDialogPortalProps>; | ||
declare type DialogOverlayProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>; | ||
type DialogOverlayProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>; | ||
interface AlertDialogOverlayProps extends DialogOverlayProps { | ||
} | ||
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>>; | ||
declare type DialogContentProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>; | ||
type DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>; | ||
interface AlertDialogContentProps extends Omit<DialogContentProps, 'onPointerDownOutside' | 'onInteractOutside'> { | ||
} | ||
declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>; | ||
declare type DialogTitleProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>; | ||
type DialogTitleProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>; | ||
interface AlertDialogTitleProps extends DialogTitleProps { | ||
} | ||
declare const AlertDialogTitle: React.ForwardRefExoticComponent<AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>; | ||
declare type DialogDescriptionProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>; | ||
type DialogDescriptionProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>; | ||
interface AlertDialogDescriptionProps extends DialogDescriptionProps { | ||
} | ||
declare const AlertDialogDescription: React.ForwardRefExoticComponent<AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>; | ||
declare type DialogCloseProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Close>; | ||
type DialogCloseProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Close>; | ||
interface AlertDialogActionProps extends DialogCloseProps { | ||
@@ -48,0 +47,0 @@ } |
{ | ||
"name": "@radix-ui/react-alert-dialog", | ||
"version": "1.1.0-rc.3", | ||
"version": "1.1.0-rc.4", | ||
"license": "MIT", | ||
@@ -31,8 +31,8 @@ "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-dialog": "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/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-dialog": "1.1.0-rc.4", | ||
"@radix-ui/react-primitive": "2.0.0-rc.1", | ||
"@radix-ui/react-slot": "1.1.0-rc.4" | ||
}, | ||
@@ -42,4 +42,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" | ||
}, | ||
@@ -46,0 +46,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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90092
1084
+ Added@radix-ui/primitive@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-compose-refs@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-context@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-dialog@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-dismissable-layer@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-focus-guards@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-focus-scope@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-id@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-portal@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-presence@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-primitive@2.0.0-rc.1(transitive)
+ Added@radix-ui/react-slot@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-callback-ref@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-controllable-state@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-escape-keydown@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-layout-effect@1.1.0-rc.4(transitive)
- Removed@radix-ui/primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-compose-refs@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-context@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-dialog@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-dismissable-layer@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-focus-guards@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-focus-scope@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-id@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-portal@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-presence@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-slot@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-callback-ref@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-controllable-state@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-escape-keydown@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-layout-effect@1.1.0-rc.3(transitive)