hr-design-system-handlebars 1.82.11 → 1.83.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 (73) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/assets/index.css +68 -47
  3. package/dist/assets/js/components/dataPolicySettings/dataPolicySettingsDs.feature.js +29 -29
  4. package/dist/views/components/content/copytext/components/audio.hbs +2 -2
  5. package/dist/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  6. package/dist/views/components/content/copytext/components/cite.hbs +1 -1
  7. package/dist/views/components/content/copytext/components/common/paragraphbox_wrapper.hbs +1 -1
  8. package/dist/views/components/content/copytext/components/image/image.hbs +4 -4
  9. package/dist/views/components/content/copytext/components/paragraph/paragraph_body.hbs +3 -3
  10. package/dist/views/components/content/copytext/components/podcastepisode.hbs +1 -1
  11. package/dist/views/components/content/copytext/components/posterteaser.hbs +1 -1
  12. package/dist/views/components/content/copytext/components/video/video.hbs +2 -2
  13. package/dist/views/components/content/copytext/components/videolivestream.hbs +2 -2
  14. package/dist/views/components/page/base/page_header.hbs +1 -1
  15. package/dist/views/components/page/components/metadatabox.hbs +1 -1
  16. package/dist/views/components/page/story/story_article.hbs +1 -1
  17. package/dist/views_static/components/content/copytext/components/audio.hbs +2 -2
  18. package/dist/views_static/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  19. package/dist/views_static/components/content/copytext/components/cite.hbs +1 -1
  20. package/dist/views_static/components/content/copytext/components/common/paragraphbox_wrapper.hbs +1 -1
  21. package/dist/views_static/components/content/copytext/components/image/image.hbs +4 -4
  22. package/dist/views_static/components/content/copytext/components/paragraph/paragraph_body.hbs +3 -3
  23. package/dist/views_static/components/content/copytext/components/podcastepisode.hbs +1 -1
  24. package/dist/views_static/components/content/copytext/components/posterteaser.hbs +1 -1
  25. package/dist/views_static/components/content/copytext/components/video/video.hbs +2 -2
  26. package/dist/views_static/components/content/copytext/components/videolivestream.hbs +2 -2
  27. package/dist/views_static/components/page/base/page_header.hbs +1 -1
  28. package/dist/views_static/components/page/components/metadatabox.hbs +1 -1
  29. package/dist/views_static/components/page/story/story_article.hbs +1 -1
  30. package/package.json +1 -1
  31. package/src/assets/css/custom-utilities.css +21 -14
  32. package/src/assets/fixtures/content/copytext/copytext_audio.json +116 -0
  33. package/src/assets/fixtures/content/copytext/copytext_audio_livestream.json +115 -0
  34. package/src/assets/fixtures/content/copytext/copytext_cite.json +65 -7
  35. package/src/assets/fixtures/content/copytext/copytext_downloadbox.json +83 -11
  36. package/src/assets/fixtures/content/copytext/copytext_filedownload.json +86 -15
  37. package/src/assets/fixtures/content/copytext/copytext_image.json +92 -0
  38. package/src/assets/fixtures/content/copytext/copytext_infobox.json +65 -16
  39. package/src/assets/fixtures/content/copytext/copytext_livestream.json +84 -0
  40. package/src/assets/fixtures/content/copytext/copytext_media_components.json +1291 -0
  41. package/src/assets/fixtures/content/copytext/copytext_non_media_components.json +1058 -0
  42. package/src/assets/fixtures/content/copytext/copytext_podcastepisode.json +84 -0
  43. package/src/assets/fixtures/content/copytext/copytext_posterteaser.json +82 -7
  44. package/src/assets/fixtures/content/copytext/copytext_video.json +161 -0
  45. package/src/stories/views/components/content/copytext/components/audio.hbs +2 -2
  46. package/src/stories/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  47. package/src/stories/views/components/content/copytext/components/cite.hbs +1 -1
  48. package/src/stories/views/components/content/copytext/components/common/paragraphbox_wrapper.hbs +1 -1
  49. package/src/stories/views/components/content/copytext/components/image/image.hbs +4 -4
  50. package/src/stories/views/components/content/copytext/components/paragraph/paragraph_body.hbs +3 -3
  51. package/src/stories/views/components/content/copytext/components/podcastepisode.hbs +1 -1
  52. package/src/stories/views/components/content/copytext/components/posterteaser.hbs +1 -1
  53. package/src/stories/views/components/content/copytext/components/video/video.hbs +2 -2
  54. package/src/stories/views/components/content/copytext/components/videolivestream.hbs +2 -2
  55. package/src/stories/views/components/content/copytext/copytext.stories.js +21 -1
  56. package/src/stories/views/components/content/copytext/fixtures/copytext_audio.json +1 -1
  57. package/src/stories/views/components/content/copytext/fixtures/copytext_audio_livestream.json +1 -1
  58. package/src/stories/views/components/content/copytext/fixtures/copytext_cite.json +1 -1
  59. package/src/stories/views/components/content/copytext/fixtures/copytext_downloadbox.json +1 -1
  60. package/src/stories/views/components/content/copytext/fixtures/copytext_filedownload.json +1 -1
  61. package/src/stories/views/components/content/copytext/fixtures/copytext_image.json +1 -1
  62. package/src/stories/views/components/content/copytext/fixtures/copytext_infobox.json +1 -1
  63. package/src/stories/views/components/content/copytext/fixtures/copytext_livestream.json +1 -1
  64. package/src/stories/views/components/content/copytext/fixtures/copytext_media_components.json +1 -0
  65. package/src/stories/views/components/content/copytext/fixtures/copytext_non_media_components.json +1 -0
  66. package/src/stories/views/components/content/copytext/fixtures/copytext_podcastepisode.json +1 -1
  67. package/src/stories/views/components/content/copytext/fixtures/copytext_posterteaser.json +1 -1
  68. package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -1
  69. package/src/stories/views/components/dataPolicySettings/dataPolicySettingsDs.feature.js +29 -29
  70. package/src/stories/views/components/page/base/page_header.hbs +1 -1
  71. package/src/stories/views/components/page/components/metadatabox.hbs +1 -1
  72. package/src/stories/views/components/page/story/story_article.hbs +1 -1
  73. package/tailwind.config.js +1 -0
