@openeuropa/bcl-navbar 0.15.0 → 0.16.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.
Files changed (2) hide show
  1. package/navbar.html.twig +22 -20
  2. package/package.json +4 -4
package/navbar.html.twig CHANGED
@@ -45,26 +45,28 @@
45
45
  {{ attributes }}
46
46
  >
47
47
  <div class='container'>
48
- {% if _brand is not empty %}
49
- <a class='navbar-brand' href='{{ _brand.link }}'>
50
- {%- if _brand.label is defined -%}
51
- {{- _brand.label -}}
52
- {%- else -%}
53
- {% for logo in _brand.logos %}
54
- <img
55
- src='{{ logo.src }}'
56
- {% if logo.alt is not empty %}
57
- alt='{{ logo.alt }}'
58
- {% endif %}
59
- {% if logo.class is not empty %}
60
- class='{{ logo.class }}'
61
- {% endif %}
62
- />
63
- {% endfor %}
64
- {%- endif -%}
65
- </a>
66
- {% endif %}
67
- {% if not _disable_collapse %}
48
+ {% if _brand is not empty %}
49
+ <a class='navbar-brand' href='{{ _brand.link }}'>
50
+ {% for logo in _brand.logos %}
51
+ <img
52
+ src='{{ logo.src }}'
53
+ {% if logo.alt is not empty %}
54
+ alt='{{ logo.alt }}'
55
+ {% endif %}
56
+ {% if logo.class is not empty %}
57
+ class='{{ logo.class }}'
58
+ {% endif %}
59
+ />
60
+ {% endfor %}
61
+ {%- if _brand.label is defined -%}
62
+ <div class="h5 ms-4-5 d-none d-lg-inline-block">
63
+ {{- _brand.label -}}
64
+ </div>
65
+ {% endif %}
66
+ </a>
67
+ {% endif %}
68
+
69
+ {% if not _disable_collapse %}
68
70
  <button
69
71
  class='navbar-toggler'
70
72
  type='button'
package/package.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "name": "@openeuropa/bcl-navbar",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.15.0",
5
+ "version": "0.16.0",
6
6
  "dependencies": {
7
- "@openeuropa/bcl-form": "^0.15.0",
8
- "@openeuropa/bcl-navigation": "^0.15.0"
7
+ "@openeuropa/bcl-form": "^0.16.0",
8
+ "@openeuropa/bcl-navigation": "^0.16.0"
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public"
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "97a9f0822ee0d4d800e40aa17bf87dc698c5906c"
28
+ "gitHead": "39a52d25c36789a0c4712b0f6e55cbc5cbbedcb5"
29
29
  }