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

@react-aria/menu

Package Overview
Dependencies
Maintainers
1
Versions
775
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/menu - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

6

dist/main.js

@@ -179,2 +179,8 @@ var {

let onKeyDown = e => {
// Ignore repeating events, which may have started on the menu trigger before moving
// focus to the menu item. We want to wait for a second complete key press sequence.
if (e.repeat) {
return;
}
switch (e.key) {

@@ -181,0 +187,0 @@ case ' ':

@@ -152,2 +152,8 @@ import { isFocusVisible, useHover, usePress } from "@react-aria/interactions";

let onKeyDown = e => {
// Ignore repeating events, which may have started on the menu trigger before moving
// focus to the menu item. We want to wait for a second complete key press sequence.
if (e.repeat) {
return;
}
switch (e.key) {

@@ -154,0 +160,0 @@ case ' ':

22

package.json
{
"name": "@react-aria/menu",
"version": "3.1.0",
"version": "3.1.1",
"description": "Spectrum UI components in React",

@@ -21,12 +21,12 @@ "license": "Apache-2.0",

"@babel/runtime": "^7.6.2",
"@react-aria/interactions": "^3.1.0",
"@react-aria/overlays": "^3.1.0",
"@react-aria/selection": "^3.1.0",
"@react-aria/utils": "^3.1.0",
"@react-stately/collections": "^3.1.0",
"@react-stately/menu": "^3.1.0",
"@react-stately/tree": "^3.1.0",
"@react-types/button": "^3.1.0",
"@react-aria/interactions": "^3.2.0",
"@react-aria/overlays": "^3.2.0",
"@react-aria/selection": "^3.2.0",
"@react-aria/utils": "^3.2.0",
"@react-stately/collections": "^3.2.0",
"@react-stately/menu": "^3.2.0",
"@react-stately/tree": "^3.1.1",
"@react-types/button": "^3.2.0",
"@react-types/menu": "^3.1.0",
"@react-types/shared": "^3.1.0"
"@react-types/shared": "^3.2.0"
},

@@ -39,3 +39,3 @@ "peerDependencies": {

},
"gitHead": "211099972fe75ee581892efd01a7f89dfb9cdf69"
"gitHead": "661f0f2e3b8648a75aae83043267954700059fe0"
}

@@ -108,3 +108,9 @@ /*

let onKeyDown = (e) => {
let onKeyDown = (e: KeyboardEvent) => {
// Ignore repeating events, which may have started on the menu trigger before moving
// focus to the menu item. We want to wait for a second complete key press sequence.
if (e.repeat) {
return;
}
switch (e.key) {

@@ -111,0 +117,0 @@ case ' ':

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