hr-design-system-handlebars 1.82.3 → 1.82.5
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/CHANGELOG.md +24 -0
- package/dist/assets/index.css +23 -23
- package/dist/views/components/base/image/responsive_image.hbs +4 -4
- package/dist/views/components/teaser/cluster/teaser_cluster_list.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_media_player.hbs +1 -1
- package/dist/views_static/components/base/image/responsive_image.hbs +4 -4
- package/dist/views_static/components/teaser/cluster/teaser_cluster_list.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +9 -9
- package/src/assets/fixtures/teaser/teaser_standard_25_serif_link.json +17 -0
- package/src/stories/views/components/base/image/responsive_image.hbs +4 -4
- package/src/stories/views/components/teaser/cluster/teaser_cluster_list.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_media_player.hbs +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_link.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v1.82.5 (Tue Jul 16 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- added data-primary-type and data-image-id to img tag inside picture e… [#1011](https://github.com/mumprod/hr-design-system-handlebars/pull/1011) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.82.4 (Tue Jul 16 2024)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- DPE-3248 - Teaser-Bilder laden im 1:1-Format bei langsamer Internetverbindung [#1009](https://github.com/mumprod/hr-design-system-handlebars/pull/1009) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v1.82.3 (Tue Jul 16 2024)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3306,7 +3306,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3306
3306
|
border-bottom-color: var(--color-secondary-ds);
|
|
3307
3307
|
}
|
|
3308
3308
|
.counter-reset {
|
|
3309
|
-
counter-reset:
|
|
3309
|
+
counter-reset: cnt1721129529899;
|
|
3310
3310
|
}
|
|
3311
3311
|
.hyphens-auto {
|
|
3312
3312
|
-webkit-hyphens: auto;
|
|
@@ -3327,7 +3327,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3327
3327
|
/*! ****************************/
|
|
3328
3328
|
/*! Aspect Ratio with fallback */
|
|
3329
3329
|
/*! ****************************/
|
|
3330
|
-
.ar-auto {
|
|
3330
|
+
.ar-auto, .ar-auto > img {
|
|
3331
3331
|
aspect-ratio: auto;
|
|
3332
3332
|
}
|
|
3333
3333
|
@supports not (aspect-ratio: auto) {
|
|
@@ -3343,7 +3343,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3343
3343
|
clear: both;
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|
|
3346
|
-
.ar-16-9 {
|
|
3346
|
+
.ar-16-9, .ar-16-9 > img {
|
|
3347
3347
|
aspect-ratio: 16 / 9;
|
|
3348
3348
|
}
|
|
3349
3349
|
@supports not (aspect-ratio: 16 / 9) {
|
|
@@ -3359,7 +3359,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3359
3359
|
clear: both;
|
|
3360
3360
|
}
|
|
3361
3361
|
}
|
|
3362
|
-
.ar-16-7 {
|
|
3362
|
+
.ar-16-7, .ar-16-7 > img {
|
|
3363
3363
|
aspect-ratio: 16 / 7;
|
|
3364
3364
|
}
|
|
3365
3365
|
@supports not (aspect-ratio: 16 / 7) {
|
|
@@ -3375,7 +3375,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3375
3375
|
clear: both;
|
|
3376
3376
|
}
|
|
3377
3377
|
}
|
|
3378
|
-
.ar-4-3 {
|
|
3378
|
+
.ar-4-3, .ar-4-3 > img {
|
|
3379
3379
|
aspect-ratio: 4 / 3;
|
|
3380
3380
|
}
|
|
3381
3381
|
@supports not (aspect-ratio: 4 / 3) {
|
|
@@ -3391,7 +3391,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3391
3391
|
clear: both;
|
|
3392
3392
|
}
|
|
3393
3393
|
}
|
|
3394
|
-
.ar-4-1 {
|
|
3394
|
+
.ar-4-1, .ar-4-1 > img {
|
|
3395
3395
|
aspect-ratio: 4 / 1;
|
|
3396
3396
|
}
|
|
3397
3397
|
@supports not (aspect-ratio: 4 / 1) {
|
|
@@ -3407,7 +3407,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3407
3407
|
clear: both;
|
|
3408
3408
|
}
|
|
3409
3409
|
}
|
|
3410
|
-
.ar-1-1 {
|
|
3410
|
+
.ar-1-1, .ar-1-1 > img {
|
|
3411
3411
|
aspect-ratio: 1 / 1;
|
|
3412
3412
|
}
|
|
3413
3413
|
@supports not (aspect-ratio: 1 / 1) {
|
|
@@ -3423,7 +3423,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3423
3423
|
clear: both;
|
|
3424
3424
|
}
|
|
3425
3425
|
}
|
|
3426
|
-
.ar-100-27 {
|
|
3426
|
+
.ar-100-27, .ar-100-27 > img {
|
|
3427
3427
|
aspect-ratio: 100 / 27.1;
|
|
3428
3428
|
}
|
|
3429
3429
|
@supports not (aspect-ratio: 100 / 27.1) {
|
|
@@ -3439,7 +3439,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3439
3439
|
clear: both;
|
|
3440
3440
|
}
|
|
3441
3441
|
}
|
|
3442
|
-
.ar-9-16 {
|
|
3442
|
+
.ar-9-16, .ar-9-16 > img {
|
|
3443
3443
|
aspect-ratio: 9 / 16;
|
|
3444
3444
|
}
|
|
3445
3445
|
@supports not (aspect-ratio: 9 / 16) {
|
|
@@ -3455,7 +3455,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3455
3455
|
clear: both;
|
|
3456
3456
|
}
|
|
3457
3457
|
}
|
|
3458
|
-
.ar-7-16 {
|
|
3458
|
+
.ar-7-16, .ar-7-16 > img {
|
|
3459
3459
|
aspect-ratio: 7 / 16;
|
|
3460
3460
|
}
|
|
3461
3461
|
@supports not (aspect-ratio: 7 / 16) {
|
|
@@ -3704,7 +3704,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3704
3704
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3705
3705
|
}
|
|
3706
3706
|
.-ordered {
|
|
3707
|
-
counter-increment:
|
|
3707
|
+
counter-increment: cnt1721129529899 1;
|
|
3708
3708
|
}
|
|
3709
3709
|
.-ordered::before {
|
|
3710
3710
|
position: absolute;
|
|
@@ -3720,7 +3720,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3720
3720
|
letter-spacing: .0125em;
|
|
3721
3721
|
--tw-text-opacity: 1;
|
|
3722
3722
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3723
|
-
content: counter(
|
|
3723
|
+
content: counter(cnt1721129529899);
|
|
3724
3724
|
}
|
|
3725
3725
|
/*! ****************************/
|
|
3726
3726
|
/*! DataPolicy stuff */
|
|
@@ -5787,7 +5787,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5787
5787
|
.print\:overflow-auto {
|
|
5788
5788
|
overflow: auto;
|
|
5789
5789
|
}
|
|
5790
|
-
.print\:ar-auto {
|
|
5790
|
+
.print\:ar-auto,.print\:ar-auto > img {
|
|
5791
5791
|
aspect-ratio: auto;
|
|
5792
5792
|
}
|
|
5793
5793
|
|
|
@@ -5961,7 +5961,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5961
5961
|
line-height: 1.5;
|
|
5962
5962
|
}
|
|
5963
5963
|
|
|
5964
|
-
.sm480\:ar-16-7 {
|
|
5964
|
+
.sm480\:ar-16-7,.sm480\:ar-16-7 > img {
|
|
5965
5965
|
aspect-ratio: 16 / 7;
|
|
5966
5966
|
}
|
|
5967
5967
|
|
|
@@ -5993,7 +5993,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5993
5993
|
@media print {
|
|
5994
5994
|
|
|
5995
5995
|
@media (min-width: 480px) {
|
|
5996
|
-
.print\:sm480\:ar-auto {
|
|
5996
|
+
.print\:sm480\:ar-auto,.print\:sm480\:ar-auto > img {
|
|
5997
5997
|
aspect-ratio: auto;
|
|
5998
5998
|
}
|
|
5999
5999
|
|
|
@@ -6284,7 +6284,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6284
6284
|
font-size: 1.25rem;
|
|
6285
6285
|
line-height: 1.6875rem;
|
|
6286
6286
|
}
|
|
6287
|
-
.sm\:ar-auto {
|
|
6287
|
+
.sm\:ar-auto,.sm\:ar-auto > img {
|
|
6288
6288
|
aspect-ratio: auto;
|
|
6289
6289
|
}
|
|
6290
6290
|
|
|
@@ -6313,7 +6313,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
}
|
|
6315
6315
|
|
|
6316
|
-
.sm\:ar-16-9 {
|
|
6316
|
+
.sm\:ar-16-9,.sm\:ar-16-9 > img {
|
|
6317
6317
|
aspect-ratio: 16 / 9;
|
|
6318
6318
|
}
|
|
6319
6319
|
|
|
@@ -6888,7 +6888,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6888
6888
|
transition-property: none;
|
|
6889
6889
|
}
|
|
6890
6890
|
|
|
6891
|
-
.md\:ar-16-9 {
|
|
6891
|
+
.md\:ar-16-9,.md\:ar-16-9 > img {
|
|
6892
6892
|
aspect-ratio: 16 / 9;
|
|
6893
6893
|
}
|
|
6894
6894
|
|
|
@@ -6917,7 +6917,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6917
6917
|
}
|
|
6918
6918
|
}
|
|
6919
6919
|
|
|
6920
|
-
.md\:ar-1-1 {
|
|
6920
|
+
.md\:ar-1-1,.md\:ar-1-1 > img {
|
|
6921
6921
|
aspect-ratio: 1 / 1;
|
|
6922
6922
|
}
|
|
6923
6923
|
|
|
@@ -6945,7 +6945,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6945
6945
|
clear: both;
|
|
6946
6946
|
}
|
|
6947
6947
|
}
|
|
6948
|
-
.md\:ar-100-27 {
|
|
6948
|
+
.md\:ar-100-27,.md\:ar-100-27 > img {
|
|
6949
6949
|
aspect-ratio: 100 / 27.1;
|
|
6950
6950
|
}
|
|
6951
6951
|
|
|
@@ -7032,7 +7032,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
7032
7032
|
@media print {
|
|
7033
7033
|
|
|
7034
7034
|
@media (min-width: 768px) {
|
|
7035
|
-
.print\:md\:ar-auto {
|
|
7035
|
+
.print\:md\:ar-auto,.print\:md\:ar-auto > img {
|
|
7036
7036
|
aspect-ratio: auto;
|
|
7037
7037
|
}
|
|
7038
7038
|
|
|
@@ -7539,7 +7539,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
7539
7539
|
.lg\:duration-0 {
|
|
7540
7540
|
transition-duration: 0ms;
|
|
7541
7541
|
}
|
|
7542
|
-
.lg\:ar-100-27 {
|
|
7542
|
+
.lg\:ar-100-27,.lg\:ar-100-27 > img {
|
|
7543
7543
|
aspect-ratio: 100 / 27.1;
|
|
7544
7544
|
}
|
|
7545
7545
|
|
|
@@ -7649,7 +7649,7 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
7649
7649
|
.print\:lg\:hidden {
|
|
7650
7650
|
display: none;
|
|
7651
7651
|
}
|
|
7652
|
-
.print\:lg\:ar-auto {
|
|
7652
|
+
.print\:lg\:ar-auto,.print\:lg\:ar-auto > img {
|
|
7653
7653
|
aspect-ratio: auto;
|
|
7654
7654
|
}
|
|
7655
7655
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{{#with this.srcset}} srcset="{{this}}"{{/with}}>
|
|
26
26
|
{{/each}}
|
|
27
27
|
{{/with}}
|
|
28
|
-
<img class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}"{{#if ../_noDelay}} fetchpriority="high"{{/if}} src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
28
|
+
<img {{#if ../_isWebview}}data-primary-type="hr-nt:image" data-image-id="{{nextRandom}}"{{/if}} class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}"{{#if ../_noDelay}} fetchpriority="high"{{/if}} src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
29
29
|
</picture>
|
|
30
30
|
{{/if}}
|
|
31
31
|
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
{{#with this.sizes}} sizes="{{this}}" {{/with~}}
|
|
43
43
|
loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
|
|
44
44
|
{{#if ../../_noDelay}}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
fetchpriority="high"
|
|
46
|
+
{{/if}}
|
|
47
|
+
{{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
|
|
48
48
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
|
49
49
|
alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
|
|
50
50
|
class="w-full{{~#with ../../_addClassImg }} {{this}}{{/with}}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-6"]'}}{{~/if~}}">
|
|
2
2
|
{{~#if this.showGenreImage}}
|
|
3
3
|
<div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:ar-1-1 md:pl-5"]'}}">
|
|
4
|
-
{{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.
|
|
4
|
+
{{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=(inline-switch this.realTeaserSize '["100"]' '["ar-16-9 md:ar-1-1","ar-16-9"]')~}}
|
|
5
5
|
</div>
|
|
6
6
|
{{~/if~}}
|
|
7
7
|
{{~#if this.showFirstImage}}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{{/unless}}
|
|
10
10
|
|
|
11
11
|
{{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
|
|
12
|
-
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg
|
|
12
|
+
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=_addClassImg _noDelay=_noDelay ~}}
|
|
13
13
|
{{#if this.isTickerTeaser}}</a>{{/if}}
|
|
14
14
|
|
|
15
15
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{{#with this.srcset}} srcset="{{this}}"{{/with}}>
|
|
26
26
|
{{/each}}
|
|
27
27
|
{{/with}}
|
|
28
|
-
<img class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}"{{#if ../_noDelay}} fetchpriority="high"{{/if}} src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
28
|
+
<img {{#if ../_isWebview}}data-primary-type="hr-nt:image" data-image-id="{{nextRandom}}"{{/if}} class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}"{{#if ../_noDelay}} fetchpriority="high"{{/if}} src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
29
29
|
</picture>
|
|
30
30
|
{{/if}}
|
|
31
31
|
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
{{#with this.sizes}} sizes="{{this}}" {{/with~}}
|
|
43
43
|
loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
|
|
44
44
|
{{#if ../../_noDelay}}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
fetchpriority="high"
|
|
46
|
+
{{/if}}
|
|
47
|
+
{{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
|
|
48
48
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
|
49
49
|
alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
|
|
50
50
|
class="w-full{{~#with ../../_addClassImg }} {{this}}{{/with}}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-6"]'}}{{~/if~}}">
|
|
2
2
|
{{~#if this.showGenreImage}}
|
|
3
3
|
<div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:ar-1-1 md:pl-5"]'}}">
|
|
4
|
-
{{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.
|
|
4
|
+
{{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=(inline-switch this.realTeaserSize '["100"]' '["ar-16-9 md:ar-1-1","ar-16-9"]')~}}
|
|
5
5
|
</div>
|
|
6
6
|
{{~/if~}}
|
|
7
7
|
{{~#if this.showFirstImage}}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "1.82.
|
|
9
|
+
"version": "1.82.5",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
/*! ****************************/
|
|
7
7
|
/*! Aspect Ratio with fallback */
|
|
8
8
|
/*! ****************************/
|
|
9
|
-
.ar-auto {
|
|
9
|
+
.ar-auto, .ar-auto > img {
|
|
10
10
|
aspect-ratio: auto;
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.ar-16-9 {
|
|
27
|
+
.ar-16-9, .ar-16-9 > img {
|
|
28
28
|
aspect-ratio: 16 / 9;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.ar-16-7 {
|
|
45
|
+
.ar-16-7, .ar-16-7 > img {
|
|
46
46
|
aspect-ratio: 16 / 7;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.ar-4-3 {
|
|
63
|
+
.ar-4-3, .ar-4-3 > img {
|
|
64
64
|
aspect-ratio: 4 / 3;
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.ar-4-1 {
|
|
81
|
+
.ar-4-1, .ar-4-1 > img {
|
|
82
82
|
aspect-ratio: 4 / 1;
|
|
83
83
|
}
|
|
84
84
|
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
.ar-1-1 {
|
|
99
|
+
.ar-1-1, .ar-1-1 > img {
|
|
100
100
|
aspect-ratio: 1 / 1;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
clear: both;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
.ar-100-27 {
|
|
116
|
+
.ar-100-27, .ar-100-27 > img {
|
|
117
117
|
aspect-ratio: 100 / 27.1;
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
.ar-9-16 {
|
|
134
|
+
.ar-9-16, .ar-9-16 > img {
|
|
135
135
|
aspect-ratio: 9 / 16;
|
|
136
136
|
}
|
|
137
137
|
@supports not (aspect-ratio: 9 / 16) {
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
.ar-7-16 {
|
|
151
|
+
.ar-7-16, .ar-7-16 > img {
|
|
152
152
|
aspect-ratio: 7 / 16;
|
|
153
153
|
}
|
|
154
154
|
@supports not (aspect-ratio: 7 / 16) {
|
|
@@ -9,6 +9,23 @@
|
|
|
9
9
|
{
|
|
10
10
|
"@->contentpath": "logicItem.includeModel.realTeaserSize",
|
|
11
11
|
"@->value": "25"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"@->contentpath": "logicItem.includeModel.isMobile1to1",
|
|
15
|
+
"@->value": "true"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"@->contentpath": "logicItem.includeModel.teaserImage",
|
|
19
|
+
"@->value": {
|
|
20
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
21
|
+
"@->contentpath": "teaser_25",
|
|
22
|
+
"@->replaceToken": [
|
|
23
|
+
{
|
|
24
|
+
"@->token": "image",
|
|
25
|
+
"@->value": "mercedes-suv-g-100"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
12
29
|
}
|
|
13
30
|
]
|
|
14
31
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{{#with this.srcset}} srcset="{{this}}"{{/with}}>
|
|
26
26
|
{{/each}}
|
|
27
27
|
{{/with}}
|
|
28
|
-
<img class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}"{{#if ../_noDelay}} fetchpriority="high"{{/if}} src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
28
|
+
<img {{#if ../_isWebview}}data-primary-type="hr-nt:image" data-image-id="{{nextRandom}}"{{/if}} class="w-full{{~#if ../_addClassImg}} {{../_addClassImg}}{{/if}}" loading="{{#if ../_noDelay}}auto{{else}}lazy{{/if}}"{{#if ../_noDelay}} fetchpriority="high"{{/if}} src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{#if ../_alttext}}{{../_alttext}}{{else}}{{../this.alttext}}{{/if}}" {{~#if ../_title}} title="{{../_title}}"{{~/if}} {{~#if ../_errorHandler }} onerror="this.onerror=null; {{../_errorHandler}}"{{/if}}>
|
|
29
29
|
</picture>
|
|
30
30
|
{{/if}}
|
|
31
31
|
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
{{#with this.sizes}} sizes="{{this}}" {{/with~}}
|
|
43
43
|
loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
|
|
44
44
|
{{#if ../../_noDelay}}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
fetchpriority="high"
|
|
46
|
+
{{/if}}
|
|
47
|
+
{{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
|
|
48
48
|
src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
|
|
49
49
|
alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
|
|
50
50
|
class="w-full{{~#with ../../_addClassImg }} {{this}}{{/with}}"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="flex flex-col {{~#if this.showFirstImageOrGenreImage}}{{~inline-switch this.realTeaserSize '["100"]' '[" md:flex-row md:gap-x-6"]'}}{{~/if~}}">
|
|
2
2
|
{{~#if this.showGenreImage}}
|
|
3
3
|
<div class="pb-5{{~inline-switch this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:ar-1-1 md:pl-5"]'}}">
|
|
4
|
-
{{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=this.
|
|
4
|
+
{{~> components/base/image/responsive_image this.genreImage _type=this.teaserType _variant=this.imageVariant _addClass=(inline-switch this.realTeaserSize '["100"]' '["ar-16-9 md:ar-1-1","ar-16-9"]')~}}
|
|
5
5
|
</div>
|
|
6
6
|
{{~/if~}}
|
|
7
7
|
{{~#if this.showFirstImage}}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{{/unless}}
|
|
10
10
|
|
|
11
11
|
{{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
|
|
12
|
-
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=_addClassImg
|
|
12
|
+
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.imageVariant this.imageVariant '100-copytext') _addClassImg=_addClassImg _noDelay=_noDelay ~}}
|
|
13
13
|
{{#if this.isTickerTeaser}}</a>{{/if}}
|
|
14
14
|
|
|
15
15
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"25","realTeaserSize":"25","isMobile1to1":
|
|
1
|
+
{"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"title":"Mercedes-Luxusautos in Millionenhöhe gestohlen","topline":"Spektakuläre Diebstähle in Südhessen","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard","teaserSize":"25","realTeaserSize":"25","isMobile1to1":"true","teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/mercedes-suv-g-100_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","sizes":"40vw","srcset":"images/mercedes-suv-g-100_v-1to1__small.jpg 380w, images/mercedes-suv-g-100_v-1to1__medium.jpg 480w, images/mercedes-suv-g-100_v-1to1.jpg 720w, images/mercedes-suv-g-100_v-1to1__large.jpg 960w"},{"media":"all and (min-width: 48em) ","sizes":"33vw","srcset":"images/mercedes-suv-g-100_v-16to9__small.jpg 320w, images/mercedes-suv-g-100_v-16to9__medium.jpg 480w, images/mercedes-suv-g-100_v-16to9__medium__extended.jpg 640w, images/mercedes-suv-g-100_v-16to9.jpg 960w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":false,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isAudioOnDemand":false,"isVideo":false,"isVideoOnDemand":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":true,"isAuthor":false,"hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"Panorama","headlineTag":"h1","icon":"","imageVariant":"topteaser","shorttext":"Die besten Themen in der Tagesschau App","hideBylineAndShorttext":false,"sophoraId":"textlink-256446","profiles":"","teaserLead":{"avDocument":"","image":""},"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":true,"hasIcon":true,"iconName":"extern","readMoreText":{"readMoreScreenreader":"Zur Tagesschau Website","readMore":"Zur Tagesschau Website","readMoreLong":"Zur Tagesschau Website"},"isUserConsentNeeded":false}}}}
|