@reykjavik/hanna-react 0.10.166 → 0.10.167
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/CHANGELOG.md +7 -0
- package/MainMenu2.js +0 -3
- package/esm/MainMenu2.js +0 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/MainMenu2.js
CHANGED
|
@@ -89,9 +89,6 @@ const getRenderers = (props) => {
|
|
|
89
89
|
title: labelLong,
|
|
90
90
|
lang,
|
|
91
91
|
};
|
|
92
|
-
if (button) {
|
|
93
|
-
console.log('Rendering button for menu item:', commonProps);
|
|
94
|
-
}
|
|
95
92
|
const buttonCompProps = button ? { size: 'small' } : undefined;
|
|
96
93
|
const doRenderButton = isBrowser && (onClick || (onItemClick && href == null));
|
|
97
94
|
return (react_1.default.createElement(Tag, { key: key, className: (0, hanna_utils_1.modifiedClass)(`${classPrefix}item`, item.modifier), "aria-current": item.current || undefined }, doRenderButton ? (react_1.default.createElement(ButtonTag, Object.assign({}, commonProps, { type: "button", "aria-controls": controlsId, onClick: () => {
|
package/esm/MainMenu2.js
CHANGED
|
@@ -85,9 +85,6 @@ const getRenderers = (props) => {
|
|
|
85
85
|
title: labelLong,
|
|
86
86
|
lang,
|
|
87
87
|
};
|
|
88
|
-
if (button) {
|
|
89
|
-
console.log('Rendering button for menu item:', commonProps);
|
|
90
|
-
}
|
|
91
88
|
const buttonCompProps = button ? { size: 'small' } : undefined;
|
|
92
89
|
const doRenderButton = isBrowser && (onClick || (onItemClick && href == null));
|
|
93
90
|
return (React.createElement(Tag, { key: key, className: modifiedClass(`${classPrefix}item`, item.modifier), "aria-current": item.current || undefined }, doRenderButton ? (React.createElement(ButtonTag, Object.assign({}, commonProps, { type: "button", "aria-controls": controlsId, onClick: () => {
|