hr-design-system-handlebars 1.114.41 → 1.114.43

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 (51) hide show
  1. package/.storybook/preview.js +4 -1
  2. package/CHANGELOG.md +24 -0
  3. package/dist/assets/index.css +15 -3
  4. package/dist/assets/js/components/newsletter/js/newNewsletterDs.feature.js +88 -0
  5. package/dist/assets/js/components/newsletter/js/newsletterDs.feature.js +22 -0
  6. package/dist/views/components/content/copytext/components/audio.hbs +2 -2
  7. package/dist/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  8. package/dist/views/components/content/copytext/components/image/image.hbs +4 -4
  9. package/dist/views/components/content/copytext/components/media/media_figure.hbs +2 -2
  10. package/dist/views/components/content/copytext/components/posterteaser.hbs +1 -1
  11. package/dist/views/components/content/copytext/components/video/video.hbs +2 -2
  12. package/dist/views/components/content/copytext/components/videolivestream.hbs +2 -2
  13. package/dist/views/components/content/copytext/copytext.hbs +2 -2
  14. package/dist/views/components/content/copytext/copytext_body.hbs +12 -12
  15. package/dist/views/components/newsletter/components/new_newsletter_form.hbs +11 -14
  16. package/dist/views/components/newsletter/components/newsletter_form.hbs +60 -0
  17. package/dist/views/components/newsletter/newsletter.hbs +13 -13
  18. package/dist/views/components/podcast/podcast_player.hbs +1 -1
  19. package/dist/views_static/components/content/copytext/components/audio.hbs +2 -2
  20. package/dist/views_static/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  21. package/dist/views_static/components/content/copytext/components/image/image.hbs +4 -4
  22. package/dist/views_static/components/content/copytext/components/media/media_figure.hbs +2 -2
  23. package/dist/views_static/components/content/copytext/components/posterteaser.hbs +1 -1
  24. package/dist/views_static/components/content/copytext/components/video/video.hbs +2 -2
  25. package/dist/views_static/components/content/copytext/components/videolivestream.hbs +2 -2
  26. package/dist/views_static/components/content/copytext/copytext.hbs +2 -2
  27. package/dist/views_static/components/content/copytext/copytext_body.hbs +12 -12
  28. package/dist/views_static/components/newsletter/components/new_newsletter_form.hbs +11 -14
  29. package/dist/views_static/components/newsletter/components/newsletter_form.hbs +60 -0
  30. package/dist/views_static/components/newsletter/newsletter.hbs +13 -13
  31. package/dist/views_static/components/podcast/podcast_player.hbs +1 -1
  32. package/package.json +1 -1
  33. package/src/assets/brand/_default/conf/locatags.json +14 -1
  34. package/src/stories/views/components/content/copytext/components/audio.hbs +2 -2
  35. package/src/stories/views/components/content/copytext/components/audioeventlivestream.hbs +2 -2
  36. package/src/stories/views/components/content/copytext/components/image/image.hbs +4 -4
  37. package/src/stories/views/components/content/copytext/components/media/media_figure.hbs +2 -2
  38. package/src/stories/views/components/content/copytext/components/posterteaser.hbs +1 -1
  39. package/src/stories/views/components/content/copytext/components/video/video.hbs +2 -2
  40. package/src/stories/views/components/content/copytext/components/videolivestream.hbs +2 -2
  41. package/src/stories/views/components/content/copytext/copytext.hbs +2 -2
  42. package/src/stories/views/components/content/copytext/copytext_body.hbs +12 -12
  43. package/src/stories/views/components/content/copytext/copytext_ticker.stories.js +405 -0
  44. package/src/stories/views/components/newsletter/components/new_newsletter_form.hbs +11 -14
  45. package/src/stories/views/components/newsletter/components/newsletter_form.hbs +60 -0
  46. package/src/stories/views/components/newsletter/fixtures/newsletter.json +10 -43
  47. package/src/stories/views/components/newsletter/js/newNewsletterDs.feature.js +88 -0
  48. package/src/stories/views/components/newsletter/js/newsletterDs.feature.js +22 -0
  49. package/src/stories/views/components/newsletter/newsletter.hbs +13 -13
  50. package/src/stories/views/components/podcast/podcast_player.hbs +1 -1
  51. package/src/stories/views/components/newsletter/components/newsletter_form.hbs.DEPRECATED +0 -106
