@openeuropa/bcl-user 0.24.0 → 0.25.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 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.24.0",
5
+ "version": "0.25.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "description": "OE - BCL user",
10
10
  "dependencies": {
11
- "@openeuropa/bcl-base-templates": "^0.24.0",
12
- "@openeuropa/bcl-button": "^0.24.0",
13
- "@openeuropa/bcl-card": "^0.24.0",
14
- "@openeuropa/bcl-form": "^0.24.0",
15
- "@openeuropa/bcl-link": "^0.24.0",
16
- "@openeuropa/bcl-navigation": "^0.24.0"
11
+ "@openeuropa/bcl-base-templates": "^0.25.0",
12
+ "@openeuropa/bcl-button": "^0.25.0",
13
+ "@openeuropa/bcl-card": "^0.25.0",
14
+ "@openeuropa/bcl-form": "^0.25.0",
15
+ "@openeuropa/bcl-link": "^0.25.0",
16
+ "@openeuropa/bcl-navigation": "^0.25.0"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
@@ -29,5 +29,5 @@
29
29
  "design-system",
30
30
  "twig"
31
31
  ],
32
- "gitHead": "a46bb6bc12771da4667516dc7b0665b00504ade2"
32
+ "gitHead": "f50c7dfeab8695bbb5c18d5f7d5304509512268a"
33
33
  }
@@ -13,13 +13,14 @@
13
13
  - infos (array of strings) (default: [])
14
14
  #}
15
15
 
16
- {% set _picture_classes = "rounded-pill" %}
16
+ {% set _picture_classes = 'rounded-pill' %}
17
+ {% set _classes = ['bcl-user-compact', 'd-flex', 'mb-3'] %}
17
18
 
18
19
  {% if attributes is empty %}
19
20
  {% set attributes = create_attribute() %}
20
21
  {% endif %}
21
22
 
22
- {% set attributes = attributes.addClass(["d-flex", "mb-3"]) %}
23
+ {% set attributes = attributes.addClass(_classes) %}
23
24
 
24
25
  {% if picture is not empty and picture.classes is not empty %}
25
26
  {% set _picture_classes = _picture_classes ~ ' ' ~ picture.classes %}
@@ -1,11 +1,11 @@
1
1
  {% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
2
2
 
3
3
  {% block content %}
4
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa, a dapibus libero porta nec. Sed facilisis dictum vestibulum. Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </p>
4
+ {{ get_dummy_text(4, true) }}
5
5
  <ul class="mb-4-5">
6
- <li>Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. </li>
7
- <li>Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, </li>
8
- <li>A fermentum libero orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </li>
6
+ <li>{{ get_dummy_text() }}</li>
7
+ <li>{{ get_dummy_text() }}</li>
8
+ <li>{{ get_dummy_text() }}</li>
9
9
  </ul>
10
10
  {% include '@oe-bcl/bcl-form/form.html.twig' with terms_form only %}
11
11
  {% endblock %}
package/user.html.twig CHANGED
@@ -100,10 +100,10 @@
100
100
  <h1 class="my-4-5">Edit my profile</h1>
101
101
  <h2 class="mb-4-5">Profile image</h2>
102
102
  <div class="row">
103
- <div class="offset-3 col-6 offset-lg-0 col-lg-3">
103
+ <div class="bcl-card-start-col bcl-size-large mx-auto ms-md-2-5">
104
104
  <img src="https://picsum.photos/seed/1002/400/400" class="img-fluid" alt="profile-image">
105
105
  </div>
106
- <div class="col align-self-center">
106
+ <div class="col-12 col-md align-self-center">
107
107
  <div class="mt-3 text-center text-md-start">
108
108
  {% include '@oe-bcl/bcl-form-input/form-input.html.twig' with edit.image_upload_input only %}
109
109
  <div class="d-md-inline-block">