hr-design-system-handlebars 1.114.95 → 1.114.97

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 (38) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +3 -3
  3. package/dist/views/components/content/copytext/copytext_body.hbs +1 -1
  4. package/dist/views/components/forms/webform.hbs +62 -65
  5. package/dist/views/components/teaser/teaser_poster.hbs +4 -4
  6. package/dist/views_static/components/content/copytext/copytext_body.hbs +1 -1
  7. package/dist/views_static/components/forms/webform.hbs +62 -65
  8. package/dist/views_static/components/teaser/teaser_poster.hbs +4 -4
  9. package/package.json +1 -1
  10. package/src/assets/fixtures/content/copytext/copytext_posterteaser.json +4 -4
  11. package/src/assets/fixtures/teaser/teaser_poster.json +6 -6
  12. package/src/assets/fixtures/teaser/teasers.inc.json +10 -0
  13. package/src/stories/views/components/content/copytext/copytext_body.hbs +1 -1
  14. package/src/stories/views/components/content/copytext/fixtures/copytext_non_media_components.json +1 -1
  15. package/src/stories/views/components/content/copytext/fixtures/copytext_posterteaser.json +1 -1
  16. package/src/stories/views/components/forms/webform.hbs +62 -65
  17. package/src/stories/views/components/page/story/fixtures/story.json +1 -1
  18. package/src/stories/views/components/page/story/fixtures/story_with_audio.json +1 -1
  19. package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
  20. package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -1
  21. package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
  22. package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -1
  23. package/src/stories/views/components/pagination/fixtures/page_pagination.json +1 -1
  24. package/src/stories/views/components/teaser/components/fixtures/teaser_byline.json +1 -1
  25. package/src/stories/views/components/teaser/fixtures/teaser_alternative.json +1 -1
  26. package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
  27. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -1
  28. package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -1
  29. package/src/stories/views/components/teaser/fixtures/teaser_group_25.json +1 -1
  30. package/src/stories/views/components/teaser/fixtures/teaser_group_related_content_100.json +1 -1
  31. package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
  32. package/src/stories/views/components/teaser/fixtures/teaser_indextext.json +1 -1
  33. package/src/stories/views/components/teaser/fixtures/teaser_poster.json +1 -1
  34. package/src/stories/views/components/teaser/fixtures/teaser_standard.json +1 -1
  35. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_tabbox.json +1 -1
  36. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_tabbox.json +1 -1
  37. package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
  38. package/src/stories/views/components/teaser/teaser_poster.hbs +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.114.97 (Wed Feb 19 2025)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Removin webform new flag [#1245](https://github.com/mumprod/hr-design-system-handlebars/pull/1245) ([@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.96 (Tue Feb 18 2025)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - new getter for posterteaser-image [#1244](https://github.com/mumprod/hr-design-system-handlebars/pull/1244) ([@hanswurstsalat](https://github.com/hanswurstsalat))
18
+
19
+ #### Authors: 1
20
+
21
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
22
+
23
+ ---
24
+
1
25
  # v1.114.95 (Mon Feb 17 2025)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -3846,7 +3846,7 @@ article #commentList {
3846
3846
  border-bottom-color: var(--color-secondary-ds);
3847
3847
  }
3848
3848
  .counter-reset {
3849
- counter-reset: cnt1739790727302;
3849
+ counter-reset: cnt1739962798102;
3850
3850
  }
3851
3851
  .animate-delay-100 {
3852
3852
  --tw-animate-delay: 100ms;
@@ -4291,7 +4291,7 @@ html { scroll-behavior: smooth; }
4291
4291
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4292
4292
  }
4293
4293
  .-ordered {
4294
- counter-increment: cnt1739790727302 1;
4294
+ counter-increment: cnt1739962798102 1;
4295
4295
  }
