@reykjavik/hanna-react 0.10.115 → 0.10.116

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,12 @@
4
4
 
5
5
  - ... <!-- Add new lines here. -->
6
6
 
7
+ ## 0.10.116
8
+
9
+ _2024-01-10_
10
+
11
+ - feat: Remove `MainMenu2` toggler's hard-coded icon
12
+
7
13
  ## 0.10.115
8
14
 
9
15
  _2024-01-09_
package/MainMenu2.js CHANGED
@@ -200,14 +200,12 @@ const MainMenu2 = (props) => {
200
200
  'aria-label': txt.closeMenuLong,
201
201
  title: txt.closeMenuLong,
202
202
  children: txt.closeMenu,
203
- 'data-icon': 'text',
204
203
  }
205
204
  : {
206
205
  onClick: openMenu,
207
206
  'aria-label': txt.openMenuLong,
208
207
  title: txt.openMenuLong,
209
208
  children: txt.openMenu,
210
- 'data-icon': 'close',
211
209
  })))) : (react_1.default.createElement(ButtonPrimary_js_1.default, { className: "MainMenu2__toggler", size: "small", href: `#${menuId}`, onClick: a11yHelpers_js_1.handleAnchorLinkClick, "aria-hidden": "true", "data-icon": "text" }, txt.title)),
212
210
  mainItems && (react_1.default.createElement("div", { className: (0, classUtils_1.modifiedClass)('MainMenu2__main', activeSubmenu < 0 && 'noneActive') },
213
211
  renderItem('MainMenu2__main__', homeLinkItem, { Tag: 'div' }),
package/esm/MainMenu2.js CHANGED
@@ -196,14 +196,12 @@ export const MainMenu2 = (props) => {
196
196
  'aria-label': txt.closeMenuLong,
197
197
  title: txt.closeMenuLong,
198
198
  children: txt.closeMenu,
199
- 'data-icon': 'text',
200
199
  }
201
200
  : {
202
201
  onClick: openMenu,
203
202
  'aria-label': txt.openMenuLong,
204
203
  title: txt.openMenuLong,
205
204
  children: txt.openMenu,
206
- 'data-icon': 'close',
207
205
  })))) : (React.createElement(ButtonPrimary, { className: "MainMenu2__toggler", size: "small", href: `#${menuId}`, onClick: handleAnchorLinkClick, "aria-hidden": "true", "data-icon": "text" }, txt.title)),
208
206
  mainItems && (React.createElement("div", { className: modifiedClass('MainMenu2__main', activeSubmenu < 0 && 'noneActive') },
209
207
  renderItem('MainMenu2__main__', homeLinkItem, { Tag: 'div' }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reykjavik/hanna-react",
3
- "version": "0.10.115",
3
+ "version": "0.10.116",
4
4
  "author": "Reykjavík (http://www.reykjavik.is)",
5
5
  "contributors": [
6
6
  "Hugsmiðjan ehf (http://www.hugsmidjan.is)",