@openeuropa/bcl-navigation 0.23.0 → 0.24.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.
@@ -2,6 +2,7 @@
2
2
  {% spaceless %}
3
3
 
4
4
  {# Parameters:
5
+ - id (string) (default: '')
5
6
  - pills (boolean) (default: false)
6
7
  - tabs (boolean) (default: false) - If tabs is set to true, the nav should also be set to true for accessibility reasons
7
8
  - vertical (boolean) (default: false)
@@ -21,6 +22,7 @@
21
22
  - navigation (navigation Object) - set for multiple level or navigation, items inside is required
22
23
  }
23
24
  ]
25
+ - attributes (drupal attrs)
24
26
  #}
25
27
 
26
28
  {# Define main macro #}
@@ -28,12 +30,12 @@
28
30
  {% spaceless %}
29
31
  {% import _self as navigation %}
30
32
 
33
+ {% set _id = id|default('') %}
31
34
  {% set _pills = pills|default(false) %}
32
35
  {% set _tabs = tabs|default(false) %}
33
36
  {% set _vertical = vertical|default(false) %}
34
37
  {% set _full_width = full_width|default(false) %}
35
38
  {% set _alignment = alignment|default('') %}
36
- {% set _id = id|default('') %}
37
39
  {% set _tabs_content = tabs_content|default(false) %}
38
40
  {% set _nav = nav|default(false) %}
39
41
  {% set _navbar = navbar|default(false) %}
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.23.0",
5
+ "version": "0.24.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "description": "OE - BCL navigation",
10
10
  "dependencies": {
11
- "@openeuropa/bcl-button": "^0.23.0",
12
- "@openeuropa/bcl-dropdown": "^0.23.0",
13
- "@openeuropa/bcl-link": "^0.23.0"
11
+ "@openeuropa/bcl-button": "^0.24.0",
12
+ "@openeuropa/bcl-dropdown": "^0.24.0",
13
+ "@openeuropa/bcl-link": "^0.24.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": "fa2097e14024989cddf6f9cd7a9115bed5886aeb"
29
+ "gitHead": "a46bb6bc12771da4667516dc7b0665b00504ade2"
30
30
  }