hr-design-system-handlebars 1.74.5 → 1.74.7

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 (168) hide show
  1. package/.storybook/preview-head.html +35 -3
  2. package/.storybook/preview.js +5 -9
  3. package/CHANGELOG.md +25 -0
  4. package/dist/assets/index.css +24 -3
  5. package/dist/views/components/base/image/responsive_image.hbs +9 -4
  6. package/dist/views/components/content/copytext/components/image/image.hbs +4 -4
  7. package/dist/views/components/content/copytext/components/media/media_figure.hbs +4 -4
  8. package/dist/views/components/content/copytext/components/video/video.hbs +3 -3
  9. package/dist/views/components/content/copytext/copytext.hbs +1 -1
  10. package/dist/views/components/mediaplayer/mediaplayer_button.hbs +2 -2
  11. package/dist/views/components/page/base/page_header.hbs +2 -2
  12. package/dist/views/components/page/base/page_wrapper.hbs +1 -1
  13. package/dist/views/components/page/story/story_article.hbs +4 -1
  14. package/dist/views/components/teaser/components/teaser_media_player.hbs +1 -1
  15. package/dist/views_static/components/base/image/responsive_image.hbs +9 -4
  16. package/dist/views_static/components/content/copytext/components/image/image.hbs +4 -4
  17. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +4 -4
  18. package/dist/views_static/components/content/copytext/components/video/video.hbs +3 -3
  19. package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
  20. package/dist/views_static/components/mediaplayer/mediaplayer_button.hbs +2 -2
  21. package/dist/views_static/components/page/base/page_header.hbs +2 -2
  22. package/dist/views_static/components/page/base/page_wrapper.hbs +1 -1
  23. package/dist/views_static/components/page/story/story_article.hbs +4 -1
  24. package/dist/views_static/components/teaser/components/teaser_media_player.hbs +1 -1
  25. package/package.json +1 -1
  26. package/src/assets/fixtures/page/story/story_with_video.json +76 -0
  27. package/src/assets/fixtures/teaser/teaser_images.inc.json +24 -0
  28. package/src/stories/views/components/base/image/responsive_image.hbs +9 -4
  29. package/src/stories/views/components/content/copytext/components/accordion/fixtures/accordion.json +1 -1
  30. package/src/stories/views/components/content/copytext/components/contentbox/fixtures/contentbox.json +1 -1
  31. package/src/stories/views/components/content/copytext/components/image/image.hbs +4 -4
  32. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +4 -4
  33. package/src/stories/views/components/content/copytext/components/video/video.hbs +3 -3
  34. package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
  35. package/src/stories/views/components/content/copytext/copytext.stories.js +9 -1
  36. package/src/stories/views/components/content/copytext/fixtures/copytext_filedownload.json +1 -1
  37. package/src/stories/views/components/content/copytext/fixtures/copytext_image.json +1 -1
  38. package/src/stories/views/components/content/copytext/fixtures/copytext_infobox.json +1 -1
  39. package/src/stories/views/components/content/copytext/fixtures/copytext_podcastepisode.json +1 -1
  40. package/src/stories/views/components/content/copytext/fixtures/copytext_posterteaser.json +1 -1
  41. package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -1
  42. package/src/stories/views/components/event/calendar/fixtures/event_calendar_event_teaser.json +1 -1
  43. package/src/stories/views/components/mediaplayer/mediaplayer_button.hbs +2 -2
  44. package/src/stories/views/components/page/base/page_header.hbs +2 -2
  45. package/src/stories/views/components/page/base/page_wrapper.hbs +1 -1
  46. package/src/stories/views/components/page/fixtures/page.json +1 -1
  47. package/src/stories/views/components/page/podcast/fixtures/podcast_player_playlist.json +1 -1
  48. package/src/stories/views/components/page/story/fixtures/story.json +1 -1
  49. package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
  50. package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
  51. package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -0
  52. package/src/stories/views/components/page/story/story_article.hbs +4 -1
  53. package/src/stories/views/components/page/story/story_main.stories.js +10 -0
  54. package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
  55. package/src/stories/views/components/teaser/components/teaser_media_player.hbs +1 -1
  56. package/src/stories/views/components/teaser/fixtures/cluster_teaser_100.json +1 -1
  57. package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_genre.json +1 -1
  58. package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_image.json +1 -1
  59. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33.json +1 -1
  60. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_genre.json +1 -1
  61. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_image.json +1 -1
  62. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_long_title.json +1 -1
  63. package/src/stories/views/components/teaser/fixtures/cluster_teaser_50.json +1 -1
  64. package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_genre.json +1 -1
  65. package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_image.json +1 -1
  66. package/src/stories/views/components/teaser/fixtures/cluster_teaser_Podcast_Channel.json +1 -1
  67. package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_100.json +1 -1
  68. package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_33.json +1 -1
  69. package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_50.json +1 -1
  70. package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_100.json +1 -1
  71. package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_33.json +1 -1
  72. package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_50.json +1 -1
  73. package/src/stories/views/components/teaser/fixtures/stage_teaser.json +1 -1
  74. package/src/stories/views/components/teaser/fixtures/stage_teaser_eventtag.json +1 -1
  75. package/src/stories/views/components/teaser/fixtures/stage_teaser_program.json +1 -1
  76. package/src/stories/views/components/teaser/fixtures/stage_teaser_wide.json +1 -1
  77. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif.json +1 -1
  78. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +1 -1
  79. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_download.json +1 -1
  80. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_featured_content.json +1 -1
  81. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_link.json +1 -1
  82. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +1 -1
  83. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event.json +1 -1
  84. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_two_events.json +1 -1
  85. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_video.json +1 -1
  86. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif.json +1 -1
  87. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +1 -1
  88. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_download.json +1 -1
  89. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_link.json +1 -1
  90. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +1 -1
  91. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_video.json +1 -1
  92. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif.json +1 -1
  93. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +1 -1
  94. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_comments.json +1 -1
  95. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_label.json +1 -1
  96. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_link.json +1 -1
  97. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +1 -1
  98. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_program.json +1 -1
  99. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_video.json +1 -1
  100. package/src/stories/views/components/teaser/fixtures/teaser_comments_without_teaserinfo.json +1 -1
  101. package/src/stories/views/components/teaser/fixtures/teaser_event_calendar_100_serif.json +1 -1
  102. package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
  103. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -1
  104. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -1
  105. package/src/stories/views/components/teaser/fixtures/teaser_group_25.json +1 -1
  106. package/src/stories/views/components/teaser/fixtures/teaser_group_related_content_100.json +1 -1
  107. package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
  108. package/src/stories/views/components/teaser/fixtures/teaser_indextext_100_accented.json +1 -1
  109. package/src/stories/views/components/teaser/fixtures/teaser_indextext_100_boxed.json +1 -1
  110. package/src/stories/views/components/teaser/fixtures/teaser_indextext_100_highlighted.json +1 -1
  111. package/src/stories/views/components/teaser/fixtures/teaser_indextext_50_accented.json +1 -1
  112. package/src/stories/views/components/teaser/fixtures/teaser_podcast.json +1 -1
  113. package/src/stories/views/components/teaser/fixtures/teaser_podcast_50.json +1 -1
  114. package/src/stories/views/components/teaser/fixtures/teaser_podcast_playlist.json +1 -1
  115. package/src/stories/views/components/teaser/fixtures/teaser_podcast_playlist_50.json +1 -1
  116. package/src/stories/views/components/teaser/fixtures/teaser_podcast_playlist_filter.json +1 -1
  117. package/src/stories/views/components/teaser/fixtures/teaser_poster_lg.json +1 -1
  118. package/src/stories/views/components/teaser/fixtures/teaser_poster_md.json +1 -1
  119. package/src/stories/views/components/teaser/fixtures/teaser_poster_md_label.json +1 -1
  120. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif.json +1 -1
  121. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_download.json +1 -1
  122. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_link.json +1 -1
  123. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_program.json +1 -1
  124. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_single_event.json +1 -1
  125. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_two_events.json +1 -1
  126. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif.json +1 -1
  127. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +1 -1
  128. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio_livestream.json +1 -1
  129. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_link.json +1 -1
  130. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +1 -1
  131. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_podcast.json +1 -1
  132. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_video.json +1 -1
  133. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_long_geotag.json +1 -1
  134. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif.json +1 -1
  135. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_link.json +1 -1
  136. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_multiple_events.json +1 -1
  137. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event.json +1 -1
  138. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event_status.json +1 -1
  139. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_tabbox.json +1 -1
  140. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_two_events.json +1 -1
  141. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif.json +1 -1
  142. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +1 -1
  143. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio_livestream.json +1 -1
  144. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_download.json +1 -1
  145. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_featured_content.json +1 -1
  146. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link.json +1 -1
  147. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link_two_click.json +1 -1
  148. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +1 -1
  149. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_podcast.json +1 -1
  150. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_single_event.json +1 -1
  151. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_tabbox.json +1 -1
  152. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_video.json +1 -1
  153. package/src/stories/views/components/teaser/fixtures/teaser_standard_66_serif_single_event.json +1 -1
  154. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif.json +1 -1
  155. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_comments.json +1 -1
  156. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_label.json +1 -1
  157. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_link.json +1 -1
  158. package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
  159. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_100.json +1 -1
  160. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero.json +1 -1
  161. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero_audio.json +1 -1
  162. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_100.json +1 -1
  163. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_25.json +1 -1
  164. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_33.json +1 -1
  165. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_50.json +1 -1
  166. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero.json +1 -1
  167. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero_audio.json +1 -1
  168. package/tailwind.config.js +1 -0
