hr-design-system-handlebars 1.88.2 → 1.89.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 (81) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +383 -274
  3. package/dist/assets/js/components/mediaplayer/ardPlayerLoader.subfeature.js +14 -3
  4. package/dist/views/components/content/copytext/components/accordion/accordion.hbs +14 -1
  5. package/dist/views/components/content/copytext/components/gallery.hbs +1 -1
  6. package/dist/views/components/content/copytext/components/newsletter.hbs +1 -1
  7. package/dist/views/components/content/copytext/components/podcastepisode.hbs +1 -1
  8. package/dist/views/components/content/copytext/components/posterteaser.hbs +1 -1
  9. package/dist/views/components/content/copytext/components/voting.hbs +2 -2
  10. package/dist/views/components/content/copytext/components/webform.hbs +1 -1
  11. package/dist/views/components/social_sharing/social_sharing_copytext.hbs +1 -1
  12. package/dist/views/components/social_sharing/social_sharing_horizontal.hbs +1 -1
  13. package/dist/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
  14. package/dist/views_static/components/content/copytext/components/accordion/accordion.hbs +14 -1
  15. package/dist/views_static/components/content/copytext/components/gallery.hbs +1 -1
  16. package/dist/views_static/components/content/copytext/components/newsletter.hbs +1 -1
  17. package/dist/views_static/components/content/copytext/components/podcastepisode.hbs +1 -1
  18. package/dist/views_static/components/content/copytext/components/posterteaser.hbs +1 -1
  19. package/dist/views_static/components/content/copytext/components/voting.hbs +2 -2
  20. package/dist/views_static/components/content/copytext/components/webform.hbs +1 -1
  21. package/dist/views_static/components/social_sharing/social_sharing_copytext.hbs +1 -1
  22. package/dist/views_static/components/social_sharing/social_sharing_horizontal.hbs +1 -1
  23. package/dist/views_static/components/teaser/cluster/teaser_cluster.hbs +1 -1
  24. package/package.json +1 -1
  25. package/src/assets/fixtures/audio/audios.inc.json +6 -3
  26. package/src/assets/fixtures/video/videos.inc.json +6 -3
  27. package/src/assets/tailwind.css +445 -294
  28. package/src/stories/views/components/content/copytext/components/accordion/accordion.hbs +14 -1
  29. package/src/stories/views/components/content/copytext/components/gallery.hbs +1 -1
  30. package/src/stories/views/components/content/copytext/components/newsletter.hbs +1 -1
  31. package/src/stories/views/components/content/copytext/components/podcastepisode.hbs +1 -1
  32. package/src/stories/views/components/content/copytext/components/posterteaser.hbs +1 -1
  33. package/src/stories/views/components/content/copytext/components/voting.hbs +2 -2
  34. package/src/stories/views/components/content/copytext/components/webform.hbs +1 -1
  35. package/src/stories/views/components/content/copytext/fixtures/copytext_audio.json +1 -1
  36. package/src/stories/views/components/content/copytext/fixtures/copytext_audio_livestream.json +1 -1
  37. package/src/stories/views/components/content/copytext/fixtures/copytext_image.json +1 -1
  38. package/src/stories/views/components/content/copytext/fixtures/copytext_livestream.json +1 -1
  39. package/src/stories/views/components/content/copytext/fixtures/copytext_media_components.json +1 -1
  40. package/src/stories/views/components/content/copytext/fixtures/copytext_non_media_components.json +1 -1
  41. package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -1
  42. package/src/stories/views/components/mediaplayer/ardPlayerLoader.subfeature.js +14 -3
  43. package/src/stories/views/components/mediaplayer/fixtures/mediaplayer.json +1 -1
  44. package/src/stories/views/components/page/fixtures/page.json +1 -1
  45. package/src/stories/views/components/page/story/fixtures/story.json +1 -1
  46. package/src/stories/views/components/page/story/fixtures/story_with_audio.json +1 -1
  47. package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
  48. package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -1
  49. package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
  50. package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -1
  51. package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
  52. package/src/stories/views/components/social_sharing/social_sharing_copytext.hbs +1 -1
  53. package/src/stories/views/components/social_sharing/social_sharing_horizontal.hbs +1 -1
  54. package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
  55. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +1 -1
  56. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +1 -1
  57. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_video.json +1 -1
  58. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +1 -1
  59. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +1 -1
  60. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_video.json +1 -1
  61. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +1 -1
  62. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +1 -1
  63. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_video.json +1 -1
  64. package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
  65. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -1
  66. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -1
  67. package/src/stories/views/components/teaser/fixtures/teaser_group_related_content_100.json +1 -1
  68. package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
  69. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio.json +1 -1
  70. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio_livestream.json +1 -1
  71. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +1 -1
  72. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_video.json +1 -1
  73. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio.json +1 -1
  74. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio_livestream.json +1 -1
  75. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +1 -1
  76. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_video.json +1 -1
  77. package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
  78. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero_audio.json +1 -1
  79. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero_audio.json +1 -1
  80. package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.stories.js +1 -1
  81. package/tailwind.config.js +2 -2
