hr-design-system-handlebars 1.1.7 → 1.1.9

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 (109) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/brand/_default/conf/locatags.json +4 -0
  3. package/dist/assets/index.css +109 -110
  4. package/dist/views/components/base/loadSSI.hbs +1 -1
  5. package/dist/views/components/base/load_dynamic.hbs +9 -0
  6. package/dist/views/components/event/calendar/event_calendar_event_teaser.hbs +4 -6
  7. package/dist/views/components/event/event_tag.hbs +1 -1
  8. package/dist/views/components/event/event_tags.hbs +10 -10
  9. package/dist/views/components/event/event_ticket_button.hbs +1 -1
  10. package/dist/views/components/event/label_byline.ssi.hbs +9 -0
  11. package/dist/views/components/label/label.hbs +4 -13
  12. package/dist/views/components/label/label_byline.hbs +7 -4
  13. package/dist/views/components/label/label_group.hbs +1 -1
  14. package/dist/views/components/label/{label_test.hbs → label_old.hbs} +13 -4
  15. package/dist/views/components/multimedia/livestream/label_byline.ssi.hbs +19 -0
  16. package/dist/views/components/program/label_byline.ssi.hbs +9 -0
  17. package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +9 -10
  18. package/dist/views/components/teaser/components/teaser_body.hbs +21 -15
  19. package/dist/views/components/teaser/components/teaser_header.hbs +1 -1
  20. package/dist/views/components/teaser/components/teaser_heading.hbs +2 -2
  21. package/dist/views/components/teaser/components/teaser_subline.hbs +3 -0
  22. package/dist/views/components/teaser/components/teaser_title.hbs +1 -1
  23. package/dist/views/components/teaser/components/teaser_title_old.hbs +3 -0
  24. package/dist/views/components/teaser/stage/stage_text.hbs +36 -31
  25. package/dist/views/components/teaser/teaser_alternativ.hbs +1 -1
  26. package/dist/views/components/teaser/teaser_poster.hbs +17 -12
  27. package/dist/views/components/text/byline.hbs +3 -0
  28. package/package.json +1 -1
  29. package/src/assets/brand/_default/conf/locatags.json +4 -0
  30. package/src/assets/brand/hessenschau/conf/locatags.merged.json +4 -0
  31. package/src/assets/brand/hr/conf/locatags.merged.json +4 -0
  32. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +4 -0
  33. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +4 -0
  34. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +4 -0
  35. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +4 -0
  36. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +4 -0
  37. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +4 -0
  38. package/src/assets/brand/hr1/conf/locatags.merged.json +4 -0
  39. package/src/assets/brand/hr2/conf/locatags.merged.json +4 -0
  40. package/src/assets/brand/hr3/conf/locatags.merged.json +4 -0
  41. package/src/assets/brand/hr4/conf/locatags.merged.json +4 -0
  42. package/src/assets/brand/you-fm/conf/locatags.merged.json +4 -0
  43. package/src/assets/fixtures/teaser/stage_teaser_eventtag.json +2 -6
  44. package/src/assets/fixtures/teaser/stage_teaser_program.json +10 -2
  45. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_single_event.json +4 -0
  46. package/src/assets/fixtures/teaser/teaser_alternative_100_serif_two_events.json +4 -0
  47. package/src/assets/fixtures/teaser/teaser_labels.inc.json +65 -4
  48. package/src/assets/fixtures/teaser/teaser_standard_33_serif_single_event_status.json +22 -0
  49. package/src/assets/fixtures/teaser/teaser_standard_50_serif_live.json +8 -0
  50. package/src/assets/fixtures/teaser/teasers.inc.json +8 -9
  51. package/src/assets/tailwind.css +95 -93
  52. package/src/stories/views/components/base/loadSSI.hbs +1 -1
  53. package/src/stories/views/components/base/load_dynamic.hbs +9 -0
  54. package/src/stories/views/components/event/calendar/event_calendar_event_teaser.hbs +4 -6
  55. package/src/stories/views/components/event/calendar/fixtures/event_calendar_event_teaser.json +1 -1
  56. package/src/stories/views/components/event/event_tag.hbs +1 -1
  57. package/src/stories/views/components/event/event_tags.hbs +10 -10
  58. package/src/stories/views/components/event/event_ticket_button.hbs +1 -1
  59. package/src/stories/views/components/event/label_byline.ssi.hbs +9 -0
  60. package/src/stories/views/components/label/label.hbs +4 -13
  61. package/src/stories/views/components/label/label_byline.hbs +7 -4
  62. package/src/stories/views/components/label/label_group.hbs +1 -1
  63. package/src/stories/views/components/label/{label_test.hbs → label_old.hbs} +13 -4
  64. package/src/stories/views/components/multimedia/livestream/label_byline.ssi.hbs +19 -0
  65. package/src/stories/views/components/program/label_byline.ssi.hbs +9 -0
  66. package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +9 -10
  67. package/src/stories/views/components/teaser/components/teaser_body.hbs +21 -15
  68. package/src/stories/views/components/teaser/components/teaser_header.hbs +1 -1
  69. package/src/stories/views/components/teaser/components/teaser_heading.hbs +2 -2
  70. package/src/stories/views/components/teaser/components/teaser_subline.hbs +3 -0
  71. package/src/stories/views/components/teaser/components/teaser_title.hbs +1 -1
  72. package/src/stories/views/components/teaser/components/teaser_title_old.hbs +3 -0
  73. package/src/stories/views/components/teaser/fixtures/stage_teaser_eventtag.json +1 -1
  74. package/src/stories/views/components/teaser/fixtures/stage_teaser_program.json +1 -1
  75. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_download.json +1 -1
  76. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_live.json +1 -1
  77. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_single_event.json +1 -1
  78. package/src/stories/views/components/teaser/fixtures/teaser_alternative_100_serif_two_events.json +1 -1
  79. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_download.json +1 -1
  80. package/src/stories/views/components/teaser/fixtures/teaser_alternative_50_serif_live.json +1 -1
  81. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_live.json +1 -1
  82. package/src/stories/views/components/teaser/fixtures/teaser_alternative_hero_serif_program.json +1 -1
  83. package/src/stories/views/components/teaser/fixtures/teaser_event_calendar_100_serif.json +1 -1
  84. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_download.json +1 -1
  85. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_program.json +1 -1
  86. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_single_event.json +1 -1
  87. package/src/stories/views/components/teaser/fixtures/teaser_standard_100_serif_two_events.json +1 -1
  88. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_audio_livestream.json +1 -1
  89. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_live.json +1 -1
  90. package/src/stories/views/components/teaser/fixtures/teaser_standard_25_serif_podcast.json +1 -1
  91. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_multiple_events.json +1 -1
  92. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event copy.json +1 -0
  93. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event.json +1 -1
  94. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_single_event_status.json +1 -0
  95. package/src/stories/views/components/teaser/fixtures/teaser_standard_33_serif_two_events.json +1 -1
  96. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_audio_livestream.json +1 -1
  97. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_download.json +1 -1
  98. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_live.json +1 -1
  99. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_podcast.json +1 -1
  100. package/src/stories/views/components/teaser/fixtures/teaser_standard_50_serif_single_event.json +1 -1
  101. package/src/stories/views/components/teaser/fixtures/teaser_standard_66_serif_single_event.json +1 -1
  102. package/src/stories/views/components/teaser/stage/stage_text.hbs +36 -31
  103. package/src/stories/views/components/teaser/teaser_alternativ.hbs +1 -1
  104. package/src/stories/views/components/teaser/teaser_poster.hbs +17 -12
  105. package/src/stories/views/components/teaser/teaser_standard_event.stories.mdx +16 -8
  106. package/src/stories/views/components/text/byline.hbs +3 -0
  107. package/tailwind.config.js +4 -3
  108. package/dist/views/components/teaser/components/teaser_title_test.hbs +0 -3
  109. package/src/stories/views/components/teaser/components/teaser_title_test.hbs +0 -3
