hr-design-system-handlebars 0.105.2 → 0.106.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/assets/index.css +10 -3
  3. package/dist/views/components/teaser/components/teaser_body.hbs +1 -1
  4. package/dist/views/components/teaser/components/teaser_lead.hbs +1 -1
  5. package/dist/views/components/teaser/teaser_alternativ.hbs +12 -8
  6. package/dist/views/components/teaser/teaser_standard.hbs +16 -12
  7. package/dist/views/components/teaser/teaser_standard_event.hbs +7 -7
  8. package/package.json +1 -1
  9. package/src/assets/fixtures/teaser/teaser_alternative_without_teaserimage_50_serif.json +22 -0
  10. package/src/assets/fixtures/teaser/teaser_standard_33_long_geotag.json +18 -0
  11. package/src/assets/fixtures/teaser/teaser_standard_without_teaserimage_25_serif.json +14 -0
  12. package/src/assets/fixtures/teaser/teaser_standard_without_teaserimage_50_serif.json +10 -0
  13. package/src/assets/fixtures/teaser/teasers.inc.json +107 -0
  14. package/src/stories/views/components/teaser/components/teaser_body.hbs +1 -1
  15. package/src/stories/views/components/teaser/components/teaser_lead.hbs +1 -1
  16. package/src/stories/views/components/teaser/fixtures/teaser_alternative_without_teaserimage_50_serif.json +1 -0
  17. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif copy.json +1 -0
  18. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_long_geotag.json +1 -0
  19. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif copy.json +1 -0
  20. package/src/stories/views/components/teaser/fixtures/teaser_standard_without_teaserimage_25_serif.json +1 -0
  21. package/src/stories/views/components/teaser/fixtures/teaser_standard_without_teaserimage_50_serif.json +1 -0
  22. package/src/stories/views/components/teaser/teaser_alternativ.hbs +12 -8
  23. package/src/stories/views/components/teaser/teaser_alternativ.stories.mdx +4 -0
  24. package/src/stories/views/components/teaser/teaser_standard.hbs +16 -12
  25. package/src/stories/views/components/teaser/teaser_standard.stories.mdx +12 -0
  26. package/src/stories/views/components/teaser/teaser_standard_event.hbs +7 -7
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # v0.106.0 (Mon Dec 12 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Feature/dpe 1897: Teaser without image [#433](https://github.com/mumprod/hr-design-system-handlebars/pull/433) ([@mariokinzel](https://github.com/mariokinzel))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@mariokinzel](https://github.com/mariokinzel)
10
+
11
+ ---
12
+
13
+ # v0.105.3 (Mon Dec 12 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - Add Story "Standard 33 mit langer Ortsmarke" [#431](https://github.com/mumprod/hr-design-system-handlebars/pull/431) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
18
+
19
+ #### Authors: 2
20
+
21
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
22
+ - selbaciri (saad.elbaciri@hr.de)
23
+
24
+ ---
25
+
1
26
  # v0.105.2 (Mon Dec 12 2022)
2
27
 
3
28
  #### 🐛 Bug Fix
@@ -1128,6 +1128,9 @@ video {
1128
1128
  .basis-3\/5 {
1129
1129
  flex-basis: 60%;
1130
1130
  }
1131
+ .basis-full {
1132
+ flex-basis: 100%;
1133
+ }
1131
1134
  .-translate-x-1\/2 {
1132
1135
  --tw-translate-x: -50%;
1133
1136
  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));
@@ -2197,7 +2200,7 @@ video {
2197
2200
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2198
2201
  }
2199
2202
  .counter-reset {
2200
- counter-reset: cnt1670850905649;
2203
+ counter-reset: cnt1670861284403;
2201
2204
  }
