hr-design-system-handlebars 0.123.6 → 0.124.0

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 (143) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/build/handlebars/helpers/handlebar-helpers.js +12 -0
  3. package/dist/assets/brand/_default/conf/locatags.json +11 -1
  4. package/dist/assets/brand/hessenschau/conf/locatags.json +1 -0
  5. package/dist/assets/brand/hr/conf/locatags.json +1 -0
  6. package/dist/assets/brand/hr-bigband/conf/locatags.json +1 -0
  7. package/dist/assets/brand/hr-fernsehen/conf/locatags.json +1 -0
  8. package/dist/assets/brand/hr-inforadio/conf/locatags.json +1 -0
  9. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.json +1 -0
  10. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.json +1 -0
  11. package/dist/assets/brand/hr-werbung/conf/locatags.json +1 -0
  12. package/dist/assets/brand/hr1/conf/locatags.json +1 -0
  13. package/dist/assets/brand/hr2/conf/locatags.json +1 -0
  14. package/dist/assets/brand/hr3/conf/locatags.json +1 -0
  15. package/dist/assets/brand/hr4/conf/locatags.json +1 -0
  16. package/dist/assets/brand/you-fm/conf/locatags.json +1 -0
  17. package/dist/assets/index.css +422 -63
  18. package/dist/assets/js/components/event/filtererDs.feature.js +298 -0
  19. package/dist/assets/js/components/event/nativeScrollDs.feature.js +110 -0
  20. package/dist/assets/js/components/modal/modal.feature.js +38 -0
  21. package/dist/views/components/base/image/responsive_image.hbs +1 -0
  22. package/dist/views/components/base/link.hbs +3 -15
  23. package/dist/views/components/base/link_open.hbs +13 -0
  24. package/dist/views/components/button/button_pseudo_v2.hbs +12 -0
  25. package/dist/views/components/button/button_v2.hbs +7 -0
  26. package/dist/views/components/button/components/button_icon.hbs +1 -0
  27. package/dist/views/components/button/components/button_label.hbs +1 -0
  28. package/dist/views/components/button/components/button_pseudo_link.hbs +3 -0
  29. package/dist/views/components/content_nav/content_nav_dropdown.hbs +1 -1
  30. package/dist/views/components/content_nav/content_nav_item.hbs +1 -1
  31. package/dist/views/components/event/artist.hbs +1 -0
  32. package/dist/views/components/event/calendar/event_calendar.hbs +3 -0
  33. package/dist/views/components/event/calendar/event_calendar_content.hbs +18 -0
  34. package/dist/views/components/event/calendar/event_calendar_event_teaser.hbs +60 -0
  35. package/dist/views/components/event/calendar/event_calendar_footer.hbs +8 -0
  36. package/dist/views/components/event/calendar/event_calendar_heading.hbs +3 -0
  37. package/dist/views/components/event/calendar/event_calendar_inline.hbs +3 -0
  38. package/dist/views/components/event/calendar/event_calendar_nav.hbs +27 -0
  39. package/dist/views/components/event/calendar/event_calendar_nav_item.hbs +7 -0
  40. package/dist/views/components/event/concert_info.hbs +66 -0
  41. package/dist/views/components/event/event_details.hbs +20 -0
  42. package/dist/views/components/event/event_status.hbs +1 -0
  43. package/dist/views/components/event/event_tag.hbs +3 -0
  44. package/dist/views/components/event/event_tags.hbs +11 -0
  45. package/dist/views/components/event/event_ticket_button.hbs +30 -0
  46. package/dist/views/components/label/label_byline.hbs +7 -0
  47. package/dist/views/components/label/label_group.hbs +3 -0
  48. package/dist/views/components/label/label_test.hbs +11 -0
  49. package/dist/views/components/modal/modal.hbs +7 -0
  50. package/dist/views/components/teaser/components/teaser_header.hbs +3 -0
  51. package/dist/views/components/teaser/components/teaser_heading.hbs +3 -1
  52. package/dist/views/components/teaser/components/teaser_headline.hbs +3 -0
  53. package/dist/views/components/teaser/components/teaser_title_classes.hbs +3 -0
  54. package/dist/views/components/teaser/components/teaser_title_test.hbs +3 -0
  55. package/dist/views/components/teaser/components/teaser_topline.hbs +1 -5
  56. package/dist/views/components/teaser/teaser_event_calendar.hbs +8 -0
  57. package/gulpfile.js +5 -1
  58. package/package.json +4 -2
  59. package/src/assets/brand/_default/conf/locatags.json +11 -1
  60. package/src/assets/brand/hessenschau/conf/locatags.json +1 -0
  61. package/src/assets/brand/hessenschau/conf/locatags.merged.json +10 -0
  62. package/src/assets/brand/hr/conf/locatags.json +1 -0
  63. package/src/assets/brand/hr/conf/locatags.merged.json +10 -0
  64. package/src/assets/brand/hr-bigband/conf/locatags.json +1 -0
  65. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +10 -0
  66. package/src/assets/brand/hr-fernsehen/conf/locatags.json +1 -0
  67. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +10 -0
  68. package/src/assets/brand/hr-inforadio/conf/locatags.json +1 -0
  69. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +10 -0
  70. package/src/assets/brand/hr-rundfunkrat/conf/locatags.json +1 -0
  71. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +10 -0
  72. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.json +1 -0
  73. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +10 -0
  74. package/src/assets/brand/hr-werbung/conf/locatags.json +1 -0
  75. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +10 -0
  76. package/src/assets/brand/hr1/conf/locatags.json +1 -0
  77. package/src/assets/brand/hr1/conf/locatags.merged.json +10 -0
  78. package/src/assets/brand/hr2/conf/locatags.json +1 -0
  79. package/src/assets/brand/hr2/conf/locatags.merged.json +10 -0
  80. package/src/assets/brand/hr3/conf/locatags.json +1 -0
  81. package/src/assets/brand/hr3/conf/locatags.merged.json +10 -0
  82. package/src/assets/brand/hr4/conf/locatags.json +1 -0
  83. package/src/assets/brand/hr4/conf/locatags.merged.json +10 -0
  84. package/src/assets/brand/you-fm/conf/locatags.json +1 -0
  85. package/src/assets/brand/you-fm/conf/locatags.merged.json +10 -0
  86. package/src/assets/css/custom-utilities.css +36 -0
  87. package/src/assets/fixtures/event/calendar/event_calendar.inc.json +10 -0
  88. package/src/assets/fixtures/event/calendar/event_calendar_event_teaser.inc.json +89 -0
  89. package/src/assets/fixtures/event/calendar/event_calendar_event_teaser.json +4 -0
  90. package/src/assets/fixtures/event/calendar/event_calendar_footer.json +14 -0
  91. package/src/assets/fixtures/event/calendar/event_calendar_months.inc.json +1295 -0
  92. package/src/assets/fixtures/teaser/teaser_event_calendar_100_no_future_events.json +24 -0
  93. package/src/assets/fixtures/teaser/teaser_event_calendar_100_serif.json +21 -0
  94. package/src/assets/fixtures/teaser/teaser_images.inc.json +21 -0
  95. package/src/assets/fixtures/teaser/teaser_labels.inc.json +12 -0
  96. package/src/assets/fixtures/teaser/teasers.inc.json +31 -0
  97. package/src/assets/tailwind.css +43 -5
  98. package/src/stories/views/components/base/image/responsive_image.hbs +1 -0
  99. package/src/stories/views/components/base/link.hbs +3 -15
  100. package/src/stories/views/components/base/link_open.hbs +13 -0
  101. package/src/stories/views/components/button/button_pseudo_v2.hbs +12 -0
  102. package/src/stories/views/components/button/button_v2.hbs +7 -0
  103. package/src/stories/views/components/button/components/button_icon.hbs +1 -0
  104. package/src/stories/views/components/button/components/button_label.hbs +1 -0
  105. package/src/stories/views/components/button/components/button_pseudo_link.hbs +3 -0
  106. package/src/stories/views/components/content_nav/content_nav_dropdown.hbs +1 -1
  107. package/src/stories/views/components/content_nav/content_nav_item.hbs +1 -1
  108. package/src/stories/views/components/event/artist.hbs +1 -0
  109. package/src/stories/views/components/event/calendar/event_calendar.hbs +3 -0
  110. package/src/stories/views/components/event/calendar/event_calendar_components.stories.mdx +161 -0
  111. package/src/stories/views/components/event/calendar/event_calendar_content.hbs +18 -0
  112. package/src/stories/views/components/event/calendar/event_calendar_event_teaser.hbs +60 -0
  113. package/src/stories/views/components/event/calendar/event_calendar_footer.hbs +8 -0
  114. package/src/stories/views/components/event/calendar/event_calendar_heading.hbs +3 -0
  115. package/src/stories/views/components/event/calendar/event_calendar_inline.hbs +3 -0
  116. package/src/stories/views/components/event/calendar/event_calendar_nav.hbs +27 -0
  117. package/src/stories/views/components/event/calendar/event_calendar_nav_item.hbs +7 -0
  118. package/src/stories/views/components/event/calendar/fixtures/event_calendar_event_teaser.json +1 -0
  119. package/src/stories/views/components/event/calendar/fixtures/event_calendar_footer.json +1 -0
  120. package/src/stories/views/components/event/concert_info.hbs +66 -0
  121. package/src/stories/views/components/event/event_details.hbs +20 -0
  122. package/src/stories/views/components/event/event_status.hbs +1 -0
  123. package/src/stories/views/components/event/event_tag.hbs +3 -0
  124. package/src/stories/views/components/event/event_tags.hbs +11 -0
  125. package/src/stories/views/components/event/event_ticket_button.hbs +30 -0
  126. package/src/stories/views/components/event/filtererDs.feature.js +298 -0
  127. package/src/stories/views/components/event/nativeScrollDs.feature.js +110 -0
  128. package/src/stories/views/components/label/label_byline.hbs +7 -0
  129. package/src/stories/views/components/label/label_group.hbs +3 -0
  130. package/src/stories/views/components/label/label_test.hbs +11 -0
  131. package/src/stories/views/components/modal/modal.feature.js +38 -0
  132. package/src/stories/views/components/modal/modal.hbs +7 -0
  133. package/src/stories/views/components/teaser/components/teaser_header.hbs +3 -0
  134. package/src/stories/views/components/teaser/components/teaser_heading.hbs +3 -1
  135. package/src/stories/views/components/teaser/components/teaser_headline.hbs +3 -0
  136. package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +3 -0
  137. package/src/stories/views/components/teaser/components/teaser_title_test.hbs +3 -0
  138. package/src/stories/views/components/teaser/components/teaser_topline.hbs +1 -5
  139. package/src/stories/views/components/teaser/fixtures/teaser_event_calendar_100_no_future_events.json +1 -0
  140. package/src/stories/views/components/teaser/fixtures/teaser_event_calendar_100_serif.json +1 -0
  141. package/src/stories/views/components/teaser/teaser_event_calendar.hbs +8 -0
  142. package/src/stories/views/components/teaser/teaser_event_calendar.stories.mdx +131 -0
  143. package/tailwind.config.js +11 -4
