@net7/boilerplate-muruca 5.2.3 → 5.2.4
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/esm2022/lib/components/advanced-result/advanced-result.mjs +3 -3
- package/esm2022/lib/components/form/form.mjs +3 -3
- package/esm2022/lib/components/form-wrapper-accordion/form-wrapper-accordion.mjs +3 -3
- package/esm2022/lib/components/gallery/gallery.mjs +5 -5
- package/esm2022/lib/components/metadata-dynamic/metadata-dynamic.mjs +3 -3
- package/esm2022/lib/components/metadata-with-readmore/metadata-with-readmore.mjs +3 -3
- package/esm2022/lib/components/read-more/read-more.mjs +3 -3
- package/esm2022/lib/components/resource-modal/resource-modal.mjs +3 -3
- package/esm2022/lib/components/search-page-description/search-page-description.mjs +3 -3
- package/esm2022/lib/event-handlers/gallery.eh.mjs +3 -1
- package/esm2022/lib/guards/dynamic-path.guard.mjs +3 -3
- package/esm2022/lib/guards/locale-dependencies.guard.mjs +3 -3
- package/esm2022/lib/layouts/advanced-results-layout/advanced-results-layout.mjs +3 -3
- package/esm2022/lib/layouts/advanced-search-layout/advanced-search-layout.mjs +3 -3
- package/esm2022/lib/layouts/home-layout/home-layout.mjs +3 -3
- package/esm2022/lib/layouts/itinerary-layout/itinerary-layout.mjs +3 -3
- package/esm2022/lib/layouts/map-layout/map-layout.mjs +3 -3
- package/esm2022/lib/layouts/posts-layout/posts-layout.mjs +3 -3
- package/esm2022/lib/layouts/resource-layout/resource-layout.mjs +3 -3
- package/esm2022/lib/layouts/search-facets-layout/search-facets-layout.mjs +3 -3
- package/esm2022/lib/layouts/search-layout/search-layout.mjs +3 -3
- package/esm2022/lib/layouts/static-layout/static-layout.mjs +3 -3
- package/esm2022/lib/layouts/timeline-layout/timeline-layout.ds.mjs +5 -2
- package/esm2022/lib/layouts/timeline-layout/timeline-layout.mjs +23 -6
- package/esm2022/lib/n7-boilerplate-muruca.module.mjs +4 -4
- package/esm2022/lib/pipes/keep-html.pipe.mjs +3 -3
- package/esm2022/lib/services/footer.service.mjs +3 -3
- package/esm2022/lib/services/layout-state.service.mjs +3 -3
- package/esm2022/lib/services/locale.service.mjs +3 -3
- package/esm2022/lib/services/menu.service.mjs +3 -3
- package/esm2022/lib/services/resource-modal.service.mjs +3 -3
- package/esm2022/lib/services/search.service.mjs +3 -3
- package/esm2022/lib/services/translations-loader.service.mjs +3 -3
- package/fesm2022/net7-boilerplate-muruca.mjs +139 -120
- package/fesm2022/net7-boilerplate-muruca.mjs.map +1 -1
- package/lib/components/gallery/gallery.d.ts +4 -4
- package/lib/layouts/timeline-layout/timeline-layout.d.ts +1 -0
- package/lib/layouts/timeline-layout/timeline-layout.ds.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/styles/muruca/components/_gallery.scss +1 -1
- package/src/lib/styles/muruca/components/_wp-content.scss +45 -15
- package/src/lib/styles/muruca/layouts/_timeline.scss +2 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export type GalleryData = {
|
|
3
|
-
selected: null | GalleryItem;
|
|
4
|
-
items: GalleryItem[];
|
|
5
|
-
};
|
|
6
2
|
export type GalleryItem = {
|
|
7
3
|
id: string | number;
|
|
8
4
|
thumbSrc: string;
|
|
@@ -10,6 +6,10 @@ export type GalleryItem = {
|
|
|
10
6
|
title: string;
|
|
11
7
|
payload: any;
|
|
12
8
|
};
|
|
9
|
+
export type GalleryData = {
|
|
10
|
+
selected: null | GalleryItem;
|
|
11
|
+
items: GalleryItem[];
|
|
12
|
+
};
|
|
13
13
|
export declare class MrGalleryComponent {
|
|
14
14
|
data: GalleryData;
|
|
15
15
|
emit: (type: string, payload?: any) => void;
|
|
@@ -33,6 +33,7 @@ export declare class MrTimelineLayoutComponent extends AbstractLayout implements
|
|
|
33
33
|
};
|
|
34
34
|
ngOnInit(): void;
|
|
35
35
|
ngOnDestroy(): void;
|
|
36
|
+
loadWidgets(): void;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MrTimelineLayoutComponent, never>;
|
|
37
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<MrTimelineLayoutComponent, "mr-timeline-layout", never, {}, {}, never, never, false, never>;
|
|
38
39
|
}
|
package/package.json
CHANGED
|
@@ -284,35 +284,55 @@
|
|
|
284
284
|
.mr-wp-content {
|
|
285
285
|
.wp-block-gallery {
|
|
286
286
|
display: flex;
|
|
287
|
+
width: 100%;
|
|
288
|
+
margin-bottom: 32px;
|
|
289
|
+
padding-bottom: 32px;
|
|
290
|
+
border-bottom: 1px solid #dddddd;
|
|
287
291
|
@include consistent;
|
|
288
292
|
|
|
289
293
|
.blocks-gallery-grid {
|
|
290
294
|
// UL element
|
|
291
295
|
@include consistent;
|
|
296
|
+
width: 100%;
|
|
292
297
|
padding: 0;
|
|
293
298
|
margin: 0 auto;
|
|
294
299
|
list-style: none;
|
|
295
300
|
max-width: none;
|
|
301
|
+
display: flex;
|
|
302
|
+
flex-wrap: wrap;
|
|
303
|
+
justify-content: flex-start;
|
|
304
|
+
row-gap: 25px;
|
|
305
|
+
column-gap: 25px;
|
|
306
|
+
|
|
307
|
+
&::after {
|
|
308
|
+
content: none;
|
|
309
|
+
}
|
|
296
310
|
}
|
|
297
311
|
|
|
298
312
|
.blocks-gallery-item {
|
|
313
|
+
border: 1px solid #dddddd;
|
|
314
|
+
transition: all $transition-durations;
|
|
315
|
+
|
|
299
316
|
figure {
|
|
300
317
|
margin: 0;
|
|
301
318
|
|
|
302
319
|
a {
|
|
303
320
|
display: block;
|
|
304
321
|
width: 150px;
|
|
305
|
-
height: 150px;
|
|
306
|
-
overflow: hidden;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
0 5px 25px rgba(0, 0, 0, 0.095);
|
|
310
|
-
|
|
311
|
-
|
|
322
|
+
// height: 150px;
|
|
323
|
+
// overflow: hidden;
|
|
324
|
+
padding: 8px;
|
|
325
|
+
// border-radius: $border-radius;
|
|
326
|
+
// box-shadow: 0 1px 1px rgba(0, 0, 0, 0.095), 0 5px 25px rgba(0, 0, 0, 0.095);
|
|
327
|
+
|
|
312
328
|
img {
|
|
313
329
|
border-radius: 0;
|
|
314
330
|
box-shadow: none;
|
|
315
331
|
}
|
|
332
|
+
|
|
333
|
+
figcaption {
|
|
334
|
+
color: #5397c7;
|
|
335
|
+
}
|
|
316
336
|
}
|
|
317
337
|
}
|
|
318
338
|
|
|
@@ -324,15 +344,10 @@
|
|
|
324
344
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.095),
|
|
325
345
|
0 5px 25px rgba(0, 0, 0, 0.095);
|
|
326
346
|
}
|
|
347
|
+
}
|
|
327
348
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
0 10px 25px rgba(0, 0, 0, 0.1);
|
|
331
|
-
|
|
332
|
-
img {
|
|
333
|
-
transform: scale(1.1);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
349
|
+
.blocks-gallery-item:hover {
|
|
350
|
+
transform: scale(1.1);
|
|
336
351
|
}
|
|
337
352
|
|
|
338
353
|
.blocks-gallery-item__caption {
|
|
@@ -414,6 +429,21 @@
|
|
|
414
429
|
}
|
|
415
430
|
}
|
|
416
431
|
}
|
|
432
|
+
|
|
433
|
+
// ZOOM
|
|
434
|
+
.mr-gallery__zoom-figcaption {
|
|
435
|
+
height: 9.8vh;
|
|
436
|
+
display: flex;
|
|
437
|
+
align-items: center;
|
|
438
|
+
justify-content: center;
|
|
439
|
+
width: 100%;
|
|
440
|
+
position: absolute;
|
|
441
|
+
bottom: 0;
|
|
442
|
+
background-color: black;
|
|
443
|
+
opacity: 0.8;
|
|
444
|
+
font-size: 18px;
|
|
445
|
+
color: white;
|
|
446
|
+
}
|
|
417
447
|
}
|
|
418
448
|
|
|
419
449
|
/* ------------------------------------ *\
|