@openeuropa/bcl-user 0.27.0 → 0.28.1
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 +8 -8
- package/user-compact.html.twig +14 -11
package/package.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-user",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.28.1",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"description": "OE - BCL user",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-base-templates": "^0.
|
|
12
|
-
"@openeuropa/bcl-button": "^0.
|
|
13
|
-
"@openeuropa/bcl-card": "^0.
|
|
14
|
-
"@openeuropa/bcl-form": "^0.
|
|
15
|
-
"@openeuropa/bcl-link": "^0.
|
|
16
|
-
"@openeuropa/bcl-navigation": "^0.
|
|
11
|
+
"@openeuropa/bcl-base-templates": "^0.28.1",
|
|
12
|
+
"@openeuropa/bcl-button": "^0.28.1",
|
|
13
|
+
"@openeuropa/bcl-card": "^0.28.1",
|
|
14
|
+
"@openeuropa/bcl-form": "^0.28.1",
|
|
15
|
+
"@openeuropa/bcl-link": "^0.28.1",
|
|
16
|
+
"@openeuropa/bcl-navigation": "^0.28.1"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"design-system",
|
|
30
30
|
"twig"
|
|
31
31
|
],
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "3b0d2f4a85c727f38ae4e3403110c98302d09117"
|
|
33
33
|
}
|
package/user-compact.html.twig
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
{% apply spaceless %}
|
|
2
2
|
|
|
3
3
|
{# Parameters:
|
|
4
|
-
- picture (object)
|
|
5
|
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
- picture (object) (default: {})
|
|
5
|
+
format: {
|
|
6
|
+
- path (string) (default: '')
|
|
7
|
+
- alt (string) (default: '')
|
|
8
|
+
- classes (string) (default: '')
|
|
9
|
+
}
|
|
10
|
+
- name (object) (default: {})
|
|
11
|
+
format: {
|
|
12
|
+
- text (string) (default: '')
|
|
13
|
+
- link (string) (default: '')
|
|
14
|
+
}
|
|
13
15
|
- infos (array of strings) (default: [])
|
|
14
16
|
#}
|
|
15
17
|
|
|
16
|
-
{% set _infos = infos|default([]) %}
|
|
17
|
-
{% set _name = name|default({}) %}
|
|
18
18
|
{% set _picture = picture|default({}) %}
|
|
19
|
+
{% set _name = name|default({}) %}
|
|
20
|
+
{% set _infos = infos|default([]) %}
|
|
21
|
+
|
|
19
22
|
{% set _picture_classes = 'rounded-pill' %}
|
|
20
23
|
{% set _classes = ['bcl-user-compact', 'd-flex', 'mb-3'] %}
|
|
21
24
|
|