@@ -60,6 +60,90 @@
60
60
  ]
61
61
  }
62
62
  },
63
+ {
64
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
65
+ },
66
+ {
67
+ "isHeadline": true,
68
+ "text": "Podcast Episode in halber Breite unter Bild in voller Breite"
69
+ },
70
+ {
71
+ "paragraphBoxItem": {
72
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
73
+ "@->contentpath": "copytext_image_100",
74
+ "@->replaceToken": [
75
+ {
76
+ "@->token": "image",
77
+ "@->value": "buchmesse-fahnen-102"
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "isParagraph": true,
84
+ "paragraphBoxItem": {
85
+ "@->jsoninclude": "teaser/teasers.inc.json",
86
+ "@->contentpath": "teaser_podcast_episode.logicItem.includeModel",
87
+ "@->extends": {
88
+ "isPodcastEpisode": true,
89
+ "showFullSize": {
90
+ "isTrue": false
91
+ }
92
+ },
93
+ "@->overrides": [
94
+ {
95
+ "@->contentpath": "teaserSize",
96
+ "@->value": "50"
97
+ },
98
+ {
99
+ "@->contentpath": "realTeaserSize",
100
+ "@->value": "50"
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
107
+ },
108
+ {
109
+ "isHeadline": true,
110
+ "text": "Podcast Episode in voller Breite über Bild in halber Breite"
111
+ },
112
+ {
113
+ "isParagraph": true,
114
+ "paragraphBoxItem": {
115
+ "@->jsoninclude": "teaser/teasers.inc.json",
116
+ "@->contentpath": "teaser_podcast_episode.logicItem.includeModel",
117
+ "@->extends": {
118
+ "isPodcastEpisode": true,
119
+ "showFullSize": {
120
+ "isTrue": true
121
+ }
122
+ },
123
+ "@->overrides": [
124
+ {
125
+ "@->contentpath": "teaserSize",
126
+ "@->value": "50"
127
+ },
128
+ {
129
+ "@->contentpath": "realTeaserSize",
130
+ "@->value": "50"
131
+ }
132
+ ]
133
+ }
134
+ },
135
+ {
136
+ "paragraphBoxItem": {
137
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
138
+ "@->contentpath": "copytext_image_50",
139
+ "@->replaceToken": [
140
+ {
141
+ "@->token": "image",
142
+ "@->value": "buchmesse-fahnen-102"
143
+ }
144
+ ]
145
+ }
146
+ },
63
147
  {
64
148
  "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
65
149
  }
@@ -8,11 +8,11 @@
8
8
  "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
9
9
  },
10
10
  {
11
- "isParagraph": true,
11
+ "isParagraph": true,
12
12
  "paragraphTeaserItem": {
13
13
  "isStory": true,
14
14
  "toModel": {
15
- "baseTeaserDS": {
15
+ "baseTeaserDS": {
16
16
  "@->jsoninclude": "teaser/teasers.inc.json",
17
17
  "@->contentpath": "teaser.logicItem.includeModel",
18
18
  "@->extends": {
@@ -54,11 +54,15 @@
54
54
  ]
55
55
  }
56
56
  }
57
- ]
57
+ ]
58
58
  }
59
59
  }
60
60
  }
61
61
  },
62
+ {
63
+ "isHeadline": true,
64
+ "text": "Zwischenüberschrift unter Posterteaser"
65
+ },
62
66
  {
63
67
  "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
64
68
  },
@@ -70,7 +74,78 @@
70
74
  "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
71
75
  },
72
76
  {
73
- "isParagraph": true,
77
+ "isParagraph": true,
78
+ "paragraphTeaserItem": {
79
+ "isStory": true,
80
+ "toModel": {
81
+ "baseTeaserDS": {
82
+ "@->jsoninclude": "teaser/teasers.inc.json",
83
+ "@->contentpath": "teaser.logicItem.includeModel",
84
+ "@->extends": {
85
+ "showFullSize": {
86
+ "isTrue": false
87
+ }
88
+ },
89
+ "@->overrides": [
90
+ {
91
+ "@->contentpath": "title",
92
+ "@->value": "Abgeschobene Geschwister aus Syrien zurück in Wolfhagen Abgeschobene Geschwister aus Syrien zurück in Wolfhagen"
93
+ },
94
+ {
95
+ "@->contentpath": "teaserType",
96
+ "@->value": "poster"
97
+ },
98
+ {
99
+ "@->contentpath": "teaserSize",
100
+ "@->value": "50"
101
+ },
102
+ {
103
+ "@->contentpath": "realTeaserSize",
104
+ "@->value": "50"
105
+ },
106
+ {
107
+ "@->contentpath": "link.readMoreText.readMoreLong",
108
+ "@->value": "Zum Artikel"
109
+ },
110
+ {
111
+ "@->contentpath": "teaserImage",
112
+ "@->value": {
113
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
114
+ "@->contentpath": "teaser_poster_50",
115
+ "@->replaceToken": [
116
+ {
117
+ "@->token": "image",
118
+ "@->value": "rueckkehr-nach-abschiebung-102"
119
+ }
120
+ ]
121
+ }
122
+ }
123
+ ]
124
+ }
125
+ }
126
+ }
127
+ },
128
+ {
129
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
130
+ },
131
+ {
132
+ "isHeadline": true,
133
+ "text": "Posterteaser in halber Breite unter Bild"
134
+ },
135
+ {
136
+ "paragraphBoxItem": {
137
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
138
+ "@->contentpath": "copytext_image_100",
139
+ "@->replaceToken": [
140
+ {
141
+ "@->token": "image",
142
+ "@->value": "buchmesse-fahnen-102"
143
+ }
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ "isParagraph": true,
74
149
  "paragraphTeaserItem": {
75
150
  "isStory": true,
76
151
  "toModel": {
@@ -116,7 +191,7 @@
116
191
  ]
117
192
  }
118
193
  }
119
- ]
194
+ ]
120
195
  }
