@openeuropa/bcl-navigation 0.25.0 → 0.27.0
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/navigation.html.twig +5 -5
- package/package.json +5 -5
package/navigation.html.twig
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% import _self as navigation %}
|
|
2
|
-
{% spaceless %}
|
|
2
|
+
{% apply spaceless %}
|
|
3
3
|
|
|
4
4
|
{# Parameters:
|
|
5
5
|
- id (string) (default: '')
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
{# Define main macro #}
|
|
29
29
|
{% macro render(items, pills, tabs, tabs_content, vertical, full_width, alignment, id, nav, navbar, attributes) %}
|
|
30
|
-
{% spaceless %}
|
|
30
|
+
{% apply spaceless %}
|
|
31
31
|
{% import _self as navigation %}
|
|
32
32
|
|
|
33
33
|
{% set _id = id|default('') %}
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
role="tab"
|
|
115
115
|
{% endif %}
|
|
116
116
|
>
|
|
117
|
-
{% elseif _tabs %}
|
|
117
|
+
{% elseif _tabs and _item.dropdown is not defined %}
|
|
118
118
|
{% set _item = _item|merge({
|
|
119
119
|
attributes: _item.attributes.setAttribute("role", "tab"),
|
|
120
120
|
})
|
|
@@ -171,9 +171,9 @@
|
|
|
171
171
|
{%- endblock -%}
|
|
172
172
|
</div>
|
|
173
173
|
{% endif %}
|
|
174
|
-
{%
|
|
174
|
+
{% endapply %}
|
|
175
175
|
{% endmacro %}
|
|
176
176
|
|
|
177
177
|
{{ navigation.render(items, pills, tabs, tabs_content, vertical, full_width, alignment, id, nav, navbar, attributes) }}
|
|
178
178
|
|
|
179
|
-
{%
|
|
179
|
+
{% endapply %}
|
package/package.json
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-navigation",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.27.0",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"description": "OE - BCL navigation",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-button": "^0.
|
|
12
|
-
"@openeuropa/bcl-dropdown": "^0.
|
|
13
|
-
"@openeuropa/bcl-link": "^0.
|
|
11
|
+
"@openeuropa/bcl-button": "^0.27.0",
|
|
12
|
+
"@openeuropa/bcl-dropdown": "^0.27.0",
|
|
13
|
+
"@openeuropa/bcl-link": "^0.27.0"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"design-system",
|
|
27
27
|
"twig"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "1ab38cd93a2d4c52119fcc6a2f7cc56ceaa95dbf"
|
|
30
30
|
}
|