@openeuropa/bcl-badge 0.19.0 → 0.20.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/badge.html.twig +4 -4
  2. package/package.json +2 -2
package/badge.html.twig CHANGED
@@ -9,7 +9,7 @@
9
9
  - assistive_text (string) (default: '')
10
10
  - rounded_pill (boolean) (default: false)
11
11
  - outline (boolean) (default: false)
12
- - icons_path (string) (default: '')
12
+ - icon_path (string) (default: '')
13
13
  #}
14
14
 
15
15
  {% set _rounded_pill = rounded_pill|default(false) %}
@@ -18,7 +18,7 @@
18
18
  {% set _label = label|default('') %}
19
19
  {% set _classes = ['badge'] %}
20
20
  {% set _url = url|default('') %}
21
- {% set _icons_path = icons_path|default('') %}
21
+ {% set _icon_path = icon_path|default('') %}
22
22
  {% set _title = title|default(_label) %}
23
23
  {% set _dismissible = dismissible|default(false) %}
24
24
  {% set _assistive_text = assistive_text|default('') %}
@@ -58,8 +58,8 @@
58
58
  {%- if _dismissible -%}
59
59
  <span class="icon--close" aria-hidden="true">
60
60
  {% include '@oe-bcl/bcl-icon/icon.html.twig' with {
61
- name: "x",
62
- path: _icons_path,
61
+ name: "x-lg",
62
+ path: _icon_path,
63
63
  } only %}
64
64
  </span>
65
65
  {%- endif -%}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-badge",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.19.0",
5
+ "version": "0.20.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": "8bfce06400c8829a46578797f0126b4e9c02e725"
24
+ "gitHead": "ea13560489a089d0c198f781e75951a9160d2554"
25
25
  }