121
196
  }
122
197
  }
@@ -132,7 +207,7 @@
132
207
  "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
133
208
  },
134
209
  {
135
- "isParagraph": true,
210
+ "isParagraph": true,
136
211
  "paragraphTeaserItem": {
137
212
  "isStory": true,
138
213
  "toModel": {
@@ -181,7 +256,7 @@
181
256
  ]
182
257
  }
183
258
  }
184
- ]
259
+ ]
185
260
  }
186
261
  }
187
262
  }
@@ -76,9 +76,170 @@
76
76
  }
77
77
  }
78
78
  },
79
+ {
80
+ "isHeadline": true,
81
+ "text": "Zwischenüberschrift unter Video"
82
+ },
83
+ {
84
+ "paragraphBoxItem": {
85
+ "isVideo": true,
86
+ "isVideoOnDemand": true,
87
+ "showFullSize": {
88
+ "isTrue": true
89
+ },
90
+ "label": {
91
+ "type": "video",
92
+ "loca": "label_video",
93
+ "byline": {
94
+ "bylineText": "03:20 Min."
95
+ }
96
+ },
97
+ "copyright": "hessenschau",
98
+ "showAirdate": true,
99
+ "airdateDate": {
100
+ "htmlDateTime": "2022-10-31T19:30+0200",
101
+ "htmlDate": "31.10.2022",
102
+ "date": "31.10.22",
103
+ "dateSeparatorTime": "31.10.22, 19:30"
104
+ },
105
+ "toModel": {
106
+ "videoElement": {
107
+ "ardPlayerConfig": {
108
+ "@->jsoninclude": "video/videos.inc.json",
109
+ "@->contentpath": "video-1"
110
+ },
111
+ "ardPlayerJsonConfig": {
112
+ "@->jsoninclude": "video/videos.inc.json",
113
+ "@->contentpath": "video-1"
114
+ }
115
+ },
116
+ "mediaBacklinkToStoryTeaser": {
117
+ "link": {
118
+ "url": "/videoseite",
119
+ "isTargetBlank": false
120
+ },
121
+ "readMoreScreenreader": "zum hr3.de Video",
122
+ "title": "Musik macht deinen Tag",
123
+ "isForeignBrand": true,
124
+ "readMore": "zur hr3.de Video-Einzelseite",
125
+ "hasIcon": true,
126
+ "iconName": "extern"
127
+ }
128
+ },
129
+ "teaseritem": {
130
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
131
+ "@->contentpath": "copytext_image_100",
132
+ "@->replaceToken": [
133
+ {
134
+ "@->token": "image",
135
+ "@->value": "lehrerin-ukraine-104"
136
+ }
137
+ ]
138
+ },
139
+
140
+ "teaserImage": {
141
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
142
+ "@->contentpath": "copytext_image_100",
143
+ "@->replaceToken": [
144
+ {
145
+ "@->token": "image",
146
+ "@->value": "lehrerin-ukraine-104"
147
+ }
148
+ ]
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
154
+ },
155
+ {
156
+ "paragraphBoxItem": {
157
+ "isVideo": true,
158
+ "isVideoOnDemand": true,
159
+ "showFullSize": {
160
+ "isTrue": false
161
+ },
162
+ "label": {
163
+ "type": "video",
164
+ "loca": "label_video",
165
+ "byline": {
166
+ "bylineText": "03:20 Min."
167
+ }
168
+ },
169
+ "copyright": "hessenschau",
170
+ "showAirdate": true,
171
+ "airdateDate": {
172
+ "htmlDateTime": "2022-10-31T19:30+0200",
173
+ "htmlDate": "31.10.2022",
174
+ "date": "31.10.22",
175
+ "dateSeparatorTime": "31.10.22, 19:30"
176
+ },
177
+ "toModel": {
178
+ "videoElement": {
179
+ "ardPlayerConfig": {
180
+ "@->jsoninclude": "video/videos.inc.json",
181
+ "@->contentpath": "video-2"
182
+ },
183
+ "ardPlayerJsonConfig": {
184
+ "@->jsoninclude": "video/videos.inc.json",
185
+ "@->contentpath": "video-2"
186
+ }
187
+ },
188
+ "mediaBacklinkToStoryTeaser": {
189
+ "link": {
190
+ "url": "/videoseite",
191
+ "isTargetBlank": false
192
+ },
193
+ "readMoreScreenreader": "zum hr3.de Video",
194
+ "title": "Musik macht deinen Tag",
195
+ "isForeignBrand": false,
196
+ "readMore": "zur hr3.de VideoEinzel-seite",
197
+ "hasIcon": true,
198
+ "iconName": "extern"
199
+ }
200
+ },
201
+ "teaseritem": {
202
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
203
+ "@->contentpath": "copytext_image_50",
204
+ "@->replaceToken": [
205
+ {
206
+ "@->token": "image",
207
+ "@->value": "lehrerin-ukraine-104"
208
+ }
209
+ ]
210
+ },
211
+
212
+ "teaserImage": {
213
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
214
+ "@->contentpath": "copytext_image_50",
215
+ "@->replaceToken": [
216
+ {
217
+ "@->token": "image",
218
+ "@->value": "lehrerin-ukraine-104"
219
+ }
220
+ ]
221
+ }
222
+ }
223
+ },
79
224
  {
80
225
  "@->jsoninclude": "content/copytext/copytext_paragraph.inc.json"
81
226
  },
227
+ {
228
+ "isHeadline": true,
229
+ "text": "Video in halber Breite unter Bild in voller Breite"
230
+ },
231
+ {
232
+ "paragraphBoxItem": {
233
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
234
+ "@->contentpath": "copytext_image_100",
235
+ "@->replaceToken": [
236
+ {
237
+ "@->token": "image",
238
+ "@->value": "buchmesse-fahnen-102"
239
+ }
240
+ ]
241
+ }
242
+ },
82
243
  {
83
244
  "paragraphBoxItem": {
84
245
  "isVideo": true,
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width sm:article-narrow mt-12 mb-6 sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden article-full-width mt-12 mb-6 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width sm:article-narrow mt-12 mb-6 sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden article-full-width mt-12 mb-6 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -1,4 +1,4 @@
1
- <div class="{{#if this.paragraphProperties.[0].showFullSize }}mt-6 mb-2 sm480:mt-7 sm480:mb-7{{else}}mr-0 sm:mr-5 mb-2 sm:mb-5 mt-5 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="{{#if this.paragraphProperties.[0].showFullSize }}mt-6 mb-2 sm480:mt-7 sm480:mb-7{{else}}hr-copytext-teaser-half mr-0 sm:mr-5 mb-2 sm:mb-5 mt-5 w-full sm:w-1/2 sm:float-left{{/if}}">
2
2
  {{> components/base/image/icon _icon="quotation" _addClass="sm:ml-4 mr-2 mt-px float-left text-gray-scorpion w-6 h-6 sm480:w-8 sm480:h-8 fill-current dark:fill-link-dark"}}
3
3
  <span class="sr-only">{{loca "story_cite_intro_sr" }}</span>
4
4
  <blockquote>
@@ -1,3 +1,3 @@
1
- <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}clear-both mt-12 mb-8 sm:mt-14 sm:mb-14 {{else}}mb-8 sm:mb-5 sm:mt-6 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="ml-1 sm:ml-6 px-4 sm:px-6 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 mr-0 sm:mr-5 w-full sm:w-1/2 sm:float-left{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -1,7 +1,7 @@
1
1
  {{#if this.showPortrait.isTrue }}
2
2
  {{#if this.showFullSize.isTrue }}
3
3
  {{> components/content/copytext/components/image/figure
4
- _cssClass="mt-12 mb-8 sm480:mt-14 sm480:mb-14 clear-both article-full-width sm:article-narrow"
4
+ _cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
5
5
  _cssClassCaption="mx-5 sm:mx-0"
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
@@ -9,7 +9,7 @@
9
9
  _isWebview=_isWebview}}
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
- _cssClass="mt-12 mb-8 sm480:mt-6 sm480:mb-5 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
12
+ _cssClass="hr-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
13
13
  _cssClassCaption="mx-5 sm:mx-0"
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
@@ -19,7 +19,7 @@
19
19
  {{else}}
20
20
  {{#if this.showFullSize.isTrue}}
21
21
  {{> components/content/copytext/components/image/figure
22
- _cssClass="mt-12 mb-8 sm480:mt-14 sm480:mb-14 clear-both article-full-width sm:article-narrow"
22
+ _cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
23
23
  _cssClassCaption="mx-5 sm:mx-0"
24
24
  _type="story"
25
25
  _variant="100-copytext"
@@ -27,7 +27,7 @@
27
27
  _isWebview=_isWebview}}
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
- _cssClass="mt-12 mb-8 sm480:mt-6 sm480:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
30
+ _cssClass="hr-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
31
31
  _cssClassCaption="mx-5 sm:mx-0"
32
32
  _type="story"
33
33
  _variant="copytext"
@@ -1,9 +1,9 @@
1
1
  {{#if this.isText}}
2
- <p class="mt-4 sm480:mt-5 text-lg leading-normal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</p>
2
+ <p class="mt-4 sm:mt-5 text-lg leading-normal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</p>
3
3
  {{/if}}
4
4
  {{#if this.isUl}}
5
- <ul class="pl-9 mt-4 sm480:mt-5 overflow-hidden text-lg leading-normal list-disc copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ul>
5
+ <ul class="pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-disc copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ul>
6
6
  {{/if}}
7
7
  {{#if this.isOl}}
8
- <ol class="pl-9 mt-4 sm480:mt-5 overflow-hidden text-lg leading-normal list-decimal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ol>
8
+ <ol class="pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-decimal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ol>
9
9
  {{/if}}
@@ -1,3 +1,3 @@
1
- <div class="{{#if this.showFullSize.isTrue }}clear-both mt-12 mb-8 sm:mt-14 sm:mb-14{{else}}sm:w-1/2 clear-both sm:float-left sm:mr-5 mt-12 mb-8 sm:mt-6 sm:mb-5{{/if}}">
1
+ <div class="{{#if this.showFullSize.isTrue }}clear-both [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14{{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left sm:mr-5 mt-12 mb-8 sm:mt-6 sm:mb-5{{/if}}">
2
2
  {{> components/teaser/podcast/podcast _headlineTag="h3" _isCopytext=true }}
3
3
  </div>
@@ -1,3 +1,3 @@
1
- <div class="w-5/6 sm480:w-2/3 mx-auto {{#if this.showFullSize.isTrue }}clear-both pb-8 sm:pb-9 mt-12 sm:mt-14 {{else}}sm:w-1/2 clear-both sm:float-left mt-12 mb-8 sm:mt-6 sm:mb-5 sm:mr-5{{/if}}">
1
+ <div class="article-narrow w-auto [&+h2]:mt-4 xs:article-full-width xs:mx-13 {{#if this.showFullSize.isTrue }}hr-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left mt-12 mb-8 sm:mt-6 sm:mb-5 sm:mr-5 sm:ml-0{{/if}}">
2
2
  {{> components/teaser/teaser_poster _isCopytext=true }}
3
3
  </div>
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width sm:article-narrow mt-12 mb-6 sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden article-full-width sm:article-narrow mt-12 mb-6 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width sm:article-narrow mt-12 mb-6 sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden article-full-width sm:article-narrow mt-12 mb-6 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,7 @@
1
1
  import copytext from './copytext.hbs'
2
2
  import copytext_json from './fixtures/copytext.json'
3
+ import copytext_media_components_json from './fixtures/copytext_media_components.json'
4
+ import copytext_non_media_components_json from './fixtures/copytext_non_media_components.json'
3
5
  import copytext_posterteaser_json from './fixtures/copytext_posterteaser.json'
4
6
  import copytext_additionalInfo_json from './fixtures/copytext_additionalInfo.json'
5
7
  import copytext_cite_json from './fixtures/copytext_cite.json'
@@ -31,7 +33,7 @@ export default {
31
33
  </div>`
32
34
  },
33
35
  ],
34
- parameters: { layout: 'fullscreen' }
36
+ parameters: { layout: 'fullscreen', chromatic: { disableSnapshot: true } }
35
37
  }
36
38
 
37
39
  export const Default = {
@@ -136,3 +138,21 @@ export const WithAudioEventStream = {
136
138
  name: 'Audio-Livestream',
137
139
  args: copytext_audio_event_stream_json,
138
140
  }
141
+
142
+ export const SnapshotWithMedia = {
143
+ render: Template.bind({}),
144
+ name: 'Snapshot 1',
145
+ args: copytext_media_components_json,
146
+ parameters: {
147
+ chromatic: { disableSnapshot: false },
148
+ },
149
+ }
150
+
151
+ export const SnapshotWithoutMedia = {
152
+ render: Template.bind({}),
153
+ name: 'Snapshot 2',
154
+ args: copytext_non_media_components_json,
155
+ parameters: {
156
+ chromatic: { disableSnapshot: false },
157
+ },
158
+ }