hr-design-system-handlebars 0.51.2 → 0.52.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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.52.0 (Mon Aug 01 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Dpe 1675 Download Teaser [#290](https://github.com/mumprod/hr-design-system-handlebars/pull/290) ([@Sunny1112358](https://github.com/Sunny1112358))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@Sunny1112358](https://github.com/Sunny1112358)
10
+
11
+ ---
12
+
1
13
  # v0.51.2 (Thu Jul 28 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -17,6 +17,7 @@ module.exports = function(text, options) {
17
17
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
18
  "date_simple_at": options + " Uhr",
19
19
  "label_ticker":"Ticker",
20
+ "label_download":"Download",
20
21
  "label_media":"Media",
21
22
  "group_tabbed_more":"weitere Meldungen aus " + options,
22
23
  }
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.51.2",
9
+ "version": "0.52.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,40 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserDownload",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "100"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ },
21
+ {
22
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_1_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.label",
34
+ "@->value": {
35
+ "@->jsoninclude": "teaser/teaser_labels.inc.json",
36
+ "@->contentpath": "download"
37
+ }
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserDownload",
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
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_2_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.label",
34
+ "@->value": {
35
+ "@->jsoninclude": "teaser/teaser_labels.inc.json",
36
+ "@->contentpath": "download"
37
+ }
38
+ }
39
+ ]
40
+ }
@@ -14,5 +14,13 @@
14
14
  "bylineSsi": "BylineText aus ssi",
15
15
  "bylineText": "BylineText"
16
16
  }
17
+ },
18
+ "download": {
19
+ "type": "download",
20
+ "loca": "label_download",
21
+ "byline": {
22
+ "bylineSsi": "ZIP - 3mb",
23
+ "bylineText": "BylineText"
24
+ }
17
25
  }
18
26
  }
@@ -0,0 +1,17 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserDownload",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "100"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.label",
11
+ "@->value": {
12
+ "@->jsoninclude": "teaser/teaser_labels.inc.json",
13
+ "@->contentpath": "download"
14
+ }
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaserDownload",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includeModel.teaserSize",
7
+ "@->value": "50"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.label",
11
+ "@->value": {
12
+ "@->jsoninclude": "teaser/teaser_labels.inc.json",
13
+ "@->contentpath": "download"
14
+ }
15
+ }
16
+ ]
17
+ }
@@ -110,6 +110,117 @@
110
110
  }
111
111
  }
112
112
  },