@@ -0,0 +1,38 @@
1
+ import { hr$, listen, unlisten } from 'hrQuery'
2
+
3
+ const Modal = (context) => {
4
+ const { options } = context,
5
+ { element: rootElement } = context,
6
+ modalTriggerId = options.modalTriggerId ? '#' + options.modalTriggerId : '',
7
+ modalTrigger = hr$(modalTriggerId)[0],
8
+ modalCloseTriggers = hr$('.js-modal-close', rootElement),
9
+ modal = hr$('.js-modal', rootElement)[0]
10
+
11
+ const configureEventListeners = () => {
12
+ listen('click', show, modalTrigger)
13
+
14
+ modalCloseTriggers.forEach((modalCloseTrigger) => {
15
+ listen('click', close, modalCloseTrigger)
16
+ })
17
+ }
18
+
19
+ const show = () => {
20
+ modal.showModal()
21
+ listen('click', closeFromOutside, modal)
22
+ }
23
+
24
+ const closeFromOutside = (event) => {
25
+ if (event.target === modal) {
26
+ unlisten('click', closeFromOutside, modal)
27
+ close()
28
+ }
29
+ }
30
+
31
+ const close = () => {
32
+ modal.close()
33
+ }
34
+
35
+ configureEventListeners()
36
+ }
37
+
38
+ export default Modal
@@ -0,0 +1,7 @@
1
+ <div class="js-load" data-hr-modal='{"modalTriggerId":"{{defaultIfEmpty _trigger ""}}"}'>
2
+ <dialog class='js-modal p-0 backdrop:bg-grey-scorpion/90 shadow-md {{defaultIfEmpty _css "sm:max-w-xl"}}'>
3
+ <form method="dialog" class="js-dialog-content p-4">
4
+ {{> @partial-block }}
5
+ </form>
6
+ </dialog>
7
+ </div>
@@ -0,0 +1,3 @@
1
+ <header>
2
+ {{> @partial-block }}
3
+ </header>
@@ -5,11 +5,13 @@
5
5
  {{/with~}}
