hr-design-system-handlebars 1.102.6 → 1.103.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 (367) hide show
  1. package/.storybook/main.js +3 -0
  2. package/.storybook/preview-head.html +3 -0
  3. package/CHANGELOG.md +12 -0
  4. package/dist/assets/index.css +12 -3
  5. package/dist/assets/js/utils.js +73 -0
  6. package/dist/views/components/page/index/page_test_story.hbs +1 -1
  7. package/dist/views_static/components/page/index/page_test_story.hbs +1 -1
  8. package/package.json +2 -2
  9. package/src/assets/fixtures/banner/banner.json +7 -7
  10. package/src/assets/fixtures/button/button.json +142 -0
  11. package/src/assets/fixtures/button/link_button.json +153 -0
  12. package/src/assets/fixtures/label/label.json +65 -0
  13. package/src/assets/fixtures/mediaplayer/mediaplayer_button.json +40 -0
  14. package/src/assets/fixtures/mediaplayer/mediaplayer_snapshots.json +151 -0
  15. package/src/assets/fixtures/navigation/breadcrumb/breadcrumb.inc.json +8 -10
  16. package/src/assets/fixtures/navigation/breadcrumb/breadcrumb.json +113 -0
  17. package/src/assets/fixtures/page/metadatabox.inc.json +98 -0
  18. package/src/assets/fixtures/page/metadatabox.json +89 -16
  19. package/src/assets/fixtures/page/page.json +5 -4
  20. package/src/assets/fixtures/pagination/page_pagination.inc.json +157 -0
  21. package/src/assets/fixtures/pagination/page_pagination.json +251 -88
  22. package/src/assets/fixtures/site_header/site_header.inc.json +83 -0
  23. package/src/assets/fixtures/site_header/site_header.json +122 -0
  24. package/src/assets/fixtures/teaser/components/teaser_byline.json +35 -0
  25. package/src/assets/fixtures/teaser/components/teaser_headings.json +61 -0
  26. package/src/assets/fixtures/teaser/components/teaser_text.json +45 -0
  27. package/src/assets/fixtures/teaser/components/teaser_title.json +38 -0
  28. package/src/assets/fixtures/teaser/teaser_alternative.json +478 -0
  29. package/src/assets/fixtures/teaser/teaser_alternative_av.json +465 -0
  30. package/src/assets/fixtures/teaser/teaser_cluster.json +682 -0
  31. package/src/assets/fixtures/teaser/teaser_content_nav.json +532 -0
  32. package/src/assets/fixtures/teaser/teaser_event.json +284 -0
  33. package/src/assets/fixtures/teaser/teaser_indextext.json +180 -0
  34. package/src/assets/fixtures/teaser/teaser_podcast.json +75 -2
  35. package/src/assets/fixtures/teaser/teaser_poster.json +322 -0
  36. package/src/assets/fixtures/teaser/teaser_stage.json +145 -0
  37. package/src/assets/fixtures/teaser/teaser_standard.json +371 -0
  38. package/src/assets/fixtures/teaser/teaser_standard_av.json +285 -0
  39. package/src/assets/fixtures/teaser/teaser_ticker_alternative.json +156 -0
  40. package/src/assets/fixtures/teaser/teaser_ticker_standard.json +241 -0
  41. package/src/assets/fixtures/teaser/teaser_ticker_timeline.json +75 -28
  42. package/src/assets/js/utils.js +73 -0
  43. package/src/stories/basics/SnapshotStories.mdx +353 -0
  44. package/src/stories/views/components/button/button.mdx +3 -5
  45. package/src/stories/views/components/button/button.stories.js +71 -93
  46. package/src/stories/views/components/button/fixtures/button.json +1 -0
  47. package/src/stories/views/components/button/fixtures/link_button.json +1 -0
  48. package/src/stories/views/components/button/link_button.mdx +3 -5
  49. package/src/stories/views/components/button/link_button.stories.js +67 -97
  50. package/src/stories/views/components/grid/grid.stories.js +3 -0
  51. package/src/stories/views/components/label/fixtures/label.json +1 -0
  52. package/src/stories/views/components/label/label.stories.js +31 -3
  53. package/src/stories/views/components/mediaplayer/fixtures/mediaplayer_button.json +1 -0
  54. package/src/stories/views/components/mediaplayer/fixtures/mediaplayer_snapshots.json +1 -0
  55. package/src/stories/views/components/mediaplayer/mediaplayer.stories.js +32 -12
  56. package/src/stories/views/components/mediaplayer/mediaplayer_button.stories.js +41 -34
  57. package/src/stories/views/components/navigation/breadcrumb/breadcrumb.stories.js +30 -29
  58. package/src/stories/views/components/navigation/breadcrumb/fixtures/breadcrumb.json +1 -0
  59. package/src/stories/views/components/page/components/metadatabox.stories.js +87 -23
  60. package/src/stories/views/components/page/fixtures/metadatabox.json +1 -1
  61. package/src/stories/views/components/page/index/page.data.js +10 -14
  62. package/src/stories/views/components/page/index/page.stories.js +3 -3
  63. package/src/stories/views/components/page/index/page_test_story.hbs +1 -1
  64. package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
  65. package/src/stories/views/components/pagination/page_pagination.data.js +2 -2
  66. package/src/stories/views/components/pagination/page_pagination.stories.js +45 -114
  67. package/src/stories/views/components/podcast/podcast_subscribe_button.stories.js +2 -2
  68. package/src/stories/views/components/site_header/fixtures/site_header.json +1 -0
  69. package/src/stories/views/components/site_header/header.stories.js +32 -17
  70. package/src/stories/views/components/teaser/cluster/teaser_cluster.stories.js +164 -44
  71. package/src/stories/views/components/teaser/components/fixtures/teaser_byline.json +1 -0
  72. package/src/stories/views/components/teaser/components/fixtures/teaser_headings.json +1 -0
  73. package/src/stories/views/components/teaser/components/fixtures/teaser_text.json +1 -0
  74. package/src/stories/views/components/teaser/components/fixtures/teaser_title.json +1 -0
  75. package/src/stories/views/components/teaser/components/teaser_byline.stories.js +32 -8
  76. package/src/stories/views/components/teaser/components/teaser_heading.stories.js +36 -38
  77. package/src/stories/views/components/teaser/components/teaser_text.stories.js +34 -23
  78. package/src/stories/views/components/teaser/components/teaser_title.stories.js +35 -23
  79. package/src/stories/views/components/teaser/content_nav/teaser_content_nav.stories.js +100 -33
  80. package/src/stories/views/components/teaser/fixtures/teaser_alternative.json +1 -0
  81. package/src/stories/views/components/teaser/fixtures/teaser_alternative_av.json +1 -0
  82. package/src/stories/views/components/teaser/fixtures/teaser_cluster.json +1 -0
  83. package/src/stories/views/components/teaser/fixtures/teaser_content_nav.json +1 -0
  84. package/src/stories/views/components/teaser/fixtures/teaser_event.json +1 -0
  85. package/src/stories/views/components/teaser/fixtures/teaser_indextext.json +1 -0
  86. package/src/stories/views/components/teaser/fixtures/teaser_podcast.json +1 -1
  87. package/src/stories/views/components/teaser/fixtures/teaser_poster.json +1 -0
  88. package/src/stories/views/components/teaser/fixtures/teaser_stage.json +1 -0
  89. package/src/stories/views/components/teaser/fixtures/teaser_standard.json +1 -0
  90. package/src/stories/views/components/teaser/fixtures/teaser_standard_av.json +1 -0
  91. package/src/stories/views/components/teaser/fixtures/teaser_ticker_alternative.json +1 -0
  92. package/src/stories/views/components/teaser/fixtures/teaser_ticker_standard.json +1 -0
  93. package/src/stories/views/components/teaser/fixtures/teaser_ticker_timeline.json +1 -1
  94. package/src/stories/views/components/teaser/podcast/podcast.stories.js +37 -25
  95. package/src/stories/views/components/teaser/teaser_alternativ.stories.js +124 -36
  96. package/src/stories/views/components/teaser/teaser_alternativ_av.stories.js +187 -36
  97. package/src/stories/views/components/teaser/teaser_indextext.stories.js +87 -18
  98. package/src/stories/views/components/teaser/teaser_poster.stories.js +87 -12
  99. package/src/stories/views/components/teaser/teaser_stage.stories.js +69 -12
  100. package/src/stories/views/components/teaser/teaser_standard.stories.js +182 -48
  101. package/src/stories/views/components/teaser/teaser_standard_av.stories.js +108 -31
  102. package/src/stories/views/components/teaser/teaser_standard_event.stories.js +122 -51
  103. package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.stories.js +55 -11
  104. package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.stories.js +77 -22
  105. package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.stories.js +35 -13
  106. package/tailwind.config.js +2 -1
  107. package/src/assets/fixtures/navigation/breadcrumb/breadcrumb_2_level.json +0 -15
  108. package/src/assets/fixtures/navigation/breadcrumb/breadcrumb_3_level.json +0 -19
  109. package/src/assets/fixtures/navigation/breadcrumb/breadcrumb_4_level.json +0 -23
  110. package/src/assets/fixtures/navigation/breadcrumb/breadcrumb_5_level.json +0 -27
  111. package/src/assets/fixtures/page/metadatabox_comments.json +0 -23
  112. package/src/assets/fixtures/page/metadatabox_more_authors.json +0 -43
  113. package/src/assets/fixtures/page/metadatabox_more_authors_comments.json +0 -47
  114. package/src/assets/fixtures/page/metadatabox_one_author.json +0 -34
  115. package/src/assets/fixtures/page/metadatabox_one_author_comments.json +0 -38
  116. package/src/assets/fixtures/page/metadatabox_one_author_without_picture.json +0 -24
  117. package/src/assets/fixtures/site_header/site_header_default.json +0 -26
  118. package/src/assets/fixtures/site_header/site_header_default_no_sticky.json +0 -9
  119. package/src/assets/fixtures/site_header/site_header_mit_submenu.json +0 -17
  120. package/src/assets/fixtures/site_header/site_header_mit_submenu_as_flyout.json +0 -17
  121. package/src/assets/fixtures/site_header/site_header_mit_submenu_as_flyout_no_sticky.json +0 -9
  122. package/src/assets/fixtures/site_header/site_header_mit_submenu_no_sticky.json +0 -9
  123. package/src/assets/fixtures/site_header/site_header_mit_top_topics.json +0 -20
  124. package/src/assets/fixtures/site_header/site_header_mit_top_topics_no_sticky.json +0 -9
  125. package/src/assets/fixtures/site_header/site_header_mit_warnung.json +0 -17
  126. package/src/assets/fixtures/site_header/site_header_mit_warnung_no_sticky.json +0 -9
  127. package/src/assets/fixtures/teaser/cluster_teaser_100.json +0 -21
  128. package/src/assets/fixtures/teaser/cluster_teaser_100_genre.json +0 -29
  129. package/src/assets/fixtures/teaser/cluster_teaser_100_image.json +0 -50
  130. package/src/assets/fixtures/teaser/cluster_teaser_33.json +0 -21
  131. package/src/assets/fixtures/teaser/cluster_teaser_33_genre.json +0 -42
  132. package/src/assets/fixtures/teaser/cluster_teaser_33_image.json +0 -69
  133. package/src/assets/fixtures/teaser/cluster_teaser_33_long_title.json +0 -29
  134. package/src/assets/fixtures/teaser/cluster_teaser_50.json +0 -21
  135. package/src/assets/fixtures/teaser/cluster_teaser_50_genre.json +0 -42
  136. package/src/assets/fixtures/teaser/cluster_teaser_50_image.json +0 -69
  137. package/src/assets/fixtures/teaser/cluster_teaser_Podcast_Channel.json +0 -67
  138. package/src/assets/fixtures/teaser/cluster_teaser_extern_100.json +0 -29
  139. package/src/assets/fixtures/teaser/cluster_teaser_extern_33.json +0 -29
  140. package/src/assets/fixtures/teaser/cluster_teaser_extern_50.json +0 -29
  141. package/src/assets/fixtures/teaser/cluster_teaser_ordered_100.json +0 -29
  142. package/src/assets/fixtures/teaser/cluster_teaser_ordered_33.json +0 -29
  143. package/src/assets/fixtures/teaser/cluster_teaser_ordered_50.json +0 -29
  144. package/src/assets/fixtures/teaser/stage_teaser.json +0 -4
  145. package/src/assets/fixtures/teaser/stage_teaser_eventtag.json +0 -48
  146. package/src/assets/fixtures/teaser/stage_teaser_program.json +0 -55
  147. package/src/assets/fixtures/teaser/stage_teaser_wide.json +0 -23
  148. package/src/assets/fixtures/teaser/teaser_alternative_100_serif.json +0 -39
  149. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_audio.json +0 -39
  150. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_download.json +0 -46
  151. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_featured_content.json +0 -38
  152. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_link.json +0 -39
  153. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_live.json +0 -39
  154. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_single_event.json +0 -39
  155. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_two_events.json +0 -43
  156. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_video.json +0 -39
  157. package/src/assets/fixtures/teaser/teaser_alternative_50_serif.json +0 -39
  158. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_audio.json +0 -39
  159. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_download.json +0 -46
  160. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_link.json +0 -39
  161. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_live.json +0 -39
  162. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_video.json +0 -39
  163. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif.json +0 -27
  164. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_audio.json +0 -27
  165. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_comments.json +0 -27
  166. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_label.json +0 -38
  167. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_link.json +0 -14
  168. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_live.json +0 -14
  169. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_program.json +0 -14
  170. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_video.json +0 -14
  171. package/src/assets/fixtures/teaser/teaser_alternative_without_teaserimage_50_serif.json +0 -26
  172. package/src/assets/fixtures/teaser/teaser_comments_without_teaserinfo.json +0 -14
  173. package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_100.json +0 -10
  174. package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_autosuggest_100.json +0 -14
  175. package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_subgroups.json +0 -215
  176. package/src/assets/fixtures/teaser/teaser_content_nav_flow_100.json +0 -14
  177. package/src/assets/fixtures/teaser/teaser_content_nav_flow_autosuggest.json +0 -18
  178. package/src/assets/fixtures/teaser/teaser_content_nav_list_100.json +0 -14
  179. package/src/assets/fixtures/teaser/teaser_content_nav_list_autosuggest.json +0 -18
  180. package/src/assets/fixtures/teaser/teaser_content_nav_mixed_100.json +0 -187
  181. package/src/assets/fixtures/teaser/teaser_content_nav_mixed_autosuggest.json +0 -14
  182. package/src/assets/fixtures/teaser/teaser_indextext_100_accented.json +0 -26
  183. package/src/assets/fixtures/teaser/teaser_indextext_100_boxed.json +0 -26
  184. package/src/assets/fixtures/teaser/teaser_indextext_100_highlighted.json +0 -26
  185. package/src/assets/fixtures/teaser/teaser_indextext_50_accented.json +0 -26
  186. package/src/assets/fixtures/teaser/teaser_poster_lg.json +0 -39
  187. package/src/assets/fixtures/teaser/teaser_poster_md.json +0 -39
  188. package/src/assets/fixtures/teaser/teaser_poster_md_label.json +0 -60
  189. package/src/assets/fixtures/teaser/teaser_poster_md_label_byline.json +0 -50
  190. package/src/assets/fixtures/teaser/teaser_standard_100_serif.json +0 -14
  191. package/src/assets/fixtures/teaser/teaser_standard_100_serif_download.json +0 -21
  192. package/src/assets/fixtures/teaser/teaser_standard_100_serif_link.json +0 -14
  193. package/src/assets/fixtures/teaser/teaser_standard_100_serif_program.json +0 -14
  194. package/src/assets/fixtures/teaser/teaser_standard_100_serif_single_event.json +0 -22
  195. package/src/assets/fixtures/teaser/teaser_standard_100_serif_two_events.json +0 -26
  196. package/src/assets/fixtures/teaser/teaser_standard_25_serif.json +0 -35
  197. package/src/assets/fixtures/teaser/teaser_standard_25_serif_audio.json +0 -35
  198. package/src/assets/fixtures/teaser/teaser_standard_25_serif_audio_livestream.json +0 -35
  199. package/src/assets/fixtures/teaser/teaser_standard_25_serif_link.json +0 -31
  200. package/src/assets/fixtures/teaser/teaser_standard_25_serif_live.json +0 -35
  201. package/src/assets/fixtures/teaser/teaser_standard_25_serif_podcast.json +0 -35
  202. package/src/assets/fixtures/teaser/teaser_standard_25_serif_video.json +0 -35
  203. package/src/assets/fixtures/teaser/teaser_standard_33_long_geotag.json +0 -22
  204. package/src/assets/fixtures/teaser/teaser_standard_33_serif.json +0 -14
  205. package/src/assets/fixtures/teaser/teaser_standard_33_serif_link.json +0 -14
  206. package/src/assets/fixtures/teaser/teaser_standard_33_serif_multiple_events.json +0 -36
  207. package/src/assets/fixtures/teaser/teaser_standard_33_serif_single_event.json +0 -18
  208. package/src/assets/fixtures/teaser/teaser_standard_33_serif_single_event_status.json +0 -22
  209. package/src/assets/fixtures/teaser/teaser_standard_33_serif_two_events.json +0 -22
  210. package/src/assets/fixtures/teaser/teaser_standard_50_serif.json +0 -14
  211. package/src/assets/fixtures/teaser/teaser_standard_50_serif_audio.json +0 -14
  212. package/src/assets/fixtures/teaser/teaser_standard_50_serif_audio_livestream.json +0 -14
  213. package/src/assets/fixtures/teaser/teaser_standard_50_serif_download.json +0 -21
  214. package/src/assets/fixtures/teaser/teaser_standard_50_serif_featured_content.json +0 -17
  215. package/src/assets/fixtures/teaser/teaser_standard_50_serif_link.json +0 -14
  216. package/src/assets/fixtures/teaser/teaser_standard_50_serif_link_two_click.json +0 -22
  217. package/src/assets/fixtures/teaser/teaser_standard_50_serif_live.json +0 -22
  218. package/src/assets/fixtures/teaser/teaser_standard_50_serif_podcast.json +0 -14
  219. package/src/assets/fixtures/teaser/teaser_standard_50_serif_single_event.json +0 -17
  220. package/src/assets/fixtures/teaser/teaser_standard_50_serif_video.json +0 -14
  221. package/src/assets/fixtures/teaser/teaser_standard_66_serif_single_event.json +0 -25
  222. package/src/assets/fixtures/teaser/teaser_standard_hero_serif.json +0 -4
  223. package/src/assets/fixtures/teaser/teaser_standard_hero_serif_comments.json +0 -4
  224. package/src/assets/fixtures/teaser/teaser_standard_hero_serif_label.json +0 -17
  225. package/src/assets/fixtures/teaser/teaser_standard_hero_serif_link.json +0 -4
  226. package/src/assets/fixtures/teaser/teaser_standard_without_teaserimage_25_serif.json +0 -22
  227. package/src/assets/fixtures/teaser/teaser_standard_without_teaserimage_50_serif.json +0 -14
  228. package/src/assets/fixtures/teaser/ticker_teaser_alternativ_100.json +0 -54
  229. package/src/assets/fixtures/teaser/ticker_teaser_alternativ_hero.json +0 -42
  230. package/src/assets/fixtures/teaser/ticker_teaser_alternativ_hero_audio.json +0 -42
  231. package/src/assets/fixtures/teaser/ticker_teaser_standard_100.json +0 -37
  232. package/src/assets/fixtures/teaser/ticker_teaser_standard_25.json +0 -50
  233. package/src/assets/fixtures/teaser/ticker_teaser_standard_33.json +0 -37
  234. package/src/assets/fixtures/teaser/ticker_teaser_standard_50.json +0 -37
  235. package/src/assets/fixtures/teaser/ticker_teaser_standard_hero.json +0 -25
  236. package/src/assets/fixtures/teaser/ticker_teaser_standard_hero_audio.json +0 -25
  237. package/src/stories/views/components/navigation/breadcrumb/fixtures/breadcrumb_2_level.json +0 -1
  238. package/src/stories/views/components/navigation/breadcrumb/fixtures/breadcrumb_3_level.json +0 -1
  239. package/src/stories/views/components/navigation/breadcrumb/fixtures/breadcrumb_4_level.json +0 -1
  240. package/src/stories/views/components/navigation/breadcrumb/fixtures/breadcrumb_5_level.json +0 -1
  241. package/src/stories/views/components/page/fixtures/metadatabox_comments.json +0 -1
  242. package/src/stories/views/components/page/fixtures/metadatabox_more_authors.json +0 -1
  243. package/src/stories/views/components/page/fixtures/metadatabox_more_authors_comments.json +0 -1
  244. package/src/stories/views/components/page/fixtures/metadatabox_one_author.json +0 -1
  245. package/src/stories/views/components/page/fixtures/metadatabox_one_author_comments.json +0 -1
  246. package/src/stories/views/components/page/fixtures/metadatabox_one_author_without_picture.json +0 -1
  247. package/src/stories/views/components/site_header/fixtures/site_header_default.json +0 -1
  248. package/src/stories/views/components/site_header/fixtures/site_header_default_no_sticky.json +0 -1
  249. package/src/stories/views/components/site_header/fixtures/site_header_mit_submenu.json +0 -1
  250. package/src/stories/views/components/site_header/fixtures/site_header_mit_submenu_asFlyout_no_sticky.json +0 -1
  251. package/src/stories/views/components/site_header/fixtures/site_header_mit_submenu_as_flyout.json +0 -1
  252. package/src/stories/views/components/site_header/fixtures/site_header_mit_submenu_as_flyout_no_sticky.json +0 -1
  253. package/src/stories/views/components/site_header/fixtures/site_header_mit_submenu_no_sticky.json +0 -1
  254. package/src/stories/views/components/site_header/fixtures/site_header_mit_top_topics.json +0 -1
  255. package/src/stories/views/components/site_header/fixtures/site_header_mit_top_topics_no_sticky.json +0 -1
  256. package/src/stories/views/components/site_header/fixtures/site_header_mit_warnung.json +0 -1
  257. package/src/stories/views/components/site_header/fixtures/site_header_mit_warnung_no_sticky.json +0 -1
  258. package/src/stories/views/components/teaser/fixtures/cluster_teaser_100.json +0 -1
  259. package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_genre.json +0 -1
  260. package/src/stories/views/components/teaser/fixtures/cluster_teaser_100_image.json +0 -1
  261. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33.json +0 -1
  262. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_genre.json +0 -1
  263. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_image.json +0 -1
  264. package/src/stories/views/components/teaser/fixtures/cluster_teaser_33_long_title.json +0 -1
  265. package/src/stories/views/components/teaser/fixtures/cluster_teaser_50.json +0 -1
  266. package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_genre.json +0 -1
  267. package/src/stories/views/components/teaser/fixtures/cluster_teaser_50_image.json +0 -1
  268. package/src/stories/views/components/teaser/fixtures/cluster_teaser_Podcast_Channel.json +0 -1
  269. package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_100.json +0 -1
  270. package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_33.json +0 -1
  271. package/src/stories/views/components/teaser/fixtures/cluster_teaser_extern_50.json +0 -1
  272. package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_100.json +0 -1
  273. package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_33.json +0 -1
  274. package/src/stories/views/components/teaser/fixtures/cluster_teaser_ordered_50.json +0 -1
  275. package/src/stories/views/components/teaser/fixtures/stage_teaser.json +0 -1
  276. package/src/stories/views/components/teaser/fixtures/stage_teaser_eventtag.json +0 -1
  277. package/src/stories/views/components/teaser/fixtures/stage_teaser_program.json +0 -1
  278. package/src/stories/views/components/teaser/fixtures/stage_teaser_wide.json +0 -1
  279. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif.json +0 -1
  280. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +0 -1
  281. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_download.json +0 -1
  282. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_featured_content.json +0 -1
  283. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_link.json +0 -1
  284. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +0 -1
  285. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event.json +0 -1
  286. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_two_events.json +0 -1
  287. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_video.json +0 -1
  288. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif.json +0 -1
  289. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +0 -1
  290. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_download.json +0 -1
  291. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_link.json +0 -1
  292. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +0 -1
  293. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_video.json +0 -1
  294. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif.json +0 -1
  295. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +0 -1
  296. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_comments.json +0 -1
  297. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_label.json +0 -1
  298. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_link.json +0 -1
  299. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +0 -1
  300. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_program.json +0 -1
  301. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_video.json +0 -1
  302. package/src/stories/views/components/teaser/fixtures/teaser_alternative_without_teaserimage_50_serif.json +0 -1
  303. package/src/stories/views/components/teaser/fixtures/teaser_comments_without_teaserinfo.json +0 -1
  304. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_100.json +0 -1
  305. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_autosuggest_100.json +0 -1
  306. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_subgroups.json +0 -1
  307. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_flow_100.json +0 -1
  308. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_flow_autosuggest.json +0 -1
  309. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_list_100.json +0 -1
  310. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_list_autosuggest.json +0 -1
  311. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_100.json +0 -1
  312. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_autosuggest.json +0 -1
  313. package/src/stories/views/components/teaser/fixtures/teaser_indextext_100_accented.json +0 -1
  314. package/src/stories/views/components/teaser/fixtures/teaser_indextext_100_boxed.json +0 -1
  315. package/src/stories/views/components/teaser/fixtures/teaser_indextext_100_highlighted.json +0 -1
  316. package/src/stories/views/components/teaser/fixtures/teaser_indextext_50_accented.json +0 -1
  317. package/src/stories/views/components/teaser/fixtures/teaser_poster_lg.json +0 -1
  318. package/src/stories/views/components/teaser/fixtures/teaser_poster_md.json +0 -1
  319. package/src/stories/views/components/teaser/fixtures/teaser_poster_md_label.json +0 -1
  320. package/src/stories/views/components/teaser/fixtures/teaser_poster_md_label_byline.json +0 -1
  321. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif.json +0 -1
  322. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_download.json +0 -1
  323. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_link.json +0 -1
  324. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_program.json +0 -1
  325. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_single_event.json +0 -1
  326. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_two_events.json +0 -1
  327. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif.json +0 -1
  328. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +0 -1
  329. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio_livestream.json +0 -1
  330. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_link.json +0 -1
  331. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +0 -1
  332. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_podcast.json +0 -1
  333. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_video.json +0 -1
  334. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_long_geotag.json +0 -1
  335. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif.json +0 -1
  336. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_link.json +0 -1
  337. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_multiple_events.json +0 -1
  338. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event.json +0 -1
  339. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event_status.json +0 -1
  340. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_two_events.json +0 -1
  341. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif.json +0 -1
  342. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +0 -1
  343. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio_livestream.json +0 -1
  344. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_download.json +0 -1
  345. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_featured_content.json +0 -1
  346. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link.json +0 -1
  347. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_link_two_click.json +0 -1
  348. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +0 -1
  349. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_podcast.json +0 -1
  350. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_single_event.json +0 -1
  351. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_video.json +0 -1
  352. package/src/stories/views/components/teaser/fixtures/teaser_standard_66_serif_single_event.json +0 -1
  353. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif.json +0 -1
  354. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_comments.json +0 -1
  355. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_label.json +0 -1
  356. package/src/stories/views/components/teaser/fixtures/teaser_standard_hero_serif_link.json +0 -1
  357. package/src/stories/views/components/teaser/fixtures/teaser_standard_without_teaserimage_25_serif.json +0 -1
  358. package/src/stories/views/components/teaser/fixtures/teaser_standard_without_teaserimage_50_serif.json +0 -1
  359. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_100.json +0 -1
  360. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero.json +0 -1
  361. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero_audio.json +0 -1
  362. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_100.json +0 -1
  363. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_25.json +0 -1
  364. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_33.json +0 -1
  365. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_50.json +0 -1
  366. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero.json +0 -1
  367. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero_audio.json +0 -1
