New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@radix-ui/react-menu

Package Overview
Dependencies
Maintainers
6
Versions
291
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
0.1.7-rc.4

4

dist/index.d.ts

@@ -12,2 +12,3 @@ import * as React from "react";

export interface MenuProps {
children?: React.ReactNode;
open?: boolean;

@@ -17,9 +18,8 @@ onOpenChange?(open: boolean): void;

modal?: boolean;
children?: React.ReactNode;
}
export const Menu: React.FC<MenuProps>;
export interface MenuSubProps {
children?: React.ReactNode;
open?: boolean;
onOpenChange?(open: boolean): void;
children?: React.ReactNode;
}

@@ -26,0 +26,0 @@ export const MenuSub: React.FC<MenuSubProps>;

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

@@ -21,16 +21,16 @@ "source": "src/index.ts",

"@radix-ui/primitive": "0.1.0",
"@radix-ui/react-collection": "0.1.4",
"@radix-ui/react-compose-refs": "0.1.0",
"@radix-ui/react-context": "0.1.1",
"@radix-ui/react-direction": "0.1.0-rc.3",
"@radix-ui/react-dismissable-layer": "0.1.5",
"@radix-ui/react-focus-guards": "0.1.0",
"@radix-ui/react-focus-scope": "0.1.4",
"@radix-ui/react-id": "0.1.5",
"@radix-ui/react-popper": "0.1.4",
"@radix-ui/react-portal": "0.1.4",
"@radix-ui/react-presence": "0.1.2",
"@radix-ui/react-primitive": "0.1.4",
"@radix-ui/react-roving-focus": "0.1.6-rc.3",
"@radix-ui/react-use-callback-ref": "0.1.0",
"@radix-ui/react-collection": "0.1.5-rc.1",
"@radix-ui/react-compose-refs": "0.1.1-rc.1",
"@radix-ui/react-context": "0.1.2-rc.1",
"@radix-ui/react-direction": "0.1.0-rc.4",
"@radix-ui/react-dismissable-layer": "0.1.6-rc.1",
"@radix-ui/react-focus-guards": "0.1.1-rc.1",
"@radix-ui/react-focus-scope": "0.1.5-rc.1",
"@radix-ui/react-id": "0.1.6-rc.1",
"@radix-ui/react-popper": "0.1.5-rc.1",
"@radix-ui/react-portal": "0.1.5-rc.1",
"@radix-ui/react-presence": "0.1.3-rc.1",
"@radix-ui/react-primitive": "0.1.5-rc.1",
"@radix-ui/react-roving-focus": "0.1.6-rc.4",
"@radix-ui/react-use-callback-ref": "0.1.1-rc.1",
"aria-hidden": "^1.1.1",

@@ -40,4 +40,4 @@ "react-remove-scroll": "^2.4.0"

"peerDependencies": {
"react": "^16.8 || ^17.0",
"react-dom": "^16.8 || ^17.0"
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
},

@@ -44,0 +44,0 @@ "homepage": "https://radix-ui.com/primitives",

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