@radix-ui/react-toast
Advanced tools
Comparing version 1.2.2 to 1.2.3-rc.1
@@ -0,1 +1,2 @@ | ||
import * as _radix_ui_react_context from '@radix-ui/react-context'; | ||
import * as React from 'react'; | ||
@@ -5,15 +6,4 @@ import * as DismissableLayer from '@radix-ui/react-dismissable-layer'; | ||
type Scope<C = any> = { | ||
[scopeName: string]: React.Context<C>[]; | ||
} | undefined; | ||
type ScopeHook = (scope: Scope) => { | ||
[__scopeProp: string]: Scope; | ||
}; | ||
interface CreateScope { | ||
scopeName: string; | ||
(): ScopeHook; | ||
} | ||
type SwipeDirection = 'up' | 'down' | 'left' | 'right'; | ||
declare const createToastScope: CreateScope; | ||
declare const createToastScope: _radix_ui_react_context.CreateScope; | ||
interface ToastProviderProps { | ||
@@ -20,0 +10,0 @@ children?: React.ReactNode; |
{ | ||
"name": "@radix-ui/react-toast", | ||
"version": "1.2.2", | ||
"version": "1.2.3-rc.1", | ||
"license": "MIT", | ||
@@ -31,14 +31,14 @@ "exports": { | ||
"dependencies": { | ||
"@radix-ui/primitive": "1.1.0", | ||
"@radix-ui/react-collection": "1.1.0", | ||
"@radix-ui/react-compose-refs": "1.1.0", | ||
"@radix-ui/primitive": "1.1.1-rc.1", | ||
"@radix-ui/react-collection": "1.1.1-rc.1", | ||
"@radix-ui/react-compose-refs": "1.1.1-rc.1", | ||
"@radix-ui/react-context": "1.1.1", | ||
"@radix-ui/react-dismissable-layer": "1.1.1", | ||
"@radix-ui/react-portal": "1.1.2", | ||
"@radix-ui/react-presence": "1.1.1", | ||
"@radix-ui/react-primitive": "2.0.0", | ||
"@radix-ui/react-dismissable-layer": "1.1.2-rc.1", | ||
"@radix-ui/react-portal": "1.1.3-rc.1", | ||
"@radix-ui/react-presence": "1.1.2-rc.1", | ||
"@radix-ui/react-primitive": "2.0.1-rc.1", | ||
"@radix-ui/react-use-callback-ref": "1.1.0", | ||
"@radix-ui/react-use-controllable-state": "1.1.0", | ||
"@radix-ui/react-use-layout-effect": "1.1.0", | ||
"@radix-ui/react-visually-hidden": "1.1.0" | ||
"@radix-ui/react-visually-hidden": "1.1.1-rc.1" | ||
}, | ||
@@ -66,3 +66,4 @@ "peerDependencies": { | ||
"url": "https://github.com/radix-ui/primitives/issues" | ||
} | ||
}, | ||
"stableVersion": "1.2.2" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
179541
1447
1
0
+ Added@radix-ui/primitive@1.1.1-rc.1(transitive)
+ Added@radix-ui/react-collection@1.1.1-rc.1(transitive)
+ Added@radix-ui/react-compose-refs@1.1.1-rc.1(transitive)
+ Added@radix-ui/react-dismissable-layer@1.1.2-rc.1(transitive)
+ Added@radix-ui/react-portal@1.1.3-rc.1(transitive)
+ Added@radix-ui/react-presence@1.1.2-rc.1(transitive)
+ Added@radix-ui/react-primitive@2.0.1-rc.1(transitive)
+ Added@radix-ui/react-slot@1.1.1-rc.1(transitive)
+ Added@radix-ui/react-visually-hidden@1.1.1-rc.1(transitive)
- Removed@radix-ui/primitive@1.1.0(transitive)
- Removed@radix-ui/react-collection@1.1.0(transitive)
- Removed@radix-ui/react-compose-refs@1.1.0(transitive)
- Removed@radix-ui/react-context@1.1.0(transitive)
- Removed@radix-ui/react-dismissable-layer@1.1.1(transitive)
- Removed@radix-ui/react-portal@1.1.2(transitive)
- Removed@radix-ui/react-presence@1.1.1(transitive)
- Removed@radix-ui/react-primitive@2.0.0(transitive)
- Removed@radix-ui/react-slot@1.1.0(transitive)
- Removed@radix-ui/react-visually-hidden@1.1.0(transitive)