@@ -1,13 +1,20 @@
1
- import breadcrumb from './breadcrumb.hbs'
2
- import breadcrumb2LevelData from './fixtures/breadcrumb_2_level.json'
3
- import breadcrumb3LevelData from './fixtures/breadcrumb_3_level.json'
4
- import breadcrumb4LevelData from './fixtures/breadcrumb_4_level.json'
5
- import breadcrumb5LevelData from './fixtures/breadcrumb_5_level.json'
1
+ import { getSnapshotsTemplate } from '/src/assets/js/utils.js'
2
+ import fixtures from './fixtures/breadcrumb.json'
3
+
4
+ const handlebars = require('hrHandlebars')
5
+ const hbsTemplates = []
6
+ hbsTemplates['default'] = handlebars.compile(`
7
+ {{> components/navigation/breadcrumb/breadcrumb}}
8
+ `)
6
9
 
7
10
  const Template = (args) => {
8
11
  // You can either use a function to create DOM elements or use a plain html string!
9
12
  // return `<div>${label}</div>`;
10
- return breadcrumb({ ...args })
13
+ return hbsTemplates['default']({ ...args })
14
+ }
15
+
16
+ const snapshotTemplate = (args) => {
17
+ return getSnapshotsTemplate({ hbsTemplates, args })
11
18
  }