@@ -1,7 +1,8 @@
1
1
  <script src="vendor/modernizr/modernizr.cust.js"></script>
2
- <!--to be sure hyphems work correctly lang Attribute needs to be "de"
3
- see: https://github.com/storybookjs/storybook/issues/11706 -->
2
+
4
3
  <script>
4
+ // to be sure hyphems work correctly lang Attribute needs to be "de"
5
+ // see: https://github.com/storybookjs/storybook/issues/11706
5
6
  document.documentElement.setAttribute('lang', 'de')
6
7
 
7
8
  // Javascript workaround damit darkmode nur in der Webview in Delivery funktioniert
@@ -13,4 +14,35 @@ see: https://github.com/storybookjs/storybook/issues/11706 -->
13
14
  darkModePreference.addEventListener("change", setColorScheme);
14
15
  setColorScheme(darkModePreference);
15
16
 
16
- </script>
17
+ // https://github.com/storybookjs/storybook/issues/6113#issuecomment-1183339597
18
+ // On page change, fire DOMContentLoaded event
19
+ function pageChange() {
20
+ console.log("pageChange")
21
+ window.document.dispatchEvent(new Event('storyWasSwitchedAndIsLoaded', {
22
+ bubbles: true,
23
+ cancelable: true
24
+ }));
25
+ }
26
+
27
+ function watchForChanges() {
28
+ const mutationObserver = function(mutationsList) {
29
+ for (let i = 0, len = mutationsList.length; i < len; i++) {
30
+ if (mutationsList[i].type == 'childList') {
31
+ pageChange();
32
+ break;
33
+ }
34
+ }
35
+ };
36
+
37
+ const observer = new MutationObserver(mutationObserver);
38
+ const config = { childList: true, subtree: false };
39
+ observer.observe(document.getElementById('storybook-root'), config);
40
+
41
+ // Remove event listener, otherwise we will re-run this function when we fire our manual event
42
+ document.removeEventListener('DOMContentLoaded', watchForChanges);
43
+ }
44
+
45
+ // Initially create mutation observer
46
+ document.addEventListener('DOMContentLoaded', watchForChanges);
47
+
48
+ </script>
@@ -45,7 +45,6 @@ setConsoleOptions({
45
45
  panelInclude: [...panelInclude, /checkcss/],
46
46
  });