@@ -219,8 +219,11 @@ export const parameters = {
219
219
  'Page',
220
220
  'Header',
221
221
  'Teaser',
222
- 'grid',
222
+ 'Grid',
223
223
  'Label',
224
+ 'Navigation',
225
+ 'Content',
226
+ ['Copytext', 'Content-Footer', 'SocialMediaLinks']
224
227
  ],
225
228
  '*',
226
229
  ],
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.114.43 (Fri Dec 13 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 3415 b [#1192](https://github.com/mumprod/hr-design-system-handlebars/pull/1192) ([@Paul-Atreidis](https://github.com/Paul-Atreidis))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@Paul-Atreidis](https://github.com/Paul-Atreidis)
10
+
11
+ ---
12
+
13
+ # v1.114.42 (Wed Dec 11 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - DPE-3467 - Neuen Copytext im Tickeritem einbauen [#1191](https://github.com/mumprod/hr-design-system-handlebars/pull/1191) ([@vascoeduardo](https://github.com/vascoeduardo))
18
+
19
+ #### Authors: 1
20
+
21
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
22
+
23
+ ---
24
+
1
25
  # v1.114.41 (Wed Dec 11 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -1794,6 +1794,9 @@ article #commentList {
1794
1794
  .w-16 {
1795
1795
  width: 4rem;
1796
1796
  }
1797
+ .w-18 {
1798
+ width: 4.5rem;
1799
+ }
1797
1800
  .w-2 {
1798
1801
  width: 0.5rem;
1799
1802
  }
@@ -3710,7 +3713,7 @@ article #commentList {
3710
3713
  border-bottom-color: var(--color-secondary-ds);
3711
3714
  }
3712
3715
  .counter-reset {
3713
- counter-reset: cnt1733923883856;
3716
+ counter-reset: cnt1734092280521;
3714
3717
  }
3715
3718
  html { scroll-behavior: smooth; }
3716
3719
  .placeholder-text-xs::-webkit-input-placeholder {
@@ -4125,7 +4128,7 @@ html { scroll-behavior: smooth; }
4125
4128
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4126
4129
  }
4127
4130
  .-ordered {
4128
- counter-increment: cnt1733923883856 1;
4131
+ counter-increment: cnt1734092280521 1;
4129
4132
  }
4130
4133
  .-ordered::before {
4131
4134
  position: absolute;
@@ -4143,7 +4146,7 @@ html { scroll-behavior: smooth; }
4143
4146
  --tw-text-opacity: 1;
4144
4147
  color: rgba(0, 0, 0, 1);
4145
4148
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4146
- content: counter(cnt1733923883856);
4149
+ content: counter(cnt1734092280521);
4147
4150
  }
4148
4151
  /*! ****************************/
4149
4152
  /*! DataPolicy stuff */
@@ -6528,6 +6531,11 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
6528
6531
  }