12
19
 
13
20
  export default {
@@ -44,6 +51,9 @@ export default {
44
51
  controls: {
45
52
  sort: 'alpha',
46
53
  },
54
+ chromatic: {
55
+ disableSnapshot: true
56
+ },
47
57
  },
48
58
  decorators: [
49
59
  (Story) => {
@@ -60,42 +70,33 @@ export default {
60
70
  export const breadcrumb2Level = {
61
71
  render: Template.bind({}),
62
72
  name: 'Breadcrumb 2 Level',
63
- args: {
64
- _currentPageUrl: '#currentPage',
65
- _currentPageTitle: 'Kurzer Titel',
66
- ...breadcrumb2LevelData.breadcrumb,
67
- },
73
+ args: fixtures['2_levels'].args,
68
74
  }
69
75
 
70
76
  export const breadcrumb3Level = {
71
77
  render: Template.bind({}),
72
78
  name: 'Breadcrumb 3 Level',
73
- args: {
74
- _currentPageUrl: '#currentPage',
75
- _currentPageTitle:
76
- 'Korruptionsprozess: Verteidigung von Ex-Oberstaatsanwalt plädiert auf höchstens vier Jahre Haft',
77
- ...breadcrumb3LevelData.breadcrumb,
78
- },
79
+ args: fixtures['3_levels'].args,
79
80
  }
80
81
 
81
82
  export const breadcrumb4Level = {
82
83
  render: Template.bind({}),
83
84
  name: 'Breadcrumb 4 Level',
84
- args: {
85
- _currentPageUrl: '#currentPage',
86
- _currentPageTitle:
87
- 'Darmstadt 98 bleibt trotz Enttäuschung cool: "Keinen Stift in der Hose" ',
88
- ...breadcrumb4LevelData.breadcrumb,
89
- },
85
+ args: fixtures['4_levels'].args,
90
86
  }
91
87
 
92
88
  export const breadcrumb5Level = {
93
89
  render: Template.bind({}),
94
90
  name: 'Breadcrumb 5 Level',
95
- args: {
96
- _currentPageUrl: '#currentPage',
97
- _currentPageTitle:
98
- 'Verein bestätigt: Eintracht Frankfurt trennt sich im Sommer von Oliver Glasner',
99
- ...breadcrumb5LevelData.breadcrumb,
100
- },
91
+ args: fixtures['5_levels'].args,
92
+ }
93
+
94
+ export const Snapshot = {
95
+ render: snapshotTemplate.bind({}),
96
+ name: 'Snapshot',
97
+
98
+ args: fixtures,
99
+ parameters: {
100
+ chromatic: { disableSnapshot: false },
101
+ }
101
102
  }
@@ -0,0 +1 @@
1
+ {"config":{"template":"default"},"2_levels":{"args":{"showBreadcrumbTitleAlways":false,"breadcrumbSsi":{"breadcrumb":[{"url":"item-1","title":"Start"}]},"_currentPageUrl":"#currentPage","_currentPageTitle":"Kurzer Titel"}},"3_levels":{"args":{"showBreadcrumbTitleAlways":false,"breadcrumbSsi":{"breadcrumb":[{"url":"item-1","title":"Start"},{"url":"panorama","title":"Panorama"}]},"_currentPageUrl":"#currentPage","_currentPageTitle":"Korruptionsprozess: Verteidigung von Ex-Oberstaatsanwalt plädiert auf höchstens vier Jahre Haft"}},"4_levels":{"args":{"showBreadcrumbTitleAlways":false,"breadcrumbSsi":{"breadcrumb":[{"url":"item-1","title":"Start"},{"url":"sport","title":"Sport"},{"url":"darmstadt98","title":"Darmstadt 98"}]},"_currentPageUrl":"#currentPage","_currentPageTitle":"Darmstadt 98 bleibt trotz Enttäuschung cool: \"Keinen Stift in der Hose\""}},"5_levels":{"args":{"showBreadcrumbTitleAlways":false,"breadcrumbSsi":{"breadcrumb":[{"url":"item-1","title":"Start"},{"url":"sport","title":"Sport"},{"url":"fussball","title":"Fußball"},{"url":"eintracht","title":"Eintracht Frankfurt"}]},"_currentPageUrl":"#currentPage","_currentPageTitle":"Verein bestätigt: Eintracht Frankfurt trennt sich im Sommer von Oliver Glasner"}}}
@@ -1,16 +1,21 @@
1
- import metadatabox_template from './metadatabox.hbs'
2
- import metadatabox_json from '../fixtures/metadatabox.json'
3
- import metadatabox_comments_json from '../fixtures/metadatabox_comments.json'
4
- import metadatabox_one_author_json from '../fixtures/metadatabox_one_author.json'
5
- import metadatabox_one_author_without_picture_json from '../fixtures/metadatabox_one_author_without_picture.json'
6
- import metadatabox_one_author_comments_json from '../fixtures/metadatabox_one_author_comments.json'
7
- import metadatabox_more_authors_json from '../fixtures/metadatabox_more_authors.json'
8
- import metadatabox_more_authors_comments_json from '../fixtures/metadatabox_more_authors_comments.json'
1
+ import { getSnapshotsTemplate } from '/src/assets/js/utils.js'
2
+ import fixtures from '../fixtures/metadatabox.json'
9
3
 
10
- const Template = ({ ...args }) => {
11
- // You can either use a function to create DOM elements or use a plain html string!
12
- // return `<span>${topline}</span>`;
13
- return metadatabox_template({ ...args })
4
+ const handlebars = require('hrHandlebars')
5
+ const hbsTemplates = []
6
+ hbsTemplates['default'] = handlebars.compile(`
7
+ {{> components/page/components/metadatabox}}
8
+ `)
9
+
10
+
11
+
12
+ const Template = (args) => {
13
+ console.log("Args: ", args)
14
+ return hbsTemplates['default']({ ...args })
15
+ }
16
+
17
+ const snapshotTemplate = (args) => {
18
+ return getSnapshotsTemplate({ hbsTemplates, args })
14
19
  }
15
20
 
16
21
  export default {
@@ -21,6 +26,18 @@ export default {
21
26
  description: 'Datum anzeigen',
22
27
  },
23
28
  },
29
+ parameters: {
30
+ controls: {
31
+ sort: 'alpha',
32
+ },
33
+ chromatic: {
34
+ disableSnapshot: true
35
+ },
36
+ },
37
+ }
38
+
39
+ export const Default = {
40
+ render: Template.bind({}),
24
41
  decorators: [
25
42
  (Story) => {
26
43
  return `<div class="max-w-[724px] mx-auto mt-60">
@@ -28,46 +45,93 @@ export default {
28
45
  </div>`
29
46
  },
30
47
  ],
31
- }
32
-
33
- export const Default = {
34
- render: Template.bind({}),
35
48
  name: 'Nur Datum',
36
- args: metadatabox_json,
49
+ args: fixtures.metadatabox.args,
37
50
  }
38
51
 
39
52
  export const WithComments = {
40
53
  render: Template.bind({}),
54
+ decorators: [
55
+ (Story) => {
56
+ return `<div class="max-w-[724px] mx-auto mt-60">
57
+ ${Story()}
58
+ </div>`
59
+ },
60
+ ],
41
61
  name: 'Datum und Kommentar-Link',
42
- args: metadatabox_comments_json,
62
+ args: fixtures.metadatabox_with_comments.args,
43
63
  }
44
64
 
45
65
  export const WithOneAuthor = {
46
66
  render: Template.bind({}),
67
+ decorators: [
68
+ (Story) => {
69
+ return `<div class="max-w-[724px] mx-auto mt-60">
70
+ ${Story()}
71
+ </div>`
72
+ },
73
+ ],
47
74
  name: 'Ein Autor',
48
- args: metadatabox_one_author_json,
75
+ args: fixtures.metadatabox_with_one_author.args,
49
76
  }
50
77
 
51
78
  export const WithOneAuthorWithoutPicture = {
52
79
  render: Template.bind({}),
80
+ decorators: [
81
+ (Story) => {
82
+ return `<div class="max-w-[724px] mx-auto mt-60">
83
+ ${Story()}
84
+ </div>`
85
+ },
86
+ ],
53
87
  name: 'Ein Autor ohne Bild',
54
- args: metadatabox_one_author_without_picture_json,
88
+ args: fixtures.metadatabox_with_one_author_and_without_picture.args,
55
89
  }
56
90
 
57
91
  export const WithMoreAuthors = {
58
92
  render: Template.bind({}),
93
+ decorators: [
94
+ (Story) => {
95
+ return `<div class="max-w-[724px] mx-auto mt-60">
96
+ ${Story()}
97
+ </div>`
98
+ },
99
+ ],
59
100
  name: 'Mehrere Autoren',
60
- args: metadatabox_more_authors_json,
101
+ args: fixtures.metadatabox_with_more_authors.args,
61
102
  }
62
103
 
63
104
  export const WithOneAuthorAndComments = {
64
105
  render: Template.bind({}),
106
+ decorators: [
107
+ (Story) => {
108
+ return `<div class="max-w-[724px] mx-auto mt-60">
109
+ ${Story()}
110
+ </div>`
111
+ },
112
+ ],
65
113
  name: 'Ein Autor und Kommentar-Link',
66
- args: metadatabox_one_author_comments_json,
114
+ args: fixtures.metadatabox_with_one_author_and_comments.args,
67
115
  }
68
116
 
69
117
  export const WithMoreAuthorsAndComments = {
70
118
  render: Template.bind({}),
119
+ decorators: [
120
+ (Story) => {
121
+ return `<div class="max-w-[724px] mx-auto mt-60">
122
+ ${Story()}
123
+ </div>`
124
+ },
125
+ ],
71
126
  name: 'Mehrere Autoren und Kommentar-Link',
72
- args: metadatabox_more_authors_comments_json,
127
+ args: fixtures.metadatabox_with_more_authors_and_comments.args,
128
+ }
129
+
130
+ export const Snapshot = {
131
+ render: snapshotTemplate.bind({}),
132
+ name: 'Snapshot',
133
+ args: fixtures,
134
+ parameters: {
135
+ chromatic: { disableSnapshot: false },
136
+ }
73
137
  }
@@ -1 +1 @@
1
- {"_showDate":true,"hasMoreThanOneAuthor":false,"hasDwellTime":true,"documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"}}
1
+ {"config":{"template":"default"},"metadatabox":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasMoreThanOneAuthor":false,"hasDwellTime":true,"documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"}}},"metadatabox_with_comments":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasMoreThanOneAuthor":false,"hasDwellTime":true,"documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"},"userComments":{"HasOneComment":false,"quantity":"117"}}},"metadatabox_with_one_author":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasOneAuthor":true,"hasMoreThanOneAuthor":false,"hasDwellTime":true,"authorTitle":"Steffen Rebhahn","textAfterAuthor":"(Redaktion hessenschau.de)","authorImage":{"isImage":true,"caption":"Steffen Rebhahn","copyrightWithLinks":"hr","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1_small.jpg","sources":[{"sizes":"50px","srcset":"images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__xsmall.jpg 260w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__small.jpg 380w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__medium.jpg 480w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1.jpg 720w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__large.jpg 960w"}]}},"authorUrl":"/author-url","webviewAuthorUrl":"webview-author-url","documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"}}},"metadatabox_with_one_author_and_comments":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasOneAuthor":true,"hasMoreThanOneAuthor":false,"hasDwellTime":true,"authorTitle":"Steffen Rebhahn","textAfterAuthor":"(Redaktion hessenschau.de)","authorImage":{"isImage":true,"caption":"Steffen Rebhahn","copyrightWithLinks":"hr","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1_small.jpg","sources":[{"sizes":"50px","srcset":"images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__xsmall.jpg 260w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__small.jpg 380w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__medium.jpg 480w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1.jpg 720w, images/mitarbeiter-portraet-steffen-rebhahn-106_v-1to1__large.jpg 960w"}]}},"authorUrl":"/author-url","webviewAuthorUrl":"webview-author-url","documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"},"userComments":{"HasOneComment":false,"quantity":"117"}}},"metadatabox_with_one_author_and_without_picture":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasOneAuthor":true,"hasMoreThanOneAuthor":false,"hasDwellTime":true,"authorTitle":"Steffen Rebhahn","textAfterAuthor":"(Redaktion hessenschau.de)","authorImage":{},"authorUrl":"/author-url","webviewAuthorUrl":"webview-author-url","documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"}}},"metadatabox_with_more_authors":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasMoreThanOneAuthor":true,"hasDwellTime":true,"documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"authorItems":[{"hasProfileLink":false,"from":"Von","textAfterAuthor":"Horst Schlämmer","delimiter":", "},{"hasProfileLink":false,"from":"","textAfterAuthor":"Karl Dall","delimiter":" und "},{"hasProfileLink":true,"from":"","authorName":"Peter Lustig","delimiter":"","link":{"url":"/author-url","isTargetBlank":false}}],"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"}}},"metadatabox_with_more_authors_and_comments":{"config":{"css":"w-[724px] mx-auto"},"args":{"_showDate":true,"hasMoreThanOneAuthor":true,"hasDwellTime":true,"documentModificationDate":{"isModificationDate":false,"isPublicationDate":true,"htmlDateTime":"2024-02-15T19:30+0200","date":"15.02.24","time":"19:30"},"authorItems":[{"hasProfileLink":false,"from":"Von","textAfterAuthor":"Horst Schlämmer","delimiter":", "},{"hasProfileLink":false,"from":"","textAfterAuthor":"Karl Dall","delimiter":" und "},{"hasProfileLink":true,"from":"","authorName":"Peter Lustig","delimiter":"","link":{"url":"/author-url","isTargetBlank":false}}],"socialSharing":{"twitterLink":"/twitterLink-url","facebookLink":"/facebookLink-url","whatsappLink":"/whatsappLink-url","mailtoLink":"/mailtoLink-url","copyToClipboardLink":"/copyToClipboard-url"},"userComments":{"HasOneComment":false,"quantity":"117"}}}}
@@ -1,28 +1,24 @@
1
1
  import structuredClone from 'core-js-pure/actual/structured-clone'
