hr-design-system-handlebars 1.70.0 → 1.70.2
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 +25 -0
- package/dist/assets/brand/hessenschau/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr1/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr2/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr3/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/hr4/conf/locatags.merged.json +2 -0
- package/dist/assets/brand/you-fm/conf/locatags.merged.json +2 -0
- package/dist/assets/index.css +36 -7
- package/dist/views/components/base/a11y/ariaLabelText.hbs +23 -0
- package/dist/views/components/button/utilities/button_on_image_classes.hbs +5 -1
- package/dist/views/components/content/copytext/components/media/media_figure.hbs +32 -0
- package/dist/views/components/content/copytext/components/media/media_figure_byline.hbs +35 -0
- package/dist/views/components/content/copytext/components/media/media_figure_headline.hbs +14 -0
- package/dist/views/components/content/copytext/components/video/video.hbs +5 -0
- package/dist/views/components/content/copytext/components/video/video_element.hbs +15 -0
- package/dist/views/components/content/copytext/components/video/video_element_ondemand.hbs +23 -0
- package/dist/views/components/content/copytext/copytext.hbs +1 -1
- package/dist/views/components/label/label.hbs +2 -2
- package/dist/views/components/program_reference/program_reference.hbs +1 -1
- package/dist/views/components/teaser/ticker/teaser_ticker_body.hbs +1 -1
- package/dist/views/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
- package/dist/views_static/components/base/a11y/ariaLabelText.hbs +23 -0
- package/dist/views_static/components/button/utilities/button_on_image_classes.hbs +5 -1
- package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +32 -0
- package/dist/views_static/components/content/copytext/components/media/media_figure_byline.hbs +35 -0
- package/dist/views_static/components/content/copytext/components/media/media_figure_headline.hbs +14 -0
- package/dist/views_static/components/content/copytext/components/video/video.hbs +5 -0
- package/dist/views_static/components/content/copytext/components/video/video_element.hbs +15 -0
- package/dist/views_static/components/content/copytext/components/video/video_element_ondemand.hbs +23 -0
- package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
- package/dist/views_static/components/label/label.hbs +2 -2
- package/dist/views_static/components/program_reference/program_reference.hbs +1 -1
- package/dist/views_static/components/teaser/ticker/teaser_ticker_body.hbs +1 -1
- package/dist/views_static/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/brand/_default/conf/locatags.json +3 -1
- package/src/assets/brand/hessenschau/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-bigband/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr-werbung/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr1/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr2/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr3/conf/locatags.merged.json +2 -0
- package/src/assets/brand/hr4/conf/locatags.merged.json +2 -0
- package/src/assets/brand/you-fm/conf/locatags.merged.json +2 -0
- package/src/assets/css/custom-utilities.css +15 -0
- package/src/assets/fixtures/content/copytext/copytext_video.json +159 -0
- package/src/assets/fixtures/teaser/teaser_labels.inc.json +4 -0
- package/src/assets/fixtures/video/videos.inc.json +77 -0
- package/src/stories/views/components/base/a11y/ariaLabelText.hbs +23 -0
- package/src/stories/views/components/button/utilities/button_on_image_classes.hbs +5 -1
- package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +32 -0
- package/src/stories/views/components/content/copytext/components/media/media_figure_byline.hbs +35 -0
- package/src/stories/views/components/content/copytext/components/media/media_figure_headline.hbs +14 -0
- package/src/stories/views/components/content/copytext/components/video/video.hbs +5 -0
- package/src/stories/views/components/content/copytext/components/video/video_element.hbs +15 -0
- package/src/stories/views/components/content/copytext/components/video/video_element_ondemand.hbs +23 -0
- package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
- package/src/stories/views/components/content/copytext/copytext.stories.js +7 -0
- package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -0
- package/src/stories/views/components/label/label.hbs +2 -2
- package/src/stories/views/components/program_reference/program_reference.hbs +1 -1
- package/src/stories/views/components/teaser/ticker/teaser_ticker_body.hbs +1 -1
- package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.hbs +1 -1
- package/dist/views/components/content/copytext/components/video.hbs +0 -9
- package/dist/views_static/components/content/copytext/components/video.hbs +0 -9
- package/src/stories/views/components/content/copytext/components/video.hbs +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v1.70.2 (Tue Jun 11 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- show two topnews in 33% Ticker-Teaser (desktop) [#939](https://github.com/mumprod/hr-design-system-handlebars/pull/939) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.70.1 (Tue Jun 11 2024)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- DPE-323: add add copytext-video component [#928](https://github.com/mumprod/hr-design-system-handlebars/pull/928) (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
|
# v1.70.0 (Tue Jun 11 2024)
|
|
2
27
|
|
|
3
28
|
#### 🚀 Enhancement
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hessenschau . d e",
|
|
165
167
|
"meta_application_name": "hessenschau.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr . d e",
|
|
165
167
|
"meta_application_name": "hr.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr-bigband . d e",
|
|
165
167
|
"meta_application_name": "hr-bigband.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr-fernsehen . d e",
|
|
165
167
|
"meta_application_name": "hr-fernsehen.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr-inforadio . d e",
|
|
165
167
|
"meta_application_name": "hr-inforadio.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr-rundfunkrat . d e",
|
|
165
167
|
"meta_application_name": "hr-rundfunkrat.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr-sinfonieorchester . d e",
|
|
165
167
|
"meta_application_name": "hr-sinfonieorchester.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr-werbung . d e",
|
|
165
167
|
"meta_application_name": "hr-werbung.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr1 . d e",
|
|
165
167
|
"meta_application_name": "hr1.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr2 . d e",
|
|
165
167
|
"meta_application_name": "hr2.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr3 . d e",
|
|
165
167
|
"meta_application_name": "hr3.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite hr4 . d e",
|
|
165
167
|
"meta_application_name": "hr4.de"
|
|
166
168
|
}
|
|
@@ -161,6 +161,8 @@
|
|
|
161
161
|
"ext_service_datapolicy_no_js_link": "{0}-Inhalt öffnen",
|
|
162
162
|
"story_infobox_intro_sr": "Weitere Informationen",
|
|
163
163
|
"story_infobox_outro_sr": "Ende der weiteren Informationen",
|
|
164
|
+
"story_video_intro_sr": "Videobeitrag",
|
|
165
|
+
"story_video_outro_sr": "Ende des Videobeitrags",
|
|
164
166
|
"header_homepage_link_title": "Startseite you-fm . d e",
|
|
165
167
|
"meta_application_name": "you-fm.de"
|
|
166
168
|
}
|
package/dist/assets/index.css
CHANGED
|
@@ -2184,6 +2184,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2184
2184
|
.border-t {
|
|
2185
2185
|
border-top-width: 1px;
|
|
2186
2186
|
}
|
|
2187
|
+
.border-t-\[3px\] {
|
|
2188
|
+
border-top-width: 3px;
|
|
2189
|
+
}
|
|
2187
2190
|
.border-solid {
|
|
2188
2191
|
border-style: solid;
|
|
2189
2192
|
}
|
|
@@ -3347,7 +3350,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3347
3350
|
border-bottom-color: var(--color-secondary-ds);
|
|
3348
3351
|
}
|
|
3349
3352
|
.counter-reset {
|
|
3350
|
-
counter-reset:
|
|
3353
|
+
counter-reset: cnt1718116597844;
|
|
3351
3354
|
}
|
|
3352
3355
|
.hyphens-auto {
|
|
3353
3356
|
-webkit-hyphens: auto;
|
|
@@ -3726,7 +3729,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3726
3729
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3727
3730
|
}
|
|
3728
3731
|
.-ordered {
|
|
3729
|
-
counter-increment:
|
|
3732
|
+
counter-increment: cnt1718116597844 1;
|
|
3730
3733
|
}
|
|
3731
3734
|
.-ordered::before {
|
|
3732
3735
|
position: absolute;
|
|
@@ -3742,7 +3745,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3742
3745
|
letter-spacing: .0125em;
|
|
3743
3746
|
--tw-text-opacity: 1;
|
|
3744
3747
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3745
|
-
content: counter(
|
|
3748
|
+
content: counter(cnt1718116597844);
|
|
3746
3749
|
}
|
|
3747
3750
|
/*! ****************************/
|
|
3748
3751
|
/*! DataPolicy stuff */
|
|
@@ -3835,6 +3838,12 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3835
3838
|
border-color: #000000;
|
|
3836
3839
|
border-color: var(--search-border-color-mobile);
|
|
3837
3840
|
}
|
|
3841
|
+
/*! ***********************************/
|
|
3842
|
+
/*! restrict number of li-elements */
|
|
3843
|
+
/*! **********************************/
|
|
3844
|
+
ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
|
|
3845
|
+
display: none;
|
|
3846
|
+
}
|
|
3838
3847
|
.\[-T\:\+Z\] {
|
|
3839
3848
|
--t: +Z;
|
|
3840
3849
|
}
|
|
@@ -6234,6 +6243,11 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
6234
6243
|
padding-right: 2.375rem;
|
|
6235
6244
|
}
|
|
6236
6245
|
|
|
6246
|
+
.sm\:py-4 {
|
|
6247
|
+
padding-top: 1rem;
|
|
6248
|
+
padding-bottom: 1rem;
|
|
6249
|
+
}
|
|
6250
|
+
|
|
6237
6251
|
.sm\:pb-0 {
|
|
6238
6252
|
padding-bottom: 0px;
|
|
6239
6253
|
}
|
|
@@ -6987,16 +7001,31 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
6987
7001
|
padding-bottom: 10px;
|
|
6988
7002
|
padding-bottom: var(--logo-padding-bottom-md);
|
|
6989
7003
|
}
|
|
6990
|
-
|
|
7004
|
+
ul.md\:restrictedToTwo li:nth-of-type(1n+3) {
|
|
7005
|
+
display: none;
|
|
7006
|
+
}
|
|
7007
|
+
|
|
7008
|
+
ul.md\:restrictedToTwo li:nth-of-type(2) {
|
|
7009
|
+
padding-bottom: 0;
|
|
7010
|
+
}
|
|
7011
|
+
|
|
7012
|
+
ul.md\:restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
|
|
7013
|
+
display: none;
|
|
7014
|
+
}
|
|
7015
|
+
|
|
7016
|
+
.md\:first\:border-t-0:first-child {
|
|
6991
7017
|
border-top-width: 0px;
|
|
6992
7018
|
}
|
|
6993
|
-
|
|
7019
|
+
|
|
7020
|
+
.md\:first\:pr-4:first-child {
|
|
6994
7021
|
padding-right: 1rem;
|
|
6995
7022
|
}
|
|
6996
|
-
|
|
7023
|
+
|
|
7024
|
+
.md\:last\:pb-4:last-child {
|
|
6997
7025
|
padding-bottom: 1rem;
|
|
6998
7026
|
}
|
|
6999
|
-
|
|
7027
|
+
|
|
7028
|
+
.md\:first-of-type\:pt-0:first-of-type {
|
|
7000
7029
|
padding-top: 0px;
|
|
7001
7030
|
}
|
|
7002
7031
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{{!--@
|
|
2
|
+
Creates a text element that is only relevant for screenreaders. It will not be visible at all.
|
|
3
|
+
|
|
4
|
+
```hbs
|
|
5
|
+
{{> base/a11y/hiddenText
|
|
6
|
+
_text="..."
|
|
7
|
+
_locaTag="..."
|
|
8
|
+
}}
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
`_text` The text for the screen reader.<br>
|
|
12
|
+
`_locaTag` The loca tag for the text for the screen reader.<br>
|
|
13
|
+
|
|
14
|
+
--}}
|
|
15
|
+
<span aria-label="
|
|
16
|
+
{{~#if _text ~}}
|
|
17
|
+
{{~_text~}}
|
|
18
|
+
{{~else~}}
|
|
19
|
+
{{~#with _locaTag ~}}
|
|
20
|
+
{{~loca this ~}}
|
|
21
|
+
{{~/with~}}
|
|
22
|
+
{{~/if~}}
|
|
23
|
+
"></span>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<figure class="relative ar-16-9 my-6 sm480:my-7 {{_addClass}}" x-data="{ avStart: false }">
|
|
2
|
+
{{~> components/base/a11y/hiddenText _locaTag=_a11yIntro-loca ~}}
|
|
3
|
+
{{#unless _voting-option}}
|
|
4
|
+
<figcaption class="py-3 mx-5 sm:mx-0 sm:py-4 border-t-[3px] border-gray-boulder">
|
|
5
|
+
{{#with this.label}}
|
|
6
|
+
{{#> components/label/label_group}}
|
|
7
|
+
{{> components/label/label _type=this.type _text=(loca this.loca) }}
|
|
8
|
+
{{> components/label/label_byline _css="ml-2"}}
|
|
9
|
+
{{#with ../this}}{{> components/content/copytext/components/media/media_figure_byline}}{{/with~}}
|
|
10
|
+
{{/components/label/label_group}}
|
|
11
|
+
{{/with~}}
|
|
12
|
+
{{#with this.toModel.mediaBacklinkToStoryTeaser}}
|
|
13
|
+
{{#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"}}
|
|
14
|
+
{{> components/content/copytext/components/media/media_figure_headline}}
|
|
15
|
+
{{/components/base/link}}
|
|
16
|
+
{{/with}}
|
|
17
|
+
</figcaption>
|
|
18
|
+
{{/unless}}
|
|
19
|
+
{{#if this.isVideo}}
|
|
20
|
+
{{#if _isLead}}
|
|
21
|
+
{{~> components/content/copytext/components/video/video_element _isCopyText=true _teaser=this _isTeaser=true _fullSize=_fullSize _addClassVideo="ar__content" _mediaMetadata=true _noDelay=true ~}}
|
|
22
|
+
{{else}}
|
|
23
|
+
{{~> components/content/copytext/components/video/video_element _isCopyText=true _teaser=this _isTeaser=true _fullSize=_fullSize _addClassVideo="ar__content" _mediaMetadata=true~}}
|
|
24
|
+
{{/if}}
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{#unless _voting-option}}
|
|
27
|
+
{{#with this.teaseritem}}
|
|
28
|
+
{{~> components/content/copytext/components/image/figcaption _cssClassCaption="mx-5 sm:mx-0"~}}
|
|
29
|
+
{{/with}}
|
|
30
|
+
{{/unless}}
|
|
31
|
+
{{~> components/base/a11y/hiddenText _locaTag=_a11yOutro-loca ~}}
|
|
32
|
+
</figure>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<span class='text-xs text-inherit font-headingSerif{{#if _css}} {{_css}}{{/if}}'>
|
|
2
|
+
<span class="mx-1">|</span>
|
|
3
|
+
{{~#if this.isAudio}}
|
|
4
|
+
{{~#with this.audioAuthor}}
|
|
5
|
+
{{this}}{{#if ../this.airdateDate }}<span class="mx-1">|</span>{{/if}}
|
|
6
|
+
{{/with}}
|
|
7
|
+
{{~#with this.airdateDate ~}}
|
|
8
|
+
<time datetime="{{this.htmlDate}}">{{this.date}}</time>
|
|
9
|
+
{{~/with~}}
|
|
10
|
+
{{/if}}
|
|
11
|
+
|
|
12
|
+
{{~#if this.isPodcastEpisode}}
|
|
13
|
+
{{~#with this.audioAuthor}}
|
|
14
|
+
{{this}}{{#if ../this.airdateDate }}<span class="mx-1">|</span>{{/if}}
|
|
15
|
+
{{/with}}
|
|
16
|
+
{{~#with this.airdateDate ~}}
|
|
17
|
+
<time datetime="{{this.htmlDate}}">{{this.date}}</time>
|
|
18
|
+
{{~/with~}}
|
|
19
|
+
{{/if}}
|
|
20
|
+
|
|
21
|
+
{{~#if this.isVideo}}
|
|
22
|
+
{{~#with this.copyright}}
|
|
23
|
+
{{this}}{{#if ../this.airdateDate }} <span class="mx-1">|</span>{{/if}}
|
|
24
|
+
{{/with}}
|
|
25
|
+
|
|
26
|
+
{{~#with this.airdateDate ~}}
|
|
27
|
+
{{~#if ../this.airdateWithoutTime ~}}
|
|
28
|
+
<time datetime="{{this.htmlDate}}">{{this.date}}</time>
|
|
29
|
+
{{else}}
|
|
30
|
+
<time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at"
|
|
31
|
+
this.dateSeparatorTime }}</time>
|
|
32
|
+
{{~/if~}}
|
|
33
|
+
{{~/with~}}
|
|
34
|
+
{{/if}}
|
|
35
|
+
</span>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<h3 class="mt-1">
|
|
2
|
+
{{> components/base/a11y/ariaLabelText _text=this.content.readMoreScreenreader }}
|
|
3
|
+
<span class="text-lg sm480:text-xl font-headingSerif dark:text-text-dark">
|
|
4
|
+
{{this.content.title}}
|
|
5
|
+
</span>
|
|
6
|
+
{{~#if this.content.isForeignBrand}}
|
|
7
|
+
<span aria-hidden=true class="ml-4">
|
|
8
|
+
[{{this.content.readMore}}
|
|
9
|
+
{{~#if this.hasIcon}}
|
|
10
|
+
{{~> components/base/image/icon _icon=this.iconName _iconmap="icons" _addClass="inline -mt-0.5 ml-1 w-5 h-5 fill-current"~}}
|
|
11
|
+
{{/if~}}]
|
|
12
|
+
</span>
|
|
13
|
+
{{/if~}}
|
|
14
|
+
</h3>
|
|
@@ -0,0 +1,5 @@
|
|
|
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" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
|
|
3
|
+
{{else}}
|
|
4
|
+
{{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden 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" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
|
|
5
|
+
{{/if}}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{{> components/content/copytext/components/video/video_element_ondemand this.toModel.videoElement
|
|
2
|
+
_isSinglePage=_isSinglePage
|
|
3
|
+
_isCopyText=_isCopyText
|
|
4
|
+
_isTeaser=_isTeaser
|
|
5
|
+
_teaser=_teaser
|
|
6
|
+
_poster=_poster
|
|
7
|
+
_geotag=_geotag
|
|
8
|
+
_hideGeotag=_hideGeotag
|
|
9
|
+
_posterImageVariant=_posterImageVariant
|
|
10
|
+
_posterImageType=_posterImageType
|
|
11
|
+
_noDelay=_noDelay
|
|
12
|
+
_cypressHook="js-video-ondemand"
|
|
13
|
+
_mediaButtonIcon="play_button"
|
|
14
|
+
_mediaButtonLabel="Video" }}
|
|
15
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<div x-show="avStart" x-cloak id="{{this.ardPlayerConfig.playerId}}" class="ar-16-9 h-full {{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isTeaser}} z-20{{/if}} js-load {{if _cypressHook _cypressHook 'js-media-element'}} js-video-livestream cy-mediaplayer" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
|
|
2
|
+
</div>
|
|
3
|
+
{{#if _isTeaser}}
|
|
4
|
+
<div class="relative flex items-center justify-center ar-16-9" x-show="!avStart" >
|
|
5
|
+
{{#unless _hideGeotag}}
|
|
6
|
+
{{~#with _geotag}}
|
|
7
|
+
{{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../_teaserSize _isMobile1to1=../_isMobile1to1}}
|
|
8
|
+
{{/with~}}
|
|
9
|
+
{{/unless}}
|
|
10
|
+
{{#with _teaser}}
|
|
11
|
+
{{#if this.isTickerTeaser}}<a href="{{this.link.url}}" aria-label="Zum Ticker" tabindex="-1"{{#if (isUserConsentNeeded this.link.url)}} class="js-user-consent-needed"{{/if}}>{{/if}}
|
|
12
|
+
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg=(appendToDefault ../../_addClassImg-adjust_context "ar__content ") _noDelay=this.dontLazyload ~}}
|
|
13
|
+
{{#if this.isTickerTeaser}}</a>
|
|
14
|
+
{{else}}
|
|
15
|
+
{{~> components/base/image/responsive_image this.content.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg=(appendToDefault ../../_addClassImg-adjust_context "ar__content ") _noDelay=this.dontLazyload ~}}
|
|
16
|
+
{{/if}}
|
|
17
|
+
{{/with}}
|
|
18
|
+
|
|
19
|
+
{{#with this}}
|
|
20
|
+
{{> components/mediaplayer/mediaplayer_button _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=_teaserSize _teaserType=_teaserType _isMobile1to1=_isMobile1to1}}
|
|
21
|
+
{{/with}}
|
|
22
|
+
</div>
|
|
23
|
+
{{/if}}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
{{> components/content/copytext/components/podcastepisode }}
|
|
44
44
|
{{/if~}}
|
|
45
45
|
{{~#if this.isVideo}}
|
|
46
|
-
{{> components/content/copytext/components/video }}
|
|
46
|
+
{{> components/content/copytext/components/video/video }}
|
|
47
47
|
{{/if~}}
|
|
48
48
|
{{~#if this.isLivestream}}
|
|
49
49
|
{{> components/content/copytext/components/livestream }}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
class='sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading{{#if _css}} {{_css}}{{/if}}
|
|
3
3
|
{{inline-switch
|
|
4
4
|
_type
|
|
5
|
-
'["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung","location","topic"]'
|
|
6
|
-
'["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung","bg-labelEvent","bg-labelComment"]'
|
|
5
|
+
'["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung","location","topic","video"]'
|
|
6
|
+
'["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung","bg-labelEvent","bg-labelComment","bg-labelMedia"]'
|
|
7
7
|
}}'
|
|
8
8
|
>
|
|
9
9
|
{{_text}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="flex flex-wrap ">
|
|
2
|
-
<span class="w-full text-sm {{#unless _isArticle}}uppercase{{/unless}} sm:w-fit font-headingSerif ">{{loca "story_program_supplier"}}</span><!--
|
|
2
|
+
<span class="w-full {{#if _isArticle}}text-2xl {{else}}text-sm {{/if}}{{#unless _isArticle}}uppercase{{/unless}} sm:w-fit font-headingSerif ">{{loca "story_program_supplier"}}</span><!--
|
|
3
3
|
-->
|
|
4
4
|
<div class="flex flex-wrap pt-2 gap-x-4 w-fit sm:w-full">
|
|
5
5
|
{{#if this.link}}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{{#*inline "htmlProperties"}}{{/inline}}
|
|
19
19
|
{{/components/teaser/components/teaser_header}}
|
|
20
20
|
|
|
21
|
-
{{> components/teaser/ticker/teaser_ticker_timeline _css=(inline-switch _teaserSize '["25","33"]' '[" hidden"," md:
|
|
21
|
+
{{> components/teaser/ticker/teaser_ticker_timeline _css=(inline-switch _teaserSize '["25","33"]' '[" hidden"," md:restrictedToTwo"]') _color="white" }}
|
|
22
22
|
{{> components/teaser/ticker/teaser_ticker_footer _teaserSize=_teaserSize}}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="absolute h-full">
|
|
6
6
|
<div class="relative w-[9px] h-[9px] rounded-full top-0.5 bg-tickerTeaserTimelineScore -left-5"></div>
|
|
7
7
|
{{#unless @last}}
|
|
8
|
-
<div class="relative flex flex-col w-0 h-full -left-4">
|
|
8
|
+
<div class="relative flex flex-col w-0 h-full timelineBorder -left-4">
|
|
9
9
|
<div class="h-full my-2 border-l{{#if ../../_color}} border-{{../../_color}}{{else}} border-gray-400{{/if}}"></div>
|
|
10
10
|
<div class="h-2"></div>
|
|
11
11
|
</div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{{!--@
|
|
2
|
+
Creates a text element that is only relevant for screenreaders. It will not be visible at all.
|
|
3
|
+
|
|
4
|
+
```hbs
|
|
5
|
+
{{> base/a11y/hiddenText
|
|
6
|
+
_text="..."
|
|
7
|
+
_locaTag="..."
|
|
8
|
+
}}
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
`_text` The text for the screen reader.<br>
|
|
12
|
+
`_locaTag` The loca tag for the text for the screen reader.<br>
|
|
13
|
+
|
|
14
|
+
--}}
|
|
15
|
+
<span aria-label="
|
|
16
|
+
{{~#if _text ~}}
|
|
17
|
+
{{~_text~}}
|
|
18
|
+
{{~else~}}
|
|
19
|
+
{{~#with _locaTag ~}}
|
|
20
|
+
{{~loca this ~}}
|
|
21
|
+
{{~/with~}}
|
|
22
|
+
{{~/if~}}
|
|
23
|
+
"></span>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<figure class="relative ar-16-9 my-6 sm480:my-7 {{_addClass}}" x-data="{ avStart: false }">
|
|
2
|
+
{{~> components/base/a11y/hiddenText _locaTag=_a11yIntro-loca ~}}
|
|
3
|
+
{{#unless _voting-option}}
|
|
4
|
+
<figcaption class="py-3 mx-5 sm:mx-0 sm:py-4 border-t-[3px] border-gray-boulder">
|
|
5
|
+
{{#with this.label}}
|
|
6
|
+
{{#> components/label/label_group}}
|
|
7
|
+
{{> components/label/label _type=this.type _text=(loca this.loca) }}
|
|
8
|
+
{{> components/label/label_byline _css="ml-2"}}
|
|
9
|
+
{{#with ../this}}{{> components/content/copytext/components/media/media_figure_byline}}{{/with~}}
|
|
10
|
+
{{/components/label/label_group}}
|
|
11
|
+
{{/with~}}
|
|
12
|
+
{{#with this.toModel.mediaBacklinkToStoryTeaser}}
|
|
13
|
+
{{#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"}}
|
|
14
|
+
{{> components/content/copytext/components/media/media_figure_headline}}
|
|
15
|
+
{{/components/base/link}}
|
|
16
|
+
{{/with}}
|
|
17
|
+
</figcaption>
|
|
18
|
+
{{/unless}}
|
|
19
|
+
{{#if this.isVideo}}
|
|
20
|
+
{{#if _isLead}}
|
|
21
|
+
{{~> components/content/copytext/components/video/video_element _isCopyText=true _teaser=this _isTeaser=true _fullSize=_fullSize _addClassVideo="ar__content" _mediaMetadata=true _noDelay=true ~}}
|
|
22
|
+
{{else}}
|
|
23
|
+
{{~> components/content/copytext/components/video/video_element _isCopyText=true _teaser=this _isTeaser=true _fullSize=_fullSize _addClassVideo="ar__content" _mediaMetadata=true~}}
|
|
24
|
+
{{/if}}
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{#unless _voting-option}}
|
|
27
|
+
{{#with this.teaseritem}}
|
|
28
|
+
{{~> components/content/copytext/components/image/figcaption _cssClassCaption="mx-5 sm:mx-0"~}}
|
|
29
|
+
{{/with}}
|
|
30
|
+
{{/unless}}
|
|
31
|
+
{{~> components/base/a11y/hiddenText _locaTag=_a11yOutro-loca ~}}
|
|
32
|
+
</figure>
|
package/dist/views_static/components/content/copytext/components/media/media_figure_byline.hbs
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<span class='text-xs text-inherit font-headingSerif{{#if _css}} {{_css}}{{/if}}'>
|
|
2
|
+
<span class="mx-1">|</span>
|
|
3
|
+
{{~#if this.isAudio}}
|
|
4
|
+
{{~#with this.audioAuthor}}
|
|
5
|
+
{{this}}{{#if ../this.airdateDate }}<span class="mx-1">|</span>{{/if}}
|
|
6
|
+
{{/with}}
|
|
7
|
+
{{~#with this.airdateDate ~}}
|
|
8
|
+
<time datetime="{{this.htmlDate}}">{{this.date}}</time>
|
|
9
|
+
{{~/with~}}
|
|
10
|
+
{{/if}}
|
|
11
|
+
|
|
12
|
+
{{~#if this.isPodcastEpisode}}
|
|
13
|
+
{{~#with this.audioAuthor}}
|
|
14
|
+
{{this}}{{#if ../this.airdateDate }}<span class="mx-1">|</span>{{/if}}
|
|
15
|
+
{{/with}}
|
|
16
|
+
{{~#with this.airdateDate ~}}
|
|
17
|
+
<time datetime="{{this.htmlDate}}">{{this.date}}</time>
|
|
18
|
+
{{~/with~}}
|
|
19
|
+
{{/if}}
|
|
20
|
+
|
|
21
|
+
{{~#if this.isVideo}}
|
|
22
|
+
{{~#with this.copyright}}
|
|
23
|
+
{{this}}{{#if ../this.airdateDate }} <span class="mx-1">|</span>{{/if}}
|
|
24
|
+
{{/with}}
|
|
25
|
+
|
|
26
|
+
{{~#with this.airdateDate ~}}
|
|
27
|
+
{{~#if ../this.airdateWithoutTime ~}}
|
|
28
|
+
<time datetime="{{this.htmlDate}}">{{this.date}}</time>
|
|
29
|
+
{{else}}
|
|
30
|
+
<time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at"
|
|
31
|
+
this.dateSeparatorTime }}</time>
|
|
32
|
+
{{~/if~}}
|
|
33
|
+
{{~/with~}}
|
|
34
|
+
{{/if}}
|
|
35
|
+
</span>
|
package/dist/views_static/components/content/copytext/components/media/media_figure_headline.hbs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<h3 class="mt-1">
|
|
2
|
+
{{> components/base/a11y/ariaLabelText _text=this.content.readMoreScreenreader }}
|
|
3
|
+
<span class="text-lg sm480:text-xl font-headingSerif dark:text-text-dark">
|
|
4
|
+
{{this.content.title}}
|
|
5
|
+
</span>
|
|
6
|
+
{{~#if this.content.isForeignBrand}}
|
|
7
|
+
<span aria-hidden=true class="ml-4">
|
|
8
|
+
[{{this.content.readMore}}
|
|
9
|
+
{{~#if this.hasIcon}}
|
|
10
|
+
{{~> components/base/image/icon _icon=this.iconName _iconmap="icons" _addClass="inline -mt-0.5 ml-1 w-5 h-5 fill-current"~}}
|
|
11
|
+
{{/if~}}]
|
|
12
|
+
</span>
|
|
13
|
+
{{/if~}}
|
|
14
|
+
</h3>
|
|
@@ -0,0 +1,5 @@
|
|
|
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" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
|
|
3
|
+
{{else}}
|
|
4
|
+
{{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden 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" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
|
|
5
|
+
{{/if}}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{{> components/content/copytext/components/video/video_element_ondemand this.toModel.videoElement
|
|
2
|
+
_isSinglePage=_isSinglePage
|
|
3
|
+
_isCopyText=_isCopyText
|
|
4
|
+
_isTeaser=_isTeaser
|
|
5
|
+
_teaser=_teaser
|
|
6
|
+
_poster=_poster
|
|
7
|
+
_geotag=_geotag
|
|
8
|
+
_hideGeotag=_hideGeotag
|
|
9
|
+
_posterImageVariant=_posterImageVariant
|
|
10
|
+
_posterImageType=_posterImageType
|
|
11
|
+
_noDelay=_noDelay
|
|
12
|
+
_cypressHook="js-video-ondemand"
|
|
13
|
+
_mediaButtonIcon="play_button"
|
|
14
|
+
_mediaButtonLabel="Video" }}
|
|
15
|
+
|