113
+ "teaserDownload": {
114
+ "isSsi": true,
115
+ "logicItem": {
116
+ "includePath": "components/teaser/teaser_standard",
117
+ "includeModel": {
118
+ "byline": "Byline",
119
+ "title": "Download",
120
+ "topline": "",
121
+ "headingFontVariant": "serif",
122
+ "extendedTitle": "",
123
+ "teaserType": "standard-ds",
124
+ "teaserSize": "hero",
125
+ "isMobile1to1": false,
126
+ "teaserDate": {
127
+ "htmlDateTime": "2022-04-17T19:30+0200",
128
+ "htmlDate": "20.02.1983",
129
+ "date": "17.04.22",
130
+ "dateSeparatorTime": "17.04.22, 19:30"
131
+ },
132
+ "teaserInfo": {
133
+ "showTeaserInfo": true,
134
+ "showTeaserInfoSection": true,
135
+ "showTeaserInfoChannel": true,
136
+ "showTeaserInfoAll": true,
137
+ "showTeaserInfoDate": false,
138
+ "showTeaserInfoDateTime": false,
139
+ "showTeaserInfoProgramRef": true
140
+ },
141
+ "teaserImage": {
142
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
143
+ "@->contentpath": "standard_1"
144
+ },
145
+ "hasMediaButtons": false,
146
+ "dontLazyload": true,
147
+ "isStandardTeaser": true,
148
+ "isHeroTeaser": true,
149
+ "isMediaTeaser": false,
150
+ "isGuide": false,
151
+ "isProgram": false,
152
+ "isEvent": false,
153
+ "isTicker": false,
154
+ "isAudio": false,
155
+ "isVideo": false,
156
+ "isPodcastEpisode": false,
157
+ "isExtOrBrandLink": false,
158
+ "isAuthor": false,
159
+ "copyright": "Copyright Text",
160
+ "audioAuthor": "Audio Author",
161
+ "hasStatus": false,
162
+ "hasTeaserItem": true,
163
+ "allowAVConsumption": false,
164
+ "displayEpgInfos": false,
165
+ "aspectRatio": "ar--teaserTop",
166
+ "hideGeotag": false,
167
+ "hideEditableByline": true,
168
+ "doTracking": true,
169
+ "trackingForArdMediatheksLink": false,
170
+ "showMediatheksLink": false,
171
+ "showAirdate": false,
172
+ "showProfileInfoAsByline": false,
173
+ "obsolet_brandOfTeaser": "hessenschau",
174
+ "documentSection": "",
175
+ "headlineTag": "h1",
176
+ "icon": "ortsmarke",
177
+ "imageVariant": "topteaser",
178
+ "shorttext": "",
179
+ "sophoraId": "rueckkehr-nach-abschiebung-wolfhagen--100",
180
+ "profiles": "",
181
+ "teaserLead": {
182
+ "avDocument": "",
183
+ "image": ""
184
+ },
185
+ "geotag": [
186
+ {
187
+ "title": "Wolfhagen"
188
+ }
189
+ ],
190
+ "link": {
191
+ "url": "/teaser1",
192
+ "webviewUrl": "/teaser1#webview",
193
+ "isTargetBlank": false,
194
+ "hasIcon": false,
195
+ "iconName": "iconName",
196
+ "readMoreText": {
197
+ "readMoreScreenreader": "Zum Artikel",
198
+ "readMore": "mehr",
199
+ "readMoreLong": "read More Long"
200
+ },
201
+ "content": {
202
+ "headlineTag": "h1",
203
+ "headingFontVariant": "serif",
204
+ "imageVariant": "topteaser",
205
+ "isFileDownload": false,
206
+ "teaserImage": {
207
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
208
+ "@->contentpath": "standard_1"
209
+ },
210
+ "teaserSize": "hero",
211
+ "isMobile1to1": false,
212
+ "teaserType": "standard-ds",
213
+ "title": "Abgeschobene Geschwister aus Syrien zurück in Wolfhagen",
214
+ "topline": "Überglücklich, aber ohne Mama",
215
+ "trackingData": {
216
+ "secondLevelId": "2",
217
+ "pageName": "hessenschau"
218
+ }
219
+ }
220
+ }
221
+ }
222
+ }
223
+ },
113
224
  "teaserWithComments": {
114
225
  "isSsi": true,
115
226
  "logicItem": {
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"byline":"Byline","title":"Download","topline":"","headingFontVariant":"serif","extendedTitle":"","teaserType":"alternative-ds","teaserSize":"100","isMobile1to1":"true","teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":false,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"media":"all and (max-width: 47.938em)","sizes":"40vw","srcset":"https://picsum.photos/id/188/320/320 320w, https://picsum.photos/id/188/480/480 480w, https://picsum.photos/id/188/640/640 640w, https://picsum.photos/id/188/960/960 960w"},{"media":"all and (min-width: 48em) ","sizes":"33vw","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"}]}},"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"","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"},"content":{"headlineTag":"h1","headingFontVariant":"serif","imageVariant":"topteaser","isFileDownload":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"sizes":"(min-width: 1010px) 960px, 100vw","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"}]}},"teaserSize":"hero","isMobile1to1":"true","teaserType":"standard-ds","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","trackingData":{"secondLevelId":"2","pageName":"hessenschau"}}},"label":{"type":"download","loca":"label_download","byline":{"bylineSsi":"ZIP - 3mb","bylineText":"BylineText"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"byline":"Byline","title":"Download","topline":"","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"},"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":false,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"https://picsum.photos/id/189/480/270","sources":[{"media":"all and (max-width: 47.938em)","sizes":"40vw","srcset":"https://picsum.photos/id/189/320/320 320w, https://picsum.photos/id/189/480/480 480w, https://picsum.photos/id/189/640/640 640w, https://picsum.photos/id/189/960/960 960w"},{"media":"all and (min-width: 48em) ","sizes":"33vw","srcset":"https://picsum.photos/id/189/320/180 320w, https://picsum.photos/id/189/480/270 480w, https://picsum.photos/id/189/640/360 640w, https://picsum.photos/id/189/960/540 960w"}]}},"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"","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"},"content":{"headlineTag":"h1","headingFontVariant":"serif","imageVariant":"topteaser","isFileDownload":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"sizes":"(min-width: 1010px) 960px, 100vw","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"}]}},"teaserSize":"hero","isMobile1to1":"true","teaserType":"standard-ds","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","trackingData":{"secondLevelId":"2","pageName":"hessenschau"}}},"label":{"type":"download","loca":"label_download","byline":{"bylineSsi":"ZIP - 3mb","bylineText":"BylineText"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Download","topline":"","headingFontVariant":"serif","extendedTitle":"","teaserType":"standard-ds","teaserSize":"100","isMobile1to1":false,"teaserDate":{"htmlDateTime":"2022-04-17T19:30+0200","htmlDate":"20.02.1983","date":"17.04.22","dateSeparatorTime":"17.04.22, 19:30"},"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":false,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"sizes":"(min-width: 1010px) 960px, 100vw","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"}]}},"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"","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"},"content":{"headlineTag":"h1","headingFontVariant":"serif","imageVariant":"topteaser","isFileDownload":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"sizes":"(min-width: 1010px) 960px, 100vw","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"}]}},"teaserSize":"hero","isMobile1to1":false,"teaserType":"standard-ds","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","trackingData":{"secondLevelId":"2","pageName":"hessenschau"}}},"label":{"type":"download","loca":"label_download","byline":{"bylineSsi":"ZIP - 3mb","bylineText":"BylineText"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"byline":"Byline","title":"Download","topline":"","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"},"teaserInfo":{"showTeaserInfo":true,"showTeaserInfoSection":true,"showTeaserInfoChannel":true,"showTeaserInfoAll":true,"showTeaserInfoDate":false,"showTeaserInfoDateTime":false,"showTeaserInfoProgramRef":true},"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"sizes":"(min-width: 1010px) 960px, 100vw","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"}]}},"hasMediaButtons":false,"dontLazyload":true,"isStandardTeaser":true,"isHeroTeaser":true,"isMediaTeaser":false,"isGuide":false,"isProgram":false,"isEvent":false,"isTicker":false,"isAudio":false,"isVideo":false,"isPodcastEpisode":false,"isExtOrBrandLink":false,"isAuthor":false,"copyright":"Copyright Text","audioAuthor":"Audio Author","hasStatus":false,"hasTeaserItem":true,"allowAVConsumption":false,"displayEpgInfos":false,"aspectRatio":"ar--teaserTop","hideGeotag":false,"hideEditableByline":true,"doTracking":true,"trackingForArdMediatheksLink":false,"showMediatheksLink":false,"showAirdate":false,"showProfileInfoAsByline":false,"obsolet_brandOfTeaser":"hessenschau","documentSection":"","headlineTag":"h1","icon":"ortsmarke","imageVariant":"topteaser","shorttext":"","sophoraId":"rueckkehr-nach-abschiebung-wolfhagen--100","profiles":"","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"},"content":{"headlineTag":"h1","headingFontVariant":"serif","imageVariant":"topteaser","isFileDownload":false,"teaserImage":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"https://picsum.photos/id/188/480/270","sources":[{"sizes":"(min-width: 1010px) 960px, 100vw","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"}]}},"teaserSize":"hero","isMobile1to1":false,"teaserType":"standard-ds","title":"Abgeschobene Geschwister aus Syrien zurück in Wolfhagen","topline":"Überglücklich, aber ohne Mama","trackingData":{"secondLevelId":"2","pageName":"hessenschau"}}},"label":{"type":"download","loca":"label_download","byline":{"bylineSsi":"ZIP - 3mb","bylineText":"BylineText"}}}}}
@@ -8,6 +8,7 @@ import heroTeaserWithLabel from './fixtures/teaser_alternative_hero_serif_label.
8
8
  import heroTeaserWithComments from './fixtures/teaser_alternative_hero_serif_comments.json'
