@comicrelief/component-library 8.53.2 → 8.53.3
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/dist/components/Atoms/Picture/Picture.js +1 -0
- package/dist/components/Organisms/DynamicGallery/DynamicGallery.js +43 -24
- package/dist/components/Organisms/DynamicGallery/DynamicGallery.md +1 -1
- package/dist/components/Organisms/DynamicGallery/DynamicGallery.style.js +29 -16
- package/dist/components/Organisms/DynamicGallery/_DynamicGalleryColumn.js +8 -3
- package/dist/components/Organisms/DynamicGallery/_Lightbox.js +45 -24
- package/dist/components/Organisms/DynamicGallery/_Lightbox.style.js +7 -11
- package/dist/components/Organisms/DynamicGallery/__snapshots__/DynamicGallery.test.js.snap +254 -216
- package/package.json +1 -1
- package/playwright/components/organisms/dynamicGallery.spec.js +222 -1
- package/src/components/Atoms/Picture/Picture.js +1 -0
- package/src/components/Organisms/DynamicGallery/DynamicGallery.js +48 -25
- package/src/components/Organisms/DynamicGallery/DynamicGallery.md +1 -1
- package/src/components/Organisms/DynamicGallery/DynamicGallery.style.js +23 -1
- package/src/components/Organisms/DynamicGallery/_DynamicGalleryColumn.js +8 -3
- package/src/components/Organisms/DynamicGallery/_Lightbox.js +36 -19
- package/src/components/Organisms/DynamicGallery/_Lightbox.style.js +16 -29
- package/src/components/Organisms/DynamicGallery/__snapshots__/DynamicGallery.test.js.snap +254 -216
|
@@ -15,21 +15,21 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
15
15
|
object-fit: cover;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.c18 {
|
|
19
19
|
-webkit-transform: rotate(0);
|
|
20
20
|
-ms-transform: rotate(0);
|
|
21
21
|
transform: rotate(0);
|
|
22
22
|
fill: #000000;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
.c20 {
|
|
26
26
|
-webkit-transform: rotate(180deg);
|
|
27
27
|
-ms-transform: rotate(180deg);
|
|
28
28
|
transform: rotate(180deg);
|
|
29
29
|
fill: #000000;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.c23 {
|
|
33
33
|
fill: #000000;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -109,8 +109,7 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
109
109
|
justify-content: center;
|
|
110
110
|
min-width: 128px;
|
|
111
111
|
min-height: 32px;
|
|
112
|
-
|
|
113
|
-
overflow: hidden;
|
|
112
|
+
width: 100%;
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
.c13 > div {
|
|
@@ -145,7 +144,7 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
145
144
|
transform: translate(-50%,-50%);
|
|
146
145
|
}
|
|
147
146
|
|
|
148
|
-
.
|
|
147
|
+
.c21 {
|
|
149
148
|
display: -webkit-box;
|
|
150
149
|
display: -webkit-flex;
|
|
151
150
|
display: -ms-flexbox;
|
|
@@ -159,10 +158,11 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
159
158
|
align-items: stretch;
|
|
160
159
|
gap: 0.5rem;
|
|
161
160
|
width: 100%;
|
|
161
|
+
max-width: 1024px;
|
|
162
162
|
padding: 0 1rem;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.c15 {
|
|
166
166
|
position: absolute;
|
|
167
167
|
display: -webkit-box;
|
|
168
168
|
display: -webkit-flex;
|
|
@@ -185,57 +185,34 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
185
185
|
z-index: 10;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
.
|
|
189
|
-
-webkit-transition:
|
|
190
|
-
transition:
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.c16:hover svg {
|
|
194
|
-
fill: #E52630;
|
|
188
|
+
.c15 svg {
|
|
189
|
+
-webkit-transition: fill 0.1s ease-out;
|
|
190
|
+
transition: fill 0.1s ease-out;
|
|
195
191
|
}
|
|
196
192
|
|
|
197
|
-
.
|
|
193
|
+
.c15:focus-visible {
|
|
198
194
|
outline: 2px solid #E52630;
|
|
199
195
|
}
|
|
200
196
|
|
|
201
|
-
.
|
|
197
|
+
.c22 {
|
|
202
198
|
top: 0;
|
|
203
199
|
right: 0;
|
|
204
200
|
}
|
|
205
201
|
|
|
206
|
-
.
|
|
207
|
-
top:
|
|
202
|
+
.c16 {
|
|
203
|
+
top: 50%;
|
|
208
204
|
left: 0;
|
|
209
|
-
-webkit-transform: translate(
|
|
210
|
-
-ms-transform: translate(
|
|
211
|
-
transform: translate(
|
|
212
|
-
border-top-left-radius: 0;
|
|
213
|
-
border-bottom-left-radius: 0;
|
|
205
|
+
-webkit-transform: translate(-1rem,-50%);
|
|
206
|
+
-ms-transform: translate(-1rem,-50%);
|
|
207
|
+
transform: translate(-1rem,-50%);
|
|
214
208
|
}
|
|
215
209
|
|
|
216
|
-
.
|
|
217
|
-
top:
|
|
210
|
+
.c19 {
|
|
211
|
+
top: 50%;
|
|
218
212
|
right: 0;
|
|
219
|
-
-webkit-transform: translate(
|
|
220
|
-
-ms-transform: translate(
|
|
221
|
-
transform: translate(
|
|
222
|
-
border-top-right-radius: 0;
|
|
223
|
-
border-bottom-right-radius: 0;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.c18 {
|
|
227
|
-
position: absolute;
|
|
228
|
-
width: 1px;
|
|
229
|
-
height: 1px;
|
|
230
|
-
margin: -1px;
|
|
231
|
-
border: 0;
|
|
232
|
-
padding: 0;
|
|
233
|
-
white-space: nowrap;
|
|
234
|
-
-webkit-clip-path: inset(100%);
|
|
235
|
-
clip-path: inset(100%);
|
|
236
|
-
-webkit-clip: rect(0 0 0 0);
|
|
237
|
-
clip: rect(0 0 0 0);
|
|
238
|
-
overflow: hidden;
|
|
213
|
+
-webkit-transform: translate(1rem,-50%);
|
|
214
|
+
-ms-transform: translate(1rem,-50%);
|
|
215
|
+
transform: translate(1rem,-50%);
|
|
239
216
|
}
|
|
240
217
|
|
|
241
218
|
.c0 {
|
|
@@ -251,9 +228,10 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
251
228
|
-ms-flex-align: center;
|
|
252
229
|
align-items: center;
|
|
253
230
|
gap: 1rem;
|
|
231
|
+
position: relative;
|
|
254
232
|
max-width: 1500px;
|
|
255
233
|
background: transparent;
|
|
256
|
-
padding: 0rem
|
|
234
|
+
padding: 0rem 1rem 2rem;
|
|
257
235
|
color: #000000;
|
|
258
236
|
}
|
|
259
237
|
|
|
@@ -351,14 +329,33 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
351
329
|
padding: 0 1rem;
|
|
352
330
|
}
|
|
353
331
|
|
|
332
|
+
.c17 {
|
|
333
|
+
position: absolute;
|
|
334
|
+
width: 1px;
|
|
335
|
+
height: 1px;
|
|
336
|
+
margin: -1px;
|
|
337
|
+
border: 0;
|
|
338
|
+
padding: 0;
|
|
339
|
+
white-space: nowrap;
|
|
340
|
+
-webkit-clip-path: inset(100%);
|
|
341
|
+
clip-path: inset(100%);
|
|
342
|
+
-webkit-clip: rect(0 0 0 0);
|
|
343
|
+
clip: rect(0 0 0 0);
|
|
344
|
+
overflow: hidden;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.c24 {
|
|
348
|
+
bottom: 0;
|
|
349
|
+
}
|
|
350
|
+
|
|
354
351
|
@media (min-width:1024px) {
|
|
355
|
-
.
|
|
352
|
+
.c18 {
|
|
356
353
|
fill: #000000;
|
|
357
354
|
}
|
|
358
355
|
}
|
|
359
356
|
|
|
360
357
|
@media (min-width:1024px) {
|
|
361
|
-
.
|
|
358
|
+
.c20 {
|
|
362
359
|
fill: #000000;
|
|
363
360
|
}
|
|
364
361
|
}
|
|
@@ -369,20 +366,38 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
369
366
|
}
|
|
370
367
|
}
|
|
371
368
|
|
|
369
|
+
@media (hover:hover) {
|
|
370
|
+
.c15:hover svg {
|
|
371
|
+
fill: #E52630;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
372
375
|
@media (min-width:1024px) {
|
|
373
|
-
.
|
|
376
|
+
.c16 {
|
|
374
377
|
position: fixed;
|
|
378
|
+
-webkit-transform: translate(1rem,-50%);
|
|
379
|
+
-ms-transform: translate(1rem,-50%);
|
|
380
|
+
transform: translate(1rem,-50%);
|
|
375
381
|
top: 50%;
|
|
376
382
|
}
|
|
377
383
|
}
|
|
378
384
|
|
|
379
385
|
@media (min-width:1024px) {
|
|
380
|
-
.
|
|
386
|
+
.c19 {
|
|
381
387
|
position: fixed;
|
|
388
|
+
-webkit-transform: translate(-1rem,-50%);
|
|
389
|
+
-ms-transform: translate(-1rem,-50%);
|
|
390
|
+
transform: translate(-1rem,-50%);
|
|
382
391
|
top: 50%;
|
|
383
392
|
}
|
|
384
393
|
}
|
|
385
394
|
|
|
395
|
+
@media (min-width:740px) {
|
|
396
|
+
.c0 {
|
|
397
|
+
gap: 1rem;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
|
|
386
401
|
@media (min-width:740px) {
|
|
387
402
|
.c1 {
|
|
388
403
|
gap: 2rem;
|
|
@@ -442,7 +457,7 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
442
457
|
<button
|
|
443
458
|
aria-label=""
|
|
444
459
|
className="c3 gallery-node"
|
|
445
|
-
data-node-index={
|
|
460
|
+
data-node-index={1}
|
|
446
461
|
onPointerUp={[Function]}
|
|
447
462
|
tabIndex={0}
|
|
448
463
|
title=""
|
|
@@ -476,7 +491,7 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
476
491
|
<button
|
|
477
492
|
aria-label=""
|
|
478
493
|
className="c3 gallery-node"
|
|
479
|
-
data-node-index={
|
|
494
|
+
data-node-index={2}
|
|
480
495
|
onPointerUp={[Function]}
|
|
481
496
|
tabIndex={0}
|
|
482
497
|
title=""
|
|
@@ -545,25 +560,75 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
545
560
|
/>
|
|
546
561
|
</span>
|
|
547
562
|
</div>
|
|
563
|
+
<button
|
|
564
|
+
className="c15 c16"
|
|
565
|
+
onClick={[Function]}
|
|
566
|
+
type="button"
|
|
567
|
+
>
|
|
568
|
+
<span
|
|
569
|
+
className="c17"
|
|
570
|
+
>
|
|
571
|
+
Previous
|
|
572
|
+
</span>
|
|
573
|
+
<svg
|
|
574
|
+
className="c18"
|
|
575
|
+
direction="left"
|
|
576
|
+
height={16}
|
|
577
|
+
viewBox="0 0 96 96"
|
|
578
|
+
width={16}
|
|
579
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
580
|
+
>
|
|
581
|
+
<path
|
|
582
|
+
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
583
|
+
id="svg_1"
|
|
584
|
+
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
585
|
+
/>
|
|
586
|
+
</svg>
|
|
587
|
+
</button>
|
|
588
|
+
<button
|
|
589
|
+
className="c15 c19"
|
|
590
|
+
onClick={[Function]}
|
|
591
|
+
type="button"
|
|
592
|
+
>
|
|
593
|
+
<span
|
|
594
|
+
className="c17"
|
|
595
|
+
>
|
|
596
|
+
Next
|
|
597
|
+
</span>
|
|
598
|
+
<svg
|
|
599
|
+
className="c20"
|
|
600
|
+
direction="right"
|
|
601
|
+
height={16}
|
|
602
|
+
viewBox="0 0 96 96"
|
|
603
|
+
width={16}
|
|
604
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
605
|
+
>
|
|
606
|
+
<path
|
|
607
|
+
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
608
|
+
id="svg_1"
|
|
609
|
+
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
610
|
+
/>
|
|
611
|
+
</svg>
|
|
612
|
+
</button>
|
|
548
613
|
</div>
|
|
549
614
|
<div
|
|
550
615
|
aria-atomic="true"
|
|
551
616
|
aria-live="polite"
|
|
552
|
-
className="
|
|
617
|
+
className="c21"
|
|
553
618
|
id="lightboxDescription"
|
|
554
619
|
/>
|
|
555
620
|
<button
|
|
556
|
-
className="
|
|
621
|
+
className="c15 c22 close-button"
|
|
557
622
|
onClick={[Function]}
|
|
558
623
|
type="button"
|
|
559
624
|
>
|
|
560
625
|
<span
|
|
561
|
-
className="
|
|
626
|
+
className="c17"
|
|
562
627
|
>
|
|
563
628
|
Close
|
|
564
629
|
</span>
|
|
565
630
|
<svg
|
|
566
|
-
className="
|
|
631
|
+
className="c23"
|
|
567
632
|
height={16}
|
|
568
633
|
viewBox="0 0 96 96"
|
|
569
634
|
width={16}
|
|
@@ -574,82 +639,36 @@ exports[`handle a Dynamic Gallery with mocked gallery nodes 1`] = `
|
|
|
574
639
|
/>
|
|
575
640
|
</svg>
|
|
576
641
|
</button>
|
|
577
|
-
<button
|
|
578
|
-
className="c16 c20"
|
|
579
|
-
onClick={[Function]}
|
|
580
|
-
type="button"
|
|
581
|
-
>
|
|
582
|
-
<span
|
|
583
|
-
className="c18"
|
|
584
|
-
>
|
|
585
|
-
Previous
|
|
586
|
-
</span>
|
|
587
|
-
<svg
|
|
588
|
-
className="c21"
|
|
589
|
-
direction="left"
|
|
590
|
-
height={16}
|
|
591
|
-
viewBox="0 0 96 96"
|
|
592
|
-
width={16}
|
|
593
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
594
|
-
>
|
|
595
|
-
<path
|
|
596
|
-
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
597
|
-
id="svg_1"
|
|
598
|
-
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
599
|
-
/>
|
|
600
|
-
</svg>
|
|
601
|
-
</button>
|
|
602
|
-
<button
|
|
603
|
-
className="c16 c22"
|
|
604
|
-
onClick={[Function]}
|
|
605
|
-
type="button"
|
|
606
|
-
>
|
|
607
|
-
<span
|
|
608
|
-
className="c18"
|
|
609
|
-
>
|
|
610
|
-
Next
|
|
611
|
-
</span>
|
|
612
|
-
<svg
|
|
613
|
-
className="c23"
|
|
614
|
-
direction="right"
|
|
615
|
-
height={16}
|
|
616
|
-
viewBox="0 0 96 96"
|
|
617
|
-
width={16}
|
|
618
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
619
|
-
>
|
|
620
|
-
<path
|
|
621
|
-
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
622
|
-
id="svg_1"
|
|
623
|
-
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
624
|
-
/>
|
|
625
|
-
</svg>
|
|
626
|
-
</button>
|
|
627
642
|
</div>
|
|
628
643
|
</dialog>
|
|
629
644
|
</div>
|
|
630
|
-
<
|
|
631
|
-
className="gallery-focus-trap"
|
|
645
|
+
<span
|
|
646
|
+
className="c17 c24 gallery-focus-trap"
|
|
632
647
|
tabIndex={0}
|
|
633
|
-
|
|
648
|
+
>
|
|
649
|
+
<span>
|
|
650
|
+
End of gallery
|
|
651
|
+
</span>
|
|
652
|
+
</span>
|
|
634
653
|
</div>
|
|
635
654
|
`;
|
|
636
655
|
|
|
637
656
|
exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
638
|
-
.
|
|
657
|
+
.c12 {
|
|
639
658
|
-webkit-transform: rotate(0);
|
|
640
659
|
-ms-transform: rotate(0);
|
|
641
660
|
transform: rotate(0);
|
|
642
661
|
fill: #000000;
|
|
643
662
|
}
|
|
644
663
|
|
|
645
|
-
.
|
|
664
|
+
.c14 {
|
|
646
665
|
-webkit-transform: rotate(180deg);
|
|
647
666
|
-ms-transform: rotate(180deg);
|
|
648
667
|
transform: rotate(180deg);
|
|
649
668
|
fill: #000000;
|
|
650
669
|
}
|
|
651
670
|
|
|
652
|
-
.
|
|
671
|
+
.c17 {
|
|
653
672
|
fill: #000000;
|
|
654
673
|
}
|
|
655
674
|
|
|
@@ -729,8 +748,7 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
729
748
|
justify-content: center;
|
|
730
749
|
min-width: 128px;
|
|
731
750
|
min-height: 32px;
|
|
732
|
-
|
|
733
|
-
overflow: hidden;
|
|
751
|
+
width: 100%;
|
|
734
752
|
}
|
|
735
753
|
|
|
736
754
|
.c7 > div {
|
|
@@ -765,7 +783,7 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
765
783
|
transform: translate(-50%,-50%);
|
|
766
784
|
}
|
|
767
785
|
|
|
768
|
-
.
|
|
786
|
+
.c15 {
|
|
769
787
|
display: -webkit-box;
|
|
770
788
|
display: -webkit-flex;
|
|
771
789
|
display: -ms-flexbox;
|
|
@@ -779,10 +797,11 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
779
797
|
align-items: stretch;
|
|
780
798
|
gap: 0.5rem;
|
|
781
799
|
width: 100%;
|
|
800
|
+
max-width: 1024px;
|
|
782
801
|
padding: 0 1rem;
|
|
783
802
|
}
|
|
784
803
|
|
|
785
|
-
.
|
|
804
|
+
.c9 {
|
|
786
805
|
position: absolute;
|
|
787
806
|
display: -webkit-box;
|
|
788
807
|
display: -webkit-flex;
|
|
@@ -805,57 +824,34 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
805
824
|
z-index: 10;
|
|
806
825
|
}
|
|
807
826
|
|
|
808
|
-
.
|
|
809
|
-
-webkit-transition:
|
|
810
|
-
transition:
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
.c10:hover svg {
|
|
814
|
-
fill: #E52630;
|
|
827
|
+
.c9 svg {
|
|
828
|
+
-webkit-transition: fill 0.1s ease-out;
|
|
829
|
+
transition: fill 0.1s ease-out;
|
|
815
830
|
}
|
|
816
831
|
|
|
817
|
-
.
|
|
832
|
+
.c9:focus-visible {
|
|
818
833
|
outline: 2px solid #E52630;
|
|
819
834
|
}
|
|
820
835
|
|
|
821
|
-
.
|
|
836
|
+
.c16 {
|
|
822
837
|
top: 0;
|
|
823
838
|
right: 0;
|
|
824
839
|
}
|
|
825
840
|
|
|
826
|
-
.
|
|
827
|
-
top:
|
|
841
|
+
.c10 {
|
|
842
|
+
top: 50%;
|
|
828
843
|
left: 0;
|
|
829
|
-
-webkit-transform: translate(
|
|
830
|
-
-ms-transform: translate(
|
|
831
|
-
transform: translate(
|
|
832
|
-
border-top-left-radius: 0;
|
|
833
|
-
border-bottom-left-radius: 0;
|
|
844
|
+
-webkit-transform: translate(-1rem,-50%);
|
|
845
|
+
-ms-transform: translate(-1rem,-50%);
|
|
846
|
+
transform: translate(-1rem,-50%);
|
|
834
847
|
}
|
|
835
848
|
|
|
836
|
-
.
|
|
837
|
-
top:
|
|
849
|
+
.c13 {
|
|
850
|
+
top: 50%;
|
|
838
851
|
right: 0;
|
|
839
|
-
-webkit-transform: translate(
|
|
840
|
-
-ms-transform: translate(
|
|
841
|
-
transform: translate(
|
|
842
|
-
border-top-right-radius: 0;
|
|
843
|
-
border-bottom-right-radius: 0;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
.c12 {
|
|
847
|
-
position: absolute;
|
|
848
|
-
width: 1px;
|
|
849
|
-
height: 1px;
|
|
850
|
-
margin: -1px;
|
|
851
|
-
border: 0;
|
|
852
|
-
padding: 0;
|
|
853
|
-
white-space: nowrap;
|
|
854
|
-
-webkit-clip-path: inset(100%);
|
|
855
|
-
clip-path: inset(100%);
|
|
856
|
-
-webkit-clip: rect(0 0 0 0);
|
|
857
|
-
clip: rect(0 0 0 0);
|
|
858
|
-
overflow: hidden;
|
|
852
|
+
-webkit-transform: translate(1rem,-50%);
|
|
853
|
+
-ms-transform: translate(1rem,-50%);
|
|
854
|
+
transform: translate(1rem,-50%);
|
|
859
855
|
}
|
|
860
856
|
|
|
861
857
|
.c0 {
|
|
@@ -871,9 +867,10 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
871
867
|
-ms-flex-align: center;
|
|
872
868
|
align-items: center;
|
|
873
869
|
gap: 1rem;
|
|
870
|
+
position: relative;
|
|
874
871
|
max-width: 1500px;
|
|
875
872
|
background: transparent;
|
|
876
|
-
padding: 0rem
|
|
873
|
+
padding: 0rem 1rem 2rem;
|
|
877
874
|
color: #000000;
|
|
878
875
|
}
|
|
879
876
|
|
|
@@ -890,14 +887,33 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
890
887
|
display: block;
|
|
891
888
|
}
|
|
892
889
|
|
|
890
|
+
.c11 {
|
|
891
|
+
position: absolute;
|
|
892
|
+
width: 1px;
|
|
893
|
+
height: 1px;
|
|
894
|
+
margin: -1px;
|
|
895
|
+
border: 0;
|
|
896
|
+
padding: 0;
|
|
897
|
+
white-space: nowrap;
|
|
898
|
+
-webkit-clip-path: inset(100%);
|
|
899
|
+
clip-path: inset(100%);
|
|
900
|
+
-webkit-clip: rect(0 0 0 0);
|
|
901
|
+
clip: rect(0 0 0 0);
|
|
902
|
+
overflow: hidden;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.c18 {
|
|
906
|
+
bottom: 0;
|
|
907
|
+
}
|
|
908
|
+
|
|
893
909
|
@media (min-width:1024px) {
|
|
894
|
-
.
|
|
910
|
+
.c12 {
|
|
895
911
|
fill: #000000;
|
|
896
912
|
}
|
|
897
913
|
}
|
|
898
914
|
|
|
899
915
|
@media (min-width:1024px) {
|
|
900
|
-
.
|
|
916
|
+
.c14 {
|
|
901
917
|
fill: #000000;
|
|
902
918
|
}
|
|
903
919
|
}
|
|
@@ -908,20 +924,38 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
908
924
|
}
|
|
909
925
|
}
|
|
910
926
|
|
|
927
|
+
@media (hover:hover) {
|
|
928
|
+
.c9:hover svg {
|
|
929
|
+
fill: #E52630;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
911
933
|
@media (min-width:1024px) {
|
|
912
|
-
.
|
|
934
|
+
.c10 {
|
|
913
935
|
position: fixed;
|
|
936
|
+
-webkit-transform: translate(1rem,-50%);
|
|
937
|
+
-ms-transform: translate(1rem,-50%);
|
|
938
|
+
transform: translate(1rem,-50%);
|
|
914
939
|
top: 50%;
|
|
915
940
|
}
|
|
916
941
|
}
|
|
917
942
|
|
|
918
943
|
@media (min-width:1024px) {
|
|
919
|
-
.
|
|
944
|
+
.c13 {
|
|
920
945
|
position: fixed;
|
|
946
|
+
-webkit-transform: translate(-1rem,-50%);
|
|
947
|
+
-ms-transform: translate(-1rem,-50%);
|
|
948
|
+
transform: translate(-1rem,-50%);
|
|
921
949
|
top: 50%;
|
|
922
950
|
}
|
|
923
951
|
}
|
|
924
952
|
|
|
953
|
+
@media (min-width:740px) {
|
|
954
|
+
.c0 {
|
|
955
|
+
gap: 1rem;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
|
|
925
959
|
@media (min-width:740px) {
|
|
926
960
|
.c1 {
|
|
927
961
|
gap: 2rem;
|
|
@@ -976,25 +1010,75 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
976
1010
|
/>
|
|
977
1011
|
</span>
|
|
978
1012
|
</div>
|
|
1013
|
+
<button
|
|
1014
|
+
className="c9 c10"
|
|
1015
|
+
onClick={[Function]}
|
|
1016
|
+
type="button"
|
|
1017
|
+
>
|
|
1018
|
+
<span
|
|
1019
|
+
className="c11"
|
|
1020
|
+
>
|
|
1021
|
+
Previous
|
|
1022
|
+
</span>
|
|
1023
|
+
<svg
|
|
1024
|
+
className="c12"
|
|
1025
|
+
direction="left"
|
|
1026
|
+
height={16}
|
|
1027
|
+
viewBox="0 0 96 96"
|
|
1028
|
+
width={16}
|
|
1029
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1030
|
+
>
|
|
1031
|
+
<path
|
|
1032
|
+
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
1033
|
+
id="svg_1"
|
|
1034
|
+
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
1035
|
+
/>
|
|
1036
|
+
</svg>
|
|
1037
|
+
</button>
|
|
1038
|
+
<button
|
|
1039
|
+
className="c9 c13"
|
|
1040
|
+
onClick={[Function]}
|
|
1041
|
+
type="button"
|
|
1042
|
+
>
|
|
1043
|
+
<span
|
|
1044
|
+
className="c11"
|
|
1045
|
+
>
|
|
1046
|
+
Next
|
|
1047
|
+
</span>
|
|
1048
|
+
<svg
|
|
1049
|
+
className="c14"
|
|
1050
|
+
direction="right"
|
|
1051
|
+
height={16}
|
|
1052
|
+
viewBox="0 0 96 96"
|
|
1053
|
+
width={16}
|
|
1054
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1055
|
+
>
|
|
1056
|
+
<path
|
|
1057
|
+
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
1058
|
+
id="svg_1"
|
|
1059
|
+
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
1060
|
+
/>
|
|
1061
|
+
</svg>
|
|
1062
|
+
</button>
|
|
979
1063
|
</div>
|
|
980
1064
|
<div
|
|
981
1065
|
aria-atomic="true"
|
|
982
1066
|
aria-live="polite"
|
|
983
|
-
className="
|
|
1067
|
+
className="c15"
|
|
984
1068
|
id="lightboxDescription"
|
|
985
1069
|
/>
|
|
986
1070
|
<button
|
|
987
|
-
className="
|
|
1071
|
+
className="c9 c16 close-button"
|
|
988
1072
|
onClick={[Function]}
|
|
989
1073
|
type="button"
|
|
990
1074
|
>
|
|
991
1075
|
<span
|
|
992
|
-
className="
|
|
1076
|
+
className="c11"
|
|
993
1077
|
>
|
|
994
1078
|
Close
|
|
995
1079
|
</span>
|
|
996
1080
|
<svg
|
|
997
|
-
className="
|
|
1081
|
+
className="c17"
|
|
998
1082
|
height={16}
|
|
999
1083
|
viewBox="0 0 96 96"
|
|
1000
1084
|
width={16}
|
|
@@ -1005,62 +1089,16 @@ exports[`renders an empty Dynamic Gallery with no options set 1`] = `
|
|
|
1005
1089
|
/>
|
|
1006
1090
|
</svg>
|
|
1007
1091
|
</button>
|
|
1008
|
-
<button
|
|
1009
|
-
className="c10 c14"
|
|
1010
|
-
onClick={[Function]}
|
|
1011
|
-
type="button"
|
|
1012
|
-
>
|
|
1013
|
-
<span
|
|
1014
|
-
className="c12"
|
|
1015
|
-
>
|
|
1016
|
-
Previous
|
|
1017
|
-
</span>
|
|
1018
|
-
<svg
|
|
1019
|
-
className="c15"
|
|
1020
|
-
direction="left"
|
|
1021
|
-
height={16}
|
|
1022
|
-
viewBox="0 0 96 96"
|
|
1023
|
-
width={16}
|
|
1024
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
1025
|
-
>
|
|
1026
|
-
<path
|
|
1027
|
-
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
1028
|
-
id="svg_1"
|
|
1029
|
-
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
1030
|
-
/>
|
|
1031
|
-
</svg>
|
|
1032
|
-
</button>
|
|
1033
|
-
<button
|
|
1034
|
-
className="c10 c16"
|
|
1035
|
-
onClick={[Function]}
|
|
1036
|
-
type="button"
|
|
1037
|
-
>
|
|
1038
|
-
<span
|
|
1039
|
-
className="c12"
|
|
1040
|
-
>
|
|
1041
|
-
Next
|
|
1042
|
-
</span>
|
|
1043
|
-
<svg
|
|
1044
|
-
className="c17"
|
|
1045
|
-
direction="right"
|
|
1046
|
-
height={16}
|
|
1047
|
-
viewBox="0 0 96 96"
|
|
1048
|
-
width={16}
|
|
1049
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
1050
|
-
>
|
|
1051
|
-
<path
|
|
1052
|
-
d="m90.871,50.776c-0.016,0.016 -0.026,0.036 -0.043,0.052l-32,32c-0.781,0.781 -1.804,1.172 -2.828,1.172s-2.047,-0.391 -2.829,-1.171a4,4 0 0 1 0,-5.657l25.172,-25.172l-70.343,0a4,4 0 0 1 0,-8l70.343,0l-25.172,-25.171a4,4 0 0 1 5.657,-5.657l32,32c0.016,0.016 0.027,0.036 0.043,0.052c0.167,0.172 0.321,0.357 0.455,0.557c0.069,0.104 0.118,0.216 0.176,0.325c0.065,0.121 0.138,0.236 0.191,0.364c0.057,0.137 0.09,0.279 0.13,0.42c0.032,0.109 0.074,0.214 0.097,0.327a4.017,4.017 0 0 1 0,1.568c-0.023,0.113 -0.065,0.217 -0.097,0.327c-0.041,0.141 -0.074,0.283 -0.13,0.42c-0.053,0.128 -0.126,0.243 -0.191,0.364c-0.059,0.109 -0.107,0.221 -0.176,0.325a4.035,4.035 0 0 1 -0.455,0.555z"
|
|
1053
|
-
id="svg_1"
|
|
1054
|
-
transform="rotate(-180 47.998626708984375,48.00019836425781) "
|
|
1055
|
-
/>
|
|
1056
|
-
</svg>
|
|
1057
|
-
</button>
|
|
1058
1092
|
</div>
|
|
1059
1093
|
</dialog>
|
|
1060
1094
|
</div>
|
|
1061
|
-
<
|
|
1062
|
-
className="gallery-focus-trap"
|
|
1095
|
+
<span
|
|
1096
|
+
className="c11 c18 gallery-focus-trap"
|
|
1063
1097
|
tabIndex={0}
|
|
1064
|
-
|
|
1098
|
+
>
|
|
1099
|
+
<span>
|
|
1100
|
+
End of gallery
|
|
1101
|
+
</span>
|
|
1102
|
+
</span>
|
|
1065
1103
|
</div>
|
|
1066
1104
|
`;
|