47
47
 
48
-
49
48
  function loadDelayedImages() {
50
49
  setTimeout(function () {
51
50
  var t,
@@ -70,15 +69,12 @@ function loadDelayedImages() {
70
69
  }, 0)
71
70
  }
72
71
 
73
- let eventSrcUrl = null
74
-
75
- document.addEventListener('DOMContentLoaded', function (event) {
76
- console.log('DOM fully loaded and parsed')
77
- console.log('Start feature initialization')
78
-
79
- Initializer.run(document, loadFeature)
80
- setTimeout(loadDelayedImages, 200)
72
+ document.addEventListener('storyWasSwitchedAndIsLoaded', function (event) {
73
+ console.log('storyWasSwitchedAndIsLoaded')
74
+ Initializer.run(document, loadFeature)
75
+ setTimeout(loadDelayedImages, 500)
81
76
  })
77
+ console.log('preview.js is loaded')
82
78
 
83
79
  /*if (process.env.NODE_ENV !== 'production') {
84
80
  console.log(Initializer)
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # v1.74.7 (Fri Jun 21 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-2945 V2 [#961](https://github.com/mumprod/hr-design-system-handlebars/pull/961) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
13
+ # v1.74.6 (Fri Jun 21 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - DPE-3164: Video im Aufmacher [#960](https://github.com/mumprod/hr-design-system-handlebars/pull/960) (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.74.5 (Thu Jun 20 2024)
2
27
 
3
28
  #### 🐛 Bug Fix
@@ -3368,7 +3368,7 @@ article.indexTextDS .indexTextHighlighted .link {
3368
3368
  border-bottom-color: var(--color-secondary-ds);
3369
3369
  }
3370
3370
  .counter-reset {
3371
- counter-reset: cnt1718899728274;
3371
+ counter-reset: cnt1718973784359;
3372
3372
  }
3373
3373
  .hyphens-auto {
3374
3374
  -webkit-hyphens: auto;
@@ -3747,7 +3747,7 @@ article.indexTextDS .indexTextHighlighted .link {
3747
3747
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3748
3748
  }
3749
3749
  .-ordered {
3750
- counter-increment: cnt1718899728274 1;
3750
+ counter-increment: cnt1718973784359 1;
3751
3751
  }
3752
3752
  .-ordered::before {
3753
3753
  position: absolute;
@@ -3763,7 +3763,7 @@ article.indexTextDS .indexTextHighlighted .link {
3763
3763
  letter-spacing: .0125em;
3764
3764
  --tw-text-opacity: 1;
3765
3765
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3766
- content: counter(cnt1718899728274);
3766
+ content: counter(cnt1718973784359);
3767
3767
  }
3768
3768
  /*! ****************************/
3769
3769
  /*! DataPolicy stuff */
@@ -6118,6 +6118,11 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6118
6118
  margin-bottom: 1rem;
6119
6119
  }
6120
6120
 
6121
+ .sm\:my-7 {
6122
+ margin-top: 1.75rem;
6123
+ margin-bottom: 1.75rem;
6124
+ }
6125
+
6121
6126
  .sm\:mb-14 {
6122
6127
  margin-bottom: 3.5rem;
6123
6128
  }
@@ -6126,6 +6131,10 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6126
6131
  margin-bottom: 1.75rem;
6127
6132
  }
6128
6133
 
6134
+ .sm\:mb-8 {
6135
+ margin-bottom: 2rem;
6136
+ }
6137
+
6129
6138
  .sm\:ml-4 {
6130
6139
  margin-left: 1rem;
6131
6140
  }
@@ -6158,6 +6167,10 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6158
6167
  margin-top: 3rem;
6159
6168
  }
