hr-design-system-handlebars 0.50.4 → 0.50.7

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 (63) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/assets/index.css +43 -34
  3. package/dist/views/components/base/load_dynamic.hbs +6 -0
  4. package/dist/views/components/button/button_pseudo.hbs +3 -0
  5. package/dist/views/components/grid/grid.hbs +4 -4
  6. package/dist/views/components/grid/grid_group_highlight.hbs +9 -0
  7. package/dist/views/components/grid/grid_group_tabbed.hbs +3 -3
  8. package/dist/views/components/teaser/group_teaser/group_highlight.hbs +10 -0
  9. package/dist/views/components/teaser/group_teaser/group_teaser.hbs +8 -8
  10. package/dist/views/components/teaser/tabbox/group_tabbox.hbs +2 -4
  11. package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +4 -1
  12. package/dist/views/components/teaser/teaser_alternativ.hbs +7 -5
  13. package/dist/views/components/video/livestream/video_livestream.hbs +1 -1
  14. package/dist/views/components/video/video_element.hbs +1 -1
  15. package/package.json +1 -1
  16. package/src/assets/css/custom-components.css +15 -6
  17. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_audio.json +44 -0
  18. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_live.json +44 -0
  19. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_video.json +44 -0
  20. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_audio.json +44 -0
  21. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_live.json +44 -0
  22. package/src/assets/fixtures/teaser/teaser_alternative_50_serif_video.json +44 -0
  23. package/src/assets/fixtures/teaser/{teaser_alternative_25_serif.json → teaser_alternative_hero_serif_audio.json} +7 -7
  24. package/src/assets/fixtures/teaser/{teaser_alternative_33_serif.json → teaser_alternative_hero_serif_live.json} +7 -7
  25. package/src/assets/fixtures/teaser/teaser_alternative_hero_serif_video.json +25 -0
  26. package/src/assets/fixtures/teaser/teaser_group_100.json +4 -0
  27. package/src/assets/fixtures/teaser/{teaser_group_100_2x_50.inc.json → teaser_groups.inc.json} +53 -0
  28. package/src/assets/fixtures/teaser/teaser_index.json +13 -5
  29. package/src/assets/fixtures/teaser/teaser_tabbox.json +43 -40
  30. package/src/stories/views/components/base/load_dynamic.hbs +6 -0
  31. package/src/stories/views/components/button/button_pseudo.hbs +3 -0
  32. package/src/stories/views/components/grid/grid.hbs +4 -4
  33. package/src/stories/views/components/grid/grid_group_highlight.hbs +9 -0
  34. package/src/stories/views/components/grid/grid_group_tabbed.hbs +3 -3
  35. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_audio.json +1 -0
  36. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +1 -0
  37. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_video.json +1 -0
  38. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_audio.json +1 -0
  39. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +1 -0
  40. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_video.json +1 -0
  41. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_audio.json +1 -0
  42. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +1 -0
  43. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_video.json +1 -0
  44. package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -0
  45. package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
  46. package/src/stories/views/components/teaser/fixtures/teaser_tabbox.json +1 -1
  47. package/src/stories/views/components/teaser/group_teaser/group.stories.mdx +57 -0
  48. package/src/stories/views/components/teaser/group_teaser/group_highlight.hbs +10 -0
  49. package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +8 -8
  50. package/src/stories/views/components/teaser/tabbox/group_tabbox.hbs +2 -4
  51. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +4 -1
  52. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.stories.mdx +4 -2
  53. package/src/stories/views/components/teaser/teaser_alternativ.hbs +7 -5
  54. package/src/stories/views/components/teaser/teaser_alternativ_av.stories.mdx +133 -0
  55. package/src/stories/views/components/teaser/teaser_logic/teaser_logic.stories.mdx +3 -3
  56. package/src/stories/views/components/video/livestream/video_livestream.hbs +1 -1
  57. package/src/stories/views/components/video/video_element.hbs +1 -1
  58. package/dist/views/components/grid/grid_group_full.hbs +0 -9
  59. package/src/stories/views/components/grid/grid_group_full.hbs +0 -9
  60. package/src/stories/views/components/teaser/fixtures/teaser_alternative_25_serif.json +0 -1
  61. package/src/stories/views/components/teaser/fixtures/teaser_alternative_33_serif.json +0 -1
  62. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif copy.json +0 -1
  63. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif copy.json +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ # v0.50.7 (Tue Jul 26 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 1641 [#284](https://github.com/mumprod/hr-design-system-handlebars/pull/284) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
10
+
11
+ ---
12
+
13
+ # v0.50.6 (Tue Jul 19 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - Dpe 1688 b [#281](https://github.com/mumprod/hr-design-system-handlebars/pull/281) ([@vascoeduardo](https://github.com/vascoeduardo))
18
+
19
+ #### Authors: 1
20
+
21
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
22
+
23
+ ---
24
+
25
+ # v0.50.5 (Mon Jul 18 2022)
26
+
27
+ #### 🐛 Bug Fix
28
+
29
+ - fix anchor-bug, add pseudo-button [#282](https://github.com/mumprod/hr-design-system-handlebars/pull/282) ([@hanswurstsalat](https://github.com/hanswurstsalat))
30
+
31
+ #### Authors: 1
32
+
33
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
34
+
35
+ ---
36
+
1
37
  # v0.50.4 (Fri Jul 15 2022)
2
38
 
3
39
  #### 🐛 Bug Fix
@@ -551,7 +551,7 @@ video {
551
551
  font-size: 1.125rem;
552
552
  line-height: 1.5rem;
553
553
  }
554
- .headline--barrier {
554
+ .headline-barrier {
555
555
  display: -webkit-box;
556
556
  display: -ms-flexbox;
557
557
  display: flex;
@@ -564,17 +564,26 @@ video {
564
564
  align-items: center;
565
565
  text-align: center;
566
566
  }
567
- .headline--barrier:before,
568
- .headline--barrier:after {
567
+ .headline-barrier:before,
568
+ .headline-barrier:after {
569
569
  content: '';
570
570
  border-top: 1px solid;
571
- margin: 3px 20px 0 0;
571
+ margin: 3px 10px 0 0;
572
572
  -webkit-box-flex: 1;
573
573
  -ms-flex: 1 0 20px;
574
574
  flex: 1 0 20px;
575
575
  }
576
- .headline--barrier:after {
577
- margin: 3px 0 0 20px;
576
+ .headline-barrier:after {
577
+ margin: 3px 0 0 10px;
578
+
579
+ }
580
+ @media (min-width: 768px) {
581
+ .headline-barrier:after {
582
+ margin: 3px 0 0 20px;
583
+ }
584
+ .headline-barrier:before {
585
+ margin: 3px 20px 0 0;
586
+ }
578
587
  }
579
588
  .sr-only {
580
589
  position: absolute;
@@ -818,15 +827,15 @@ video {
818
827
  .h-5 {
819
828
  height: 1.25rem;
820
829
  }
830
+ .h-auto {
831
+ height: auto;
832
+ }
821
833
  .h-3\.5 {
822
834
  height: 0.875rem;
823
835
  }
824
836
  .h-3 {
825
837
  height: 0.75rem;
826
838
  }
827
- .h-auto {
828
- height: auto;
829
- }
830
839
  .h-4 {
831
840
  height: 1rem;
832
841
  }
@@ -1153,6 +1162,10 @@ video {
1153
1162
  .border-r {
1154
1163
  border-right-width: 1px;
1155
1164
  }
1165
+ .border-toplineColor {
1166
+ border-color: #006dc1;
1167
+ border-color: var(--color-topline);
1168
+ }
1156
1169
  .border-white {
1157
1170
  --tw-border-opacity: 1;
1158
1171
  border-color: rgba(255, 255, 255, var(--tw-border-opacity));
@@ -1184,34 +1197,18 @@ video {
1184
1197
  .bg-transparent {
1185
1198
  background-color: transparent;
1186
1199
  }
1187
- .bg-gray-100 {
1188
- --tw-bg-opacity: 1;
1189
- background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
1190
- }
1191
- .bg-green-300 {
1192
- --tw-bg-opacity: 1;
1193
- background-color: rgba(134, 239, 172, var(--tw-bg-opacity));
1194
- }
1195
- .bg-gray-500 {
1196
- --tw-bg-opacity: 1;
1197
- background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
1198
- }
1199
1200
  .bg-white {
1200
1201
  --tw-bg-opacity: 1;
1201
1202
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
1202
1203
  }
1203
- .bg-blue-200 {
1204
+ .bg-gray-500 {
1204
1205
  --tw-bg-opacity: 1;
1205
- background-color: rgba(191, 219, 254, var(--tw-bg-opacity));
1206
+ background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
1206
1207
  }
1207
1208
  .bg-blue-400 {
1208
1209
  --tw-bg-opacity: 1;
1209
1210
  background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
1210
1211
  }
1211
- .bg-red-400 {
1212
- --tw-bg-opacity: 1;
1213
- background-color: rgba(248, 113, 113, var(--tw-bg-opacity));
1214
- }
1215
1212
  .bg-labelMedia {
1216
1213
  background-color: #006dc1;
1217
1214
  background-color: var(--color-label-media);
@@ -1305,6 +1302,10 @@ video {
1305
1302
  .p-5 {
1306
1303
  padding: 1.25rem;
1307
1304
  }
1305
+ .px-2 {
1306
+ padding-left: 0.5rem;
1307
+ padding-right: 0.5rem;
1308
+ }
1308
1309
  .py-3\.5 {
1309
1310
  padding-top: 0.875rem;
1310
1311
  padding-bottom: 0.875rem;
@@ -1345,10 +1346,6 @@ video {
1345
1346
  padding-left: 1.25rem;
1346
1347
  padding-right: 1.25rem;
1347
1348
  }
1348
- .px-2 {
1349
- padding-left: 0.5rem;
1350
- padding-right: 0.5rem;
1351
- }
1352
1349
  .py-2 {
1353
1350
  padding-top: 0.5rem;
1354
1351
  padding-bottom: 0.5rem;
@@ -1529,6 +1526,10 @@ video {
1529
1526
  --tw-text-opacity: 1;
1530
1527
  color: rgba(39, 107, 158, var(--tw-text-opacity));
1531
1528
  }
1529
+ .text-toplineColor {
1530
+ color: #006dc1;
1531
+ color: var(--color-topline);
1532
+ }
1532
1533
  .text-blue-700 {
1533
1534
  --tw-text-opacity: 1;
1534
1535
  color: rgba(29, 78, 216, var(--tw-text-opacity));
@@ -1545,9 +1546,9 @@ video {
1545
1546
  --tw-text-opacity: 1;
1546
1547
  color: rgba(0, 82, 147, var(--tw-text-opacity));
1547
1548
  }
1548
- .text-toplineColor {
1549
- color: #006dc1;
1550
- color: var(--color-topline);
1549
+ .text-blue-science {
1550
+ --tw-text-opacity: 1;
1551
+ color: rgba(0, 109, 193, var(--tw-text-opacity));
1551
1552
  }
1552
1553
  .text-orange-spicyCarrot {
1553
1554
  --tw-text-opacity: 1;
@@ -1556,6 +1557,10 @@ video {
1556
1557
  .text-opacity-50 {
1557
1558
  --tw-text-opacity: 0.5;
1558
1559
  }
1560
+ .no-underline {
1561
+ -webkit-text-decoration-line: none;
1562
+ text-decoration-line: none;
1563
+ }
1559
1564
  .decoration-1 {
1560
1565
  text-decoration-thickness: 1px;
1561
1566
  }
@@ -2797,6 +2802,10 @@ video {
2797
2802
  line-height: 1rem;
2798
2803
  }
2799
2804
 
2805
+ .md\:decoration-2 {
2806
+ text-decoration-thickness: 2px;
2807
+ }
2808
+
2800
2809
  .md\:drop-shadow-md {
2801
2810
  --tw-drop-shadow: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.07));
2802
2811
  -webkit-filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -5,9 +5,15 @@
5
5
  {{#case "components/teaser/group_teaser/group_teaser"}}
6
6
  {{> components/teaser/group_teaser/group_teaser}}
7
7
  {{/case}}
8
+ {{#case "components/teaser/group_teaser/group_highlight"}}
9
+ {{> components/teaser/group_teaser/group_highlight}}
10
+ {{/case}}
8
11
  {{#case "components/teaser/tabbox/group_tabbox"}}
9
12
  {{> components/teaser/tabbox/group_tabbox}}
10
13
  {{/case}}
14
+ {{#case "components/teaser/tabbox/teaser_tabbox"}}
15
+ {{> components/teaser/tabbox/teaser_tabbox}}
16
+ {{/case}}
11
17
  {{#case "components/teaser/teaser_standard"}}
12
18
  {{> components/teaser/teaser_standard}}
13
19
  {{/case}}
@@ -0,0 +1,3 @@
1
+ {{#>components/base/link css="px-2 border text-toplineColor border-toplineColor font-heading hover:underline" }}
2
+ {{_linkTitle}}
3
+ {{/components/base/link}}
@@ -1,6 +1,6 @@
1
1
 
2
- <div class="grid bg-gray-100 grid-page">
3
- <div class="grid grid-cols-12 py-6 bg-green-300 sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
2
+ <div class="grid grid-page">
3
+ <div class="grid grid-cols-12 py-6 bg-white sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
4
4
  {{#>components/grid/grid_group size="100"}}
5
5
  <h2 class="text-4xl headline--barrier col-span-full">Gruppen 100%</h2>
6
6
  {{#>components/grid/grid_item size="12"}}
@@ -11,7 +11,7 @@
11
11
  </a>
12
12
  {{/components/grid/grid_item}}
13
13
  {{/components/grid/grid_group}}
14
- {{#>components/grid/grid_group_full }}
14
+ {{#>components/grid/grid_group_highlight }}
15
15
  <h2 class="text-4xl headline--barrier col-span-full">Gruppen 100% mit blauen Hintergrung bis Rand</h2>
16
16
  {{#>components/grid/grid_item size="6"}}
17
17
  <div class="flex items-center justify-center text-5xl text-white bg-gray-500 aspect-video">
@@ -23,7 +23,7 @@
23
23
  6/12 = 50%
24
24
  </div>
25
25
  {{/components/grid/grid_item}}
26
- {{/components/grid/grid_group_full}}
26
+ {{/components/grid/grid_group_highlight}}
27
27
 
28
28
  {{#>components/grid/grid_group size="100"}}
29
29
 
@@ -0,0 +1,9 @@
1
+ </div>
2
+ <div class="grid bg-blue-400 col-full grid-page">
3
+ <section class="grid grid-cols-12 px-8 py-6 bg-blue-400 col-full sm:col-main gap-x-6 gap-y-9">
4
+ <div class="grid content-start grid-cols-12 col-span-12 gap-x-6 gap-y-6">
5
+ {{> @partial-block }}
6
+ </div>
7
+ </section>
8
+ </div>
9
+ <div class="grid grid-cols-12 py-6 bg-white sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
@@ -1,5 +1,5 @@
1
1
  </div>
2
- <div class="grid grid-cols-12 px-8 py-8 mx-4 bg-blue-400 sm:mx-0 rounded-tl-3xl rounded-br-3xl col-full sm:col-main gap-x-6 gap-y-6">
2
+ <section class="grid grid-cols-12 px-8 py-8 mx-4 bg-blue-400 sm:mx-0 rounded-tl-3xl rounded-br-3xl col-full sm:col-main gap-x-6 gap-y-6">
3
3
  {{> @partial-block }}
4
- </div>
5
- <div class="grid grid-cols-12 py-6 bg-green-300 sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
4
+ </section>
5
+ <div class="grid grid-cols-12 py-6 bg-white sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
@@ -0,0 +1,10 @@
1
+ {{#>components/grid/grid_group_highlight }}
2
+ {{~#if this.hasGroupTitle}}
3
+ <h2 class="text-2xl text-center md:text-3xl col-span-full">
4
+ {{~#if this.hasLink}}<a class="link" href="{{this.link.url}}">{{/if~}}
5
+ {{this.groupTitle}}
6
+ {{~#if this.hasLink}}</a>{{/if~}}
7
+ </h2>
8
+ {{/if}}
9
+ {{~> components/teaser/teaser_logic/teaser_logic ~}}
10
+ {{/components/grid/grid_group_highlight}}
@@ -1,10 +1,10 @@
1
1
  {{#>components/grid/grid_group size=this.teaserSize }}
2
- {{~#if this.hasGroupTitle}}
3
- <h2 class="text-4xl headline--barrier col-span-full">
4
- {{~#if this.hasLink}}<a class="link" href="{{this.link.url}}">{{/if~}}
5
- <span class="headline--separator__text">{{this.groupTitle}}</span>
6
- {{~#if this.hasLink}}</a>{{/if~}}
7
- </h2>
8
- {{/if}}
9
- {{~> components/teaser/teaser_logic/teaser_logic ~}}
2
+ {{~#if this.hasGroupTitle}}
3
+ <h2 class="text-2xl md:text-3xl headline-barrier col-span-full">
4
+ {{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
5
+ {{this.groupTitle}}
6
+ {{~#if this.hasLink}}</a>{{/if~}}
7
+ </h2>
8
+ {{/if}}
9
+ {{~> components/teaser/teaser_logic/teaser_logic ~}}
10
10
  {{/components/grid/grid_group}}
@@ -19,10 +19,8 @@
19
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
20
  </div>
21
21
  {{~#if this.link~}}
22
- <div class="flex justify-center">
23
- <a class="text-base pt-7 font-heading text-toplineColor hover:underline" href="{{this.link.url}}">
24
- {{~loca "group_tabbed_more" this.title~}}
25
- </a>
22
+ <div class="flex justify-center pt-7">
23
+ {{~> components/button/button_pseudo _linkTitle=(loca "group_tabbed_more" this.title) ~}}
26
24
  </div>
27
25
  {{~/if~}}
28
26
  </section>
@@ -1,3 +1,4 @@
1
+ </div>
1
2
  <div
2
3
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
3
4
  class="grid grid-cols-12 pt-6 md:pt-7 bg-[#dce8f0] mx-0 md:rounded-tl-3xl md:rounded-br-3xl col-main gap-x-6 gap-y-6"
@@ -7,6 +8,7 @@
7
8
  {{~#each this.tabbedGroup~}}
8
9
  <button onclick="window.location.href='#tgp{{@index}}';"
9
10
  :class="tab === '{{this.title}}' ? 'text-white bg-blue-congress' : 'bg-white text-blue-congress'"
11
+ x-effect="$el.removeAttribute('onclick')"
10
12
  x-on:click.prevent="tab = '{{this.title}}'"
11
13
  class="text-base font-heading py-1 px-2 m-1.5"
12
14
  type="button"
@@ -18,4 +20,5 @@
18
20
  </div>
19
21
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
20
22
  </section>
21
- </div>
23
+ </div>
24
+ <div class="grid grid-cols-12 py-6 bg-white sm:px-8 col-full sm:col-main gap-x-6 gap-y-6">
@@ -1,9 +1,11 @@
1
- <article class="col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:px-0
2
- {{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5"," md:col-span-6 px-5"]'~}}
3
- "
1
+ <article class="col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:px-0{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}"
2
+ x-data="{ avStart: false }"
3
+ {{#if this.isMobile1to1}}
4
+ :class="avStart ? 'flex-col' : 'flex-row'"
5
+ {{/if}}
4
6
  >
5
- <figure class="ar-16-9{{~inline-switch this.teaserSize '["hero","100","50"]' '["basis-2/3"," basis-2/5 md:basis-1/3"," basis-2/5 md:basis-1/2"]'~}}">
6
- {{> components/teaser/components/teaser_lead }}
7
+ <figure class="relative ar-16-9{{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3"," basis-2/5 md:basis-1/3"," basis-2/5 md:basis-1/2"]'~}}">
8
+ {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _aspectRatio=(inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]') }}
7
9
  </figure>
8
10
  <div class="{{~inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]'~}}">
9
11
  <header class="md:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
@@ -1,4 +1,4 @@
1
- <div x-show="avStart" id="{{nextRandom}}" class="ar-16-9 js-load" data-hr-mediaplayer-loader-ds='{
1
+ <div x-show="avStart" id="{{nextRandom}}" class="h-auto ar-16-9 js-load" data-hr-mediaplayer-loader-ds='{
2
2
  "type": "live",
3
3
  "position": "{{if _isTeaser 'teaser' 'page'}}",
4
4
  "teaserSize" : "{{if _teaserSize _teaserSize '00' }}",
@@ -1,4 +1,4 @@
1
- <div x-show="avStart" id="{{nextRandom}}" class="ar-16-9 js-load" data-hr-mediaplayer-loader-ds='{
1
+ <div x-show="avStart" id="{{nextRandom}}" class="h-auto ar-16-9 js-load" data-hr-mediaplayer-loader-ds='{
2
2
  "type": "ondemand",
3
3
  "position": "{{if _isTeaser 'teaser' 'page'}}",
4
4
  "teaserSize" : "{{if _teaserSize _teaserSize '00' }}",
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": "0.50.4",
9
+ "version": "0.50.7",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -31,7 +31,7 @@
31
31
  @apply px-6 py-3 text-lg;
32
32
  }
33
33
 
34
- .headline--barrier {
34
+ .headline-barrier {
35
35
  display: flex;
36
36
  width: 100%;
37
37
  justify-content: center;
@@ -39,15 +39,24 @@
39
39
  text-align: center;
40
40
  }
41
41
 
42
- .headline--barrier:before,
43
- .headline--barrier:after {
42
+ .headline-barrier:before,
43
+ .headline-barrier:after {
44
44
  content: '';
45
45
  border-top: 1px solid;
46
- margin: 3px 20px 0 0;
46
+ margin: 3px 10px 0 0;
47
47
  flex: 1 0 20px;
48
48
  }
49
49
 
50
- .headline--barrier:after {
51
- margin: 3px 0 0 20px;
50
+ .headline-barrier:after {
51
+ margin: 3px 0 0 10px;
52
+
53
+ }
54
+ @media screen(md) {
55
+ .headline-barrier:after {
56
+ margin: 3px 0 0 20px;
57
+ }
58
+ .headline-barrier:before {
59
+ margin: 3px 20px 0 0;
60
+ }
52
61
  }
53
62
  }
@@ -0,0 +1,44 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "100"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ },
21
+ {
22
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_1_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.allowAVConsumption",
34
+ "@->value": "true"
35
+ },
36
+ {
37
+ "@->contentpath": "logicItem.includeModel.teaserLead",
38
+ "@->value": {
39
+ "@->jsoninclude": "teaser/teaser_lead.inc.json",
40
+ "@->contentpath": "audio"
41
+ }
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "100"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ },
21
+ {
22
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_1_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.allowAVConsumption",
34
+ "@->value": "true"
35
+ },
36
+ {
37
+ "@->contentpath": "logicItem.includeModel.teaserLead",
38
+ "@->value": {
39
+ "@->jsoninclude": "teaser/teaser_lead.inc.json",
40
+ "@->contentpath": "live"
41
+ }
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "100"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ },
21
+ {
22
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_1_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.allowAVConsumption",
34
+ "@->value": "true"
35
+ },
36
+ {
37
+ "@->contentpath": "logicItem.includeModel.teaserLead",
38
+ "@->value": {
39
+ "@->jsoninclude": "teaser/teaser_lead.inc.json",
40
+ "@->contentpath": "video"
41
+ }
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "50"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ },
21
+ {
22
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_2_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.allowAVConsumption",
34
+ "@->value": "true"
35
+ },
36
+ {
37
+ "@->contentpath": "logicItem.includeModel.teaserLead",
38
+ "@->value": {
39
+ "@->jsoninclude": "teaser/teaser_lead.inc.json",
40
+ "@->contentpath": "audio"
41
+ }
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "@->jsoninclude": "teaser/teasers.inc.json",
3
+ "@->contentpath": "teaser",
4
+ "@->overrides": [
5
+ {
6
+ "@->contentpath": "logicItem.includePath",
7
+ "@->value": "components/teaser/teaser_alternative"
8
+ },
9
+ {
10
+ "@->contentpath": "logicItem.includeModel.teaserSize",
11
+ "@->value": "50"
12
+ },
13
+ {
14
+ "@->contentpath": "logicItem.includeModel.teaserType",
15
+ "@->value": "alternative-ds"
16
+ },
17
+ {
18
+ "@->contentpath": "logicItem.includeModel.isMobile1to1",
19
+ "@->value": "true"
20
+ },
21
+ {
22
+ "@->contentpath": "logicItem.includeModel.link.content.isMobile1to1",
23
+ "@->value": "true"
24
+ },
25
+ {
26
+ "@->contentpath": "logicItem.includeModel.teaserImage",
27
+ "@->value": {
28
+ "@->jsoninclude": "teaser/teaser_images.inc.json",
29
+ "@->contentpath": "md_2_tab"
30
+ }
31
+ },
32
+ {
33
+ "@->contentpath": "logicItem.includeModel.allowAVConsumption",
34
+ "@->value": "true"
35
+ },
36
+ {
37
+ "@->contentpath": "logicItem.includeModel.teaserLead",
38
+ "@->value": {
39
+ "@->jsoninclude": "teaser/teaser_lead.inc.json",
40
+ "@->contentpath": "live"
41
+ }
42
+ }
43
+ ]
44
+ }