@eui/tools 6.21.45 → 6.21.46

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.
@@ -1 +1 @@
1
- 6.21.45
1
+ 6.21.46
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.46 (2025-03-05)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * folio icon not showing up on route replacements for older MWP host version - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([e802dccc](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/e802dcccb2d251ffb912a23bb4c3ab6d0704696c))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.45 (2025-03-04)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.45",
3
+ "version": "6.21.46",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -584,10 +584,13 @@ const generateLinks = (project, routes, envTargetFinal) => {
584
584
  routeDef.alwaysDisplayed = link.alwaysDisplayed;
585
585
  }
586
586
 
587
+ // temporary fix during v17 / v19 host transition (as the exception that folio is using iconSvgName (custom icon) in v17 already)
587
588
  if (parseInt(euiVersion) >= 18) {
588
589
  delete routeDef['iconClass'];
589
590
  } else {
590
- delete routeDef['iconSvgName'];
591
+ if (routeDef.url !== '/folio-fo/home') {
592
+ delete routeDef['iconSvgName'];
593
+ }
591
594
  }
592
595
 
593
596
  return;