hr-design-system-handlebars 1.75.5 → 1.76.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 (149) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +21 -1
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +21 -1
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +21 -1
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +21 -1
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +21 -1
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +21 -1
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +21 -1
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +21 -1
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +21 -1
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +21 -1
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +21 -1
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +21 -1
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +21 -1
  15. package/dist/assets/index.css +46 -29
  16. package/dist/views/components/content/content_footer/content_footer.hbs +1 -1
  17. package/dist/views/components/content/copytext/components/audio.hbs +5 -9
  18. package/dist/views/components/content/copytext/components/audioeventlivestream.hbs +5 -9
  19. package/dist/views/components/content/copytext/components/image/{figcaption.hbs → collapsible_caption.hbs} +2 -11
  20. package/dist/views/components/content/copytext/components/image/figure.hbs +4 -1
  21. package/dist/views/components/content/copytext/components/image/image_caption_text.hbs +3 -0
  22. package/dist/views/components/content/copytext/components/image/image_copyright.hbs +3 -0
  23. package/dist/views/components/content/copytext/components/media/media_figure.hbs +42 -16
  24. package/dist/views/components/content/copytext/components/media/media_figure_byline.hbs +19 -9
  25. package/dist/views/components/content/copytext/components/media/media_figure_headline.hbs +4 -4
  26. package/dist/views/components/content/copytext/components/video/video.hbs +2 -2
  27. package/dist/views/components/content/copytext/components/videolivestream.hbs +2 -2
  28. package/dist/views/components/content/copytext/copytext.hbs +1 -1
  29. package/dist/views/components/content/copytext/copytext_body.hbs +2 -2
  30. package/dist/views/components/label/label.hbs +2 -2
  31. package/dist/views/components/label/label_byline.hbs +6 -10
  32. package/dist/views/components/mediaplayer/media_player.hbs +1 -1
  33. package/dist/views/components/page/story/story_article.hbs +1 -1
  34. package/dist/views/components/site_header/burger.hbs +1 -1
  35. package/dist/views/components/teaser/components/teaser_av_consumption.hbs +3 -3
  36. package/dist/views_static/components/content/content_footer/content_footer.hbs +1 -1
  37. package/dist/views_static/components/content/copytext/components/audio.hbs +5 -9
  38. package/dist/views_static/components/content/copytext/components/audioeventlivestream.hbs +5 -9
  39. package/dist/views_static/components/content/copytext/components/image/{figcaption.hbs → collapsible_caption.hbs} +2 -11
  40. package/dist/views_static/components/content/copytext/components/image/figure.hbs +4 -1
  41. package/dist/views_static/components/content/copytext/components/image/image_caption_text.hbs +3 -0
  42. package/dist/views_static/components/content/copytext/components/image/image_copyright.hbs +3 -0
  43. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +42 -16
  44. package/dist/views_static/components/content/copytext/components/media/media_figure_byline.hbs +19 -9
  45. package/dist/views_static/components/content/copytext/components/media/media_figure_headline.hbs +4 -4
  46. package/dist/views_static/components/content/copytext/components/video/video.hbs +2 -2
  47. package/dist/views_static/components/content/copytext/components/videolivestream.hbs +2 -2
  48. package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
  49. package/dist/views_static/components/content/copytext/copytext_body.hbs +2 -2
  50. package/dist/views_static/components/label/label.hbs +2 -2
  51. package/dist/views_static/components/label/label_byline.hbs +6 -10
  52. package/dist/views_static/components/mediaplayer/media_player.hbs +1 -1
  53. package/dist/views_static/components/page/story/story_article.hbs +1 -1
  54. package/dist/views_static/components/site_header/burger.hbs +1 -1
  55. package/dist/views_static/components/teaser/components/teaser_av_consumption.hbs +3 -3
  56. package/gulpfile.js +4 -1
  57. package/package.json +1 -1
  58. package/src/assets/brand/_default/conf/locatags.json +27 -8
  59. package/src/assets/brand/hessenschau/conf/locatags.merged.json +21 -1
  60. package/src/assets/brand/hr/conf/locatags.merged.json +21 -1
  61. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +21 -1
  62. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +21 -1
  63. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +21 -1
  64. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +21 -1
  65. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +21 -1
  66. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +21 -1
  67. package/src/assets/brand/hr1/conf/locatags.merged.json +21 -1
  68. package/src/assets/brand/hr2/conf/locatags.merged.json +21 -1
  69. package/src/assets/brand/hr3/conf/locatags.merged.json +21 -1
  70. package/src/assets/brand/hr4/conf/locatags.merged.json +21 -1
  71. package/src/assets/brand/you-fm/conf/locatags.merged.json +21 -1
  72. package/src/assets/css/custom-utilities.css +49 -31
  73. package/src/assets/fixtures/audio/audios.inc.json +59 -1
  74. package/src/assets/fixtures/content/copytext/copytext_audio.json +194 -0
  75. package/src/assets/fixtures/content/copytext/copytext_audio_livestream.json +192 -0
  76. package/src/assets/fixtures/content/copytext/copytext_livestream.json +16 -14
  77. package/src/assets/fixtures/content/copytext/copytext_video.json +12 -12
  78. package/src/assets/fixtures/page/podcast/podcast_player_episode.json +131 -96
  79. package/src/assets/fixtures/page/story/story_with_livestream.json +11 -13
  80. package/src/assets/fixtures/page/story/story_with_video.json +64 -64
  81. package/src/assets/fixtures/teaser/teaser_lead.inc.json +3 -3
  82. package/src/assets/fixtures/teaser/teasers.inc.json +1 -1
  83. package/src/assets/images/strongman-100_v-1to1__medium.jpg +0 -0
  84. package/src/assets/images/strongman-100_v-1to1__small.jpg +0 -0
  85. package/src/assets/images/strongman-100_v-1to1__xsmall.jpg +0 -0
  86. package/src/stories/conventions-and-datastructure.mdx +38 -1
  87. package/src/stories/views/components/content/content_footer/content_footer.hbs +1 -1
  88. package/src/stories/views/components/content/copytext/components/audio.hbs +5 -9
  89. package/src/stories/views/components/content/copytext/components/audioeventlivestream.hbs +5 -9
  90. package/src/stories/views/components/content/copytext/components/image/{figcaption.hbs → collapsible_caption.hbs} +2 -11
  91. package/src/stories/views/components/content/copytext/components/image/figure.hbs +4 -1
  92. package/src/stories/views/components/content/copytext/components/image/image_caption_text.hbs +3 -0
  93. package/src/stories/views/components/content/copytext/components/image/image_copyright.hbs +3 -0
  94. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +42 -16
  95. package/src/stories/views/components/content/copytext/components/media/media_figure_byline.hbs +19 -9
  96. package/src/stories/views/components/content/copytext/components/media/media_figure_headline.hbs +4 -4
  97. package/src/stories/views/components/content/copytext/components/video/video.hbs +2 -2
  98. package/src/stories/views/components/content/copytext/components/videolivestream.hbs +2 -2
  99. package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
  100. package/src/stories/views/components/content/copytext/copytext.stories.js +15 -2
  101. package/src/stories/views/components/content/copytext/copytext_body.hbs +2 -2
  102. package/src/stories/views/components/content/copytext/fixtures/copytext_audio copy.json +1 -0
  103. package/src/stories/views/components/content/copytext/fixtures/copytext_audio-livestream.json +1 -0
  104. package/src/stories/views/components/content/copytext/fixtures/copytext_audio.json +1 -0
  105. package/src/stories/views/components/content/copytext/fixtures/copytext_audio_livestream.json +1 -0
  106. package/src/stories/views/components/content/copytext/fixtures/copytext_livestream.json +1 -1
  107. package/src/stories/views/components/content/copytext/fixtures/copytext_podcastepisode.json +1 -1
  108. package/src/stories/views/components/content/copytext/fixtures/copytext_video copy.json +1 -0
  109. package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -1
  110. package/src/stories/views/components/label/label.hbs +2 -2
  111. package/src/stories/views/components/label/label_byline.hbs +6 -10
  112. package/src/stories/views/components/mediaplayer/fixtures/mediaplayer.json +1 -1
  113. package/src/stories/views/components/mediaplayer/media_player.hbs +1 -1
  114. package/src/stories/views/components/mediaplayer/mediaplayer.stories.js +32 -5
  115. package/src/stories/views/components/page/fixtures/page.json +1 -1
  116. package/src/stories/views/components/page/podcast/fixtures/podcast_player_episode.json +1 -1
  117. package/src/stories/views/components/page/podcast/fixtures/podcast_player_playlist.json +1 -1
  118. package/src/stories/views/components/page/story/fixtures/story.json +1 -1
  119. package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
  120. package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -1
  121. package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
  122. package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -1
  123. package/src/stories/views/components/page/story/story_article.hbs +1 -1
  124. package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
  125. package/src/stories/views/components/site_header/burger.hbs +1 -1
  126. package/src/stories/views/components/teaser/components/teaser_av_consumption.hbs +3 -3
  127. package/src/stories/views/components/teaser/fixtures/cluster_teaser_Podcast_Channel.json +1 -1
  128. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +1 -1
  129. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +1 -1
  130. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +1 -1
  131. package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
  132. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -1
  133. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -1
  134. package/src/stories/views/components/teaser/fixtures/teaser_group_related_content_100.json +1 -1
  135. package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
  136. package/src/stories/views/components/teaser/fixtures/teaser_podcast.json +1 -1
  137. package/src/stories/views/components/teaser/fixtures/teaser_podcast_50.json +1 -1
  138. package/src/stories/views/components/teaser/fixtures/teaser_podcast_playlist.json +1 -1
  139. package/src/stories/views/components/teaser/fixtures/teaser_podcast_playlist_50.json +1 -1
  140. package/src/stories/views/components/teaser/fixtures/teaser_podcast_playlist_filter.json +1 -1
  141. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +1 -1
  142. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio_livestream.json +1 -1
  143. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_podcast.json +1 -1
  144. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +1 -1
  145. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio_livestream.json +1 -1
  146. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_podcast.json +1 -1
  147. package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
  148. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero_audio.json +1 -1
  149. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero_audio.json +1 -1