@@ -13,7 +13,9 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
13
13
  settingsCookie = new SettingsCookie(),
14
14
  isPlayerDebug = options.isPlayerDebug || false,
15
15
  playerLocation = trackingData.playerLocation || "Default",
16
- playerSize = trackingData.playerSize || options.teaserSize
16
+ playerSize = trackingData.playerSize || options.teaserSize,
17
+ isDarkmodeAllowed = options.isDarkmodeAllowed,
18
+ darkModePreference = window.matchMedia("(prefers-color-scheme: dark)");
17
19
  let mediaCollection = options.mediaCollection,
18
20
  playerConfig = options.playerConfig,
19
21
  isPlayerStarted = false,
@@ -62,6 +64,9 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
62
64
  }
63
65
  whenAvailable('ardplayer', function () {
64
66
  player = new ardplayer.Player(playerId, playerConfig, mediaCollection)
67
+
68
+ player.setLightMode(isDarkmodeAllowed ? !darkModePreference.matches : true)
69
+
65
70
  if (isPlayerDebug) {
66
71
  ardplayer.debug(true, true, true, true)
67
72
  }
@@ -79,10 +84,12 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
79
84
  }, interval)
80
85
  }
81
86
 
87
+ const handleThemeSwitch = function (event) {
88
+ player.setLightMode(!event.matches)
89
+ }
90
+
82
91
  const bindPlayerEvents = function () {
83
92
  player.$.on(ardplayer.Player.EVENT_PLAY_STREAM, function (event) {
84
- console.log(event.target)
85
- console.debug(`options.teaserSize: ${options.teaserSize}`)
86
93
  const geotag = hr$('.js-geotag', rootElement)[0]
87
94
  if (!isPlayerStarted) {
88
95
  trackPlayerStart()
@@ -114,6 +121,8 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
114
121
  }
115
122
  })
116
123
 
124
+
125
+
117
126
  listen('player_start', function (event) {
118
127
  if (player) {
119
128
  let playerIdFromConfig = parseInt(playerId)
@@ -126,6 +135,8 @@ const ArdPlayerLoader = function (options, trackingData, rootElement) {
126
135
  }
127
136
  }
128
137
  })
138
+
139
+ listen("change", handleThemeSwitch, darkModePreference)
129
140
  }
130
141
 
