@radix-ui/react-hover-card
Advanced tools
Comparing version 1.1.0-rc.3 to 1.1.0-rc.4
import * as React from 'react'; | ||
import * as PopperPrimitive from '@radix-ui/react-popper'; | ||
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'; | ||
import { DismissableLayer } from '@radix-ui/react-dismissable-layer'; | ||
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 +28,7 @@ }; | ||
declare const HoverCard: React.FC<HoverCardProps>; | ||
declare type PrimitiveLinkProps = Radix.ComponentPropsWithoutRef<typeof Primitive.a>; | ||
type PrimitiveLinkProps = React.ComponentPropsWithoutRef<typeof Primitive.a>; | ||
interface HoverCardTriggerProps extends PrimitiveLinkProps { | ||
} | ||
declare const HoverCardTrigger: React.ForwardRefExoticComponent<HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>; | ||
declare type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>; | ||
type PortalProps = React.ComponentPropsWithoutRef<typeof Portal$1>; | ||
interface HoverCardPortalProps { | ||
@@ -56,4 +55,4 @@ children?: React.ReactNode; | ||
declare const HoverCardContent: React.ForwardRefExoticComponent<HoverCardContentProps & React.RefAttributes<HTMLDivElement>>; | ||
declare type DismissableLayerProps = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>; | ||
declare type PopperContentProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>; | ||
type DismissableLayerProps = React.ComponentPropsWithoutRef<typeof DismissableLayer>; | ||
type PopperContentProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>; | ||
interface HoverCardContentImplProps extends Omit<PopperContentProps, 'onPlaced'> { | ||
@@ -82,3 +81,3 @@ /** | ||
} | ||
declare type PopperArrowProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>; | ||
type PopperArrowProps = React.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>; | ||
interface HoverCardArrowProps extends PopperArrowProps { | ||
@@ -85,0 +84,0 @@ } |
{ | ||
"name": "@radix-ui/react-hover-card", | ||
"version": "1.1.0-rc.3", | ||
"version": "1.1.0-rc.4", | ||
"license": "MIT", | ||
@@ -31,11 +31,11 @@ "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-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-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-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-use-controllable-state": "1.1.0-rc.4" | ||
}, | ||
@@ -45,4 +45,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" | ||
}, | ||
@@ -49,0 +49,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
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
76047
639
+ Added@radix-ui/primitive@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-arrow@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-dismissable-layer@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-popper@1.2.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)
+ Added@radix-ui/react-use-rect@1.1.0-rc.4(transitive)
+ Added@radix-ui/react-use-size@1.1.0-rc.4(transitive)
+ Added@radix-ui/rect@1.1.0-rc.4(transitive)
- Removed@radix-ui/primitive@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-arrow@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-dismissable-layer@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-popper@1.2.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)
- Removed@radix-ui/react-use-rect@1.1.0-rc.3(transitive)
- Removed@radix-ui/react-use-size@1.1.0-rc.3(transitive)
- Removed@radix-ui/rect@1.1.0-rc.3(transitive)