@rmwc/menu
Advanced tools
Comparing version 5.3.0 to 5.3.1
{ | ||
"name": "@rmwc/menu", | ||
"version": "5.3.0", | ||
"version": "5.3.1", | ||
"description": "RMWC Menu component", | ||
@@ -37,7 +37,7 @@ "main": "dist/index.js", | ||
"@material/menu-surface": "^1.0.0", | ||
"@rmwc/base": "^5.3.0", | ||
"@rmwc/list": "^5.3.0", | ||
"@rmwc/types": "^5.3.0" | ||
"@rmwc/base": "^5.3.1", | ||
"@rmwc/list": "^5.3.1", | ||
"@rmwc/types": "^5.3.1" | ||
}, | ||
"gitHead": "7089eb6d09818041945a82bf8df9e92e66cecc50" | ||
"gitHead": "5ae98ed32a2827431980ce949d5c95078ea9e3c9" | ||
} |
@@ -140,3 +140,3 @@ # Menus | ||
## Menu | ||
Menu | ||
A menu component for displaying lists items. | ||
@@ -158,4 +158,14 @@ ### Props | ||
## MenuItem | ||
This is just the ListItem component exported from the Menu module for convenience. You can use `ListItem` or `SimpleListItem` components from the List section as long as you add `role="menuitem"` and `tabIndex="0"` to the components for accessibility. | ||
### Props | ||
| Name | Type | Description | | ||
|------|------|-------------| | ||
| `activated` | `undefined | false | true` | A modifier for an active state. | | ||
| `disabled` | `undefined | false | true` | A modifier for a disabled state. | | ||
| `ripple` | `RipplePropT` | Adds a ripple effect to the component | | ||
| `selected` | `undefined | false | true` | A modifier for a selected state. | | ||
## | ||
@@ -168,3 +178,3 @@ | ||
## SimpleMenu | ||
Simple Menu | ||
A Simplified menu component that allows you to pass a handle element and will automatically control the open state and add a MenuSurfaceAnchor | ||
@@ -188,3 +198,3 @@ ### Props | ||
## SimpleMenu | ||
Simple Menu | ||
A Simplified menu component that allows you to pass a handle element and will automatically control the open state and add a MenuSurfaceAnchor | ||
@@ -191,0 +201,0 @@ ### Props |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
743210
15453
213
0
Updated@rmwc/base@^5.3.1
Updated@rmwc/list@^5.3.1
Updated@rmwc/types@^5.3.1