hr-design-system-handlebars 0.47.8 → 0.47.11
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 +37 -0
- package/dist/assets/index.css +49 -16
- package/dist/views/components/teaser/components/teaser_heading.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_title.hbs +3 -13
- package/dist/views/components/teaser/components/teaser_title_classes.hbs +21 -0
- package/dist/views/components/teaser/teaser_alternativ.hbs +5 -5
- package/dist/views/components/teaser/teaser_standard.hbs +2 -1
- package/package.json +1 -1
- package/src/stories/views/components/teaser/components/teaser_heading.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_heading.stories.mdx +3 -0
- package/src/stories/views/components/teaser/components/teaser_title.hbs +3 -13
- package/src/stories/views/components/teaser/components/teaser_title.stories.mdx +3 -0
- package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +21 -0
- package/src/stories/views/components/teaser/teaser_alternativ.hbs +5 -5
- package/src/stories/views/components/teaser/teaser_standard.hbs +2 -1
- package/src/stories/views/components/teaser/data/16_7_teaserImage.json +0 -27
- package/src/stories/views/components/teaser/data/16_9_teaserImage.json +0 -17
- package/src/stories/views/components/teaser/data/teaser_alternativ_lg_serif.json +0 -130
- package/src/stories/views/components/teaser/data/teaser_alternativ_md_serif.json +0 -130
- package/src/stories/views/components/teaser/data/teaser_alternativ_sm_serif.json +0 -141
- package/src/stories/views/components/teaser/data/teaser_alternativ_xl_serif.json +0 -130
- package/src/stories/views/components/teaser/data/teaser_alternativ_xxl_serif.json +0 -122
- package/src/stories/views/components/teaser/data/teaser_article.json +0 -158
- package/src/stories/views/components/teaser/data/teaser_commentLink.json +0 -16
- package/src/stories/views/components/teaser/data/teaser_full.json +0 -574
- package/src/stories/views/components/teaser/data/teaser_standard_lg_serif.json +0 -130
- package/src/stories/views/components/teaser/data/teaser_standard_md_serif.json +0 -130
- package/src/stories/views/components/teaser/data/teaser_standard_sm_serif.json +0 -141
- package/src/stories/views/components/teaser/data/teaser_standard_xl_serif.json +0 -130
- package/src/stories/views/components/teaser/data/teaser_standard_xxl_serif.json +0 -122
- package/src/stories/views/components/teaser/data/teasers.json +0 -324
- package/src/stories/views/components/teaser/data/ticker_label.json +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
# v0.47.11 (Tue Jun 14 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- - deleted old data folder for teasers [#244](https://github.com/mumprod/hr-design-system-handlebars/pull/244) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.47.10 (Tue Jun 14 2022)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Alternative-Teaser zusammenbauen [#245](https://github.com/mumprod/hr-design-system-handlebars/pull/245) (zouhair1 [@selbaciri](https://github.com/selbaciri))
|
|
18
|
+
|
|
19
|
+
#### Authors: 2
|
|
20
|
+
|
|
21
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
22
|
+
- selbaciri (zouhair1)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# v0.47.9 (Tue Jun 14 2022)
|
|
27
|
+
|
|
28
|
+
#### 🐛 Bug Fix
|
|
29
|
+
|
|
30
|
+
- - outsourced title class logic to own template [#243](https://github.com/mumprod/hr-design-system-handlebars/pull/243) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
31
|
+
|
|
32
|
+
#### Authors: 1
|
|
33
|
+
|
|
34
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
1
38
|
# v0.47.8 (Tue Jun 14 2022)
|
|
2
39
|
|
|
3
40
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1750,14 +1750,22 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1750
1750
|
-ms-flex-negative: 0;
|
|
1751
1751
|
flex-shrink: 0;
|
|
1752
1752
|
}
|
|
1753
|
-
.basis-3\/5 {
|
|
1754
|
-
-ms-flex-preferred-size: 60%;
|
|
1755
|
-
flex-basis: 60%;
|
|
1756
|
-
}
|
|
1757
1753
|
.basis-2\/5 {
|
|
1758
1754
|
-ms-flex-preferred-size: 40%;
|
|
1759
1755
|
flex-basis: 40%;
|
|
1760
1756
|
}
|
|
1757
|
+
.basis-1\/3 {
|
|
1758
|
+
-ms-flex-preferred-size: 33.333333%;
|
|
1759
|
+
flex-basis: 33.333333%;
|
|
1760
|
+
}
|
|
1761
|
+
.basis-2\/3 {
|
|
1762
|
+
-ms-flex-preferred-size: 66.666667%;
|
|
1763
|
+
flex-basis: 66.666667%;
|
|
1764
|
+
}
|
|
1765
|
+
.basis-3\/5 {
|
|
1766
|
+
-ms-flex-preferred-size: 60%;
|
|
1767
|
+
flex-basis: 60%;
|
|
1768
|
+
}
|
|
1761
1769
|
.-translate-x-1\/2 {
|
|
1762
1770
|
--tw-translate-x: -50%;
|
|
1763
1771
|
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1880,17 +1888,14 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1880
1888
|
.gap-y-9 {
|
|
1881
1889
|
row-gap: 2.25rem;
|
|
1882
1890
|
}
|
|
1883
|
-
.gap-y-4 {
|
|
1884
|
-
row-gap: 1rem;
|
|
1885
|
-
}
|
|
1886
|
-
.gap-x-5 {
|
|
1887
|
-
-webkit-column-gap: 1.25rem;
|
|
1888
|
-
-moz-column-gap: 1.25rem;
|
|
1889
|
-
column-gap: 1.25rem;
|
|
1890
|
-
}
|
|
1891
1891
|
.gap-y-5 {
|
|
1892
1892
|
row-gap: 1.25rem;
|
|
1893
1893
|
}
|
|
1894
|
+
.gap-x-3 {
|
|
1895
|
+
-webkit-column-gap: 0.75rem;
|
|
1896
|
+
-moz-column-gap: 0.75rem;
|
|
1897
|
+
column-gap: 0.75rem;
|
|
1898
|
+
}
|
|
1894
1899
|
.gap-x-4 {
|
|
1895
1900
|
-webkit-column-gap: 1rem;
|
|
1896
1901
|
-moz-column-gap: 1rem;
|
|
@@ -2154,6 +2159,10 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2154
2159
|
padding-top: 0.75rem;
|
|
2155
2160
|
padding-bottom: 0.75rem;
|
|
2156
2161
|
}
|
|
2162
|
+
.px-0 {
|
|
2163
|
+
padding-left: 0px;
|
|
2164
|
+
padding-right: 0px;
|
|
2165
|
+
}
|
|
2157
2166
|
.px-2 {
|
|
2158
2167
|
padding-left: 0.5rem;
|
|
2159
2168
|
padding-right: 0.5rem;
|
|
@@ -2178,10 +2187,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2178
2187
|
padding-top: 0.25rem;
|
|
2179
2188
|
padding-bottom: 0.25rem;
|
|
2180
2189
|
}
|
|
2181
|
-
.px-0 {
|
|
2182
|
-
padding-left: 0px;
|
|
2183
|
-
padding-right: 0px;
|
|
2184
|
-
}
|
|
2185
2190
|
.px-4 {
|
|
2186
2191
|
padding-left: 1rem;
|
|
2187
2192
|
padding-right: 1rem;
|
|
@@ -2761,6 +2766,23 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2761
2766
|
flex: 1 1 auto;
|
|
2762
2767
|
}
|
|
2763
2768
|
|
|
2769
|
+
.md\:basis-1\/3 {
|
|
2770
|
+
-ms-flex-preferred-size: 33.333333%;
|
|
2771
|
+
flex-basis: 33.333333%;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
.md\:basis-2\/3 {
|
|
2775
|
+
-ms-flex-preferred-size: 66.666667%;
|
|
2776
|
+
flex-basis: 66.666667%;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
.md\:flex-row {
|
|
2780
|
+
-webkit-box-orient: horizontal;
|
|
2781
|
+
-webkit-box-direction: normal;
|
|
2782
|
+
-ms-flex-direction: row;
|
|
2783
|
+
flex-direction: row;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2764
2786
|
.md\:flex-col {
|
|
2765
2787
|
-webkit-box-orient: vertical;
|
|
2766
2788
|
-webkit-box-direction: normal;
|
|
@@ -2774,6 +2796,12 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2774
2796
|
justify-content: flex-end;
|
|
2775
2797
|
}
|
|
2776
2798
|
|
|
2799
|
+
.md\:gap-x-5 {
|
|
2800
|
+
-webkit-column-gap: 1.25rem;
|
|
2801
|
+
-moz-column-gap: 1.25rem;
|
|
2802
|
+
column-gap: 1.25rem;
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2777
2805
|
.md\:rounded-none {
|
|
2778
2806
|
border-radius: 0px;
|
|
2779
2807
|
}
|
|
@@ -2828,6 +2856,11 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2828
2856
|
line-height: 2.375rem;
|
|
2829
2857
|
}
|
|
2830
2858
|
|
|
2859
|
+
.md\:text-3xl {
|
|
2860
|
+
font-size: 1.875rem;
|
|
2861
|
+
line-height: 2.25rem;
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2831
2864
|
.md\:leading-4 {
|
|
2832
2865
|
line-height: 1rem;
|
|
2833
2866
|
}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
{{#if topline}}
|
|
8
8
|
{{> components/teaser/components/teaser_topline text=topline readMore=readMore}}
|
|
9
9
|
{{/if}}
|
|
10
|
-
{{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size }}
|
|
10
|
+
{{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size teaserType=teaserType}}
|
|
11
11
|
</{{~ headlineTag ~}}>
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
<span
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
size
|
|
5
|
-
'["hero","100","25"]'
|
|
6
|
-
'[" text-2xl md:text-4xl"," text-2xl md:text-4xl"," text-lg"," text-2xl"]'
|
|
7
|
-
}}
|
|
8
|
-
{{inline-switch
|
|
9
|
-
fontVariant
|
|
10
|
-
'["serif", "sans-serif"]'
|
|
11
|
-
'[" font-headingSerif"," font-heading font-bold"," font-headingSerif"]'
|
|
12
|
-
}}'
|
|
13
|
-
>{{text}}</span>
|
|
1
|
+
<span class='block mt-0.5 {{> components/teaser/components/teaser_title_classes size=size teaserType=teaserType fontVariant=fontVariant}}'>
|
|
2
|
+
{{~text~}}
|
|
3
|
+
</span>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{{#switch teaserType~}}
|
|
2
|
+
{{~#case "standard"~}}
|
|
3
|
+
{{~inline-switch
|
|
4
|
+
size
|
|
5
|
+
'["hero","100","25"]'
|
|
6
|
+
'["text-2xl md:text-4xl","text-2xl md:text-4xl","text-lg","text-2xl"]'
|
|
7
|
+
~}}
|
|
8
|
+
{{~/case~}}
|
|
9
|
+
{{~#case "alternative"~}}
|
|
10
|
+
{{~inline-switch
|
|
11
|
+
size
|
|
12
|
+
'["hero","100","50"]'
|
|
13
|
+
'["text-2xl md:text-3xl","text-2xl md:text-3xl","text-2xl"]'
|
|
14
|
+
~}}
|
|
15
|
+
{{~/case~}}
|
|
16
|
+
{{~/switch~}}
|
|
17
|
+
{{~inline-switch
|
|
18
|
+
fontVariant
|
|
19
|
+
'["serif", "sans-serif"]'
|
|
20
|
+
'[" font-headingSerif"," font-heading font-bold"," font-headingSerif"]'
|
|
21
|
+
~}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<article class="col-span-12 flex gap-y-
|
|
2
|
-
<figure class="{{inline-switch this.teaserSize '["hero"]' '["basis-
|
|
1
|
+
<article class="col-span-12 flex gap-y-5 gap-x-3 md:gap-x-5 md:px-0 {{inline-switch this.teaserSize '["50","100","hero"]' '["px-5 md:col-span-6 flex-row","flex-col md:flex-row","flex-col md:flex-row"]'}} ">
|
|
2
|
+
<figure class="ar-16-9 {{inline-switch this.teaserSize '["50","100","hero"]' '["basis-2/5 md:basis-1/3", "basis-1/3" , "basis-2/3"]'}} ">
|
|
3
3
|
{{#>components/base/link css="" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
4
4
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teasertype variant=this.imageVariant noDelay=../noDelay addClassImg="" ~}}
|
|
5
5
|
{{/components/base/link}}
|
|
6
6
|
</figure>
|
|
7
|
-
<div class="{{inline-switch this.teaserSize '["hero"]' '["basis-2/
|
|
8
|
-
<header class="px-5
|
|
7
|
+
<div class="{{inline-switch this.teaserSize '["50","100","hero"]' '["basis-3/5 md:basis-2/3","basis-2/3","basis-1/3"]'}} ">
|
|
8
|
+
<header class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
|
|
9
9
|
{{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
|
|
10
10
|
{{> components/teaser/components/teaser_heading fontVariant=this.headingFontVariant
|
|
11
11
|
headlineTag=this.headlineTag
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
topline=this.topline}}
|
|
17
17
|
{{/components/base/link}}
|
|
18
18
|
</header>
|
|
19
|
-
<section class="px-5
|
|
19
|
+
<section class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
|
|
20
20
|
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
21
21
|
{{> components/teaser/components/teaser_byline}}
|
|
22
22
|
</section>
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
readMore=this.link.readMoreText.readMoreScreenreader
|
|
15
15
|
size=this.teaserSize
|
|
16
16
|
title=this.title
|
|
17
|
-
topline=this.topline
|
|
17
|
+
topline=this.topline
|
|
18
|
+
teaserType=this.teaserType}}
|
|
18
19
|
{{/components/base/link}}
|
|
19
20
|
</header>
|
|
20
21
|
<section class="md:px-0 {{inline-switch this.teaserSize '["25"]' '["","px-5"]'}}">
|
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.47.
|
|
9
|
+
"version": "0.47.11",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
{{#if topline}}
|
|
8
8
|
{{> components/teaser/components/teaser_topline text=topline readMore=readMore}}
|
|
9
9
|
{{/if}}
|
|
10
|
-
{{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size }}
|
|
10
|
+
{{> components/teaser/components/teaser_title text=title fontVariant=fontVariant size=size teaserType=teaserType}}
|
|
11
11
|
</{{~ headlineTag ~}}>
|
|
@@ -80,6 +80,7 @@ Ein toller Einleitungstext für unsere `Teaser-Heading` Komponente:
|
|
|
80
80
|
headlineTag: 'h1',
|
|
81
81
|
fontVariant: 'serif',
|
|
82
82
|
size: 'hero',
|
|
83
|
+
teaserType: 'standard'
|
|
83
84
|
}}
|
|
84
85
|
>
|
|
85
86
|
{Template.bind({})}
|
|
@@ -108,6 +109,7 @@ Ein toller Einleitungstext für unsere `Teaser-Heading` Komponente:
|
|
|
108
109
|
headlineTag: 'h1',
|
|
109
110
|
fontVariant: 'serif',
|
|
110
111
|
size: '33',
|
|
112
|
+
teaserType: 'standard'
|
|
111
113
|
}}
|
|
112
114
|
>
|
|
113
115
|
{Template.bind({})}
|
|
@@ -134,6 +136,7 @@ Ein toller Einleitungstext für unsere `Teaser-Heading` Komponente:
|
|
|
134
136
|
headlineTag: 'h1',
|
|
135
137
|
fontVariant: 'serif',
|
|
136
138
|
size: '25',
|
|
139
|
+
teaserType: 'standard'
|
|
137
140
|
}}
|
|
138
141
|
>
|
|
139
142
|
{Template.bind({})}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
<span
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
size
|
|
5
|
-
'["hero","100","25"]'
|
|
6
|
-
'[" text-2xl md:text-4xl"," text-2xl md:text-4xl"," text-lg"," text-2xl"]'
|
|
7
|
-
}}
|
|
8
|
-
{{inline-switch
|
|
9
|
-
fontVariant
|
|
10
|
-
'["serif", "sans-serif"]'
|
|
11
|
-
'[" font-headingSerif"," font-heading font-bold"," font-headingSerif"]'
|
|
12
|
-
}}'
|
|
13
|
-
>{{text}}</span>
|
|
1
|
+
<span class='block mt-0.5 {{> components/teaser/components/teaser_title_classes size=size teaserType=teaserType fontVariant=fontVariant}}'>
|
|
2
|
+
{{~text~}}
|
|
3
|
+
</span>
|
|
@@ -51,6 +51,7 @@ Beispiele für die Titel-Komponente:
|
|
|
51
51
|
text: 'Dies ist der Titel eines 100%-Teasers',
|
|
52
52
|
size: 'hero',
|
|
53
53
|
fontVariant: 'serif',
|
|
54
|
+
teaserType: 'standard'
|
|
54
55
|
}}
|
|
55
56
|
>
|
|
56
57
|
{Template.bind({})}
|
|
@@ -61,6 +62,7 @@ Beispiele für die Titel-Komponente:
|
|
|
61
62
|
text: 'Dies ist der Titel eines 66%-, 50%- oder 33%-Teasers',
|
|
62
63
|
size: '33',
|
|
63
64
|
fontVariant: 'serif',
|
|
65
|
+
teaserType: 'standard'
|
|
64
66
|
}}
|
|
65
67
|
>
|
|
66
68
|
{Template.bind({})}
|
|
@@ -71,6 +73,7 @@ Beispiele für die Titel-Komponente:
|
|
|
71
73
|
text: 'Dies ist der Titel eines 25%-Teasers',
|
|
72
74
|
size: '25',
|
|
73
75
|
fontVariant: 'serif',
|
|
76
|
+
teaserType: 'standard'
|
|
74
77
|
}}
|
|
75
78
|
>
|
|
76
79
|
{Template.bind({})}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{{#switch teaserType~}}
|
|
2
|
+
{{~#case "standard"~}}
|
|
3
|
+
{{~inline-switch
|
|
4
|
+
size
|
|
5
|
+
'["hero","100","25"]'
|
|
6
|
+
'["text-2xl md:text-4xl","text-2xl md:text-4xl","text-lg","text-2xl"]'
|
|
7
|
+
~}}
|
|
8
|
+
{{~/case~}}
|
|
9
|
+
{{~#case "alternative"~}}
|
|
10
|
+
{{~inline-switch
|
|
11
|
+
size
|
|
12
|
+
'["hero","100","50"]'
|
|
13
|
+
'["text-2xl md:text-3xl","text-2xl md:text-3xl","text-2xl"]'
|
|
14
|
+
~}}
|
|
15
|
+
{{~/case~}}
|
|
16
|
+
{{~/switch~}}
|
|
17
|
+
{{~inline-switch
|
|
18
|
+
fontVariant
|
|
19
|
+
'["serif", "sans-serif"]'
|
|
20
|
+
'[" font-headingSerif"," font-heading font-bold"," font-headingSerif"]'
|
|
21
|
+
~}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<article class="col-span-12 flex gap-y-
|
|
2
|
-
<figure class="{{inline-switch this.teaserSize '["hero"]' '["basis-
|
|
1
|
+
<article class="col-span-12 flex gap-y-5 gap-x-3 md:gap-x-5 md:px-0 {{inline-switch this.teaserSize '["50","100","hero"]' '["px-5 md:col-span-6 flex-row","flex-col md:flex-row","flex-col md:flex-row"]'}} ">
|
|
2
|
+
<figure class="ar-16-9 {{inline-switch this.teaserSize '["50","100","hero"]' '["basis-2/5 md:basis-1/3", "basis-1/3" , "basis-2/3"]'}} ">
|
|
3
3
|
{{#>components/base/link css="" isAriaHidden=true doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="mediaLink" }}
|
|
4
4
|
{{~> components/base/image/responsive_image this.teaserImage type=this.teasertype variant=this.imageVariant noDelay=../noDelay addClassImg="" ~}}
|
|
5
5
|
{{/components/base/link}}
|
|
6
6
|
</figure>
|
|
7
|
-
<div class="{{inline-switch this.teaserSize '["hero"]' '["basis-2/
|
|
8
|
-
<header class="px-5
|
|
7
|
+
<div class="{{inline-switch this.teaserSize '["50","100","hero"]' '["basis-3/5 md:basis-2/3","basis-2/3","basis-1/3"]'}} ">
|
|
8
|
+
<header class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
|
|
9
9
|
{{#>components/base/link css="hover:text-toplineColor" doTracking=(if this.doTracking 'true') clickLabelPrefix1=this.teaserSize clickLabelPrefix2="headlineLink" }}
|
|
10
10
|
{{> components/teaser/components/teaser_heading fontVariant=this.headingFontVariant
|
|
11
11
|
headlineTag=this.headlineTag
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
topline=this.topline}}
|
|
17
17
|
{{/components/base/link}}
|
|
18
18
|
</header>
|
|
19
|
-
<section class="px-5
|
|
19
|
+
<section class="md:px-0 px-5 {{inline-switch this.teaserSize '["50"]' '["px-0"]'}}">
|
|
20
20
|
{{> components/teaser/components/teaser_text text=this.shorttext size=this.teaserSize }}
|
|
21
21
|
{{> components/teaser/components/teaser_byline}}
|
|
22
22
|
</section>
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
readMore=this.link.readMoreText.readMoreScreenreader
|
|
15
15
|
size=this.teaserSize
|
|
16
16
|
title=this.title
|
|
17
|
-
topline=this.topline
|
|
17
|
+
topline=this.topline
|
|
18
|
+
teaserType=this.teaserType}}
|
|
18
19
|
{{/components/base/link}}
|
|
19
20
|
</header>
|
|
20
21
|
<section class="md:px-0 {{inline-switch this.teaserSize '["25"]' '["","px-5"]'}}">
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teaserImage": {
|
|
3
|
-
"copyrightWithLinks": "",
|
|
4
|
-
"responsiveImage": {
|
|
5
|
-
"asPicture": true,
|
|
6
|
-
"asImage": false,
|
|
7
|
-
"fallback": "https://picsum.photos/id/188/480/210",
|
|
8
|
-
"sources": [
|
|
9
|
-
{
|
|
10
|
-
"media": "all and (max-width: 43.688em)",
|
|
11
|
-
"sizes": "100vw",
|
|
12
|
-
"srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w, https://picsum.photos/id/188/1920/1080 1920w"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"media": "all and (min-width: 43.750em) and (max-width: 63.938em)",
|
|
16
|
-
"sizes": "100vw",
|
|
17
|
-
"srcset": "https://picsum.photos/id/188/320/140 320w, https://picsum.photos/id/188/480/210 480w, https://picsum.photos/id/188/992/434 992w, https://picsum.photos/id/188/1920/840 1920w"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"media": "all and (min-width: 64em)",
|
|
21
|
-
"sizes": "960px",
|
|
22
|
-
"srcset": "https://picsum.photos/id/188/320/140 320w, https://picsum.photos/id/188/480/210 480w, https://picsum.photos/id/188/992/434 992w, https://picsum.photos/id/188/1920/840 1920w"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"teaserImage": {
|
|
3
|
-
"copyrightWithLinks": "",
|
|
4
|
-
"responsiveImage": {
|
|
5
|
-
"asPicture": false,
|
|
6
|
-
"asImage": true,
|
|
7
|
-
"fallback": "https://picsum.photos/id/188/480/210",
|
|
8
|
-
"sources": [
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
"sizes": "(min-width: 1010px) 960px, 100vw",
|
|
12
|
-
"srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"byline": "Byline",
|
|
3
|
-
"title": "Abgeschobene Geschwister aus Syrien zurück in Wolfhagen",
|
|
4
|
-
"topline": "Überglücklich, aber ohne Mama",
|
|
5
|
-
"isSerifHeading": true,
|
|
6
|
-
"extendedTitle": null,
|
|
7
|
-
"teasertype": "standard",
|
|
8
|
-
"teasersize": "lg",
|
|
9
|
-
"teaserDate": {
|
|
10
|
-
"htmlDateTime": "2022-04-17T19:30+0200",
|
|
11
|
-
"htmlDate": "20.02.1983",
|
|
12
|
-
"date": "17.04.22",
|
|
13
|
-
"dateSeparatorTime": "17.04.22, 19:30"
|
|
14
|
-
},
|
|
15
|
-
"teaserInfo": {
|
|
16
|
-
"showTeaserInfo": true,
|
|
17
|
-
"showTeaserInfoSection": true,
|
|
18
|
-
"showTeaserInfoChannel": true,
|
|
19
|
-
"showTeaserInfoAll": true,
|
|
20
|
-
"showTeaserInfoDate": true,
|
|
21
|
-
"showTeaserInfoDateTime": true,
|
|
22
|
-
"showTeaserInfoProgramRef": true
|
|
23
|
-
},
|
|
24
|
-
"teaserImage": {
|
|
25
|
-
"copyrightWithLinks": "",
|
|
26
|
-
"responsiveImage": {
|
|
27
|
-
"asPicture": false,
|
|
28
|
-
"asImage": true,
|
|
29
|
-
"fallback": "https://picsum.photos/id/188/480/210",
|
|
30
|
-
"sources": [
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
"sizes": "(min-width: 1010px) 960px, 100vw",
|
|
34
|
-
"srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"hasMediaButtons": false,
|
|
40
|
-
"dontLazyload": true,
|
|
41
|
-
"realTeasersize": "100",
|
|
42
|
-
"isStandardTeaser": true,
|
|
43
|
-
"isHeroTeaser": false,
|
|
44
|
-
"isMediaTeaser": false,
|
|
45
|
-
"isGuide": false,
|
|
46
|
-
"isProgram": false,
|
|
47
|
-
"isEvent": false,
|
|
48
|
-
"isTicker": false,
|
|
49
|
-
"isAudio": false,
|
|
50
|
-
"isVideo": false,
|
|
51
|
-
"isPodcastEpisode": false,
|
|
52
|
-
"isExtOrBrandLink": false,
|
|
53
|
-
"isAuthor": false,
|
|
54
|
-
"copyright": "Copyright Text",
|
|
55
|
-
"audioAuthor": "Audio Author",
|
|
56
|
-
"hasStatus": false,
|
|
57
|
-
"hasTeaserItem": true,
|
|
58
|
-
"allowAVConsumption": false,
|
|
59
|
-
"displayEpgInfos": false,
|
|
60
|
-
"aspectRatio": "ar--teaserTop",
|
|
61
|
-
"hideGeotag": false,
|
|
62
|
-
"hideEditableByline": true,
|
|
63
|
-
"doTracking": true,
|
|
64
|
-
"trackingForArdMediatheksLink": false,
|
|
65
|
-
"showMediatheksLink": false,
|
|
66
|
-
"showAirdate": false,
|
|
67
|
-
"showProfileInfoAsByline": false,
|
|
68
|
-
"obsolet_brandOfTeaser": "hessenschau",
|
|
69
|
-
"headingSize": "h1",
|
|
70
|
-
"icon": "ortsmarke",
|
|
71
|
-
"imageVariant": "topteaser",
|
|
72
|
-
"shorttext": "Vor einem Jahr wurde die syrische Familie Kheder aus Wolfhagen abgeschoben. Die Gemeinde setzte alle Hebel in Bewegung, um Mutter, Tochter und Sohn zurückzuholen. Im Fall der Kinder hat das nun zu einem Happy End geführt. Doch ihre Mutter fehlt.",
|
|
73
|
-
"sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
|
|
74
|
-
"profiles": "Von Alf Haubitz und Alice Merton",
|
|
75
|
-
"documentSection": "Gesellschaft",
|
|
76
|
-
"teaserLead": {
|
|
77
|
-
"avDocument": "",
|
|
78
|
-
"image": ""
|
|
79
|
-
},
|
|
80
|
-
"label": {
|
|
81
|
-
"type": "Ticker",
|
|
82
|
-
"loca": "ticker",
|
|
83
|
-
"byline": {
|
|
84
|
-
"bylineSsi": "BylineText aus ssi",
|
|
85
|
-
"bylineText": "BylineText"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"geotag": [
|
|
89
|
-
{
|
|
90
|
-
"title": "Wolfhagen"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"link": {
|
|
94
|
-
"url": "/teaser1",
|
|
95
|
-
"webviewUrl": "/teaser1#webview",
|
|
96
|
-
"isTargetBlank": false,
|
|
97
|
-
"hasIcon": false,
|
|
98
|
-
"iconName": "iconName",
|
|
99
|
-
"readMoreText": {
|
|
100
|
-
"readMoreScreenreader": "Zum Artikel",
|
|
101
|
-
"readMore": "mehr",
|
|
102
|
-
"readMoreLong": "read More Long"
|
|
103
|
-
},
|
|
104
|
-
"content": {
|
|
105
|
-
"teaserImage": {
|
|
106
|
-
"copyrightWithLinks": "",
|
|
107
|
-
"responsiveImage": {
|
|
108
|
-
"asPicture": false,
|
|
109
|
-
"asImage": true,
|
|
110
|
-
"fallback": "https://picsum.photos/id/188/480/210",
|
|
111
|
-
"sources": [
|
|
112
|
-
{
|
|
113
|
-
|
|
114
|
-
"sizes": "(min-width: 1010px) 960px, 100vw",
|
|
115
|
-
"srcset": "https://picsum.photos/id/188/320/180 320w, https://picsum.photos/id/188/480/270 480w, https://picsum.photos/id/188/640/360 640w, https://picsum.photos/id/188/960/540 960w"
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"teasertype": "standard",
|
|
121
|
-
"imageVariant": "topteaser",
|
|
122
|
-
"isFileDownload": false,
|
|
123
|
-
"topline": "Überglücklich, aber ohne Mama",
|
|
124
|
-
"trackingData": {
|
|
125
|
-
"secondLevelId": "2",
|
|
126
|
-
"pageName": "hessenschau"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|