@openeuropa/bcl-alert 0.14.0 → 0.18.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/alert.html.twig +4 -0
  2. package/package.json +2 -2
package/alert.html.twig CHANGED
@@ -37,6 +37,10 @@
37
37
  {% set _classes = _classes|merge(['fade', 'show']) %}
38
38
  {% endif %}
39
39
 
40
+ {% if attributes is empty %}
41
+ {% set attributes = create_attribute() %}
42
+ {% endif %}
43
+
40
44
  {% set attributes = attributes.addClass(_classes).setAttribute('role', 'alert') %}
41
45
 
42
46
  <div {{ attributes }}>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-alert",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.14.0",
5
+ "version": "0.18.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -21,5 +21,5 @@
21
21
  "design-system",
22
22
  "twig"
23
23
  ],
24
- "gitHead": "b91fc0b466f8a604eda1cfd519f3be4cbbc75324"
24
+ "gitHead": "a82834df6dff563a956a79bf2899c92742dd5820"
25
25
  }