hr-design-system-handlebars 1.51.10 → 1.51.12

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 (21) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/icons/icons/svgmap/quotation.svg +10 -0
  3. package/dist/assets/icons/icons/svgmap.min.svg +1 -1
  4. package/dist/assets/index.css +47 -15
  5. package/dist/views/components/content/copytext/components/cite.hbs +7 -5
  6. package/dist/views/components/content/copytext/components/paragraph.hbs +4 -4
  7. package/dist/views/components/site_header/section_navigation/section_navigation_item.hbs +1 -1
  8. package/dist/views_static/components/content/copytext/components/cite.hbs +7 -5
  9. package/dist/views_static/components/content/copytext/components/paragraph.hbs +4 -4
  10. package/dist/views_static/components/site_header/section_navigation/section_navigation_item.hbs +1 -1
  11. package/package.json +1 -1
  12. package/src/assets/fixtures/content/copytext/copytext.inc.json +73 -6
  13. package/src/assets/fixtures/content/copytext/copytext_cite.json +4 -0
  14. package/src/assets/icons/icons/svgmap/quotation.svg +10 -0
  15. package/src/assets/icons/icons/svgmap.min.svg +1 -1
  16. package/src/stories/views/components/content/copytext/components/cite.hbs +7 -5
  17. package/src/stories/views/components/content/copytext/components/paragraph.hbs +4 -4
  18. package/src/stories/views/components/content/copytext/copytext.stories.js +7 -0
  19. package/src/stories/views/components/content/copytext/fixtures/copytext.json +1 -1
  20. package/src/stories/views/components/content/copytext/fixtures/copytext_cite.json +1 -0
  21. package/src/stories/views/components/site_header/section_navigation/section_navigation_item.hbs +1 -1
@@ -1229,6 +1229,10 @@ article.indexText ul {
1229
1229
  margin-left: 1.25rem;
1230
1230
  margin-right: 1.25rem;
1231
1231
  }
