@openeuropa/bcl-file 0.17.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/file.html.twig +6 -5
  2. package/package.json +4 -4
package/file.html.twig CHANGED
@@ -53,7 +53,7 @@
53
53
  {% if _icon is not empty %}
54
54
  {% set _container_classes = _container_classes ~ ' ms-2-5' %}
55
55
  {% set _icon = _icon|merge({
56
- attributes: create_attribute().addClass(['mt-1', 'text-secondary'])
56
+ attributes: create_attribute().addClass(['mt-1', 'icon--file'])
57
57
  }) %}
58
58
  {% endif %}
59
59
 
@@ -72,7 +72,8 @@
72
72
  {% set attributes = attributes.addClass(['border', 'rounded-bottom']) %}
73
73
  {% set _image = _image|merge({
74
74
  position: "top",
75
- classes: "mb-3"
75
+ classes: "mb-3",
76
+ rounded: 0,
76
77
  }) %}
77
78
  {% include '@oe-bcl/bcl-card/card.html.twig' with {
78
79
  horizontal: true,
@@ -134,7 +135,7 @@
134
135
  },
135
136
  attributes: create_attribute()
136
137
  .setAttribute('download', _download.url)
137
- .addClass(['text-underline-hover', 'align-self-center', 'd-inline-block', 'mt-1', 'mt-md-0'])
138
+ .addClass(['standalone', 'align-self-center', 'd-inline-block', 'mt-1', 'mt-md-0'])
138
139
  }) %}
139
140
  {% include '@oe-bcl/bcl-link/link.html.twig' with _download only %}
140
141
  </div>
@@ -147,7 +148,7 @@
147
148
  {% include '@oe-bcl/bcl-link/link.html.twig' with _translation.label|merge({
148
149
  path: '#' ~ _id,
149
150
  attributes: create_attribute()
150
- .addClass(['text-underline-hover'])
151
+ .addClass(['standalone'])
151
152
  .setAttribute('aria-controls', _id)
152
153
  .setAttribute('data-bs-toggle', 'collapse')
153
154
  .setAttribute('aria-expanded', 'false')
@@ -193,7 +194,7 @@
193
194
  },
194
195
  attributes: create_attribute()
195
196
  .setAttribute("download", _item.download.url)
196
- .addClass(['d-block', 'text-underline-hover', 'mt-1'])
197
+ .addClass(['d-block', 'standalone', 'mt-1'])
197
198
  }) only %}
198
199
  </div>
199
200
  </div>
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@openeuropa/bcl-file",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.17.0",
5
+ "version": "0.20.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "description": "OE - BCL file",
10
10
  "dependencies": {
11
- "@openeuropa/bcl-icon": "^0.17.0",
12
- "@openeuropa/bcl-link": "^0.17.0"
11
+ "@openeuropa/bcl-icon": "^0.20.0",
12
+ "@openeuropa/bcl-link": "^0.20.0"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -25,5 +25,5 @@
25
25
  "design-system",
26
26
  "twig"
27
27
  ],
28
- "gitHead": "07ff24de8a209d80750a32cd52dfe9663fabf8e2"
28
+ "gitHead": "ea13560489a089d0c198f781e75951a9160d2554"
29
29
  }