@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 CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  - ... <!-- Add new lines here. -->
6
6
 
7
+ ## 0.10.167
8
+
9
+ _2026-02-17_
10
+
11
+ - `MainMenu2`:
12
+ - fix: Delete `console.log()` noise when rendering button items
13
+
7
14
  ## 0.10.166
8
15
 
9
16
  _2026-02-16_
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: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reykjavik/hanna-react",
3
- "version": "0.10.166",
3
+ "version": "0.10.167",
4
4
  "author": "Reykjavík (http://www.reykjavik.is)",
5
5
  "contributors": [
6
6
  "Hugsmiðjan ehf (http://www.hugsmidjan.is)",