@react-types/menu
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"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[] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53
14089
Updated@react-types/overlays@^3.0.2
Updated@react-types/shared@^3.0.2