hr-design-system-handlebars 1.42.3 → 1.43.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 +25 -0
- package/dist/assets/index.css +77 -19
- package/dist/assets/js/components/podcast/podcast_player.alpine.js +4 -1
- package/dist/views/components/article/components/podcast/podcast_episode_article.hbs +35 -34
- package/dist/views/components/content/content_footer/content_footer.hbs +8 -8
- package/dist/views/components/grid/grid_item.hbs +1 -1
- package/dist/views/components/podcast/components/podcast_playbutton.hbs +2 -2
- package/dist/views/components/podcast/components/podcast_player_shorttext.hbs +1 -1
- package/dist/views/components/podcast/components/podcast_player_ui.hbs +5 -5
- package/dist/views/components/podcast/components/podcast_title.hbs +2 -2
- package/dist/views/components/podcast/podcast_player.hbs +55 -55
- package/dist/views/components/socialmedia/socialmedia.hbs +19 -19
- package/dist/views_static/components/article/components/podcast/podcast_episode_article.hbs +35 -34
- package/dist/views_static/components/content/content_footer/content_footer.hbs +8 -8
- package/dist/views_static/components/grid/grid_item.hbs +1 -1
- package/dist/views_static/components/podcast/components/podcast_playbutton.hbs +2 -2
- package/dist/views_static/components/podcast/components/podcast_player_shorttext.hbs +1 -1
- package/dist/views_static/components/podcast/components/podcast_player_ui.hbs +5 -5
- package/dist/views_static/components/podcast/components/podcast_title.hbs +2 -2
- package/dist/views_static/components/podcast/podcast_player.hbs +55 -55
- package/dist/views_static/components/socialmedia/socialmedia.hbs +19 -19
- package/package.json +1 -1
- package/src/assets/css/custom-utilities.css +30 -0
- package/src/assets/tailwind.css +3 -0
- package/src/stories/views/components/article/components/podcast/podcast_episode_article.hbs +35 -34
- package/src/stories/views/components/content/content_footer/content_footer.hbs +8 -8
- package/src/stories/views/components/grid/grid_item.hbs +1 -1
- package/src/stories/views/components/podcast/components/podcast_playbutton.hbs +2 -2
- package/src/stories/views/components/podcast/components/podcast_player_shorttext.hbs +1 -1
- package/src/stories/views/components/podcast/components/podcast_player_ui.hbs +5 -5
- package/src/stories/views/components/podcast/components/podcast_title.hbs +2 -2
- package/src/stories/views/components/podcast/podcast_player.alpine.js +4 -1
- package/src/stories/views/components/podcast/podcast_player.hbs +55 -55
- package/src/stories/views/components/socialmedia/socialmedia.hbs +19 -19
- package/tailwind.config.js +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v1.43.0 (Wed Oct 25 2023)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Dpe 2222 use grid for episode player [#736](https://github.com/mumprod/hr-design-system-handlebars/pull/736) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.42.4 (Wed Oct 25 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Integrate Dark Mode for Podcast Episode Player [#735](https://github.com/mumprod/hr-design-system-handlebars/pull/735) (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.42.3 (Mon Oct 16 2023)
|
|
2
27
|
|
|
3
28
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1153,9 +1153,6 @@ video {
|
|
|
1153
1153
|
.col-span-3 {
|
|
1154
1154
|
grid-column: span 3 / span 3;
|
|
1155
1155
|
}
|
|
1156
|
-
.col-span-8 {
|
|
1157
|
-
grid-column: span 8 / span 8;
|
|
1158
|
-
}
|
|
1159
1156
|
.col-span-full {
|
|
1160
1157
|
grid-column: 1 / -1;
|
|
1161
1158
|
}
|
|
@@ -1180,10 +1177,6 @@ video {
|
|
|
1180
1177
|
.m-auto {
|
|
1181
1178
|
margin: auto;
|
|
1182
1179
|
}
|
|
1183
|
-
.-mx-3 {
|
|
1184
|
-
margin-left: -0.75rem;
|
|
1185
|
-
margin-right: -0.75rem;
|
|
1186
|
-
}
|
|
1187
1180
|
.mx-0 {
|
|
1188
1181
|
margin-left: 0px;
|
|
1189
1182
|
margin-right: 0px;
|
|
@@ -1342,9 +1335,6 @@ video {
|
|
|
1342
1335
|
.mr-4 {
|
|
1343
1336
|
margin-right: 1rem;
|
|
1344
1337
|
}
|
|
1345
|
-
.mr-6 {
|
|
1346
|
-
margin-right: 1.5rem;
|
|
1347
|
-
}
|
|
1348
1338
|
.mt-0 {
|
|
1349
1339
|
margin-top: 0px;
|
|
1350
1340
|
}
|
|
@@ -2282,9 +2272,21 @@ video {
|
|
|
2282
2272
|
.to-purple-100 {
|
|
2283
2273
|
--tw-gradient-to: #f3e8ff var(--tw-gradient-to-position);
|
|
2284
2274
|
}
|
|
2275
|
+
.fill-\[\#006dc1\] {
|
|
2276
|
+
fill: #006dc1;
|
|
2277
|
+
}
|
|
2278
|
+
.fill-\[\#3b5999\] {
|
|
2279
|
+
fill: #3b5999;
|
|
2280
|
+
}
|
|
2281
|
+
.fill-\[\#4dc247\] {
|
|
2282
|
+
fill: #4dc247;
|
|
2283
|
+
}
|
|
2285
2284
|
.fill-\[\#55acee\] {
|
|
2286
2285
|
fill: #55acee;
|
|
2287
2286
|
}
|
|
2287
|
+
.fill-\[\#606060\] {
|
|
2288
|
+
fill: #606060;
|
|
2289
|
+
}
|
|
2288
2290
|
.fill-blue-congress {
|
|
2289
2291
|
fill: #005293;
|
|
2290
2292
|
}
|
|
@@ -3038,7 +3040,7 @@ video {
|
|
|
3038
3040
|
border-bottom-color: var(--color-secondary-ds);
|
|
3039
3041
|
}
|
|
3040
3042
|
.counter-reset {
|
|
3041
|
-
counter-reset:
|
|
3043
|
+
counter-reset: cnt1698244023078;
|
|
3042
3044
|
}
|
|
3043
3045
|
.hyphens-auto {
|
|
3044
3046
|
-webkit-hyphens: auto;
|
|
@@ -3116,6 +3118,34 @@ video {
|
|
|
3116
3118
|
[main-start] minmax(0, 63.75rem) [main-end]
|
|
3117
3119
|
minmax(0, 1fr) [full-end];
|
|
3118
3120
|
}
|
|
3121
|
+
.grid-content {
|
|
3122
|
+
grid-template-areas:
|
|
3123
|
+
"head"
|
|
3124
|
+
"main "
|
|
3125
|
+
"aside";
|
|
3126
|
+
grid-template-columns: 100%;
|
|
3127
|
+
}
|
|
3128
|
+
@media only screen and (min-width: 600px){
|
|
3129
|
+
.grid-content {
|
|
3130
|
+
grid-template-areas:
|
|
3131
|
+
"head head"
|
|
3132
|
+
"main aside";
|
|
3133
|
+
|
|
3134
|
+
grid-template-columns: 3fr 1fr;
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
.head{
|
|
3138
|
+
grid-area: head;
|
|
3139
|
+
}
|
|
3140
|
+
.main{
|
|
3141
|
+
grid-area: main;
|
|
3142
|
+
}
|
|
3143
|
+
.aside{
|
|
3144
|
+
grid-area: aside;
|
|
3145
|
+
}
|
|
3146
|
+
.col-main {
|
|
3147
|
+
grid-column: main;
|
|
3148
|
+
}
|
|
3119
3149
|
.col-full {
|
|
3120
3150
|
grid-column: full;
|
|
3121
3151
|
}
|
|
@@ -3273,7 +3303,7 @@ video {
|
|
|
3273
3303
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3274
3304
|
}
|
|
3275
3305
|
.-ordered {
|
|
3276
|
-
counter-increment:
|
|
3306
|
+
counter-increment: cnt1698244023078 1;
|
|
3277
3307
|
}
|
|
3278
3308
|
.-ordered::before {
|
|
3279
3309
|
position: absolute;
|
|
@@ -3289,7 +3319,7 @@ video {
|
|
|
3289
3319
|
letter-spacing: .0125em;
|
|
3290
3320
|
--tw-text-opacity: 1;
|
|
3291
3321
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3292
|
-
content: counter(
|
|
3322
|
+
content: counter(cnt1698244023078);
|
|
3293
3323
|
}
|
|
3294
3324
|
/*! ****************************/
|
|
3295
3325
|
/*! DataPolicy stuff */
|
|
@@ -3389,6 +3419,7 @@ video {
|
|
|
3389
3419
|
--color-highlight-1: #eaf3fa;
|
|
3390
3420
|
--color-highlight-2: #d34600;
|
|
3391
3421
|
--color-highlight-3: #707070;
|
|
3422
|
+
--color-highlight-1-dark: #2d2d2d;
|
|
3392
3423
|
|
|
3393
3424
|
/* Text */
|
|
3394
3425
|
--color-standard-text: #000000;
|
|
@@ -3490,7 +3521,9 @@ video {
|
|
|
3490
3521
|
--color-content-nav: var(--color-primary-ds);
|
|
3491
3522
|
/* Podcast-Player */
|
|
3492
3523
|
--color-podcast: #006dc1;
|
|
3524
|
+
--color-podcast-dark : var(--color-highlight-1-dark);
|
|
3493
3525
|
--color-podcast-text: var(--color-link);
|
|
3526
|
+
--color-podcast-text-dark: var(---color-standard-text-dark);
|
|
3494
3527
|
/* Byline */
|
|
3495
3528
|
--color-byline: #606060;
|
|
3496
3529
|
/* Font */
|
|
@@ -4643,9 +4676,6 @@ video {
|
|
|
4643
4676
|
.backdrop\:bg-gray-scorpion\/90::backdrop {
|
|
4644
4677
|
background-color: rgba(96, 96, 96, 0.9);
|
|
4645
4678
|
}
|
|
4646
|
-
.first\:mt-6:first-child {
|
|
4647
|
-
margin-top: 1.5rem;
|
|
4648
|
-
}
|
|
4649
4679
|
.first\:border-t:first-child {
|
|
4650
4680
|
border-top-width: 1px;
|
|
4651
4681
|
}
|
|
@@ -4665,9 +4695,6 @@ video {
|
|
|
4665
4695
|
border-color: #fff;
|
|
4666
4696
|
border-color: var(--color-navigation-border-color);
|
|
4667
4697
|
}
|
|
4668
|
-
.last\:pb-6:last-child {
|
|
4669
|
-
padding-bottom: 1.5rem;
|
|
4670
|
-
}
|
|
4671
4698
|
.last\:pr-0:last-child {
|
|
4672
4699
|
padding-right: 0px;
|
|
4673
4700
|
}
|
|
@@ -4893,6 +4920,18 @@ video {
|
|
|
4893
4920
|
.after\:col-full::after {
|
|
4894
4921
|
grid-column: full;
|
|
4895
4922
|
}
|
|
4923
|
+
[class~='tw-dark'] .dark\:bg-highlight-1-dark {
|
|
4924
|
+
background-color: #2d2d2d;
|
|
4925
|
+
background-color: var(--color-highlight-1-dark);
|
|
4926
|
+
}
|
|
4927
|
+
[class~='tw-dark'] .dark\:bg-podcast-dark {
|
|
4928
|
+
background-color: #2d2d2d;
|
|
4929
|
+
background-color: var(--color-podcast-dark);
|
|
4930
|
+
}
|
|
4931
|
+
[class~='tw-dark'] .dark\:bg-podcast-text {
|
|
4932
|
+
background-color: #006eb7;
|
|
4933
|
+
background-color: var(--color-podcast-text);
|
|
4934
|
+
}
|
|
4896
4935
|
[class~='tw-dark'] .dark\:fill-link-dark {
|
|
4897
4936
|
fill: #006eb7;
|
|
4898
4937
|
fill: var(--color-link-dark);
|
|
@@ -4901,10 +4940,21 @@ video {
|
|
|
4901
4940
|
color: #006eb7;
|
|
4902
4941
|
color: var(--color-link-dark);
|
|
4903
4942
|
}
|
|
4943
|
+
[class~='tw-dark'] .dark\:text-podcast-text {
|
|
4944
|
+
color: #006eb7;
|
|
4945
|
+
color: var(--color-podcast-text);
|
|
4946
|
+
}
|
|
4947
|
+
[class~='tw-dark'] .dark\:text-podcast-text-dark {
|
|
4948
|
+
color: #F0F0F0;
|
|
4949
|
+
color: var(--color-standard-text-dark);
|
|
4950
|
+
}
|
|
4904
4951
|
[class~='tw-dark'] .dark\:text-text-dark {
|
|
4905
4952
|
color: #F0F0F0;
|
|
4906
4953
|
color: var(--color-standard-text-dark);
|
|
4907
4954
|
}
|
|
4955
|
+
[class~='tw-dark'] .dark\:ring-podcast {
|
|
4956
|
+
--tw-ring-color: var(--color-podcast);
|
|
4957
|
+
}
|
|
4908
4958
|
@media print {
|
|
4909
4959
|
|
|
4910
4960
|
.print\:flex {
|
|
@@ -4997,6 +5047,10 @@ video {
|
|
|
4997
5047
|
margin-right: 2rem;
|
|
4998
5048
|
}
|
|
4999
5049
|
|
|
5050
|
+
.sm\:ml-8 {
|
|
5051
|
+
margin-left: 2rem;
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5000
5054
|
.sm\:mt-1 {
|
|
5001
5055
|
margin-top: 0.25rem;
|
|
5002
5056
|
}
|
|
@@ -5017,6 +5071,10 @@ video {
|
|
|
5017
5071
|
width: 58.333333%;
|
|
5018
5072
|
}
|
|
5019
5073
|
|
|
5074
|
+
.sm\:w-\[220px\] {
|
|
5075
|
+
width: 220px;
|
|
5076
|
+
}
|
|
5077
|
+
|
|
5020
5078
|
.sm\:w-fit {
|
|
5021
5079
|
width: -webkit-fit-content;
|
|
5022
5080
|
width: -moz-fit-content;
|
|
@@ -101,6 +101,9 @@ export default function playaudio() {
|
|
|
101
101
|
},
|
|
102
102
|
|
|
103
103
|
updateCurrentTime(range, timeDisplay, newTime, id) {
|
|
104
|
+
let darkmodeColor;
|
|
105
|
+
window.matchMedia('(prefers-color-scheme: dark)').matches && document.getElementsByTagName('html')[0].classList.contains('tw-dark') ? darkmodeColor = "var(--color-podcast) " : darkmodeColor = "white "
|
|
106
|
+
|
|
104
107
|
timeDisplay.querySelector('.js-currentTime').innerHTML = this.fancyTimeFormat(
|
|
105
108
|
newTime,
|
|
106
109
|
false
|
|
@@ -108,7 +111,7 @@ export default function playaudio() {
|
|
|
108
111
|
range.style.background =
|
|
109
112
|
'linear-gradient(to right, var(--color-podcast) ' +
|
|
110
113
|
range.value / 10 +
|
|
111
|
-
'%,
|
|
114
|
+
'%,'+ darkmodeColor +
|
|
112
115
|
range.value / 10 +
|
|
113
116
|
'% )'
|
|
114
117
|
range.value = ((100 * newTime) / this.playlist[id].audioElement.duration) * 10
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
<article class="grid grid-page">
|
|
2
|
-
<div class="
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
</div>
|
|
2
|
+
<div class="grid pt-6 col-main grid-content">
|
|
3
|
+
<div class="p-5 head bg-highlight-1 dark:bg-highlight-1-dark rounded-tl-hr rounded-br-hr">
|
|
4
|
+
{{> components/podcast/podcast_player _linkTitle=true _isSinglePage=true _isArticlePlayer=true}}
|
|
5
|
+
</div>
|
|
6
|
+
<div class="pt-6 main">
|
|
7
|
+
{{> components/podcast/components/podcast_player_shorttext }}
|
|
8
|
+
{{> components/content/content_footer/content_footer
|
|
9
|
+
_author=this.audioAuthor
|
|
10
|
+
_showDate=this.hasDwellTime
|
|
11
|
+
_date=this.airdateDate
|
|
12
|
+
_copyright=this.copyright
|
|
13
|
+
_isArchiveContent=this.isArchiveContent
|
|
14
|
+
_posterCopyright="poster_copyright"}}
|
|
15
|
+
</div>
|
|
17
16
|
|
|
18
|
-
<aside class="order-4
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
<aside class="order-4 pt-6 aside md:order-2 sm:ml-8 sm:w-[220px]"
|
|
18
|
+
aria-label='{{loca "appendix_title"}}'>
|
|
19
|
+
<div class="c-appendix">
|
|
20
|
+
{{#unless _webview}}
|
|
21
|
+
{{!-- {{~#with this.backLinkUrl ~}}
|
|
22
|
+
{{~> components/base/link/backlink _addClass="appendix__backlink" ~}}
|
|
23
|
+
{{~/with~}}
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
{{~#with this.geotag ~}}
|
|
26
|
+
{{~> modules/geotag/geotag-list ~}}
|
|
27
|
+
{{~/with~}}
|
|
29
28
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
{{~#with this.topictags ~}}
|
|
30
|
+
{{~> modules/topictag/topictag-list ~}}
|
|
31
|
+
{{~/with~}} --}}
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
{{~#with this.socialSharing ~}}
|
|
34
|
+
{{~> components/socialmedia/socialmedia ~}}
|
|
35
|
+
{{~/with~}}
|
|
36
|
+
{{/unless}}
|
|
37
|
+
</div>
|
|
38
|
+
</aside>
|
|
38
39
|
</div>
|
|
39
|
-
</
|
|
40
|
-
|
|
40
|
+
</article>
|
|
41
|
+
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
<footer class="flex flex-col
|
|
1
|
+
<footer class="flex flex-col mt-10 text-xs font-copy{{#if _addClass}} {{_addClass}}{{/if}}">
|
|
2
2
|
{{~#with _author ~}}
|
|
3
|
-
<p
|
|
3
|
+
<p>
|
|
4
4
|
Autor: {{this}}
|
|
5
5
|
</p>
|
|
6
6
|
{{~/with~}}
|
|
7
7
|
{{#if _showDate ~}}
|
|
8
8
|
{{#with _date}}
|
|
9
|
-
<p
|
|
9
|
+
<p>
|
|
10
10
|
<time datetime="{{this.htmlDateTime}}">{{loca "date_published" this.date this.time }}</time>
|
|
11
11
|
</p>
|
|
12
12
|
{{/with~}}
|
|
13
13
|
{{/if}}
|
|
14
14
|
|
|
15
15
|
{{~#with _source}}
|
|
16
|
-
<p
|
|
16
|
+
<p>
|
|
17
17
|
{{~loca "copyright_source"~}}
|
|
18
18
|
{{~#each this}}
|
|
19
19
|
{{~#if @first}} {{this}}{{else}}, {{this}}{{/if~}}
|
|
@@ -22,20 +22,20 @@
|
|
|
22
22
|
{{/with~}}
|
|
23
23
|
|
|
24
24
|
{{~#with _copyright ~}}
|
|
25
|
-
<p
|
|
25
|
+
<p>
|
|
26
26
|
{{~loca "copyright_source"}} {{loca "copyright_symbol" this ~}}
|
|
27
27
|
</p>
|
|
28
28
|
{{~/with~}}
|
|
29
29
|
|
|
30
30
|
{{~#if _isArchiveContent}}
|
|
31
|
-
<p
|
|
31
|
+
<p>
|
|
32
32
|
{{loca "archive_content"}}
|
|
33
33
|
</p>
|
|
34
34
|
{{/if}}
|
|
35
35
|
|
|
36
36
|
{{~#with _posterCopyright ~}}
|
|
37
37
|
{{~#with ../teaseritem.copyrightWithLinks}}
|
|
38
|
-
<p
|
|
38
|
+
<p>
|
|
39
39
|
{{~loca ../this this}}
|
|
40
40
|
</p>
|
|
41
41
|
{{~/with~}}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
<!-- TODO teaseritem.copyrightWithLinks dont work in gallery, generalize model -->
|
|
45
45
|
{{~#with _galleryCopyright ~}}
|
|
46
|
-
<p
|
|
46
|
+
<p>
|
|
47
47
|
{{~loca this ../copyrightWithLinks}}
|
|
48
48
|
</p>
|
|
49
49
|
{{~/with~}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<article class="col-span-12 {{inline-switch _size '["12","8","6","4","3"]' '["","md:col-span-8","md:col-span-6","md:col-span-4","md:col-span-3"]'}}" >
|
|
1
|
+
<article class="col-span-12 {{inline-switch _size '["12","9","8","6","4","3"]' '["","md:col-span-9","md:col-span-8","md:col-span-6","md:col-span-4","md:col-span-3"]'}}" >
|
|
2
2
|
{{> @partial-block }}
|
|
3
3
|
</article>
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
class="flex justify-start cursor-pointer group ds-button-round {{_css}}"
|
|
6
6
|
aria-label="Podcast starten"
|
|
7
7
|
>
|
|
8
|
-
<div class="text-white rounded-full js-playbutton bg-podcast ring-white ring js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:play"}]}'>
|
|
8
|
+
<div class="text-white rounded-full js-playbutton bg-podcast dark:bg-podcast-dark ring-white dark:ring-podcast dark:text-podcast-text ring js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:play"}]}'>
|
|
9
9
|
{{> components/base/image/icon _icon="play-wide" _iconmap="icons" _addClass="inline w-12 h-12 fill-current"}}
|
|
10
10
|
</div>
|
|
11
|
-
<div class="hidden bg-white rounded-full js-pausebutton ring-podcast ring text-podcast-text js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:pause"}]}'>
|
|
11
|
+
<div class="hidden bg-white rounded-full dark:bg-podcast-dark js-pausebutton ring-podcast ring text-podcast-text js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastPlayer:pause"}]}'>
|
|
12
12
|
{{> components/base/image/icon _icon="pause" _iconmap="icons" _addClass="inline py-2 w-12 h-12 fill-current"}}
|
|
13
13
|
</div>
|
|
14
14
|
</button>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{{#unless _isSinglePage}}
|
|
2
2
|
{{#unless this.hideShortText}}
|
|
3
3
|
{{~#with this.shorttext}}
|
|
4
|
-
<div class="col-span-12 text-sm md:text-base font-copy
|
|
4
|
+
<div class="col-span-12 text-sm md:text-base font-copy">
|
|
5
5
|
<span class="c-teaser__shorttext"> {{this}} </span>
|
|
6
6
|
</div>
|
|
7
7
|
{{/with~}}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
min="0"
|
|
53
53
|
max="1000"
|
|
54
54
|
value="0"
|
|
55
|
-
class="h-1 my-4 bg-white appearance-none cursor-pointer ds-link grow seek_slider"
|
|
55
|
+
class="h-1 my-4 bg-white appearance-none cursor-pointer dark:bg-podcast-text ds-link grow seek_slider"
|
|
56
56
|
aria-label="Schieberegler" >
|
|
57
57
|
</div>
|
|
58
58
|
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
{{> components/podcast/components/podcast_timedisplay
|
|
63
63
|
_id=_id
|
|
64
64
|
_duration=duration
|
|
65
|
-
_currentTimeClasses="font-bold text-podcast-text"
|
|
66
|
-
_durationClasses="text-podcast-text"
|
|
65
|
+
_currentTimeClasses="font-bold text-podcast-text dark:text-podcast-text-dark"
|
|
66
|
+
_durationClasses="text-podcast-text dark:text-podcast-text-dark"
|
|
67
67
|
_containerCss="flex text-sm grow font-heading" }}
|
|
68
68
|
</div>
|
|
69
69
|
{{/if}}
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
{{> components/podcast/components/podcast_timedisplay
|
|
77
77
|
_id=_id
|
|
78
78
|
_duration=duration
|
|
79
|
-
_currentTimeClasses="font-bold text-podcast-text"
|
|
80
|
-
_durationClasses="text-podcast-text"
|
|
79
|
+
_currentTimeClasses="font-bold text-podcast-text dark:text-podcast-text-dark"
|
|
80
|
+
_durationClasses="text-podcast-text dark:text-podcast-text-dark"
|
|
81
81
|
_containerCss="pl-16 -mt-3 flex text-sm grow font-heading"}}
|
|
82
82
|
</div>
|
|
83
83
|
{{/unless}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{{#if this.isSingleChannel}}
|
|
2
|
-
{{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text"}}
|
|
2
|
+
{{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text dark:text-podcast-text-dark"}}
|
|
3
3
|
<span class="mt-0.5 group-hover:underline {{#if ../../_ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch ../../_teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
|
|
4
4
|
{{~../../_title-adjust_context~}}
|
|
5
5
|
</span>
|
|
6
6
|
{{/components/base/link}}
|
|
7
7
|
{{else}}
|
|
8
|
-
<div class="font-title text-base mt-2.5 text-podcast-text">
|
|
8
|
+
<div class="font-title text-base mt-2.5 text-podcast-text dark:text-podcast-text-dark">
|
|
9
9
|
<span class="mt-0.5 {{#if _ordered}} pl-8 {{/if}}line-clamp-4 {{inline-switch _teaserSize '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
|
|
10
10
|
{{~_title~}}
|
|
11
11
|
</span>
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
<div class="flex col-span-12 p-5">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
<div class="flex col-span-12 {{#unless _isArticlePlayer}} p-5 {{/unless}} {{#if _isArticlePlayer}} bg-highlight-1 {{/if}}">
|
|
2
|
+
<div class="flex flex-col grow">
|
|
3
|
+
{{!-- First Row --}}
|
|
4
|
+
<div class="flex flex-row {{#if ../_ordered}} pl-8 {{/if}} ">
|
|
5
|
+
<div class="flex flex-col grow">
|
|
6
|
+
<div class="flex max-h-6">
|
|
7
|
+
{{!-- Label / Airdate --}}
|
|
8
|
+
{{#with label}}
|
|
9
|
+
<div class="">
|
|
10
10
|
<span class='sb-label mr-2 rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading bg-labelMedia'>
|
|
11
|
-
|
|
11
|
+
{{ loca this.loca }}
|
|
12
12
|
</span>
|
|
13
13
|
</div>
|
|
14
14
|
{{/with}}
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
<div class="flex pr-2 text-xs grow md:pr-5 font-headingSerif text-podcast-text">
|
|
17
|
+
<div class="flex pr-2 text-xs grow md:pr-5 font-headingSerif text-podcast-text dark:text-podcast-text-dark">
|
|
18
18
|
{{~#with airdateDate}}
|
|
19
19
|
<time class="flex grow pt-1.5" datetime="{{this.htmlDateTime}}">{{this.date}}</time>
|
|
20
20
|
{{/with}}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
{{!-- Download --}}
|
|
23
|
+
{{> components/podcast/components/podcast_downloadbutton
|
|
24
|
+
_addClass=""
|
|
25
|
+
_iconClass="h-6 w-6 text-podcast-text fill-current"
|
|
26
|
+
_url=this.podcastDownloadUrl }}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
{{!-- Überschrift: --}}
|
|
32
|
+
<div class="flex pb-5 pr-2 md:pr-5">
|
|
33
|
+
{{> components/podcast/components/podcast_title _title=this.title _teaserSize=this.realTeaserSize _addClass="" }}
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
</div>
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
{{!-- Podcast Image --}}
|
|
39
|
+
<div class="flex flex-col ">
|
|
40
|
+
<div class="w-22 {{#if _isArticlePlayer }} md:w-32 lg:w-42 {{else}} {{inline-switch this.realTeaserSize '["100","50"]' '["md:w-32 lg:w-42","md:w-22 lg:w-32", ""]'}} {{/if}}">
|
|
41
|
+
{{> components/base/image/responsive_image this.teaseritem
|
|
42
|
+
_type="podcastEpisodePlayer"
|
|
43
|
+
_variant="default"
|
|
44
|
+
_addClass="overflow-hidden"
|
|
45
|
+
_noDelay=this.dontLazyload
|
|
46
|
+
_addClassImg="w-full block"
|
|
47
|
+
}}
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
37
50
|
|
|
38
|
-
{{!-- Podcast Image --}}
|
|
39
|
-
<div class="flex flex-col ">
|
|
40
|
-
<div class="w-22 {{inline-switch this.realTeaserSize '["100","50"]' '["md:w-32 lg:w-42","md:w-22 lg:w-32", ""]'}}">
|
|
41
|
-
{{> components/base/image/responsive_image this.teaseritem
|
|
42
|
-
_type="podcastEpisodePlayer"
|
|
43
|
-
_variant="default"
|
|
44
|
-
_addClass="overflow-hidden"
|
|
45
|
-
_noDelay=this.dontLazyload
|
|
46
|
-
_addClassImg="w-full block"
|
|
47
|
-
}}
|
|
48
51
|
</div>
|
|
49
|
-
</div>
|
|
50
52
|
|
|
51
|
-
|
|
53
|
+
{{!-- Player UI --}}
|
|
54
|
+
<div class="flex {{#if _isArticlePlayer }} lg:pr-48 lg:-mt-14 {{else}} {{inline-switch this.realTeaserSize '["100","50"]' '["lg:pr-48 lg:-mt-14"," "]'}} {{/if}}"
|
|
55
|
+
x-data="podcastPlayer()"
|
|
56
|
+
x-init="listenToGlobalStop()"
|
|
57
|
+
ax-load
|
|
58
|
+
x-ignore>
|
|
59
|
+
{{> components/podcast/components/podcast_player_ui
|
|
60
|
+
_isPlaylistPlayer=false
|
|
61
|
+
_podcastDuration=duration
|
|
62
|
+
_id=(nextRandom)
|
|
63
|
+
_first=true
|
|
64
|
+
}}
|
|
65
|
+
</div>
|
|
52
66
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
x-ignore>
|
|
59
|
-
{{> components/podcast/components/podcast_player_ui
|
|
60
|
-
_isPlaylistPlayer=false
|
|
61
|
-
_podcastDuration=duration
|
|
62
|
-
_id=(nextRandom)
|
|
63
|
-
_first=true
|
|
64
|
-
}}
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
{{!-- Abo-Dropdown --}}
|
|
68
|
-
<div class="flex flex-row pt-5">
|
|
69
|
-
{{#with this.podcastChannel}}
|
|
70
|
-
{{> components/podcast/components/podcast_subscribe_button}}
|
|
71
|
-
{{/with}}
|
|
67
|
+
{{!-- Abo-Dropdown --}}
|
|
68
|
+
<div class="flex flex-row pt-5">
|
|
69
|
+
{{#with this.podcastChannel}}
|
|
70
|
+
{{> components/podcast/components/podcast_subscribe_button}}
|
|
71
|
+
{{/with}}
|
|
72
72
|
|
|
73
73
|
{{#with this.podcastChannel}}
|
|
74
74
|
{{!-- Sendungs-Link --}}
|
|
75
75
|
<div class="flex justify-end w-full pl-4">
|
|
76
|
-
<div class="flex flex-col flex-wrap self-end text-xs font-heading text-podcast-text">
|
|
76
|
+
<div class="flex flex-col flex-wrap self-end text-xs font-heading text-podcast-text dark:text-podcast-text-dark">
|
|
77
77
|
<span class="self-end font-bold">Zur Sendung</span>
|
|
78
78
|
<a class="self-end underline ds-link" href="{{this.url}}">{{this.title}}</a>
|
|
79
79
|
</div>
|