@@ -3381,7 +3381,7 @@ article.indexTextDS .indexTextHighlighted .link {
3381
3381
  border-bottom-color: var(--color-secondary-ds);
3382
3382
  }
3383
3383
  .counter-reset {
3384
- counter-reset: cnt1719835027980;
3384
+ counter-reset: cnt1719999527390;
3385
3385
  }
3386
3386
  .hyphens-auto {
3387
3387
  -webkit-hyphens: auto;
@@ -3466,6 +3466,22 @@ article.indexTextDS .indexTextHighlighted .link {
3466
3466
  clear: both;
3467
3467
  }
3468
3468
  }
3469
+ .ar-4-1 {
3470
+ aspect-ratio: 4 / 1;
3471
+ }
3472
+ @supports not (aspect-ratio: 4 / 1) {
3473
+ .ar-4-1::before {
3474
+ float: left;
3475
+ padding-top: calc(1 / 4 * 100%);
3476
+ content: '';
3477
+ }
3478
+
3479
+ .ar-4-1::after {
3480
+ display: block;
3481
+ content: '';
3482
+ clear: both;
3483
+ }
3484
+ }
3469
3485
  .ar-1-1 {
3470
3486
  aspect-ratio: 1 / 1;
3471
3487
  }
@@ -3553,47 +3569,50 @@ article.indexTextDS .indexTextHighlighted .link {
3553
3569
  --narrow-max-width: calc(var(--breakpoint-md) - (var(--mobile-padding) * 2));
3554
3570
  --content-max-width: 940px;
3555
3571
  --breakout-size: calc((var(--content-max-width) - var(--narrow-max-width)) / 2);
3556
-
3557
- grid-template-columns:
3558
- [full-width-start] minmax(var(--mobile-padding), var(--desktop-padding))
3559
- [content-start] minmax(0, var(--breakout-size))
3560
- [narrow-start] min(100% - (var(--mobile-padding) * 2),var(--narrow-max-width)) [narrow-end]
3561
- minmax(0, var(--breakout-size)) [content-end]
3562
- minmax(var(--mobile-padding), var(--desktop-padding)) [full-width-end];
3572
+
3573
+ grid-template-columns:
3574
+ [full-width-start] minmax(var(--mobile-padding), var(--desktop-padding))
3575
+ [content-start] minmax(0, var(--breakout-size))
3576
+ [narrow-start] min(
3577
+ 100% - (var(--mobile-padding) * 2),
3578
+ var(--narrow-max-width)
3579
+ ) [narrow-end]
3580
+ minmax(0, var(--breakout-size)) [content-end]
3581
+ minmax(var(--mobile-padding), var(--desktop-padding)) [full-width-end];
3563
3582
  grid-column: main;
3564
3583
  }
