@rmwc/menu
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -402,17 +402,16 @@ [ | ||
"open": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Whether or not the Menu is open." | ||
}, | ||
"fixed": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make the menu position fixed." | ||
}, | ||
"onClose": { | ||
"required": false, | ||
"flowType": { | ||
@@ -442,6 +441,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback that when the menu is closed." | ||
}, | ||
"onSelect": { | ||
"required": false, | ||
"flowType": { | ||
@@ -491,6 +490,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback that fires when a Menu item is selected." | ||
}, | ||
"anchorCorner": { | ||
"required": false, | ||
"flowType": { | ||
@@ -534,2 +533,3 @@ "name": "union", | ||
}, | ||
"required": false, | ||
"description": "Manually position the menu to one of the corners." | ||
@@ -859,17 +859,16 @@ } | ||
"open": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Opens the menu." | ||
}, | ||
"fixed": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make the menu position fixed." | ||
}, | ||
"anchorCorner": { | ||
"required": false, | ||
"flowType": { | ||
@@ -913,6 +912,6 @@ "name": "union", | ||
}, | ||
"required": false, | ||
"description": "Manually position the menu to one of the corners." | ||
}, | ||
"onOpen": { | ||
"required": false, | ||
"flowType": { | ||
@@ -942,6 +941,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the menu is opened." | ||
}, | ||
"onClose": { | ||
"required": false, | ||
"flowType": { | ||
@@ -971,6 +970,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the menu is closed." | ||
}, | ||
"children": { | ||
"required": false, | ||
"flowType": { | ||
@@ -980,2 +979,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Children to render." | ||
@@ -996,3 +996,2 @@ } | ||
"handle": { | ||
"required": true, | ||
"flowType": { | ||
@@ -1007,13 +1006,13 @@ "name": "ReactElement", | ||
}, | ||
"required": true, | ||
"description": "An element that will open the menu when clicked" | ||
}, | ||
"rootProps": { | ||
"required": false, | ||
"flowType": { | ||
"name": "Object" | ||
}, | ||
"required": false, | ||
"description": "By default, props spread to the Menu component. These will spread to the MenuSurfaceAnchor which is useful for things like overall positioning of the anchor." | ||
}, | ||
"children": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1023,20 +1022,20 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Children to render" | ||
}, | ||
"open": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Whether or not the Menu is open." | ||
}, | ||
"fixed": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make the menu position fixed." | ||
}, | ||
"onClose": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1066,6 +1065,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback that when the menu is closed." | ||
}, | ||
"onSelect": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1115,6 +1114,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback that fires when a Menu item is selected." | ||
}, | ||
"anchorCorner": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1158,2 +1157,3 @@ "name": "union", | ||
}, | ||
"required": false, | ||
"description": "Manually position the menu to one of the corners." | ||
@@ -1169,3 +1169,2 @@ } | ||
"handle": { | ||
"required": true, | ||
"flowType": { | ||
@@ -1180,13 +1179,13 @@ "name": "ReactElement", | ||
}, | ||
"required": true, | ||
"description": "An element that will open the menu when clicked" | ||
}, | ||
"rootProps": { | ||
"required": false, | ||
"flowType": { | ||
"name": "Object" | ||
}, | ||
"required": false, | ||
"description": "By default, props spread to the Menu component. These will spread to the MenuSurfaceAnchor which is useful for things like overall positioning of the anchor." | ||
}, | ||
"children": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1196,20 +1195,20 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Children to render" | ||
}, | ||
"open": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Opens the menu." | ||
}, | ||
"fixed": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make the menu position fixed." | ||
}, | ||
"anchorCorner": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1253,6 +1252,6 @@ "name": "union", | ||
}, | ||
"required": false, | ||
"description": "Manually position the menu to one of the corners." | ||
}, | ||
"onOpen": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1282,6 +1281,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the menu is opened." | ||
}, | ||
"onClose": { | ||
"required": false, | ||
"flowType": { | ||
@@ -1311,2 +1310,3 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the menu is closed." | ||
@@ -1313,0 +1313,0 @@ } |
{ | ||
"name": "@rmwc/menu", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "RMWC Menu component", | ||
@@ -32,4 +32,4 @@ "main": "index.js", | ||
"@rmwc/base": "^2.0.2", | ||
"@rmwc/list": "^2.0.2" | ||
"@rmwc/list": "^2.1.0" | ||
} | ||
} |
Updated@rmwc/list@^2.1.0