@pingux/astro 1.31.0-alpha.10 → 1.31.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -136,7 +136,8 @@ var MenuItem = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
136
136
|
className: classNames,
|
137
137
|
ref: menuItemRef,
|
138
138
|
variant: isSeparator ? 'menuItem.separator' : 'menuItem.item',
|
139
|
-
"data-id": dataId
|
139
|
+
"data-id": dataId,
|
140
|
+
"aria-disabled": isDisabled
|
140
141
|
}, (0, _utils.mergeProps)(pressProps, hoverProps, focusProps, menuItemProps, others)), rendered);
|
141
142
|
});
|
142
143
|
MenuItem.displayName = 'MenuItem';
|
@@ -103,7 +103,8 @@ var MenuItem = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
103
103
|
className: classNames,
|
104
104
|
ref: menuItemRef,
|
105
105
|
variant: isSeparator ? 'menuItem.separator' : 'menuItem.item',
|
106
|
-
"data-id": dataId
|
106
|
+
"data-id": dataId,
|
107
|
+
"aria-disabled": isDisabled
|
107
108
|
}, mergeProps(pressProps, hoverProps, focusProps, menuItemProps, others)), rendered);
|
108
109
|
});
|
109
110
|
MenuItem.displayName = 'MenuItem';
|