hr-design-system-handlebars 1.87.2 → 1.88.1

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 (75) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +2 -1
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +2 -1
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +2 -1
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -1
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -1
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -1
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -1
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +2 -1
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +2 -1
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +2 -1
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +2 -1
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +2 -1
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +2 -1
  15. package/dist/assets/index.css +14 -6
  16. package/dist/assets/js/components/event/filtererDs.feature.js +36 -4
  17. package/dist/assets/js/components/mediaplayer/ardPlayerLoader.subfeature.js +43 -5
  18. package/dist/assets/js/components/mediaplayer/mediaplayerLoader.feature.js +3 -3
  19. package/dist/views/components/content/copytext/components/audio.hbs +2 -2
  20. package/dist/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  21. package/dist/views/components/content/copytext/components/media/media_figure.hbs +10 -6
  22. package/dist/views/components/content/copytext/components/video/video.hbs +2 -2
  23. package/dist/views/components/content/copytext/components/videolivestream.hbs +2 -2
  24. package/dist/views/components/content/copytext/copytext.hbs +1 -1
  25. package/dist/views/components/event/calendar/event_calendar_nav.hbs +2 -2
  26. package/dist/views/components/mediaplayer/media_player.hbs +1 -1
  27. package/dist/views/components/mediaplayer/mediaplayer_button.hbs +1 -1
  28. package/dist/views/components/page/story/story_article.hbs +2 -2
  29. package/dist/views/components/podcast/components/podcast_player_ui.hbs +1 -1
  30. package/dist/views/components/teaser/components/teaser_av_consumption.hbs +5 -5
  31. package/dist/views/components/teaser/components/teaser_media_player.hbs +1 -1
  32. package/dist/views_static/components/content/copytext/components/audio.hbs +2 -2
  33. package/dist/views_static/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  34. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +10 -6
  35. package/dist/views_static/components/content/copytext/components/video/video.hbs +2 -2
  36. package/dist/views_static/components/content/copytext/components/videolivestream.hbs +2 -2
  37. package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
  38. package/dist/views_static/components/event/calendar/event_calendar_nav.hbs +2 -2
  39. package/dist/views_static/components/mediaplayer/media_player.hbs +1 -1
  40. package/dist/views_static/components/mediaplayer/mediaplayer_button.hbs +1 -1
  41. package/dist/views_static/components/page/story/story_article.hbs +2 -2
  42. package/dist/views_static/components/podcast/components/podcast_player_ui.hbs +1 -1
  43. package/dist/views_static/components/teaser/components/teaser_av_consumption.hbs +5 -5
  44. package/dist/views_static/components/teaser/components/teaser_media_player.hbs +1 -1
  45. package/package.json +1 -1
  46. package/src/assets/brand/_default/conf/locatags.json +2 -1
  47. package/src/assets/brand/hessenschau/conf/locatags.merged.json +2 -1
  48. package/src/assets/brand/hr/conf/locatags.merged.json +2 -1
  49. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +2 -1
  50. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +2 -1
  51. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +2 -1
  52. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +2 -1
  53. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +2 -1
  54. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +2 -1
  55. package/src/assets/brand/hr1/conf/locatags.merged.json +2 -1
  56. package/src/assets/brand/hr2/conf/locatags.merged.json +2 -1
  57. package/src/assets/brand/hr3/conf/locatags.merged.json +2 -1
  58. package/src/assets/brand/hr4/conf/locatags.merged.json +2 -1
  59. package/src/assets/brand/you-fm/conf/locatags.merged.json +2 -1
  60. package/src/stories/views/components/content/copytext/components/audio.hbs +2 -2
  61. package/src/stories/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  62. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +10 -6
  63. package/src/stories/views/components/content/copytext/components/video/video.hbs +2 -2
  64. package/src/stories/views/components/content/copytext/components/videolivestream.hbs +2 -2
  65. package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
  66. package/src/stories/views/components/event/calendar/event_calendar_nav.hbs +2 -2
  67. package/src/stories/views/components/event/filtererDs.feature.js +36 -4
  68. package/src/stories/views/components/mediaplayer/ardPlayerLoader.subfeature.js +43 -5
  69. package/src/stories/views/components/mediaplayer/media_player.hbs +1 -1
  70. package/src/stories/views/components/mediaplayer/mediaplayerLoader.feature.js +3 -3
  71. package/src/stories/views/components/mediaplayer/mediaplayer_button.hbs +1 -1
  72. package/src/stories/views/components/page/story/story_article.hbs +2 -2
  73. package/src/stories/views/components/podcast/components/podcast_player_ui.hbs +1 -1
  74. package/src/stories/views/components/teaser/components/teaser_av_consumption.hbs +5 -5
  75. package/src/stories/views/components/teaser/components/teaser_media_player.hbs +1 -1
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -21,18 +21,22 @@
21
21
  </div>
