Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@radix-ui/react-navigation-menu

Package Overview
Dependencies
Maintainers
6
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.2.1 to 1.2.2-rc.1

22

dist/index.d.ts

@@ -0,1 +1,3 @@

import * as _radix_ui_react_context from '@radix-ui/react-context';
import { Scope } from '@radix-ui/react-context';
import * as React from 'react';

@@ -5,18 +7,6 @@ import { Primitive } from '@radix-ui/react-primitive';

import * as VisuallyHiddenPrimitive from '@radix-ui/react-visually-hidden';
import { Scope as Scope$1 } from '@radix-ui/react-context';
type Scope<C = any> = {
[scopeName: string]: React.Context<C>[];
} | undefined;
type ScopeHook = (scope: Scope) => {
[__scopeProp: string]: Scope;
};
interface CreateScope {
scopeName: string;
(): ScopeHook;
}
type Orientation = 'vertical' | 'horizontal';
type Direction = 'ltr' | 'rtl';
declare const createNavigationMenuScope: CreateScope;
declare const createNavigationMenuScope: _radix_ui_react_context.CreateScope;
type NavigationMenuElement = React.ElementRef<typeof Primitive.nav>;

@@ -52,3 +42,3 @@ type PrimitiveNavProps = React.ComponentPropsWithoutRef<typeof Primitive.nav>;

isRootMenu: boolean;
scope: Scope$1;
scope: Scope;
children: React.ReactNode;

@@ -110,4 +100,4 @@ orientation: Orientation;

value: string;
triggerRef: React.RefObject<NavigationMenuTriggerElement>;
focusProxyRef: React.RefObject<FocusProxyElement>;
triggerRef: React.RefObject<NavigationMenuTriggerElement | null>;
focusProxyRef: React.RefObject<FocusProxyElement | null>;
wasEscapeCloseRef: React.MutableRefObject<boolean>;

@@ -114,0 +104,0 @@ onContentFocusOutside(): void;

{
"name": "@radix-ui/react-navigation-menu",
"version": "1.2.1",
"version": "1.2.2-rc.1",
"license": "MIT",

@@ -31,11 +31,11 @@ "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-direction": "1.1.0",
"@radix-ui/react-dismissable-layer": "1.1.1",
"@radix-ui/react-dismissable-layer": "1.1.2-rc.1",
"@radix-ui/react-id": "1.1.0",
"@radix-ui/react-presence": "1.1.1",
"@radix-ui/react-primitive": "2.0.0",
"@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",

@@ -45,3 +45,3 @@ "@radix-ui/react-use-controllable-state": "1.1.0",

"@radix-ui/react-use-previous": "1.1.0",
"@radix-ui/react-visually-hidden": "1.1.0"
"@radix-ui/react-visually-hidden": "1.1.1-rc.1"
},

@@ -69,3 +69,4 @@ "peerDependencies": {

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc