hr-design-system-handlebars 1.90.2 → 1.91.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 (58) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +53 -13
  3. package/dist/views/components/content/copytext/components/common/paragraphbox_wrapper.hbs +1 -1
  4. package/dist/views/components/content/copytext/components/contentbox/contentbox.hbs +4 -4
  5. package/dist/views/components/content/copytext/components/infobox.hbs +4 -4
  6. package/dist/views/components/content/copytext/components/paragraph/paragraph_body.hbs +3 -3
  7. package/dist/views/components/page/components/author.hbs +12 -9
  8. package/dist/views/components/page/components/metadatabox.hbs +7 -1
  9. package/dist/views/components/page/components/publicationdate.hbs +1 -1
  10. package/dist/views/components/page/story/story_article.hbs +1 -1
  11. package/dist/views_static/components/content/copytext/components/common/paragraphbox_wrapper.hbs +1 -1
  12. package/dist/views_static/components/content/copytext/components/contentbox/contentbox.hbs +4 -4
  13. package/dist/views_static/components/content/copytext/components/infobox.hbs +4 -4
  14. package/dist/views_static/components/content/copytext/components/paragraph/paragraph_body.hbs +3 -3
  15. package/dist/views_static/components/page/components/author.hbs +12 -9
  16. package/dist/views_static/components/page/components/metadatabox.hbs +7 -1
  17. package/dist/views_static/components/page/components/publicationdate.hbs +1 -1
  18. package/dist/views_static/components/page/story/story_article.hbs +1 -1
  19. package/package.json +1 -1
  20. package/src/assets/css/custom-components.css +21 -3
  21. package/src/assets/fixtures/content/copytext/copytext_paragraph.inc.json +3 -3
  22. package/src/assets/fixtures/page/metadatabox_one_author.json +1 -0
  23. package/src/assets/fixtures/page/metadatabox_one_author_comments.json +1 -0
  24. package/src/assets/fixtures/page/metadatabox_one_author_without_picture.json +1 -0
  25. package/src/stories/views/components/content/copytext/components/common/paragraphbox_wrapper.hbs +1 -1
  26. package/src/stories/views/components/content/copytext/components/contentbox/contentbox.hbs +4 -4
  27. package/src/stories/views/components/content/copytext/components/contentbox/fixtures/contentbox.json +1 -1
  28. package/src/stories/views/components/content/copytext/components/infobox.hbs +4 -4
  29. package/src/stories/views/components/content/copytext/components/paragraph/paragraph_body.hbs +3 -3
  30. package/src/stories/views/components/content/copytext/fixtures/copytext.json +1 -1
  31. package/src/stories/views/components/content/copytext/fixtures/copytext_additionalInfo.json +1 -1
  32. package/src/stories/views/components/content/copytext/fixtures/copytext_audio.json +1 -1
  33. package/src/stories/views/components/content/copytext/fixtures/copytext_audio_livestream.json +1 -1
  34. package/src/stories/views/components/content/copytext/fixtures/copytext_cite.json +1 -1
  35. package/src/stories/views/components/content/copytext/fixtures/copytext_downloadbox.json +1 -1
  36. package/src/stories/views/components/content/copytext/fixtures/copytext_faq.json +1 -1
  37. package/src/stories/views/components/content/copytext/fixtures/copytext_filedownload.json +1 -1
  38. package/src/stories/views/components/content/copytext/fixtures/copytext_image.json +1 -1
  39. package/src/stories/views/components/content/copytext/fixtures/copytext_infobox.json +1 -1
  40. package/src/stories/views/components/content/copytext/fixtures/copytext_livestream.json +1 -1
  41. package/src/stories/views/components/content/copytext/fixtures/copytext_media_components.json +1 -1
  42. package/src/stories/views/components/content/copytext/fixtures/copytext_non_media_components.json +1 -1
  43. package/src/stories/views/components/content/copytext/fixtures/copytext_podcastepisode.json +1 -1
  44. package/src/stories/views/components/content/copytext/fixtures/copytext_posterteaser.json +1 -1
  45. package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -1
  46. package/src/stories/views/components/page/components/author.hbs +12 -9
  47. package/src/stories/views/components/page/components/metadatabox.hbs +7 -1
  48. package/src/stories/views/components/page/components/publicationdate.hbs +1 -1
  49. package/src/stories/views/components/page/fixtures/metadatabox_one_author.json +1 -1
  50. package/src/stories/views/components/page/fixtures/metadatabox_one_author_comments.json +1 -1
  51. package/src/stories/views/components/page/fixtures/metadatabox_one_author_without_picture.json +1 -1
  52. package/src/stories/views/components/page/story/fixtures/story.json +1 -1
  53. package/src/stories/views/components/page/story/fixtures/story_with_audio.json +1 -1
  54. package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
  55. package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -1
  56. package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
  57. package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -1
  58. package/src/stories/views/components/page/story/story_article.hbs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.91.0 (Fri Aug 09 2024)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Bug/dpe 3260 [#1046](https://github.com/mumprod/hr-design-system-handlebars/pull/1046) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+
11
+ ---
12
+
13
+ # v1.90.3 (Fri Aug 09 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - refactoring of metadatabox [#1045](https://github.com/mumprod/hr-design-system-handlebars/pull/1045) ([@hanswurstsalat](https://github.com/hanswurstsalat))
18
+
19
+ #### Authors: 1
20
+
21
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
22
+
23
+ ---
24
+
1
25
  # v1.90.2 (Thu Aug 08 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -439,7 +439,7 @@ video {
439
439
  --tw-gradient-to-position: ;
440
440
  }
441
441
 
442
- .ds-focus, .ds-focus:not(:focus-visible), .ds-button, .ds-button:not(:focus-visible), .ds-button-round, .ds-button-round:not(:focus-visible), .ds-link, .ds-link:not(:focus-visible), .ds-teaser-focus, .ds-teaser-focus::before, .ds-cta > *, .ds-teaser-focus:not(:focus-visible)::before, .-isOpen, .link, .link:not(:focus-visible), .shadow, .shadow-md, .shadow-xl, .toggleSwitch-label, .before\:shadow-stage::before {
442
+ .ds-focus, .ds-focus:not(:focus-visible), .ds-button, .ds-button:not(:focus-visible), .ds-button-round, .ds-button-round:not(:focus-visible), .ds-link, .ds-link:not(:focus-visible), .ds-teaser-focus, .ds-teaser-focus::before, .ds-cta > *, .ds-teaser-focus:not(:focus-visible)::before, .-isOpen, .copytext-ds__link, .copytext-ds__link:not(:focus-visible), .shadow, .shadow-md, .shadow-xl, .toggleSwitch-label, .before\:shadow-stage::before {
443
443
  --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
444
444
  --tw-ring-shadow: 0 0 rgba(0,0,0,0);
445
445
  --tw-shadow: 0 0 rgba(0,0,0,0);
@@ -987,7 +987,7 @@ article.indexTextDS .indexTextHighlighted .link {
987
987
  text-decoration-thickness: 1px;
988
988
  }
989
989
  /* -----------------------------COPYTEXT ---------------------------- */
990
- .copytextParagraphDS .link:focus {
990
+ .copytext-ds__link:focus {
991
991
  --tw-shadow: 0 0 0 0.25rem;
992
992
  --tw-shadow-colored: 0 0 0 0.25rem var(--tw-shadow-color);
993
993
  box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
@@ -997,32 +997,46 @@ article.indexTextDS .indexTextHighlighted .link {
997
997
  outline: 2px solid transparent;
998
998
  outline-offset: 2px;
999
999
  }
1000
- .copytextParagraphDS .link:focus:not(:focus-visible) {
1000
+ .copytext-ds__link:focus:not(:focus-visible) {
1001
1001
  --tw-shadow: 0 0 rgba(0,0,0,0);
1002
1002
  --tw-shadow-colored: 0 0 rgba(0,0,0,0);
1003
1003
  box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
1004
1004
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
1005
1005
  }
1006
- .copytextParagraphDS .link.ds-teaser-focus:focus {
1006
+ .copytext-ds__link.ds-teaser-focus:focus {
1007
1007
  --tw-shadow: 0 0 rgba(0,0,0,0);
1008
1008
  --tw-shadow-colored: 0 0 rgba(0,0,0,0);
1009
1009
  box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
1010
1010
  box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
1011
1011
  }
1012
- .copytextParagraphDS .link {
1012
+ .copytext-ds__link {
1013
1013
  color: #006eb7;
1014
1014
  color: var(--color-link);
1015
1015
  -webkit-text-decoration-line: underline;
1016
1016
  text-decoration-line: underline;
1017
1017
  text-decoration-thickness: 1px;
1018
1018
  }
1019
- .copytextParagraphDS .link:hover {
1019
+ .copytext-ds__link:hover {
1020
1020
  text-decoration-thickness: 1px;
1021
1021
  }
1022
- [class~='tw-dark'] .copytextParagraphDS .link {
1022
+ [class~='tw-dark'] .copytext-ds__link {
1023
1023
  color: #006eb7;
1024
1024
  color: var(--color-link-dark);
1025
1025
  }
1026
+ .copytext-ds__icon {
1027
+ margin-top: -0.125rem;
1028
+ margin-left: 0.25rem;
1029
+ display: inline;
1030
+ fill: currentColor;
1031
+ }
1032
+ .copytext-ds__box .copytext-ds__icon {
1033
+ height: 1.25rem;
1034
+ width: 1.25rem;
1035
+ }
1036
+ .copytext-ds__paragraph .copytext-ds__icon {
1037
+ height: 1.5rem;
1038
+ width: 1.5rem;
1039
+ }
1026
1040
  .sr-only {
1027
1041
  position: absolute;
1028
1042
  width: 1px;
@@ -1347,9 +1361,6 @@ article.indexTextDS .indexTextHighlighted .link {
1347
1361
  .-mt-8 {
1348
1362
  margin-top: -2rem;
1349
1363
  }
1350
- .-mt-\[18px\] {
1351
- margin-top: -18px;
1352
- }
1353
1364
  .-mt-\[33px\] {
1354
1365
  margin-top: -33px;
1355
1366
  }
@@ -3327,7 +3338,7 @@ article.indexTextDS .indexTextHighlighted .link {
3327
3338
  border-bottom-color: var(--color-secondary-ds);
3328
3339
  }
3329
3340
  .counter-reset {
3330
- counter-reset: cnt1723115931168;
3341
+ counter-reset: cnt1723214517291;
3331
3342
  }
3332
3343
  .hyphens-auto {
3333
3344
  -webkit-hyphens: auto;
@@ -3735,7 +3746,7 @@ article.indexTextDS .indexTextHighlighted .link {
3735
3746
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3736
3747
  }
3737
3748
  .-ordered {
3738
- counter-increment: cnt1723115931168 1;
3749
+ counter-increment: cnt1723214517291 1;
3739
3750
  }
3740
3751
  .-ordered::before {
3741
3752
  position: absolute;
@@ -3751,7 +3762,7 @@ article.indexTextDS .indexTextHighlighted .link {
3751
3762
  letter-spacing: .0125em;
3752
3763
  --tw-text-opacity: 1;
3753
3764
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3754
- content: counter(cnt1723115931168);
3765
+ content: counter(cnt1723214517291);
3755
3766
  }
3756
3767
  /*! ****************************/
3757
3768
  /*! DataPolicy stuff */
@@ -5961,6 +5972,35 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
5961
5972
  clear: both;
5962
5973
  }
5963
5974
  }
5975
+
5976
+ .print\:ar-16-9,.print\:ar-16-9 > img {
5977
+ aspect-ratio: 16 / 9;
5978
+ }
5979
+
5980
+ @supports not (aspect-ratio: 16 / 9) {
5981
+ .print\:ar-16-9::before {
5982
+ float: left;
5983
+ padding-top: calc(9 / 16 * 100%);
5984
+ content: '';
5985
+ }
5986
+
5987
+ .print\:ar-16-9::after {
5988
+ display: block;
5989
+ content: '';
5990
+ clear: both;
5991
+ }
5992
+ .print\:ar-16-9::before {
5993
+ float: left;
5994
+ padding-top: calc(9 / 16 * 100%);
5995
+ content: '';
5996
+ }
5997
+
5998
+ .print\:ar-16-9::after {
5999
+ display: block;
6000
+ content: '';
6001
+ clear: both;
6002
+ }
6003
+ }
5964
6004
  }
5965
6005
  @media (min-width: 360px) {
5966
6006
 
@@ -1,3 +1,3 @@
1
- <div class="mx-1 sm:ml-[1.531rem] sm:mr-6.5 px-4 sm:pl-[1.531rem] sm:pr-6.5 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="mx-1 sm:ml-[1.531rem] sm:mr-6.5 px-4 sm:pl-[1.531rem] sm:pr-6.5 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 w-full sm:w-1/2 sm:float-left{{/if}}{{#if _cssClasses}} {{_cssClasses}}{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -1,4 +1,4 @@
1
- {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.showFullSize.isTrue}}
1
+ {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.showFullSize.isTrue _cssClass="copytext-ds__box"}}
2
2
 
3
3
  {{~> components/base/a11y/hiddenText _locaTag="story_infobox_intro_sr" ~}}
4
4
 
@@ -33,13 +33,13 @@
33
33
  {{#each this.paragraph}}
34
34
  {{#each this.text.split}}
35
35
  {{#if this.isText}}
36
- <p class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
36
+ <p class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
37
37
  {{/if}}
38
38
  {{#if this.isUl}}
39
- <ul class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
39
+ <ul class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
40
40
  {{/if}}
41
41
  {{#if this.isOl}}
42
- <ol class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
42
+ <ol class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
43
43
  {{/if}}
44
44
  {{/each}}
45
45
  {{/each}}
@@ -1,4 +1,4 @@
1
- {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.paragraphProperties.[0].showFullSize}}
1
+ {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.paragraphProperties.[0].showFullSize _cssClasses="copytext-ds__box"}}
2
2
 
3
3
  <span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
4
4
 
@@ -31,13 +31,13 @@
31
31
 
32
32
  {{#each this.text.split}}
33
33
  {{#if this.isText}}
34
- <p class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
34
+ <p class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
35
35
  {{/if}}
36
36
  {{#if this.isUl}}
37
- <ul class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
37
+ <ul class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
38
38
  {{/if}}
39
39
  {{#if this.isOl}}
40
- <ol class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
40
+ <ol class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
41
41
  {{/if}}
42
42
  {{/each}}
43
43
  {{~#block "subParagraphs"}}{{/block~}}
@@ -1,9 +1,9 @@
1
1
  {{#if this.isText}}
2
- <p class="mt-4 sm:mt-5 text-lg leading-normal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</p>
2
+ <p class="copytext-ds__paragraph mt-4 sm:mt-5 text-lg leading-normal sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</p>
3
3
  {{/if}}
4
4
  {{#if this.isUl}}
5
- <ul class="pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-disc copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ul>
5
+ <ul class="copytext-ds__paragraph pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-disc sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ul>
6
6
  {{/if}}
7
7
  {{#if this.isOl}}
8
- <ol class="pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-decimal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ol>
8
+ <ol class="copytext-ds__paragraph pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-decimal sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ol>
9
9
  {{/if}}
@@ -19,9 +19,9 @@
19
19
  {{else}}
20
20
 
21
21
  {{#if this.hasOneAuthor~}}
22
- <div class="flex items-center {{#if this.authorImage.isImage}}h-10{{else}}mb-1{{/if}}">
22
+ <div class="flex items-center">
23
23
  {{#if this.authorImage.isImage}}
24
- <div class="w-10 h-10 mr-4 basis-10 grow-0">
24
+ <div class="self-start w-10 h-10 mr-4 basis-10 grow-0">
25
25
  {{~> components/base/image/responsive_image this.authorImage
26
26
  _type="profile"
27
27
  _variant="ticker"
@@ -31,13 +31,16 @@
31
31
  </div>
32
32
  {{/if}}
33
33
  <div class="self-start text-xs sm480:text-sm basis-0 grow font-headingSerif text-gray-scorpion dark:text-text-dark">
34
- {{#unless _hideFrom }}Von{{/unless}}
35
- {{#if this.authorUrl~}}
36
- <a href="{{this.authorUrl}}" {{#with this.webviewAuthorUrl}}data-webviewurl="{{this}}"{{/with}} class="{{if (isUserConsentNeeded this.authorUrl) 'js-user-consent-needed ' ''}}ds-link text-link hover:underline dark:text-link-dark ">{{this.authorTitle}}</a>
37
- {{else}}
38
- {{this.authorTitle}}
39
- {{/if}}
40
- {{#with this.textAfterAuthor}} {{this}}{{/with}}
34
+ <div class="mb-1">
35
+ {{#unless _hideFrom }}Von{{/unless}}
36
+ {{#if this.authorUrl~}}
37
+ <a href="{{this.authorUrl}}" {{#with this.webviewAuthorUrl}}data-webviewurl="{{this}}"{{/with}} class="{{if (isUserConsentNeeded this.authorUrl) 'js-user-consent-needed ' ''}}ds-link text-link hover:underline dark:text-link-dark ">{{this.authorTitle}}</a>
38
+ {{else}}
39
+ {{this.authorTitle}}
40
+ {{/if}}
41
+ {{#with this.textAfterAuthor}} {{this}}{{/with}}
42
+ </div>
43
+ {{> components/page/components/publicationdate }}
41
44
  </div>
42
45
  </div>
43
46
  {{~/if}}
@@ -5,7 +5,13 @@
5
5
  {{> components/page/components/author _hideFrom=false }}
6
6
 
7
7
  {{#if _showDate }}
8
- {{> components/page/components/publicationdate }}
8
+ {{#if this.hasMoreThanOneAuthor}}
9
+ {{> components/page/components/publicationdate }}
10
+ {{else}}
11
+ {{#unless this.hasOneAuthor}}
12
+ {{> components/page/components/publicationdate }}
13
+ {{/unless}}
14
+ {{/if}}
9
15
  {{/if}}
10
16
 
11
17
  {{> components/page/components/commentinfo }}
@@ -1,4 +1,4 @@
1
- <div class="{{#unless this.hasMoreThanOneAuthor}}{{#if this.authorImage.isImage}}-mt-[18px] ml-14 {{/if}}{{/unless}}text-xs sm480:text-sm font-headingSerif text-gray-scorpion dark:text-text-dark">
1
+ <div class="text-xs sm480:text-sm font-headingSerif text-gray-scorpion dark:text-text-dark">
2
2
 
3
3
  {{#with this.documentModificationDate~}}
4
4
 
@@ -15,7 +15,7 @@
15
15
  _cssClassCaption="mx-5 md:mx-0"
16
16
  _type="story"
17
17
  _variant=(if this.showSquareImage.isTrue "100-top-sb-1x1" "100-top-sb")
18
- _pictureAddClass=(if this.showSquareImage.isTrue "grid ar-1-1 md:ar-16-9" "ar-16-9")
18
+ _pictureAddClass=(if this.showSquareImage.isTrue "grid ar-1-1 md:ar-16-9 print:ar-16-9" "ar-16-9")
19
19
  _isWebview=../../../_webview-adjust_context
20
20
  _noDelay=true}}
21
21
  {{/if}}
@@ -1,3 +1,3 @@
1
- <div class="mx-1 sm:ml-[1.531rem] sm:mr-6.5 px-4 sm:pl-[1.531rem] sm:pr-6.5 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="mx-1 sm:ml-[1.531rem] sm:mr-6.5 px-4 sm:pl-[1.531rem] sm:pr-6.5 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 w-full sm:w-1/2 sm:float-left{{/if}}{{#if _cssClasses}} {{_cssClasses}}{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -1,4 +1,4 @@
1
- {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.showFullSize.isTrue}}
1
+ {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.showFullSize.isTrue _cssClass="copytext-ds__box"}}
2
2
 
3
3
  {{~> components/base/a11y/hiddenText _locaTag="story_infobox_intro_sr" ~}}
4
4
 
@@ -33,13 +33,13 @@
33
33
  {{#each this.paragraph}}
34
34
  {{#each this.text.split}}
35
35
  {{#if this.isText}}
36
- <p class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
36
+ <p class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
37
37
  {{/if}}
38
38
  {{#if this.isUl}}
39
- <ul class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
39
+ <ul class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
40
40
  {{/if}}
41
41
  {{#if this.isOl}}
42
- <ol class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
42
+ <ol class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
43
43
  {{/if}}
44
44
  {{/each}}
45
45
  {{/each}}
@@ -1,4 +1,4 @@
1
- {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.paragraphProperties.[0].showFullSize}}
1
+ {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.paragraphProperties.[0].showFullSize _cssClasses="copytext-ds__box"}}
2
2
 
3
3
  <span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
4
4
 
@@ -31,13 +31,13 @@
31
31
 
32
32
  {{#each this.text.split}}
33
33
  {{#if this.isText}}
34
- <p class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
34
+ <p class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
35
35
  {{/if}}
36
36
  {{#if this.isUl}}
37
- <ul class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
37
+ <ul class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
38
38
  {{/if}}
39
39
  {{#if this.isOl}}
40
- <ol class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
40
+ <ol class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
41
41
  {{/if}}
42
42
  {{/each}}
43
43
  {{~#block "subParagraphs"}}{{/block~}}
@@ -1,9 +1,9 @@
1
1
  {{#if this.isText}}
2
- <p class="mt-4 sm:mt-5 text-lg leading-normal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</p>
2
+ <p class="copytext-ds__paragraph mt-4 sm:mt-5 text-lg leading-normal sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</p>
3
3
  {{/if}}
4
4
  {{#if this.isUl}}
5
- <ul class="pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-disc copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ul>
5
+ <ul class="copytext-ds__paragraph pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-disc sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ul>
6
6
  {{/if}}
7
7
  {{#if this.isOl}}
8
- <ol class="pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-decimal copytextParagraphDS sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ol>
8
+ <ol class="copytext-ds__paragraph pl-9 mt-4 sm:mt-5 overflow-hidden text-lg leading-normal list-decimal sm480:text-xl lg:leading-7.5 dark:text-text-dark">{{{this.text}}}</ol>
9
9
  {{/if}}
@@ -19,9 +19,9 @@
19
19
  {{else}}
20
20
 
21
21
  {{#if this.hasOneAuthor~}}
22
- <div class="flex items-center {{#if this.authorImage.isImage}}h-10{{else}}mb-1{{/if}}">
22
+ <div class="flex items-center">
23
23
  {{#if this.authorImage.isImage}}
24
- <div class="w-10 h-10 mr-4 basis-10 grow-0">
24
+ <div class="self-start w-10 h-10 mr-4 basis-10 grow-0">
25
25
  {{~> components/base/image/responsive_image this.authorImage
26
26
  _type="profile"
27
27
  _variant="ticker"
@@ -31,13 +31,16 @@
31
31
  </div>
32
32
  {{/if}}
33
33
  <div class="self-start text-xs sm480:text-sm basis-0 grow font-headingSerif text-gray-scorpion dark:text-text-dark">
34
- {{#unless _hideFrom }}Von{{/unless}}
35
- {{#if this.authorUrl~}}
36
- <a href="{{this.authorUrl}}" {{#with this.webviewAuthorUrl}}data-webviewurl="{{this}}"{{/with}} class="{{if (isUserConsentNeeded this.authorUrl) 'js-user-consent-needed ' ''}}ds-link text-link hover:underline dark:text-link-dark ">{{this.authorTitle}}</a>
37
- {{else}}
38
- {{this.authorTitle}}
39
- {{/if}}
40
- {{#with this.textAfterAuthor}} {{this}}{{/with}}
34
+ <div class="mb-1">
35
+ {{#unless _hideFrom }}Von{{/unless}}
36
+ {{#if this.authorUrl~}}
37
+ <a href="{{this.authorUrl}}" {{#with this.webviewAuthorUrl}}data-webviewurl="{{this}}"{{/with}} class="{{if (isUserConsentNeeded this.authorUrl) 'js-user-consent-needed ' ''}}ds-link text-link hover:underline dark:text-link-dark ">{{this.authorTitle}}</a>
38
+ {{else}}
39
+ {{this.authorTitle}}
40
+ {{/if}}
41
+ {{#with this.textAfterAuthor}} {{this}}{{/with}}
42
+ </div>
43
+ {{> components/page/components/publicationdate }}
41
44
  </div>
42
45
  </div>
43
46
  {{~/if}}
@@ -5,7 +5,13 @@
5
5
  {{> components/page/components/author _hideFrom=false }}
6
6
 
7
7
  {{#if _showDate }}
8
- {{> components/page/components/publicationdate }}
8
+ {{#if this.hasMoreThanOneAuthor}}
9
+ {{> components/page/components/publicationdate }}
10
+ {{else}}
11
+ {{#unless this.hasOneAuthor}}
12
+ {{> components/page/components/publicationdate }}
13
+ {{/unless}}
14
+ {{/if}}
9
15
  {{/if}}
10
16
 
11
17
  {{> components/page/components/commentinfo }}
@@ -1,4 +1,4 @@
1
- <div class="{{#unless this.hasMoreThanOneAuthor}}{{#if this.authorImage.isImage}}-mt-[18px] ml-14 {{/if}}{{/unless}}text-xs sm480:text-sm font-headingSerif text-gray-scorpion dark:text-text-dark">
1
+ <div class="text-xs sm480:text-sm font-headingSerif text-gray-scorpion dark:text-text-dark">
2
2
 
3
3
  {{#with this.documentModificationDate~}}
4
4
 
@@ -15,7 +15,7 @@
15
15
  _cssClassCaption="mx-5 md:mx-0"
16
16
  _type="story"
17
17
  _variant=(if this.showSquareImage.isTrue "100-top-sb-1x1" "100-top-sb")
18
- _pictureAddClass=(if this.showSquareImage.isTrue "grid ar-1-1 md:ar-16-9" "ar-16-9")
18
+ _pictureAddClass=(if this.showSquareImage.isTrue "grid ar-1-1 md:ar-16-9 print:ar-16-9" "ar-16-9")
19
19
  _isWebview=../_webview
20
20
  _noDelay=true}}
21
21
  {{/if}}
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.90.2",
9
+ "version": "1.91.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -310,6 +310,24 @@ article.indexTextDS .indexTextHighlighted .link {
310
310
  }
311
311
 
312
312
  /* -----------------------------COPYTEXT ---------------------------- */
313
- .copytextParagraphDS .link {
314
- @apply underline text-link decoration-1 hover:decoration-1 dark:text-link-dark ds-link;
315
- }
313
+ .copytext-ds {
314
+ &__link {
315
+ @apply underline text-link decoration-1 hover:decoration-1 dark:text-link-dark ds-link;
316
+ }
317
+
318
+ &__icon {
319
+ @apply inline -mt-0.5 fill-current ml-1;
320
+ }
321
+
322
+ &__box {
323
+ .copytext-ds__icon {
324
+ @apply w-5 h-5;
325
+ }
326
+ }
327
+
328
+ &__paragraph {
329
+ .copytext-ds__icon {
330
+ @apply w-6 h-6;
331
+ }
332
+ }
333
+ }
@@ -4,8 +4,8 @@
4
4
  "split": [
5
5
  {
6
6
  "isText": true,
7
- "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."
7
+ "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='copytext-ds__link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."
8
8
  }
9
- ]
9
+ ]
10
10
  }
11
- }
11
+ }
@@ -11,6 +11,7 @@
11
11
  "time": "19:30"
12
12
  },
13
13
  "authorTitle": "Steffen Rebhahn",
14
+ "textAfterAuthor": "(Redaktion hessenschau.de)",
14
15
  "authorImage": {
15
16
  "@->jsoninclude": "page/story/story_images.inc.json",
16
17
  "@->contentpath": "author",
@@ -15,6 +15,7 @@
15
15
  "quantity": "117"
16
16
  },
17
17
  "authorTitle": "Steffen Rebhahn",
18
+ "textAfterAuthor": "(Redaktion hessenschau.de)",
18
19
  "authorImage": {
19
20
  "@->jsoninclude": "page/story/story_images.inc.json",
20
21
  "@->contentpath": "author",
@@ -11,6 +11,7 @@
11
11
  "time": "19:30"
12
12
  },
13
13
  "authorTitle": "Steffen Rebhahn",
14
+ "textAfterAuthor": "(Redaktion hessenschau.de)",
14
15
  "authorUrl": "/author-url",
15
16
  "webviewAuthorUrl": "webview-author-url",
16
17
  "socialSharing": {
@@ -1,3 +1,3 @@
1
- <div class="mx-1 sm:ml-[1.531rem] sm:mr-6.5 px-4 sm:pl-[1.531rem] sm:pr-6.5 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 w-full sm:w-1/2 sm:float-left{{/if}}">
1
+ <div class="mx-1 sm:ml-[1.531rem] sm:mr-6.5 px-4 sm:pl-[1.531rem] sm:pr-6.5 border-l-[3px] border-gray-boulder overflow-auto {{#if _showFullsize}}[&+h2]:mt-4 [&+.hr-copytext-teaser-half]:mt-4 clear-both mt-12 mb-8 sm:[&+.hr-copytext-teaser-half]:mt-0 sm:mt-14 sm:mb-14 {{else}}hr-copytext-teaser-half mb-8 sm:mb-5 sm:mt-6 mt-12 w-full sm:w-1/2 sm:float-left{{/if}}{{#if _cssClasses}} {{_cssClasses}}{{/if}}">
2
2
  {{~> @partial-block ~}}
3
3
  </div>
@@ -1,4 +1,4 @@
1
- {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.showFullSize.isTrue}}
1
+ {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.showFullSize.isTrue _cssClass="copytext-ds__box"}}
2
2
 
3
3
  {{~> components/base/a11y/hiddenText _locaTag="story_infobox_intro_sr" ~}}
4
4
 
@@ -33,13 +33,13 @@
33
33
  {{#each this.paragraph}}
34
34
  {{#each this.text.split}}
35
35
  {{#if this.isText}}
36
- <p class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
36
+ <p class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
37
37
  {{/if}}
38
38
  {{#if this.isUl}}
39
- <ul class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
39
+ <ul class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
40
40
  {{/if}}
41
41
  {{#if this.isOl}}
42
- <ol class="copytextParagraphDS {{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
42
+ <ol class="{{#if ../../../this.title}} mt-4{{else}}{{#if ../../../this.copytextParagraph.[0].paragraphBoxItem}} mt-4{{else}}{{#if @../first}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
43
43
  {{/if}}
44
44
  {{/each}}
45
45
  {{/each}}
@@ -1 +1 @@
1
- {"copytext":{"title":"Contentbox: Volle Breite, mit Bild über halbe Breite und Ü","showFullSize":{"isTrue":true},"copytextParagraph":[{"paragraphBoxItem":{"isImage":true,"showFullSize":{"isTrue":false},"showPortrait":{"isTrue":false},"caption":"Zum Glück ragt Hessens höchster Berg, die Wasserkuppe, gelegentlich aus der derzeitigen Nebelsuppe heraus, und so gelang mit dem Sternenteleskop ein Blick auf den magischen Rosetten-Nebel, einer Himmelsregion, in der gerade neue Sterne geboren werden. - Diese spektakuläre Momentaufnahme hat uns hessenschau.de-Nutzer Michael Keusgen zukommen lassen","copyrightWithLinks":"Karsten Hufer","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/buchmesse-fahnen-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/buchmesse-fahnen-102_v-16to9__small.jpg 320w, images/buchmesse-fahnen-102_v-16to9__medium.jpg 480w, images/buchmesse-fahnen-102_v-16to9__medium__extended.jpg 640w, images/buchmesse-fahnen-102_v-16to9.jpg 960w, images/buchmesse-fahnen-102_v-16to9__retina.jpg 1920w"}]}}}],"copytext":{"paragraph":[{"isParagraph":true,"text":{"split":[{"isText":true,"text":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."}]}}]}}}
1
+ {"copytext":{"title":"Contentbox: Volle Breite, mit Bild über halbe Breite und Ü","showFullSize":{"isTrue":true},"copytextParagraph":[{"paragraphBoxItem":{"isImage":true,"showFullSize":{"isTrue":false},"showPortrait":{"isTrue":false},"caption":"Zum Glück ragt Hessens höchster Berg, die Wasserkuppe, gelegentlich aus der derzeitigen Nebelsuppe heraus, und so gelang mit dem Sternenteleskop ein Blick auf den magischen Rosetten-Nebel, einer Himmelsregion, in der gerade neue Sterne geboren werden. - Diese spektakuläre Momentaufnahme hat uns hessenschau.de-Nutzer Michael Keusgen zukommen lassen","copyrightWithLinks":"Karsten Hufer","imageJson":"Beispiel JSON","responsiveImage":{"asPicture":false,"asImage":true,"fallback":"images/buchmesse-fahnen-102_v-16to9__medium.jpg","sources":[{"sizes":"(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw","srcset":"images/buchmesse-fahnen-102_v-16to9__small.jpg 320w, images/buchmesse-fahnen-102_v-16to9__medium.jpg 480w, images/buchmesse-fahnen-102_v-16to9__medium__extended.jpg 640w, images/buchmesse-fahnen-102_v-16to9.jpg 960w, images/buchmesse-fahnen-102_v-16to9__retina.jpg 1920w"}]}}}],"copytext":{"paragraph":[{"isParagraph":true,"text":{"split":[{"isText":true,"text":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod <strong>tempor invidunt</strong> ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata <i>sanctus est Lorem ipsum</i> dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut <a href='#' class='copytext-ds__link'>labore et dolore</a> magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod."}]}}]}}}
@@ -1,4 +1,4 @@
1
- {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.paragraphProperties.[0].showFullSize}}
1
+ {{#>components/content/copytext/components/common/paragraphbox_wrapper _showFullsize=this.paragraphProperties.[0].showFullSize _cssClasses="copytext-ds__box"}}
2
2
 
3
3
  <span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
4
4
 
@@ -31,13 +31,13 @@
31
31
 
32
32
  {{#each this.text.split}}
33
33
  {{#if this.isText}}
34
- <p class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
34
+ <p class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} text-base sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</p>
35
35
  {{/if}}
36
36
  {{#if this.isUl}}
37
- <ul class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
37
+ <ul class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-disc sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ul>
38
38
  {{/if}}
39
39
  {{#if this.isOl}}
40
- <ol class="copytextParagraphDS {{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
40
+ <ol class="{{#if ../this.paragraphProperties.[0].title}} mt-4{{else}}{{#if ../this.paragraphBoxItem}} mt-4{{else}}{{#if @first}} -mt-0.5{{else}} mt-4{{/if}}{{/if}}{{/if}} overflow-hidden pl-5 text-base list-decimal sm480:text-lg sm480:leading-normal dark:text-text-dark">{{{this.text}}}</ol>
41
41
  {{/if}}
42
42
  {{/each}}
43
43
  {{~#block "subParagraphs"}}{{/block~}}