4296
4296
  .-ordered::before {
4297
4297
  position: absolute;
@@ -4309,7 +4309,7 @@ html { scroll-behavior: smooth; }
4309
4309
  --tw-text-opacity: 1;
4310
4310
  color: rgba(0, 0, 0, 1);
4311
4311
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4312
- content: counter(cnt1739790727302);
4312
+ content: counter(cnt1739962798102);
4313
4313
  }
4314
4314
  /*! ****************************/
4315
4315
  /*! DataPolicy stuff */
@@ -22,7 +22,7 @@
22
22
  {{> components/content/copytext/components/map }}
23
23
  {{/if~}}
24
24
  {{~#if this.isWebForm}}
25
- {{> components/forms/webform _newWebForm=this.hasNewWebForm}}
25
+ {{> components/forms/webform }}
26
26
  {{/if~}}
27
27
  {{~#if this.isNewsletter}}
28
28
  {{> components/newsletter/newsletter }}
@@ -1,71 +1,68 @@
1
- {{~#if _newWebForm ~}}
2
- {{#>components/forms/components/backgroundBox }}
3
- <h3 class="mb-6 text-2xl md:text-3xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
4
- {{this.title}}
5
- </h3>
6
- <div id="formWrapper">
7
- <form
8
- x-ref="form{{nextRandom}}"
9
- ax-load
10
- x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', {{this.hasSpamProtection}})"
11
- x-init="formInit()"
12
- x-ignore
13
1
 
14
- @submit.prevent
15
- id="form{{getRandom}}"
16
- class="relative flex flex-col justify-center overflow-hidden group"
17
- action="{{if this.hasSpamProtection '#' this.url}}"
18
- method="post"
19
- enctype="{{if this.isMultipart 'multipart/form-data' 'application/x-www-form-urlencoded'}}"
20
- accept-charset="utf-8"
21
-
2
+ {{#>components/forms/components/backgroundBox }}
3
+ <h3 class="mb-6 text-2xl md:text-3xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
4
+ {{this.title}}
5
+ </h3>
6
+ <div id="formWrapper">
7
+ <form
8
+ x-ref="form{{nextRandom}}"
9
+ ax-load
10
+ x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', {{this.hasSpamProtection}})"
11
+ x-init="formInit()"
12
+ x-ignore
13
+
14
+ @submit.prevent
15
+ id="form{{getRandom}}"
16
+ class="relative flex flex-col justify-center overflow-hidden group"
17
+ action="{{if this.hasSpamProtection '#' this.url}}"
18
+ method="post"
19
+ enctype="{{if this.isMultipart 'multipart/form-data' 'application/x-www-form-urlencoded'}}"
20
+ accept-charset="utf-8"
21
+
22
+ >
23
+ <div x-show="!wasPosted"
24
+ x-transition:enter="transition ease-out duration-300 delay-300"
25
+ x-transition:enter-start="opacity-0 transform scale-90"
26
+ x-transition:enter-end="opacity-100 transform scale-100"
27
+ x-transition:leave="transition ease-in duration-75 delay-0"
28
+ x-transition:leave-start="opacity-100 transform scale-100"
29
+ x-transition:leave-end="opacity-0 transform scale-90"
22
30
  >
23
- <div x-show="!wasPosted"
24
- x-transition:enter="transition ease-out duration-300 delay-300"
25
- x-transition:enter-start="opacity-0 transform scale-90"
26
- x-transition:enter-end="opacity-100 transform scale-100"
27
- x-transition:leave="transition ease-in duration-75 delay-0"
28
- x-transition:leave-start="opacity-100 transform scale-100"
29
- x-transition:leave-end="opacity-0 transform scale-90"
31
+ {{> components/forms/components/fields _formId=(joinStrings 'form' (getRandom)) }}
32
+ {{#if this.hasSpamProtection }}
33
+ <noscript>
34
+ <div class="p-4 mb-3 text-orange-700 bg-orange-100 border-l-4 border-orange-500" role="alert">
35
+ <p class="font-bold">Hinweis</p>
36
+ <p>Bitte aktivieren Sie JavaScript, um dieses Formular absenden zu können.</p>
37
+ </div>
38
+ </noscript>
39
+ {{/if}}
40
+ {{> components/forms/components/controls }}
41
+
42
+ </div>
43
+ <div class="flex flex-col gap-6 md:gap-10" id="successMessage" x-show="wasPostedWithSuccess"
44
+ x-transition:enter="transition ease-out duration-300 delay-75"
45
+ x-transition:enter-start="opacity-0 transform scale-90"
46
+ x-transition:enter-end="opacity-100 transform scale-100"
47
+ x-cloak
30
48
  >
31
- {{> components/forms/components/fields _formId=(joinStrings 'form' (getRandom)) }}
32
- {{#if this.hasSpamProtection }}
33
- <noscript>
34
- <div class="p-4 mb-3 text-orange-700 bg-orange-100 border-l-4 border-orange-500" role="alert">
35
- <p class="font-bold">Hinweis</p>
36
- <p>Bitte aktivieren Sie JavaScript, um dieses Formular absenden zu können.</p>
37
- </div>
38
- </noscript>
39
- {{/if}}
40
- {{> components/forms/components/controls }}
41
-
42
- </div>
43
- <div class="flex flex-col gap-6 md:gap-10" id="successMessage" x-show="wasPostedWithSuccess"
44
- x-transition:enter="transition ease-out duration-300 delay-75"
45
- x-transition:enter-start="opacity-0 transform scale-90"
46
- x-transition:enter-end="opacity-100 transform scale-100"
47
- x-cloak
48
- >
49
- {{#if this.successText}}
50
- {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _text=this.successText.richtext }}
51
- {{else}}
52
- {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _locaKeyText="webform_send_text_success" }}
53
- {{/if}}
54
- </div>
49
+ {{#if this.successText}}
50
+ {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _text=this.successText.richtext }}
51
+ {{else}}
52
+ {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _locaKeyText="webform_send_text_success" }}
53
+ {{/if}}
54
+ </div>
55
55
 
56
- <div class="flex flex-col gap-6 md:gap-10" id="errorMessage" x-show="wasPostedWithError"
57
- x-transition:enter="transition ease-out duration-300 delay-75"
58
- x-transition:enter-start="opacity-0 transform scale-90"
59
- x-transition:enter-end="opacity-100 transform scale-100"
60
- x-cloak>
61
- {{> components/forms/components/message _success=false _locaKeyTitle="webform_send_title_error" _locaKeyText="webform_send_text_error"}}
62
- </div>
56
+ <div class="flex flex-col gap-6 md:gap-10" id="errorMessage" x-show="wasPostedWithError"
57
+ x-transition:enter="transition ease-out duration-300 delay-75"
58
+ x-transition:enter-start="opacity-0 transform scale-90"
59
+ x-transition:enter-end="opacity-100 transform scale-100"
60
+ x-cloak>
61
+ {{> components/forms/components/message _success=false _locaKeyTitle="webform_send_title_error" _locaKeyText="webform_send_text_error"}}
62
+ </div>
63
63
 
64
- </form>
64
+ </form>
65
65
 
66
-
67
- </div>
68
- {{/components/forms/components/backgroundBox }}
69
- {{~else~}}
70
- {{> content/webform/components/webform _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
71
- {{~/if~}}
66
+
67
+ </div>
68
+ {{/components/forms/components/backgroundBox }}
@@ -3,15 +3,15 @@
3
3
  {{#if _isCopytext~}}
4
4
  {{#if this.showFullSize.isTrue }}
5
5
  {{#if this.showStretched.isTrue }}
6
- {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
6
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
7
7
  {{else}}
8
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="copytext_full" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
8
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type="poster" _variant="copytext_full" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
9
9
  {{/if}}
10
10
  {{else}}
11
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="copytext_narrow" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
11
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type="poster" _variant="copytext_narrow" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
12
12
  {{/if}}
13
13
  {{else}}
14
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
14
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
15
15
  {{/if}}
16
16
  </figure>
17
17
  <div class="absolute flex flex-col justify-end w-full h-full {{#if _isCopytext~}}{{#if this.showFullSize.isTrue~}}{{inline-switch this.showStretched.isTrue '["false","true"]' '["pb-[70px] sm480:pb-24 md:pb-32","pb-[70px] sm480:pb-[86px] sm:pb-16 md:pb-[70px]","pb-[70px] sm480:pb-24 md:pb-32"]'}}{{else}}pb-[70px] sm480:pb-24 sm:pb-[86px] md:pb-24{{/if}}{{else}}{{inline-switch this.realTeaserSize '["33","50"]' '["pb-16 sm:pb-24 md:pb-16","pb-16 sm:pb-24 md:pb-24"]'}}{{/if}} bg-gradient-to-t to-80% from-black rounded-tl-hr rounded-br-hr">
@@ -22,7 +22,7 @@
22
22
  {{> components/content/copytext/components/map }}
23
23
  {{/if~}}
24
24
  {{~#if this.isWebForm}}
25
- {{> components/forms/webform _newWebForm=this.hasNewWebForm}}
25
+ {{> components/forms/webform }}
26
26
  {{/if~}}
27
27
  {{~#if this.isNewsletter}}
28
28
  {{> components/newsletter/newsletter }}
@@ -1,71 +1,68 @@
1
- {{~#if _newWebForm ~}}
2
- {{#>components/forms/components/backgroundBox }}
3
- <h3 class="mb-6 text-2xl md:text-3xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
4
- {{this.title}}
5
- </h3>
6
- <div id="formWrapper">
7
- <form
8
- x-ref="form{{nextRandom}}"
9
- ax-load
10
- x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', {{this.hasSpamProtection}})"
11
- x-init="formInit()"
12
- x-ignore
13
1
 
14
- @submit.prevent
15
- id="form{{getRandom}}"
16
- class="relative flex flex-col justify-center overflow-hidden group"
17
- action="{{if this.hasSpamProtection '#' this.url}}"
18
- method="post"
19
- enctype="{{if this.isMultipart 'multipart/form-data' 'application/x-www-form-urlencoded'}}"
20
- accept-charset="utf-8"
21
-
2
+ {{#>components/forms/components/backgroundBox }}
3
+ <h3 class="mb-6 text-2xl md:text-3xl font-headingSerif sm:mb-12 text-text dark:text-text-dark">
4
+ {{this.title}}
5
+ </h3>
6
+ <div id="formWrapper">
7
+ <form
8
+ x-ref="form{{nextRandom}}"
9
+ ax-load
10
+ x-data="contactForm('form{{getRandom}}','{{this.jsonUrl}}','{{this.errorMessages}}','{{this.isMultipart}}','{{this.trackingInformations}}', {{this.hasSpamProtection}})"
11
+ x-init="formInit()"
12
+ x-ignore
13
+
14
+ @submit.prevent
15
+ id="form{{getRandom}}"
16
+ class="relative flex flex-col justify-center overflow-hidden group"
17
+ action="{{if this.hasSpamProtection '#' this.url}}"
18
+ method="post"
19
+ enctype="{{if this.isMultipart 'multipart/form-data' 'application/x-www-form-urlencoded'}}"
20
+ accept-charset="utf-8"
21
+
22
+ >
23
+ <div x-show="!wasPosted"
24
+ x-transition:enter="transition ease-out duration-300 delay-300"
25
+ x-transition:enter-start="opacity-0 transform scale-90"
26
+ x-transition:enter-end="opacity-100 transform scale-100"
27
+ x-transition:leave="transition ease-in duration-75 delay-0"
28
+ x-transition:leave-start="opacity-100 transform scale-100"
29
+ x-transition:leave-end="opacity-0 transform scale-90"
22
30
  >
23
- <div x-show="!wasPosted"
24
- x-transition:enter="transition ease-out duration-300 delay-300"
25
- x-transition:enter-start="opacity-0 transform scale-90"
26
- x-transition:enter-end="opacity-100 transform scale-100"
27
- x-transition:leave="transition ease-in duration-75 delay-0"
28
- x-transition:leave-start="opacity-100 transform scale-100"
29
- x-transition:leave-end="opacity-0 transform scale-90"
31
+ {{> components/forms/components/fields _formId=(joinStrings 'form' (getRandom)) }}
32
+ {{#if this.hasSpamProtection }}
33
+ <noscript>
34
+ <div class="p-4 mb-3 text-orange-700 bg-orange-100 border-l-4 border-orange-500" role="alert">
35
+ <p class="font-bold">Hinweis</p>
36
+ <p>Bitte aktivieren Sie JavaScript, um dieses Formular absenden zu können.</p>
37
+ </div>
38
+ </noscript>
39
+ {{/if}}
40
+ {{> components/forms/components/controls }}
41
+
42
+ </div>
43
+ <div class="flex flex-col gap-6 md:gap-10" id="successMessage" x-show="wasPostedWithSuccess"
44
+ x-transition:enter="transition ease-out duration-300 delay-75"
45
+ x-transition:enter-start="opacity-0 transform scale-90"
46
+ x-transition:enter-end="opacity-100 transform scale-100"
47
+ x-cloak
30
48
  >
31
- {{> components/forms/components/fields _formId=(joinStrings 'form' (getRandom)) }}
32
- {{#if this.hasSpamProtection }}
33
- <noscript>
34
- <div class="p-4 mb-3 text-orange-700 bg-orange-100 border-l-4 border-orange-500" role="alert">
35
- <p class="font-bold">Hinweis</p>
36
- <p>Bitte aktivieren Sie JavaScript, um dieses Formular absenden zu können.</p>
37
- </div>
38
- </noscript>
39
- {{/if}}
40
- {{> components/forms/components/controls }}
41
-
42
- </div>
43
- <div class="flex flex-col gap-6 md:gap-10" id="successMessage" x-show="wasPostedWithSuccess"
44
- x-transition:enter="transition ease-out duration-300 delay-75"
45
- x-transition:enter-start="opacity-0 transform scale-90"
46
- x-transition:enter-end="opacity-100 transform scale-100"
47
- x-cloak
48
- >
49
- {{#if this.successText}}
50
- {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _text=this.successText.richtext }}
51
- {{else}}
52
- {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _locaKeyText="webform_send_text_success" }}
53
- {{/if}}
54
- </div>
49
+ {{#if this.successText}}
50
+ {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _text=this.successText.richtext }}
51
+ {{else}}
52
+ {{> components/forms/components/message _success=true _locaKeyTitle="webform_send_title_success" _locaKeyText="webform_send_text_success" }}
53
+ {{/if}}
54
+ </div>
55
55
 
56
- <div class="flex flex-col gap-6 md:gap-10" id="errorMessage" x-show="wasPostedWithError"
57
- x-transition:enter="transition ease-out duration-300 delay-75"
58
- x-transition:enter-start="opacity-0 transform scale-90"
59
- x-transition:enter-end="opacity-100 transform scale-100"
60
- x-cloak>
61
- {{> components/forms/components/message _success=false _locaKeyTitle="webform_send_title_error" _locaKeyText="webform_send_text_error"}}
62
- </div>
56
+ <div class="flex flex-col gap-6 md:gap-10" id="errorMessage" x-show="wasPostedWithError"
57
+ x-transition:enter="transition ease-out duration-300 delay-75"
58
+ x-transition:enter-start="opacity-0 transform scale-90"
59
+ x-transition:enter-end="opacity-100 transform scale-100"
60
+ x-cloak>
61
+ {{> components/forms/components/message _success=false _locaKeyTitle="webform_send_title_error" _locaKeyText="webform_send_text_error"}}
62
+ </div>
63
63
 
64
- </form>
64
+ </form>
65
65
 
66
-
67
- </div>
68
- {{/components/forms/components/backgroundBox }}
69
- {{~else~}}
70
- {{> content/webform/components/webform _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
71
- {{~/if~}}
66
+
67
+ </div>
68
+ {{/components/forms/components/backgroundBox }}
@@ -3,15 +3,15 @@
3
3
  {{#if _isCopytext~}}
4
4
  {{#if this.showFullSize.isTrue }}
5
5
  {{#if this.showStretched.isTrue }}
6
- {{~> components/base/image/responsive_image this.teaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
6
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type="poster_wide" _variant="default" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
7
7
  {{else}}
8
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="copytext_full" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
8
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type="poster" _variant="copytext_full" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
9
9
  {{/if}}
10
10
  {{else}}
11
- {{~> components/base/image/responsive_image this.teaserImage _type="poster" _variant="copytext_narrow" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
11
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type="poster" _variant="copytext_narrow" _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
12
12
  {{/if}}
13
13
  {{else}}
14
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
14
+ {{~> components/base/image/responsive_image this.posterTeaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="rounded-tl-hr rounded-br-hr" ~}}
15
15
  {{/if}}
16
16
  </figure>
17
17
  <div class="absolute flex flex-col justify-end w-full h-full {{#if _isCopytext~}}{{#if this.showFullSize.isTrue~}}{{inline-switch this.showStretched.isTrue '["false","true"]' '["pb-[70px] sm480:pb-24 md:pb-32","pb-[70px] sm480:pb-[86px] sm:pb-16 md:pb-[70px]","pb-[70px] sm480:pb-24 md:pb-32"]'}}{{else}}pb-[70px] sm480:pb-24 sm:pb-[86px] md:pb-24{{/if}}{{else}}{{inline-switch this.realTeaserSize '["33","50"]' '["pb-16 sm:pb-24 md:pb-16","pb-16 sm:pb-24 md:pb-24"]'}}{{/if}} bg-gradient-to-t to-80% from-black rounded-tl-hr rounded-br-hr">
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.114.95",
9
+ "version": "1.114.97",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -42,7 +42,7 @@
42
42
  "@->value": "Zum Artikel"
43
43
  },
44
44
  {
45
- "@->contentpath": "teaserImage",
45
+ "@->contentpath": "posterTeaserImage",
46
46
  "@->value": {
47
47
  "@->jsoninclude": "teaser/teaser_images.inc.json",
48
48
  "@->contentpath": "teaser_poster_50",
@@ -108,7 +108,7 @@
108
108
  "@->value": "Zum Artikel"
109
109
  },
110
110
  {
111
- "@->contentpath": "teaserImage",
111
+ "@->contentpath": "posterTeaserImage",
112
112
  "@->value": {
113
113
  "@->jsoninclude": "teaser/teaser_images.inc.json",
114
114
  "@->contentpath": "teaser_poster_50",
@@ -179,7 +179,7 @@
179
179
  "@->value": "Zum Artikel"
180
180
  },
181
181
  {
182
- "@->contentpath": "teaserImage",
182
+ "@->contentpath": "posterTeaserImage",
183
183
  "@->value": {
184
184
  "@->jsoninclude": "teaser/teaser_images.inc.json",
185
185
  "@->contentpath": "teaser_poster_50",
@@ -244,7 +244,7 @@
244
244
  "@->value": "Zum Artikel"
245
245
  },
246
246
  {
247
- "@->contentpath": "teaserImage",
247
+ "@->contentpath": "posterTeaserImage",
248
248
  "@->value": {
249
249
  "@->jsoninclude": "teaser/teaser_images.inc.json",
250
250
  "@->contentpath": "teaser_poster_16_to_9",
@@ -32,7 +32,7 @@
32
32
  "@->value": "Zum Artikel"
33
33
  },
34
34
  {
35
- "@->contentpath": "logicItem.includeModel.teaserImage",
35
+ "@->contentpath": "logicItem.includeModel.posterTeaserImage",
36
36
  "@->value": {
37
37
  "@->jsoninclude": "teaser/teaser_images.inc.json",
38
38
  "@->contentpath": "teaser_poster_50",
@@ -73,7 +73,7 @@
73
73
  "@->value": "Zum Ticker"
74
74
  },
75
75
  {
76
- "@->contentpath": "logicItem.includeModel.teaserImage",
76
+ "@->contentpath": "logicItem.includeModel.posterTeaserImage",
77
77
  "@->value": {
78
78
  "@->jsoninclude": "teaser/teaser_images.inc.json",
79
79
  "@->contentpath": "teaser_poster_50",
@@ -135,7 +135,7 @@
135
135
  "@->value": "Zur Veranstaltung"
136
136
  },
137
137
  {
138
- "@->contentpath": "logicItem.includeModel.teaserImage",
138
+ "@->contentpath": "logicItem.includeModel.posterTeaserImage",
139
139
  "@->value": {
140
140
  "@->jsoninclude": "teaser/teaser_images.inc.json",
141
141
  "@->contentpath": "teaser_poster_50",
@@ -189,7 +189,7 @@
189
189
  "@->value": "Zum Artikel"
190
190
  },
191
191
  {
192
- "@->contentpath": "logicItem.includeModel.teaserImage",
192
+ "@->contentpath": "logicItem.includeModel.posterTeaserImage",
193
193
  "@->value": {
194
194
  "@->jsoninclude": "teaser/teaser_images.inc.json",
195
195
  "@->contentpath": "teaser_poster_33",
@@ -230,7 +230,7 @@
230
230
  "@->value": "Zum Ticker"
231
231
  },
232
232
  {
233
- "@->contentpath": "logicItem.includeModel.teaserImage",
233
+ "@->contentpath": "logicItem.includeModel.posterTeaserImage",
234
234
  "@->value": {
235
235
  "@->jsoninclude": "teaser/teaser_images.inc.json",
236
236
  "@->contentpath": "teaser_poster_33",
@@ -292,7 +292,7 @@
292
292
  "@->value": "Zur Veranstaltung"
293
293
  },
294
294
  {
295
- "@->contentpath": "logicItem.includeModel.teaserImage",
295
+ "@->contentpath": "logicItem.includeModel.posterTeaserImage",
296
296
  "@->value": {
297
297
  "@->jsoninclude": "teaser/teaser_images.inc.json",
298
298
  "@->contentpath": "teaser_poster_33",
@@ -39,6 +39,16 @@
39
39
  }
40
40
  ]
41
41
  },
42
+ "posterTeaserImage": {
43
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
44
+ "@->contentpath": "teaser_standard",
45
+ "@->replaceToken": [
46
+ {
47
+ "@->token": "image",
48
+ "@->value": "rueckkehr-nach-abschiebung-102"
49
+ }
50
+ ]
51
+ },
42
52
  "displayTeaserBodyAsImageOverlay": false,
43
53
  "hasMediaButtons": false,
44
54
  "dontLazyload": true,
@@ -22,7 +22,7 @@
22
22
  {{> components/content/copytext/components/map }}
23
23
  {{/if~}}
24
24
  {{~#if this.isWebForm}}
25
- {{> components/forms/webform _newWebForm=this.hasNewWebForm}}
25
+ {{> components/forms/webform }}
26
26
  {{/if~}}
27
27
  {{~#if this.isNewsletter}}
28
28
  {{> components/newsletter/newsletter }}