@openeuropa/bcl-progress 0.28.1 → 1.0.2
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 +2 -2
- package/progress.html.twig +3 -3
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-progress",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"design-system",
|
|
22
22
|
"twig"
|
|
23
23
|
],
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "54df3dccb26d9f6958862f06103766a0a2d78ca6"
|
|
25
25
|
}
|
package/progress.html.twig
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
{% set _progress = progress|default(0) %}
|
|
18
18
|
{% set _min = min|default(0) %}
|
|
19
19
|
{% set _max = max|default(100) %}
|
|
20
|
-
{% set _striped = striped
|
|
21
|
-
{% set _animated = animated
|
|
22
|
-
{% set _hidden_label = hidden_label
|
|
20
|
+
{% set _striped = striped ?? false %}
|
|
21
|
+
{% set _animated = animated ?? false %}
|
|
22
|
+
{% set _hidden_label = hidden_label ?? false %}
|
|
23
23
|
{% set _label = label|default('') %}
|
|
24
24
|
{% set _bar_label = bar_label|default('') %}
|
|
25
25
|
{% set _variant = variant|default('') %}
|