6529
6532
  @media (min-width: 360px) {
6530
6533
 
6534
+ .xs\:mx-10 {
6535
+ margin-left: 2.5rem;
6536
+ margin-right: 2.5rem;
6537
+ }
6538
+
6531
6539
  .xs\:mx-13 {
6532
6540
  margin-left: 3.25rem;
6533
6541
  margin-right: 3.25rem;
@@ -6544,6 +6552,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
6544
6552
  -webkit-box-orient: vertical;
6545
6553
  -webkit-line-clamp: 5;
6546
6554
  }
6555
+
6556
+ .xs\:w-22 {
6557
+ width: 5.5rem;
6558
+ }
6547
6559
  .xs\:article-full-width {
6548
6560
  grid-column: full-width;
6549
6561
  }
@@ -0,0 +1,88 @@
1
+ import { hr$, listen, replaceAnimated } from 'hrQuery'
2
+ import { uxAction } from 'base/tracking/pianoHelper.subfeature'
3
+
4
+ const Newsletter = function (context) {
5
+ 'use strict'
6
+ const { element: rootElement } = context,
7
+ actionUrl = rootElement && rootElement.getAttribute('action'),
8
+ formWrapper = rootElement.parentNode,
9
+ options = context.options,
10
+ trackingInformations = options.trackingInformations
11
+
12
+ async function postData() {
13
+ const formData = new FormData(rootElement)
14
+ // use timestamp in seconds because the newsletter tool cannot handle milliseconds
15
+ formData.set('confirm-data-protection', Math.ceil(Date.now() / 1000))
16
+
17
+ const response = await fetch(actionUrl, {
18
+ method: 'POST',
19
+ body: formData,
20
+ })
21
+ return response
22
+ }
23
+
24
+ const handleSubmit = function (event) {
25
+ uxAction(trackingInformations)
26
+ event.preventDefault()
27
+ postData()
28
+ .then((response) => {
29
+ if (!response.ok) {
30
+ throw new Error('Netzwerk- oder Serverfehler')
31
+ }
32
+ return response.json()
33
+ })
34
+ .then((responseStatus) => {
35
+ switch (responseStatus.status) {
36
+ case 'success':
37
+ replaceAnimated(
38
+ formWrapper,
39
+ hr$('.js-successMessage', rootElement)[0].innerHTML,
40
+ true,
41
+ () => {
42
+ listen('click', handleFormReload, hr$('.js-formReload')[0])
43
+ },
44
+ )
45
+ break
46
+ case 'no_valid_newsletters':
47
+ replaceAnimated(
48
+ formWrapper,
49
+ hr$('.js-alreadyRegisteredMessage', rootElement)[0].innerHTML,
50
+ true,
51
+ () => {
52
+ listen('click', handleFormReload, hr$('.js-formReload')[0])
53
+ },
54
+ )
55
+ break
56
+ default:
57
+ replaceAnimated(
58
+ formWrapper,
59
+ hr$('.js-errorMessage', rootElement)[0].innerHTML,
60
+ true,
61
+ () => {
62
+ listen('click', handleFormReload, hr$('.js-formReload')[0])
63
+ },
64
+ )
65
+ }
66
+ })
67
+ .catch((error) => {
68
+ console.error('Beim Ausführen des Fetch ist ein Fehler aufgetreten.', error)
69
+ replaceAnimated(
70
+ formWrapper,
71
+ hr$('.js-errorMessage', rootElement)[0].innerHTML,
72
+ true,
73
+ () => {
74
+ listen('click', handleFormReload, hr$('.js-formReload')[0])
75
+ },
76
+ )
77
+ })
78
+ }
79
+
80
+ const handleFormReload = function (event) {
81
+ event.preventDefault()
82
+ replaceAnimated(formWrapper, rootElement.outerHTML, true)
83
+ }
84
+
85
+ listen('submit', handleSubmit, rootElement)
86
+ }
87
+
88
+ export default Newsletter
@@ -0,0 +1,22 @@
1
+ import { hr$ } from 'hrQuery'
2
+
3
+ const Newsletter = function (context) {
4
+ 'use strict'
5
+
6
+ const { element: rootElement } = context,
7
+ subscribeRadio = hr$('.js-newsletter-subscribe', rootElement)[0],
8
+ unsubscribeRadio = hr$('.js-newsletter-unsubscribe', rootElement)[0]
9
+
10
+ if (subscribeRadio && unsubscribeRadio) {
11
+ subscribeRadio.onclick = function () {
12
+ subscribeRadio.checked = true
13
+ unsubscribeRadio.checked = false
14
+ }
15
+ unsubscribeRadio.onclick = function () {
16
+ subscribeRadio.checked = false
17
+ unsubscribeRadio.checked = true
18
+ }
19
+ }
20
+ }
21
+
22
+ export default Newsletter
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" ) _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -2,7 +2,7 @@
2
2
  {{#if this.showFullSize.isTrue }}
3
3
  {{> components/content/copytext/components/image/figure
4
4
  _cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
5
- _cssClassCaption="mx-5 sm:mx-0"
5
+ _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
6
6
  _type="story"
7
7
  _variant="100-copytext-portrait"
8
8
  _noAr="true"
@@ -10,7 +10,7 @@
10
10
  {{else}}
11
11
  {{> components/content/copytext/components/image/figure
12
12
  _cssClass="hrds-copytext-teaser-half mt-12 mb-8 article-full-width sm:article-narrow sm:mt-6 sm:mb-5 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
13
- _cssClassCaption="mx-5 sm:mx-0"
13
+ _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
14
14
  _type="story"
15
15
  _variant="copytext-portrait"
16
16
  _noAr="true"
@@ -20,7 +20,7 @@
20
20
  {{#if this.showFullSize.isTrue}}
21
21
  {{> components/content/copytext/components/image/figure
22
22
  _cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
23
- _cssClassCaption="mx-5 sm:mx-0"
23
+ _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
24
24
  _type="story"
25
25
  _variant="100-copytext"
26
26
  _pictureAddClass="ar-16-9"
@@ -28,7 +28,7 @@
28
28
  {{else}}
29
29
  {{> components/content/copytext/components/image/figure
30
30
  _cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
31
- _cssClassCaption="mx-5 sm:mx-0"
31
+ _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
32
32
  _type="story"
33
33
  _variant="copytext"
34
34
  _pictureAddClass="ar-16-9"
@@ -41,7 +41,7 @@
41
41
  {{#unless _voting-option}}
42
42
  {{#if this.teaseritem}}
43
43
  {{#if this.isAudio}}
44
- {{~#> components/content/copytext/components/image/caption this.teaseritem _cssClassCaption="mx-5 sm:mx-0"~}}
44
+ {{~#> components/content/copytext/components/image/caption this.teaseritem _cssClassCaption=_cssClassCaption~}}
45
45
  {{~> components/content/copytext/components/image/image_copyright~}}
46
46
  <span class="mx-1.5">|</span>
47
47
  {{~#with ../../this.toModel.mediaBacklinkToStoryTeaser-adjust_context~}}
@@ -56,7 +56,7 @@
56
56
  {{~/with~}}
57
57
  {{~/components/content/copytext/components/image/caption~}}
58
58
  {{else}}
59
- {{~#> components/content/copytext/components/image/collapsible_caption this.teaseritem _cssClassCaption="mx-5 sm:mx-0"~}}
59
+ {{~#> components/content/copytext/components/image/collapsible_caption this.teaseritem _cssClassCaption=_cssClassCaption~}}
60
60
  {{#if this.caption}} {{~> components/content/copytext/components/image/image_caption_text~}} {{/if}}
61
61
  {{~> components/content/copytext/components/image/image_copyright~}}
62
62
  {{~/components/content/copytext/components/image/collapsible_caption~}}
@@ -1,3 +1,3 @@
1
- <div class="print:hidden article-narrow w-auto [&+h2]:mt-4 xs:article-full-width xs:mx-13 {{#if this.showFullSize.isTrue }}hrds-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hrds-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{{#if _isTickerCopytext}} xs:mx-10{{else}} xs:mx-13{{/if}} {{#if this.showFullSize.isTrue }}hrds-copytext-teaser-full clear-both mb-8 mt-12 sm:my-14 sm:mx-26 {{else}}hrds-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>
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _playerLocation="Copytext" _isFullsize=true _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-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" _isFullsize=true _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption=(if _isTickerCopytext "" "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 _playerLocation="Copytext" _isFullsize=false _playerSize="50" _addClass="hrds-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" _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" _isFullsize=false _playerSize="50" _addClass="hrds-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" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" ) _a11yIntro-loca="story_video_livestream_intro_sr" _a11yOutro-loca="story_video_livestream_outro_sr" }}
5
5
  {{/if}}
@@ -1,9 +1,9 @@
1
- <div class="hrds-copytext mt-2 contents sm:block copytextWrapper">
1
+ <div class="mt-2 hrds-copytext contents sm:block copytextWrapper">
2
2
  {{~#with this.leadAudio }}
3
3
  {{> components/content/copytext/components/media/media_figure _isFullsize=true _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
- {{~> components/content/copytext/copytext_body _isWebview=../_isWebview ~}}
6
+ {{~> components/content/copytext/copytext_body _isWebview=../_isWebview _isTickerCopytext=../_isTickerCopytext~}}
7
7
  {{/each}}
8
8
  </div>
9
9
  {{! Globaler Einstellungsbutton; nur für Copytext/Externe Dienste Story;
@@ -4,7 +4,7 @@
4
4
  {{#unless this.isInfoBox}}
5
5
  {{~#with this.paragraphBoxItem }}
6
6
  {{~#if this.isImage}}
7
- {{~> components/content/copytext/components/image/image _isWebview=../_isWebview}}
7
+ {{~> components/content/copytext/components/image/image _isWebview=../_isWebview _isTickerCopytext=../_isTickerCopytext}}
8
8
  {{/if~}}
9
9
  {{~#if this.isContentBox}}
10
10
  {{~> components/content/copytext/components/contentbox/contentbox _isWebview=../_isWebview ~}}
@@ -28,19 +28,19 @@
28
28
  {{> components/content/copytext/components/newsletter }}
29
29
  {{/if~}}
30
30
  {{~#if this.isAudioOnDemand}}
31
- {{> components/content/copytext/components/audio }}
31
+ {{> components/content/copytext/components/audio _isTickerCopytext=../_isTickerCopytext }}
32
32
  {{/if~}}
33
33
  {{~#if this.isAudioEventLivestream}}
34
- {{> components/content/copytext/components/audioeventlivestream }}
34
+ {{> components/content/copytext/components/audioeventlivestream _isTickerCopytext=../_isTickerCopytext }}
35
35
  {{/if~}}
36
36
  {{~#if this.isPodcastEpisode}}
37
37
  {{> components/content/copytext/components/podcastepisode }}
38
38
  {{/if~}}
39
39
  {{~#if this.isVideoOnDemand}}
40
- {{> components/content/copytext/components/video/video }}
40
+ {{> components/content/copytext/components/video/video _isTickerCopytext=../_isTickerCopytext }}
41
41
  {{/if~}}
42
42
  {{~#if this.isLivestream}}
43
- {{> components/content/copytext/components/videolivestream }}
43
+ {{> components/content/copytext/components/videolivestream _isTickerCopytext=../_isTickerCopytext }}
44
44
  {{/if~}}
45
45
  {{~#if this.isTweet}}
46
46
  {{> components/content/copytext/components/tweet }}
@@ -65,37 +65,37 @@
65
65
  {{~#with this.paragraphTeaserItem }}
66
66
  {{~#if this.isTopictag}}
67
67
  {{#with this.toModel.baseTeaserDS}}
68
- {{> components/content/copytext/components/posterteaser }}
68
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
69
69
  {{/with}}
70
70
  {{/if~}}
71
71
  {{~#if this.isTicker}}
72
72
  {{#with this.toModel.baseTeaserDS}}
73
- {{> components/content/copytext/components/posterteaser }}
73
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
74
74
  {{/with}}
75
75
  {{/if~}}
76
76
  {{~#if this.isLink}}
77
77
  {{#with this.toModel.baseTeaserDS}}
78
- {{> components/content/copytext/components/posterteaser }}
78
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
79
79
  {{/with}}
80
80
  {{/if~}}
81
81
  {{~#if this.isStructureNodeDocument}}
82
82
  {{#with this.toModel.structureNodeTeaser}}
83
- {{> components/content/copytext/components/posterteaser }}
83
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
84
84
  {{/with}}
85
85
  {{/if~}}
86
86
  {{~#if this.isStory}}
87
87
  {{#with this.toModel.baseTeaserDS}}
88
- {{> components/content/copytext/components/posterteaser }}
88
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
89
89
  {{/with}}
90
90
  {{/if~}}
91
91
  {{~#if this.isProgram}}
92
92
  {{#with this.toModel.baseTeaserDS}}
93
- {{> components/content/copytext/components/posterteaser }}
93
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
94
94
  {{/with}}
95
95
  {{/if~}}
96
96
  {{~#if this.isEvent}}
97
97
  {{#with this.toModel.eventTeaser}}
98
- {{> components/content/copytext/components/posterteaser }}
98
+ {{> components/content/copytext/components/posterteaser _isTickerCopytext=../../_isTickerCopytext }}
99
99
  {{/with}}
100
100
  {{/if~}}
101
101
  {{~/with}}
@@ -1,37 +1,33 @@
1
+ <div class="js-newsletterFormWrapper">
1
2
  <form class="c-form o-box -accented -breakout js-form js-load" id="form--{{nextRandom}}" data-hr-new-newsletter='{
2
- "trackingInformations": {{this.trackingInformations}} }'
3
- action="{{configProperty "newsletter.subscription.endpoint"}}" method="post" accept-charset="utf-8">
3
+ "trackingInformations": {{this.trackingInformations}} }' action="{{configProperty "newsletter.subscription.endpoint"}}" method="post" accept-charset="utf-8">
4
4
 
5
- <div class="c-form__row -expanded">
6
5
  {{~> components/forms/components/input
7
6
  _type="email"
8
- _isEmail="true"
7
+ _isEmail=true
9
8
  _name="email"
10
9
  _label="E-Mail"
11
10
  _labelClass="hide"
12
11
  _description=""
13
12
  _wrapperClass=(if this.isHidden "hidden")
14
13
  _tabindex=(if this.isHidden "-1")
15
- _required="true"
14
+ _required=true
16
15
  _maxLength="140"
17
16
  _errorMandatory="Bitte füllen Sie dieses Pflichtfeld aus"
18
17
  _errorEmail="Bitte geben Sie eine gültige E-Mail-Adresse ein."
19
18
  _formId=../_formId
20
19
  }}
21
- </div>
22
-
23
- <div class="c-form__row">
20
+
24
21
  {{~> components/forms/components/choice
25
- _inGroup="false"
22
+ _inGroup=false
26
23
  _type="checkbox"
27
24
  _name="checkbox"
28
25
  _label=(loca "accept_data_privacy_regulation_link")
29
- _description="Das ist der Beschreibungstext von Checkbox"
30
- _required="true"
26
+ _description=""
27
+ _required=true
31
28
  _errorMandatory="Bitte wählen Sie dieses Pflichtfeld aus"
32
29
  }}
33
- </a>
34
- </div>
30
+
35
31
 
36
32
  {{~> components/forms/components/controls }}
37
33
 
@@ -59,4 +55,5 @@
59
55
  <script type="text/html" class="js-alreadyRegisteredMessage">
60
56
  {{{include "components/newsletter/components/newsletter_already_registered" }}}
61
57
  </script>
62
- </form>
58
+ </form>
59
+ </div>
@@ -0,0 +1,60 @@
1
+ <form class="c-form o-box -accented -breakout js-form" id="form--{{nextRandom}}"
2
+ action="{{configProperty "mailserver.newsletter"}}" method="post" enctype="application/x-www-form-urlencoded"
3
+ accept-charset="utf-8">
4
+
5
+ {{~> components/forms/components/input
6
+ _type="email"
7
+ _isEmail="true"
8
+ _name="email"
9
+ _label="E-Mail"
10
+ _labelClass="hide"
11
+ _description=""
12
+ _wrapperClass=(if this.isHidden "hidden")
13
+ _tabindex=(if this.isHidden "-1")
14
+ _required="true"
15
+ _maxLength="140"
16
+ _errorMandatory="Bitte füllen Sie dieses Pflichtfeld aus"
17
+ _errorEmail="Bitte geben Sie eine gültige E-Mail-Adresse ein."
18
+ _formId=../_formId
19
+ }}
20
+
21
+ {{> components/forms/components/choiceGroup
22
+ _name="Registrierung"
23
+ _required=true
24
+ _inputClass=""
25
+ _type="radio"
26
+ _locaKey="newsletter_subscribe_text"
27
+ _inGroup=true
28
+ _isHorizontalLayout=true
29
+ _multipleChoice=false
30
+ _formId=../_formId
31
+ _items=this.items
32
+ }}
33
+
34
+
35
+ {{~> components/forms/components/controls }}
36
+
37
+ {{~> components/forms/components/input
38
+ _formField=this.formData.INXMAIL_HTTP_REDIRECT
39
+ _name="INXMAIL_HTTP_REDIRECT"
40
+ _type="hidden"
41
+ _value=this.successLink
42
+ _hasLabel=false
43
+ }}
44
+
45
+ {{~>components/forms/components/input
46
+ _formField=this.formData.INXMAIL_HTTP_REDIRECT_ERROR
47
+ _name="INXMAIL_HTTP_REDIRECT_ERROR"
48
+ _type="hidden"
49
+ _value=this.errorLink
50
+ _hasLabel=false
51
+ }}
52
+
53
+ {{~> components/forms/components/input
54
+ _formField=this.formData.backlink
55
+ _name="backlink"
56
+ _type="hidden"
57
+ _value=this.backlinkUuid
58
+ _hasLabel=false
59
+ }}
60
+ </form>
@@ -1,30 +1,30 @@
1
- {{#unless this.useNewNewsletter}}
2
- <div id="{{this.uuid}}" class="{{_addClass}} js-load" data-hr-newsletter='{"url": "{{this.url.nocache}}"}'>
1
+ {{#if this.useNewNewsletter}}
2
+ <div id="{{this.uuid}}" class="{{_addClass}} ">
3
3
  {{~> components/base/a11y/hiddenText _locaTag="story_newsletter_intro_sr" ~}}
4
4
  <h3 class="mb-6 text-2xl md:text-3xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
5
5
  {{this.title}}
6
6
  </h3>
7
+ {{#if this.description}}
8
+ <p class="mt-4 text-base font-copy sm:text-lg sm:mt-5 dark:text-text-dark">
9
+ {{{this.description}}}
10
+ </p>
11
+ {{/if}}
7
12
  <div class="js-formWrapper">
8
- {{> components/newsletter/components/newsletter_form}}
13
+ {{> components/newsletter/components/new_newsletter_form}}
9
14
  </div>
10
15
  {{~> components/base/a11y/hiddenText _locaTag="story_newsletter_outro_sr" ~}}
11
16
  </div>
12
17
  {{else}}
13
- <div id="{{this.uuid}}" class="{{_addClass}} ">
18
+ <div id="{{this.uuid}}" class="{{_addClass}} js-load" data-hr-newsletter-ds='{"url": "{{this.url.nocache}}"}'>
14
19
  {{~> components/base/a11y/hiddenText _locaTag="story_newsletter_intro_sr" ~}}
15
20
  <h3 class="mb-6 text-2xl md:text-3xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
16
21
  {{this.title}}
17
22
  </h3>
18
- {{#if this.description}}
19
- <div class="c-form__row">
20
- <div class="c-form__label">
21
- {{{this.description}}}
22
- </div>
23
- </div>
24
- {{/if}}
23
+
25
24
  <div class="js-formWrapper">
26
- {{> components/newsletter/components/new_newsletter_form}}
25
+ {{> components/newsletter/components/newsletter_form}}
27
26
  </div>
27
+
28
28
  {{~> components/base/a11y/hiddenText _locaTag="story_newsletter_outro_sr" ~}}
29
29
  </div>
30
- {{/unless}}
30
+ {{/if}}
@@ -38,7 +38,7 @@
38
38
  {{!-- Podcast Image --}}
39
39
  {{#if this.hasTeaserItem}}
40
40
  <div class="flex flex-col ">
41
- <div class="w-22 {{#if _isArticlePlayer }} md:w-32 lg:w-42 {{else}} {{inline-switch this.realTeaserSize '["100","50"]' '["md:w-32 lg:w-42","md:w-22 lg:w-32", ""]'}} {{/if}}">
41
+ <div class="w-18 xs:w-22 {{#if _isArticlePlayer }} md:w-32 lg:w-42 {{else}} {{inline-switch this.realTeaserSize '["100","50"]' '["md:w-32 lg:w-42","md:w-22 lg:w-32", ""]'}} {{/if}}">
42
42
  {{> components/base/image/responsive_image this.teaseritem
43
43
  _type="podcastEpisodePlayer"
44
44
  _variant="default"
@@ -1,5 +1,5 @@
1
1
  {{#if this.showFullSize.isTrue }}
2
- {{> components/content/copytext/components/media/media_figure _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-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 _isFullsize=true _playerLocation="Copytext" _playerSize="100" _addClass="print:hidden clear-both article-full-width mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:article-narrow sm:my-14" _cssClassCaption=(if _isTickerCopytext "" "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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _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 _isFullsize=false _playerLocation="Copytext" _playerSize="50" _addClass="hrds-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" _cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" ) _a11yIntro-loca="story_audio_event_livestream_intro_sr" _a11yOutro-loca="story_audio_event_livestream_outro_sr" }}
5
5
  {{/if}}