hr-design-system-handlebars 0.85.1 → 0.87.0
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/.github/workflows/chromatic.yml +1 -0
- package/CHANGELOG.md +29 -0
- package/dist/assets/index.css +71 -28
- package/dist/views/components/teaser/cluster/teaser_cluster.hbs +2 -2
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_body.hbs +3 -2
- package/dist/views/components/teaser/components/teaser_heading.hbs +6 -3
- package/dist/views/components/teaser/components/teaser_image.hbs +18 -1
- package/dist/views/components/teaser/components/teaser_lead.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_text.hbs +6 -0
- package/package.json +1 -1
- package/src/assets/fixtures/teaser/cluster_teaser_extern_100.json +8 -0
- package/src/assets/fixtures/teaser/cluster_teaser_extern_33.json +8 -0
- package/src/assets/fixtures/teaser/cluster_teaser_extern_50.json +8 -0
- package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_program.json +14 -0
- package/src/assets/fixtures/teaser/teaser_cluster.inc.json +1 -1
- package/src/assets/fixtures/teaser/teaser_labels.inc.json +8 -0
- package/src/assets/fixtures/teaser/teaser_standard_100_serif_program.json +10 -0
- package/src/assets/fixtures/teaser/teasers.inc.json +99 -0
- package/src/assets/tailwind.css +55 -23
- package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +2 -2
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_body.hbs +3 -2
- package/src/stories/views/components/teaser/components/teaser_heading.hbs +6 -3
- package/src/stories/views/components/teaser/components/teaser_image.hbs +18 -1
- package/src/stories/views/components/teaser/components/teaser_lead.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_text.hbs +6 -0
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_genre.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_image.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_33.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_genre.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_image.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_50.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_genre.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_image.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_33.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_50.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_33.json +1 -1
- package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_50.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_l.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_program.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_program.json +1 -0
- package/src/stories/views/components/teaser/teaser_alternativ.stories.mdx +4 -0
- package/src/stories/views/components/teaser/teaser_standard.stories.mdx +4 -0
- package/tailwind.config.js +5 -1
- package/build/handlebars/partials/handlebar-partials.js +0 -86
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
# v0.87.0 (Tue Nov 22 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Feature/dpe 1671: Program-Teaser in Design-System [#394](https://github.com/mumprod/hr-design-system-handlebars/pull/394) ([@mariokinzel](https://github.com/mariokinzel))
|
|
6
|
+
|
|
7
|
+
#### 🐛 Bug Fix
|
|
8
|
+
|
|
9
|
+
- FEATURE: Runs partialsToJs script in chromatic [#393](https://github.com/mumprod/hr-design-system-handlebars/pull/393) ([@szuelch](https://github.com/szuelch))
|
|
10
|
+
|
|
11
|
+
#### Authors: 2
|
|
12
|
+
|
|
13
|
+
- [@mariokinzel](https://github.com/mariokinzel)
|
|
14
|
+
- [@szuelch](https://github.com/szuelch)
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# v0.86.0 (Fri Nov 18 2022)
|
|
19
|
+
|
|
20
|
+
#### 🚀 Enhancement
|
|
21
|
+
|
|
22
|
+
- Feature/dpe 1677 [#391](https://github.com/mumprod/hr-design-system-handlebars/pull/391) ([@szuelch](https://github.com/szuelch))
|
|
23
|
+
|
|
24
|
+
#### Authors: 1
|
|
25
|
+
|
|
26
|
+
- [@szuelch](https://github.com/szuelch)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
1
30
|
# v0.85.1 (Thu Nov 17 2022)
|
|
2
31
|
|
|
3
32
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1472,6 +1472,10 @@ video {
|
|
|
1472
1472
|
--tw-border-opacity: 1;
|
|
1473
1473
|
border-color: rgba(229, 231, 235, var(--tw-border-opacity));
|
|
1474
1474
|
}
|
|
1475
|
+
.border-clusterTeaserHeadline {
|
|
1476
|
+
border-color: #005293;
|
|
1477
|
+
border-color: var(--color-cluster-teaser-headline,#000);
|
|
1478
|
+
}
|
|
1475
1479
|
.bg-red-200 {
|
|
1476
1480
|
--tw-bg-opacity: 1;
|
|
1477
1481
|
background-color: rgba(254, 202, 202, var(--tw-bg-opacity));
|
|
@@ -1975,9 +1979,13 @@ video {
|
|
|
1975
1979
|
--tw-text-opacity: 1;
|
|
1976
1980
|
color: rgba(39, 107, 158, var(--tw-text-opacity));
|
|
1977
1981
|
}
|
|
1978
|
-
.text-
|
|
1982
|
+
.text-clusterTeaserHeadline {
|
|
1979
1983
|
color: #005293;
|
|
1980
|
-
color: var(--color-cluster-teaser-
|
|
1984
|
+
color: var(--color-cluster-teaser-headline,#000);
|
|
1985
|
+
}
|
|
1986
|
+
.text-clusterTeaserLink {
|
|
1987
|
+
color: #006dc1;
|
|
1988
|
+
color: var(--color-cluster-teaser-link,#000);
|
|
1981
1989
|
}
|
|
1982
1990
|
.text-link {
|
|
1983
1991
|
color: #006eb7;
|
|
@@ -2244,7 +2252,7 @@ video {
|
|
|
2244
2252
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2245
2253
|
}
|
|
2246
2254
|
.counter-reset {
|
|
2247
|
-
counter-reset:
|
|
2255
|
+
counter-reset: cnt1669107292058;
|
|
2248
2256
|
}
|
|
2249
2257
|
.line-clamp-4 {
|
|
2250
2258
|
overflow: hidden;
|
|
@@ -2633,7 +2641,7 @@ video {
|
|
|
2633
2641
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2634
2642
|
}
|
|
2635
2643
|
.-ordered {
|
|
2636
|
-
counter-increment:
|
|
2644
|
+
counter-increment: cnt1669107292058 1;
|
|
2637
2645
|
}
|
|
2638
2646
|
.-ordered::before {
|
|
2639
2647
|
position: absolute;
|
|
@@ -2649,7 +2657,7 @@ video {
|
|
|
2649
2657
|
letter-spacing: .0125em;
|
|
2650
2658
|
--tw-text-opacity: 1;
|
|
2651
2659
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2652
|
-
content: counter(
|
|
2660
|
+
content: counter(cnt1669107292058);
|
|
2653
2661
|
}
|
|
2654
2662
|
.\[-T\:\+Z\] {
|
|
2655
2663
|
--t: +Z;
|
|
@@ -2673,14 +2681,17 @@ video {
|
|
|
2673
2681
|
/* Infografik */
|
|
2674
2682
|
--color-label-infografik: #be005a;
|
|
2675
2683
|
/* Sendung */
|
|
2676
|
-
--color-label-program: #009bc6;
|
|
2677
2684
|
/* Download */
|
|
2678
2685
|
--color-label-download: #606060;
|
|
2679
2686
|
/* Pressemitteilungen */
|
|
2680
2687
|
--color-label-pm: #006eb7;
|
|
2688
|
+
/* Sendungsdokument */
|
|
2689
|
+
--color-label-program: #009bc6;
|
|
2681
2690
|
/* Dachzeile */
|
|
2682
2691
|
--color-topline: #006dc1;
|
|
2683
|
-
/*
|
|
2692
|
+
/* Subline */
|
|
2693
|
+
--color-subline: var(--color-topline);
|
|
2694
|
+
/* Link */
|
|
2684
2695
|
--color-link: #006eb7;
|
|
2685
2696
|
/* Stage */
|
|
2686
2697
|
--color-stage-text-box: #006eb7;
|
|
@@ -2690,7 +2701,8 @@ video {
|
|
|
2690
2701
|
/* geoTag */
|
|
2691
2702
|
--color-geoTag: #E5F2F3;
|
|
2692
2703
|
/* Cluster-Teaser */
|
|
2693
|
-
--color-cluster-teaser-
|
|
2704
|
+
--color-cluster-teaser-link: #006dc1;
|
|
2705
|
+
--color-cluster-teaser-headline: #005293;
|
|
2694
2706
|
}
|
|
2695
2707
|
[data-theme='hessenschau'] {
|
|
2696
2708
|
--color-primary: #005293;
|
|
@@ -2716,7 +2728,9 @@ video {
|
|
|
2716
2728
|
--color-label-pm: #006eb7;
|
|
2717
2729
|
/* Dachzeile */
|
|
2718
2730
|
--color-topline: #006dc1;
|
|
2719
|
-
/*
|
|
2731
|
+
/* Subline */
|
|
2732
|
+
--color-subline: var(--color-topline);
|
|
2733
|
+
/* Link */
|
|
2720
2734
|
--color-link: #006dc1;
|
|
2721
2735
|
/*Stage */
|
|
2722
2736
|
--color-stage-text-box: #433d37;
|
|
@@ -2725,7 +2739,8 @@ video {
|
|
|
2725
2739
|
/* geoTag */
|
|
2726
2740
|
--color-geoTag: #E5F2F3;
|
|
2727
2741
|
/* Cluster-Teaser */
|
|
2728
|
-
--color-cluster-teaser-
|
|
2742
|
+
--color-cluster-teaser-link: #006dc1;
|
|
2743
|
+
--color-cluster-teaser-headline: #005293;
|
|
2729
2744
|
}
|
|
2730
2745
|
[data-theme='hr-fernsehen'] {
|
|
2731
2746
|
--color-primary: #c20016;
|
|
@@ -2746,8 +2761,10 @@ video {
|
|
|
2746
2761
|
/* Event */
|
|
2747
2762
|
--color-label-event: #000000;
|
|
2748
2763
|
/* Dachzeile */
|
|
2749
|
-
--color-topline: #
|
|
2750
|
-
/*
|
|
2764
|
+
--color-topline: #a00d65;
|
|
2765
|
+
/* Subline */
|
|
2766
|
+
--color-subline: var(--color-topline);
|
|
2767
|
+
/* Link */
|
|
2751
2768
|
--color-link: #a00d65;
|
|
2752
2769
|
/* Stage */
|
|
2753
2770
|
--color-stage-text-box: #eaeded;
|
|
@@ -2774,8 +2791,10 @@ video {
|
|
|
2774
2791
|
/* Event */
|
|
2775
2792
|
--color-label-event: #000000;
|
|
2776
2793
|
/* Dachzeile */
|
|
2777
|
-
--color-topline: #
|
|
2778
|
-
/*
|
|
2794
|
+
--color-topline: #276b9e;
|
|
2795
|
+
/* Subline */
|
|
2796
|
+
--color-subline: var(--color-topline);
|
|
2797
|
+
/* Link */
|
|
2779
2798
|
--color-link: #276b9e;
|
|
2780
2799
|
/* Stage */
|
|
2781
2800
|
--color-stage-text-box: #00375d;
|
|
@@ -2803,7 +2822,9 @@ video {
|
|
|
2803
2822
|
/* Pressemitteilungen */
|
|
2804
2823
|
--color-label-pm: #006eb7;
|
|
2805
2824
|
/* Dachzeile */
|
|
2806
|
-
--color-topline: #
|
|
2825
|
+
--color-topline: #006eb7;
|
|
2826
|
+
/* Subline */
|
|
2827
|
+
--color-subline: var(--color-topline);
|
|
2807
2828
|
/* Link */
|
|
2808
2829
|
--color-link: #006eb7;
|
|
2809
2830
|
}
|
|
@@ -2828,7 +2849,9 @@ video {
|
|
|
2828
2849
|
/* Pressemitteilungen */
|
|
2829
2850
|
--color-label-pm: #006eb7;
|
|
2830
2851
|
/* Dachzeile */
|
|
2831
|
-
--color-topline: #
|
|
2852
|
+
--color-topline: #006eb7;
|
|
2853
|
+
/* Subline */
|
|
2854
|
+
--color-subline: var(--color-topline);
|
|
2832
2855
|
/* Link */
|
|
2833
2856
|
--color-link: #006eb7;
|
|
2834
2857
|
}
|
|
@@ -2851,7 +2874,9 @@ video {
|
|
|
2851
2874
|
/* Event */
|
|
2852
2875
|
--color-label-event: #000000;
|
|
2853
2876
|
/* Dachzeile */
|
|
2854
|
-
--color-topline:
|
|
2877
|
+
--color-topline: rgba(171,47,45,1);
|
|
2878
|
+
/* Subline */
|
|
2879
|
+
--color-subline: var(--color-topline);
|
|
2855
2880
|
/* Link */
|
|
2856
2881
|
--color-link: rgba(171,47,45,1);
|
|
2857
2882
|
/* Stage */
|
|
@@ -2878,7 +2903,9 @@ video {
|
|
|
2878
2903
|
/* Event */
|
|
2879
2904
|
--color-label-event: #000000;
|
|
2880
2905
|
/* Dachzeile */
|
|
2881
|
-
--color-topline:
|
|
2906
|
+
--color-topline: rgba(0,122,124,1);
|
|
2907
|
+
/* Subline */
|
|
2908
|
+
--color-subline: var(--color-topline);
|
|
2882
2909
|
/* Link */
|
|
2883
2910
|
--color-link: rgba(0,122,124,1);
|
|
2884
2911
|
/* Stage */
|
|
@@ -2907,7 +2934,9 @@ video {
|
|
|
2907
2934
|
/* Pressemitteilungen */
|
|
2908
2935
|
--color-label-pm: #006eb7;
|
|
2909
2936
|
/* Dachzeile */
|
|
2910
|
-
--color-topline: #
|
|
2937
|
+
--color-topline: #006eb7;
|
|
2938
|
+
/* Subline */
|
|
2939
|
+
--color-subline: var(--color-topline);
|
|
2911
2940
|
/* Link */
|
|
2912
2941
|
--color-link: #006eb7;
|
|
2913
2942
|
/* Stage */
|
|
@@ -2932,8 +2961,10 @@ video {
|
|
|
2932
2961
|
/* Event */
|
|
2933
2962
|
--color-label-event: #000000;
|
|
2934
2963
|
/* Dachzeile */
|
|
2935
|
-
--color-topline:
|
|
2936
|
-
/*
|
|
2964
|
+
--color-topline: rgba(145,107,0,1);
|
|
2965
|
+
/* Subline */
|
|
2966
|
+
--color-subline: var(--color-topline);
|
|
2967
|
+
/* Link */
|
|
2937
2968
|
--color-link: rgba(145,107,0,1);
|
|
2938
2969
|
/* Stage */
|
|
2939
2970
|
--color-stage-text-box: #433d37;
|
|
@@ -2959,8 +2990,10 @@ video {
|
|
|
2959
2990
|
/* Event */
|
|
2960
2991
|
--color-label-event: #000000;
|
|
2961
2992
|
/* Dachzeile */
|
|
2962
|
-
--color-topline:
|
|
2963
|
-
/*
|
|
2993
|
+
--color-topline: rgba(140,3,61,1);
|
|
2994
|
+
/* Subline */
|
|
2995
|
+
--color-subline: var(--color-topline);
|
|
2996
|
+
/* Link */
|
|
2964
2997
|
--color-link: rgba(140,3,61,1);
|
|
2965
2998
|
/* Stage */
|
|
2966
2999
|
--color-stage-text-box: #ffffff;
|
|
@@ -2988,7 +3021,9 @@ video {
|
|
|
2988
3021
|
--color-label-event: #000000;
|
|
2989
3022
|
/* Dachzeile */
|
|
2990
3023
|
--color-topline: #c20016;
|
|
2991
|
-
/*
|
|
3024
|
+
/* Subline */
|
|
3025
|
+
--color-subline: var(--color-topline);
|
|
3026
|
+
/* Link */
|
|
2992
3027
|
--color-link: #c20016;
|
|
2993
3028
|
/* Stage */
|
|
2994
3029
|
--color-stage-text-box: #ffffff;
|
|
@@ -3017,8 +3052,10 @@ video {
|
|
|
3017
3052
|
/* Event */
|
|
3018
3053
|
--color-label-event: #000000;
|
|
3019
3054
|
/* Dachzeile */
|
|
3020
|
-
--color-topline:
|
|
3021
|
-
/*
|
|
3055
|
+
--color-topline: rgba(15,97,87,1);
|
|
3056
|
+
/* Subline */
|
|
3057
|
+
--color-subline: var(--color-topline);
|
|
3058
|
+
/* Link */
|
|
3022
3059
|
--color-link: rgba(15,97,87,1);
|
|
3023
3060
|
/* Stage */
|
|
3024
3061
|
--color-stage-text-box: #ffffff;
|
|
@@ -3045,8 +3082,10 @@ video {
|
|
|
3045
3082
|
/* Event */
|
|
3046
3083
|
--color-label-event: #000000;
|
|
3047
3084
|
/* Dachzeile */
|
|
3048
|
-
--color-topline:
|
|
3049
|
-
/*
|
|
3085
|
+
--color-topline: rgba(0,126,161,1);
|
|
3086
|
+
/* Subline */
|
|
3087
|
+
--color-subline: var(--color-topline);
|
|
3088
|
+
/* Link */
|
|
3050
3089
|
--color-link: rgba(0,126,161,1);
|
|
3051
3090
|
/* Stage */
|
|
3052
3091
|
--color-stage-text-box: #ffffff;
|
|
@@ -3168,6 +3207,10 @@ video {
|
|
|
3168
3207
|
.hover\:fill-blue-jellyBean:hover {
|
|
3169
3208
|
fill: #006dc1;
|
|
3170
3209
|
}
|
|
3210
|
+
.hover\:fill-topline:hover {
|
|
3211
|
+
fill: #006dc1;
|
|
3212
|
+
fill: var(--color-topline);
|
|
3213
|
+
}
|
|
3171
3214
|
.hover\:\!fill-congress:hover {
|
|
3172
3215
|
fill: #006dc1 !important;
|
|
3173
3216
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<article class="mx-5 md:mx-0 col-span-12 grid bg-blue-accented rounded-tl-3xl rounded-br-3xl {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
|
|
2
2
|
<div class="">
|
|
3
|
-
<h2 class="flex items-center px-5 py-6 font-bold font-headingSerif text-
|
|
3
|
+
<h2 class="flex items-center px-5 py-6 font-bold font-headingSerif text-clusterTeaserHeadline">
|
|
4
4
|
{{#if this.teaserLogo}}
|
|
5
5
|
<span>
|
|
6
6
|
{{> components/base/image/icon _icon=this.teaserLogo _iconmap="logo" _addClass=(inline-switch this.teaserLogo '["hessenschau_de"]' '["fill-[#005293] w-10 md:w-12 h-10 md:h-12","fill-[#005293] w-40 lg:w-52 h-8 md:h-12"]')}}
|
|
7
7
|
</span>
|
|
8
8
|
{{/if}}
|
|
9
9
|
{{#if this.title}}
|
|
10
|
-
<span class="text-lg md:text-2xl border-
|
|
10
|
+
<span class="text-lg md:text-2xl border-clusterTeaserHeadline uppercase{{#if this.teaserLogo}} pl-3 ml-3 border-l-2 border-solid {{/if}}{{#if this.hideTitle}} sr-only{{/if}}">{{this.title}}</span>
|
|
11
11
|
{{/if}}
|
|
12
12
|
</h2>
|
|
13
13
|
{{> components/teaser/cluster/teaser_cluster_list _ordered=this.isOrdered}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}">
|
|
2
2
|
<header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
3
|
-
{{#decorator 'components/base/link' _css="hover:text-toplineColor" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2=
|
|
3
|
+
{{#decorator 'components/base/link' _css="hover:text-toplineColor" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2=(if this.trackingForArdMediatheksLink 'ARD-Mediatheksvideo Überschrift geklickt' 'headlineLink') }}
|
|
4
4
|
{{> components/teaser/components/teaser_heading
|
|
5
5
|
_fontVariant=this.headingFontVariant
|
|
6
6
|
_headlineTag=this.headlineTag
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
_title=this.title
|
|
11
11
|
_topline=this.topline
|
|
12
12
|
_teaserType=this.teaserType
|
|
13
|
-
_isMobile1to1=this.isMobile1to1
|
|
13
|
+
_isMobile1to1=this.isMobile1to1
|
|
14
|
+
_extendedTitle=this.extendedTitle}}
|
|
14
15
|
{{/decorator}}
|
|
15
16
|
</header>
|
|
16
17
|
<div class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
{{/with~}}
|
|
6
6
|
|
|
7
7
|
<{{~ _headlineTag ~}}>
|
|
8
|
-
|
|
9
|
-
{{> components/teaser/components/teaser_topline _css=
|
|
8
|
+
{{#if _topline}}
|
|
9
|
+
{{> components/teaser/components/teaser_topline _css=_css _text=_topline _readMore=_readMore _teaserType=_teaserType}}
|
|
10
|
+
{{/if}}
|
|
11
|
+
{{> components/teaser/components/teaser_title _css=_css _text=_title _fontVariant=_fontVariant _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _ordered=_ordered}}
|
|
12
|
+
{{#if _extendedTitle}}
|
|
13
|
+
<span class="text-toplineColor font-normal text-xl leading-6">{{_extendedTitle}}</span>
|
|
10
14
|
{{/if}}
|
|
11
|
-
{{> components/teaser/components/teaser_title _css=_titleCss _text=_title _fontVariant=_fontVariant _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _ordered=_ordered}}
|
|
12
15
|
</{{~ _headlineTag ~}}>
|
|
@@ -6,9 +6,26 @@
|
|
|
6
6
|
{{/with~}}
|
|
7
7
|
{{/unless}}
|
|
8
8
|
{{/unless}}
|
|
9
|
-
{{#decorator 'components/base/link' _isAriaHidden=true _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2=
|
|
9
|
+
{{#decorator 'components/base/link' _isAriaHidden=true _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.teaserSize _clickLabelPrefix2=(if this.trackingForArdMediatheksLink 'ARD-Mediatheksvideo Teaserbild geklickt' 'mediaLink') }}
|
|
10
10
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.imageVariant _noDelay=../this.dontLazyload _addClassImg="" ~}}
|
|
11
11
|
{{/decorator}}
|
|
12
|
+
{{#if this.isProgram}}
|
|
13
|
+
{{#if this.showMediatheksLink}}
|
|
14
|
+
{{#decorator 'components/base/link' _isAriaHidden=true _doTracking='true' _clickLabelPrefix1=this.sophoraId _clickLabelPrefix2="ARD-Mediatheksvideo Button geklickt"}}
|
|
15
|
+
{{> components/button/button_round
|
|
16
|
+
_isButton="true"
|
|
17
|
+
_addClass='absolute bottom-0 right-0 fill-white hover:text-white js-mediaplayer__button'
|
|
18
|
+
_buttonColor='text-toplineColor hover:fill-topline'
|
|
19
|
+
_buttonSpace=(inline-switch this.teaserSize '["25","33"]' '[" my-2 mx-2"," my-5 mx-5 md:my-3 md:mx-3"," my-5 mx-5"]')
|
|
20
|
+
_showIcon=true
|
|
21
|
+
_icon='play_button'
|
|
22
|
+
_label='Sendung'
|
|
23
|
+
_srOnly="true"
|
|
24
|
+
_alpineClick=""
|
|
25
|
+
}}
|
|
26
|
+
{{/decorator}}
|
|
27
|
+
{{/if}}
|
|
28
|
+
{{/if}}
|
|
12
29
|
</div>
|
|
13
30
|
{{#if this.isEvent}}
|
|
14
31
|
{{#unless this.displayTeaserBodyAsImageOverlay}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~#if this.allowAVConsumption ~}}
|
|
2
2
|
{{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize }}
|
|
3
3
|
{{else}}
|
|
4
|
-
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1}}
|
|
4
|
+
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
|
|
5
5
|
{{/if}}
|
|
@@ -7,3 +7,9 @@
|
|
|
7
7
|
<span class="inline-flex flex-wrap items-end hover:underline decoration-1">[{{this.link.readMoreText.readMore}}{{~#if this.link.hasIcon}}{{> components/base/image/icon _icon=this.link.iconName _iconmap="icons" _addClass="w-5 h-5 fill-current ml-1"}}{{/if~}}]</span>
|
|
8
8
|
{{/decorator}}
|
|
9
9
|
{{/if}}
|
|
10
|
+
{{#if this.showMediatheksLink}}
|
|
11
|
+
{{#decorator 'components/base/link' _css="inline-flex flex-end text-link hover:text-link" _doTracking=(if this.doTracking 'true') _clickLabelPrefix1=this.realTeasersize _clickLabelPrefix2="ARD-Mediatheksvideo mehr-Link geklickt"}}
|
|
12
|
+
<span class="inline-flex flex-wrap items-end hover:underline decoration-1">[{{this.link.readMoreText.readMore}}{{~#if this.link.hasIcon}}{{> components/base/image/icon _icon=this.link.iconName _iconmap="icons" _addClass="w-5 h-5 fill-current ml-1"}}{{/if~}}]</span>
|
|
13
|
+
{{/decorator}}
|
|
14
|
+
{{/if}}
|
|
15
|
+
|
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": "0.
|
|
9
|
+
"version": "0.87.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"@->contentpath": "teaserLogo",
|
|
10
10
|
"@->value": "tagesschau_de"
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
"@->contentpath": "title",
|
|
14
|
+
"@->value": "tagesschau"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"@->contentpath": "hideTitle",
|
|
18
|
+
"@->value": true
|
|
19
|
+
},
|
|
12
20
|
{
|
|
13
21
|
"@->contentpath": "overviewLink.link",
|
|
14
22
|
"@->value": ""
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"@->contentpath": "teaserLogo",
|
|
10
10
|
"@->value": "tagesschau_de"
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
"@->contentpath": "title",
|
|
14
|
+
"@->value": "tagesschau"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"@->contentpath": "hideTitle",
|
|
18
|
+
"@->value": true
|
|
19
|
+
},
|
|
12
20
|
{
|
|
13
21
|
"@->contentpath": "overviewLink.link",
|
|
14
22
|
"@->value": ""
|
|
@@ -9,6 +9,14 @@
|
|
|
9
9
|
"@->contentpath": "teaserLogo",
|
|
10
10
|
"@->value": "sportschau"
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
"@->contentpath": "title",
|
|
14
|
+
"@->value": "sportschau"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"@->contentpath": "hideTitle",
|
|
18
|
+
"@->value": true
|
|
19
|
+
},
|
|
12
20
|
{
|
|
13
21
|
"@->contentpath": "overviewLink.link",
|
|
14
22
|
"@->value": ""
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@->jsoninclude": "teaser/teasers.inc.json",
|
|
3
|
+
"@->contentpath": "teaserProgram",
|
|
4
|
+
"@->overrides": [
|
|
5
|
+
{
|
|
6
|
+
"@->contentpath": "logicItem.includePath",
|
|
7
|
+
"@->value": "components/teaser/teaser_alternative"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"@->contentpath": "logicItem.includeModel.teaserType",
|
|
11
|
+
"@->value": "alternative-ds"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -1022,6 +1022,105 @@
|
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
1024
|
},
|
|
1025
|
+
"teaserProgram": {
|
|
1026
|
+
"isSsi": true,
|
|
1027
|
+
"logicItem": {
|
|
1028
|
+
"includePath": "components/teaser/teaser_standard",
|
|
1029
|
+
"includeModel": {
|
|
1030
|
+
"byline": "Do. 22.12.2022 22:30 Uhr",
|
|
1031
|
+
"title": "Mittendrin - Frankfurt Flughafen (19)",
|
|
1032
|
+
"topline": "",
|
|
1033
|
+
"headingFontVariant": "serif",
|
|
1034
|
+
"extendedTitle": "Einsatz für die Enteiser am Flughafen",
|
|
1035
|
+
"teaserType": "standard-ds",
|
|
1036
|
+
"teaserSize": "hero",
|
|
1037
|
+
"isMobile1to1": false,
|
|
1038
|
+
"teaserDate": {
|
|
1039
|
+
"htmlDateTime": "2022-04-17T19:30+0200",
|
|
1040
|
+
"htmlDate": "20.02.1983",
|
|
1041
|
+
"date": "17.04.22",
|
|
1042
|
+
"dateSeparatorTime": "17.04.22, 19:30"
|
|
1043
|
+
},
|
|
1044
|
+
"teaserInfo": {
|
|
1045
|
+
"showTeaserInfo": true,
|
|
1046
|
+
"showTeaserInfoSection": false,
|
|
1047
|
+
"showTeaserInfoChannel": false,
|
|
1048
|
+
"showTeaserInfoAll": false,
|
|
1049
|
+
"showTeaserInfoDate": false,
|
|
1050
|
+
"showTeaserInfoDateTime": false,
|
|
1051
|
+
"showTeaserInfoProgramRef": true
|
|
1052
|
+
},
|
|
1053
|
+
"teaserImage": {
|
|
1054
|
+
"@->jsoninclude": "teaser/teaser_images.inc.json",
|
|
1055
|
+
"@->contentpath": "teaser_standard",
|
|
1056
|
+
"@->replaceToken": [
|
|
1057
|
+
{
|
|
1058
|
+
"@->token": "image",
|
|
1059
|
+
"@->value": "jugendfeuerwehr-102"
|
|
1060
|
+
}
|
|
1061
|
+
]
|
|
1062
|
+
},
|
|
1063
|
+
"displayTeaserBodyAsImageOverlay": false,
|
|
1064
|
+
"hasMediaButtons": true,
|
|
1065
|
+
"dontLazyload": true,
|
|
1066
|
+
"isStandardTeaser": true,
|
|
1067
|
+
"isHeroTeaser": true,
|
|
1068
|
+
"isMediaTeaser": true,
|
|
1069
|
+
"isGuide": false,
|
|
1070
|
+
"isProgram": true,
|
|
1071
|
+
"isEvent": false,
|
|
1072
|
+
"isTicker": false,
|
|
1073
|
+
"isAudio": false,
|
|
1074
|
+
"isVideo": false,
|
|
1075
|
+
"isPodcastEpisode": false,
|
|
1076
|
+
"isExtOrBrandLink": false,
|
|
1077
|
+
"isAuthor": false,
|
|
1078
|
+
"isFileDownload": false,
|
|
1079
|
+
"copyright": "Copyright Text",
|
|
1080
|
+
"audioAuthor": "Audio Author",
|
|
1081
|
+
"hasStatus": false,
|
|
1082
|
+
"hasTeaserItem": true,
|
|
1083
|
+
"allowAVConsumption": false,
|
|
1084
|
+
"displayEpgInfos": true,
|
|
1085
|
+
"aspectRatio": "ar--teaserTop",
|
|
1086
|
+
"hideGeotag": false,
|
|
1087
|
+
"hideEditableByline": false,
|
|
1088
|
+
"doTracking": true,
|
|
1089
|
+
"trackingForArdMediatheksLink": true,
|
|
1090
|
+
"showMediatheksLink": true,
|
|
1091
|
+
"showAirdate": true,
|
|
1092
|
+
"showProfileInfoAsByline": false,
|
|
1093
|
+
"obsolet_brandOfTeaser": "hessenschau",
|
|
1094
|
+
"documentSection": "",
|
|
1095
|
+
"headlineTag": "h1",
|
|
1096
|
+
"icon": "ortsmarke",
|
|
1097
|
+
"imageVariant": "topteaser",
|
|
1098
|
+
"shorttext": "Flughafen Frankfurt, 5 Uhr morgens: Nebel und Temperaturen um null Grad. Eisschichten haben sich auf den Tragflächen der Flugzeuge gebildet. So dürfen die Maschinen nicht abheben. Ein Fall für die Enteiser an Deutschlands größtem Flughafen. Mit ihren gigantischen Spezialfahrzeugen fahren sie zu den Positionen am Gate",
|
|
1099
|
+
"sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
|
|
1100
|
+
"profiles": "",
|
|
1101
|
+
"teaserLead": {
|
|
1102
|
+
"avDocument": "",
|
|
1103
|
+
"image": ""
|
|
1104
|
+
},
|
|
1105
|
+
"link": {
|
|
1106
|
+
"url": "/teaser1",
|
|
1107
|
+
"webviewUrl": "/teaser1#webview",
|
|
1108
|
+
"isTargetBlank": true,
|
|
1109
|
+
"hasIcon": true,
|
|
1110
|
+
"iconName": "extern",
|
|
1111
|
+
"readMoreText": {
|
|
1112
|
+
"readMoreScreenreader": "Zur ARD Mediathek",
|
|
1113
|
+
"readMore": "Zur ARD Mediathek",
|
|
1114
|
+
"readMoreLong": "Zur ARD Mediathek"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"label": {
|
|
1118
|
+
"@->jsoninclude": "teaser/teaser_labels.inc.json",
|
|
1119
|
+
"@->contentpath": "program"
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1025
1124
|
"teaserWithComments": {
|
|
1026
1125
|
"isSsi": true,
|
|
1027
1126
|
"logicItem": {
|