22
22
  {{/unless}}
23
23
  {{#if this.isAudioOnDemand}}
24
- {{~> components/mediaplayer/media_player this.toModel.audioElement _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
24
+ {{~> components/mediaplayer/media_player this.toModel.audioElement _playerLocation=_playerLocation _playerSize=_playerSize _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
25
25
  {{/if}}
26
26
  {{#if this.isAudioEventLivestream}}
27
- {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
27
+ {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _playerLocation=_playerLocation _playerSize=_playerSize _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
28
28
  {{/if}}
29
29
  {{#if this.isVideoOnDemand}}
30
- {{~> components/mediaplayer/media_player this.toModel.videoElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
31
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=_isLead }}
30
+ {{#with this.toModel.videoElement}}
31
+ {{~> components/mediaplayer/media_player this _playerLocation=../_playerLocation _playerSize=../_playerSize _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../_addClassImg ~}}
32
+ {{~> components/teaser/components/teaser_media_player ../this _playerId=this.ardPlayerConfig.playerId _css="flex items-center justify-center" _isLead=../_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=../_isLead }}
33
+ {{/with}}
32
34
  {{/if}}
33
35
  {{#if this.isLivestream}}
34
- {{~> components/mediaplayer/media_player this.toModel.videoLivestreamElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
35
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLivestream=true _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=_isLead }}
36
+ {{#with this.toModel.videoLivestreamElement}}
37
+ {{~> components/mediaplayer/media_player this _playerLocation=../_playerLocation _playerSize=../_playerSize _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../_addClassImg ~}}
38
+ {{~> components/teaser/components/teaser_media_player ../this _playerId=this.ardPlayerConfig.playerId _css="flex items-center justify-center" _isLivestream=true _isLead=../_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=../_isLead }}
39
+ {{/with}}
36
40
  {{/if}}
37
41
  {{#unless _voting-option}}
38
42
  {{#if this.teaseritem}}
@@ -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 mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -1,6 +1,6 @@
1
1
  <div class="mt-2 contents sm:block copytextWrapper">
2
2
  {{~#with this.leadAudio }}
3
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden article-full-width mt-12 mb-6 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden article-full-width mt-12 mb-6 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
4
  {{~/with}}
5
5
  {{#each this.copytextParagraph }}
6
6
  {{~> components/content/copytext/copytext_body _isWebview=../_isWebview ~}}
@@ -9,9 +9,9 @@
9
9
  <div class="flex mb-0 overflow-x-auto overflow-y-hidden whitespace-nowrap scroll-smooth js-ns-scroll -horizontal">
10
10
  {{#each this}}
11
11
  <div class="inline-block items-center justify-center border-event-calendar-secondary border-l js-ns-month {{#if
12
- this.isCurrentMonth}} -currentMonth{{/if}}{{#if
13
12
  this.hasFutureEventsFromNow}} -selected{{else}} js-fr-reload-trigger{{/if}}">
14
- <span class="block font-heading font-bold w-24 sticky left-0 px-2 py-3">{{this.date.monthNameShort}} {{this.date.yearShort}}</span>
13
+ <span class="js-monthName block font-heading font-bold w-16 sticky left-0 px-2 py-3 {{#if
14
+ this.isCurrentMonth}} -currentMonth{{else}}text-slate-500{{/if}}">{{this.date.monthNameShort}} {{this.date.yearShort}}</span>
15
15
  <ul class="flex">
16
16
  {{#each this.days}}
17
17
  <li class="inline-block h-full group cursor-pointer js-ns-item{{#if
@@ -1,2 +1,2 @@
1
- <div{{#if _isUsedInTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="{{#if _isAudioView}}ar-4-1 !h-auto{{else}}ar-16-9 h-full{{/if}}{{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
1
+ <div{{#if _isUsedInTeaser}} x-show="avStart" x-cloak{{/if}} id="{{this.ardPlayerConfig.playerId}}" class="{{#if _isAudioView}}ar-4-1 !h-auto{{else}}ar-16-9 h-full{{/if}}{{~#if _addClassImg}} {{_addClassImg}}{{/if}} {{#if _isUsedInTeaser}} z-20{{/if}} js-load {{if _uiTestHook _uiTestHook 'ui-test-mediaplayer'}}" data-mediaplayer-tracking='{"playerLocation": "{{_playerLocation}}","playerSize": "{{if _playerSize _playerSize ""}}" }' data-hr-mediaplayer-loader='{{json this.ardPlayerJsonConfig}}'>
2
2
  </div>
@@ -1,5 +1,5 @@
1
1
  {{#with this}}
2
- {{#> components/button/button _variant="icon-button" _type="button" _css=_css _alpineClick="avStart = !avStart; $dispatch('player_start')"}}
2
+ {{#> components/button/button _variant="icon-button" _type="button" _css=_css _alpineClick=(loca "mediaplayer_play_button_alpine_click" _playerId)}}
3
3
  {{#with this}}
4
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
5
  {{#*inline "css"}} {{~#if _isLead~}} md:w-18 md:h-18 w-10 h-10 {{else}} w-10 h-10 {{/if}} {{/inline}}
@@ -20,10 +20,10 @@
20
20
  _noDelay=true}}
21
21
  {{/if}}
22
22
  {{#if this.isVideoOnDemand}}
23
- {{> 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
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Aufmacher" _isLead=true _playerSize="100" _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" }}
24
24
  {{/if}}
25
25
  {{#if this.isLivestream}}
26
- {{> 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_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
26
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Aufmacher" _isLead=true _playerSize="100" _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_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
27
27
  {{/if}}
28
28
  {{/with}}
29
29
  {{/unless}}
@@ -7,7 +7,7 @@
7
7
  {{> components/podcast/components/podcast_playbutton
8
8
  _css="mr-4"
9
9
  _id = _id
10
- _alpineClick=(loca "play_button_alpine_click" _id) }}
10
+ _alpineClick=(loca "podcastplayer_play_button_alpine_click" _id) }}
11
11
  </div>
12
12
 
13
13
  <div class="flex flex-wrap items-start w-full -mt-0.5">
@@ -1,7 +1,7 @@
1
1
  {{#with this.teaserLead.avDocument}}
2
2
  {{~#if this.isVideoOnDemand ~}}
3
3
  {{#with this.toModel.videoElement}}
4
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
4
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
5
5
  {{#with ../../this}}
6
6
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio=_aspectRatio _addClassImg=_addClassImg _noDelay=this.dontLazyload}}
7
7
  {{/with}}
@@ -12,7 +12,7 @@
12
12
  {{~/if~}}
13
13
  {{~#if this.isAudioOnDemand ~}}
14
14
  {{#with this.toModel.audioElementForVideoView}}
15
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
15
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
16
16
  {{#with ../../this}}
17
17
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Audio" _aspectRatio=_aspectRatio _addClassImg=_addClassImg _noDelay=this.dontLazyload}}
18
18
  {{/with}}
@@ -23,7 +23,7 @@
23
23
  {{~/if~}}
24
24
  {{~#if this.isPodcast ~}}
25
25
  {{#with this.toModel.audioElementForVideoView}}
26
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
26
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-audio-ondemand-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
27
27
  {{#with ../../this}}
28
28
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="audio_button" _mediaButtonLabel="Podcast" _aspectRatio=_aspectRatio _addClassImg=_addClassImg _noDelay=this.dontLazyload}}
29
29
  {{/with}}
@@ -34,7 +34,7 @@
34
34
  {{~/if~}}
35
35
  {{~#if this.isAudioEventLivestream ~}}
36
36
  {{#with this.toModel.audioLivestreamElementForVideoView}}
37
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-audio-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
37
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-audio-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
38
38
  {{#with ../../this}}
39
39
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=_aspectRatio _addClassImg=_addClassImg _noDelay=this.dontLazyload}}
40
40
  {{/with}}
@@ -45,7 +45,7 @@
45
45
  {{~/if~}}
46
46
  {{~#if this.isLivestream ~}}
47
47
  {{#with this.toModel.videoLivestreamElement}}
48
- {{~> components/mediaplayer/media_player _uiTestHook="ui-test-video-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
48
+ {{~> components/mediaplayer/media_player _playerLocation="Teaser" _uiTestHook="ui-test-video-livestream-player" _isUsedInTeaser=true _addClassImg=../../_addClassImg~}}
49
49
  {{#with ../../this}}
50
50
  {{~> components/teaser/components/teaser_media_player _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _isLivestream=true _aspectRatio=_aspectRatio _addClassImg=_addClassImg _noDelay=this.dontLazyload}}
51
51
  {{/with}}
@@ -14,6 +14,6 @@
14
14
 
15
15
 
16
16
  {{#with this}}
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}}
17
+ {{> components/mediaplayer/mediaplayer_button _css=(if _isUsedInCopytext "" "bottom-0 right-0") _playerId=_playerId _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.87.2",
9
+ "version": "1.88.1",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -12,7 +12,8 @@
12
12
  "banner_image_copyright": "Banner Bild ©",
13
13
  "broadcast": "Sendung",
14
14
  "close_button_alpine_click": "avStart = false; $dispatch('player_closed',{playerId: {0}})",
15
- "play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
15
+ "podcastplayer_play_button_alpine_click": "playAndStop({0});/* $dispatch('stopotherplayers',{playerId: {0}}) */",
16
+ "mediaplayer_play_button_alpine_click": "avStart = !avStart; $dispatch('player_start',{playerId: {0}})",
16
17
  "comment_anchor_1": "zu den ",
17
18
  "comment_anchor_2": " Kommentaren des Artikels springen",
18
19
  "comment_label_text": "Kommentar",
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width mt-12 mb-8 sm:my-7 sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -21,18 +21,22 @@
21
21
  </div>
22
22
  {{/unless}}
23
23
  {{#if this.isAudioOnDemand}}
24
- {{~> components/mediaplayer/media_player this.toModel.audioElement _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
24
+ {{~> components/mediaplayer/media_player this.toModel.audioElement _playerLocation=_playerLocation _playerSize=_playerSize _uiTestHook="ui-test-audio-ondemand-player" _isAudioView=true _addClassImg=_addClassImg ~}}
25
25
  {{/if}}
26
26
  {{#if this.isAudioEventLivestream}}
27
- {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
27
+ {{~> components/mediaplayer/media_player this.toModel.audioLivestreamElement _playerLocation=_playerLocation _playerSize=_playerSize _uiTestHook="ui-test-audio-livestream-player" _isAudioView=true _addClassImg=_addClassImg ~}}
28
28
  {{/if}}
29
29
  {{#if this.isVideoOnDemand}}
30
- {{~> components/mediaplayer/media_player this.toModel.videoElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
31
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=_isLead }}
30
+ {{#with this.toModel.videoElement}}
31
+ {{~> components/mediaplayer/media_player this _playerLocation=../_playerLocation _playerSize=../_playerSize _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../_addClassImg ~}}
32
+ {{~> components/teaser/components/teaser_media_player ../this _playerId=this.ardPlayerConfig.playerId _css="flex items-center justify-center" _isLead=../_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Video" _aspectRatio="ar-16-9" _noDelay=../_isLead }}
33
+ {{/with}}
32
34
  {{/if}}
33
35
  {{#if this.isLivestream}}
34
- {{~> components/mediaplayer/media_player this.toModel.videoLivestreamElement _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=_addClassImg ~}}
35
- {{~> components/teaser/components/teaser_media_player this _css="flex items-center justify-center" _isLivestream=true _isLead=_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=_isLead }}
36
+ {{#with this.toModel.videoLivestreamElement}}
37
+ {{~> components/mediaplayer/media_player this _playerLocation=../_playerLocation _playerSize=../_playerSize _uiTestHook="ui-test-video-ondemand-player" _isUsedInTeaser=true _addClassImg=../_addClassImg ~}}
38
+ {{~> components/teaser/components/teaser_media_player ../this _playerId=this.ardPlayerConfig.playerId _css="flex items-center justify-center" _isLivestream=true _isLead=../_isLead _isUsedInCopytext=true _mediaButtonIcon="play_button" _mediaButtonLabel="Live" _aspectRatio="ar-16-9" _noDelay=../_isLead }}
39
+ {{/with}}
36
40
  {{/if}}
37
41
  {{#unless _voting-option}}
38
42
  {{#if this.teaseritem}}
@@ -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 mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_intro_sr" _a11yOutro-loca="story_video_outro_sr" }}
5
5
  {{/if}}
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _fullSize=true _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
2
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
3
3
  {{else}}
4
- {{> components/content/copytext/components/media/media_figure _fullSize=false _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
4
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="50" _addClass="hr-copytext-teaser-half print:hidden article-full-width sm:article-narrow mt-12 mb-8 sm:my-7 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid page-break-inside-avoid" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -1,6 +1,6 @@
1
1
  <div class="mt-2 contents sm:block copytextWrapper">
2
2
  {{~#with this.leadAudio }}
3
- {{> components/content/copytext/components/media/media_figure _addClass="print:hidden article-full-width mt-12 mb-6 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
3
+ {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden article-full-width mt-12 mb-6 sm:article-narrow sm:my-14" _cssClassCaption="mx-5 sm:mx-0" _a11yIntro-loca="story_audio_intro_sr" _a11yOutro-loca="story_audio_outro_sr" }}
4
4
  {{~/with}}
5
5
  {{#each this.copytextParagraph }}
6
6
  {{~> components/content/copytext/copytext_body _isWebview=../_isWebview ~}}
@@ -9,9 +9,9 @@
9
9
  <div class="flex mb-0 overflow-x-auto overflow-y-hidden whitespace-nowrap scroll-smooth js-ns-scroll -horizontal">
10
10
  {{#each this}}
11
11
  <div class="inline-block items-center justify-center border-event-calendar-secondary border-l js-ns-month {{#if
12
- this.isCurrentMonth}} -currentMonth{{/if}}{{#if
13
12
  this.hasFutureEventsFromNow}} -selected{{else}} js-fr-reload-trigger{{/if}}">
14
- <span class="block font-heading font-bold w-24 sticky left-0 px-2 py-3">{{this.date.monthNameShort}} {{this.date.yearShort}}</span>
13
+ <span class="js-monthName block font-heading font-bold w-16 sticky left-0 px-2 py-3 {{#if
14
+ this.isCurrentMonth}} -currentMonth{{else}}text-slate-500{{/if}}">{{this.date.monthNameShort}} {{this.date.yearShort}}</span>
15
15
  <ul class="flex">
16
16
  {{#each this.days}}
17
17
  <li class="inline-block h-full group cursor-pointer js-ns-item{{#if
@@ -1,3 +1,4 @@
1
+ import { color } from '@storybook/theming'
1
2
  import { pi, uxAction } from 'base/tracking/pianoHelper.subfeature'
2
3
  import { hr$, isString, listen, reinitializeFeature, simulateClickOn } from 'hrQuery'
3
4
  import $ from 'zepto-modules'
@@ -22,9 +23,14 @@ const Filterer = (context) => {
22
23
  errorTargetDomNodes = hr$(`.${errorTargetClass}`, rootElement),
23
24
  errorDomNodes = hr$(`.${errorClass}`),
24
25
  contentTargetDomNode = hr$(contentTargetClass, rootElement)[0]
25
- let targetDomNodes = hr$(`.${targetClass}`, rootElement)
26
+ let targetDomNodes = hr$(`.${targetClass}`, rootElement),
27
+ currentMonth = document.getElementsByClassName('-currentMonth')[0];
28
+
29
+ const init = function () {
30
+ currentMonth.classList.add('text-white');
31
+ currentMonth.classList.add('bg-black');
32
+
26
33
 
27
- const init = function () {
28
34
  for (let i = 0; i < triggerDomNodes.length; i++) {
29
35
  triggerDomNodes[i].addEventListener('click', doSetSelectedFilter.bind(this))
30
36
  triggerDomNodes[i].addEventListener('touch', doSetSelectedFilter.bind(this))
@@ -68,9 +74,22 @@ const Filterer = (context) => {
68
74
 
69
75
  const doSetSelectedFilter = function (e, forceReset) {
70
76
  clearSelected()
71
-
77
+
78
+
79
+ let monthWrapper = e.currentTarget.closest('.js-ns-month');
80
+ let monthName = monthWrapper.querySelector('.js-monthName');
81
+
72
82
  if (!forceReset) {
73
- e.currentTarget.classList.add(navItemSelectedCssTrigger)
83
+ e.currentTarget.classList.add(navItemSelectedCssTrigger)
84
+ if (monthWrapper) {
85
+
86
+ if (monthName) {
87
+ monthName.classList.remove('text-slate-500')
88
+ monthName.classList.remove('bg-white')
89
+ monthName.classList.add('text-white');
90
+ monthName.classList.add('bg-black');
91
+ }
92
+ }
74
93
  }
75
94
 
76
95
  //hacky weil e beim start auch kein Event sein kann
@@ -82,7 +101,20 @@ const Filterer = (context) => {
82
101
  const clearSelected = function () {
83
102
  let triggerDomNodes = hr$(`.${triggerClass}.${navItemSelectedCssTrigger}`, rootElement)
84
103
 
104
+ // hacky die würde bald verändert
105
+ currentMonth.classList.remove('text-white');
106
+ currentMonth.classList.remove('bg-black');
107
+ currentMonth.classList.add('text-slate-500');
108
+ currentMonth.classList.add('bg-white');
109
+
110
+
85
111
  triggerDomNodes.forEach(function (triggerDomNode) {
112
+
113
+ // hacky die würde bald verändert
114
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.remove('text-white');
115
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.remove('bg-black');
116
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.add('text-slate-500');
117
+ triggerDomNode.closest('.js-ns-month').firstElementChild.classList.add('bg-white');
86
118
  triggerDomNode.classList.remove(navItemSelectedCssTrigger)
87
119
  })
88
120
  }