@deque/cauldron-react 6.20.2-canary.21f5a6da → 6.20.2-canary.69d3e215
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 +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -5056,10 +5056,10 @@ var ActionListSeparator = React.forwardRef(function (_a, ref) {
|
|
|
5056
5056
|
ActionListSeparator.displayName = 'ActionListSeparator';
|
|
5057
5057
|
|
|
5058
5058
|
var ActionListLinkItem = React.forwardRef(function (_a, ref) {
|
|
5059
|
-
var className = _a.className;
|
|
5059
|
+
var key = _a.key, className = _a.className;
|
|
5060
5060
|
// ActionListLinkItem should not be able to be "selected"
|
|
5061
5061
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5062
|
-
_a.selected; var props = tslib.__rest(_a, ["className", "selected"]);
|
|
5062
|
+
_a.selected; var props = tslib.__rest(_a, ["key", "className", "selected"]);
|
|
5063
5063
|
var contextRole = useActionListContext().role;
|
|
5064
5064
|
var listItemRole = React.useMemo(function () {
|
|
5065
5065
|
if (contextRole === 'menu') {
|
|
@@ -5071,7 +5071,7 @@ var ActionListLinkItem = React.forwardRef(function (_a, ref) {
|
|
|
5071
5071
|
}
|
|
5072
5072
|
return undefined;
|
|
5073
5073
|
}, [contextRole]);
|
|
5074
|
-
return (React__default["default"].createElement(ActionListItem, tslib.__assign({ ref: ref, className: classNames__default["default"]('Link ActionListLinkItem', className), as: "a", role: listItemRole, tabIndex: listItemRole === 'menuitem' ? -1 : undefined }, props)));
|
|
5074
|
+
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)));
|
|
5075
5075
|
});
|
|
5076
5076
|
ActionListLinkItem.displayName = 'ActionListLinkItem';
|
|
5077
5077
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deque/cauldron-react",
|
|
3
|
-
"version": "6.20.2-canary.
|
|
3
|
+
"version": "6.20.2-canary.69d3e215",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Fully accessible react components library for Deque Cauldron",
|
|
6
6
|
"homepage": "https://cauldron.dequelabs.com/",
|