@openeuropa/bcl-navigation 1.10.5 → 1.10.7

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.
@@ -91,7 +91,7 @@
91
91
  {% set _nav_class = _nav_class ~ ' dropdown' %}
92
92
  {% set _item = _item|merge({remove_wrapper: true}) %}
93
93
  {% endif %}
94
- {% if _item.dropdown %}
94
+ {% if _item.dropdown or _item.mega_menu %}
95
95
  {% set _item_classes = [] %}
96
96
  {% else %}
97
97
  {% set _item_classes = ['nav-link'] %}
@@ -124,6 +124,8 @@
124
124
  {% include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _item only %}
125
125
  {% elseif _item.button is defined %}
126
126
  {% include '@oe-bcl/bcl-button/button.html.twig' with _item only %}
127
+ {% elseif _item.mega_menu is defined %}
128
+ {% include '@oe-bcl/bcl-mega-menu/mega-menu.html.twig' with _item only %}
127
129
  {% else %}
128
130
  {% include '@oe-bcl/bcl-link/link.html.twig' with _item only %}
129
131
  {% endif %}
package/package.json CHANGED
@@ -2,15 +2,16 @@
2
2
  "name": "@openeuropa/bcl-navigation",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "1.10.5",
5
+ "version": "1.10.7",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "description": "OE - BCL navigation",
10
10
  "dependencies": {
11
- "@openeuropa/bcl-button": "^1.10.5",
12
- "@openeuropa/bcl-dropdown": "^1.10.5",
13
- "@openeuropa/bcl-link": "^1.10.5"
11
+ "@openeuropa/bcl-button": "^1.10.7",
12
+ "@openeuropa/bcl-dropdown": "^1.10.7",
13
+ "@openeuropa/bcl-link": "^1.10.7",
14
+ "@openeuropa/bcl-mega-menu": "^1.10.7"
14
15
  },
15
16
  "repository": {
16
17
  "type": "git",
@@ -26,5 +27,5 @@
26
27
  "design-system",
27
28
  "twig"
28
29
  ],
29
- "gitHead": "917b95d7bf149e937571d1d6040fb1cf6405755b"
30
+ "gitHead": "5f7e5c2fd90eceb81c0ffcf52dcf8e3921c3acae"
30
31
  }