2
- import NavigationData from '../../site_header/fixtures/site_header_default.json'
3
- import NavigationData2 from '../../site_header/fixtures/site_header_mit_warnung.json'
4
- import NavigationData3 from '../../site_header/fixtures/site_header_mit_submenu.json'
5
- import NavigationData4 from '../../site_header/fixtures/site_header_mit_top_topics.json'
6
-
7
- import hero_teaser from '../../teaser/fixtures/teaser_standard_hero_serif.json'
2
+ import NavigationData from '../../site_header/fixtures/site_header.json'
3
+ import teaserStandard from '../../teaser/fixtures/teaser_standard.json'
8
4
 
9
5
  import data_story from '../story/fixtures/story.json'
10
- import data_breadcrumb from '../../navigation/breadcrumb/fixtures/breadcrumb_5_level.json'
6
+ import data_breadcrumb from '../../navigation/breadcrumb/fixtures/breadcrumb.json'
11
7
 
12
8
  const NavigationDataWithTeaser = structuredClone(
13
- Object.assign({}, NavigationData, hero_teaser.logicItem.includeModel)
9
+ Object.assign({}, NavigationData.default.args, teaserStandard.group_hero.hero.args.logicItem.includeModel)
14
10
  )
15
11
  const NavigationDataWithTeaser2 = structuredClone(
16
- Object.assign({}, NavigationData2, hero_teaser.logicItem.includeModel)
12
+ Object.assign({}, NavigationData.with_warnings.args, teaserStandard.group_hero.hero.args.logicItem.includeModel)
17
13
  )
