@ecl/gallery 5.0.0-RC2 → 5.0.0-RC3

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.
@@ -90,7 +90,7 @@ $gallery-print: null !default;
90
90
  vertical-align: text-bottom;
91
91
  width: calc(100% - (#{map.get($theme, 'spacing-print', 'xs')} * 2));
92
92
  bottom: 0;
93
- left: 0;
93
+ inset-inline-start: 0;
94
94
  position: absolute;
95
95
  }
96
96
 
@@ -121,7 +121,7 @@ $gallery-print: null !default;
121
121
  display: none;
122
122
  flex-direction: column;
123
123
  height: 100%;
124
- left: 0;
124
+ inset-inline-start: 0;
125
125
  margin: 0;
126
126
  max-height: 100vh;
127
127
  max-width: 100%;
package/gallery.scss CHANGED
@@ -61,18 +61,13 @@ $_description-height-desktop: 108px;
61
61
  display: none;
62
62
  justify-content: center;
63
63
  position: absolute;
64
- right: 0.25rem;
64
+ inset-inline-end: 0.25rem;
65
65
  top: 0.25rem;
66
66
  border-radius: map.get($theme, 'border-radius', 's');
67
67
  width: 2rem;
68
68
  height: 2rem;
69
69
  pointer-events: none;
70
70
  z-index: 1;
71
-
72
- &:dir(rtl) {
73
- left: 0.25rem;
74
- right: auto;
75
- }
76
71
  }
77
72
 
78
73
  .ecl-gallery:not(.ecl-gallery--no-overlay)
@@ -157,7 +152,7 @@ $_description-height-desktop: 108px;
157
152
  background-color: map.get($gallery, 'description-background');
158
153
  color: $_description-color;
159
154
  font: map.get($gallery, 'description-font');
160
- left: 0;
155
+ inset-inline-start: 0;
161
156
  overflow: hidden;
162
157
  padding: var(--s-2xs) var(--s-xs);
163
158
  pointer-events: none;
@@ -213,7 +208,7 @@ $_description-height-desktop: 108px;
213
208
  }
214
209
 
215
210
  .ecl-gallery__footer-link {
216
- text-align: right;
211
+ text-align: end;
217
212
  margin-top: var(--s-s);
218
213
  width: 100%;
219
214
  }
@@ -271,17 +266,16 @@ $_description-height-desktop: 108px;
271
266
 
272
267
  .ecl-gallery--full-width {
273
268
  border-radius: 0;
274
- left: 50%;
275
- margin-inline-start: -50vw;
269
+ margin-inline: calc(50% - 50vw);
276
270
  position: relative;
277
271
  width: 100vw;
278
272
 
279
273
  .ecl-gallery__footer-link {
280
- margin-inline-start: ar(--s-m);
274
+ margin-inline-start: var(--s-m);
281
275
  }
282
276
 
283
277
  .ecl-gallery__view-all {
284
- margin-inline-end: ar(--s-m);
278
+ margin-inline-end: var(--s-m);
285
279
  }
286
280
  }
287
281
  }
@@ -312,7 +306,7 @@ $_description-height-desktop: 108px;
312
306
  display: none;
313
307
  flex-direction: column;
314
308
  height: 100%;
315
- left: 0;
309
+ inset-inline-start: 0;
316
310
  margin: 0;
317
311
  max-height: 100vh;
318
312
  max-width: 100%;
@@ -431,8 +425,7 @@ $_description-height-desktop: 108px;
431
425
 
432
426
  .ecl-gallery__detail-counter {
433
427
  align-self: center;
434
- border-left: 1px solid #fff;
435
- border-right: 1px solid #fff;
428
+ border-inline: 1px solid #fff;
436
429
  display: inline-flex;
437
430
  margin: 0;
438
431
  padding: 0 var(--s-xs);
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-RC2",
5
+ "version": "5.0.0-RC3",
6
6
  "description": "ECL Gallery",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -11,13 +11,17 @@
11
11
  "module": "gallery.js",
12
12
  "style": "gallery.scss",
13
13
  "dependencies": {
14
- "@ecl/button": "5.0.0-RC2",
15
- "@ecl/dom-utils": "5.0.0-RC2",
16
- "@ecl/icon": "5.0.0-RC2",
17
- "@ecl/link": "5.0.0-RC2",
18
- "@ecl/picture": "5.0.0-RC2",
19
- "@ecl/video": "5.0.0-RC2",
20
- "focus-trap": "8.0.0"
14
+ "@ecl/button": "5.0.0-RC3",
15
+ "@ecl/dom-utils": "5.0.0-RC3",
16
+ "@ecl/icon": "5.0.0-RC3",
17
+ "@ecl/link": "5.0.0-RC3",
18
+ "@ecl/picture": "5.0.0-RC3",
19
+ "@ecl/video": "5.0.0-RC3",
20
+ "focus-trap": "8.0.1"
21
+ },
22
+ "devDependencies": {
23
+ "@ecl/grid": "5.0.0-RC3",
24
+ "@ecl/utility-screen-reader": "5.0.0-RC3"
21
25
  },
22
26
  "repository": {
23
27
  "type": "git",
@@ -33,5 +37,5 @@
33
37
  "design-system",
34
38
  "twig"
35
39
  ],
36
- "gitHead": "c6fea2445f9757307ca8d1de1a0f3de098a38abe"
40
+ "gitHead": "83f271fac12538193d99ae7444c5cbd3ab2c40a5"
37
41
  }