9
9
  import teaser100 from './fixtures/teaser_alternative_100_serif.json'
10
10
  import teaser50 from './fixtures/teaser_alternative_50_serif.json'
11
+ import teaser50Download from './fixtures/teaser_alternative_50_serif_download.json'
11
12
 
12
13
  <Meta
13
14
  title="Komponenten/Teaser/Alternativ"
@@ -67,6 +68,10 @@ Der Alternativ-Teaser besteht aus 2 Hauptelemente: <b>Bild</b> und <b>Text</b> (
67
68
  Desktop = Bild(33%) neben Text(66%) <br/>
68
69
  Mobile = Verhalten wie bei 100% Standard-Teaser <br/>
69
70
 
71
+ <b>Alternativ 50% mit Download:</b> <br/>
72
+ Desktop = Bild(33%) neben Text(66%) <br/>
73
+ Mobile = Verhalten wie bei 100% Standard-Teaser <br/>
74
+
70
75
  Der Alternativ-Teaser soll nur als 100%- bzw. 50%-Teaser verwendet werden.
71
76
 
72
77
  ## Sub-Komponenten
@@ -111,4 +116,7 @@ Die Alternativ-Teaser-Komponente wird in handlebars wie folgt eingebaut:
111
116
  <Story name="Alternativ 50" args={teaser50.logicItem.includeModel}>
112
117
  {Template.bind({})}
113
118
  </Story>
119
+ <Story name="Alternativ 50 mit Download" args={teaser50Download.logicItem.includeModel}>
120
+ {Template.bind({})}
121
+ </Story>
114
122
  </Preview>
@@ -7,6 +7,7 @@ import teaser100Serif from './fixtures/teaser_standard_100_serif.json'
7
7
  import teaser50Serif from './fixtures/teaser_standard_50_serif.json'
8
8
  import teaser33Serif from './fixtures/teaser_standard_33_serif.json'
9
9
  import teaser25Serif from './fixtures/teaser_standard_25_serif.json'
10
+ import teaser100Download from './fixtures/teaser_standard_100_serif_download.json'
10
11
 
11
12
  <Meta
12
13
  title="Komponenten/Teaser/Standard"
@@ -108,5 +109,8 @@ Die Standard-Teaser-Komponente wird in handlebars wie folgt eingebaut:
108
109
  <Story name="Standard 25" args={teaser25Serif.logicItem.includeModel}>
109
110
  {Template.bind({})}
110
111
  </Story>
112
+ <Story name="Standard 100 Mit Download" args={teaser100Download.logicItem.includeModel}>
113
+ {Template.bind({})}
114
+ </Story>
111
115
  </Preview>
112
116