3565
- .grid-article > :not(.article-breakout):not(.article-full-width):not(.sticky){
3584
+ .grid-article > :not(.article-breakout):not(.article-full-width):not(.sticky) {
3566
3585
  grid-column: narrow;
3567
3586
  }
3568
3587
  .article-full-width {
3569
3588
  grid-column: full-width;
3570
3589
  }
3571
- .copytextWrapper > :not(.article-breakout):not(.article-full-width){
3590
+ .copytextWrapper > :not(.article-breakout):not(.article-full-width) {
3572
3591
  grid-column: narrow;
3573
3592
  }
3574
3593
  .grid-content {
3575
3594
  grid-template-areas:
3576
- "head"
3577
- "main "
3578
- "aside";
3595
+ 'head'
3596
+ 'main '
3597
+ 'aside';
3579
3598
  grid-template-columns: 100%;
3580
3599
  }
3581
- @media only screen and (min-width: 600px){
3600
+ @media only screen and (min-width: 600px) {
3582
3601
  .grid-content {
3583
3602
  grid-template-areas:
3584
- "head head"
3585
- "main aside";
3603
+ 'head head'
3604
+ 'main aside';
3586
3605
 
3587
3606
  grid-template-columns: 3fr 1fr;
3588
3607
  }
3589
3608
  }
3590
- .head{
3609
+ .head {
3591
3610
  grid-area: head;
3592
3611
  }
3593
- .main{
3612
+ .main {
3594
3613
  grid-area: main;
3595
3614
  }
3596
- .aside{
3615
+ .aside {
3597
3616
  grid-area: aside;
3598
3617
  }
3599
3618
  .col-main {
@@ -3760,7 +3779,7 @@ article.indexTextDS .indexTextHighlighted .link {
3760
3779
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3761
3780
  }
3762
3781
  .-ordered {
3763
- counter-increment: cnt1719835027980 1;
3782
+ counter-increment: cnt1719999527390 1;
3764
3783
  }
3765
3784
  .-ordered::before {
3766
3785
  position: absolute;
@@ -3776,19 +3795,19 @@ article.indexTextDS .indexTextHighlighted .link {
3776
3795
  letter-spacing: .0125em;
3777
3796
  --tw-text-opacity: 1;
3778
3797
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3779
- content: counter(cnt1719835027980);
3798
+ content: counter(cnt1719999527390);
3780
3799
  }
3781
3800
  /*! ****************************/
3782
3801
  /*! DataPolicy stuff */
3783
3802
  /*! ****************************/
3784
- .toggleSwitch-checkbox:checked+.toggleSwitch-label::after {
3803
+ .toggleSwitch-checkbox:checked + .toggleSwitch-label::after {
3785
3804
  left: 27px;
3786
3805
  }
3787
- .toggleSwitch-checkbox:checked+.toggleSwitch-label {
3806
+ .toggleSwitch-checkbox:checked + .toggleSwitch-label {
3788
3807
  background-color: #2c7e13;
3789
3808
  background-color: var(--color-toggle-confirmation);
3790
3809
  }
3791
- .toggleSwitch-checkbox:focus+.toggleSwitch-label {
3810
+ .toggleSwitch-checkbox:focus + .toggleSwitch-label {
3792
3811
  --tw-shadow: 0 0 0 0.25rem;
3793
3812
  --tw-shadow-colored: 0 0 0 0.25rem var(--tw-shadow-color);
3794
3813
  box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
@@ -3872,7 +3891,7 @@ article.indexTextDS .indexTextHighlighted .link {
3872
3891
  /*! ***********************************/
3873
3892
  /*! restrict number of li-elements */
3874
3893
  /*! **********************************/
3875
- ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
3894
+ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
3876
3895
  display: none;
3877
3896
  }
3878
3897
  .\[-T\:\+Z\] {
@@ -6366,7 +6385,6 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6366
6385
  }
6367
6386
  }
6368
6387
 
6369
-
6370
6388
  .sm\:ar-16-9 {
6371
6389
  aspect-ratio: 16 / 9;
6372
6390
  }
@@ -6951,7 +6969,6 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6951
6969
  transition-property: none;
6952
6970
  }
6953
6971
 
6954
-
6955
6972
  .md\:ar-16-9 {
6956
6973
  aspect-ratio: 16 / 9;
6957
6974
  }
@@ -7065,7 +7082,7 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
7065
7082
  padding-bottom: 10px;
7066
7083
  padding-bottom: var(--logo-padding-bottom-md);
7067
7084
  }
7068
- ul.md\:restrictedToTwo li:nth-of-type(1n+3) {
7085
+ ul.md\:restrictedToTwo li:nth-of-type(1n + 3) {
7069
7086
  display: none;
7070
7087
  }
7071
7088
 
@@ -7073,7 +7090,7 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
7073
7090
  padding-bottom: 0;
7074
7091
  }
7075
7092
 
7076
- ul.md\:restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
7093
+ ul.md\:restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
7077
7094
  display: none;
7078
7095
  }
7079
7096
 
@@ -18,7 +18,7 @@
18
18
  Sendung:
19
19
  {{#if this.link}}
20
20
  {{#>components/base/link _link=this.link _css="text-link hover:underline"~}}
21
- <span>{{~ ../this.programLabel ~}}</span>{{/components/base/link~}}{{~#if this.date~}},
21
+ <span>{{~ this.programLabel ~}}</span>{{/components/base/link~}}{{~#if this.date~}},
22
22
  <span>
23
23
  <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
24
24
  class="{{#if _isArticle}}{{else}}{{/if}} ">
@@ -1,9 +1,5 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Audio-component</div>
3
- {{~else~}}
4
- {{#if this.showFullSize.isTrue }}
5
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
6
- {{else}}
7
- {{> modules/media/media_figure _addClass="copytext__box dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
8
- {{/if}}
9
- {{~/if~}}
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" }}
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" }}
5
+ {{/if}}
@@ -1,9 +1,5 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Audioevent-Livestream-component</div>
3
- {{~else~}}
4
- {{#if this.showFullSize.isTrue }}
5
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
6
- {{else}}
7
- {{> modules/media/media_figure _addClass="copytext__box dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
8
- {{/if}}
9
- {{~/if~}}
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" }}
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" }}
5
+ {{/if}}
@@ -12,17 +12,8 @@
12
12
  }"
13
13
  @resize.window="open = false; $refs.caption.scrollHeight === $refs.caption.clientHeight ? truncated = false : truncated = true">
14
14
  <div class="dark:text-text-dark overflow-anywhere hyphens-auto" x-ref="caption"
15
- {{#if _fullSize}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
- {{#if this.caption}}
17
- {{~#unless _hideCaption~}}
18
- <span class="pr-3">
19
- {{this.caption}}
20
- </span>
21
- {{~/unless~}}
22
- {{/if}}
23
- <span class="text-gray-scorpion dark:text-text-dark">
24
- {{~loca "figures_copyright"}} {{{copyrightWithLinks}}}
25
- </span>
15
+ {{#if this.showFullSize.isTrue}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
+ {{> @partial-block }}
26
17
  </div>
27
18
  <template x-if="truncated">
28
19
  <button x-cloak
@@ -16,6 +16,9 @@
16
16
  {{/if}}
17
17
  {{/if}}
18
18
  {{#unless _voting-option}}
19
- {{~> components/content/copytext/components/image/figcaption _fullSize=this.showFullSize.isTrue _cssClassCaption=_cssClassCaption~}}
19
+ {{~#> components/content/copytext/components/image/collapsible_caption _cssClassCaption=_cssClassCaption~}}
20
+ {{~> components/content/copytext/components/image/image_caption_text}}
21
+ {{~> components/content/copytext/components/image/image_copyright}}
22
+ {{/components/content/copytext/components/image/collapsible_caption }}
20
23
  {{/unless}}
21
24
  </figure>
@@ -0,0 +1,3 @@
1
+ <span class="pr-3">
2
+ {{this.caption}}
3
+ </span>
@@ -0,0 +1,3 @@
1
+ <span class="text-gray-scorpion dark:text-text-dark">
2
+ {{~loca "figures_copyright"}} {{{this.copyrightWithLinks}}}
3
+ </span>
@@ -1,24 +1,32 @@
1
- <figure class="relative ar-16-9 {{_addClass}}" x-data="{ avStart: false }">
1
+ <figure class="relative {{_addClass}}" x-data="{ avStart: false }">
2
2
  {{~> components/base/a11y/hiddenText _locaTag=_a11yIntro-loca ~}}
3
3
  {{#unless _voting-option}}
4
- <figcaption class="py-3 sm:py-4 border-t-[3px] border-gray-boulder dark:border-text-dark {{_cssClassCaption}}">
4
+ <div class="py-3 sm:py-4 border-t-[3px] border-gray-boulder dark:border-text-dark {{_cssClassCaption}}">
5
5
  {{#if this.label}}
6
6
  {{#> components/label/label_group _css="dark:text-text-dark"}}
7
7
  {{#with this.label}}
8
- {{> components/label/label _type=this.type _text=(loca this.loca) }}
9
- {{> components/label/label_byline _css="ml-2"}}
10
- {{/with}}
11
- {{> components/content/copytext/components/media/media_figure_byline this}}
8
+ {{~> components/label/label _type=this.type _text=(loca this.loca) }}
9
+ {{~> components/label/label_byline _css="ml-2"}}
10
+ {{/with~}}
11
+ {{~> components/content/copytext/components/media/media_figure_byline this}}
12
12
  {{/components/label/label_group}}
13
13
  {{/if~}}
14
- {{#with this.toModel.mediaBacklinkToStoryTeaser}}
15
- {{#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"}}
16
- {{> components/content/copytext/components/media/media_figure_headline}}
17
- {{/components/base/link}}
18
- {{/with}}
19
- </figcaption>
14
+ {{#if this.isVideo}}
15
+ {{#with this.toModel.mediaBacklinkToStoryTeaser}}
16
+ {{#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"}}
17
+ {{> components/content/copytext/components/media/media_figure_headline}}
18
+ {{/components/base/link}}
19
+ {{/with}}
20
+ {{/if}}
21
+ </div>
20
22
  {{/unless}}
21
- {{#if this.isVideo}}
23
+ {{#if this.isAudioOnDemand}}
24
+ {{~> components/mediaplayer/media_player this.toModel.audioElement _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
25
+ {{/if}}
26
+ {{#if this.isAudioEventLivestream}}
27
+ {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
28
+ {{/if}}
29
+ {{#if this.isVideoOnDemand}}
22
30
  {{~> components/mediaplayer/media_player this.toModel.videoElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
23
31
  {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=(if _isLead true false)}}
24
32
  {{/if}}
@@ -27,9 +35,27 @@
27
35
  {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLivestream=true _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=(if _isLead true false)}}
28
36
  {{/if}}
29
37
  {{#unless _voting-option}}
30
- {{#with this.teaseritem}}
31
- {{~> components/content/copytext/components/image/figcaption _fullSize=../_fullSize _cssClassCaption=../_cssClassCaption~}}
32
- {{/with}}
38
+ {{#if this.teaseritem}}
39
+ {{~#> components/content/copytext/components/image/collapsible_caption this.teaseritem _cssClassCaption="mx-5 sm:mx-0"}}
40
+ {{#unless ../../this.isAudio-adjust_context}}
41
+ {{~> components/content/copytext/components/image/image_caption_text}}
42
+ {{/unless}}
43
+ {{~> components/content/copytext/components/image/image_copyright}}
44
+ {{#if ../../this.isAudio-adjust_context~}}
45
+ <span class="mx-1">|</span>
46
+ {{#with ../../this.toModel.mediaBacklinkToStoryTeaser-adjust_context}}
47
+ {{~#>components/base/link _link=this.link _css="hover:underline hover:!decoration-1 text-link dark:text-link-dark"~}}
48
+ <span>
49
+ {{~this.readMore~}}
50
+ {{~#if this.hasIcon}}
51
+ {{~> components/base/image/icon _icon=this.iconName _iconmap="icons" _addClass="inline -mt-0.5 ml-1 w-5 h-5 fill-current"~}}
52
+ {{~/if~}}
53
+ </span>
54
+ {{/components/base/link}}
55
+ {{/with}}
56
+ {{/if}}
57
+ {{~/components/content/copytext/components/image/collapsible_caption}}
58
+ {{/if}}
33
59
  {{/unless}}
34
60
  {{~> components/base/a11y/hiddenText _locaTag=_a11yOutro-loca ~}}
35
61
  </figure>
@@ -1,15 +1,25 @@
1
- <span class='text-xs text-inherit font-headingSerif{{#if _css}} {{_css}}{{/if}}'>
2
- {{~#if this.isVideo}}
3
- {{#if this.copyright }} <span class="mx-1">|</span>{{/if}}
4
- {{~#with this.copyright}}
5
- {{this}}{{#if ../this.airdateDate }} <span class="mx-1">|</span>{{/if}}
6
- {{/with}}
1
+ <span class='text-xs text-inherit font-headingSerif{{#if _css}} {{_css}}{{/if~}}'>
2
+ {{~#if this.showAirdate}}
7
3
  {{~#with this.airdateDate ~}}
8
- {{~#if this.airdateWithoutTime ~}}
4
+ <span class="mx-1">|</span>
5
+ {{#if ../this.isAudioOnDemand}}
9
6
  <time datetime="{{this.htmlDate}}">{{this.date}}</time>
10
7
  {{else}}
11
- <time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at" this.dateSeparatorTime }}</time>
12
- {{~/if~}}
8
+ {{~#if this.airdateWithoutTime ~}}
9
+ <time datetime="{{this.htmlDate}}">{{this.date}}</time>
10
+ {{~else~}}
11
+ <time datetime="{{this.htmlDateTime}}">{{loca "date_simple_at" this.dateSeparatorTime }}</time>
12
+ {{~/if~}}
13
+ {{/if}}
13
14
  {{~/with~}}
15
+ {{~#if this.isVideoOnDemand}}
16
+ {{~#with this.copyright~}}
17
+ <span class="mx-1">|</span>{{this}}
18
+ {{/with}}
19
+ {{else}}
20
+ {{~#with this.audioAuthor~}}
21
+ <span class="mx-1">|</span>{{this}}
22
+ {{/with}}
23
+ {{/if}}
14
24
  {{/if}}
15
25
  </span>
@@ -1,11 +1,11 @@
1
1
  <h3 class="mt-1">
2
- {{> components/base/a11y/ariaLabelText _text=this.content.readMoreScreenreader }}
2
+ {{> components/base/a11y/ariaLabelText _text=this.readMoreScreenreader }}
3
3
  <span class="text-lg sm480:text-xl font-headingSerif dark:text-text-dark">
4
- {{this.content.title}}
4
+ {{this.title}}
5
5
  </span>
6
- {{~#if this.content.isForeignBrand}}
6
+ {{~#if this.isForeignBrand}}
7
7
  <span aria-hidden=true class="ml-4">
8
- [{{this.content.readMore}}
8
+ [{{this.readMore}}
9
9
  {{~#if this.hasIcon}}
10
10
  {{~> components/base/image/icon _icon=this.iconName _iconmap="icons" _addClass="inline -mt-0.5 ml-1 w-5 h-5 fill-current"~}}
11
11
  {{/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 my-6 sm:my-7" _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 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" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden article-full-width sm:article-narrow my-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="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" }}
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 my-6 sm:my-7" _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 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" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="print:hidden article-full-width sm:article-narrow my-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="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" }}
5
5
  {{/if}}
@@ -1,6 +1,6 @@
1
1
  <div class="contents sm:block copytextWrapper">
2
2
  {{~#with this.leadAudio }}
3
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
+ {{> components/content/copytext/components/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
4
  {{~/with}}
5
5
  {{#each this.copytextParagraph }}
6
6
  {{~> components/content/copytext/copytext_body _isWebview=_isWebview ~}}
@@ -27,7 +27,7 @@
27
27
  {{~#if this.isNewsletter}}
28
28
  {{> components/content/copytext/components/newsletter }}
29
29
  {{/if~}}
30
- {{~#if this.isAudio}}
30
+ {{~#if this.isAudioOnDemand}}
31
31
  {{> components/content/copytext/components/audio }}
32
32
  {{/if~}}
33
33
  {{~#if this.isAudioEventLivestream}}
@@ -36,7 +36,7 @@
36
36
  {{~#if this.isPodcastEpisode}}
37
37
  {{> components/content/copytext/components/podcastepisode }}
38
38
  {{/if~}}
39
- {{~#if this.isVideo}}
39
+ {{~#if this.isVideoOnDemand}}
40
40
  {{> components/content/copytext/components/video/video }}
41
41
  {{/if~}}
42
42
  {{~#if this.isLivestream}}
@@ -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","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"]'
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","audio"]'
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","bg-labelMedia"]'
7
7
  }}'
8
8
  >
9
9
  {{_text}}
@@ -1,17 +1,13 @@
1
1
  {{~#if _text~}}
2
-
3
- <span class='font-bold font-heading{{#if _css}} {{_css}}{{/if}}'>{{~_text}}</span>
4
-
2
+ <span class='font-bold font-heading{{~#if _css}} {{_css}}{{/if}}'>{{~_text}}</span>
5
3
  {{~else~}}
6
-
7
- {{#with this.byline}}
4
+ {{~#with this.byline~}}
8
5
  {{~#if this.bylineSsi~}}
9
- {{> components/base/loadSSI this.bylineSsi _context=this.context _templatePath=this.bylineSsi}}
6
+ {{~> components/base/loadSSI this.bylineSsi _context=this.context _templatePath=this.bylineSsi~}}
10
7
  {{~else~}}
11
- {{#> components/text/byline _css=../_css}}
12
- {{this.bylineText}}
13
- {{/components/text/byline}}
8
+ {{~#> components/text/byline _css=../_css~}}
9
+ {{~this.bylineText~}}
10
+ {{~/components/text/byline}}
14
11
  {{~/if~}}
15
12
  {{/with}}
16
-
17
13
  {{~/if~}}
@@ -1,2 +1,2 @@
1
- <div{{#if _isUsedInTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="{{#unless _isAudioView}}ar-16-9 {{/unless}}h-full {{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
1
+ <div{{#if _isUsedInTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="{{#if _isAudioView}}ar-4-1 h-auto{{else}}ar-16-9 h-full{{/if}}{{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
2
2
  </div>
@@ -18,7 +18,7 @@
18
18
  _isWebview=../../../_webview-adjust_context
19
19
  _noDelay=true}}
20
20
  {{/if}}
21
- {{#if this.isVideo}}
21
+ {{#if this.isVideoOnDemand}}
22
22
  {{> components/content/copytext/components/media/media_figure _isLead=true _fullSize=true _addClass="print:hidden article-full-width md:article-breakout mt-12 mb-6 sm:mt-14 sm:mb-8" _cssClassCaption="mx-5 md:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
23
23
  {{/if}}
24
24
  {{#if this.isLivestream}}
@@ -1,5 +1,5 @@
1
1
  <div x-data="burger()" class="flex items-center justify-center h-full fill-current sb-burger">
2
- <nav>
2
+ <nav class="h-10 tablet:h-12">
3
3
  <button {{!-- :class="$store.burgeropen ? 'text-primary' : 'text-white'" --}}
4
4
  class="relative w-10 h-10 text-navigation-text tablet:w-18 tablet:h-12 focus:outline-none bg-brand"
5
5
  @burger-close.window="burgerClose()"
@@ -11,7 +11,7 @@
11
11
  {{/with}}
12
12
  {{~/if~}}
13
13
  {{~#if this.isAudio ~}}
14
- {{#with this.toModel.audioElement}}
14
+ {{#with this.toModel.audioElementForVideoView}}
15
15
  {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
16
16
  {{#with ../../this}}
17
17
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _aspectRatio=../../_aspectRatio-adjust_context _noDelay=this.dontLazyload}}
@@ -22,7 +22,7 @@
22
22
  {{/with}}
23
23
  {{~/if~}}
24
24
  {{~#if this.isPodcast ~}}
25
- {{#with this.toModel.audioElement}}
25
+ {{#with this.toModel.audioElementForVideoView}}
26
26
  {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
27
27
  {{#with ../../this}}
28
28
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _aspectRatio=../../_aspectRatio-adjust_context _noDelay=this.dontLazyload}}
@@ -33,7 +33,7 @@
33
33
  {{/with}}
34
34
  {{~/if~}}
35
35
  {{~#if this.isAudioEventLivestream ~}}
36
- {{#with this.toModel.audioLivestreamElement}}
36
+ {{#with this.toModel.audioLivestreamElementForVideoView}}
37
37
  {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
38
38
  {{#with ../../this}}
39
39
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=../../_aspectRatio-adjust_context _noDelay=this.dontLazyload}}
@@ -18,7 +18,7 @@
18
18
  Sendung:
19
19
  {{#if this.link}}
20
20
  {{#>components/base/link _link=this.link _css="text-link hover:underline"~}}
21
- <span>{{~ ../this.programLabel ~}}</span>{{/components/base/link~}}{{~#if this.date~}},
21
+ <span>{{~ this.programLabel ~}}</span>{{/components/base/link~}}{{~#if this.date~}},
22
22
  <span>
23
23
  <time datetime="{{#if this.displayWithTime}}{{this.date.htmlDateTime}}{{else}}{{this.date.date}}{{/if}}"
24
24
  class="{{#if _isArticle}}{{else}}{{/if}} ">
@@ -1,9 +1,5 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Audio-component</div>
3
- {{~else~}}
4
- {{#if this.showFullSize.isTrue }}
5
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
6
- {{else}}
7
- {{> modules/media/media_figure _addClass="copytext__box dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
8
- {{/if}}
9
- {{~/if~}}
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" }}
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" }}
5
+ {{/if}}
@@ -1,9 +1,5 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Audioevent-Livestream-component</div>
3
- {{~else~}}
4
- {{#if this.showFullSize.isTrue }}
5
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
6
- {{else}}
7
- {{> modules/media/media_figure _addClass="copytext__box dontPrint" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
8
- {{/if}}
9
- {{~/if~}}
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" }}
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" }}
5
+ {{/if}}
@@ -12,17 +12,8 @@
12
12
  }"
13
13
  @resize.window="open = false; $refs.caption.scrollHeight === $refs.caption.clientHeight ? truncated = false : truncated = true">
14
14
  <div class="dark:text-text-dark overflow-anywhere hyphens-auto" x-ref="caption"
15
- {{#if _fullSize}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
- {{#if this.caption}}
17
- {{~#unless _hideCaption~}}
18
- <span class="pr-3">
19
- {{this.caption}}
20
- </span>
21
- {{~/unless~}}
22
- {{/if}}
23
- <span class="text-gray-scorpion dark:text-text-dark">
24
- {{~loca "figures_copyright"}} {{{copyrightWithLinks}}}
25
- </span>
15
+ {{#if this.showFullSize.isTrue}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
+ {{> @partial-block }}
26
17
  </div>
27
18
  <template x-if="truncated">
28
19
  <button x-cloak
@@ -16,6 +16,9 @@
16
16
  {{/if}}
17
17
  {{/if}}
18
18
  {{#unless _voting-option}}
19
- {{~> components/content/copytext/components/image/figcaption _fullSize=this.showFullSize.isTrue _cssClassCaption=_cssClassCaption~}}
19
+ {{~#> components/content/copytext/components/image/collapsible_caption _cssClassCaption=_cssClassCaption~}}
20
+ {{~> components/content/copytext/components/image/image_caption_text}}
21
+ {{~> components/content/copytext/components/image/image_copyright}}
22
+ {{/components/content/copytext/components/image/collapsible_caption }}
20
23
  {{/unless}}
21
24
  </figure>
@@ -0,0 +1,3 @@
1
+ <span class="pr-3">
2
+ {{this.caption}}
3
+ </span>