Socket
Socket
Sign inDemoInstall

@react-types/menu

Package Overview
Dependencies
Maintainers
1
Versions
757
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/menu - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

8

package.json
{
"name": "@react-types/menu",
"version": "3.0.1",
"version": "3.0.2",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-types/overlays": "^3.0.1",
"@react-types/shared": "^3.0.1"
"@react-types/overlays": "^3.0.2",
"@react-types/shared": "^3.0.2"
},

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

},
"gitHead": "ac0b7a7ba0edccd1c9ab4f849022ad6d2ccd19ed"
"gitHead": "05003506f02a0ec173f3448f1801cbdf12b47bc7"
}

@@ -19,11 +19,20 @@ /*

// trigger?: 'press' | 'longPress',
/** Where the Menu aligns with its trigger. */
/**
* Alignment of the menu relative to the trigger.
* @default 'start'
*/
align?: Alignment,
/** Where the Menu opens relative to its trigger. */
/**
* Where the Menu opens relative to its trigger.
* @default 'bottom'
*/
direction?: 'bottom' | 'top',
/** Whether the Menu closes when a selection is made. */
/**
* Whether the Menu closes when a selection is made.
* @default true
*/
closeOnSelect?: boolean,
/**
* Whether the element should flip its orientation when there is insufficient
* space for it to render within the view.
* Whether the menu should automatically flip direction when space is limited.
* @default true
*/

@@ -35,4 +44,3 @@ shouldFlip?: boolean

/**
* The contents of the MenuTrigger, a trigger and a Menu. See the MenuTrigger
* [Content section](#content) for more information on what to provide as children.
* The contents of the MenuTrigger - a trigger and a Menu.
*/

@@ -39,0 +47,0 @@ children: ReactElement[]

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