hr-design-system-handlebars 1.52.9 → 1.52.11

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 (56) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +1 -0
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +1 -0
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +1 -0
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +1 -0
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +1 -0
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  15. package/dist/assets/index.css +52 -3
  16. package/dist/views/components/content/copytext/components/image/figcaption.hbs +33 -0
  17. package/dist/views/components/content/copytext/components/image/figure.hbs +10 -0
  18. package/dist/views/components/content/copytext/components/image/image.hbs +32 -0
  19. package/dist/views/components/content/copytext/components/jobposting.hbs +15 -5
  20. package/dist/views/components/content/copytext/copytext.hbs +1 -1
  21. package/dist/views_static/components/content/copytext/components/image/figcaption.hbs +33 -0
  22. package/dist/views_static/components/content/copytext/components/image/figure.hbs +10 -0
  23. package/dist/views_static/components/content/copytext/components/image/image.hbs +32 -0
  24. package/dist/views_static/components/content/copytext/components/jobposting.hbs +15 -5
  25. package/dist/views_static/components/content/copytext/copytext.hbs +1 -1
  26. package/package.json +1 -1
  27. package/src/assets/brand/_default/conf/locatags.json +1 -0
  28. package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  29. package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
  30. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  31. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  32. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  33. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  34. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  35. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  36. package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
  37. package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
  38. package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
  39. package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
  40. package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  41. package/src/assets/fixtures/content/copytext/copytext.inc.json +134 -1
  42. package/src/assets/fixtures/content/copytext/copytext_image.json +4 -0
  43. package/src/assets/fixtures/content/copytext/copytext_jobposting.json +4 -0
  44. package/src/assets/fixtures/teaser/teaser_images.inc.json +44 -0
  45. package/src/stories/views/components/content/copytext/components/image/figcaption.hbs +33 -0
  46. package/src/stories/views/components/content/copytext/components/image/figure.hbs +10 -0
  47. package/src/stories/views/components/content/copytext/components/image/image.hbs +32 -0
  48. package/src/stories/views/components/content/copytext/components/jobposting.hbs +15 -5
  49. package/src/stories/views/components/content/copytext/copytext.hbs +1 -1
  50. package/src/stories/views/components/content/copytext/copytext.stories.js +14 -0
  51. package/src/stories/views/components/content/copytext/fixtures/copytext_image.json +1 -0
  52. package/src/stories/views/components/content/copytext/fixtures/copytext_jobposting.json +1 -0
  53. package/tailwind.config.js +2 -0
  54. package/dist/views/components/content/copytext/components/image.hbs +0 -41
  55. package/dist/views_static/components/content/copytext/components/image.hbs +0 -41
  56. package/src/stories/views/components/content/copytext/components/image.hbs +0 -41
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # v1.52.11 (Wed Jan 24 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - DPE-2698: add copytext-image component [#813](https://github.com/mumprod/hr-design-system-handlebars/pull/813) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
6
+
7
+ #### Authors: 2
8
+
9
+ - Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
10
+ - selbaciri (saad.elbaciri@hr.de)
11
+
12
+ ---
13
+
14
+ # v1.52.10 (Tue Jan 23 2024)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - add copytext-jobposting-component [#812](https://github.com/mumprod/hr-design-system-handlebars/pull/812) ([@hanswurstsalat](https://github.com/hanswurstsalat))
19
+
20
+ #### Authors: 1
21
+
22
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
23
+
24
+ ---
25
+
1
26
  # v1.52.9 (Mon Jan 22 2024)
2
27
 
3
28
  #### 🐛 Bug Fix
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild © ",
34
35
  "gallery_image_copyright": "Bild © {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -1187,6 +1187,9 @@ article.indexText ul {
1187
1187
  .float-left {
1188
1188
  float: left;
1189
1189
  }
1190
+ .float-none {
1191
+ float: none;
1192
+ }
1190
1193
  .clear-both {
1191
1194
  clear: both;
1192
1195
  }