@@ -13,12 +13,11 @@
13
13
  <div class="flex flex-col items-start basis-10/12 w-10/12">
14
14
  <div class="absolute top-0 left-0 w-full sm:static">
15
15
  <div class="ar-4-3 sm:ar-auto">
16
- <header class="absolute bottom-0 left-0 p-4 w-full sm:pt-3 sm:pb-2 bg-white opacity-80 sm:static sm:bg-transparent">
16
+ {{#> components/teaser/components/teaser_header _css="absolute bottom-0 left-0 p-4 w-full sm:pt-3 sm:pb-2 bg-white opacity-80 sm:static sm:bg-transparent"}}
17
17
  {{#decorator 'components/base/link' _css="ds-teaser-focus hover:text-toplineColor" }}
18
- {{#> components/teaser/components/teaser_header}}
19
18
  {{#with this.label}}
20
19
  {{#> components/label/label_group}}
21
- {{> components/label/label_test _type=this.type _text=(loca this.loca) _css="mr-2"}}
20
+ {{> components/label/label _type=this.type _text=(loca this.loca) _css="mr-2"}}
22
21
  {{#if ../this.hasStatus}}
23
22
  {{> components/event/event_status _status=(loca ../this.statusDescriptionForLabelShort)}}
24
23
  {{/if}}
@@ -28,12 +27,11 @@
28
27
  {{#if this.topline}}
29
28
  {{> components/teaser/components/teaser_topline _text=this.topline}}
30
29
  {{/if}}
31
- {{> components/teaser/components/teaser_title_test _text=this.title _css="text-2xl"}}
30
+ {{> components/teaser/components/teaser_title _text=this.title _css="text-2xl"}}
32
31
  {{> components/event/event_tags this.eventtags}}
33
32
  {{/components/teaser/components/teaser_headline}}
34
- {{/components/teaser/components/teaser_header}}
35
33
  {{/decorator}}
36
- </header>
34
+ {{/components/teaser/components/teaser_header}}
37
35
  </div>
38
36
  </div>
39
37
  {{> components/event/event_details this}}
@@ -1,3 +1,3 @@
1
1
  <span
2
- class='block text-subline font-normal font-heading text-base sm:text-xl mt-0.5'
2
+ class="block text-subline font-normal font-heading text-base sm:text-xl mt-0.5{{#if _css}} {{_css}}{{/if}}"
3
3
  >{{_title}}</span>
@@ -1,11 +1,11 @@
1
- {{#with this}}
2
- {{#with this.series}}
3
- {{> components/event/event_tag _title=this.title}}
4
- {{/with}}
5
- {{#with this.project}}
6
- {{> components/event/event_tag _title=this.title}}
7
- {{/with}}
8
- {{#with this.externalProject}}
9
- {{> components/event/event_tag _title=this}}
10
- {{/with}}
1
+
2
+ {{#with this.series}}
3
+ {{> components/event/event_tag _css=../_css _title=this.title}}
11
4
  {{/with}}
5
+ {{#with this.project}}
6
+ {{> components/event/event_tag _css=../_css _title=this.title}}
7
+ {{/with}}
8
+ {{#with this.externalProject}}
9
+ {{> components/event/event_tag _css=../_css _title=this}}
10
+ {{/with}}
11
+
@@ -5,7 +5,7 @@
5
5
  {{/components/button/button_v2}}
6
6
  {{#> components/modal/modal _trigger=(getRandom)}}
7
7
  {{#> components/teaser/components/teaser_headline}}
8
- {{> components/teaser/components/teaser_title_test _text=(loca 'ticket_modal_headline') _css="text-2xl"}}
8
+ {{> components/teaser/components/teaser_title _text=(loca 'ticket_modal_headline') _css="text-2xl"}}
9
9
  {{/components/teaser/components/teaser_headline}}
10
10
  <p class="text-base font-copy mt-2">{{loca "ticket_modal_text"}}</p>
11
11
 
@@ -0,0 +1,9 @@
1
+ {{#with this.firstInstant}}
2
+ {{#if this.hasStatus}}
3
+ {{> components/event/event_status _css="ml-2" _status=(loca this.statusDescriptionForLabelShort)}}
4
+ {{else}}
5
+ {{#> components/text/byline _css="ml-2"}}
6
+ {{this.startDateTime.date}}, {{this.startDateTime.time}} Uhr
7
+ {{/components/text/byline}}
8
+ {{/if}}
9
+ {{/with}}
@@ -1,20 +1,11 @@
1
1
  <span
2
- class='sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading
2
+ class='sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading{{#if _css}} {{_css}}{{/if}}
3
3
  {{inline-switch
4
4
  _type
5
- '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung","location","topic"]'
6
- '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung","bg-labelEvent","bg-labelComment"]'
5
+ '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung"]'
6
+ '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung"]'
7
7
  }}'
8
8
  >
9
9
  {{_text}}
10
10
 
11
- </span>
12
- {{~#with this.byline~}}
13
- <span class='ml-2 text-xs font-headingSerif {{#if ../_bylineCss}}{{../_bylineCss}}{{else}}text-grey-scorpion{{/if}}'>
14
- {{~#if this.bylineSsi~}}
15
- {{{this.bylineSsi}}}
16
- {{~else~}}
17
- {{this.bylineText}}
18
- {{~/if~}}
19
- </span>
20
- {{~/with~}}
11
+ </span>
@@ -1,7 +1,10 @@
1
- <span class='ml-2 text-xs font-headingSerif{{#if _css}} {{../_css}}{{/if}}'>
1
+ {{#with this.byline}}
2
2
  {{~#if this.bylineSsi~}}
3
- {{{this.bylineSsi}}}
3
+ {{> components/base/loadSSI _context=this.context _templatePath=this.bylineSsi}}
4
4
  {{~else~}}
5
- {{this.bylineText}}
5
+ {{#> components/text/byline _css=../_css}}
6
+ {{this.bylineText}}
7
+ {{/components/text/byline}}
6
8
  {{~/if~}}
7
- </span>
9
+ {{/with}}
10
+
@@ -1,3 +1,3 @@
1
- <div class="leading-5.5{{#if ../_css}} {{_css}}{{/if}}">
1
+ <div class="leading-5.5 text-byline{{#if _css}} {{_css}}{{/if}}">
2
2
  {{> @partial-block }}
3
3
  </div>
@@ -1,11 +1,20 @@
1
1
  <span
2
- class='sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading{{#if _css}} {{_css}}{{/if}}
2
+ class='sb-label rounded px-1.5 pt-px inline-block tracking-wide text-white text-base leading-5.5 font-heading
3
3
  {{inline-switch
4
4
  _type
5
- '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung"]'
6
- '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung"]'
5
+ '["media","event","breakingnews","comment","analysis","der-tag-in-hessen","glosse","fragen-und-antworten","infografik","interaktiv","program","download","pm","liveticker","ticker","livestream","live","livechat","buliticker","social-tv","blog","podcast","kurzmeldung","location","topic"]'
6
+ '["bg-labelMedia","bg-labelEvent","bg-labelBreakingnews","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelComment","bg-labelInfografik","bg-labelInfografik","bg-labelProgram","bg-labelDownload","bg-labelPm","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelLive","bg-labelMedia","bg-labelKurzmeldung","bg-labelEvent","bg-labelComment"]'
7
7
  }}'
8
8
  >
9
9
  {{_text}}
10
10
 
11
- </span>
11
+ </span>
12
+ {{~#with this.byline~}}
13
+ <span class='ml-2 text-xs font-headingSerif {{#if ../_bylineCss}}{{../_bylineCss}}{{else}}text-grey-scorpion{{/if}}'>
14
+ {{~#if this.bylineSsi~}}
15
+ {{> components/base/loadSSI _context=this.context _templatePath=this.bylineSsi}}
16
+ {{~else~}}
17
+ {{this.bylineText}}
18
+ {{~/if~}}
19
+ </span>
20
+ {{~/with~}}
@@ -0,0 +1,19 @@
1
+ {{#with this.labelInfo}}
2
+ {{#> components/text/byline _css="ml-2"}}
3
+ {{~#if this.isPlaysNow ~}} {{loca "livestream_plays"}} {{/if~}}
4
+ {{~#if this.isHasPlayed ~}} {{loca "livestream_has_played"}} {{/if~}}
5
+ {{~#if this.isWillPlay ~}}
6
+ {{~#with ../../airdateDate ~}}
7
+ {{~#if ../../airdateWithoutTime ~}}
8
+ <time datetime="{{this.htmlDateTime}}">
9
+ {{loca "livestream_will_play" this.date}}
10
+ </time>
11
+ {{else}}
12
+ <time datetime="{{this.htmlDate}}">
13
+ {{loca "livestream_will_play_with_time" this.date this.time}}
14
+ </time>
15
+ {{~/if~}}
16
+ {{~/with~}}
17
+ {{/if~}}
18
+ {{/components/text/byline}}
19
+ {{/with}}
@@ -0,0 +1,9 @@
1
+ {{#with this.broadcast}}
2
+ {{#with this.startDate}}
3
+ {{#> components/text/byline _css="ml-2"}}
4
+ <time datetime='{{this.htmlDateTime}}'>
5
+ {{loca 'date_simple_at' this.dateWithTimeAndWeekday}}
6
+ </time>
7
+ {{/components/text/byline}}
8
+ {{/with}}
9
+ {{/with}}
@@ -1,13 +1,12 @@
1
1
  {{#decorator 'components/base/link' _css=(if _firstItem "group ds-teaser-focus" "group ds-link-clusterTeaser") }}
2
- {{> components/teaser/components/teaser_heading
3
- _headlineTag="h3"
4
- _headlineCss=""
5
- _label=this.label
6
- _size=_size
7
- _title=this.title
8
- _teaserType="cluster"
9
- _ordered=_ordered
10
- _titleCss='text-clusterTeaserLink'
11
- _firstItem=_firstItem}}
2
+ {{#with this.label}}
3
+ {{#> components/label/label_group _css=(if ../_ordered "pl-8")}}
4
+ {{> components/label/label _type=this.type _text=(loca this.loca) _css=""}}
5
+ {{> components/label/label_byline _css="ml-2"}}
6
+ {{/components/label/label_group}}
7
+ {{/with~}}
8
+ {{#> components/teaser/components/teaser_headline _headlineTag="h3"}}
9
+ {{> components/teaser/components/teaser_title _css=(appendToDefault (if _ordered "pl-8") "text-clusterTeaserLink") _text=this.title _size=_size _teaserType="cluster" _firstItem=_firstItem}}
10
+ {{/components/teaser/components/teaser_headline}}
12
11
  {{/decorator}}
13
12
  {{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
@@ -1,21 +1,27 @@
1
1
  <div class="{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}"
2
2
  {{~#if this.isMobile1to1}}:class="{'basis-full w-full pr-10':avStart,'basis-3/5 w-3/5':!avStart}"{{/if}}>
3
- <header class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
3
+
4
+
5
+ {{#> components/teaser/components/teaser_header _css=(if this.isMobile1to1 "" "px-5 sm:px-0")}}
4
6
  {{#decorator 'components/base/link' _css="ds-teaser-focus hover:text-toplineColor" }}
5
- {{> components/teaser/components/teaser_heading
6
- _fontVariant=this.headingFontVariant
7
- _headlineTag=this.headlineTag
8
- _headlineCss="overflow-anywhere hyphens-auto"
9
- _label=this.label
10
- _readMore=this.link.readMoreText.readMoreScreenreader
11
- _size=this.realTeaserSize
12
- _title=this.title
13
- _topline=this.topline
14
- _teaserType=this.teaserType
15
- _isMobile1to1=this.isMobile1to1
16
- _extendedTitle=this.extendedTitle}}
17
- {{/decorator}}
18
- </header>
7
+ {{#with this.label}}
8
+ {{#> components/label/label_group}}
9
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
10
+ {{> components/label/label_byline _css="ml-2"}}
11
+ {{/components/label/label_group}}
12
+ {{/with~}}
13
+ {{#> components/teaser/components/teaser_headline _headlineTag=this.headlineTag _css="overflow-anywhere hyphens-auto"}}
14
+ {{#if this.topline}}
15
+ {{> components/teaser/components/teaser_topline _text=this.topline}}
16
+ {{/if}}
17
+ {{> components/teaser/components/teaser_title _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
18
+ {{#if this.extendedTitle}}
19
+ {{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
20
+ {{/if}}
21
+ {{/components/teaser/components/teaser_headline}}
22
+ {{/decorator}}
23
+ {{/components/teaser/components/teaser_header}}
24
+
19
25
  <div class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
20
26
  {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
21
27
  {{> components/teaser/components/teaser_byline}}
@@ -1,3 +1,3 @@
1
- <header>
1
+ <header{{#if _css}} class="{{_css}}"{{/if}}>
2
2
  {{> @partial-block }}
3
3
  </header>
@@ -1,6 +1,6 @@
1
1
  {{#with _label}}
2
2
  <div class="leading-5.5{{#if ../_ordered}} pl-8 {{/if}}">
3
- {{> components/label/label _type=this.type _text=(loca this.loca) _bylineCss=../_labelCss}}
3
+ {{> components/label/label_old _type=this.type _text=(loca this.loca) _bylineCss=../_labelCss}}
4
4
  </div>
5
5
  {{/with~}}
6
6
 
@@ -9,7 +9,7 @@
9
9
  {{#if _topline}}
10
10
  {{> components/teaser/components/teaser_topline _css=(if _toplineCss _toplineCss "") _text=_topline _readMore=_readMore _teaserType=_teaserType}}
11
11
  {{/if}}
12
- {{> components/teaser/components/teaser_title _css=(if _titleCss _titleCss "") _text=_title _fontVariant=_fontVariant _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _ordered=_ordered}}
12
+ {{> components/teaser/components/teaser_title_old _css=(if _titleCss _titleCss "") _text=_title _fontVariant=_fontVariant _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem _ordered=_ordered}}
13
13
  {{#if _extendedTitle}}
14
14
  <span class="block text-subline font-normal font-heading text-base sm:text-lg mt-1 sm:mt-1.5 leading-6">{{_extendedTitle}}</span>
15
15
  {{/if}}
@@ -0,0 +1,3 @@
1
+ <span
2
+ class='block text-subline font-normal font-heading text-base sm:text-lg mt-1 sm:mt-1.5 leading-6'
3
+ >{{_text}}</span>
@@ -1,3 +1,3 @@
1
- <span class='block mt-0.5 font-title font-bold group-hover:underline{{#if _css}} {{_css}}{{/if}}{{#if _ordered}} pl-8 {{/if}} {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _fontVariant=_fontVariant _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}'>
1
+ <span class='block mt-0.5 font-title font-bold {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}{{#if _css}} {{_css}}{{/if}}'>
2
2
  {{~_text~}}
3
3
  </span>
@@ -0,0 +1,3 @@
1
+ <span class='block mt-0.5 font-title font-bold group-hover:underline{{#if _css}} {{_css}}{{/if}}{{#if _ordered}} pl-8 {{/if}} {{> components/teaser/components/teaser_title_classes _size=_size _teaserType=_teaserType _fontVariant=_fontVariant _isMobile1to1=_isMobile1to1 _firstItem=_firstItem}}'>
2
+ {{~_text~}}
3
+ </span>
@@ -1,37 +1,42 @@
1
1
  <div class="absolute left-2/4 right-auto bottom-15 lg:bottom-10 flex w-full px-5 sm:px-11.5 -translate-x-2/4 {{inline-switch this.stageTextPosition '["right50"]' '[" justify-end"," justify-start"]'}}">
2
- <div class="relative p-4 rounded-2xl bg-stageTextBox opacity-85{{inline-switch this.stageTextPosition '["left100"]' '[" w-full"," max-w-xs sm:w-fit md:max-w-2/4"]'}} ">
3
- {{#decorator 'components/base/link' _css="ds-teaser-focus before:rounded-2xl"}}
4
- {{> components/teaser/components/teaser_heading _titleCss="text-stageText" _toplineCss="!text-stageText" _labelCss="text-stageText" _title=this.title _label=this.label _topline=this.topline _headlineTag="h2" _size="100" _teaserType="stage" _fontVariant="sans-serif"}}
5
- {{#if this.showProfileInfoAsByline}}
6
- <p class="block my-3 text-stageText font-headingSerif">{{this.profiles}}</p>
7
- {{/if}}
8
- {{#if this.showShorttext}}
9
- <p class="hidden sm:block text-stageText">{{this.shorttext}}</p>
10
- {{#if this.link.hasIcon}}
11
- <span class="flex items-end space-around hover:underline decoration-1 text-stageLink">[{{this.link.readMoreText.readMore}}
12
- {{> components/base/image/icon _icon=this.link.iconName _iconmap="icons" _addClass="w-5 h-5 self-baseline fill-current ml-1" }}]
13
- </span>
2
+ <div class="relative p-4 rounded-2xl bg-stageTextBox/85 {{inline-switch this.stageTextPosition '["left100"]' '[" w-full"," max-w-xs sm:w-fit md:max-w-2/4"]'}} ">
3
+ {{#decorator 'components/base/link' _css="ds-teaser-focus before:rounded-2xl"}}
4
+ {{#> components/teaser/components/teaser_header}}
5
+ {{#with this.label}}
6
+ {{#> components/label/label_group _css="!text-stageText"}}
7
+ {{> components/label/label _css="text-stageText" _type=this.type _text=(loca this.loca)}}
8
+ {{> components/label/label_byline _css="ml-2 text-inherit"}}
9
+ {{/components/label/label_group}}
10
+ {{/with~}}
11
+ {{#> components/teaser/components/teaser_headline _css="text-stageText" _headlineTag="h2"}}
12
+ {{#if this.topline}}
13
+ {{> components/teaser/components/teaser_topline _css="!text-stageText" _text=this.topline}}
14
+ {{/if}}
15
+ {{> components/teaser/components/teaser_title _css="text-stageText" _text=this.title _size="100" _teaserType="stage"}}
16
+ {{#with this.eventtags}}
17
+ {{> components/event/event_tags this _css="hidden sm:block text-inherit"}}
18
+ {{/with}}
19
+ {{/components/teaser/components/teaser_headline}}
20
+ {{#if this.showProfileInfoAsByline}}
21
+ <p class="block mt-3 text-stageText font-headingSerif">{{this.profiles}}</p>
22
+ {{/if}}
23
+ {{/components/teaser/components/teaser_header}}
24
+ {{#if this.showShorttext}}
25
+ <p class="pt-4 hidden sm:block text-stageText">{{this.shorttext}}</p>
26
+ {{#if this.link.hasIcon}}
27
+ <span class="flex items-end space-around hover:underline decoration-1 text-stageLink">[{{this.link.readMoreText.readMore}}
28
+ {{> components/base/image/icon _icon=this.link.iconName _iconmap="icons" _addClass="w-5 h-5 self-baseline fill-current ml-1" }}]
29
+ </span>
30
+ {{/if}}
14
31
  {{/if}}
15
- {{/if}}
16
- {{#with this.eventtags}}
17
- {{#with this.series}}
18
- <span class="hidden font-heading text-stageText text-2xl font-normal leading-6 tracking-wide mt-2.5 -mb-1 sm:block">{{this.title}}</span>
19
- {{/with}}
20
- {{#with this.project}}
21
- <span class="hidden font-heading text-stageText text-2xl font-normal leading-6 tracking-wide mt-2.5 -mb-1 sm:block">{{this.title}}</span>
22
- {{/with}}
23
- {{#with this.externalProject}}
24
- <span class="hidden font-heading text-stageText text-2xl font-normal leading-6 tracking-wide mt-2.5 -mb-1 sm:block">{{this}}</span>
32
+ {{#with this.location}}
33
+ {{> components/base/loadSSI this.stageLocationSsi _templatePath='components/event/stage_location.ssi' }}
25
34
  {{/with}}
26
- {{/with}}
27
- {{#with this.location}}
28
- {{> components/base/loadSSI this.stageLocationSsi _templatePath='components/event/stage_location.ssi' }}
29
- {{/with}}
30
- {{#if this.link.hasIcon}}
31
- <span class="block mt-4 hover:underline text-stageLink {{if this.showShorttext 'hidden'}}">[{{this.link.readMoreText.readMore}}
32
- {{> components/base/image/icon _icon=this.link.iconName _iconmap="icons" _addClass="inline w-5 h-5 self-baseline fill-current ml-1" }}]
33
- </span>
34
- {{/if}}
35
+ {{#if this.link.hasIcon}}
36
+ <span class="block mt-4 hover:underline text-stageLink {{if this.showShorttext 'hidden'}}">[{{this.link.readMoreText.readMore}}
37
+ {{> components/base/image/icon _icon=this.link.iconName _iconmap="icons" _addClass="inline w-5 h-5 self-baseline fill-current ml-1" }}]
38
+ </span>
39
+ {{/if}}
35
40
  {{/decorator}}
36
41
  </div>
37
42
  </div>
@@ -1,4 +1,4 @@
1
- <article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:gap-x-6 sm:px-0{{#unless this.isEvent}}{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}{{else}} items-start flex-col{{/unless}}"
1
+ <article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 md:gap-x-6 sm: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
2
  x-data="{ avStart: false }"
3
3
  {{#if this.isMobile1to1}}
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
@@ -4,18 +4,23 @@
4
4
  </figure>
5
5
  <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
6
6
  {{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-hr before:rounded-br-hr hover:text-toplineColor"}}
7
- {{> components/teaser/components/teaser_heading
8
- _headlineTag="h2"
9
- _headlineCss="text-shadow text-center text-white mb-4 mx-4 md:mb-8 xs:mx-6 sm:mx-8 md:mx-5 lg:mx-8 line-clamp-4 xs:line-clamp-6 md:line-clamp-4 lg:line-clamp-5"
10
- _label=this.label
11
- _readMore=this.link.readMoreText.readMoreScreenreader
12
- _size=this.realTeaserSize
13
- _title=this.title
14
- _titleCss="whitespace-pre-wrap"
15
- _topline=this.topline
16
- _toplineCss="!text-white"
17
- _teaserType=this.teaserType
18
- _font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
7
+ {{#> components/teaser/components/teaser_header}}
8
+ {{#with this.label}}
9
+ {{#> components/label/label_group}}
10
+ {{> components/label/label _type=this.type _text=(loca this.loca)}}
11
+ {{> components/label/label_byline _css="ml-2"}}
12
+ {{/components/label/label_group}}
13
+ {{/with~}}
14
+ {{#> components/teaser/components/teaser_headline _headlineTag="h2" _css="text-shadow text-center text-white mb-4 mx-4 md:mb-8 xs:mx-6 sm:mx-8 md:mx-5 lg:mx-8 line-clamp-4 xs:line-clamp-6 md:line-clamp-4 lg:line-clamp-5"}}
15
+ {{#if this.topline}}
16
+ {{> components/teaser/components/teaser_topline _css="!text-white" _text=this.topline}}
17
+ {{/if}}
18
+ {{> components/teaser/components/teaser_title _css="whitespace-pre-wrap" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType}}
19
+ {{#if this.extendedTitle}}
20
+ {{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
21
+ {{/if}}
22
+ {{/components/teaser/components/teaser_headline}}
23
+ {{/components/teaser/components/teaser_header}}
19
24
  {{/decorator}}
20
25
  {{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _buttonText=this.link.readMoreText.readMoreLong ~}}
21
26
  </div>
@@ -0,0 +1,3 @@
1
+ <span class='text-xs text-inherit font-headingSerif{{#if _css}} {{_css}}{{/if}}'>
2
+ {{> @partial-block }}
3
+ </span>
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.1.7",
9
+ "version": "1.1.9",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",
@@ -86,6 +86,10 @@
86
86
  "label_small-art": "Kleinkunst",
87
87
  "label_sports": "Sport",
88
88
  "label_talk": "Talk",
89
+ "livestream_has_played": "Beendet",
90
+ "livestream_plays": "Jetzt live",
91
+ "livestream_will_play": "Startet am {0}",
92
+ "livestream_will_play_with_time": "Startet am {0} um {1} Uhr",
89
93
  "search_input_aria_submit": "Suche starten",
90
94
  "search_input_placeholder": "Ort oder Thema suchen",
91
95
  "ticket_modal_headline": "Weiterleitung zu einem Ticketservice",