@openeuropa/bcl-gallery 1.10.11 → 1.12.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/gallery.html.twig +1 -2
- package/package.json +6 -6
package/gallery.html.twig
CHANGED
|
@@ -17,6 +17,7 @@ Parameters:
|
|
|
17
17
|
media: (string) <img> tag
|
|
18
18
|
caption (string)
|
|
19
19
|
caption_title (string)
|
|
20
|
+
copyright (string)
|
|
20
21
|
}
|
|
21
22
|
]
|
|
22
23
|
- icon_path (string) (default: '')
|
|
@@ -168,8 +169,6 @@ Parameters:
|
|
|
168
169
|
{%- block carousel %}
|
|
169
170
|
{%- for _item in _items %}
|
|
170
171
|
{%- set _carousel_items = _carousel_items|merge([_item|merge({
|
|
171
|
-
caption_title: ('<iframe' in _item.media or '<video' in _item.media) ? '' : _item.caption_title,
|
|
172
|
-
caption: ('<iframe' in _item.media or '<video' in _item.media) ? '' : _item.caption,
|
|
173
172
|
image: ('<iframe' in _item.media or '<img' in _item.media) ? _item.media|replace({'src=': 'data-src='}) : _item.media,
|
|
174
173
|
})]) %}
|
|
175
174
|
{%- endfor %}
|
package/package.json
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-gallery",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.12.0",
|
|
6
6
|
"description": "OE - BCL gallery",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-button": "^1.
|
|
12
|
-
"@openeuropa/bcl-carousel": "^1.
|
|
13
|
-
"@openeuropa/bcl-heading": "^1.
|
|
14
|
-
"@openeuropa/bcl-icon": "^1.
|
|
11
|
+
"@openeuropa/bcl-button": "^1.12.0",
|
|
12
|
+
"@openeuropa/bcl-carousel": "^1.12.0",
|
|
13
|
+
"@openeuropa/bcl-heading": "^1.12.0",
|
|
14
|
+
"@openeuropa/bcl-icon": "^1.12.0"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"design-system",
|
|
28
28
|
"twig"
|
|
29
29
|
],
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "6d1138cf7e70db692c0aae7a598977de7004204e"
|
|
31
31
|
}
|