@deque/cauldron-react 6.18.2 → 6.18.3
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.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5062,7 +5062,7 @@ var ActionListLinkItem = React.forwardRef(function (_a, ref) {
|
|
|
5062
5062
|
}
|
|
5063
5063
|
return undefined;
|
|
5064
5064
|
}, [contextRole]);
|
|
5065
|
-
return (React__default["default"].createElement(ActionListItem, tslib.__assign({ key: key, ref: ref, className: classNames__default["default"]('Link ActionListLinkItem', className), as: "a", role: listItemRole }, props)));
|
|
5065
|
+
return (React__default["default"].createElement(ActionListItem, tslib.__assign({ key: key, ref: ref, className: classNames__default["default"]('Link ActionListLinkItem', className), as: "a", role: listItemRole, tabIndex: listItemRole === 'menuitem' ? -1 : undefined }, props)));
|
|
5066
5066
|
});
|
|
5067
5067
|
ActionListLinkItem.displayName = 'ActionListLinkItem';
|
|
5068
5068
|
|