6
6
 
7
7
  <{{~ _headlineTag ~}}{{#if _headlineCss}} class="{{_headlineCss}}"{{/if}}>
8
- {{#if _topline}}
8
+ {{~#block "headlineStart"}}{{/block~}}
9
+ {{#if _topline}}
9
10
  {{> components/teaser/components/teaser_topline _css=(if _toplineCss _toplineCss "") _text=_topline _readMore=_readMore _teaserType=_teaserType}}
10
11
  {{/if}}
11
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
13
  {{#if _extendedTitle}}
13
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>
14
15
  {{/if}}
16
+ {{~#block "headlineEnd"}}{{/block~}}
15
17
  </{{~ _headlineTag ~}}>
@@ -0,0 +1,3 @@
1
+ <{{~ defaultIfEmpty _headlineTag "h2"~}}{{#if _css}} class="{{_css}}"{{/if}}>
2
+ {{> @partial-block }}
3
+ </{{~ defaultIfEmpty _headlineTag "h2" ~}}>
@@ -91,4 +91,7 @@ the 4 parameters are:
91
91
  {{~#case 'stage'~}}
92
92
  {{~inline-switch _size '["100"]' '[" text-2xl md:text-4xl"," text-2xl"]'}}
93
93
  {{~/case~}}
94
+ {{~#case 'calendar'~}}
95
+ text-2xl
96
+ {{~/case~}}
94
97
  {{~/switch~}}
@@ -0,0 +1,3 @@
1
+ <span class='block mt-0.5 font-title font-bold{{#if _css}} {{_css}}{{/if}}'>
2
+ {{~_text~}}
3
+ </span>
@@ -1,5 +1 @@
1
- <span
2
- class='pt-px block text-base text-toplineColor{{#if _css}} {{_css}}{{/if}} font-heading'
3
- >
4
- {{_text}}
5
- </span>
1
+ <span class='pt-px block text-base text-toplineColor{{#if _css}} {{_css}}{{/if}} font-heading'>{{_text}}</span>
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_standard","includeModel":{"teaserSize":"100","realTeaserSize":"100","title":"Konzertkalender","eventCalendar":{"months":[{"date":{"monthNameShort":"Mai","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-05-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2021-05-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-05-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2021-05-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-05-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2021-04-23"}}]},{"date":{"monthNameShort":"Jun","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-06-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2021-06-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-06-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2021-06-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-06-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2021-06-23"}}]},{"date":{"monthNameShort":"Jul","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-07-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2021-07-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-07-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2021-07-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-07-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2021-07-23"}}]},{"date":{"monthNameShort":"Aug","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-08-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2021-08-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-08-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2021-08-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-08-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2021-08-23"}}]},{"date":{"monthNameShort":"Dez","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-09-21"}}],"date":{"weekdayNameShort":"Di","day":"21","htmlDate":"2021-09-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-09-22"}}],"date":{"weekdayNameShort":"Mi","day":"22","htmlDate":"2021-09-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2021-09-23"}}],"date":{"weekdayNameShort":"Do","day":"23","htmlDate":"2021-09-23"}}]}],"hasSelectedEvents":true,"hasFutureEventsFromNow":false},"link":{"url":"/monatsuebersicht-100","webviewUrl":"/monatsuebersicht-100#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"label":{"type":"event","loca":"label_event","byline":{"bylineSsi":" ","bylineText":"BylineText"}}}}}
@@ -0,0 +1 @@
1
+ {"isSsi":true,"logicItem":{"includePath":"components/teaser/teaser_alternative","includeModel":{"teaserSize":"100","realTeaserSize":"100","title":"Konzertkalender","eventCalendar":{"months":[{"date":{"monthNameShort":"Mai","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-05-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2022-05-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-05-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2022-05-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-05-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2022-04-23"}}]},{"date":{"monthNameShort":"Jun","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-06-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2022-06-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-06-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2022-06-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-06-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2022-06-23"}}]},{"date":{"monthNameShort":"Jul","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-07-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2022-07-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-07-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2022-07-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-07-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2022-07-23"}}]},{"date":{"monthNameShort":"Aug","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-08-21"}}],"date":{"weekdayNameShort":"Fr","day":"21","htmlDate":"2022-08-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-08-22"}}],"date":{"weekdayNameShort":"Sa","day":"22","htmlDate":"2022-08-22"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-08-23"}}],"date":{"weekdayNameShort":"So","day":"23","htmlDate":"2022-08-23"}}]},{"date":{"monthNameShort":"Sep","yearShort":"22"},"hasDays":true,"days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-09-21"}}],"date":{"weekdayNameShort":"Di","day":"21","htmlDate":"2022-09-21"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-09-22"}}],"date":{"weekdayNameShort":"Mi","day":"22","htmlDate":"2022-09-22"}},{"date":{"weekdayNameShort":"Do","day":"23","htmlDate":"2022-09-23"},"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2022-09-23"}}],"isStartOfWeek":false}]},{"date":{"monthNameShort":"Jan","yearShort":"23"},"hasDays":true,"isCurrentMonth":true,"hasFutureEventsFromNow":true,"contentUrl":"https://localhost:6006:/hr-bigband/konzerte/veranstaltungen-112~_month-2023-01.html","days":[{"isStartOfWeek":true,"hasInstants":true,"isFirstAvailable":true,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-01-09","day":9,"weekdayNameShort":"Mo","monthNameShort":"Jan"},"startTime":{"time":"18:00"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/emmanuel-tjeknavorian-108_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/emmanuel-tjeknavorian-108_v-16to9__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-16to9__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-16to9__medium__extended.jpg 640w, images/emmanuel-tjeknavorian-108_v-16to9.jpg 960w, images/emmanuel-tjeknavorian-108_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/emmanuel-tjeknavorian-108_v-4to3__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-4to3__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-4to3.jpg 650w, images/emmanuel-tjeknavorian-108_v-4to3__retina.jpg 1300w"}]}},"link":{"url":"/event_100","webviewUrl":"/event_100#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Event","readMore":"mehr","readMoreLong":"read More Long"}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}},"title":"Finale: Landeswettbewerb Jugend jazzt Hessen für Big Bands","eventtags":{"series":{"title":"Hessen lacht"},"project":{"title":"HR Bigband sucht den Superjazzer"}},"venue":{"addressCity":"Frankfurt","title":"Festhalle"},"isSoldOut":false,"isEventFinished":false,"hasStatus":true,"statusDescriptionForLabelShort":"event_status_cancelled","ticketLink":{"link":{"url":"https://hr.de","isTargetBlank":true,"webviewUrl":"","readMoreText":""}},"concertInfo":{"artists":{"artistsAndGroups":[{"artist":{"name":"Peter Maffay","groupName":"hr bigband","role":"Sänger"},"artistGroup":"hr bigband"}],"isEmpty":false,"description":"Tolle Künstler"},"compositions":{"isEmpty":false,"description":"Komposition-Description","compositions":[{"composerAndComposition":true,"composer":"Udo Lindenberg","name":"Horizont"}]},"concertInfoHead":{"title":"Das Fest","description":"Ein tolles Festival erwartet Sie","isEmpty":false},"isEmpty":false}},{"isDateInstant":false,"startDate":{"htmlDate":"2023-01-09","day":9,"weekdayNameShort":"Fr","monthNameShort":"Jan"},"startTime":{"time":"18:00"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/emmanuel-tjeknavorian-108_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/emmanuel-tjeknavorian-108_v-16to9__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-16to9__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-16to9__medium__extended.jpg 640w, images/emmanuel-tjeknavorian-108_v-16to9.jpg 960w, images/emmanuel-tjeknavorian-108_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/emmanuel-tjeknavorian-108_v-4to3__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-4to3__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-4to3.jpg 650w, images/emmanuel-tjeknavorian-108_v-4to3__retina.jpg 1300w"}]}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}},"title":"Finale: Landeswettbewerb Jugend jazzt Hessen für Big Bands","eventtags":{"series":{"title":"Hessen lacht"},"project":{"title":"HR Bigband sucht den Superjazzer"}},"link":{"url":"/event_100","webviewUrl":"/event_100#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Event","readMore":"mehr","readMoreLong":"read More Long"}},"venue":{"addressCity":"Frankfurt","title":"Festhalle"},"concertInfo":{"artists":{"artistsAndGroups":[{"artist":{"name":"Peter Maffay","groupName":"hr bigband","role":"Sänger"},"artistGroup":"hr bigband"}],"isEmpty":false,"description":"Tolle Künstler"},"compositions":{"isEmpty":false,"description":"Komposition-Description","compositions":[{"composerAndComposition":true,"composer":"Udo Lindenberg","name":"Horizont"}]},"concertInfoHead":{"title":"Das Fest","description":"Ein tolles Festival erwartet Sie","isEmpty":false},"isEmpty":false}}],"date":{"weekdayNameShort":"Fr","day":"9","htmlDate":"2023-01-09"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-01-10","day":10,"weekdayNameShort":"Sa","monthNameShort":"Jan"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/pedro-martins-102_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/pedro-martins-102_v-16to9__small.jpg 320w, images/pedro-martins-102_v-16to9__medium.jpg 480w, images/pedro-martins-102_v-16to9__medium__extended.jpg 640w, images/pedro-martins-102_v-16to9.jpg 960w, images/pedro-martins-102_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/pedro-martins-102_v-4to3__small.jpg 320w, images/pedro-martins-102_v-4to3__medium.jpg 480w, images/pedro-martins-102_v-4to3.jpg 650w, images/pedro-martins-102_v-4to3__retina.jpg 1300w"}]}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}}}],"date":{"weekdayNameShort":"Sa","day":"10","htmlDate":"2023-01-10"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-01-11"}}],"date":{"weekdayNameShort":"So","day":"11","htmlDate":"2023-01-11"}},{"isStartOfWeek":true,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-01-12"}}],"date":{"weekdayNameShort":"Mo","day":"12","htmlDate":"2023-01-12"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-01-13"}}],"date":{"weekdayNameShort":"Di","day":"13","htmlDate":"2023-01-13"}}]},{"date":{"monthNameShort":"Feb","yearShort":"23"},"hasDays":true,"contentUrl":"https://localhost:6006:/hr-bigband/konzerte/veranstaltungen-112~_month-2023-01.html","days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-02-09","day":9,"weekdayNameShort":"Fr","monthNameShort":"Jan"},"startTime":{"time":"18:00"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/emmanuel-tjeknavorian-108_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/emmanuel-tjeknavorian-108_v-16to9__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-16to9__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-16to9__medium__extended.jpg 640w, images/emmanuel-tjeknavorian-108_v-16to9.jpg 960w, images/emmanuel-tjeknavorian-108_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/emmanuel-tjeknavorian-108_v-4to3__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-4to3__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-4to3.jpg 650w, images/emmanuel-tjeknavorian-108_v-4to3__retina.jpg 1300w"}]}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}},"title":"Finale: Landeswettbewerb Jugend jazzt Hessen für Big Bands","eventtags":{"series":{"title":"Hessen lacht"},"project":{"title":"HR Bigband sucht den Superjazzer"}},"venue":{"addressCity":"Frankfurt","title":"Festhalle"},"concertInfo":{"artists":{"artistsAndGroups":[{"artist":{"name":"Peter Maffay","groupName":"hr bigband","role":"Sänger"},"artistGroup":"hr bigband"}],"isEmpty":false,"description":"Tolle Künstler"},"compositions":{"isEmpty":false,"description":"Komposition-Description","compositions":[{"composerAndComposition":true,"composer":"Udo Lindenberg","name":"Horizont"}]},"concertInfoHead":{"title":"Das Fest","description":"Ein tolles Festival erwartet Sie","isEmpty":false},"isEmpty":false}}],"date":{"weekdayNameShort":"Fr","day":"9","htmlDate":"2023-02-09"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-02-10","day":10,"weekdayNameShort":"Sa","monthNameShort":"Jan"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/pedro-martins-102_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/pedro-martins-102_v-16to9__small.jpg 320w, images/pedro-martins-102_v-16to9__medium.jpg 480w, images/pedro-martins-102_v-16to9__medium__extended.jpg 640w, images/pedro-martins-102_v-16to9.jpg 960w, images/pedro-martins-102_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/pedro-martins-102_v-4to3__small.jpg 320w, images/pedro-martins-102_v-4to3__medium.jpg 480w, images/pedro-martins-102_v-4to3.jpg 650w, images/pedro-martins-102_v-4to3__retina.jpg 1300w"}]}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}}}],"date":{"weekdayNameShort":"Sa","day":"10","htmlDate":"2023-02-10"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-02-11"}}],"date":{"weekdayNameShort":"So","day":"11","htmlDate":"2023-02-11"}},{"isStartOfWeek":true,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-02-12"}}],"date":{"weekdayNameShort":"Mo","day":"12","htmlDate":"2023-02-12"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-02-13"}}],"date":{"weekdayNameShort":"Di","day":"13","htmlDate":"2023-02-13"}}]},{"date":{"monthNameShort":"Mär","yearShort":"23"},"hasDays":true,"contentUrl":"https://localhost:6006:/hr-bigband/konzerte/veranstaltungen-112~_month-2023-01.html","days":[{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-03-09","day":9,"weekdayNameShort":"Fr","monthNameShort":"Jan"},"startTime":{"time":"18:00"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/emmanuel-tjeknavorian-108_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/emmanuel-tjeknavorian-108_v-16to9__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-16to9__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-16to9__medium__extended.jpg 640w, images/emmanuel-tjeknavorian-108_v-16to9.jpg 960w, images/emmanuel-tjeknavorian-108_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/emmanuel-tjeknavorian-108_v-4to3__small.jpg 320w, images/emmanuel-tjeknavorian-108_v-4to3__medium.jpg 480w, images/emmanuel-tjeknavorian-108_v-4to3.jpg 650w, images/emmanuel-tjeknavorian-108_v-4to3__retina.jpg 1300w"}]}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}},"title":"Finale: Landeswettbewerb Jugend jazzt Hessen für Big Bands","eventtags":{"series":{"title":"Hessen lacht"},"project":{"title":"HR Bigband sucht den Superjazzer"}},"venue":{"addressCity":"Frankfurt","title":"Festhalle"},"concertInfo":{"artists":{"artistsAndGroups":[{"artist":{"name":"Peter Maffay","groupName":"hr bigband","role":"Sänger"},"artistGroup":"hr bigband"}],"isEmpty":false,"description":"Tolle Künstler"},"compositions":{"isEmpty":false,"description":"Komposition-Description","compositions":[{"composerAndComposition":true,"composer":"Udo Lindenberg","name":"Horizont"}]},"concertInfoHead":{"title":"Das Fest","description":"Ein tolles Festival erwartet Sie","isEmpty":false},"isEmpty":false}}],"date":{"weekdayNameShort":"Fr","day":"9","htmlDate":"2023-03-09"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-03-10","day":10,"weekdayNameShort":"Sa","monthNameShort":"Jan"},"image":{"alttext":"Lorem ipsum","copyrightWithLinks":"","responsiveImage":{"asPicture":true,"asImage":false,"fallback":"images/pedro-martins-102_v-16to9.jpg","sources":[{"media":"all and (min-width: 1024px)","sizes":"25rem","srcset":"images/pedro-martins-102_v-16to9__small.jpg 320w, images/pedro-martins-102_v-16to9__medium.jpg 480w, images/pedro-martins-102_v-16to9__medium__extended.jpg 640w, images/pedro-martins-102_v-16to9.jpg 960w, images/pedro-martins-102_v-16to9__retina.jpg 1920w"},{"media":"all and (max-width: 1023px)","sizes":"(min-width: 640px) 25rem, 100vw","srcset":"images/pedro-martins-102_v-4to3__small.jpg 320w, images/pedro-martins-102_v-4to3__medium.jpg 480w, images/pedro-martins-102_v-4to3.jpg 650w, images/pedro-martins-102_v-4to3__retina.jpg 1300w"}]}},"label":{"type":"event","loca":"label_concert","byline":{"bylineSsi":"14.10.22, 20:00 Uhr","bylineText":"BylineText"}}}],"date":{"weekdayNameShort":"Sa","day":"10","htmlDate":"2023-03-10"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-03-11"}}],"date":{"weekdayNameShort":"So","day":"11","htmlDate":"2023-03-11"}},{"isStartOfWeek":true,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-03-12"}}],"date":{"weekdayNameShort":"Mo","day":"12","htmlDate":"2023-03-12"}},{"isStartOfWeek":false,"hasInstants":true,"isFirstAvailable":false,"instants":[{"isDateInstant":false,"startDate":{"htmlDate":"2023-03-13"}}],"date":{"weekdayNameShort":"Di","day":"13","htmlDate":"2023-03-13"}}]}],"hasSelectedEvents":true,"hasFutureEventsFromNow":true},"link":{"url":"/monatsuebersicht-100","webviewUrl":"/monatsuebersicht-100#webview","isTargetBlank":false,"hasIcon":false,"iconName":"iconName","readMoreText":{"readMoreScreenreader":"Zum Artikel","readMore":"mehr","readMoreLong":"read More Long"}},"label":{"type":"event","loca":"label_event","byline":{"bylineSsi":" ","bylineText":"BylineText"}}}}}
@@ -0,0 +1,8 @@
1
+ <article class="col-span-12{{~inline-switch this.teaserSize '["50"]' '[" md:col-span-6"]'}}">
2
+ {{#> components/event/calendar/event_calendar}}
3
+ {{> components/event/calendar/event_calendar_heading _headlineTag="h3"}}
4
+ {{> components/event/calendar/event_calendar_nav this.eventCalendar.months}}
5
+ {{> components/event/calendar/event_calendar_content this.eventCalendar}}
6
+ {{> components/event/calendar/event_calendar_footer}}
7
+ {{/components/event/calendar/event_calendar}}
8
+ </article>
@@ -0,0 +1,131 @@
1
+ import { ArgsTable, Meta, Story, Canvas, Preview } from '@storybook/addon-docs'
2
+ import teaserEventCalendar from '../../components/teaser/teaser_event_calendar.hbs'
3
+ import teaserEventCalendar100Serif from './fixtures/teaser_event_calendar_100_serif.json'
4
+ import teaserEventCalendarWithNoFutureEventsData from './fixtures/teaser_event_calendar_100_no_future_events.json'
5
+
6
+ <Meta
7
+ title="Komponenten/Teaser/Eventkalender"
8
+ parameters={{
9
+ layout: 'fullscreen',
10
+ }}
11
+ argTypes={{
12
+ teaserSize: {
13
+ control: {
14
+ type: 'select',
15
+ options: ['50', '100'],
16
+ },
17
+ description: 'Teaser Größe',
18
+ table: {
19
+ defaultValue: {
20
+ summary: '100',
21
+ },
22
+ },
23
+ },
24
+ }}
25
+ decorators={[
26
+ (Story) => {
27
+ return `<div class="grid grid-page"><div class="grid grid-cols-12 py-6 col-full gap-x-6 gap-y-6 sm:px-8 sm:col-main">
28
+ ${Story()}
29
+ </div></div>`
30
+ },
31
+ ]}
32
+ />
33
+
34
+ export const TemplateEventCalendarTeaser = (args, { globals: { customConditionalToolbar } }) => {
35
+ // You can either use a function to create DOM elements or use a plain html string!
36
+ // return `<div>${label}</div>`;
37
+ let brand =
38
+ undefined !== customConditionalToolbar ? customConditionalToolbar['brands'] : 'hessenschau'
39
+ return teaserEventCalendar({ brand, ...args })
40
+ }
41
+
42
+ # Standard-Teaser
43
+
44
+ ## Beschreibung
45
+
46
+ Der Standard-Teaser besteht aus 2 Hauptelemente: <b>Bild</b> und <b>Text</b> (Label, Dachzeile, Titel, Teasertext, Zusatzinformationen)
47
+
48
+ <b>Standard 33 Single Event:</b> <br />
49
+ Desktop = Text unter dem Bild <br />
50
+ Mobile = Text unter dem Bild mit Teasertext <br />
51
+
52
+ <b>Standard 33 Two Events:</b> <br />
53
+ Desktop = Text unter dem Bild <br />
54
+ Mobile = Text unter dem Bild mit Teasertext <br />
55
+
56
+ <b>Standard 33 Multiple Events:</b> <br />
57
+ Desktop = Text unter dem Bild <br />
58
+ Mobile = Text unter dem Bild mit Teasertext <br />{' '}
59
+
60
+ ## Sub-Komponenten
61
+
62
+ Die Standard-Teaser-Komponente inkludiert folgende Komponenten:
63
+
64
+ <ul>
65
+ <li>
66
+ components/teaser/components/<b>teaser_lead</b>
67
+ </li>
68
+ <li>
69
+ components/base/<b>link</b>
70
+ </li>
71
+ <li>
72
+ components/teaser/components/<b>teaser_heading</b>
73
+ </li>
74
+ <li>
75
+ components/teaser/components/<b>teaser_text</b>
76
+ </li>
77
+ <li>
78
+ components/teaser/components/<b>teaser_byline</b>
79
+ </li>
80
+ </ul>
81
+
82
+ ## Verwendung
83
+
84
+ Die Standard-Teaser-Komponente wird in handlebars wie folgt eingebaut:
85
+
86
+ ```html
87
+ {{> components/teaser/teaser_standard_event}}
88
+ ```
89
+
90
+ <Preview withToolbar>
91
+ <Story
92
+ name="Teaser 100"
93
+ argTypes={{
94
+ teaserSize: {
95
+ control: {
96
+ type: 'select',
97
+ options: ['50', '100'],
98
+ },
99
+ description: 'Teaser Größe',
100
+ table: {
101
+ defaultValue: {
102
+ summary: '100',
103
+ },
104
+ },
105
+ },
106
+ }}
107
+ args={teaserEventCalendar100Serif.logicItem.includeModel}
108
+ >
109
+ {TemplateEventCalendarTeaser.bind({})}
110
+ </Story>
111
+ <Story
112
+ name="Teaser 100 Keine Events in der Zukunft"
113
+ argTypes={{
114
+ teaserSize: {
115
+ control: {
116
+ type: 'select',
117
+ options: ['50', '100'],
118
+ },
119
+ description: 'Teaser Größe',
120
+ table: {
121
+ defaultValue: {
122
+ summary: '100',
123
+ },
124
+ },
125
+ },
126
+ }}
127
+ args={teaserEventCalendarWithNoFutureEventsData.logicItem.includeModel}
128
+ >
129
+ {TemplateEventCalendarTeaser.bind({})}
130
+ </Story>
131
+ </Preview>
@@ -185,6 +185,7 @@ module.exports = {
185
185
  '"Noto Sans"',
186
186
  'sans-serif',
187
187
  ],
188
+ serif: ['RobotoSlab', ...defaultTheme.fontFamily.serif],
188
189
  headingSerif: [
189
190
  'RobotoSlab',
190
191
  'ui-serif',
@@ -214,6 +215,7 @@ module.exports = {
214
215
  titleCluster: 'var(--font-weight-titleCluster)',
215
216
  },
216
217
  colors: {
218
+ 'inherit': 'inherit',
217
219
  'blue': {
218
220
  accented: '#eaf3fa',
219
221
  allports: '#007899',
@@ -235,14 +237,14 @@ module.exports = {
235
237
  tarawera: '#0a3355',
236
238
  teal: '#007A7CFF',
237
239
  turquoiseCerulian: '#007fa0',
238
- midnight : '#023770',
239
- deepSeaDream : '#002c6b',
240
-
240
+ midnight: '#023770',
241
+ deepSeaDream: '#002c6b',
241
242
  },
242
243
  'black': {
243
244
  DEFAULT: '#000000',
244
245
  },
245
246
  'red': {
247
+ alizarinCrimson: '#e81f18',
246
248
  thunderbird: '#cc1a14',
247
249
  monza: '#c20016',
248
250
  burntUmber: '#8d2725',
@@ -281,6 +283,7 @@ module.exports = {
281
283
  brightGray: '#E5F2F3',
282
284
  platinum: '#E5E8E8',
283
285
  mercury: '#E6E6E6',
286
+ boulder: '#797979',
284
287
  },
285
288
  'green': {
286
289
  casal: '#29675d',
@@ -292,6 +295,7 @@ module.exports = {
292
295
  teal: '#00727A',
293
296
  },
294
297
  'purple': {
298
+ disco: '#88114b',
295
299
  pompadour: '#6d0041',
296
300
  jazzberry: '#a00d65',
297
301
  purpleHeart: '#832baf',
@@ -305,7 +309,7 @@ module.exports = {
305
309
  'yellow': {
306
310
  corn: '#e0ae00',
307
311
  goldenSand: '#f2da6c',
308
- olive: '#916B00FF',
312
+ olive: '#916B00',
309
313
  givry: '#f7ebbf',
310
314
  sunshine: '#ffb114',
311
315
  },
@@ -342,6 +346,9 @@ module.exports = {
342
346
  'podcast': 'var(--color-podcast)',
343
347
  'podcast-text': 'var(--color-podcast-text)',
344
348
  'podcast-highlight': 'var(--color-podcast-highlight)',
349
+ 'event-status': 'var(--color-event-status)',
350
+ 'event-calendar-primary': 'var(--color-eventcalendar-primary)',
351
+ 'event-calendar-secondary': 'var(--color-eventcalendar-secondary)',
345
352
  },
346
353
  },
347
354
  },