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

@radix-ui/react-dropdown-menu

Package Overview
Dependencies
Maintainers
6
Versions
290
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version

to
2.1.3-rc.1

14

dist/index.d.ts

@@ -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 { Primitive } from '@radix-ui/react-primitive';

type Scope<C = any> = {
[scopeName: string]: React.Context<C>[];
} | undefined;
type ScopeHook = (scope: Scope) => {
[__scopeProp: string]: Scope;
};
interface CreateScope {
scopeName: string;
(): ScopeHook;
}
type Direction = 'ltr' | 'rtl';
declare const createDropdownMenuScope: CreateScope;
declare const createDropdownMenuScope: _radix_ui_react_context.CreateScope;
interface DropdownMenuProps {

@@ -20,0 +10,0 @@ children?: React.ReactNode;

13

package.json
{
"name": "@radix-ui/react-dropdown-menu",
"version": "2.1.2",
"version": "2.1.3-rc.1",
"license": "MIT",

@@ -31,8 +31,8 @@ "exports": {

"dependencies": {
"@radix-ui/primitive": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
"@radix-ui/primitive": "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-id": "1.1.0",
"@radix-ui/react-menu": "2.1.2",
"@radix-ui/react-primitive": "2.0.0",
"@radix-ui/react-menu": "2.1.3-rc.1",
"@radix-ui/react-primitive": "2.0.1-rc.1",
"@radix-ui/react-use-controllable-state": "1.1.0"

@@ -61,3 +61,4 @@ },

"url": "https://github.com/radix-ui/primitives/issues"
}
},
"stableVersion": "2.1.2"
}

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