18
14
  const NavigationDataWithTeaser3 = structuredClone(
19
- Object.assign({}, NavigationData3, hero_teaser.logicItem.includeModel)
15
+ Object.assign({}, NavigationData.with_submenu.args, teaserStandard.group_hero.hero.args.logicItem.includeModel)
20
16
  )
21
17
  const NavigationDataWithTeaser4 = structuredClone(
22
- Object.assign({}, NavigationData4, hero_teaser.logicItem.includeModel)
18
+ Object.assign({}, NavigationData.with_top_topics.args, teaserStandard.group_hero.hero.args.logicItem.includeModel)
23
19
  )
24
20
  const NavigationDataWithTeaser5 = structuredClone(
25
- Object.assign({}, NavigationData, data_story)
21
+ Object.assign({}, NavigationData.default.args, data_story)
26
22
  )
27
- const NavigationDataWithBreadcrumb = structuredClone(Object.assign({}, NavigationDataWithTeaser5, data_breadcrumb))
28
- export { NavigationDataWithTeaser, NavigationDataWithTeaser2, NavigationDataWithTeaser3, NavigationDataWithTeaser4,NavigationDataWithBreadcrumb }
23
+ const NavigationDataWithBreadcrumb = structuredClone(Object.assign({}, NavigationDataWithTeaser5, data_breadcrumb['5_levels'].args))
24
+ export { NavigationDataWithTeaser, NavigationDataWithTeaser2, NavigationDataWithTeaser3, NavigationDataWithTeaser4, NavigationDataWithBreadcrumb }
@@ -26,11 +26,11 @@ const Template2 = (args, { globals: { theme } }) => {
26
26
  return page_pagination({ brand, ...args })
27
27
  }
28
28
 
29
- const Template3 = (args, { globals: { theme } }) => {
29
+ const Template3 = (args) => {
30
30
  // You can either use a function to create DOM elements or use a plain html string!
31
31
  // return `<div>${label}</div>`;
32
- let brand = undefined !== theme ? theme : 'hessenschau'
33
- return page_article({ brand, ...args })
32
+ console.log("Artikel ", { ...args })
33
+ return page_article({ ...args })
34
34
  }
35
35
  export default {
36
36
  title: 'Seiten/Index',
@@ -21,7 +21,7 @@
21
21
 
22
22
  {{#unless _webview}}
23
23
  {{#> components/banner/header/breadcrumb_wrapper _hasContentNav=this.structureNav.contentNav _hasBannerImage=this.hasBannerImage}}
24
- {{> components/navigation/breadcrumb/breadcrumb this.breadcrumb _currentPageUrl=this.url _currentPageTitle=this.breadcrumbTitle }}
24
+ {{> components/navigation/breadcrumb/breadcrumb this _currentPageUrl=this.url _currentPageTitle=this.breadcrumbTitle }}
25
25
  {{/components/banner/header/breadcrumb_wrapper }}
26
26
  {{/unless}}
27
27