@@ -1205,6 +1208,10 @@ article.indexText ul {
1205
1208
  .m-4 {
1206
1209
  margin: 1rem;
1207
1210
  }
1211
+ .-mx-4 {
1212
+ margin-left: -1rem;
1213
+ margin-right: -1rem;
1214
+ }
1208
1215
  .mx-0 {
1209
1216
  margin-left: 0px;
1210
1217
  margin-right: 0px;
@@ -1419,6 +1426,9 @@ article.indexText ul {
1419
1426
  .mt-4 {
1420
1427
  margin-top: 1rem;
1421
1428
  }
1429
+ .mt-4\.5 {
1430
+ margin-top: 1.125rem;
1431
+ }
1422
1432
  .mt-5 {
1423
1433
  margin-top: 1.25rem;
1424
1434
  }
@@ -1461,6 +1471,12 @@ article.indexText ul {
1461
1471
  -webkit-box-orient: vertical;
1462
1472
  -webkit-line-clamp: 4;
1463
1473
  }
1474
+ .line-clamp-none {
1475
+ overflow: visible;
1476
+ display: block;
1477
+ -webkit-box-orient: horizontal;
1478
+ -webkit-line-clamp: none;
1479
+ }
1464
1480
  .block {
1465
1481
  display: block;
1466
1482
  }
@@ -1826,6 +1842,11 @@ article.indexText ul {
1826
1842
  -moz-appearance: none;
1827
1843
  appearance: none;
1828
1844
  }
1845
+ .break-inside-avoid {
1846
+ page-break-inside: avoid;
1847
+ -moz-column-break-inside: avoid;
1848
+ break-inside: avoid;
1849
+ }
1829
1850
  .grid-cols-12 {
1830
1851
  grid-template-columns: repeat(12, minmax(0, 1fr));
1831
1852
  }
@@ -3228,7 +3249,7 @@ article.indexText ul {
3228
3249
  border-bottom-color: var(--color-secondary-ds);
3229
3250
  }
3230
3251
  .counter-reset {
3231
- counter-reset: cnt1705918469534;
3252
+ counter-reset: cnt1706086838048;
3232
3253
  }
3233
3254
  .hyphens-auto {
3234
3255
  -webkit-hyphens: auto;
@@ -3530,7 +3551,7 @@ article.indexText ul {
3530
3551
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3531
3552
  }
3532
3553
  .-ordered {
3533
- counter-increment: cnt1705918469534 1;
3554
+ counter-increment: cnt1706086838048 1;
3534
3555
  }
3535
3556
  .-ordered::before {
3536
3557
  position: absolute;
@@ -3546,7 +3567,7 @@ article.indexText ul {
3546
3567
  letter-spacing: .0125em;
3547
3568
  --tw-text-opacity: 1;
3548
3569
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3549
- content: counter(cnt1705918469534);
3570
+ content: counter(cnt1706086838048);
3550
3571
  }
3551
3572
  /*! ****************************/
3552
3573
  /*! DataPolicy stuff */
@@ -5362,6 +5383,15 @@ article.indexText ul {
5362
5383
  }
5363
5384
  @media (min-width: 480px) {
5364
5385
 
5386
+ .sm480\:float-left {
5387
+ float: left;
5388
+ }
5389
+
5390
+ .sm480\:mx-0 {
5391
+ margin-left: 0px;
5392
+ margin-right: 0px;
5393
+ }
5394
+
5365
5395
  .sm480\:mx-10 {
5366
5396
  margin-left: 2.5rem;
5367
5397
  margin-right: 2.5rem;
@@ -5380,6 +5410,10 @@ article.indexText ul {
5380
5410
  margin-left: 2rem;
5381
5411
  }
5382
5412
 
5413
+ .sm480\:mr-4 {
5414
+ margin-right: 1rem;
5415
+ }
5416
+
5383
5417
  .sm480\:mt-4 {
5384
5418
  margin-top: 1rem;
5385
5419
  }
@@ -5388,10 +5422,18 @@ article.indexText ul {
5388
5422
  margin-top: 1.25rem;
5389
5423
  }
5390
5424
 
5425
+ .sm480\:mt-5\.5 {
5426
+ margin-top: 1.375rem;
5427
+ }
5428
+
5391
5429
  .sm480\:h-8 {
5392
5430
  height: 2rem;
5393
5431
  }
5394
5432
 
5433
+ .sm480\:w-1\/2 {
5434
+ width: 50%;
5435
+ }
5436
+
5395
5437
  .sm480\:w-2\/3 {
5396
5438
  width: 66.666667%;
5397
5439
  }
@@ -6008,6 +6050,13 @@ article.indexText ul {
6008
6050
  -webkit-line-clamp: 4;
6009
6051
  }
6010
6052
 
6053
+ .md\:line-clamp-none {
6054
+ overflow: visible;
6055
+ display: block;
6056
+ -webkit-box-orient: horizontal;
6057
+ -webkit-line-clamp: none;
6058
+ }
6059
+
6011
6060
  .md\:block {
6012
6061
  display: block;
6013
6062
  }
@@ -0,0 +1,33 @@
1
+ <figcaption class="flex items-start mx-4 mt-3 text-xs sm480:mx-0 sm480:mt-4 sm480:text-sm font-copy"
2
+ x-data="{
3
+ open: false,
4
+ truncated: true,
5
+ init() {
6
+ this.$nextTick(() => {
7
+ if (this.$refs.caption.scrollHeight === this.$refs.caption.clientHeight) {
8
+ this.truncated = false;
9
+ }
10
+ });
11
+ }
12
+ }"
13
+ @resize.window="open = false; $refs.caption.scrollHeight === $refs.caption.clientHeight ? truncated = false : truncated = true">
14
+ <div class="dark:text-text-dark overflow-anywhere hyphens-auto" x-ref="caption"
15
+ {{#if this.showFullSize.isTrue}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
+ {{#if this.caption}}
17
+ {{~#unless _hideCaption~}}
18
+ <span>
19
+ {{this.caption}}
20
+ </span>
21
+ {{~/unless~}}
22
+ {{/if}}
23
+ <span class="text-gray-scorpion dark:text-text-dark">
24
+ {{~loca "figures_copyright"}} {{{copyrightWithLinks}}}
25
+ </span>
26
+ </div>
27
+ <template x-if="truncated">
28
+ <button x-cloak type="button">
29
+ <span x-show="!open" @click.prevent="open = true">{{~> components/base/image/icon _icon="arrow-down" _addClass="m-2 mt-4.5 sm480:mt-5.5 h-3 w-3 fill-link dark:fill-link-dark" _iconmap="icons"~}}</span>
30
+ <span x-show="open" @click.prevent="open = false">{{~> components/base/image/icon _icon="arrow-up" _addClass="m-2 mt-4.5 sm480:mt-5.5 h-3 w-3 fill-link dark:fill-link-dark" _iconmap="icons"~}}</span>
31
+ </button>
32
+ </template>
33
+ </figcaption>
@@ -0,0 +1,10 @@
1
+ <figure class="relative mt-6 -mx-4 sm480:mx-0 {{#if _cssClasses}} {{_cssClasses}}{{/if}} {{_cssClass}}">
2
+ {{#if _noAr }}
3
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
4
+ {{else}}
5
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
6
+ {{/if}}
7
+ {{#unless _voting-option}}
8
+ {{~> components/content/copytext/components/image/figcaption~}}
9
+ {{/unless}}
10
+ </figure>
@@ -0,0 +1,32 @@
1
+ {{#if this.showPortrait.isTrue }}
2
+ {{#if this.showFullSize.isTrue }}
3
+ {{> components/content/copytext/components/image/figure
4
+ _type="story"
5
+ _variant="100-copytext-portrait"
6
+ _noAr="true"
7
+ _isWebview=../../_isWebview}}
8
+ {{else}}
9
+ {{> components/content/copytext/components/image/figure
10
+ _cssClass="sm480:mr-4 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
11
+ _type="story"
12
+ _variant="copytext-portrait"
13
+ _noAr="true"
14
+ _isWebview=../../_isWebview}}
15
+ {{/if}}
16
+ {{else}}
17
+ {{#if this.showFullSize.isTrue}}
18
+ {{> components/content/copytext/components/image/figure
19
+ _type="story"
20
+ _variant="100-copytext"
21
+ _pictureAddClass="ar-16-9"
22
+ _isWebview=../../_isWebview}}
23
+ {{else}}
24
+ {{> components/content/copytext/components/image/figure
25
+ _cssClass="sm480:mr-4 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
26
+ _type="story"
27
+ _variant="copytext"
28
+ _pictureAddClass="ar-16-9"
29
+ _isWebview=../../_isWebview}}
30
+ {{/if}}
31
+ {{/if}}
32
+
@@ -1,5 +1,15 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Jobposting-component</div>
3
- {{~else~}}
4
- {{~> modules/story/paragraphs/jobposting ~}}
5
- {{~/if~}}
1
+ {{#with this.paragraphProperties.[0]}}
2
+ {{#with this.jobDescription}}
3
+ {{#each this.split}}
4
+ {{#if this.isText}}
5
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
6
+ {{/if}}
7
+ {{#if this.isUl}}
8
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
9
+ {{/if}}
10
+ {{#if this.isOl}}
11
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
12
+ {{/if}}
13
+ {{/each}}
14
+ {{/with}}
15
+ {{/with}}
@@ -7,7 +7,7 @@
7
7
  {{#unless this.isInfoBox}}
8
8
  {{~#with this.paragraphBoxItem }}
9
9
  {{~#if this.isImage}}
10
- {{> components/content/copytext/components/image }}
10
+ {{~> components/content/copytext/components/image/image}}
11
11
  {{/if~}}
12
12
  {{~#if this.isContentBox}}
13
13
  {{~> components/article/components/contentbox/contentbox ~}}
@@ -0,0 +1,33 @@
1
+ <figcaption class="flex items-start mx-4 mt-3 text-xs sm480:mx-0 sm480:mt-4 sm480:text-sm font-copy"
2
+ x-data="{
3
+ open: false,
4
+ truncated: true,
5
+ init() {
6
+ this.$nextTick(() => {
7
+ if (this.$refs.caption.scrollHeight === this.$refs.caption.clientHeight) {
8
+ this.truncated = false;
9
+ }
10
+ });
11
+ }
12
+ }"
13
+ @resize.window="open = false; $refs.caption.scrollHeight === $refs.caption.clientHeight ? truncated = false : truncated = true">
14
+ <div class="dark:text-text-dark overflow-anywhere hyphens-auto" x-ref="caption"
15
+ {{#if this.showFullSize.isTrue}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
+ {{#if this.caption}}
17
+ {{~#unless _hideCaption~}}
18
+ <span>
19
+ {{this.caption}}
20
+ </span>
21
+ {{~/unless~}}
22
+ {{/if}}
23
+ <span class="text-gray-scorpion dark:text-text-dark">
24
+ {{~loca "figures_copyright"}} {{{copyrightWithLinks}}}
25
+ </span>
26
+ </div>
27
+ <template x-if="truncated">
28
+ <button x-cloak type="button">
29
+ <span x-show="!open" @click.prevent="open = true">{{~> components/base/image/icon _icon="arrow-down" _addClass="m-2 mt-4.5 sm480:mt-5.5 h-3 w-3 fill-link dark:fill-link-dark" _iconmap="icons"~}}</span>
30
+ <span x-show="open" @click.prevent="open = false">{{~> components/base/image/icon _icon="arrow-up" _addClass="m-2 mt-4.5 sm480:mt-5.5 h-3 w-3 fill-link dark:fill-link-dark" _iconmap="icons"~}}</span>
31
+ </button>
32
+ </template>
33
+ </figcaption>
@@ -0,0 +1,10 @@
1
+ <figure class="relative mt-6 -mx-4 sm480:mx-0 {{#if _cssClasses}} {{_cssClasses}}{{/if}} {{_cssClass}}">
2
+ {{#if _noAr }}
3
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
4
+ {{else}}
5
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
6
+ {{/if}}
7
+ {{#unless _voting-option}}
8
+ {{~> components/content/copytext/components/image/figcaption~}}
9
+ {{/unless}}
10
+ </figure>
@@ -0,0 +1,32 @@
1
+ {{#if this.showPortrait.isTrue }}
2
+ {{#if this.showFullSize.isTrue }}
3
+ {{> components/content/copytext/components/image/figure
4
+ _type="story"
5
+ _variant="100-copytext-portrait"
6
+ _noAr="true"
7
+ _isWebview=../../_isWebview}}
8
+ {{else}}
9
+ {{> components/content/copytext/components/image/figure
10
+ _cssClass="sm480:mr-4 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
11
+ _type="story"
12
+ _variant="copytext-portrait"
13
+ _noAr="true"
14
+ _isWebview=../../_isWebview}}
15
+ {{/if}}
16
+ {{else}}
17
+ {{#if this.showFullSize.isTrue}}
18
+ {{> components/content/copytext/components/image/figure
19
+ _type="story"
20
+ _variant="100-copytext"
21
+ _pictureAddClass="ar-16-9"
22
+ _isWebview=../../_isWebview}}
23
+ {{else}}
24
+ {{> components/content/copytext/components/image/figure
25
+ _cssClass="sm480:mr-4 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
26
+ _type="story"
27
+ _variant="copytext"
28
+ _pictureAddClass="ar-16-9"
29
+ _isWebview=../../_isWebview}}
30
+ {{/if}}
31
+ {{/if}}
32
+
@@ -1,5 +1,15 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Jobposting-component</div>
3
- {{~else~}}
4
- {{~> modules/story/paragraphs/jobposting ~}}
5
- {{~/if~}}
1
+ {{#with this.paragraphProperties.[0]}}
2
+ {{#with this.jobDescription}}
3
+ {{#each this.split}}
4
+ {{#if this.isText}}
5
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
6
+ {{/if}}
7
+ {{#if this.isUl}}
8
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
9
+ {{/if}}
10
+ {{#if this.isOl}}
11
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
12
+ {{/if}}
13
+ {{/each}}
14
+ {{/with}}
15
+ {{/with}}
@@ -7,7 +7,7 @@
7
7
  {{#unless this.isInfoBox}}
8
8
  {{~#with this.paragraphBoxItem }}
9
9
  {{~#if this.isImage}}
10
- {{> components/content/copytext/components/image }}
10
+ {{~> components/content/copytext/components/image/image}}
11
11
  {{/if~}}
12
12
  {{~#if this.isContentBox}}
13
13
  {{~> components/article/components/contentbox/contentbox ~}}
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.52.9",
9
+ "version": "1.52.11",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -31,6 +31,7 @@
31
31
  "event_status_gets_update": "Wird aktualisiert!",
32
32
  "feature_box_anchor": "Livestream Player anspringen",
33
33
  "featured_content_headline": "Mehr zum Thema:",
34
+ "figures_copyright": "Bild &copy; ",
34
35
  "gallery_image_copyright": "Bild &copy; {0}",
35
36
  "geotag_buddies_title": "Weitere Beiträge aus der Umgebung",
36
37
  "geotag_metadescription_prefix": "",
@@ -694,5 +694,138 @@
694
694
  ]
695
695
  }
696
696
  ]
697
- }
697
+ },
698
+ "copytext_jobposting": {
699
+ "copytextParagraph": [
700
+ {
701
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
702
+ "isHeadline": true,
703
+ "text": "Copytext mit Jobposting"
704
+ },
705
+ {
706
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
707
+ "isParagraph": true,
708
+ "text": {
709
+ "split": [
710
+ {
711
+ "isText": true,
712
+ "text": "Digitale Produkte, Fernsehen, Radio– wir sind Hessens größtes Medienunternehmen. Als Mitglied der ARD sind wir stolz darauf, mit unseren vielfältigen und qualitativ hochwertigen Programmangeboten wesentlich zur Meinungs- und Medienvielfalt in Deutschland beizutragen. Zur Verstärkung unseres Teams suchen wir befristet für zunächst 3 Jahre eine*n innovative*n"
713
+ }
714
+ ]
715
+ }
716
+ },
717
+ {
718
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
719
+ "isHeadline": true,
720
+ "text": "Java-Entwickler*in"
721
+ },
722
+ {
723
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
724
+ "isJobposting": true,
725
+ "text": "Wo brauche ich noch Corona-Test?",
726
+ "paragraphProperties": [
727
+ {
728
+ "jobDescription": {
729
+ "split": [
730
+ {
731
+ "isText": true,
732
+ "text": "Du hast Spaß an neuen Technologien und bist ein*e Experte*in in der Java-Entwicklung? Du suchst spannende und vielfältige Projekte in einem dynamischen Medienumfeld? Dann vernetze gemeinsam mit uns die Mediensysteme der ARD."
733
+ },
734
+ {
735
+ "isUl": true,
736
+ "text": "<li>Du hast Spaß daran selbstorganisiert in einem agilen Umfeld und interdisziplinären Projektteams zu arbeiten.</li><li>Du bringst ein abgeschlossenes informatikorientiertes Studium bzw. eine vergleichbare Qualifikation mit und verfügst über Berufserfahrung im Bereich Softwareentwicklung.</li><li>Sehr gute Java-Kenntnisse, Kenntnisse in modernen Schnittstellentechnologien und Datenbanksystemen setzen wir voraus.</li>"
737
+ },
738
+ {
739
+ "isOl": true,
740
+ "text": "<li>Du implementierst als Full-Stack-Entwickler*in Features vertikal durch alle Softwareschichten.</li><li>Im Team entwickelst du die Applikation in enger Zusammenarbeit mit Anwender*innen fachlich weiter.</li>"
741
+ }
742
+ ]
743
+ }
744
+ }
745
+ ]
746
+ }
747
+ ]
748
+ },
749
+ "copytext_image": {
750
+ "copytextParagraph": [
751
+ {
752
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
753
+ "isHeadline": true,
754
+ "text": "Speichermedien sowie Waffen und Munition sichergestellt"
755
+ },
756
+ {
757
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
758
+ "isParagraph": true,
759
+ "text": {
760
+ "split": [
761
+ {
762
+ "isText": true,
763
+ "text": "In der rund 1.200 Einwohner großen Gemeinde Waldbrunn, rund 13 Kilometer vom rheinland-pfälzischen Westerburg entfernt, engagiert sich der 18-Jährige nach hr-Informationen bei der Freiwilligen Feuerwehr. Der Ortsvorsteher aus Waldbrunn beschrieb den Terrorverdächtigen als zurückhaltend, höflich und hilfsbereit."
764
+ }
765
+ ]
766
+ }
767
+ },
768
+ {
769
+ "paragraphBoxItem": {
770
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
771
+ "@->contentpath": "copytext_image_100",
772
+ "@->replaceToken": [
773
+ {
774
+ "@->token": "image",
775
+ "@->value": "buchmesse-fahnen-102"
776
+ }
777
+ ]
778
+ }
779
+ },
780
+ {
781
+ "paragraphBoxItem": {
782
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
783
+ "@->contentpath": "copytext_image_50",
784
+ "@->replaceToken": [
785
+ {
786
+ "@->token": "image",
787
+ "@->value": "buchmesse-fahnen-102"
788
+ }
789
+ ]
790
+ }
791
+ },
792
+ {
793
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
794
+ "isParagraph": true,
795
+ "text": {
796
+ "split": [
797
+ {
798
+ "isText": true,
799
+ "text": "Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."
800
+ }
801
+ ]
802
+ }
803
+ },
804
+ {
805
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
806
+ "isParagraph": true,
807
+ "text": {
808
+ "split": [
809
+ {
810
+ "isText": true,
811
+ "text": "Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."
812
+ }
813
+ ]
814
+ }
815
+ },
816
+ {
817
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
818
+ "isParagraph": true,
819
+ "text": {
820
+ "split": [
821
+ {
822
+ "isText": true,
823
+ "text": "Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."
824
+ }
825
+ ]
826
+ }
827
+ }
828
+
829
+ ]
830
+ }
698
831
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "@->jsoninclude": "content/copytext/copytext.inc.json",
3
+ "@->contentpath": "copytext_image"
4
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "@->jsoninclude": "content/copytext/copytext.inc.json",
3
+ "@->contentpath": "copytext_jobposting"
4
+ }
@@ -408,5 +408,49 @@
408
408
  }
409
409
  ]
410
410
  }
411
+ },
412
+ "copytext_image_100": {
413
+ "isImage": true,
414
+ "showFullSize": {
415
+ "isTrue": true
416
+ },
417
+ "showPortrait": {
418
+ "isTrue": false
419
+ },
420
+ "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",
421
+ "copyrightWithLinks": "Karsten Hufer",
422
+ "responsiveImage": {
423
+ "asPicture": false,
424
+ "asImage": true,
425
+ "fallback": "images/{#image}_v-16to9__medium.jpg",
426
+ "sources": [
427
+ {
428
+ "sizes": "(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw",
429
+ "srcset": "images/{#image}_v-16to9__small.jpg 320w, images/{#image}_v-16to9__medium.jpg 480w, images/{#image}_v-16to9__medium__extended.jpg 640w, images/{#image}_v-16to9.jpg 960w, images/{#image}_v-16to9__retina.jpg 1920w"
430
+ }
431
+ ]
432
+ }
433
+ },
434
+ "copytext_image_50": {
435
+ "isImage": true,
436
+ "showFullSize": {
437
+ "isTrue": false
438
+ },
439
+ "showPortrait": {
440
+ "isTrue": false
441
+ },
442
+ "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",
443
+ "copyrightWithLinks": "Karsten Hufer",
444
+ "responsiveImage": {
445
+ "asPicture": false,
446
+ "asImage": true,
447
+ "fallback": "images/{#image}_v-16to9__medium.jpg",
448
+ "sources": [
449
+ {
450
+ "sizes": "(min-width: 1024px) 960px, (min-width: 640px) calc(100vw - 4rem), 100vw",
451
+ "srcset": "images/{#image}_v-16to9__small.jpg 320w, images/{#image}_v-16to9__medium.jpg 480w, images/{#image}_v-16to9__medium__extended.jpg 640w, images/{#image}_v-16to9.jpg 960w, images/{#image}_v-16to9__retina.jpg 1920w"
452
+ }
453
+ ]
454
+ }
411
455
  }
412
456
  }
@@ -0,0 +1,33 @@
1
+ <figcaption class="flex items-start mx-4 mt-3 text-xs sm480:mx-0 sm480:mt-4 sm480:text-sm font-copy"
2
+ x-data="{
3
+ open: false,
4
+ truncated: true,
5
+ init() {
6
+ this.$nextTick(() => {
7
+ if (this.$refs.caption.scrollHeight === this.$refs.caption.clientHeight) {
8
+ this.truncated = false;
9
+ }
10
+ });
11
+ }
12
+ }"
13
+ @resize.window="open = false; $refs.caption.scrollHeight === $refs.caption.clientHeight ? truncated = false : truncated = true">
14
+ <div class="dark:text-text-dark overflow-anywhere hyphens-auto" x-ref="caption"
15
+ {{#if this.showFullSize.isTrue}} :class="!open ? 'line-clamp-2 md:line-clamp-none' : 'line-clamp-none'" {{else}} :class="!open ? 'line-clamp-2' : 'line-clamp-none'" {{/if}}>
16
+ {{#if this.caption}}
17
+ {{~#unless _hideCaption~}}
18
+ <span>
19
+ {{this.caption}}
20
+ </span>
21
+ {{~/unless~}}
22
+ {{/if}}
23
+ <span class="text-gray-scorpion dark:text-text-dark">
24
+ {{~loca "figures_copyright"}} {{{copyrightWithLinks}}}
25
+ </span>
26
+ </div>
27
+ <template x-if="truncated">
28
+ <button x-cloak type="button">
29
+ <span x-show="!open" @click.prevent="open = true">{{~> components/base/image/icon _icon="arrow-down" _addClass="m-2 mt-4.5 sm480:mt-5.5 h-3 w-3 fill-link dark:fill-link-dark" _iconmap="icons"~}}</span>
30
+ <span x-show="open" @click.prevent="open = false">{{~> components/base/image/icon _icon="arrow-up" _addClass="m-2 mt-4.5 sm480:mt-5.5 h-3 w-3 fill-link dark:fill-link-dark" _iconmap="icons"~}}</span>
31
+ </button>
32
+ </template>
33
+ </figcaption>
@@ -0,0 +1,10 @@
1
+ <figure class="relative mt-6 -mx-4 sm480:mx-0 {{#if _cssClasses}} {{_cssClasses}}{{/if}} {{_cssClass}}">
2
+ {{#if _noAr }}
3
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _isWebview=_isWebview _noDelay=_noDelay}}
4
+ {{else}}
5
+ {{> components/base/image/responsive_image _type=_type _variant=_variant _addClass=_pictureAddClass _addClassImg="ar__content" _isWebview=_isWebview _noDelay=_noDelay}}
6
+ {{/if}}
7
+ {{#unless _voting-option}}
8
+ {{~> components/content/copytext/components/image/figcaption~}}
9
+ {{/unless}}
10
+ </figure>
@@ -0,0 +1,32 @@
1
+ {{#if this.showPortrait.isTrue }}
2
+ {{#if this.showFullSize.isTrue }}
3
+ {{> components/content/copytext/components/image/figure
4
+ _type="story"
5
+ _variant="100-copytext-portrait"
6
+ _noAr="true"
7
+ _isWebview=../../_isWebview}}
8
+ {{else}}
9
+ {{> components/content/copytext/components/image/figure
10
+ _cssClass="sm480:mr-4 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
11
+ _type="story"
12
+ _variant="copytext-portrait"
13
+ _noAr="true"
14
+ _isWebview=../../_isWebview}}
15
+ {{/if}}
16
+ {{else}}
17
+ {{#if this.showFullSize.isTrue}}
18
+ {{> components/content/copytext/components/image/figure
19
+ _type="story"
20
+ _variant="100-copytext"
21
+ _pictureAddClass="ar-16-9"
22
+ _isWebview=../../_isWebview}}
23
+ {{else}}
24
+ {{> components/content/copytext/components/image/figure
25
+ _cssClass="sm480:mr-4 sm480:w-1/2 w-auto flex-col float-none sm480:float-left break-inside-avoid page-break-inside-avoid"
26
+ _type="story"
27
+ _variant="copytext"
28
+ _pictureAddClass="ar-16-9"
29
+ _isWebview=../../_isWebview}}
30
+ {{/if}}
31
+ {{/if}}
32
+
@@ -1,5 +1,15 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Jobposting-component</div>
3
- {{~else~}}
4
- {{~> modules/story/paragraphs/jobposting ~}}
5
- {{~/if~}}
1
+ {{#with this.paragraphProperties.[0]}}
2
+ {{#with this.jobDescription}}
3
+ {{#each this.split}}
4
+ {{#if this.isText}}
5
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
6
+ {{/if}}
7
+ {{#if this.isUl}}
8
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
9
+ {{/if}}
10
+ {{#if this.isOl}}
11
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
12
+ {{/if}}
13
+ {{/each}}
14
+ {{/with}}
15
+ {{/with}}
@@ -7,7 +7,7 @@
7
7
  {{#unless this.isInfoBox}}
8
8
  {{~#with this.paragraphBoxItem }}
9
9
  {{~#if this.isImage}}
10
- {{> components/content/copytext/components/image }}
10
+ {{~> components/content/copytext/components/image/image}}
11
11
  {{/if~}}
12
12
  {{~#if this.isContentBox}}
13
13
  {{~> components/article/components/contentbox/contentbox ~}}
@@ -5,6 +5,8 @@ import copytext_additionalInfo_json from './fixtures/copytext_additionalInfo.jso
5
5
  import copytext_cite_json from './fixtures/copytext_cite.json'
6
6
  import copytext_podcastepisode_json from './fixtures/copytext_podcastepisode.json'
7
7
  import copytext_faq_json from './fixtures/copytext_faq.json'
8
+ import copytext_jobposting_json from './fixtures/copytext_jobposting.json'
9
+ import copytext_image_json from './fixtures/copytext_image.json'
8
10
 
9
11
  const Template = ({ ...args }) => {
10
12
  return copytext({ ...args })
@@ -33,6 +35,12 @@ export const WithFAQ = {
33
35
  args: copytext_faq_json,
34
36
  }
35
37
 
38
+ export const WithJobposting = {
39
+ render: Template.bind({}),
40
+ name: 'Jobposting',
41
+ args: copytext_jobposting_json,
42
+ }
43
+
36
44
  export const WithPodcastEpisode = {
37
45
  render: Template.bind({}),
38
46
  name: 'Podcastepisode',
@@ -56,3 +64,9 @@ export const WithAdditionalInfo = {
56
64
  name: 'Zusatzinfo',
57
65
  args: copytext_additionalInfo_json,
58
66
  }
67
+
68
+ export const WithImage = {
69
+ render: Template.bind({}),
70
+ name: 'Image',
71
+ args: copytext_image_json,
72
+ }
@@ -0,0 +1 @@
1
+ {"copytextParagraph":[{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Speichermedien sowie Waffen und Munition sichergestellt"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"In der rund 1.200 Einwohner großen Gemeinde Waldbrunn, rund 13 Kilometer vom rheinland-pfälzischen Westerburg entfernt, engagiert sich der 18-Jährige nach hr-Informationen bei der Freiwilligen Feuerwehr. Der Ortsvorsteher aus Waldbrunn beschrieb den Terrorverdächtigen als zurückhaltend, höflich und hilfsbereit."}]}},{"paragraphBoxItem":{"isImage":true,"showFullSize":{"isTrue":true},"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","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"}]}}},{"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","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"}]}}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Nach der Festnahme in der vergangenen Woche hätten bereits Gespräche mit Mitschülerinnen und Mitschülern des 18 Jahre alten Oberstufenschülers stattgefunden. Auch die Eltern seien in Kenntnis gesetzt worden, sagte der Schulleiter."}]}}]}
@@ -0,0 +1 @@
1
+ {"copytextParagraph":[{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Copytext mit Jobposting"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Digitale Produkte, Fernsehen, Radio– wir sind Hessens größtes Medienunternehmen. Als Mitglied der ARD sind wir stolz darauf, mit unseren vielfältigen und qualitativ hochwertigen Programmangeboten wesentlich zur Meinungs- und Medienvielfalt in Deutschland beizutragen. Zur Verstärkung unseres Teams suchen wir befristet für zunächst 3 Jahre eine*n innovative*n"}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Java-Entwickler*in"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isJobposting":true,"text":"Wo brauche ich noch Corona-Test?","paragraphProperties":[{"jobDescription":{"split":[{"isText":true,"text":"Du hast Spaß an neuen Technologien und bist ein*e Experte*in in der Java-Entwicklung? Du suchst spannende und vielfältige Projekte in einem dynamischen Medienumfeld? Dann vernetze gemeinsam mit uns die Mediensysteme der ARD."},{"isUl":true,"text":"<li>Du hast Spaß daran selbstorganisiert in einem agilen Umfeld und interdisziplinären Projektteams zu arbeiten.</li><li>Du bringst ein abgeschlossenes informatikorientiertes Studium bzw. eine vergleichbare Qualifikation mit und verfügst über Berufserfahrung im Bereich Softwareentwicklung.</li><li>Sehr gute Java-Kenntnisse, Kenntnisse in modernen Schnittstellentechnologien und Datenbanksystemen setzen wir voraus.</li>"},{"isOl":true,"text":"<li>Du implementierst als Full-Stack-Entwickler*in Features vertikal durch alle Softwareschichten.</li><li>Im Team entwickelst du die Applikation in enger Zusammenarbeit mit Anwender*innen fachlich weiter.</li>"}]}}]}]}
@@ -177,6 +177,8 @@ module.exports = {
177
177
  11: '2.75rem',
178
178
  },
179
179
  margin: {
180
+ '4.5': '1.125rem',
181
+ '5.5': '1.375rem',
180
182
  '7.5': '1.875rem',
181
183
  '13': '3.125rem',
182
184
  '30': '7.5rem',
@@ -1,41 +0,0 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Image-component</div>
3
- {{~else~}}
4
-
5
- {{#if this.showPortrait.isTrue }}
6
- {{#if this.showFullSize.isTrue }}
7
- {{> modules/figure/figure
8
- _cssClass="copytext__clearBox"
9
- _type="story"
10
- _variant="100-copytext-portrait"
11
- _noAr="true"
12
- _pictureAddClass="copytext__box__picture"
13
- _isWebview=../../_isWebview}}
14
- {{else}}
15
- {{> modules/figure/figure
16
- _cssClass="copytext__box"
17
- _type="story"
18
- _variant="copytext-portrait"
19
- _noAr="true"
20
- _pictureAddClass="copytext__box__picture"
21
- _isWebview=../../_isWebview}}
22
- {{/if}}
23
- {{else}}
24
- {{#if this.showFullSize.isTrue}}
25
- {{> modules/figure/figure
26
- _cssClass="copytext__clearBox"
27
- _type="story"
28
- _variant="100-copytext"
29
- _pictureAddClass="ar--16x9 copytext__box__picture"
30
- _isWebview=../../_isWebview}}
31
- {{else}}
32
- {{> modules/figure/figure
33
- _cssClass="copytext__box"
34
- _type="story"
35
- _variant="copytext"
36
- _pictureAddClass="ar--16x9 copytext__box__picture"
37
- _isWebview=../../_isWebview}}
38
- {{/if}}
39
- {{/if}}
40
-
41
- {{~/if~}}
@@ -1,41 +0,0 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Image-component</div>
3
- {{~else~}}
4
-
5
- {{#if this.showPortrait.isTrue }}
6
- {{#if this.showFullSize.isTrue }}
7
- {{> modules/figure/figure
8
- _cssClass="copytext__clearBox"
9
- _type="story"
10
- _variant="100-copytext-portrait"
11
- _noAr="true"
12
- _pictureAddClass="copytext__box__picture"
13
- _isWebview=../../_isWebview}}
14
- {{else}}
15
- {{> modules/figure/figure
16
- _cssClass="copytext__box"
17
- _type="story"
18
- _variant="copytext-portrait"
19
- _noAr="true"
20
- _pictureAddClass="copytext__box__picture"
21
- _isWebview=../../_isWebview}}
22
- {{/if}}
23
- {{else}}
24
- {{#if this.showFullSize.isTrue}}
25
- {{> modules/figure/figure
26
- _cssClass="copytext__clearBox"
27
- _type="story"
28
- _variant="100-copytext"
29
- _pictureAddClass="ar--16x9 copytext__box__picture"
30
- _isWebview=../../_isWebview}}
31
- {{else}}
32
- {{> modules/figure/figure
33
- _cssClass="copytext__box"
34
- _type="story"
35
- _variant="copytext"
36
- _pictureAddClass="ar--16x9 copytext__box__picture"
37
- _isWebview=../../_isWebview}}
38
- {{/if}}
39
- {{/if}}
40
-
41
- {{~/if~}}
@@ -1,41 +0,0 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Image-component</div>
3
- {{~else~}}
4
-
5
- {{#if this.showPortrait.isTrue }}
6
- {{#if this.showFullSize.isTrue }}
7
- {{> modules/figure/figure
8
- _cssClass="copytext__clearBox"
9
- _type="story"
10
- _variant="100-copytext-portrait"
11
- _noAr="true"
12
- _pictureAddClass="copytext__box__picture"
13
- _isWebview=../../_isWebview}}
14
- {{else}}
15
- {{> modules/figure/figure
16
- _cssClass="copytext__box"
17
- _type="story"
18
- _variant="copytext-portrait"
19
- _noAr="true"
20
- _pictureAddClass="copytext__box__picture"
21
- _isWebview=../../_isWebview}}
22
- {{/if}}
23
- {{else}}
24
- {{#if this.showFullSize.isTrue}}
25
- {{> modules/figure/figure
26
- _cssClass="copytext__clearBox"
27
- _type="story"
28
- _variant="100-copytext"
29
- _pictureAddClass="ar--16x9 copytext__box__picture"
30
- _isWebview=../../_isWebview}}
31
- {{else}}
32
- {{> modules/figure/figure
33
- _cssClass="copytext__box"
34
- _type="story"
35
- _variant="copytext"
36
- _pictureAddClass="ar--16x9 copytext__box__picture"
37
- _isWebview=../../_isWebview}}
38
- {{/if}}
39
- {{/if}}
40
-
41
- {{~/if~}}