6160
6169
 
6170
+ .sm\:mt-14 {
6171
+ margin-top: 3.5rem;
6172
+ }
6173
+
6161
6174
  .sm\:mt-7 {
6162
6175
  margin-top: 1.75rem;
6163
6176
  }
@@ -6564,6 +6577,10 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6564
6577
  height: 3rem;
6565
6578
  }
6566
6579
 
6580
+ .md\:h-18 {
6581
+ height: 4.5rem;
6582
+ }
6583
+
6567
6584
  .md\:h-6 {
6568
6585
  height: 1.5rem;
6569
6586
  }
@@ -6600,6 +6617,10 @@ ul.restrictedToTwo li:nth-of-type(1n+2) .timelineBorder {
6600
6617
  width: 3rem;
6601
6618
  }
6602
6619
 
6620
+ .md\:w-18 {
6621
+ width: 4.5rem;
6622
+ }
6623
+
6603
6624
  .md\:w-22 {
6604
6625
  width: 5.5rem;
6605
6626
  }
@@ -37,11 +37,13 @@
37
37
  <img class="w-full{{~#if ../../_addClassImg}} {{../../_addClassImg}}{{/if}}" src="{{../this.fallback}}" alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}">
38
38
  </noscript>
39
39
  {{/unless}}
40
- <img {{#with this.sizes}}sizes="{{this}}" {{/with~}}
41
- loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
42
- {{#if ../../_noDelay}}
40
+ <img{{#if ../../_isWebview}} data-primary-type="hr-nt:image"
41
+ data-image-id="{{nextRandom}}"{{/if}}
42
+ {{#with this.sizes}} sizes="{{this}}" {{/with~}}
43
+ loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
44
+ {{#if ../../_noDelay}}
43
45
  fetchpriority="high"
44
- {{/if}}
46
+ {{/if}}
45
47
  {{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
46
48
  src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
47
49
  alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
@@ -51,4 +53,7 @@
51
53
  {{~#with ../../_addClass }}</div>{{/with}}
52
54
  {{/with}}
53
55
  {{/if}}
56
+ {{#if ../_isWebview}}
57
+ <script type="application/json" id="{{getRandom}}">{{{../this.imageJson}}}</script>
58
+ {{/if}}
54
59
  {{/withParam}}
@@ -6,7 +6,7 @@
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
8
8
  _noAr="true"
9
- _isWebview=../../_isWebview}}
9
+ _isWebview=_isWebview}}
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
12
  _cssClass="my-6 sm480:my-7 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
@@ -14,7 +14,7 @@
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
16
16
  _noAr="true"
17
- _isWebview=../../_isWebview}}
17
+ _isWebview=_isWebview}}
18
18
  {{/if}}
19
19
  {{else}}
20
20
  {{#if this.showFullSize.isTrue}}
@@ -24,7 +24,7 @@
24
24
  _type="story"
25
25
  _variant="100-copytext"
26
26
  _pictureAddClass="ar-16-9"
27
- _isWebview=../../_isWebview}}
27
+ _isWebview=_isWebview}}
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
30
  _cssClass="my-6 sm480:my-7 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"
@@ -32,7 +32,7 @@
32
32
  _type="story"
33
33
  _variant="copytext"
34
34
  _pictureAddClass="ar-16-9"
35
- _isWebview=../../_isWebview}}
35
+ _isWebview=_isWebview}}
36
36
  {{/if}}
37
37
  {{/if}}
38
38
 
@@ -1,7 +1,7 @@
1
- <figure class="relative ar-16-9 my-6 sm480:my-7 {{_addClass}}" x-data="{ avStart: false }">
1
+ <figure class="relative ar-16-9 {{_addClass}}" x-data="{ avStart: false }">
2
2
  {{~> components/base/a11y/hiddenText _locaTag=_a11yIntro-loca ~}}
3
3
  {{#unless _voting-option}}
4
- <figcaption class="py-3 mx-5 sm:mx-0 sm:py-4 border-t-[3px] border-gray-boulder">
4
+ <figcaption class="py-3 sm:py-4 border-t-[3px] border-gray-boulder {{_cssClassCaption}}">
5
5
  {{#if this.label}}
6
6
  {{#> components/label/label_group}}
7
7
  {{#with this.label}}
@@ -20,11 +20,11 @@
20
20
  {{/unless}}
21
21
  {{#if this.isVideo}}
22
22
  {{~> components/mediaplayer/media_player this.toModel.videoElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
23
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=(if _isLead true false)}}
23
+ {{~> 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
24
  {{/if}}
25
25
  {{#unless _voting-option}}
26
26
  {{#with this.teaseritem}}
27
- {{~> components/content/copytext/components/image/figcaption _cssClassCaption="mx-5 sm:mx-0"~}}
27
+ {{~> components/content/copytext/components/image/figcaption _cssClassCaption=../_cssClassCaption~}}
28
28
  {{/with}}
29
29
  {{/unless}}
30
30
  {{~> components/base/a11y/hiddenText _locaTag=_a11yOutro-loca ~}}
@@ -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" _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 my-6 sm:my-7" _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 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}}
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" }}
5
+ {{/if}}
@@ -10,7 +10,7 @@
10
10
  {{#unless this.isInfoBox}}
11
11
  {{~#with this.paragraphBoxItem }}
12
12
  {{~#if this.isImage}}
13
- {{~> components/content/copytext/components/image/image}}
13
+ {{~> components/content/copytext/components/image/image _isWebview=../../_isWebview}}
14
14
  {{/if~}}
15
15
  {{~#if this.isContentBox}}
16
16
  {{~> components/content/copytext/components/contentbox/contentbox ~}}
@@ -1,8 +1,8 @@
1
1
  {{#with this}}
2
2
  {{#> components/button/button _variant="tertiary" _type="button" _css=_css _alpineClick="avStart = !avStart; $dispatch('player_start')"}}
3
3
  {{#with this}}
4
- {{> components/base/image/icon _addClass=(appendToDefault (if ../../_isLivestream-adjust_context "text-media-button-live group-hover:fill-media-button-live" "text-media-button group-hover:fill-media-button") "w-10 h-10 fill-white group-hover:text-white inline ") _icon=../../_icon-adjust_context}}
5
- {{#*inline "css"}}{{/inline}}
4
+ {{> components/base/image/icon _addClass=(appendToDefault (if ../../_isLivestream-adjust_context "text-media-button-live group-hover:fill-media-button-live" "text-media-button group-hover:fill-media-button") "fill-white group-hover:text-white inline ") _icon=../../_icon-adjust_context}}
5
+ {{#*inline "css"}} {{~#if ../../_isLead-adjust_context~}} md:w-18 md:h-18 w-10 h-10 {{else}} w-10 h-10 {{/if}} {{/inline}}
6
6
  {{/with}}
7
7
  {{>components/button/components/button_label _css="sr-only" _label=../../_label-adjust_context}}
8
8
  {{/components/button/button}}
@@ -7,9 +7,9 @@
7
7
  <h2>
8
8
  {{#unless this.label }}
9
9
  {{~#if topline}}
10
- <span class="block mb-2 text-base sm480:text-xl font-heading">{{this.topline}}</span>
10
+ <span class="block mb-2 text-base sm480:text-xl font-heading dark:text-text-dark">{{this.topline}}</span>
11
11
  {{/if~}}
12
12
  {{/unless~}}
13
- <span class="text-3xl font-headingSerif sm480:text-4xl">{{this.title}}</span>
13
+ <span class="text-3xl font-headingSerif sm480:text-4xl dark:text-text-dark">{{this.title}}</span>
14
14
  </h2>
15
15
  </header>
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-page">
2
- <div class="grid bg-white grid-article">
2
+ <div class="grid bg-white dark:bg-black grid-article">
3
3
  {{> @partial-block }}
4
4
  </div>
5
5
  </div>
@@ -15,9 +15,12 @@
15
15
  _type="story"
16
16
  _variant=(if this.showSquareImage.isTrue "100-top-sb-1x1" "100-top-sb")
17
17
  _pictureAddClass=(if this.showSquareImage.isTrue "grid ar-1-1 md:ar-16-9" "ar-16-9")
18
- _isWebview=../../_isWebview
18
+ _isWebview=../../../_webview-adjust_context
19
19
  _noDelay=true}}
20
20
  {{/if}}
21
+ {{#if this.isVideo}}
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
+ {{/if}}
21
24
  {{/with}}
22
25
  {{/unless}}
23
26
 
@@ -14,6 +14,6 @@
14
14
 
15
15
 
16
16
  {{#with this}}
17
- {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
17
+ {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _isLead=_isLead _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
18
18
  {{/with}}
19
19
  </div>
@@ -37,11 +37,13 @@
37
37
  <img class="w-full{{~#if ../../_addClassImg}} {{../../_addClassImg}}{{/if}}" src="{{../this.fallback}}" alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}">
38
38
  </noscript>
39
39
  {{/unless}}
40
- <img {{#with this.sizes}}sizes="{{this}}" {{/with~}}
41
- loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
42
- {{#if ../../_noDelay}}
40
+ <img{{#if ../../_isWebview}} data-primary-type="hr-nt:image"
41
+ data-image-id="{{nextRandom}}"{{/if}}
42
+ {{#with this.sizes}} sizes="{{this}}" {{/with~}}
43
+ loading="{{#if ../../_noDelay}}auto{{else}}lazy{{/if}}"
44
+ {{#if ../../_noDelay}}
43
45
  fetchpriority="high"
44
- {{/if}}
46
+ {{/if}}
45
47
  {{#with this.srcset}} {{#if ../../../_noDelay}}srcset{{else}}data-srcset{{/if}}="{{this}}"{{/with}}
46
48
  src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="
47
49
  alt="{{#if ../../_alttext}}{{../../_alttext}}{{else}}{{../../this.alttext}}{{/if}}"
@@ -51,4 +53,7 @@
51
53
  {{~#with ../../_addClass }}</div>{{/with}}
52
54
  {{/with}}
53
55
  {{/if}}
56
+ {{#if ../_isWebview}}
57
+ <script type="application/json" id="{{getRandom}}">{{{../this.imageJson}}}</script>
58
+ {{/if}}
54
59
  {{/withParam}}
@@ -6,7 +6,7 @@
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
8
8
  _noAr="true"
9
- _isWebview=../../_isWebview}}
9
+ _isWebview=_isWebview}}
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
12
  _cssClass="my-6 sm480:my-7 sm480:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid"
@@ -14,7 +14,7 @@
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
16
16
  _noAr="true"
17
- _isWebview=../../_isWebview}}
17
+ _isWebview=_isWebview}}
18
18
  {{/if}}
19
19
  {{else}}
20
20
  {{#if this.showFullSize.isTrue}}
@@ -24,7 +24,7 @@
24
24
  _type="story"
25
25
  _variant="100-copytext"
26
26
  _pictureAddClass="ar-16-9"
27
- _isWebview=../../_isWebview}}
27
+ _isWebview=_isWebview}}
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
30
  _cssClass="my-6 sm480:my-7 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"
@@ -32,7 +32,7 @@
32
32
  _type="story"
33
33
  _variant="copytext"
34
34
  _pictureAddClass="ar-16-9"
35
- _isWebview=../../_isWebview}}
35
+ _isWebview=_isWebview}}
36
36
  {{/if}}
37
37
  {{/if}}
38
38
 
@@ -1,7 +1,7 @@
1
- <figure class="relative ar-16-9 my-6 sm480:my-7 {{_addClass}}" x-data="{ avStart: false }">
1
+ <figure class="relative ar-16-9 {{_addClass}}" x-data="{ avStart: false }">
2
2
  {{~> components/base/a11y/hiddenText _locaTag=_a11yIntro-loca ~}}
3
3
  {{#unless _voting-option}}
4
- <figcaption class="py-3 mx-5 sm:mx-0 sm:py-4 border-t-[3px] border-gray-boulder">
4
+ <figcaption class="py-3 sm:py-4 border-t-[3px] border-gray-boulder {{_cssClassCaption}}">
5
5
  {{#if this.label}}
6
6
  {{#> components/label/label_group}}
7
7
  {{#with this.label}}
@@ -20,11 +20,11 @@
20
20
  {{/unless}}
21
21
  {{#if this.isVideo}}
22
22
  {{~> components/mediaplayer/media_player this.toModel.videoElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
23
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=(if _isLead true false)}}
23
+ {{~> 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
24
  {{/if}}
25
25
  {{#unless _voting-option}}
26
26
  {{#with this.teaseritem}}
27
- {{~> components/content/copytext/components/image/figcaption _cssClassCaption="mx-5 sm:mx-0"~}}
27
+ {{~> components/content/copytext/components/image/figcaption _cssClassCaption=../_cssClassCaption~}}
28
28
  {{/with}}
29
29
  {{/unless}}
30
30
  {{~> components/base/a11y/hiddenText _locaTag=_a11yOutro-loca ~}}
@@ -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" _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 my-6 sm:my-7" _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 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}}
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" }}
5
+ {{/if}}
@@ -10,7 +10,7 @@
10
10
  {{#unless this.isInfoBox}}
11
11
  {{~#with this.paragraphBoxItem }}
12
12
  {{~#if this.isImage}}
13
- {{~> components/content/copytext/components/image/image}}
13
+ {{~> components/content/copytext/components/image/image _isWebview=../../_isWebview}}
14
14
  {{/if~}}
15
15
  {{~#if this.isContentBox}}
16
16
  {{~> components/content/copytext/components/contentbox/contentbox ~}}
@@ -1,8 +1,8 @@
1
1
  {{#with this}}
2
2
  {{#> components/button/button _variant="tertiary" _type="button" _css=_css _alpineClick="avStart = !avStart; $dispatch('player_start')"}}
3
3
  {{#with this}}
4
- {{> components/base/image/icon _addClass=(appendToDefault (if _isLivestream "text-media-button-live group-hover:fill-media-button-live" "text-media-button group-hover:fill-media-button") "w-10 h-10 fill-white group-hover:text-white inline ") _icon=_icon}}
5
- {{#*inline "css"}}{{/inline}}
4
+ {{> components/base/image/icon _addClass=(appendToDefault (if _isLivestream "text-media-button-live group-hover:fill-media-button-live" "text-media-button group-hover:fill-media-button") "fill-white group-hover:text-white inline ") _icon=_icon}}
5
+ {{#*inline "css"}} {{~#if _isLead~}} md:w-18 md:h-18 w-10 h-10 {{else}} w-10 h-10 {{/if}} {{/inline}}
6
6
  {{/with}}
7
7
  {{>components/button/components/button_label _css="sr-only" _label=_label}}
8
8
  {{/components/button/button}}
@@ -7,9 +7,9 @@
7
7
  <h2>
8
8
  {{#unless this.label }}
9
9
  {{~#if topline}}
10
- <span class="block mb-2 text-base sm480:text-xl font-heading">{{this.topline}}</span>
10
+ <span class="block mb-2 text-base sm480:text-xl font-heading dark:text-text-dark">{{this.topline}}</span>
11
11
  {{/if~}}
12
12
  {{/unless~}}
13
- <span class="text-3xl font-headingSerif sm480:text-4xl">{{this.title}}</span>
13
+ <span class="text-3xl font-headingSerif sm480:text-4xl dark:text-text-dark">{{this.title}}</span>
14
14
  </h2>
15
15
  </header>
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-page">
2
- <div class="grid bg-white grid-article">
2
+ <div class="grid bg-white dark:bg-black grid-article">
3
3
  {{> @partial-block }}
4
4
  </div>
5
5
  </div>
@@ -15,9 +15,12 @@
15
15
  _type="story"
16
16
  _variant=(if this.showSquareImage.isTrue "100-top-sb-1x1" "100-top-sb")
17
17
  _pictureAddClass=(if this.showSquareImage.isTrue "grid ar-1-1 md:ar-16-9" "ar-16-9")
18
- _isWebview=../../_isWebview
18
+ _isWebview=../_webview
19
19
  _noDelay=true}}
20
20
  {{/if}}
21
+ {{#if this.isVideo}}
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
+ {{/if}}
21
24
  {{/with}}
22
25
  {{/unless}}
23
26
 
@@ -14,6 +14,6 @@
14
14
 
15
15
 
16
16
  {{#with this}}
17
- {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
17
+ {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _isLead=_isLead _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
18
18
  {{/with}}
19
19
  </div>
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "license": "MIT",
7
7
  "main": "dist/index.js",
8
8
  "repository": "https://github.com/szuelch/hr-design-system-handlebars",
9
- "version": "1.74.5",
9
+ "version": "1.74.7",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -0,0 +1,76 @@
1
+ {
2
+
3
+ "@->jsoninclude": "page/story/story.inc.json",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "teaseritemDS",
7
+ "@->value": {
8
+ "isVideo": true,
9
+ "showFullSize": {
10
+ "isTrue": true
11
+ },
12
+ "label": {
13
+ "type": "video",
14
+ "loca": "label_video",
15
+ "byline": {
16
+ "bylineText": "03:20 Min."
17
+ }
18
+ },
19
+ "copyright": "hessenschau",
20
+ "airdateDate": {
21
+ "htmlDateTime": "2022-10-31T19:30+0200",
22
+ "htmlDate": "31.10.2022",
23
+ "date": "31.10.22",
24
+ "dateSeparatorTime": "31.10.22, 19:30"
25
+ },
26
+ "toModel": {
27
+ "videoElement": {
28
+ "ardPlayerConfig": {
29
+ "@->jsoninclude": "video/videos.inc.json",
30
+ "@->contentpath": "video-1"
31
+ },
32
+ "ardPlayerJsonConfig": {
33
+ "@->jsoninclude": "video/videos.inc.json",
34
+ "@->contentpath": "video-1"
35
+ }
36
+ },
37
+ "mediaBacklinkToStoryTeaser": {
38
+ "link": {
39
+ "url": "/videoseite",
40
+ "isTargetBlank": false
41
+ },
42
+ "content": {
43
+ "readMoreScreenreader": "zum hr3.de Video",
44
+ "title": "Musik macht deinen Tag",
45
+ "isForeignBrand": true,
46
+ "readMore": "zum hr3.de Videoseite"
47
+ },
48
+ "hasIcon": true,
49
+ "iconName": "extern"
50
+ }
51
+ },
52
+ "teaseritem": {
53
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
54
+ "@->contentpath": "copytext_image_100",
55
+ "@->replaceToken": [
56
+ {
57
+ "@->token": "image",
58
+ "@->value": "lehrerin-ukraine-104"
59
+ }
60
+ ]
61
+ },
62
+
63
+ "teaserImage": {
64
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
65
+ "@->contentpath": "copytext_image_100",
66
+ "@->replaceToken": [
67
+ {
68
+ "@->token": "image",
69
+ "@->value": "lehrerin-ukraine-104"
70
+ }
71
+ ]
72
+ }
73
+ }
74
+ }
75
+ ]
76
+ }