131
142
  const trackPlayerStart = function () {
@@ -1,7 +1,7 @@
1
1
  {{#if this.title}}
2
2
  <h2 class="clear-both mt-12 mb-5 text-lg font-normal accordion sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
- <div x-cloak x-data="{selected:0}" class="pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
4
+ <div x-cloak x-data="{selected:0}" class="print:hidden pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
6
6
  {{#if this.isHeadline}}
7
7
  {{#unless @first}}</div></div>{{/unless}}
@@ -39,4 +39,17 @@
39
39
  {{#if @last}}</div></div><div class="w-full border-b border-gray-alto"></div>{{/if}}
40
40
  {{/if}}
41
41
  {{/each}}
42
+ </div>
43
+ <div class="hidden print:block border-y border-gray-alto">
44
+ {{#each this.copytextParagraph }}
45
+ {{#if this.isHeadline}}
46
+ <h3 class="self-center my-5 text-lg font-normal font-headingSerif">{{{this.text}}}</h3>
47
+ {{else}}
48
+ {{#if (isStorybook)}}
49
+ {{> components/content/copytext/components/accordion/accordion_item }}
50
+ {{else}}
51
+ {{~> components/content/copytext/copytext_body _isWebview=_isWebview ~}}
52
+ {{/if}}
53
+ {{/if}}
54
+ {{/each}}
42
55
  </div>
@@ -2,6 +2,6 @@
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Gallery-component</div>
3
3
  {{~else~}}
4
4
  {{#with this.toModel.galleryPage}}
5
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_gallery_intro_sr" _a11yOutro-loca="story_gallery_outro_sr" }}
5
+ {{> modules/media/media_figure _addClass="print:hidden copytext__clearBox dontPrint" _a11yIntro-loca="story_gallery_intro_sr" _a11yOutro-loca="story_gallery_outro_sr" }}
6
6
  {{/with}}
7
7
  {{~/if~}}
@@ -1,5 +1,5 @@
1
1
  {{~#if (isStorybook)~}}
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Newsletter-component</div>
3
3
  {{~else~}}
4
- {{> modules/newsletter/newsletter _addClass="copytext__clearBox marginTrailer--m"}}
4
+ {{> modules/newsletter/newsletter _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
5
5
  {{~/if~}}
@@ -1,3 +1,3 @@
1
- <div class="{{#if this.showFullSize.isTrue }}clear-both [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14{{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left sm:mr-5 mt-12 mb-8 sm:mt-6 sm:mb-5{{/if}}">
1
+ <div class="print:hidden {{#if this.showFullSize.isTrue }}clear-both [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14{{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left sm:mr-5 mt-12 mb-8 sm:mt-6 sm:mb-5{{/if}}">
2
2
  {{> components/teaser/podcast/podcast _headlineTag="h3" _isCopytext=true }}
3
3
  </div>
@@ -1,3 +1,3 @@
1
- <div class="article-narrow w-auto [&+h2]:mt-4 xs:article-full-width xs:mx-13 {{#if this.showFullSize.isTrue }}hr-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left mt-12 mb-8 sm:mt-6 sm:mb-5 sm:mr-5 sm:ml-0{{/if}}">
1
+ <div class="print:hidden article-narrow w-auto [&+h2]:mt-4 xs:article-full-width xs:mx-13 {{#if this.showFullSize.isTrue }}hr-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left mt-12 mb-8 sm:mt-6 sm:mb-5 sm:mr-5 sm:ml-0{{/if}}">
2
2
  {{> components/teaser/teaser_poster _isCopytext=true }}
3
3
  </div>
@@ -2,8 +2,8 @@
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Voting-component</div>
3
3
  {{~else~}}
4
4
  {{#if this.isMultiVote}}
5
- {{> modules/teaser/voting-teaser/multiVotingTeaser _addClass="copytext__clearBox"}}
5
+ {{> modules/teaser/voting-teaser/multiVotingTeaser _addClass="print:hidden copytext__clearBox"}}
6
6
  {{else}}
7
- {{> modules/teaser/voting-teaser/singleVotingTeaser _addClass="copytext__clearBox"}}
7
+ {{> modules/teaser/voting-teaser/singleVotingTeaser _addClass="print:hidden copytext__clearBox"}}
8
8
  {{/if}}
9
9
  {{~/if~}}
@@ -1,5 +1,5 @@
1
1
  {{~#if (isStorybook)~}}
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Webform-component</div>
3
3
  {{~else~}}
4
- {{> content/webform/components/webform _addClass="copytext__clearBox marginTrailer--m"}}
4
+ {{> content/webform/components/webform _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
5
5
  {{~/if~}}
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  x-show="$screen('lg') && $store.sharingIsVisible == false && document.querySelector('.copytextWrapper').offsetHeight > 220"
4
4
  x-init=""
5
- class="{{#unless ../_useSticky}}top-0 {{/unless}}sticky w-10 col-start-2 pt-6 z-100 h-fit"
5
+ class="print:hidden {{#unless ../_useSticky}}top-0 {{/unless}}sticky w-10 col-start-2 pt-6 z-100 h-fit"
6
6
  x-data="socialSharingHandler('vertical-desktop')"
7
7
  x-intersect="sharingModuleShown()"
8
8
  ax-load
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  x-data="socialSharingHandler('metadatabox')"
4
4
  x-init="$watch('$store.sharingIsVisible', () => {$store.sharingIsOpen.metadatabox = false; $store.sharingIsOpen.mobilesticky = false})"
5
- class="flex self-center justify-end ml-3 grow"
5
+ class="flex self-center justify-end ml-3 print:hidden grow"
6
6
  x-intersect:leave="$store.sharingIsVisible=false"
7
7
  x-intersect:enter="$store.sharingIsVisible=true"
8
8
  x-on:resize.window="$store.sharingIsOpen.metadatabox = false"
@@ -4,7 +4,7 @@
4
4
  <h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
5
5
  {{#if this.teaserLogo}}
6
6
  <span>
7
- {{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de","tagesschau_de","sportschau"]' '["fill-blue-congress w-10 md:w-12 h-10 md:h-12","fill-blue-midnight w-40 lg:w-52 h-8 md:h-12","fill-blue-deepSeaDream w-40 lg:w-52 h-8 md:h-12"]')}}
7
+ {{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de","tagesschau_de","sportschau"]' '["fill-blue-congress-hex w-10 md:w-12 h-10 md:h-12","fill-blue-midnight w-40 lg:w-52 h-8 md:h-12","fill-blue-deepSeaDream w-40 lg:w-52 h-8 md:h-12"]')}}
8
8
  </span>
9
9
  {{/if}}
10
10
  {{#if this.title}}
@@ -1,7 +1,7 @@
1
1
  {{#if this.title}}
2
2
  <h2 class="clear-both mt-12 mb-5 text-lg font-normal accordion sm480:mt-14 sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.title}}</h2>
3
3
  {{/if}}
4
- <div x-cloak x-data="{selected:0}" class="pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
4
+ <div x-cloak x-data="{selected:0}" class="print:hidden pb-3{{#unless this.title}} clear-both mt-12 sm480:mt-14{{/unless}}">
5
5
  {{#each this.copytextParagraph }}
6
6
  {{#if this.isHeadline}}
7
7
  {{#unless @first}}</div></div>{{/unless}}
@@ -39,4 +39,17 @@
39
39
  {{#if @last}}</div></div><div class="w-full border-b border-gray-alto"></div>{{/if}}
40
40
  {{/if}}
41
41
  {{/each}}
42
+ </div>
43
+ <div class="hidden print:block border-y border-gray-alto">
44
+ {{#each this.copytextParagraph }}
45
+ {{#if this.isHeadline}}
46
+ <h3 class="self-center my-5 text-lg font-normal font-headingSerif">{{{this.text}}}</h3>
47
+ {{else}}
48
+ {{#if (isStorybook)}}
49
+ {{> components/content/copytext/components/accordion/accordion_item }}
50
+ {{else}}
51
+ {{~> components/content/copytext/copytext_body _isWebview=_isWebview ~}}
52
+ {{/if}}
53
+ {{/if}}
54
+ {{/each}}
42
55
  </div>
@@ -2,6 +2,6 @@
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Gallery-component</div>
3
3
  {{~else~}}
4
4
  {{#with this.toModel.galleryPage}}
5
- {{> modules/media/media_figure _addClass="copytext__clearBox dontPrint" _a11yIntro-loca="story_gallery_intro_sr" _a11yOutro-loca="story_gallery_outro_sr" }}
5
+ {{> modules/media/media_figure _addClass="print:hidden copytext__clearBox dontPrint" _a11yIntro-loca="story_gallery_intro_sr" _a11yOutro-loca="story_gallery_outro_sr" }}
6
6
  {{/with}}
7
7
  {{~/if~}}
@@ -1,5 +1,5 @@
1
1
  {{~#if (isStorybook)~}}
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Newsletter-component</div>
3
3
  {{~else~}}
4
- {{> modules/newsletter/newsletter _addClass="copytext__clearBox marginTrailer--m"}}
4
+ {{> modules/newsletter/newsletter _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
5
5
  {{~/if~}}
@@ -1,3 +1,3 @@
1
- <div class="{{#if this.showFullSize.isTrue }}clear-both [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14{{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left sm:mr-5 mt-12 mb-8 sm:mt-6 sm:mb-5{{/if}}">
1
+ <div class="print:hidden {{#if this.showFullSize.isTrue }}clear-both [&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14{{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left sm:mr-5 mt-12 mb-8 sm:mt-6 sm:mb-5{{/if}}">
2
2
  {{> components/teaser/podcast/podcast _headlineTag="h3" _isCopytext=true }}
3
3
  </div>
@@ -1,3 +1,3 @@
1
- <div class="article-narrow w-auto [&+h2]:mt-4 xs:article-full-width xs:mx-13 {{#if this.showFullSize.isTrue }}hr-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left mt-12 mb-8 sm:mt-6 sm:mb-5 sm:mr-5 sm:ml-0{{/if}}">
1
+ <div class="print:hidden article-narrow w-auto [&+h2]:mt-4 xs:article-full-width xs:mx-13 {{#if this.showFullSize.isTrue }}hr-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hr-copytext-teaser-half sm:w-1/2 clear-both sm:float-left mt-12 mb-8 sm:mt-6 sm:mb-5 sm:mr-5 sm:ml-0{{/if}}">
2
2
  {{> components/teaser/teaser_poster _isCopytext=true }}
3
3
  </div>
@@ -2,8 +2,8 @@
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Voting-component</div>
3
3
  {{~else~}}
4
4
  {{#if this.isMultiVote}}
5
- {{> modules/teaser/voting-teaser/multiVotingTeaser _addClass="copytext__clearBox"}}
5
+ {{> modules/teaser/voting-teaser/multiVotingTeaser _addClass="print:hidden copytext__clearBox"}}
6
6
  {{else}}
7
- {{> modules/teaser/voting-teaser/singleVotingTeaser _addClass="copytext__clearBox"}}
7
+ {{> modules/teaser/voting-teaser/singleVotingTeaser _addClass="print:hidden copytext__clearBox"}}
8
8
  {{/if}}
9
9
  {{~/if~}}
@@ -1,5 +1,5 @@
1
1
  {{~#if (isStorybook)~}}
2
2
  <div class="mt-6 italic text-gray-dark">coming soon: Webform-component</div>
3
3
  {{~else~}}
4
- {{> content/webform/components/webform _addClass="copytext__clearBox marginTrailer--m"}}
4
+ {{> content/webform/components/webform _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
5
5
  {{~/if~}}
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  x-show="$screen('lg') && $store.sharingIsVisible == false && document.querySelector('.copytextWrapper').offsetHeight > 220"
4
4
  x-init=""
5
- class="{{#unless ../_useSticky}}top-0 {{/unless}}sticky w-10 col-start-2 pt-6 z-100 h-fit"
5
+ class="print:hidden {{#unless ../_useSticky}}top-0 {{/unless}}sticky w-10 col-start-2 pt-6 z-100 h-fit"
6
6
  x-data="socialSharingHandler('vertical-desktop')"
7
7
  x-intersect="sharingModuleShown()"
8
8
  ax-load
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  x-data="socialSharingHandler('metadatabox')"
4
4
  x-init="$watch('$store.sharingIsVisible', () => {$store.sharingIsOpen.metadatabox = false; $store.sharingIsOpen.mobilesticky = false})"
5
- class="flex self-center justify-end ml-3 grow"
5
+ class="flex self-center justify-end ml-3 print:hidden grow"
6
6
  x-intersect:leave="$store.sharingIsVisible=false"
7
7
  x-intersect:enter="$store.sharingIsVisible=true"
8
8
  x-on:resize.window="$store.sharingIsOpen.metadatabox = false"
@@ -4,7 +4,7 @@
4
4
  <h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
5
5
  {{#if this.teaserLogo}}
6
6
  <span>
7
- {{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de","tagesschau_de","sportschau"]' '["fill-blue-congress w-10 md:w-12 h-10 md:h-12","fill-blue-midnight w-40 lg:w-52 h-8 md:h-12","fill-blue-deepSeaDream w-40 lg:w-52 h-8 md:h-12"]')}}
7
+ {{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de","tagesschau_de","sportschau"]' '["fill-blue-congress-hex w-10 md:w-12 h-10 md:h-12","fill-blue-midnight w-40 lg:w-52 h-8 md:h-12","fill-blue-deepSeaDream w-40 lg:w-52 h-8 md:h-12"]')}}
8
8
  </span>
9
9
  {{/if}}
10
10
  {{#if this.title}}
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.88.2",
9
+ "version": "1.89.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -60,7 +60,8 @@
60
60
  "jsUrl": "./vendor/ardplayer/ardplayer-hr-6.8.3.82603554.js",
61
61
  "isAutoplay": true,
62
62
  "teaserSize": "100",
63
- "realTeaserSize": "100"
63
+ "realTeaserSize": "100",
64
+ "isDarkmodeAllowed": true
64
65
  },
65
66
  "audio-2": {
66
67
  "playerConfig": {
@@ -118,7 +119,8 @@
118
119
  "jsUrl": "./vendor/ardplayer/ardplayer-hr-6.8.3.82603554.js",
119
120
  "isAutoplay": true,
120
121
  "teaserSize": "100",
121
- "realTeaserSize": "100"
122
+ "realTeaserSize": "100",
123
+ "isDarkmodeAllowed": true
122
124
  },
123
125
  "audio-podcast": {
124
126
  "playerConfig": {
@@ -265,6 +267,7 @@
265
267
  "jsUrl": "./vendor/ardplayer/ardplayer-hr-6.8.3.82603554.js",
266
268
  "isAutoplay": true,
267
269
  "teaserSize": "50",
268
- "realTeaserSize": "50"
270
+ "realTeaserSize": "50",
271
+ "isDarkmodeAllowed": true
269
272
  }
270
273
  }
@@ -74,7 +74,8 @@
74
74
  "isAutoplay": true,
75
75
  "isPlayerDebug": false,
76
76
  "teaserSize": "100",
77
- "realTeaserSize": "100"
77
+ "realTeaserSize": "100",
78
+ "isDarkmodeAllowed": true
78
79
  },
79
80
  "video-2": {
80
81
  "playerConfig": {
@@ -151,7 +152,8 @@
151
152
  "isAutoplay": true,
152
153
  "isPlayerDebug": true,
153
154
  "teaserSize": "100",
154
- "realTeaserSize": "100"
155
+ "realTeaserSize": "100",
156
+ "isDarkmodeAllowed": true
155
157
  },
156
158
  "video-livestream-hr-fernsehen": {
157
159
  "playerConfig": {
@@ -218,6 +220,7 @@
218
220
  "jsUrl": "./vendor/ardplayer/ardplayer-hr-6.8.3.82603554.js",
219
221
  "teaserSize": "100",
220
222
  "realTeaserSize": "100",
221
- "isAutoplay": true
223
+ "isAutoplay": true,
224
+ "isDarkmodeAllowed": true
222
225
  }
223
226
  }