hr-design-system-handlebars 1.57.6 → 1.57.8

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 (117) hide show
  1. package/.storybook/preview.js +6 -0
  2. package/CHANGELOG.md +24 -0
  3. package/dist/assets/index.css +28 -59
  4. package/{src/stories/views/components/article → dist/views/components/content/copytext}/components/accordion/accordion.hbs +1 -1
  5. package/dist/views/components/{article → content/copytext}/components/contentbox/contentbox.hbs +1 -1
  6. package/dist/views/components/content/copytext/components/infobox.hbs +36 -15
  7. package/dist/views/components/content/copytext/copytext.hbs +2 -2
  8. package/dist/views/components/page/base/page_wrapper.hbs +3 -0
  9. package/dist/{views_static/components/article/components → views/components/page}/podcast/podcast_episode-webview.hbs +1 -1
  10. package/{src/stories/views/components/article/components → dist/views/components/page}/podcast/podcast_episode.hbs +1 -1
  11. package/dist/{views_static/components/article/components → views/components/page}/podcast/podcast_playlist-webview.hbs +1 -1
  12. package/{src/stories/views/components/article/components → dist/views/components/page}/podcast/podcast_playlist.hbs +1 -1
  13. package/dist/views/components/page/story/story_article.hbs +9 -0
  14. package/dist/views/components/page/story/story_main.hbs +20 -0
  15. package/dist/views/components/page/story/story_webview.hbs +7 -0
  16. package/dist/views_static/components/{article → content/copytext}/components/accordion/accordion.hbs +1 -1
  17. package/{src/stories/views/components/article → dist/views_static/components/content/copytext}/components/contentbox/contentbox.hbs +1 -1
  18. package/dist/views_static/components/content/copytext/components/infobox.hbs +36 -15
  19. package/dist/views_static/components/content/copytext/copytext.hbs +2 -2
  20. package/dist/views_static/components/page/base/page_wrapper.hbs +3 -0
  21. package/dist/views_static/components/page/podcast/podcast_episode-webview.hbs +17 -0
  22. package/dist/views_static/components/{article/components → page}/podcast/podcast_episode.hbs +1 -1
  23. package/dist/{views/components/article/components → views_static/components/page}/podcast/podcast_playlist-webview.hbs +1 -1
  24. package/dist/{views/components/article/components → views_static/components/page}/podcast/podcast_playlist.hbs +1 -1
  25. package/dist/views_static/components/page/story/story_article.hbs +9 -0
  26. package/dist/views_static/components/page/story/story_main.hbs +20 -0
  27. package/dist/views_static/components/page/story/story_webview.hbs +7 -0
  28. package/package.json +1 -1
  29. package/src/assets/css/custom-utilities.css +24 -0
  30. package/src/assets/fixtures/{article/components → page}/podcast/podcast_player_episode.json +1 -1
  31. package/src/assets/fixtures/{article/components → page}/podcast/podcast_player_playlist.json +1 -1
  32. package/{dist/views/components/article → src/stories/views/components/content/copytext}/components/accordion/accordion.hbs +1 -1
  33. package/src/stories/views/components/{article → content/copytext}/components/accordion/accordion.mdx +1 -1
  34. package/src/stories/views/components/{article → content/copytext}/components/accordion/accordion.stories.js +3 -2
  35. package/{dist/views_static/components/article → src/stories/views/components/content/copytext}/components/contentbox/contentbox.hbs +1 -1
  36. package/src/stories/views/components/{article → content/copytext}/components/contentbox/contentbox.mdx +1 -1
  37. package/src/stories/views/components/{article → content/copytext}/components/contentbox/contentbox.stories.js +2 -2
  38. package/src/stories/views/components/content/copytext/components/infobox.hbs +36 -15
  39. package/src/stories/views/components/content/copytext/copytext.hbs +2 -2
  40. package/src/stories/views/components/page/base/page_wrapper.hbs +3 -0
  41. package/src/stories/views/components/page/{page.data.js → index/page.data.js} +5 -5
  42. package/src/stories/views/components/page/{page.stories.js → index/page.stories.js} +3 -3
  43. package/src/stories/views/components/page/{page_player.stories.js → index/page_player.stories.js} +2 -2
  44. package/src/stories/views/components/page/podcast/fixtures/podcast_player_episode.json +1 -0
  45. package/src/stories/views/components/page/podcast/fixtures/podcast_player_playlist.json +1 -0
  46. package/src/stories/views/components/page/podcast/podcast_episode-webview.hbs +17 -0
  47. package/{dist/views/components/article/components → src/stories/views/components/page}/podcast/podcast_episode.hbs +1 -1
  48. package/src/stories/views/components/{article/components → page}/podcast/podcast_episode_article.mdx +1 -1
  49. package/src/stories/views/components/{article/components → page}/podcast/podcast_episode_article.stories.js +1 -1
  50. package/src/stories/views/components/{article/components → page}/podcast/podcast_playlist-webview.hbs +1 -1
  51. package/{dist/views_static/components/article/components → src/stories/views/components/page}/podcast/podcast_playlist.hbs +1 -1
  52. package/src/stories/views/components/{article/components → page}/podcast/podcast_playlist_article.mdx +1 -1
  53. package/src/stories/views/components/{article/components → page}/podcast/podcast_playlist_article.stories.js +1 -1
  54. package/src/stories/views/components/page/story/story_article.hbs +9 -0
  55. package/src/stories/views/components/page/story/story_main.hbs +20 -0
  56. package/src/stories/views/components/page/story/story_main.mdx +16 -0
  57. package/src/stories/views/components/page/story/story_main.stories.js +17 -0
  58. package/src/stories/views/components/page/story/story_webview.hbs +7 -0
  59. package/src/stories/views/components/{page → pagination}/page_pagination.data.js +1 -1
  60. package/src/stories/views/components/{page → pagination}/page_pagination.stories.js +1 -1
  61. package/dist/assets/js/components/foo.feature.js +0 -16
  62. package/dist/views/components/Button.hbs +0 -10
  63. package/dist/views/components/article/components/podcast/podcast_episode-webview.hbs +0 -17
  64. package/dist/views_static/components/Button.hbs +0 -10
  65. package/src/stories/Example.mdx +0 -56
  66. package/src/stories/Example.stories.js +0 -57
  67. package/src/stories/example.hbs +0 -10
  68. package/src/stories/views/components/Button.hbs +0 -10
  69. package/src/stories/views/components/Button.js +0 -23
  70. package/src/stories/views/components/Button.mdx +0 -30
  71. package/src/stories/views/components/Button.stories.js +0 -60
  72. package/src/stories/views/components/Button_.stories.js +0 -77
  73. package/src/stories/views/components/article/components/podcast/fixtures/podcast_player_episode.json +0 -1
  74. package/src/stories/views/components/article/components/podcast/fixtures/podcast_player_playlist.json +0 -1
  75. package/src/stories/views/components/article/components/podcast/podcast_episode-webview.hbs +0 -17
  76. package/src/stories/views/components/foo.feature.js +0 -16
  77. /package/dist/assets/js/components/{article/components → page}/podcast/podcastChannelRemainingEpisodesLoader.feature.js +0 -0
  78. /package/dist/views/components/{article → content/copytext}/components/accordion/accordion_item.hbs +0 -0
  79. /package/dist/views/components/{article → content/copytext}/components/contentbox/storybook-contentbox.hbs +0 -0
  80. /package/dist/views/components/page/{page.hbs → index/page.hbs} +0 -0
  81. /package/dist/views/components/page/{page_players.hbs → index/page_players.hbs} +0 -0
  82. /package/dist/views/components/{article/components → page}/podcast/components/related-content.ssi.hbs +0 -0
  83. /package/dist/views/components/{article/components → page}/podcast/podcast_episode_article.hbs +0 -0
  84. /package/dist/views/components/{article/components → page}/podcast/podcast_playlist-inline.hbs +0 -0
  85. /package/dist/views/components/{article/components → page}/podcast/podcast_playlist_all_episodes.hbs +0 -0
  86. /package/dist/views/components/{article/components → page}/podcast/podcast_playlist_article.hbs +0 -0
  87. /package/dist/views/components/{page → pagination}/page_pagination.hbs +0 -0
  88. /package/dist/views_static/components/{article → content/copytext}/components/accordion/accordion_item.hbs +0 -0
  89. /package/dist/views_static/components/{article → content/copytext}/components/contentbox/storybook-contentbox.hbs +0 -0
  90. /package/dist/views_static/components/page/{page.hbs → index/page.hbs} +0 -0
  91. /package/dist/views_static/components/page/{page_players.hbs → index/page_players.hbs} +0 -0
  92. /package/dist/views_static/components/{article/components → page}/podcast/components/related-content.ssi.hbs +0 -0
  93. /package/dist/views_static/components/{article/components → page}/podcast/podcast_episode_article.hbs +0 -0
  94. /package/dist/views_static/components/{article/components → page}/podcast/podcast_playlist-inline.hbs +0 -0
  95. /package/dist/views_static/components/{article/components → page}/podcast/podcast_playlist_all_episodes.hbs +0 -0
  96. /package/dist/views_static/components/{article/components → page}/podcast/podcast_playlist_article.hbs +0 -0
  97. /package/dist/views_static/components/{page → pagination}/page_pagination.hbs +0 -0
  98. /package/src/assets/fixtures/{teaser → content/copytext/components/accordion}/accordion.json +0 -0
  99. /package/src/assets/fixtures/{teaser → content/copytext/components/contentbox}/contentbox.json +0 -0
  100. /package/src/assets/fixtures/{page → pagination}/page_pagination.json +0 -0
  101. /package/src/stories/views/components/{article → content/copytext}/components/accordion/accordion_item.hbs +0 -0
  102. /package/src/stories/views/components/{teaser → content/copytext/components/accordion}/fixtures/accordion.json +0 -0
  103. /package/src/stories/views/components/{teaser → content/copytext/components/contentbox}/fixtures/contentbox.json +0 -0
  104. /package/src/stories/views/components/{article → content/copytext}/components/contentbox/storybook-contentbox.hbs +0 -0
  105. /package/src/stories/views/components/page/{page.hbs → index/page.hbs} +0 -0
  106. /package/src/stories/views/components/page/{page.mdx → index/page.mdx} +0 -0
  107. /package/src/stories/views/components/page/{page_player.mdx → index/page_player.mdx} +0 -0
  108. /package/src/stories/views/components/page/{page_players.hbs → index/page_players.hbs} +0 -0
  109. /package/src/stories/views/components/{article/components → page}/podcast/components/related-content.ssi.hbs +0 -0
  110. /package/src/stories/views/components/{article/components → page}/podcast/podcastChannelRemainingEpisodesLoader.feature.js +0 -0
  111. /package/src/stories/views/components/{article/components → page}/podcast/podcast_episode_article.hbs +0 -0
  112. /package/src/stories/views/components/{article/components → page}/podcast/podcast_playlist-inline.hbs +0 -0
  113. /package/src/stories/views/components/{article/components → page}/podcast/podcast_playlist_all_episodes.hbs +0 -0
  114. /package/src/stories/views/components/{article/components → page}/podcast/podcast_playlist_article.hbs +0 -0
  115. /package/src/stories/views/components/{page → pagination}/fixtures/page_pagination.json +0 -0
  116. /package/src/stories/views/components/{page → pagination}/page_pagination.hbs +0 -0
  117. /package/src/stories/views/components/{page → pagination}/page_pagination.mdx +0 -0