2202
2205
  .line-clamp-4 {
2203
2206
  overflow: hidden;
@@ -2429,7 +2432,7 @@ video {
2429
2432
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2430
2433
  }
2431
2434
  .-ordered {
2432
- counter-increment: cnt1670850905649 1;
2435
+ counter-increment: cnt1670861284403 1;
2433
2436
  }
2434
2437
  .-ordered::before {
2435
2438
  position: absolute;
@@ -2445,7 +2448,7 @@ video {
2445
2448
  letter-spacing: .0125em;
2446
2449
  --tw-text-opacity: 1;
2447
2450
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2448
- content: counter(cnt1670850905649);
2451
+ content: counter(cnt1670861284403);
2449
2452
  }
2450
2453
  /*! ****************************/
2451
2454
  /*! text-shadow */
@@ -3772,6 +3775,10 @@ video {
3772
3775
  flex-basis: 66.666667%;
3773
3776
  }
3774
3777
 
3778
+ .md\:basis-full {
3779
+ flex-basis: 100%;
3780
+ }
3781
+
3775
3782
  .md\:flex-row {
3776
3783
  flex-direction: row;
3777
3784
  }
@@ -1,4 +1,4 @@
1
- <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}">
1
+ <div class="{{~#if this.isMobile1to1}}basis-3/5{{/if~}}{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}">
2
2
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
3
3
  {{#decorator 'components/base/link' _css="hover:text-toplineColor" }}
4
4
  {{> components/teaser/components/teaser_heading
@@ -1,5 +1,5 @@
1
1
  {{~#if this.allowAVConsumption ~}}
2
2
  {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType }}
3
- {{else}}
3
+ {{else}}
4
4
  {{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
5
5
  {{/if}}
@@ -4,12 +4,16 @@
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
5
5
  {{/if}}
6
6
  >
7
- <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}"
8
- {{#if this.isMobile1to1}}
9
- :class="avStart ? '!ar-16-9' : ''"
10
- {{/if}}
11
- >
12
- {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
13
- </figure>
14
- {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
7
+ {{#if this.teaserImage}}
8
+ <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}"
9
+ {{#if this.isMobile1to1}}
10
+ :class="avStart ? '!ar-16-9' : ''"
11
+ {{/if}}
12
+ >
13
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
14
+ </figure>
15
+ {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
16
+ {{else}}
17
+ {{> components/teaser/components/teaser_body _outerCssClasses="basis-full" }}
18
+ {{/if}}
15
19
  </article>
@@ -7,18 +7,22 @@
7
7
  :class="avStart ? 'flex-col' : 'flex-row'"
8
8
  {{/if}}
9
9
  >
10
- <figure class="relative
11
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
12
- {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
13
- </figure>
14
- {{#if this.displayTeaserBodyAsImageOverlay}}
15
- {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
16
- <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed">
17
- {{> components/event/instant_dates}}
18
- </div>
19
- {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'py-4 md:px-4 basis-3/5 md:flex-full' 'py-4 md:px-4')}}
20
- {{/decorator}}
10
+ {{#if this.teaserImage}}
11
+ <figure class="relative
12
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
13
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
14
+ </figure>
15
+ {{#if this.displayTeaserBodyAsImageOverlay}}
16
+ {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
17
+ <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed">
18
+ {{> components/event/instant_dates}}
19
+ </div>
20
+ {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'py-4 md:px-4 basis-3/5 md:basis-full' 'py-4 md:px-4')}}
21
+ {{/decorator}}
22
+ {{else}}
23
+ {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 md:basis-full')}}
24
+ {{/if}}
21
25
  {{else}}
22
- {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 md:flex-full')}}
26
+ {{> components/teaser/components/teaser_body _outerCssClasses="basis-full"}}
23
27
  {{/if}}
24
28
  </article>
@@ -13,7 +13,7 @@
13
13
  {{#if this.moreThenOneEvent}}
14
14
  <article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
15
15
  <figure class="relative
16
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
16
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
17
17
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
18
18
  </figure>
19
19
  <div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white
@@ -26,7 +26,7 @@
26
26
  <span class="text-xl font-headingSerif font-bold">{{this.lastInstant.startDate.day}}</span>
27
27
  <span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort}} </span>
28
28
  </div>
29
- <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}
29
+ <div class="{{~#if this.isMobile1to1}}basis-3/5 md:basis-full{{/if~}}
30
30
  {{inline-switch teaserSize '["100"]' '["border-l-2 border-dotted pt-5 pl-4 border-slate-600"]'}}
31
31
  {{inline-switch teaserSize '["50","33"]' '[" hidden"," hidden"]'}}">
32
32
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
@@ -53,7 +53,7 @@
53
53
  {{! ---- To handle more than two events ----}}
54
54
  <article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
55
55
  <figure class="relative
56
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
56
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
57
57
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
58
58
  </figure>
59
59
  <div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white" aria-hidden="true">
@@ -70,7 +70,7 @@
70
70
  {{! ---- To handle a single event ----}}
71
71
  <article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
72
72
  <figure class="relative
73
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
73
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
74
74
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
75
75
  </figure>
76
76
  <div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white
@@ -81,7 +81,7 @@
81
81
  <span class="text-xl font-headingSerif">{{this.lastInstant.startDate.day }} </span>
82
82
  <span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort }} </span>
83
83
  </div>
84
- <div class=" {{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}
84
+ <div class=" {{~#if this.isMobile1to1}}basis-3/5 md:basis-full{{/if~}}
85
85
  {{inline-switch teaserSize '["100"]' '["border-l-2 border-dotted pt-5 pl-4 border-slate-600"]'}}
86
86
  {{inline-switch teaserSize '["50","33"]' '[" hidden"," hidden"]'}}">
87
87
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
@@ -107,11 +107,11 @@
107
107
  {{/if}}
108
108
  {{else}}
109
109
  <figure class="relative
110
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
110
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
111
111
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
112
112
  </figure>
113
113
  {{/if}}
114
- <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{inline-switch teaserSize '["100"]' '[" hidden"]'}}">
114
+ <div class="{{~#if this.isMobile1to1}}basis-3/5 md:basis-full{{/if~}}{{inline-switch teaserSize '["100"]' '[" hidden"]'}}">
115
115
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
116
116
  {{#decorator 'components/base/link' _css="hover:text-toplineColor" }}
117
117
  {{> components/teaser/components/teaser_heading
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.105.2",
9
+ "version": "0.106.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -0,0 +1,22 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserWithoutImage",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "50"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "33"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.geotag",
11
+ "@->value": [
12
+ {
13
+ "title": "Poppenhausen (Wasserkuppe)"
14
+ }
15
+ ]
16
+ }
17
+ ]
18
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserWithoutImage",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "25"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
11
+ "@->value": "true"
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserWithoutImage",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "50"
8
+ }
9
+ ]
10
+ }
@@ -116,6 +116,113 @@
116
116
  }
117
117
  }
118
118
  },
119
+ "teaserWithoutImage": {
120
+ "isSsi": true,
121
+ "logicItem": {
122
+ "includePath": "components/teaser/teaser_standard",
123
+ "includeModel": {
124
+ "byline": "Byline",
125
+ "title": "Abgeschobene Geschwister aus Syrien zurück in Wolfhagen",
126
+ "topline": "Überglücklich, aber ohne Mama",
127
+ "headingFontVariant": "serif",
128
+ "extendedTitle": "",
129
+ "teaserType": "standard-ds",
130
+ "teaserSize": "hero",
131
+ "isMobile1to1": false,
132
+ "teaserDate": {
133
+ "htmlDateTime": "2022-04-17T19:30+0200",
134
+ "htmlDate": "20.02.1983",
135
+ "date": "17.04.22",
136
+ "dateSeparatorTime": "17.04.22, 19:30"
137
+ },
138
+ "hasByline": true,
139
+ "teaserInfo": {
140
+ "showTeaserInfo": true,
141
+ "showTeaserInfoSection": true,
142
+ "showTeaserInfoChannel": true,
143
+ "showTeaserInfoAll": true,
144
+ "showTeaserInfoDate": false,
145
+ "showTeaserInfoDateTime": true,
146
+ "showTeaserInfoProgramRef": true
147
+ },
148
+ "displayTeaserBodyAsImageOverlay": false,
149
+ "hasMediaButtons": false,
150
+ "dontLazyload": true,
151
+ "isStandardTeaser": true,
152
+ "isHeroTeaser": true,
153
+ "isMediaTeaser": false,
154
+ "isGuide": false,
155
+ "isProgram": false,
156
+ "isEvent": false,
157
+ "isTicker": false,
158
+ "isAudio": false,
159
+ "isVideo": false,
160
+ "isPodcast": false,
161
+ "isPodcastEpisode": false,
162
+ "isExtOrBrandLink": false,
163
+ "isAuthor": false,
164
+ "copyright": "Copyright Text",
165
+ "audioAuthor": "Audio Author",
166
+ "hasStatus": false,
167
+ "hasTeaserItem": true,
168
+ "moreThenOneEvent": false,
169
+ "moreThenTwoEvents": false,
170
+ "firstInstant": {
171
+ "startDate": {
172
+ "monthNameShort": "APR",
173
+ "weekdayNameShort": "Do",
174
+ "day": "9"
175
+ }
176
+ },
177
+ "lastInstant": {
178
+ "startDate": {
179
+ "monthNameShort": "APR",
180
+ "weekdayNameShort": "Fr",
181
+ "day": "10"
182
+ }
183
+ },
184
+ "allowAVConsumption": false,
185
+ "displayEpgInfos": false,
186
+ "aspectRatio": "ar--teaserTop",
187
+ "hideGeotag": false,
188
+ "hideEditableByline": true,
189
+ "doTracking": true,
190
+ "trackingForArdMediatheksLink": false,
191
+ "showMediatheksLink": false,
192
+ "showAirdate": false,
193
+ "showProfileInfoAsByline": false,
194
+ "obsolet_brandOfTeaser": "hessenschau",
195
+ "documentSection": "Gesellschaft",
196
+ "headlineTag": "h1",
197
+ "icon": "ortsmarke",
198
+ "imageVariant": "topteaser",
199
+ "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.",
200
+ "sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
201
+ "profiles": "Von Alf Haubitz und Alice Merton",
202
+ "teaserLead": {
203
+ "avDocument": "",
204
+ "image": ""
205
+ },
206
+ "geotag": [
207
+ {
208
+ "title": "Wolfhagen"
209
+ }
210
+ ],
211
+ "link": {
212
+ "url": "/teaser1",
213
+ "webviewUrl": "/teaser1#webview",
214
+ "isTargetBlank": false,
215
+ "hasIcon": false,
216
+ "iconName": "iconName",
217
+ "readMoreText": {
218
+ "readMoreScreenreader": "Zum Artikel",
219
+ "readMore": "mehr",
220
+ "readMoreLong": "read More Long"
221
+ }
222
+ }
223
+ }
224
+ }
225
+ },
119
226
  "teaser_2": {
120
227
  "isSsi": true,
121
228
  "logicItem": {
@@ -1,4 +1,4 @@
1
- <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}">
1
+ <div class="{{~#if this.isMobile1to1}}basis-3/5{{/if~}}{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}">
2
2
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
3
3
  {{#decorator 'components/base/link' _css="hover:text-toplineColor" }}
4
4
  {{> components/teaser/components/teaser_heading
@@ -1,5 +1,5 @@
1
1
  {{~#if this.allowAVConsumption ~}}
2
2
  {{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType }}
3
- {{else}}
3
+ {{else}}
4
4
  {{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
5
5
  {{/if}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative-ds","teaserSize":"50","isMobile1to1":"true","teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard-ds","teaserSize":"25","isMobile1to1":"true","teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"media":"all and (max-width: 47.938em)","sizes":"40vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-1to1__small.jpg 380w, images/rueckkehr-nach-abschiebung-102_v-1to1__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-1to1.jpg 720w, images/rueckkehr-nach-abschiebung-102_v-1to1__large.jpg 960w"},{"media":"all and (min-width: 48em) ","sizes":"33vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard-ds","teaserSize":"33","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w, images/rueckkehr-nach-abschiebung-102_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Poppenhausen (Wasserkuppe)"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard-ds","teaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"Vorname Nachname","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/rueckkehr-nach-abschiebung-102_v-16to9__small.jpg 320w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium.jpg 480w, images/rueckkehr-nach-abschiebung-102_v-16to9__medium__extended.jpg 640w, images/rueckkehr-nach-abschiebung-102_v-16to9.jpg 960w, images/rueckkehr-nach-abschiebung-102_v-16to9__retina.jpg 1920w"}]}},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard-ds","teaserSize":"25","isMobile1to1":"true","teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard-ds","teaserSize":"50","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"hasByline":true,"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":true,"showTeaserInfoProgramRef":true},"displayTeaserBodyAsImageOverlay":false,"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcast":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"moreThenOneEvent":false,"moreThenTwoEvents":false,"firstInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Do","day":"9"}},"lastInstant":{"startDate":{"monthNameShort":"APR","weekdayNameShort":"Fr","day":"10"}},"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":"Gesellschaft","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","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.","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"Von Alf Haubitz und Alice Merton","teaserLead":{"avDocument":"","image":""},"geotag":[{"title":"Wolfhagen"}],"link":{"url":"/teaser1","webviewUrl":"/teaser1#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}}}}}
@@ -4,12 +4,16 @@
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
5
5
  {{/if}}
6
6
  >
7
- <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}"
8
- {{#if this.isMobile1to1}}
9
- :class="avStart ? '!ar-16-9' : ''"
10
- {{/if}}
11
- >
12
- {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
13
- </figure>
14
- {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
7
+ {{#if this.teaserImage}}
8
+ <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}"
9
+ {{#if this.isMobile1to1}}
10
+ :class="avStart ? '!ar-16-9' : ''"
11
+ {{/if}}
12
+ >
13
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
14
+ </figure>
15
+ {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
16
+ {{else}}
17
+ {{> components/teaser/components/teaser_body _outerCssClasses="basis-full" }}
18
+ {{/if}}
15
19
  </article>
@@ -11,6 +11,7 @@ import heroTeaserProgram from './fixtures/teaser_alternative_hero_serif_program.
11
11
  import teaser100Link from './fixtures/teaser_alternative_100_serif_link.json'
12
12
  import teaser100 from './fixtures/teaser_alternative_100_serif.json'
13
13
  import teaser50 from './fixtures/teaser_alternative_50_serif.json'
14
+ import teaser50WithoutTeaserImage from './fixtures/teaser_alternative_without_teaserimage_50_serif.json'
14
15
  import teaser50Link from './fixtures/teaser_alternative_50_serif_link.json'
15
16
  import teaser50Download from './fixtures/teaser_alternative_50_serif_download.json'
16
17
 
@@ -138,6 +139,9 @@ Die Alternativ-Teaser-Komponente wird in handlebars wie folgt eingebaut:
138
139
  <b>Alternativ 50%</b>
139
140
  <Story name="Alternativ 50" args={teaser50.logicItem.includeModel}>
140
141
  {Template.bind({})}
142
+ </Story>
143
+ <Story name="Alternativ 50 ohne Teaserbild" args={teaser50WithoutTeaserImage.logicItem.includeModel}>
144
+ {Template.bind({})}
141
145
  </Story>
142
146
  <b>Alternativ 50% mit externem Link</b>
143
147
  <Story name="Alternativ 50 mit externem Link" args={teaser50Link.logicItem.includeModel}>
@@ -7,18 +7,22 @@
7
7
  :class="avStart ? 'flex-col' : 'flex-row'"
8
8
  {{/if}}
9
9
  >
10
- <figure class="relative
11
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
12
- {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
13
- </figure>
14
- {{#if this.displayTeaserBodyAsImageOverlay}}
15
- {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
16
- <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed">
17
- {{> components/event/instant_dates}}
18
- </div>
19
- {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'py-4 md:px-4 basis-3/5 md:flex-full' 'py-4 md:px-4')}}
20
- {{/decorator}}
10
+ {{#if this.teaserImage}}
11
+ <figure class="relative
12
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
13
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
14
+ </figure>
15
+ {{#if this.displayTeaserBodyAsImageOverlay}}
16
+ {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
17
+ <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed">
18
+ {{> components/event/instant_dates}}
19
+ </div>
20
+ {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'py-4 md:px-4 basis-3/5 md:basis-full' 'py-4 md:px-4')}}
21
+ {{/decorator}}
22
+ {{else}}
23
+ {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 md:basis-full')}}
24
+ {{/if}}
21
25
  {{else}}
22
- {{> components/teaser/components/teaser_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 md:flex-full')}}
26
+ {{> components/teaser/components/teaser_body _outerCssClasses="basis-full"}}
23
27
  {{/if}}
24
28
  </article>
@@ -6,14 +6,17 @@ import teaserHeroLink from './fixtures/teaser_standard_hero_serif_link.json'
6
6
  import teaserHeroSerif from './fixtures/teaser_standard_hero_serif.json'
7
7
  import teaser100Serif from './fixtures/teaser_standard_100_serif.json'
8
8
  import teaser50Serif from './fixtures/teaser_standard_50_serif.json'
9
+ import teaser50SerifWithoutTeaserImage from './fixtures/teaser_standard_without_teaserimage_50_serif.json'
9
10
  import teaser33Serif from './fixtures/teaser_standard_33_serif.json'
10
11
  import teaser25Serif from './fixtures/teaser_standard_25_serif.json'
12
+ import teaser25SerifWithoutTeaserimage from './fixtures/teaser_standard_without_teaserimage_25_serif.json'
11
13
  import teaser100Download from './fixtures/teaser_standard_100_serif_download.json'
12
14
  import teaser100Link from './fixtures/teaser_standard_100_serif_link.json'
13
15
  import teaser100Program from './fixtures/teaser_standard_100_serif_program.json'
14
16
  import teaser50Link from './fixtures/teaser_standard_50_serif_link.json'
15
17
  import teaser33Link from './fixtures/teaser_standard_33_serif_link.json'
16
18
  import teaser25Link from './fixtures/teaser_standard_25_serif_link.json'
19
+ import teaser33LongGeotag from './fixtures/teaser_standard_33_long_geotag.json'
17
20
 
18
21
  <Meta
19
22
  title="Komponenten/Teaser/Standard"
@@ -120,6 +123,9 @@ Die Standard-Teaser-Komponente wird in handlebars wie folgt eingebaut:
120
123
  </Story>
121
124
  <Story name="Standard 50" args={teaser50Serif.logicItem.includeModel}>
122
125
  {Template.bind({})}
126
+ </Story>
127
+ <Story name="Standard 50 ohne Teaserbild" args={teaser50SerifWithoutTeaserImage.logicItem.includeModel}>
128
+ {Template.bind({})}
123
129
  </Story>
124
130
  <Story name="Standard 50 mit externem Link" args={teaser50Link.logicItem.includeModel}>
125
131
  {Template.bind({})}
@@ -133,11 +139,17 @@ Die Standard-Teaser-Komponente wird in handlebars wie folgt eingebaut:
133
139
  <Story name="Standard 25" args={teaser25Serif.logicItem.includeModel}>
134
140
  {Template.bind({})}
135
141
  </Story>
142
+ <Story name="Standard 25 ohne Teaserbild" args={teaser25SerifWithoutTeaserimage.logicItem.includeModel}>
143
+ {Template.bind({})}
144
+ </Story>
136
145
  <Story name="Standard 25 mit externem Link" args={teaser25Link.logicItem.includeModel}>
137
146
  {Template.bind({})}
138
147
  </Story>
139
148
  <Story name="Standard 100 Mit Download" args={teaser100Download.logicItem.includeModel}>
140
149
  {Template.bind({})}
141
150
  </Story>
151
+ <Story name="Standard 33 mit langer Ortsmarke" args={teaser33LongGeotag.logicItem.includeModel}>
152
+ {Template.bind({})}
153
+ </Story>
142
154
  </Preview>
143
155
 
@@ -13,7 +13,7 @@
13
13
  {{#if this.moreThenOneEvent}}
14
14
  <article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
15
15
  <figure class="relative
16
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
16
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
17
17
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
18
18
  </figure>
19
19
  <div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white
@@ -26,7 +26,7 @@
26
26
  <span class="text-xl font-headingSerif font-bold">{{this.lastInstant.startDate.day}}</span>
27
27
  <span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort}} </span>
28
28
  </div>
29
- <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}
29
+ <div class="{{~#if this.isMobile1to1}}basis-3/5 md:basis-full{{/if~}}
30
30
  {{inline-switch teaserSize '["100"]' '["border-l-2 border-dotted pt-5 pl-4 border-slate-600"]'}}
31
31
  {{inline-switch teaserSize '["50","33"]' '[" hidden"," hidden"]'}}">
32
32
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
@@ -53,7 +53,7 @@
53
53
  {{! ---- To handle more than two events ----}}
54
54
  <article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
55
55
  <figure class="relative
56
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
56
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
57
57
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
58
58
  </figure>
59
59
  <div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white" aria-hidden="true">
@@ -70,7 +70,7 @@
70
70
  {{! ---- To handle a single event ----}}
71
71
  <article class="mx-5 md:mx-0 relative col-span-12 flex gap-y-4 gap-x-4 {{inline-switch teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
72
72
  <figure class="relative
73
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
73
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
74
74
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
75
75
  </figure>
76
76
  <div class="absolute flex justify-center w-16 h-full bg-gradient-to-t from-white
@@ -81,7 +81,7 @@
81
81
  <span class="text-xl font-headingSerif">{{this.lastInstant.startDate.day }} </span>
82
82
  <span class="text-xl font-headingSerif">{{this.lastInstant.startDate.monthNameShort }} </span>
83
83
  </div>
84
- <div class=" {{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}
84
+ <div class=" {{~#if this.isMobile1to1}}basis-3/5 md:basis-full{{/if~}}
85
85
  {{inline-switch teaserSize '["100"]' '["border-l-2 border-dotted pt-5 pl-4 border-slate-600"]'}}
86
86
  {{inline-switch teaserSize '["50","33"]' '[" hidden"," hidden"]'}}">
87
87
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
@@ -107,11 +107,11 @@
107
107
  {{/if}}
108
108
  {{else}}
109
109
  <figure class="relative
110
- {{~#if this.isMobile1to1}} basis-2/5 md:flex-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
110
+ {{~#if this.isMobile1to1}} basis-2/5 md:basis-full ar-1-1 md:ar-16-9{{else}} ar-16-9{{/if~}}">
111
111
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
112
112
  </figure>
113
113
  {{/if}}
114
- <div class="{{~#if this.isMobile1to1}}basis-3/5 md:flex-full{{/if~}}{{inline-switch teaserSize '["100"]' '[" hidden"]'}}">
114
+ <div class="{{~#if this.isMobile1to1}}basis-3/5 md:basis-full{{/if~}}{{inline-switch teaserSize '["100"]' '[" hidden"]'}}">
115
115
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
116
116
  {{#decorator 'components/base/link' _css="hover:text-toplineColor" }}
117
117
  {{> components/teaser/components/teaser_heading