@openeuropa/bcl-project-status 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.
- package/package.json +5 -5
- package/project-status.html.twig +2 -0
package/package.json
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-project-status",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.24.0",
|
|
6
6
|
"description": "OE - BCL project status",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-badge": "^0.
|
|
12
|
-
"@openeuropa/bcl-heading": "^0.
|
|
13
|
-
"@openeuropa/bcl-progress": "^0.
|
|
11
|
+
"@openeuropa/bcl-badge": "^0.24.0",
|
|
12
|
+
"@openeuropa/bcl-heading": "^0.24.0",
|
|
13
|
+
"@openeuropa/bcl-progress": "^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": "
|
|
29
|
+
"gitHead": "a46bb6bc12771da4667516dc7b0665b00504ade2"
|
|
30
30
|
}
|
package/project-status.html.twig
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
- label (string) (default: '')
|
|
10
10
|
- badge (string) (default: ''),
|
|
11
11
|
- progress (string) (default: '')
|
|
12
|
+
- attributes (drupal attrs)
|
|
12
13
|
#}
|
|
13
14
|
|
|
14
15
|
{% set _label = label|default('') %}
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
{% if _badge is not empty %}
|
|
50
51
|
{% include '@oe-bcl/bcl-badge/badge.html.twig' with {
|
|
51
52
|
label: _badge,
|
|
53
|
+
rounded_pill: true,
|
|
52
54
|
background: _bg,
|
|
53
55
|
attributes: create_attribute().addClass(['mb-3', 'mb-md-0']),
|
|
54
56
|
} only %}
|