@@ -216,6 +216,12 @@ export const parameters = {
216
216
  ],
217
217
  '*',
218
218
  ],
219
+ 'Seiten',
220
+ [
221
+ 'Artikel',
222
+ 'Index',
223
+ 'Index mit Player'
224
+ ],
219
225
  'Komponenten',
220
226
  [
221
227
  'Buttons',
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.57.8 (Wed Feb 14 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Artikel Wrapper AND Refactoring and rearranging of old file structure [#835](https://github.com/mumprod/hr-design-system-handlebars/pull/835) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
13
+ # v1.57.7 (Tue Feb 13 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - copytext bugfixes 2 [#842](https://github.com/mumprod/hr-design-system-handlebars/pull/842) ([@hanswurstsalat](https://github.com/hanswurstsalat))
18
+
19
+ #### Authors: 1
20
+
21
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
22
+
23
+ ---
24
+
1
25
  # v1.57.6 (Mon Feb 12 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -439,7 +439,7 @@ video {
439
439
  --tw-gradient-to-position: ;
440
440
  }
441
441
 
442
- .btn--secondary, .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, .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, .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);
@@ -504,61 +504,6 @@ video {
504
504
  [x-cloak] {
505
505
  display: none !important;
506
506
  }
507
- .btn {
508
- display: inline-block;
509
- cursor: pointer;
510
- border-radius: 1.5rem;
511
- font-family: DIN, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
512
- font-weight: 700;
513
- line-height: 1;
514
- }
515
- .btn--primary {
516
- --tw-bg-opacity: 1;
517
- background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
518
- --tw-text-opacity: 1;
519
- color: rgba(255, 255, 255, var(--tw-text-opacity));
520
- }
521
- .btn--secondary {
522
- background-color: transparent;
523
- --tw-text-opacity: 1;
524
- color: rgba(55, 65, 81, var(--tw-text-opacity));
525
- --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
526
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
527
- box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
528
- 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);
529
- }
530
- .btn--sm {
531
- padding-top: 0.625rem;
532
- padding-bottom: 0.625rem;
533
- padding-left: 1rem;
534
- padding-right: 1rem;
535
- font-size: 0.75rem;
536
- line-height: 1.0625rem;
537
- }
538
- .btn--md {
539
- padding-left: 1.25rem;
540
- padding-right: 1.25rem;
541
- padding-top: 0.75rem;
542
- padding-bottom: 0.75rem;
543
- font-size: 0.875rem;
544
- line-height: 1.1875rem;
545
- }
546
- .btn--lg {
547
- padding-left: 1.5rem;
548
- padding-right: 1.5rem;
549
- padding-top: 0.75rem;
550
- padding-bottom: 0.75rem;
551
- font-size: 1rem;
552
- line-height: 1.375rem;
553
- }
554
- .btn--xl {
555
- padding-left: 1.5rem;
556
- padding-right: 1.5rem;
557
- padding-top: 0.75rem;
558
- padding-bottom: 0.75rem;
559
- font-size: 1.125rem;
560
- line-height: 1.5rem;
561
- }
562
507
  .headline-barrier {
563
508
  display: grid;
564
509
  grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
@@ -1302,6 +1247,9 @@ a.link:hover {
1302
1247
  .\!mb-0 {
1303
1248
  margin-bottom: 0px !important;
1304
1249
  }
1250
+ .\!mt-0 {
1251
+ margin-top: 0px !important;
1252
+ }
1305
1253
  .\!mt-4 {
1306
1254
  margin-top: 1rem !important;
1307
1255
  }
@@ -3305,7 +3253,7 @@ a.link:hover {
3305
3253
  border-bottom-color: var(--color-secondary-ds);
3306
3254
  }
3307
3255
  .counter-reset {
3308
- counter-reset: cnt1707760391912;
3256
+ counter-reset: cnt1707903159761;
3309
3257
  }
3310
3258
  .hyphens-auto {
3311
3259
  -webkit-hyphens: auto;
@@ -3424,6 +3372,27 @@ a.link:hover {
3424
3372
  minmax(0, 1fr) [full-end];
3425
3373
  }
3426
3374
  }
3375
+ .grid-article {
3376
+ --mobile-padding: 1.25rem;
3377
+ --desktop-padding: 40px;
3378
+ --narrow-max-width: 726px;
3379
+ --content-max-width: 940px;
3380
+ --breakout-size: calc((var(--content-max-width) - var(--narrow-max-width)) / 2);
3381
+
3382
+ grid-template-columns:
3383
+ [full-width-start] minmax(var(--mobile-padding), var(--desktop-padding))
3384
+ [content-start] minmax(0, var(--breakout-size))
3385
+ [narrow-start] min(100% - (var(--mobile-padding) * 2),var(--narrow-max-width)) [narrow-end]
3386
+ minmax(0, var(--breakout-size)) [content-end]
3387
+ minmax(var(--mobile-padding), var(--desktop-padding)) [full-width-end];
3388
+ grid-column: main;
3389
+ }
3390
+ .grid-article > :not(.article-breakout):not(.article-full-width){
3391
+ grid-column: narrow;
3392
+ }
3393
+ .article-breakout {
3394
+ grid-column: content;
3395
+ }
3427
3396
  .grid-content {
3428
3397
  grid-template-areas:
3429
3398
  "head"
@@ -3607,7 +3576,7 @@ a.link:hover {
3607
3576
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3608
3577
  }
3609
3578
  .-ordered {
3610
- counter-increment: cnt1707760391912 1;
3579
+ counter-increment: cnt1707903159761 1;
3611
3580
  }
3612
3581
  .-ordered::before {
3613
3582
  position: absolute;
@@ -3623,7 +3592,7 @@ a.link:hover {
3623
3592
  letter-spacing: .0125em;
3624
3593
  --tw-text-opacity: 1;
3625
3594
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3626
- content: counter(cnt1707760391912);
3595
+ content: counter(cnt1707903159761);
3627
3596
  }
3628
3597
  /*! ****************************/
3629
3598
  /*! DataPolicy stuff */
@@ -32,7 +32,7 @@
32
32
  <div class="mb-8 accordionItem">
33
33
  {{else}}
34
34
  {{#if (isStorybook)}}
35
- {{> components/article/components/accordion/accordion_item }}
35
+ {{> components/content/copytext/components/accordion/accordion_item }}
36
36
  {{else}}
37
37
  {{> modules/story/copytext-accordion ~}}
38
38
  {{/if}}
@@ -4,7 +4,7 @@
4
4
  <h3 class="mt-6 -mb-1 text-lg font-normal contentbox-title font-headingSerif dark:text-text-dark">{{this.title}}</h3>
5
5
  {{/if}}
6
6
  {{#if (isStorybook)}}
7
- {{> components/article/components/contentbox/storybook-contentbox }}
7
+ {{> components/content/copytext/components/contentbox/storybook-contentbox }}
8
8
  {{else}}
9
9
  {{> modules/story/copytext-contentbox ~}}
10
10
  {{/if}}
@@ -1,8 +1,10 @@
1
1
  {{#>components/content/copytext/components/common/paragraphbox_frame _showFullsize=this.paragraphProperties.[0].showFullSize}}
2
2
 
3
3
  <span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
4
-
5
- <h3 class="text-lg -mt-[4px] sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
4
+
5
+ {{~#if this.paragraphProperties.[0].title}}
6
+ <h3 class="text-lg -mt-[4px] sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
7
+ {{/if}}
6
8
 
7
9
  {{~#with this.paragraphBoxItem }}
8
10
  {{~#if this.isImage}}
@@ -12,20 +14,39 @@
12
14
  {{/unless}}
13
15
  {{/if}}
14
16
  {{#if this.showPortrait.isTrue }}
15
- {{> components/content/copytext/components/image/figure
16
- _cssClass=""
17
- _type="story"
18
- _variant="copytext-portrait"
19
- _noAr="true"
20
- _isWebview=../../_isWebview}}
17
+ {{~#if ../this.paragraphProperties.[0].title}}
18
+ {{> components/content/copytext/components/image/figure
19
+ _cssClass="!mt-5 !mb-0 !mx-0"
20
+ _type="story"
21
+ _variant="copytext-portrait"
22
+ _noAr="true"
23
+ _isWebview=../../_isWebview}}
24
+ {{else}}
25
+ {{> components/content/copytext/components/image/figure
26
+ _cssClass="!mt-0 !mb-0 !mx-0"
27
+ _type="story"
28
+ _variant="copytext-portrait"
29
+ _noAr="true"
30
+ _isWebview=../../_isWebview}}
31
+ {{/if}}
21
32
  {{else}}
22
- {{> components/content/copytext/components/image/figure
23
- _cssClass="!mt-5 !mb-0 !mx-0"
24
- _cssClassCaption="!mx-0"
25
- _type="story"
26
- _variant="100-copytext"
27
- _pictureAddClass="ar-16-9"
28
- _isWebview=../../_isWebview}}
33
+ {{~#if ../this.paragraphProperties.[0].title}}
34
+ {{> components/content/copytext/components/image/figure
35
+ _cssClass="!mt-5 !mb-0 !mx-0"
36
+ _cssClassCaption="!mx-0"
37
+ _type="story"
38
+ _variant="100-copytext"
39
+ _pictureAddClass="ar-16-9"
40
+ _isWebview=../../_isWebview}}
41
+ {{else}}
42
+ {{> components/content/copytext/components/image/figure
43
+ _cssClass="!mt-0 !mb-0 !mx-0"
44
+ _cssClassCaption="!mx-0"
45
+ _type="story"
46
+ _variant="100-copytext"
47
+ _pictureAddClass="ar-16-9"
48
+ _isWebview=../../_isWebview}}
49
+ {{/if}}
29
50
  {{/if}}
30
51
  {{#if ../paragraphProperties.[0].showFullSize }}
31
52
  {{#unless this.showFullSize.isTrue }}
@@ -10,10 +10,10 @@
10
10
  {{~> components/content/copytext/components/image/image}}
11
11
  {{/if~}}
12
12
  {{~#if this.isContentBox}}
13
- {{~> components/article/components/contentbox/contentbox ~}}
13
+ {{~> components/content/copytext/components/contentbox/contentbox ~}}
14
14
  {{/if~}}
15
15
  {{~#if this.isAccordion}}
16
- {{~> components/article/components/accordion/accordion ~}}
16
+ {{~> components/content/copytext/components/accordion/accordion ~}}
17
17
  {{/if~}}
18
18
  {{~#if this.isGallery}}
19
19
  {{> components/content/copytext/components/gallery }}
@@ -0,0 +1,3 @@
1
+ <div class="grid bg-white grid-article">
2
+ {{> @partial-block }}
3
+ </div>
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_episode_article _webview=true}}
7
+ {{> components/page/podcast/podcast_episode_article _webview=true}}
8
8
 
9
9
  {{{ this.relatedContentSsi }}}
10
10
  </div>
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_episode_article }}
7
+ {{> components/page/podcast/podcast_episode_article }}
8
8
 
9
9
  {{{ this.relatedContentSsi }}}
10
10
  </div>
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_playlist_article _webview=true}}
7
+ {{> components/page/podcast/podcast_playlist_article _webview=true}}
8
8
  </div>
9
9
  {{~/partial~}}
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_playlist_article }}
7
+ {{> components/page/podcast/podcast_playlist_article }}
8
8
  </div>
9
9
  <script type="application/ld+json">
10
10
  {{{this.podcastSeriesStructuredData}}}
@@ -0,0 +1,9 @@
1
+ {{#>components/page/base/page_wrapper}}
2
+ <h2 class="mb-4 text-3xl">Polter kennt die anderen Offensiven schon</h2>
3
+ <p class="mb-4 font-bold">Sandro Wagner wurde es dann doch nicht. Das Profil des ehemaligen Lilien-Stürmers und heutigen Co-Trainers der Nationalmannschaft war aber auch am letzten Tag der Transferperiode in Darmstadt erkennbar.</p>
4
+ <img class="mb-4 article-breakout" src="https://unsplash.it/id/26/980/528" alt="">
5
+ <p class="mb-4">Der 1,92 Meter große Angreifer hat viel gesehen in der Fußball-Welt. Wolfsburg, Nürnberg, Mainz, Union Berlin, Queens Park Rangers, Bochum und Schalke 04 - so lauteten seine Stationen. Für Deutschland spielte er sogar in diversen Auswahlmannschaften. "Mit seiner Physis und Statur ist er der klassische Zielstürmer, den wir unserem Kader zuführen wollten", berichtete Trainer Torsten Lieberknecht. Selbst Eintracht Frankfurt soll sich 2022 nach dem Europa-League-Sieg intensiv mit einer Verpflichtung von Polter beschäftigt haben.</p>
6
+ <h2 class="mb-4 text-xl">Polter kennt die anderen Offensiven schon</h2>
7
+ <p class="mb-4">Der Stürmer kann Bälle festmachen, Verteidiger binden, fühlt sich zudem in der Box zu Hause. In der Bundesliga netzte er 21 Mal ein, in der 2. Liga sogar 45 Mal in 99 Partien. Durch seine Erfahrung und Nervenstärke kann er den Lilien gerade im Abstiegskampf eine Stütze sein. Polter scheut sich vor keiner Verantwortung, beim Spiel der Schalker gegen Magdeburg im Herbst markierte er seinen zweiten Treffer im Spiel durch einen Elfmeter vor dem Ende zum 4:3. "Ich werde alles daransetzen, der Mannschaft zu helfen und meine Erfahrung im Kampf um den Klassenerhalt einzubringen", ließ sich Polter am Donnerstag zitieren.</p>
8
+ <p class="mb-4">Interessant dabei: Polter galt als einer der Lieblingsspieler von Trainer Thomas Reis, der ihn erst in Bochum coachte und dann zum S04 holte. Neben Polter kam vor Jahresfrist noch Tim Skarke nach Gelsenkirchen, ein Transfer von Gerrit Holtmann zerschlug sich seinerzeit. "Die Lilien haben nun die Thomas-Reis-Wunschoffensive zusammen", hieß es daher am Donnerstag im Ruhrgebiet. So entsteht auch ein Vorteil für Darmstadt: Polter kennt das Zusammenspiel mit Skarke aus Schalker Tagen, jenes mit Holtmann aus Bochumer Tagen.</p>
9
+ {{/components/page/base/page_wrapper}}
@@ -0,0 +1,20 @@
1
+ {{~#partial "body"~}}
2
+ {{~>components/page/story/story_article}}
3
+
4
+ {{#if this.hasFAQ}}
5
+ <script type="application/ld+json">
6
+ {{{this.faqJsonLd}}}
7
+ </script>
8
+ {{/if}}
9
+ {{#if this.hasJobposting}}
10
+ <script type="application/ld+json">
11
+ {{{this.jobpostingJsonLd}}}
12
+ </script>
13
+ {{/if}}
14
+ {{#if this.isRecipe}}
15
+ <script type="application/ld+json">
16
+ {{{this.recipeJsonLd}}}
17
+ </script>
18
+ {{/if}}
19
+ {{/partial}}
20
+ {{> "modules/page/base" }}
@@ -0,0 +1,7 @@
1
+ {{~#partial "body"~}}
2
+
3
+ {{> components/page/story/story_article _webview=true }}
4
+
5
+ {{/partial}}
6
+
7
+ {{> "modules/page/base" _webview=true }}
@@ -32,7 +32,7 @@
32
32
  <div class="mb-8 accordionItem">
33
33
  {{else}}
34
34
  {{#if (isStorybook)}}
35
- {{> components/article/components/accordion/accordion_item }}
35
+ {{> components/content/copytext/components/accordion/accordion_item }}
36
36
  {{else}}
37
37
  {{> modules/story/copytext-accordion ~}}
38
38
  {{/if}}
@@ -4,7 +4,7 @@
4
4
  <h3 class="mt-6 -mb-1 text-lg font-normal contentbox-title font-headingSerif dark:text-text-dark">{{this.title}}</h3>
5
5
  {{/if}}
6
6
  {{#if (isStorybook)}}
7
- {{> components/article/components/contentbox/storybook-contentbox }}
7
+ {{> components/content/copytext/components/contentbox/storybook-contentbox }}
8
8
  {{else}}
9
9
  {{> modules/story/copytext-contentbox ~}}
10
10
  {{/if}}
@@ -1,8 +1,10 @@
1
1
  {{#>components/content/copytext/components/common/paragraphbox_frame _showFullsize=this.paragraphProperties.[0].showFullSize}}
2
2
 
3
3
  <span class="sr-only">{{loca "story_infobox_intro_sr" }}</span>
4
-
5
- <h3 class="text-lg -mt-[4px] sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
4
+
5
+ {{~#if this.paragraphProperties.[0].title}}
6
+ <h3 class="text-lg -mt-[4px] sm480:text-2xl font-headingSerif dark:text-text-dark">{{this.paragraphProperties.[0].title}}</h3>
7
+ {{/if}}
6
8
 
7
9
  {{~#with this.paragraphBoxItem }}
8
10
  {{~#if this.isImage}}
@@ -12,20 +14,39 @@
12
14
  {{/unless}}
13
15
  {{/if}}
14
16
  {{#if this.showPortrait.isTrue }}
15
- {{> components/content/copytext/components/image/figure
16
- _cssClass=""
17
- _type="story"
18
- _variant="copytext-portrait"
19
- _noAr="true"
20
- _isWebview=../../_isWebview}}
17
+ {{~#if ../this.paragraphProperties.[0].title}}
18
+ {{> components/content/copytext/components/image/figure
19
+ _cssClass="!mt-5 !mb-0 !mx-0"
20
+ _type="story"
21
+ _variant="copytext-portrait"
22
+ _noAr="true"
23
+ _isWebview=../../_isWebview}}
24
+ {{else}}
25
+ {{> components/content/copytext/components/image/figure
26
+ _cssClass="!mt-0 !mb-0 !mx-0"
27
+ _type="story"
28
+ _variant="copytext-portrait"
29
+ _noAr="true"
30
+ _isWebview=../../_isWebview}}
31
+ {{/if}}
21
32
  {{else}}
22
- {{> components/content/copytext/components/image/figure
23
- _cssClass="!mt-5 !mb-0 !mx-0"
24
- _cssClassCaption="!mx-0"
25
- _type="story"
26
- _variant="100-copytext"
27
- _pictureAddClass="ar-16-9"
28
- _isWebview=../../_isWebview}}
33
+ {{~#if ../this.paragraphProperties.[0].title}}
34
+ {{> components/content/copytext/components/image/figure
35
+ _cssClass="!mt-5 !mb-0 !mx-0"
36
+ _cssClassCaption="!mx-0"
37
+ _type="story"
38
+ _variant="100-copytext"
39
+ _pictureAddClass="ar-16-9"
40
+ _isWebview=../../_isWebview}}
41
+ {{else}}
42
+ {{> components/content/copytext/components/image/figure
43
+ _cssClass="!mt-0 !mb-0 !mx-0"
44
+ _cssClassCaption="!mx-0"
45
+ _type="story"
46
+ _variant="100-copytext"
47
+ _pictureAddClass="ar-16-9"
48
+ _isWebview=../../_isWebview}}
49
+ {{/if}}
29
50
  {{/if}}
30
51
  {{#if ../paragraphProperties.[0].showFullSize }}
31
52
  {{#unless this.showFullSize.isTrue }}
@@ -10,10 +10,10 @@
10
10
  {{~> components/content/copytext/components/image/image}}
11
11
  {{/if~}}
12
12
  {{~#if this.isContentBox}}
13
- {{~> components/article/components/contentbox/contentbox ~}}
13
+ {{~> components/content/copytext/components/contentbox/contentbox ~}}
14
14
  {{/if~}}
15
15
  {{~#if this.isAccordion}}
16
- {{~> components/article/components/accordion/accordion ~}}
16
+ {{~> components/content/copytext/components/accordion/accordion ~}}
17
17
  {{/if~}}
18
18
  {{~#if this.isGallery}}
19
19
  {{> components/content/copytext/components/gallery }}
@@ -0,0 +1,3 @@
1
+ <div class="grid bg-white grid-article">
2
+ {{> @partial-block }}
3
+ </div>
@@ -0,0 +1,17 @@
1
+ {{~#partial "staticHeader"~}}
2
+ <link rel="preconnect" href="//mp3podcasthr-a.akamaihd.net/">
3
+ {{~/partial~}}
4
+
5
+ {{~#partial "body" ~}}
6
+ <div class="o-wrapper u-content-background">
7
+ {{> components/page/podcast/podcast_episode_article _webview=true}}
8
+
9
+ {{{ this.relatedContentSsi }}}
10
+ </div>
11
+ <script type="application/ld+json">
12
+ {{{this.structuredData}}}
13
+
14
+ </script>
15
+ {{~/partial~}}
16
+
17
+ {{~> modules/page/base _webview=true ~}}
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_episode_article }}
7
+ {{> components/page/podcast/podcast_episode_article }}
8
8
 
9
9
  {{{ this.relatedContentSsi }}}
10
10
  </div>
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_playlist_article _webview=true}}
7
+ {{> components/page/podcast/podcast_playlist_article _webview=true}}
8
8
  </div>
9
9
  {{~/partial~}}
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  {{~#partial "body" ~}}
6
6
  <div class="o-wrapper u-content-background">
7
- {{> components/article/components/podcast/podcast_playlist_article }}
7
+ {{> components/page/podcast/podcast_playlist_article }}
8
8
  </div>
9
9
  <script type="application/ld+json">
10
10
  {{{this.podcastSeriesStructuredData}}}
@@ -0,0 +1,9 @@
1
+ {{#>components/page/base/page_wrapper}}
2
+ <h2 class="mb-4 text-3xl">Polter kennt die anderen Offensiven schon</h2>
3
+ <p class="mb-4 font-bold">Sandro Wagner wurde es dann doch nicht. Das Profil des ehemaligen Lilien-Stürmers und heutigen Co-Trainers der Nationalmannschaft war aber auch am letzten Tag der Transferperiode in Darmstadt erkennbar.</p>
4
+ <img class="mb-4 article-breakout" src="https://unsplash.it/id/26/980/528" alt="">
5
+ <p class="mb-4">Der 1,92 Meter große Angreifer hat viel gesehen in der Fußball-Welt. Wolfsburg, Nürnberg, Mainz, Union Berlin, Queens Park Rangers, Bochum und Schalke 04 - so lauteten seine Stationen. Für Deutschland spielte er sogar in diversen Auswahlmannschaften. "Mit seiner Physis und Statur ist er der klassische Zielstürmer, den wir unserem Kader zuführen wollten", berichtete Trainer Torsten Lieberknecht. Selbst Eintracht Frankfurt soll sich 2022 nach dem Europa-League-Sieg intensiv mit einer Verpflichtung von Polter beschäftigt haben.</p>
6
+ <h2 class="mb-4 text-xl">Polter kennt die anderen Offensiven schon</h2>
7
+ <p class="mb-4">Der Stürmer kann Bälle festmachen, Verteidiger binden, fühlt sich zudem in der Box zu Hause. In der Bundesliga netzte er 21 Mal ein, in der 2. Liga sogar 45 Mal in 99 Partien. Durch seine Erfahrung und Nervenstärke kann er den Lilien gerade im Abstiegskampf eine Stütze sein. Polter scheut sich vor keiner Verantwortung, beim Spiel der Schalker gegen Magdeburg im Herbst markierte er seinen zweiten Treffer im Spiel durch einen Elfmeter vor dem Ende zum 4:3. "Ich werde alles daransetzen, der Mannschaft zu helfen und meine Erfahrung im Kampf um den Klassenerhalt einzubringen", ließ sich Polter am Donnerstag zitieren.</p>
8
+ <p class="mb-4">Interessant dabei: Polter galt als einer der Lieblingsspieler von Trainer Thomas Reis, der ihn erst in Bochum coachte und dann zum S04 holte. Neben Polter kam vor Jahresfrist noch Tim Skarke nach Gelsenkirchen, ein Transfer von Gerrit Holtmann zerschlug sich seinerzeit. "Die Lilien haben nun die Thomas-Reis-Wunschoffensive zusammen", hieß es daher am Donnerstag im Ruhrgebiet. So entsteht auch ein Vorteil für Darmstadt: Polter kennt das Zusammenspiel mit Skarke aus Schalker Tagen, jenes mit Holtmann aus Bochumer Tagen.</p>
9
+ {{/components/page/base/page_wrapper}}
@@ -0,0 +1,20 @@
1
+ {{~#partial "body"~}}
2
+ {{~>components/page/story/story_article}}
3
+
4
+ {{#if this.hasFAQ}}
5
+ <script type="application/ld+json">
6
+ {{{this.faqJsonLd}}}
7
+ </script>
8
+ {{/if}}
9
+ {{#if this.hasJobposting}}
10
+ <script type="application/ld+json">
11
+ {{{this.jobpostingJsonLd}}}
12
+ </script>
13
+ {{/if}}
14
+ {{#if this.isRecipe}}
15
+ <script type="application/ld+json">
16
+ {{{this.recipeJsonLd}}}
17
+ </script>
18
+ {{/if}}
19
+ {{/partial}}
20
+ {{> "modules/page/base" }}
@@ -0,0 +1,7 @@
1
+ {{~#partial "body"~}}
2
+
3
+ {{> components/page/story/story_article _webview=true }}
4
+
5
+ {{/partial}}
6
+
7
+ {{> "modules/page/base" _webview=true }}
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.57.6",
9
+ "version": "1.57.8",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -173,6 +173,30 @@
173
173
  minmax(0, 1fr) [full-end];
174
174
  }
175
175
  }
176
+ .grid-article {
177
+ --mobile-padding: 1.25rem;
178
+ --desktop-padding: 40px;
179
+ --narrow-max-width: 726px;
180
+ --content-max-width: 940px;
181
+ --breakout-size: calc((var(--content-max-width) - var(--narrow-max-width)) / 2);
182
+
183
+ grid-template-columns:
184
+ [full-width-start] minmax(var(--mobile-padding), var(--desktop-padding))
185
+ [content-start] minmax(0, var(--breakout-size))
186
+ [narrow-start] min(100% - (var(--mobile-padding) * 2),var(--narrow-max-width)) [narrow-end]
187
+ minmax(0, var(--breakout-size)) [content-end]
188
+ minmax(var(--mobile-padding), var(--desktop-padding)) [full-width-end];
189
+ grid-column: main;
190
+ }
191
+ .grid-article > :not(.article-breakout, .article-full-width){
192
+ grid-column: narrow;
193
+ }
194
+ .article-breakout {
195
+ grid-column: content;
196
+ }
197
+ .article-full-width {
198
+ grid-column: full-width;
199
+ }
176
200
 
177
201
  .grid-content {
178
202
  grid-template-areas:
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "isSsi": true,
3
3
  "logicItem": {
4
- "includePath": "components/article/components/podcast/podcast_player_episode",
4
+ "includePath": "components/page/podcast/podcast_player_episode",
5
5
  "includeModel": {
6
6
  "byline": "Byline",
7
7
  "title": "Legal Kiffen: Cannabis-Gesetz sorgt für Kritik",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "teaserPodcastPlaylist": {
3
3
  "logicItem": {
4
- "includePath": "components/article/components/podcast/podcast_playlist_article",
4
+ "includePath": "components/page/podcast/podcast_playlist_article",
5
5
  "includeModel": {
6
6
  "teaserSize": "100",
7
7
  "realTeaserSize": "100",
@@ -32,7 +32,7 @@
32
32
  <div class="mb-8 accordionItem">
33
33
  {{else}}
34
34
  {{#if (isStorybook)}}
35
- {{> components/article/components/accordion/accordion_item }}
35
+ {{> components/content/copytext/components/accordion/accordion_item }}
36
36
  {{else}}
37
37
  {{> modules/story/copytext-accordion ~}}
38
38
  {{/if}}