1232
+ .mx-8 {
1233
+ margin-left: 2rem;
1234
+ margin-right: 2rem;
1235
+ }
1232
1236
  .mx-auto {
1233
1237
  margin-left: auto;
1234
1238
  margin-right: auto;
@@ -1430,6 +1434,9 @@ article.indexText ul {
1430
1434
  .mt-\[1px\] {
1431
1435
  margin-top: 1px;
1432
1436
  }
1437
+ .mt-px {
1438
+ margin-top: 1px;
1439
+ }
1433
1440
  .box-border {
1434
1441
  box-sizing: border-box;
1435
1442
  }
@@ -2817,6 +2824,9 @@ article.indexText ul {
2817
2824
  .italic {
2818
2825
  font-style: italic;
2819
2826
  }
2827
+ .not-italic {
2828
+ font-style: normal;
2829
+ }
2820
2830
  .\!leading-6 {
2821
2831
  line-height: 1.5rem !important;
2822
2832
  }
@@ -3208,7 +3218,7 @@ article.indexText ul {
3208
3218
  border-bottom-color: var(--color-secondary-ds);
3209
3219
  }
3210
3220
  .counter-reset {
3211
- counter-reset: cnt1702898621514;
3221
+ counter-reset: cnt1704881090998;
3212
3222
  }
3213
3223
  .hyphens-auto {
3214
3224
  -webkit-hyphens: auto;
@@ -3510,7 +3520,7 @@ article.indexText ul {
3510
3520
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3511
3521
  }
3512
3522
  .-ordered {
3513
- counter-increment: cnt1702898621514 1;
3523
+ counter-increment: cnt1704881090998 1;
3514
3524
  }
3515
3525
  .-ordered::before {
3516
3526
  position: absolute;
@@ -3526,7 +3536,7 @@ article.indexText ul {
3526
3536
  letter-spacing: .0125em;
3527
3537
  --tw-text-opacity: 1;
3528
3538
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3529
- content: counter(cnt1702898621514);
3539
+ content: counter(cnt1704881090998);
3530
3540
  }
3531
3541
  /*! ****************************/
3532
3542
  /*! DataPolicy stuff */
@@ -5337,6 +5347,11 @@ article.indexText ul {
5337
5347
  }
5338
5348
  @media (min-width: 480px) {
5339
5349
 
5350
+ .sm480\:mx-10 {
5351
+ margin-left: 2.5rem;
5352
+ margin-right: 2.5rem;
5353
+ }
5354
+
5340
5355
  .sm480\:mx-auto {
5341
5356
  margin-left: auto;
5342
5357
  margin-right: auto;
@@ -5363,10 +5378,18 @@ article.indexText ul {
5363
5378
  margin-top: 1.25rem;
5364
5379
  }
5365
5380
 
5381
+ .sm480\:h-8 {
5382
+ height: 2rem;
5383
+ }
5384
+
5366
5385
  .sm480\:w-2\/3 {
5367
5386
  width: 66.666667%;
5368
5387
  }
5369
5388
 
5389
+ .sm480\:w-8 {
5390
+ width: 2rem;
5391
+ }
5392
+
5370
5393
  .sm480\:pb-7 {
5371
5394
  padding-bottom: 1.75rem;
5372
5395
  }
@@ -5587,11 +5610,20 @@ article.indexText ul {
5587
5610
  order: 2;
5588
5611
  }
5589
5612
 
5613
+ .sm\:float-left {
5614
+ float: left;
5615
+ }
5616
+
5590
5617
  .sm\:mx-0 {
5591
5618
  margin-left: 0px;
5592
5619
  margin-right: 0px;
5593
5620
  }
5594
5621
 
5622
+ .sm\:mx-14 {
5623
+ margin-left: 3.5rem;
5624
+ margin-right: 3.5rem;
5625
+ }
5626
+
5595
5627
  .sm\:mx-8 {
5596
5628
  margin-left: 2rem;
5597
5629
  margin-right: 2rem;
@@ -5601,10 +5633,18 @@ article.indexText ul {
5601
5633
  margin-bottom: 1.75rem;
5602
5634
  }
5603
5635
 
5636
+ .sm\:ml-4 {
5637
+ margin-left: 1rem;
5638
+ }
5639
+
5604
5640
  .sm\:ml-8 {
5605
5641
  margin-left: 2rem;
5606
5642
  }
5607
5643
 
5644
+ .sm\:mr-5 {
5645
+ margin-right: 1.25rem;
5646
+ }
5647
+
5608
5648
  .sm\:mr-6 {
5609
5649
  margin-right: 1.5rem;
5610
5650
  }
@@ -5621,6 +5661,10 @@ article.indexText ul {
5621
5661
  display: block;
5622
5662
  }
5623
5663
 
5664
+ .sm\:w-1\/2 {
5665
+ width: 50%;
5666
+ }
5667
+
5624
5668
  .sm\:w-5\/12 {
5625
5669
  width: 41.666667%;
5626
5670
  }
@@ -5895,10 +5939,6 @@ article.indexText ul {
5895
5939
  grid-column: span 9 / span 9;
5896
5940
  }
5897
5941
 
5898
- .md\:float-left {
5899
- float: left;
5900
- }
5901
-
5902
5942
  .md\:m-3 {
5903
5943
  margin: 0.75rem;
5904
5944
  }
@@ -5937,10 +5977,6 @@ article.indexText ul {
5937
5977
  margin-bottom: 0.75rem;
5938
5978
  }
5939
5979
 
5940
- .md\:mb-7 {
5941
- margin-bottom: 1.75rem;
5942
- }
5943
-
5944
5980
  .md\:mb-8 {
5945
5981
  margin-bottom: 2rem;
5946
5982
  }
@@ -5953,10 +5989,6 @@ article.indexText ul {
5953
5989
  margin-left: 1rem;
5954
5990
  }
5955
5991
 
5956
- .md\:ml-6 {
5957
- margin-left: 1.5rem;
5958
- }
5959
-
5960
5992
  .md\:mr-5 {
5961
5993
  margin-right: 1.25rem;
5962
5994
  }
@@ -1,13 +1,15 @@
1
- <div class="{{#if this.paragraphProperties.[0].showFullSize }}clear-both mt-7{{else}}mr-0 md:mr-5 mb-0 md:mb-7 mt-7 w-full md:w-1/2 md:float-left{{/if}}">
1
+ <div class="{{#if this.paragraphProperties.[0].showFullSize }}mt-7{{else}}mr-0 sm:mr-5 mb-0 sm:mb-7 mt-7 w-full sm:w-1/2 sm:float-left{{/if}}">
2
+ {{> components/base/image/icon _icon="quotation" _addClass="sm:ml-4 mr-2 mt-px float-left text-gray-scorpion w-6 h-6 sm480:w-8 sm480:h-8 fill-current dark:fill-link-dark"}}
2
3
  <span class="sr-only">{{loca "story_cite_intro_sr" }}</span>
3
- <blockquote class="">
4
- <cite class="block text-base italic font-bold font-headingSerif md:ml-6 sm480:text-lg dark:text-text-dark">„{{{this.text}}}“</cite>
4
+ <blockquote>
5
+ <cite class="block mx-8 text-base not-italic sm480:mx-10 font-headingSerif sm:mx-14 sm480:text-xl dark:text-text-dark">{{{this.text}}}</cite>
5
6
  {{#with this.paragraphProperties}}
6
7
  {{#with this.[0]}}
7
8
  {{#with this.citeAuthor}}
8
- <span class="block md:ml-6 italic mt-2.5 font-headingSerif text-sm text-gray-scorpion">
9
+ <span class="block mx-8 mt-3 text-xs sm480:mx-10 sm480:text-sm sm:mx-14 font-headingSerif text-gray-scorpion dark:text-text-dark">
9
10
  <span class="sr-only">{{loca "story_cite_author_sr" }}</span>
10
- {{this}}</span>
11
+ {{this}}
12
+ </span>
11
13
  {{/with}}
12
14
  {{/with}}
13
15
  {{/with}}
@@ -1,11 +1,11 @@
1
1
  {{#each this.text.split}}
2
2
  {{#if this.isText}}
3
- <p class="mt-6 text-base sm480:text-lg dark:text-text-dark">{{{this.text}}}</p>
3
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
4
4
  {{/if}}
5
5
  {{#if this.isUl}}
6
- <ul class="mt-6 ml-5 text-base list-disc sm480:text-lg dark:text-text-dark">{{{this.text}}}</ul>
6
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
7
7
  {{/if}}
8
8
  {{#if this.isOl}}
9
- <ol class="mt-6 ml-5 text-base list-decimal sm480:text-lg dark:text-text-dark">{{{this.text}}}</ol>
9
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
10
10
  {{/if}}
11
- {{/each}}
11
+ {{/each}}
@@ -28,7 +28,7 @@
28
28
  @click="preventDefault(isDesktopView(),$event); toggle(); correctFlyoutPos()"
29
29
  @resize.window="dropped=false; correctFlyoutPos()"
30
30
  :class="dropped ? 'lg:underline font-bold lg:font-normal' : 'font-normal'"
31
- class="{{#if this.selected}}-currentSection lg:justify-center !font-bold {{/if}}link-focus-inset-white js-load pl-4 pr-8 lg:pr-4 flex flex-auto justify-between lg:flex-initial h-10 lg:w-full items-center leading-4"
31
+ class="js-noStateManager {{#if this.selected}}-currentSection lg:justify-center !font-bold {{/if}}link-focus-inset-white js-load pl-4 pr-8 lg:pr-4 flex flex-auto justify-between lg:flex-initial h-10 lg:w-full items-center leading-4"
32
32
  aria-haspopup="true"
33
33
  x-effect="$el.setAttribute('aria-expanded', dropped);$el.setAttribute('tabindex', $store.burgeropen ? '0' : '-1')"
34
34
  aria-owns="flyout-{{getRandom}}"
@@ -1,13 +1,15 @@
1
- <div class="{{#if this.paragraphProperties.[0].showFullSize }}clear-both mt-7{{else}}mr-0 md:mr-5 mb-0 md:mb-7 mt-7 w-full md:w-1/2 md:float-left{{/if}}">
1
+ <div class="{{#if this.paragraphProperties.[0].showFullSize }}mt-7{{else}}mr-0 sm:mr-5 mb-0 sm:mb-7 mt-7 w-full sm:w-1/2 sm:float-left{{/if}}">
2
+ {{> components/base/image/icon _icon="quotation" _addClass="sm:ml-4 mr-2 mt-px float-left text-gray-scorpion w-6 h-6 sm480:w-8 sm480:h-8 fill-current dark:fill-link-dark"}}
2
3
  <span class="sr-only">{{loca "story_cite_intro_sr" }}</span>
3
- <blockquote class="">
4
- <cite class="block text-base italic font-bold font-headingSerif md:ml-6 sm480:text-lg dark:text-text-dark">„{{{this.text}}}“</cite>
4
+ <blockquote>
5
+ <cite class="block mx-8 text-base not-italic sm480:mx-10 font-headingSerif sm:mx-14 sm480:text-xl dark:text-text-dark">{{{this.text}}}</cite>
5
6
  {{#with this.paragraphProperties}}
6
7
  {{#with this.[0]}}
7
8
  {{#with this.citeAuthor}}
8
- <span class="block md:ml-6 italic mt-2.5 font-headingSerif text-sm text-gray-scorpion">
9
+ <span class="block mx-8 mt-3 text-xs sm480:mx-10 sm480:text-sm sm:mx-14 font-headingSerif text-gray-scorpion dark:text-text-dark">
9
10
  <span class="sr-only">{{loca "story_cite_author_sr" }}</span>
10
- {{this}}</span>
11
+ {{this}}
12
+ </span>
11
13
  {{/with}}
12
14
  {{/with}}
13
15
  {{/with}}
@@ -1,11 +1,11 @@
1
1
  {{#each this.text.split}}
2
2
  {{#if this.isText}}
3
- <p class="mt-6 text-base sm480:text-lg dark:text-text-dark">{{{this.text}}}</p>
3
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
4
4
  {{/if}}
5
5
  {{#if this.isUl}}
6
- <ul class="mt-6 ml-5 text-base list-disc sm480:text-lg dark:text-text-dark">{{{this.text}}}</ul>
6
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
7
7
  {{/if}}
8
8
  {{#if this.isOl}}
9
- <ol class="mt-6 ml-5 text-base list-decimal sm480:text-lg dark:text-text-dark">{{{this.text}}}</ol>
9
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
10
10
  {{/if}}
11
- {{/each}}
11
+ {{/each}}
@@ -28,7 +28,7 @@
28
28
  @click="preventDefault(isDesktopView(),$event); toggle(); correctFlyoutPos()"
29
29
  @resize.window="dropped=false; correctFlyoutPos()"
30
30
  :class="dropped ? 'lg:underline font-bold lg:font-normal' : 'font-normal'"
31
- class="{{#if this.selected}}-currentSection lg:justify-center !font-bold {{/if}}link-focus-inset-white js-load pl-4 pr-8 lg:pr-4 flex flex-auto justify-between lg:flex-initial h-10 lg:w-full items-center leading-4"
31
+ class="js-noStateManager {{#if this.selected}}-currentSection lg:justify-center !font-bold {{/if}}link-focus-inset-white js-load pl-4 pr-8 lg:pr-4 flex flex-auto justify-between lg:flex-initial h-10 lg:w-full items-center leading-4"
32
32
  aria-haspopup="true"
33
33
  x-effect="$el.setAttribute('aria-expanded', dropped);$el.setAttribute('tabindex', $store.burgeropen ? '0' : '-1')"
34
34
  aria-owns="flyout-{{getRandom}}"
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.51.10",
9
+ "version": "1.51.12",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -62,22 +62,22 @@
62
62
  {
63
63
  "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
64
64
  "isCite": true,
65
- "text":"Dies ist ein Zitat. Es wird über die volle Breite angezeigt.",
65
+ "text":"Wenn ich mein Leben noch einmal leben könnte, würde ich die gleichen Fehler machen. Aber ein bisschen früher damit ich mehr davon habe.",
66
66
  "paragraphProperties": [
67
67
  {
68
68
  "showFullSize":true,
69
- "citeAuthor":"Horst Schlemmer"
69
+ "citeAuthor":"Marlene Dietrich"
70
70
  }
71
71
  ]
72
72
  },
73
73
  {
74
74
  "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
75
75
  "isCite": true,
76
- "text":"Dies ist ein Zitat. Es wird über die halbe Breite angezeigt.",
76
+ "text":"Wenn ich mein Leben noch einmal leben könnte, würde ich die gleichen Fehler machen. Aber ein bisschen früher damit ich mehr davon habe.",
77
77
  "paragraphProperties": [
78
78
  {
79
79
  "showFullSize":false,
80
- "citeAuthor":"Horst Schlemmer"
80
+ "citeAuthor":"Marlene Dietrich"
81
81
  }
82
82
  ]
83
83
  },
@@ -88,7 +88,7 @@
88
88
  "split": [
89
89
  {
90
90
  "isText": true,
91
- "text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde."
91
+ "text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."
92
92
  }
93
93
  ]
94
94
  }
@@ -441,5 +441,72 @@
441
441
  }
442
442
 
443
443
  ]
444
- }
444
+ },
445
+ "copytext_cite": {
446
+ "copytextParagraph": [
447
+ {
448
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
449
+ "isHeadline": true,
450
+ "text": "Medienbericht: Flaschenangriff auf Mitschüler"
451
+ },
452
+ {
453
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
454
+ "isParagraph": true,
455
+ "text": {
456
+ "split": [
457
+ {
458
+ "isText": true,
459
+ "text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."
460
+ }
461
+ ]
462
+ }
463
+ },
464
+ {
465
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
466
+ "isCite": true,
467
+ "text":"Wenn ich mein Leben noch einmal leben könnte, würde ich die gleichen Fehler machen. Aber ein bisschen früher damit ich mehr davon habe.",
468
+ "paragraphProperties": [
469
+ {
470
+ "showFullSize":true,
471
+ "citeAuthor":"Marlene Dietrich"
472
+ }
473
+ ]
474
+ },
475
+ {
476
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
477
+ "isParagraph": true,
478
+ "text": {
479
+ "split": [
480
+ {
481
+ "isText": true,
482
+ "text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."
483
+ }
484
+ ]
485
+ }
486
+ },
487
+ {
488
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
489
+ "isCite": true,
490
+ "text":"Wenn ich mein Leben noch einmal leben könnte, würde ich die gleichen Fehler machen. Aber ein bisschen früher damit ich mehr davon habe.",
491
+ "paragraphProperties": [
492
+ {
493
+ "showFullSize":false,
494
+ "citeAuthor":"Marlene Dietrich"
495
+ }
496
+ ]
497
+ },
498
+ {
499
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
500
+ "isParagraph": true,
501
+ "text": {
502
+ "split": [
503
+ {
504
+ "isText": true,
505
+ "text": "Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet. Der Mitschüler erlitt dem Bericht zufolge eine Schienbeinprellung und eine kleine Schnittwunde. Die Eltern hätten daraufhin Anzeige erstattet – eine hr-Anfrage an die zuständige Polizei blieb bislang unbeantwortet."
506
+ }
507
+ ]
508
+ }
509
+ }
510
+ ]
511
+ }
445
512
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "@->jsoninclude": "content/copytext/copytext.inc.json",
3
+ "@->contentpath": "copytext_cite"
4
+ }
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 28.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 80 66" style="enable-background:new 0 0 80 66;" xml:space="preserve">
5
+ <g>
6
+ <path d="M14.85,66L0,56.82c4.19-5.95,7.36-12.03,9.5-18.24s3.21-12.78,3.21-19.73V0h26.35v18.48c0,8.11-2.19,16.58-6.56,25.43
7
+ C28.14,52.77,22.25,60.13,14.85,66z M55.79,66l-14.85-9.18c4.19-5.95,7.36-12.03,9.5-18.24s3.21-12.78,3.21-19.73V0H80v18.48
8
+ c0,8.11-2.19,16.58-6.56,25.43C69.07,52.77,63.19,60.13,55.79,66z"/>
9
+ </g>
10
+ </svg>