@openeuropa/bcl-gallery 1.10.0 → 1.10.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/gallery-item.html.twig +1 -0
- package/gallery.html.twig +2 -2
- package/package.json +6 -6
package/gallery-item.html.twig
CHANGED
|
@@ -30,6 +30,7 @@ Parameters:
|
|
|
30
30
|
{% set attributes = attributes.addClass(['bcl-gallery__item', 'd-block', 'w-100', 'img-fluid'])
|
|
31
31
|
.setAttribute('data-bs-target', '#' ~ _carousel_id)
|
|
32
32
|
.setAttribute('data-bs-slide-to', _carousel_anchor)
|
|
33
|
+
.setAttribute('tabindex', '0')
|
|
33
34
|
%}
|
|
34
35
|
|
|
35
36
|
<a
|
package/gallery.html.twig
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
{#
|
|
4
4
|
Parameters:
|
|
5
|
-
- id (string) (default: gallery-random(
|
|
5
|
+
- id (string) (default: gallery-random(10000))
|
|
6
6
|
- title (string) (default: '')
|
|
7
7
|
- title_tag (string) (default: 'h2')
|
|
8
8
|
- title_link: (link object) (default: {})
|
|
@@ -28,7 +28,7 @@ Parameters:
|
|
|
28
28
|
carousel
|
|
29
29
|
#}
|
|
30
30
|
|
|
31
|
-
{% set _id = id|default('gallery-' ~ random(
|
|
31
|
+
{% set _id = id|default('gallery-' ~ random(10000)) %}
|
|
32
32
|
{% set _title = title|default('') %}
|
|
33
33
|
{% set _title_tag = title_tag|default('h2') %}
|
|
34
34
|
{% set _title_link = title_link|default({}) %}
|
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.10.
|
|
5
|
+
"version": "1.10.1",
|
|
6
6
|
"description": "OE - BCL gallery",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-button": "^1.10.
|
|
12
|
-
"@openeuropa/bcl-carousel": "^1.10.
|
|
13
|
-
"@openeuropa/bcl-heading": "^1.10.
|
|
14
|
-
"@openeuropa/bcl-icon": "^1.10.
|
|
11
|
+
"@openeuropa/bcl-button": "^1.10.1",
|
|
12
|
+
"@openeuropa/bcl-carousel": "^1.10.1",
|
|
13
|
+
"@openeuropa/bcl-heading": "^1.10.1",
|
|
14
|
+
"@openeuropa/bcl-icon": "^1.10.1"
|
|
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": "6c77dfb1e65950872e806cd0acb14023c279b934"
|
|
31
31
|
}
|