@ecl/gallery 5.0.0-alpha.14 → 5.0.0-alpha.16
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-overlay.html.twig +2 -2
- package/gallery.html.twig +1 -1
- package/gallery.scss +6 -22
- package/package.json +9 -9
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
{% set _css_media_class = 'ecl-gallery__slider-media-container' %}
|
|
25
25
|
{% set _extra_attributes = '' %}
|
|
26
26
|
{% set _button_type = 'button' %}
|
|
27
|
-
{% set _button_variant = 'ghost' %}
|
|
28
27
|
{% set _overlay = overlay|default({}) %}
|
|
29
28
|
{% set _item = item|default({}) %}
|
|
30
29
|
|
|
@@ -57,7 +56,8 @@
|
|
|
57
56
|
<header class="ecl-gallery__close" data-ecl-gallery-overlay-header>
|
|
58
57
|
{% include '@ecl/button/button.html.twig' with _overlay.close|merge({
|
|
59
58
|
extra_classes: 'ecl-gallery__close-button',
|
|
60
|
-
variant:
|
|
59
|
+
variant: 'tertiary',
|
|
60
|
+
style: 'inverted',
|
|
61
61
|
type: 'submit',
|
|
62
62
|
extra_attributes: [
|
|
63
63
|
{ name: 'data-ecl-gallery-close' },
|
package/gallery.html.twig
CHANGED
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
{% include '@ecl/button/button.html.twig' with {
|
|
169
169
|
label: _view_all_label,
|
|
170
170
|
type: 'submit',
|
|
171
|
-
variant: '
|
|
171
|
+
variant: 'tertiary',
|
|
172
172
|
extra_attributes: [
|
|
173
173
|
{ name: 'data-ecl-gallery-all' },
|
|
174
174
|
{ name: 'data-ecl-gallery-collapsed-label', value: _view_all_label },
|
package/gallery.scss
CHANGED
|
@@ -53,7 +53,11 @@ $_description-height-desktop: 108px;
|
|
|
53
53
|
.ecl-gallery__item-icon-wrapper {
|
|
54
54
|
background: var(--cm-on-surface-dark, var(--c-d));
|
|
55
55
|
box-shadow: 0 0 15px 6px
|
|
56
|
-
color-mix(
|
|
56
|
+
color-mix(
|
|
57
|
+
in srgb,
|
|
58
|
+
var(--cm-on-surface-neutral-highest, var(--c-d-80)) 55%,
|
|
59
|
+
transparent
|
|
60
|
+
);
|
|
57
61
|
display: inline-block;
|
|
58
62
|
position: absolute;
|
|
59
63
|
left: 50%;
|
|
@@ -121,10 +125,6 @@ $_description-height-desktop: 108px;
|
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
127
|
|
|
124
|
-
.ecl-gallery__image-icon {
|
|
125
|
-
display: none;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
128
|
.ecl-gallery__description {
|
|
129
129
|
align-items: center;
|
|
130
130
|
bottom: 0;
|
|
@@ -178,7 +178,7 @@ $_description-height-desktop: 108px;
|
|
|
178
178
|
display: flex;
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
margin: 0 auto;
|
|
181
|
-
max-width:
|
|
181
|
+
max-width: map.get($theme, 'container', 'xxl');
|
|
182
182
|
padding-top: var(--s-xs);
|
|
183
183
|
}
|
|
184
184
|
|
|
@@ -219,16 +219,6 @@ $_description-height-desktop: 108px;
|
|
|
219
219
|
margin: 0 auto;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.ecl-gallery__image-icon {
|
|
223
|
-
background-color: map.get($gallery, 'description-background');
|
|
224
|
-
bottom: 0;
|
|
225
|
-
display: block;
|
|
226
|
-
fill: $_description-color;
|
|
227
|
-
padding: var(--s-s);
|
|
228
|
-
position: absolute;
|
|
229
|
-
right: 0;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
222
|
.ecl-gallery__footer {
|
|
233
223
|
align-items: center;
|
|
234
224
|
flex-direction: row;
|
|
@@ -320,13 +310,7 @@ $_description-height-desktop: 108px;
|
|
|
320
310
|
}
|
|
321
311
|
|
|
322
312
|
.ecl-gallery__close-button {
|
|
323
|
-
color: #fff;
|
|
324
313
|
margin: var(--s-xs);
|
|
325
|
-
|
|
326
|
-
&:focus-visible {
|
|
327
|
-
border-color: #fff;
|
|
328
|
-
color: #fff;
|
|
329
|
-
}
|
|
330
314
|
}
|
|
331
315
|
|
|
332
316
|
.ecl-gallery__controls {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ecl/gallery",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "5.0.0-alpha.
|
|
5
|
+
"version": "5.0.0-alpha.16",
|
|
6
6
|
"description": "ECL Gallery",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"module": "gallery.js",
|
|
12
12
|
"style": "gallery.scss",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@ecl/button": "5.0.0-alpha.
|
|
15
|
-
"@ecl/dom-utils": "5.0.0-alpha.
|
|
16
|
-
"@ecl/icon": "5.0.0-alpha.
|
|
17
|
-
"@ecl/link": "5.0.0-alpha.
|
|
18
|
-
"@ecl/picture": "5.0.0-alpha.
|
|
19
|
-
"@ecl/video": "5.0.0-alpha.
|
|
20
|
-
"focus-trap": "7.6.
|
|
14
|
+
"@ecl/button": "5.0.0-alpha.16",
|
|
15
|
+
"@ecl/dom-utils": "5.0.0-alpha.16",
|
|
16
|
+
"@ecl/icon": "5.0.0-alpha.16",
|
|
17
|
+
"@ecl/link": "5.0.0-alpha.16",
|
|
18
|
+
"@ecl/picture": "5.0.0-alpha.16",
|
|
19
|
+
"@ecl/video": "5.0.0-alpha.16",
|
|
20
|
+
"focus-trap": "7.6.5"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"design-system",
|
|
34
34
|
"twig"
|
|
35
35
|
],
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "0842ff3b72ce9099c13e5407ad2b5eda9d06ba69"
|
|
37
37
|
}
|