@oiz/stzh-components 4.5.0 → 4.6.0-beta1

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 (943) hide show
  1. package/dist/cjs/{app-globals-64d91100.js → app-globals-6a08057f.js} +2 -2
  2. package/dist/cjs/{app-globals-64d91100.js.map → app-globals-6a08057f.js.map} +1 -1
  3. package/dist/cjs/index-870b4dee.js +6 -2
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  7. package/dist/cjs/stzh-actions_6.cjs.entry.js +9 -9
  8. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  9. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  20. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  21. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  24. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact.cjs.entry.js +1 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  33. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  36. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +10 -10
  39. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
  43. package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
  44. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  45. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  54. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  56. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  57. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  58. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-linklist.cjs.entry.js +5 -1
  61. package/dist/cjs/stzh-linklist.cjs.entry.js.map +1 -1
  62. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-loader_2.cjs.entry.js +5 -5
  64. package/dist/cjs/stzh-loader_2.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  68. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  78. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
  82. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +68 -0
  83. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -0
  84. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
  85. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  86. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +9 -25
  87. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
  88. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  92. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  95. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  106. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  107. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  111. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  116. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  117. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  121. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  122. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -19
  125. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  126. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +8 -2
  127. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js.map +1 -1
  128. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +38 -1
  129. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  130. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  131. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  132. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  133. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  134. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  135. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  136. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  137. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  138. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  139. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -1
  140. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +20 -11
  141. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.css +127 -261
  142. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +7 -93
  143. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  144. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +7 -73
  145. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +6 -3
  146. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  147. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +501 -0
  148. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js +16 -0
  149. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js.map +1 -0
  150. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +292 -0
  151. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -0
  152. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +70 -0
  153. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  154. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  155. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  156. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  157. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  158. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  159. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  161. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  162. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  163. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  164. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  165. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  166. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  167. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  168. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  169. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  170. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  171. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  172. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  173. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  174. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  175. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  176. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  177. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  178. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  179. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  180. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  181. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  182. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  183. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  184. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  185. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  186. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  187. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  188. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  189. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  190. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  191. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  192. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  193. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  194. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  195. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  196. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +1 -0
  197. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  198. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  199. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  200. package/dist/collection/components/stzh-dialog/stzh-dialog.js +5 -5
  201. package/dist/collection/components/stzh-dialog/stzh-dialog.js.map +1 -1
  202. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  203. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  204. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  205. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  206. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  207. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  208. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  209. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  210. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  211. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  212. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  213. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  214. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  215. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  216. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  217. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  218. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  219. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  220. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  221. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  222. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  223. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  224. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  225. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  226. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  227. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  228. package/dist/collection/components/stzh-overlay/stzh-overlay.js +4 -4
  229. package/dist/collection/components/stzh-overlay/stzh-overlay.js.map +1 -1
  230. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  231. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  232. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  233. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  234. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  235. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  236. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  237. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  238. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  239. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  240. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  241. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  242. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  243. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  244. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  245. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  246. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  247. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  248. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  249. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  250. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  251. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  252. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  253. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  254. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  255. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  256. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  257. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  258. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  259. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  260. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  261. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  262. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  263. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  264. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  265. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  266. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  267. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  268. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  269. package/dist/collection/index.js.map +1 -1
  270. package/dist/components/index.js +1 -1
  271. package/dist/components/{p-368c4aa2.js → p-02c5b1ba.js} +5 -5
  272. package/dist/components/{p-368c4aa2.js.map → p-02c5b1ba.js.map} +1 -1
  273. package/dist/components/{p-044c234a.js → p-109076c9.js} +7 -7
  274. package/dist/components/{p-044c234a.js.map → p-109076c9.js.map} +1 -1
  275. package/dist/components/{p-0ac64574.js → p-111f7e01.js} +4 -4
  276. package/dist/components/{p-0ac64574.js.map → p-111f7e01.js.map} +1 -1
  277. package/dist/components/{p-9ac321e4.js → p-12bdcf8a.js} +13 -13
  278. package/dist/components/p-12bdcf8a.js.map +1 -0
  279. package/dist/components/{p-a649af8a.js → p-12c94697.js} +14 -14
  280. package/dist/components/{p-a649af8a.js.map → p-12c94697.js.map} +1 -1
  281. package/dist/components/{p-1c939b9f.js → p-14716cc2.js} +2 -2
  282. package/dist/components/{p-1c939b9f.js.map → p-14716cc2.js.map} +1 -1
  283. package/dist/components/{p-55b58017.js → p-151a98a9.js} +2 -2
  284. package/dist/components/{p-55b58017.js.map → p-151a98a9.js.map} +1 -1
  285. package/dist/components/{p-c418c5d3.js → p-15ee297d.js} +2 -2
  286. package/dist/components/{p-c418c5d3.js.map → p-15ee297d.js.map} +1 -1
  287. package/dist/components/{p-9be51edc.js → p-1816eeeb.js} +6 -6
  288. package/dist/components/{p-9be51edc.js.map → p-1816eeeb.js.map} +1 -1
  289. package/dist/components/{p-59b494a3.js → p-18196788.js} +2 -2
  290. package/dist/components/{p-59b494a3.js.map → p-18196788.js.map} +1 -1
  291. package/dist/components/{p-d91d6c31.js → p-18ba315e.js} +2 -2
  292. package/dist/components/{p-d91d6c31.js.map → p-18ba315e.js.map} +1 -1
  293. package/dist/components/{p-b5f00d83.js → p-1cfd0791.js} +5 -5
  294. package/dist/components/{p-b5f00d83.js.map → p-1cfd0791.js.map} +1 -1
  295. package/dist/components/{p-ce0311f9.js → p-2502ff26.js} +2 -2
  296. package/dist/components/{p-ce0311f9.js.map → p-2502ff26.js.map} +1 -1
  297. package/dist/components/{p-25ff5360.js → p-26edabbb.js} +4 -4
  298. package/dist/components/{p-25ff5360.js.map → p-26edabbb.js.map} +1 -1
  299. package/dist/components/{p-503bdd56.js → p-34267046.js} +5 -5
  300. package/dist/components/p-34267046.js.map +1 -0
  301. package/dist/components/{p-285c271e.js → p-36681d03.js} +3 -3
  302. package/dist/components/{p-285c271e.js.map → p-36681d03.js.map} +1 -1
  303. package/dist/components/{p-527121ef.js → p-36fb6c94.js} +2 -2
  304. package/dist/components/{p-527121ef.js.map → p-36fb6c94.js.map} +1 -1
  305. package/dist/components/{p-7b016fd0.js → p-387454b3.js} +3 -3
  306. package/dist/components/{p-7b016fd0.js.map → p-387454b3.js.map} +1 -1
  307. package/dist/components/{p-15e2b360.js → p-3efe43d2.js} +3 -3
  308. package/dist/components/{p-15e2b360.js.map → p-3efe43d2.js.map} +1 -1
  309. package/dist/components/{p-8254224a.js → p-3f3349b1.js} +8 -8
  310. package/dist/components/{p-8254224a.js.map → p-3f3349b1.js.map} +1 -1
  311. package/dist/components/{p-683460a5.js → p-479db6c6.js} +2 -2
  312. package/dist/components/{p-683460a5.js.map → p-479db6c6.js.map} +1 -1
  313. package/dist/components/{p-c65c361a.js → p-486bf53e.js} +14 -14
  314. package/dist/components/{p-c65c361a.js.map → p-486bf53e.js.map} +1 -1
  315. package/dist/components/{p-e42121d1.js → p-4a78990f.js} +4 -4
  316. package/dist/components/{p-e42121d1.js.map → p-4a78990f.js.map} +1 -1
  317. package/dist/components/{p-7f251b60.js → p-506a00fc.js} +10 -10
  318. package/dist/components/{p-7f251b60.js.map → p-506a00fc.js.map} +1 -1
  319. package/dist/components/{p-cae6655f.js → p-50945c16.js} +8 -8
  320. package/dist/components/{p-cae6655f.js.map → p-50945c16.js.map} +1 -1
  321. package/dist/components/{p-8d98b7e1.js → p-551fa57d.js} +3 -3
  322. package/dist/components/{p-8d98b7e1.js.map → p-551fa57d.js.map} +1 -1
  323. package/dist/components/{p-5a5884a1.js → p-5571eadc.js} +2 -2
  324. package/dist/components/{p-5a5884a1.js.map → p-5571eadc.js.map} +1 -1
  325. package/dist/components/{p-1e6ceaab.js → p-569f84cb.js} +2 -2
  326. package/dist/components/{p-1e6ceaab.js.map → p-569f84cb.js.map} +1 -1
  327. package/dist/components/{p-8436ccb7.js → p-570cd361.js} +6 -6
  328. package/dist/components/{p-8436ccb7.js.map → p-570cd361.js.map} +1 -1
  329. package/dist/components/{p-52037fe2.js → p-5b94ed4e.js} +7 -7
  330. package/dist/components/{p-52037fe2.js.map → p-5b94ed4e.js.map} +1 -1
  331. package/dist/components/{p-1449a24c.js → p-613937f1.js} +4 -4
  332. package/dist/components/{p-1449a24c.js.map → p-613937f1.js.map} +1 -1
  333. package/dist/components/{p-9a31aa56.js → p-63c4d8c4.js} +3 -3
  334. package/dist/components/{p-9a31aa56.js.map → p-63c4d8c4.js.map} +1 -1
  335. package/dist/components/{p-26ddf3b3.js → p-6897315f.js} +2 -2
  336. package/dist/components/{p-26ddf3b3.js.map → p-6897315f.js.map} +1 -1
  337. package/dist/components/{p-b0a7ed3c.js → p-69e0c8d2.js} +3 -3
  338. package/dist/components/{p-b0a7ed3c.js.map → p-69e0c8d2.js.map} +1 -1
  339. package/dist/components/{p-06ba8843.js → p-6af552c7.js} +6 -6
  340. package/dist/components/{p-06ba8843.js.map → p-6af552c7.js.map} +1 -1
  341. package/dist/components/{p-9c59e8f6.js → p-6e10e5b1.js} +10 -10
  342. package/dist/components/p-6e10e5b1.js.map +1 -0
  343. package/dist/components/{p-f70f31d6.js → p-72101ea0.js} +2 -2
  344. package/dist/components/{p-f70f31d6.js.map → p-72101ea0.js.map} +1 -1
  345. package/dist/components/{p-a8876adb.js → p-72e977cc.js} +3 -3
  346. package/dist/components/{p-a8876adb.js.map → p-72e977cc.js.map} +1 -1
  347. package/dist/components/{p-5a8587ab.js → p-7c4e756c.js} +2 -2
  348. package/dist/components/{p-5a8587ab.js.map → p-7c4e756c.js.map} +1 -1
  349. package/dist/components/{p-820ce57f.js → p-7d7ac6fc.js} +12 -12
  350. package/dist/components/{p-820ce57f.js.map → p-7d7ac6fc.js.map} +1 -1
  351. package/dist/components/{p-604af41f.js → p-8cefcb61.js} +4 -4
  352. package/dist/components/{p-604af41f.js.map → p-8cefcb61.js.map} +1 -1
  353. package/dist/components/{p-e87822db.js → p-8d606617.js} +2 -2
  354. package/dist/components/{p-e87822db.js.map → p-8d606617.js.map} +1 -1
  355. package/dist/components/{p-853de15b.js → p-902ed395.js} +7 -7
  356. package/dist/components/{p-853de15b.js.map → p-902ed395.js.map} +1 -1
  357. package/dist/components/{p-6268e18b.js → p-963d59bf.js} +3 -3
  358. package/dist/components/{p-6268e18b.js.map → p-963d59bf.js.map} +1 -1
  359. package/dist/components/{p-75352a6a.js → p-97868e7a.js} +2 -2
  360. package/dist/components/{p-75352a6a.js.map → p-97868e7a.js.map} +1 -1
  361. package/dist/components/{p-63ba178a.js → p-98aa0418.js} +4 -4
  362. package/dist/components/{p-63ba178a.js.map → p-98aa0418.js.map} +1 -1
  363. package/dist/components/{p-375d74b5.js → p-9aff1354.js} +7 -7
  364. package/dist/components/{p-375d74b5.js.map → p-9aff1354.js.map} +1 -1
  365. package/dist/components/{p-46d253ca.js → p-a0023430.js} +3 -3
  366. package/dist/components/{p-46d253ca.js.map → p-a0023430.js.map} +1 -1
  367. package/dist/components/{p-3b563957.js → p-a2828d2e.js} +9 -9
  368. package/dist/components/{p-3b563957.js.map → p-a2828d2e.js.map} +1 -1
  369. package/dist/components/{p-2f38d899.js → p-ab25d4da.js} +7 -7
  370. package/dist/components/{p-2f38d899.js.map → p-ab25d4da.js.map} +1 -1
  371. package/dist/components/{p-ef6cfd1f.js → p-aeb5dbdc.js} +6 -6
  372. package/dist/components/{p-ef6cfd1f.js.map → p-aeb5dbdc.js.map} +1 -1
  373. package/dist/components/{p-8107e1a2.js → p-b12e2861.js} +5 -5
  374. package/dist/components/{p-8107e1a2.js.map → p-b12e2861.js.map} +1 -1
  375. package/dist/components/{p-b8b342f5.js → p-b6faf10a.js} +2 -2
  376. package/dist/components/{p-b8b342f5.js.map → p-b6faf10a.js.map} +1 -1
  377. package/dist/components/{p-3e28d77d.js → p-be365aa5.js} +3 -3
  378. package/dist/components/{p-3e28d77d.js.map → p-be365aa5.js.map} +1 -1
  379. package/dist/components/{p-1ebc2928.js → p-c06cc6c5.js} +2 -2
  380. package/dist/components/{p-1ebc2928.js.map → p-c06cc6c5.js.map} +1 -1
  381. package/dist/components/{p-87e69533.js → p-c4fccd89.js} +3 -3
  382. package/dist/components/{p-87e69533.js.map → p-c4fccd89.js.map} +1 -1
  383. package/dist/components/{p-677c846d.js → p-c5124a8b.js} +2 -2
  384. package/dist/components/{p-677c846d.js.map → p-c5124a8b.js.map} +1 -1
  385. package/dist/components/{p-b9a50363.js → p-c5a240bd.js} +6 -6
  386. package/dist/components/{p-b9a50363.js.map → p-c5a240bd.js.map} +1 -1
  387. package/dist/components/{p-f6b75419.js → p-d48fd359.js} +7 -7
  388. package/dist/components/{p-f6b75419.js.map → p-d48fd359.js.map} +1 -1
  389. package/dist/components/{p-5e70f03f.js → p-d6702563.js} +9 -9
  390. package/dist/components/{p-5e70f03f.js.map → p-d6702563.js.map} +1 -1
  391. package/dist/components/{p-faae4632.js → p-da83a0ad.js} +11 -11
  392. package/dist/components/{p-faae4632.js.map → p-da83a0ad.js.map} +1 -1
  393. package/dist/components/{p-17efbc57.js → p-dd1c0c0c.js} +2 -2
  394. package/dist/components/{p-17efbc57.js.map → p-dd1c0c0c.js.map} +1 -1
  395. package/dist/components/{p-019721d4.js → p-deb38d3f.js} +4 -4
  396. package/dist/components/{p-019721d4.js.map → p-deb38d3f.js.map} +1 -1
  397. package/dist/components/{p-a393bd0b.js → p-e3182412.js} +3 -3
  398. package/dist/components/{p-a393bd0b.js.map → p-e3182412.js.map} +1 -1
  399. package/dist/components/{p-a6169d66.js → p-e551f11e.js} +9 -9
  400. package/dist/components/{p-a6169d66.js.map → p-e551f11e.js.map} +1 -1
  401. package/dist/components/{p-33ac52bc.js → p-e5cf7853.js} +2 -2
  402. package/dist/components/{p-33ac52bc.js.map → p-e5cf7853.js.map} +1 -1
  403. package/dist/components/{p-1d88f941.js → p-ea3c0ed4.js} +6 -6
  404. package/dist/components/{p-1d88f941.js.map → p-ea3c0ed4.js.map} +1 -1
  405. package/dist/components/p-ef454347.js +90 -0
  406. package/dist/components/p-ef454347.js.map +1 -0
  407. package/dist/components/p-f5779736.js.map +1 -1
  408. package/dist/components/{p-39874f6d.js → p-f7920d42.js} +3 -3
  409. package/dist/components/{p-39874f6d.js.map → p-f7920d42.js.map} +1 -1
  410. package/dist/components/{p-7889ebb0.js → p-fdc914f5.js} +7 -7
  411. package/dist/components/{p-7889ebb0.js.map → p-fdc914f5.js.map} +1 -1
  412. package/dist/components/stzh-accordion-item.js +1 -1
  413. package/dist/components/stzh-accordion.js +1 -1
  414. package/dist/components/stzh-actions.js +1 -1
  415. package/dist/components/stzh-actionset.js +1 -1
  416. package/dist/components/stzh-amount.js +9 -9
  417. package/dist/components/stzh-anchornav.js +5 -5
  418. package/dist/components/stzh-app-nav.js +1 -1
  419. package/dist/components/stzh-appointments.js +13 -13
  420. package/dist/components/stzh-archivelist.js +6 -6
  421. package/dist/components/stzh-audio.js +7 -7
  422. package/dist/components/stzh-badge.js +1 -1
  423. package/dist/components/stzh-banner.js +3 -3
  424. package/dist/components/stzh-bathstatus-item.js +1 -1
  425. package/dist/components/stzh-bathstatus-list.js +6 -6
  426. package/dist/components/stzh-breadcrumb.js +1 -1
  427. package/dist/components/stzh-button.js +1 -1
  428. package/dist/components/stzh-buttongroup.js +1 -1
  429. package/dist/components/stzh-calendar.js +1 -1
  430. package/dist/components/stzh-card-navigation.js +2 -2
  431. package/dist/components/stzh-card-searchresult.js +14 -14
  432. package/dist/components/stzh-card-superteaser.js +13 -13
  433. package/dist/components/stzh-card.js +1 -1
  434. package/dist/components/stzh-cardlist.js +1 -1
  435. package/dist/components/stzh-carousel.js +1 -1
  436. package/dist/components/stzh-cell.js +1 -1
  437. package/dist/components/stzh-chart.js +1 -1
  438. package/dist/components/stzh-checkbox.js +1 -1
  439. package/dist/components/stzh-checkboxgroup.js +6 -6
  440. package/dist/components/stzh-chip.js +1 -1
  441. package/dist/components/stzh-chipgroup.js +1 -1
  442. package/dist/components/stzh-chipselect.js +1 -1
  443. package/dist/components/stzh-clamp.js +1 -1
  444. package/dist/components/stzh-company-logo.js +1 -1
  445. package/dist/components/stzh-contact-cv.js +3 -3
  446. package/dist/components/stzh-contact.js +6 -8
  447. package/dist/components/stzh-contact.js.map +1 -1
  448. package/dist/components/stzh-container.js +1 -1
  449. package/dist/components/stzh-content.js +1 -1
  450. package/dist/components/stzh-cspace.js +1 -1
  451. package/dist/components/stzh-cta.js +3 -3
  452. package/dist/components/stzh-datalist-item.js +1 -1
  453. package/dist/components/stzh-datalist.js +1 -1
  454. package/dist/components/stzh-datamessagelist-item.js +11 -11
  455. package/dist/components/stzh-datamessagelist.js +1 -1
  456. package/dist/components/stzh-datatable.js +16 -16
  457. package/dist/components/stzh-datepicker.js +1 -1
  458. package/dist/components/stzh-daterange.js +4 -4
  459. package/dist/components/stzh-details.js +1 -1
  460. package/dist/components/stzh-dialog.js +1 -1
  461. package/dist/components/stzh-disturber.js +3 -3
  462. package/dist/components/stzh-dropdown.js +1 -1
  463. package/dist/components/stzh-editor.js +3 -3
  464. package/dist/components/stzh-eventinfo.js +4 -4
  465. package/dist/components/stzh-feedreader-item.js +1 -1
  466. package/dist/components/stzh-feedreader.js +7 -7
  467. package/dist/components/stzh-fieldset.js +1 -1
  468. package/dist/components/stzh-figure.js +1 -1
  469. package/dist/components/stzh-flyingfocus.js +1 -1
  470. package/dist/components/stzh-footer.js +4 -4
  471. package/dist/components/stzh-gallery.js +8 -8
  472. package/dist/components/stzh-geo-ref-data.js +22 -22
  473. package/dist/components/stzh-ghettobox.js +1 -1
  474. package/dist/components/stzh-header.js +1 -1
  475. package/dist/components/stzh-heading.js +1 -1
  476. package/dist/components/stzh-homepage-search.js +1 -1
  477. package/dist/components/stzh-homepage-service-highlights.js +5 -5
  478. package/dist/components/stzh-hr.js +1 -1
  479. package/dist/components/stzh-hspace.js +1 -1
  480. package/dist/components/stzh-http-error.js +7 -7
  481. package/dist/components/stzh-icon.js +1 -1
  482. package/dist/components/stzh-iframe.js +1 -1
  483. package/dist/components/stzh-imagecomparison.js +3 -3
  484. package/dist/components/stzh-input.js +1 -1
  485. package/dist/components/stzh-invert.js +1 -1
  486. package/dist/components/stzh-link.js +1 -1
  487. package/dist/components/stzh-linklist.js +14 -11
  488. package/dist/components/stzh-linklist.js.map +1 -1
  489. package/dist/components/stzh-list-item.js +1 -1
  490. package/dist/components/stzh-list.js +1 -1
  491. package/dist/components/stzh-loader.js +1 -1
  492. package/dist/components/stzh-loadingbar.js +1 -1
  493. package/dist/components/stzh-menu-item.js +1 -1
  494. package/dist/components/stzh-menu.js +1 -1
  495. package/dist/components/stzh-message.js +1 -1
  496. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  497. package/dist/components/stzh-monthyearpicker.js +5 -5
  498. package/dist/components/stzh-offline-indicator.js +6 -6
  499. package/dist/components/stzh-olmap.js +1 -1
  500. package/dist/components/stzh-overlay.js +1 -1
  501. package/dist/components/stzh-page-skiplinks.js +1 -1
  502. package/dist/components/stzh-pagebottom.js +8 -8
  503. package/dist/components/stzh-pagecontent.js +1 -1
  504. package/dist/components/stzh-pagetitle-hero.js +1 -1
  505. package/dist/components/stzh-pagetitle-home.js +2 -2
  506. package/dist/components/stzh-pagetitle.js +2 -2
  507. package/dist/components/stzh-pagination.js +1 -1
  508. package/dist/components/stzh-panorama.js +12 -12
  509. package/dist/components/stzh-pi-content-navigation.js +3 -3
  510. package/dist/components/stzh-pi-menu.js +3 -3
  511. package/dist/components/stzh-pi-pagetitle.js +2 -2
  512. package/dist/components/stzh-pi-pagetitle.js.map +1 -1
  513. package/dist/components/stzh-pi-teaser-layout-item.d.ts +11 -0
  514. package/dist/components/stzh-pi-teaser-layout-item.js +8 -0
  515. package/dist/components/stzh-pi-teaser-layout-item.js.map +1 -0
  516. package/dist/components/stzh-pi-teaser-layout.js +5 -5
  517. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  518. package/dist/components/stzh-pi-teaser.js +83 -1
  519. package/dist/components/stzh-pi-teaser.js.map +1 -1
  520. package/dist/components/stzh-pkzh-qr.js +19 -19
  521. package/dist/components/stzh-poicard.js +1 -1
  522. package/dist/components/stzh-poilist.js +18 -18
  523. package/dist/components/stzh-popover.js +1 -1
  524. package/dist/components/stzh-print.js +1 -1
  525. package/dist/components/stzh-quote.js +1 -1
  526. package/dist/components/stzh-radio.js +1 -1
  527. package/dist/components/stzh-radiogroup.js +1 -1
  528. package/dist/components/stzh-ratio.js +1 -1
  529. package/dist/components/stzh-readspeaker.js +5 -5
  530. package/dist/components/stzh-richtext.js +1 -1
  531. package/dist/components/stzh-row.js +1 -1
  532. package/dist/components/stzh-saptcha.js +8 -8
  533. package/dist/components/stzh-scrollup.js +1 -1
  534. package/dist/components/stzh-search.js +17 -17
  535. package/dist/components/stzh-section.js +2 -2
  536. package/dist/components/stzh-share.js +1 -1
  537. package/dist/components/stzh-show.js +1 -1
  538. package/dist/components/stzh-sitemap.js +9 -9
  539. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  540. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  541. package/dist/components/stzh-skiplink.js +1 -1
  542. package/dist/components/stzh-socialmediastream-item.js +1 -1
  543. package/dist/components/stzh-socialmediastream.js +6 -6
  544. package/dist/components/stzh-sortable.js +1 -1
  545. package/dist/components/stzh-space.js +1 -1
  546. package/dist/components/stzh-status.js +1 -1
  547. package/dist/components/stzh-stepper-item.js +1 -1
  548. package/dist/components/stzh-stepper.js +5 -5
  549. package/dist/components/stzh-sticky-actions.js +2 -2
  550. package/dist/components/stzh-sticky.js +1 -1
  551. package/dist/components/stzh-table.js +1 -1
  552. package/dist/components/stzh-tag.js +1 -1
  553. package/dist/components/stzh-text.js +1 -1
  554. package/dist/components/stzh-textandimage.js +1 -1
  555. package/dist/components/stzh-timeline-item.js +3 -3
  556. package/dist/components/stzh-timeline.js +1 -1
  557. package/dist/components/stzh-timepicker.js +5 -5
  558. package/dist/components/stzh-toast.js +1 -1
  559. package/dist/components/stzh-toastbar.js +1 -1
  560. package/dist/components/stzh-toggle.js +6 -6
  561. package/dist/components/stzh-tooltip.js +1 -1
  562. package/dist/components/stzh-twocolumns.js +1 -1
  563. package/dist/components/stzh-upload.js +14 -14
  564. package/dist/components/stzh-vbz-carousel.js +1 -1
  565. package/dist/components/stzh-vbz-intro.js +4 -4
  566. package/dist/components/stzh-vbz-linechip.js +1 -1
  567. package/dist/components/stzh-vbz-majorticker.js +6 -6
  568. package/dist/components/stzh-vbz-ticker.js +6 -6
  569. package/dist/components/stzh-visuallyhidden.js +2 -2
  570. package/dist/components/stzh-vspace.js +2 -2
  571. package/dist/components/stzh-youtube.js +6 -6
  572. package/dist/esm/{app-globals-8ffa411d.js → app-globals-9b613e90.js} +2 -2
  573. package/dist/esm/{app-globals-8ffa411d.js.map → app-globals-9b613e90.js.map} +1 -1
  574. package/dist/esm/index-d8813b10.js +6 -2
  575. package/dist/esm/index.js.map +1 -1
  576. package/dist/esm/loader.js +2 -2
  577. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  578. package/dist/esm/stzh-actions_6.entry.js +9 -9
  579. package/dist/esm/stzh-actionset.entry.js +5 -5
  580. package/dist/esm/stzh-amount.entry.js +1 -1
  581. package/dist/esm/stzh-anchornav.entry.js +1 -1
  582. package/dist/esm/stzh-app-nav.entry.js +1 -1
  583. package/dist/esm/stzh-appointments.entry.js +1 -1
  584. package/dist/esm/stzh-audio.entry.js +3 -3
  585. package/dist/esm/stzh-badge_3.entry.js +3 -3
  586. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  587. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  588. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  589. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  590. package/dist/esm/stzh-card.entry.js +4 -4
  591. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  592. package/dist/esm/stzh-carousel.entry.js +2 -2
  593. package/dist/esm/stzh-chart.entry.js +1 -1
  594. package/dist/esm/stzh-checkbox.entry.js +3 -3
  595. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  596. package/dist/esm/stzh-chip.entry.js +1 -1
  597. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  598. package/dist/esm/stzh-chipselect.entry.js +4 -4
  599. package/dist/esm/stzh-clamp.entry.js +2 -2
  600. package/dist/esm/stzh-company-logo.entry.js +1 -1
  601. package/dist/esm/stzh-components.js +2 -2
  602. package/dist/esm/stzh-contact.entry.js +1 -2
  603. package/dist/esm/stzh-contact.entry.js.map +1 -1
  604. package/dist/esm/stzh-content.entry.js +1 -1
  605. package/dist/esm/stzh-cta.entry.js +1 -1
  606. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  607. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  608. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  609. package/dist/esm/stzh-datepicker_3.entry.js +10 -10
  610. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  611. package/dist/esm/stzh-daterange.entry.js +1 -1
  612. package/dist/esm/stzh-details.entry.js +1 -1
  613. package/dist/esm/stzh-dialog.entry.js +5 -5
  614. package/dist/esm/stzh-dialog.entry.js.map +1 -1
  615. package/dist/esm/stzh-dropdown.entry.js +4 -4
  616. package/dist/esm/stzh-figure.entry.js +1 -1
  617. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  618. package/dist/esm/stzh-footer.entry.js +1 -1
  619. package/dist/esm/stzh-gallery.entry.js +1 -1
  620. package/dist/esm/stzh-ghettobox_3.entry.js +3 -3
  621. package/dist/esm/stzh-header_2.entry.js +1 -1
  622. package/dist/esm/stzh-heading.entry.js +1 -1
  623. package/dist/esm/stzh-hr.entry.js +1 -1
  624. package/dist/esm/stzh-hspace.entry.js +2 -2
  625. package/dist/esm/stzh-http-error.entry.js +1 -1
  626. package/dist/esm/stzh-iframe.entry.js +4 -4
  627. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  628. package/dist/esm/stzh-input.entry.js +5 -5
  629. package/dist/esm/stzh-invert.entry.js +1 -1
  630. package/dist/esm/stzh-link.entry.js +1 -1
  631. package/dist/esm/stzh-linklist.entry.js +6 -2
  632. package/dist/esm/stzh-linklist.entry.js.map +1 -1
  633. package/dist/esm/stzh-list_2.entry.js +2 -2
  634. package/dist/esm/stzh-loader_2.entry.js +5 -5
  635. package/dist/esm/stzh-loader_2.entry.js.map +1 -1
  636. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  637. package/dist/esm/stzh-menu_2.entry.js +2 -2
  638. package/dist/esm/stzh-message.entry.js +2 -2
  639. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  640. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  641. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  642. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  643. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  644. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  645. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  646. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  647. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  648. package/dist/esm/stzh-panorama.entry.js +2 -2
  649. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  650. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  651. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  652. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
  653. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +64 -0
  654. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -0
  655. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  656. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  657. package/dist/esm/stzh-pi-teaser.entry.js +9 -25
  658. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  659. package/dist/esm/stzh-poicard.entry.js +1 -1
  660. package/dist/esm/stzh-poilist.entry.js +1 -1
  661. package/dist/esm/stzh-popover.entry.js +1 -1
  662. package/dist/esm/stzh-print_2.entry.js +2 -2
  663. package/dist/esm/stzh-quote.entry.js +1 -1
  664. package/dist/esm/stzh-ratio.entry.js +1 -1
  665. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  666. package/dist/esm/stzh-saptcha.entry.js +2 -2
  667. package/dist/esm/stzh-scrollup.entry.js +1 -1
  668. package/dist/esm/stzh-search.entry.js +2 -2
  669. package/dist/esm/stzh-section.entry.js +2 -2
  670. package/dist/esm/stzh-sitemap.entry.js +1 -1
  671. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  672. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  673. package/dist/esm/stzh-skiplink.entry.js +1 -1
  674. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  675. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  676. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  677. package/dist/esm/stzh-stepper.entry.js +3 -3
  678. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  679. package/dist/esm/stzh-sticky.entry.js +1 -1
  680. package/dist/esm/stzh-table.entry.js +1 -1
  681. package/dist/esm/stzh-text.entry.js +2 -2
  682. package/dist/esm/stzh-textandimage.entry.js +1 -1
  683. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  684. package/dist/esm/stzh-timeline.entry.js +1 -1
  685. package/dist/esm/stzh-timepicker.entry.js +1 -1
  686. package/dist/esm/stzh-toast_2.entry.js +3 -3
  687. package/dist/esm/stzh-toggle.entry.js +3 -3
  688. package/dist/esm/stzh-tooltip.entry.js +1 -1
  689. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  690. package/dist/esm/stzh-upload.entry.js +3 -3
  691. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  692. package/dist/esm/stzh-vspace.entry.js +2 -2
  693. package/dist/esm/stzh-youtube.entry.js +1 -1
  694. package/dist/stzh-components/index.esm.js.map +1 -1
  695. package/dist/stzh-components/{p-787ea476.entry.js → p-00cb988b.entry.js} +2 -2
  696. package/dist/stzh-components/{p-dac817d4.entry.js → p-0422500c.entry.js} +2 -2
  697. package/dist/stzh-components/{p-5149779d.entry.js → p-08dcf795.entry.js} +2 -2
  698. package/dist/stzh-components/{p-6705f73a.entry.js → p-0b54e58b.entry.js} +2 -2
  699. package/dist/stzh-components/p-0c1c23b6.entry.js +2 -0
  700. package/dist/stzh-components/{p-7fcdf0da.entry.js.map → p-0c1c23b6.entry.js.map} +1 -1
  701. package/dist/stzh-components/{p-822fd427.entry.js → p-0c340dcf.entry.js} +2 -2
  702. package/dist/stzh-components/{p-5f236e09.entry.js → p-0cb8c27c.entry.js} +2 -2
  703. package/dist/stzh-components/{p-58df488a.entry.js → p-0d2af671.entry.js} +2 -2
  704. package/dist/stzh-components/{p-88b60580.entry.js → p-1145c68c.entry.js} +2 -2
  705. package/dist/stzh-components/{p-cdfc3629.entry.js → p-12e3c92b.entry.js} +2 -2
  706. package/dist/stzh-components/p-140c21d2.entry.js +2 -0
  707. package/dist/stzh-components/{p-c27082b1.entry.js.map → p-140c21d2.entry.js.map} +1 -1
  708. package/dist/stzh-components/{p-81234cb3.entry.js → p-15a01b5b.entry.js} +2 -2
  709. package/dist/stzh-components/{p-0dd8bb75.entry.js → p-1bbd32d5.entry.js} +2 -2
  710. package/dist/stzh-components/{p-bfac05d9.entry.js → p-1bc80799.entry.js} +2 -2
  711. package/dist/stzh-components/{p-86134534.entry.js → p-1c858aa2.entry.js} +2 -2
  712. package/dist/stzh-components/{p-59f90fb0.entry.js → p-268a1fd3.entry.js} +2 -2
  713. package/dist/stzh-components/{p-0eb6375d.entry.js → p-27a50935.entry.js} +2 -2
  714. package/dist/stzh-components/{p-bec35e8a.entry.js → p-27e51cbb.entry.js} +2 -2
  715. package/dist/stzh-components/{p-10e8dd7d.entry.js → p-286c9d1c.entry.js} +2 -2
  716. package/dist/stzh-components/p-286c9d1c.entry.js.map +1 -0
  717. package/dist/stzh-components/{p-1f383f92.entry.js → p-287a6647.entry.js} +2 -2
  718. package/dist/stzh-components/{p-5f37f146.entry.js → p-296cf6eb.entry.js} +2 -2
  719. package/dist/stzh-components/{p-05ac8cf5.entry.js → p-2e8cca5f.entry.js} +2 -2
  720. package/dist/stzh-components/{p-91b425d3.entry.js → p-3745bbac.entry.js} +2 -2
  721. package/dist/stzh-components/{p-c5de2eae.entry.js → p-38a9f136.entry.js} +2 -2
  722. package/dist/stzh-components/{p-4883b247.entry.js → p-3b278a40.entry.js} +2 -2
  723. package/dist/stzh-components/{p-a92f593a.entry.js → p-44240b20.entry.js} +2 -2
  724. package/dist/stzh-components/{p-5d4e0dd0.entry.js → p-4538072a.entry.js} +2 -2
  725. package/dist/stzh-components/{p-bf786c3d.entry.js → p-46258bab.entry.js} +2 -2
  726. package/dist/stzh-components/{p-89dc75cb.entry.js → p-46554876.entry.js} +2 -2
  727. package/dist/stzh-components/{p-7bb25462.entry.js → p-4760e8fa.entry.js} +2 -2
  728. package/dist/stzh-components/{p-4524b189.entry.js → p-488de0c8.entry.js} +2 -2
  729. package/dist/stzh-components/{p-802da9eb.entry.js → p-48e7e24c.entry.js} +2 -2
  730. package/dist/stzh-components/p-48fb1f25.entry.js +2 -0
  731. package/dist/stzh-components/{p-ddc0dc04.entry.js.map → p-48fb1f25.entry.js.map} +1 -1
  732. package/dist/stzh-components/{p-060b4bf0.entry.js → p-4cbc6aaa.entry.js} +2 -2
  733. package/dist/stzh-components/{p-5e15683f.entry.js → p-56538913.entry.js} +2 -2
  734. package/dist/stzh-components/p-568ae693.entry.js +2 -0
  735. package/dist/stzh-components/p-568ae693.entry.js.map +1 -0
  736. package/dist/stzh-components/{p-0cf1a45d.entry.js → p-5b30efeb.entry.js} +2 -2
  737. package/dist/stzh-components/{p-1450f777.entry.js → p-5da60d60.entry.js} +2 -2
  738. package/dist/stzh-components/{p-36783a19.entry.js → p-5e0d522c.entry.js} +2 -2
  739. package/dist/stzh-components/{p-560c82e5.entry.js → p-60599b7d.entry.js} +2 -2
  740. package/dist/stzh-components/{p-a634e4a3.entry.js → p-609a9d4a.entry.js} +2 -2
  741. package/dist/stzh-components/p-609a9d4a.entry.js.map +1 -0
  742. package/dist/stzh-components/{p-cb70b81e.entry.js → p-62febcab.entry.js} +2 -2
  743. package/dist/stzh-components/{p-1416149e.entry.js → p-6345a81b.entry.js} +2 -2
  744. package/dist/stzh-components/{p-dd1d8a38.entry.js → p-65f98e78.entry.js} +2 -2
  745. package/dist/stzh-components/{p-f3d3f975.entry.js → p-670b579b.entry.js} +2 -2
  746. package/dist/stzh-components/{p-f50cd7ba.entry.js → p-6a9a7903.entry.js} +2 -2
  747. package/dist/stzh-components/{p-01b910be.entry.js → p-7016efd0.entry.js} +2 -2
  748. package/dist/stzh-components/{p-07a64a81.entry.js → p-70251e01.entry.js} +3 -3
  749. package/dist/stzh-components/{p-242f8853.entry.js → p-70753f8e.entry.js} +2 -2
  750. package/dist/stzh-components/{p-83eee7d8.entry.js → p-7499bdb7.entry.js} +2 -2
  751. package/dist/stzh-components/{p-1ef9b4aa.entry.js → p-7897b99c.entry.js} +2 -2
  752. package/dist/stzh-components/{p-813765e0.entry.js → p-7ddf3d51.entry.js} +2 -2
  753. package/dist/stzh-components/{p-7a0e995b.entry.js → p-7ec6c8e7.entry.js} +2 -2
  754. package/dist/stzh-components/{p-5afa5c60.entry.js → p-7f29fab9.entry.js} +2 -2
  755. package/dist/stzh-components/{p-a0ec5681.entry.js → p-838a40cd.entry.js} +2 -2
  756. package/dist/stzh-components/{p-4a05919e.entry.js → p-841118e5.entry.js} +2 -2
  757. package/dist/stzh-components/{p-4a05919e.entry.js.map → p-841118e5.entry.js.map} +1 -1
  758. package/dist/stzh-components/{p-e73168b1.entry.js → p-875a572e.entry.js} +2 -2
  759. package/dist/stzh-components/{p-1791b2b3.entry.js → p-8b41f6fa.entry.js} +2 -2
  760. package/dist/stzh-components/{p-c7d7d854.entry.js → p-90bf38bb.entry.js} +2 -2
  761. package/dist/stzh-components/p-913cc4d4.entry.js +2 -0
  762. package/dist/stzh-components/p-913cc4d4.entry.js.map +1 -0
  763. package/dist/stzh-components/{p-072ee314.entry.js → p-9697d5b9.entry.js} +2 -2
  764. package/dist/stzh-components/p-9abad95b.entry.js +2 -0
  765. package/dist/stzh-components/p-9abad95b.entry.js.map +1 -0
  766. package/dist/stzh-components/{p-d3d1a284.entry.js → p-a10a167c.entry.js} +2 -2
  767. package/dist/stzh-components/p-a42eb9ff.entry.js +2 -0
  768. package/dist/stzh-components/p-a42eb9ff.entry.js.map +1 -0
  769. package/dist/stzh-components/{p-97c16051.entry.js → p-a58b97fc.entry.js} +2 -2
  770. package/dist/stzh-components/{p-c4c3cd03.entry.js → p-a74ed640.entry.js} +2 -2
  771. package/dist/stzh-components/{p-be5c3c5f.entry.js → p-a996b9af.entry.js} +2 -2
  772. package/dist/stzh-components/{p-9429dd63.entry.js → p-a9c4e972.entry.js} +2 -2
  773. package/dist/stzh-components/{p-640bd513.entry.js → p-ad9d3926.entry.js} +2 -2
  774. package/dist/stzh-components/p-adc9fb2b.entry.js +2 -0
  775. package/dist/stzh-components/{p-8dccb0a9.entry.js.map → p-adc9fb2b.entry.js.map} +1 -1
  776. package/dist/stzh-components/{p-b5361fa5.entry.js → p-b11487ec.entry.js} +2 -2
  777. package/dist/stzh-components/{p-a60e9919.entry.js → p-b9354960.entry.js} +2 -2
  778. package/dist/stzh-components/{p-368d97c2.entry.js → p-bb1d4410.entry.js} +2 -2
  779. package/dist/stzh-components/{p-c4a656ba.entry.js → p-bd92bc55.entry.js} +2 -2
  780. package/dist/stzh-components/p-c023e0ce.js +2 -0
  781. package/dist/stzh-components/{p-f47de487.js.map → p-c023e0ce.js.map} +1 -1
  782. package/dist/stzh-components/{p-8629e109.entry.js → p-c0c7ebbc.entry.js} +2 -2
  783. package/dist/stzh-components/{p-513cbed7.entry.js → p-c3ddf161.entry.js} +2 -2
  784. package/dist/stzh-components/{p-852bb820.entry.js → p-c475f153.entry.js} +2 -2
  785. package/dist/stzh-components/{p-70739292.entry.js → p-c47d9a87.entry.js} +2 -2
  786. package/dist/stzh-components/{p-aef0879b.entry.js → p-c9195859.entry.js} +2 -2
  787. package/dist/stzh-components/{p-0aa2bf6d.entry.js → p-ce1a02f6.entry.js} +2 -2
  788. package/dist/stzh-components/{p-0c9776ca.entry.js → p-d17e7d90.entry.js} +2 -2
  789. package/dist/stzh-components/{p-4e67373b.entry.js → p-d29ff5f4.entry.js} +2 -2
  790. package/dist/stzh-components/{p-84f8a7c4.entry.js → p-d37d10b5.entry.js} +2 -2
  791. package/dist/stzh-components/p-d37d10b5.entry.js.map +1 -0
  792. package/dist/stzh-components/{p-523cd861.entry.js → p-d38c0e15.entry.js} +2 -2
  793. package/dist/stzh-components/{p-603eb9db.entry.js → p-d3b51ee5.entry.js} +2 -2
  794. package/dist/stzh-components/{p-f52539cd.entry.js → p-d57e8dd4.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b424108f.entry.js → p-d687ec3c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-decc15e9.entry.js → p-d73ba86d.entry.js} +2 -2
  797. package/dist/stzh-components/p-d73ba86d.entry.js.map +1 -0
  798. package/dist/stzh-components/{p-09ccae77.entry.js → p-d82079be.entry.js} +2 -2
  799. package/dist/stzh-components/{p-d8d5bcf0.entry.js → p-d956a33d.entry.js} +2 -2
  800. package/dist/stzh-components/{p-005493d4.entry.js → p-d9dda5eb.entry.js} +2 -2
  801. package/dist/stzh-components/{p-a64a1cfb.entry.js → p-dc40dd2a.entry.js} +2 -2
  802. package/dist/stzh-components/{p-5e81bc87.entry.js → p-dca76ae3.entry.js} +2 -2
  803. package/dist/stzh-components/{p-c4fe3a90.entry.js → p-dcba6464.entry.js} +2 -2
  804. package/dist/stzh-components/{p-b2bd3ab6.entry.js → p-e01d37b9.entry.js} +2 -2
  805. package/dist/stzh-components/{p-52157928.entry.js → p-e054a79d.entry.js} +2 -2
  806. package/dist/stzh-components/{p-7c3ad9ad.entry.js → p-e05db400.entry.js} +2 -2
  807. package/dist/stzh-components/{p-f87cac36.entry.js → p-e513785b.entry.js} +2 -2
  808. package/dist/stzh-components/{p-6201ff22.entry.js → p-e9b37425.entry.js} +2 -2
  809. package/dist/stzh-components/{p-87b49bad.entry.js → p-ec0c1d40.entry.js} +2 -2
  810. package/dist/stzh-components/{p-14d4ccf8.entry.js → p-f0defcda.entry.js} +2 -2
  811. package/dist/stzh-components/{p-f76e4062.entry.js → p-f12cc836.entry.js} +2 -2
  812. package/dist/stzh-components/{p-cfaa0150.entry.js → p-f1340147.entry.js} +2 -2
  813. package/dist/stzh-components/{p-484ab936.entry.js → p-f76bc9ba.entry.js} +2 -2
  814. package/dist/stzh-components/{p-05c5f234.entry.js → p-f86de9e1.entry.js} +2 -2
  815. package/dist/stzh-components/{p-2b99717a.entry.js → p-faddaae7.entry.js} +2 -2
  816. package/dist/stzh-components/{p-592d0768.entry.js → p-fe64fe26.entry.js} +2 -2
  817. package/dist/stzh-components/stzh-components.esm.js +1 -1
  818. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  819. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +0 -2
  820. package/dist/types/components/CMS/stzh-linklist/stzh-linklist.d.ts +5 -1
  821. package/dist/types/components/CMS/stzh-pi-teaser/stzh-pi-teaser.d.ts +0 -7
  822. package/dist/types/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.d.ts +4 -1
  823. package/dist/types/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.d.ts +44 -0
  824. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +1 -1
  825. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +1 -1
  826. package/dist/types/components.d.ts +128 -42
  827. package/dist/types/index.d.ts +5 -0
  828. package/dist/vscode-data.json +92 -45
  829. package/package.json +3 -3
  830. package/dist/components/p-503bdd56.js.map +0 -1
  831. package/dist/components/p-9ac321e4.js.map +0 -1
  832. package/dist/components/p-9c59e8f6.js.map +0 -1
  833. package/dist/components/p-c22c1bb9.js +0 -102
  834. package/dist/components/p-c22c1bb9.js.map +0 -1
  835. package/dist/stzh-components/p-07f2765c.entry.js +0 -2
  836. package/dist/stzh-components/p-07f2765c.entry.js.map +0 -1
  837. package/dist/stzh-components/p-10e8dd7d.entry.js.map +0 -1
  838. package/dist/stzh-components/p-177fe44b.entry.js +0 -2
  839. package/dist/stzh-components/p-177fe44b.entry.js.map +0 -1
  840. package/dist/stzh-components/p-7fcdf0da.entry.js +0 -2
  841. package/dist/stzh-components/p-84f8a7c4.entry.js.map +0 -1
  842. package/dist/stzh-components/p-8dccb0a9.entry.js +0 -2
  843. package/dist/stzh-components/p-a469d79d.entry.js +0 -2
  844. package/dist/stzh-components/p-a469d79d.entry.js.map +0 -1
  845. package/dist/stzh-components/p-a634e4a3.entry.js.map +0 -1
  846. package/dist/stzh-components/p-c27082b1.entry.js +0 -2
  847. package/dist/stzh-components/p-ddc0dc04.entry.js +0 -2
  848. package/dist/stzh-components/p-decc15e9.entry.js.map +0 -1
  849. package/dist/stzh-components/p-f47de487.js +0 -2
  850. /package/dist/stzh-components/{p-787ea476.entry.js.map → p-00cb988b.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-dac817d4.entry.js.map → p-0422500c.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-5149779d.entry.js.map → p-08dcf795.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-6705f73a.entry.js.map → p-0b54e58b.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-822fd427.entry.js.map → p-0c340dcf.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-5f236e09.entry.js.map → p-0cb8c27c.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-58df488a.entry.js.map → p-0d2af671.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-88b60580.entry.js.map → p-1145c68c.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-cdfc3629.entry.js.map → p-12e3c92b.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-81234cb3.entry.js.map → p-15a01b5b.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-0dd8bb75.entry.js.map → p-1bbd32d5.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-bfac05d9.entry.js.map → p-1bc80799.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-86134534.entry.js.map → p-1c858aa2.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-59f90fb0.entry.js.map → p-268a1fd3.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-0eb6375d.entry.js.map → p-27a50935.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-bec35e8a.entry.js.map → p-27e51cbb.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-1f383f92.entry.js.map → p-287a6647.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-5f37f146.entry.js.map → p-296cf6eb.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-05ac8cf5.entry.js.map → p-2e8cca5f.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-91b425d3.entry.js.map → p-3745bbac.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-c5de2eae.entry.js.map → p-38a9f136.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-4883b247.entry.js.map → p-3b278a40.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-a92f593a.entry.js.map → p-44240b20.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-5d4e0dd0.entry.js.map → p-4538072a.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-bf786c3d.entry.js.map → p-46258bab.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-89dc75cb.entry.js.map → p-46554876.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-7bb25462.entry.js.map → p-4760e8fa.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-4524b189.entry.js.map → p-488de0c8.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-802da9eb.entry.js.map → p-48e7e24c.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-060b4bf0.entry.js.map → p-4cbc6aaa.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-5e15683f.entry.js.map → p-56538913.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-0cf1a45d.entry.js.map → p-5b30efeb.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-1450f777.entry.js.map → p-5da60d60.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-36783a19.entry.js.map → p-5e0d522c.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-560c82e5.entry.js.map → p-60599b7d.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-cb70b81e.entry.js.map → p-62febcab.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-1416149e.entry.js.map → p-6345a81b.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-dd1d8a38.entry.js.map → p-65f98e78.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-f3d3f975.entry.js.map → p-670b579b.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-f50cd7ba.entry.js.map → p-6a9a7903.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-01b910be.entry.js.map → p-7016efd0.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-07a64a81.entry.js.map → p-70251e01.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-242f8853.entry.js.map → p-70753f8e.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-83eee7d8.entry.js.map → p-7499bdb7.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-1ef9b4aa.entry.js.map → p-7897b99c.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-813765e0.entry.js.map → p-7ddf3d51.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-7a0e995b.entry.js.map → p-7ec6c8e7.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5afa5c60.entry.js.map → p-7f29fab9.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-a0ec5681.entry.js.map → p-838a40cd.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-e73168b1.entry.js.map → p-875a572e.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-1791b2b3.entry.js.map → p-8b41f6fa.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-c7d7d854.entry.js.map → p-90bf38bb.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-072ee314.entry.js.map → p-9697d5b9.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-d3d1a284.entry.js.map → p-a10a167c.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-97c16051.entry.js.map → p-a58b97fc.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-c4c3cd03.entry.js.map → p-a74ed640.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-be5c3c5f.entry.js.map → p-a996b9af.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-9429dd63.entry.js.map → p-a9c4e972.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-640bd513.entry.js.map → p-ad9d3926.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-b5361fa5.entry.js.map → p-b11487ec.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-a60e9919.entry.js.map → p-b9354960.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-368d97c2.entry.js.map → p-bb1d4410.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-c4a656ba.entry.js.map → p-bd92bc55.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-8629e109.entry.js.map → p-c0c7ebbc.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-513cbed7.entry.js.map → p-c3ddf161.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-852bb820.entry.js.map → p-c475f153.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-70739292.entry.js.map → p-c47d9a87.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-aef0879b.entry.js.map → p-c9195859.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-0aa2bf6d.entry.js.map → p-ce1a02f6.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-0c9776ca.entry.js.map → p-d17e7d90.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-4e67373b.entry.js.map → p-d29ff5f4.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-523cd861.entry.js.map → p-d38c0e15.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-603eb9db.entry.js.map → p-d3b51ee5.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-f52539cd.entry.js.map → p-d57e8dd4.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-b424108f.entry.js.map → p-d687ec3c.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-09ccae77.entry.js.map → p-d82079be.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-d8d5bcf0.entry.js.map → p-d956a33d.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-005493d4.entry.js.map → p-d9dda5eb.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-a64a1cfb.entry.js.map → p-dc40dd2a.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-5e81bc87.entry.js.map → p-dca76ae3.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-c4fe3a90.entry.js.map → p-dcba6464.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-b2bd3ab6.entry.js.map → p-e01d37b9.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-52157928.entry.js.map → p-e054a79d.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-7c3ad9ad.entry.js.map → p-e05db400.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-f87cac36.entry.js.map → p-e513785b.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-6201ff22.entry.js.map → p-e9b37425.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-87b49bad.entry.js.map → p-ec0c1d40.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-14d4ccf8.entry.js.map → p-f0defcda.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-f76e4062.entry.js.map → p-f12cc836.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-cfaa0150.entry.js.map → p-f1340147.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-484ab936.entry.js.map → p-f76bc9ba.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-05c5f234.entry.js.map → p-f86de9e1.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-2b99717a.entry.js.map → p-faddaae7.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-592d0768.entry.js.map → p-fe64fe26.entry.js.map} +0 -0
@@ -54,7 +54,7 @@ const StzhPiContentNavigation = class {
54
54
  "stzh-pi-content-navigation--is-navigation-level-1-or-2": isNavigationLevel1or2,
55
55
  };
56
56
  const CardLink = this.href ? "a" : "button";
57
- return (index.h(index.Host, { key: 'c42abe95e0d73723d1f0cf2aa751973a5a583c62', "has-lead": hasLead }, index.h("article", { key: '879c274c2073ea1ce0c5b6017233b610365d7aa2', class: classes, "aria-label": this.heading, role: "listitem" }, index.h(CardLink, { key: '8332f0c407d0c69d8c063ab1667a6c1465993925', ref: el => (this.cardLinkElement = el), class: "stzh-pi-content-navigation__title-link", href: this.href, target: this.target, onClick: this.handleCardClick }, index.h("div", { key: 'aeb3927354ce525cbe6edee3ae7226409de22a7e', class: "stzh-pi-content-navigation__image" }, index.h("stzh-ratio", { key: 'da9d6a69d53465d9171c7c6ab0e96bd1dc985024', ratio: "2:1" }, index.h("slot", { key: 'dfd6406a810fd11a13bc0f2670df982e33096103', name: "image" }))), shouldRenderTitleRatio && (index.h("div", { key: '4399f9261a7546906257c928c511aeac337feda2', class: "stzh-pi-content-navigation__title-ratio" }, this.renderHeading())), index.h("div", { key: 'cc0310c4e4ba422fc5f7a171206aa7902bea2052', class: "stzh-pi-content-navigation__wrapper" }, !shouldRenderTitleRatio && this.renderHeading(), hasLead && (index.h("div", { key: '0de77793c29c75685a56e073b15ff5b2b84321e9', class: "stzh-pi-content-navigation__lead" }, this.lead ? this.lead : index.h("slot", { name: "lead" })))), index.h("div", { key: '6d5307769334e8f1da198b5d375a4141aae31b2a', class: "stzh-pi-content-navigation__arrow" }, index.h("stzh-icon", { key: '89a95c1f263261738f1578db407e9121f3807775', class: "stzh-pi-content-navigation__arrow-icon", name: "arrow-right" }))))));
57
+ return (index.h(index.Host, { key: '0a16919e13de81aa15deb81d4162461bc797686d', "has-lead": hasLead }, index.h("article", { key: '546ab726feeb9c83537035fadb527653736a9883', class: classes, "aria-label": this.heading, role: "listitem" }, index.h(CardLink, { key: 'f70c9644e16f1e6ec267000151c0a0f1b6f3ec78', ref: el => (this.cardLinkElement = el), class: "stzh-pi-content-navigation__title-link", href: this.href, target: this.target, onClick: this.handleCardClick }, index.h("div", { key: 'd4b40a0c8bc2dd10832ee93c17706a0a449ca7a5', class: "stzh-pi-content-navigation__image" }, index.h("stzh-ratio", { key: '61f8e77a448c9bc15ffeb684c7fa6d209223f935', ratio: "2:1" }, index.h("slot", { key: 'b35984bd914f3a7eaaf75d11e57a125f50097a4f', name: "image" }))), shouldRenderTitleRatio && (index.h("div", { key: '787bbc48bafb804de5202715d1eb520599c90061', class: "stzh-pi-content-navigation__title-ratio" }, this.renderHeading())), index.h("div", { key: '2e5d9234f52eccf7dffa868b00c0a8bfcd337d62', class: "stzh-pi-content-navigation__wrapper" }, !shouldRenderTitleRatio && this.renderHeading(), hasLead && (index.h("div", { key: 'c3be66d778cf8d7e84c385c778c9ea638b4d5756', class: "stzh-pi-content-navigation__lead" }, this.lead ? this.lead : index.h("slot", { name: "lead" })))), index.h("div", { key: '5785a3fda4de2dd49ef6151ed9383b2ec00109a2', class: "stzh-pi-content-navigation__arrow" }, index.h("stzh-icon", { key: '0790cce9f6da093c7fd2e1614afe1c5b4e679da2', class: "stzh-pi-content-navigation__arrow-icon", name: "arrow-right" }))))));
58
58
  }
59
59
  get element() { return index.getElement(this); }
60
60
  };
@@ -263,7 +263,7 @@ const StzhPiMenu = class {
263
263
  // Screens medium, large and ultra
264
264
  const wideScreens = `${this.entangledMenuSize}px`;
265
265
  const menuWidth = this.open ? (this.isMedium ? wideScreens : narrowScreens) : this.isMedium ? wideScreens : closed;
266
- return (index.h(index.Host, { key: '8d814a8e0e79688c18cf252a97027944664eaeee', tabindex: this.rootTabindex, onFocus: this.onRootFocus }, index.h("div", { key: 'e4048c92028b18c3a6e2bd0a33200b80cbf63bef', class: "stzh-pi-menu-positioner" }, index.h("div", { key: '58cba2e20480c28bea85e7268370aeb686785f2f', class: classes, style: { width: menuWidth } }, index.h("div", { key: '427a08f026aa5f274e6358e44e21d01754c88322', class: backdropClasses, onClick: this.handleBackdropClick }), index.h(Heading, { key: '9e3b71a442ad935930fa47961dfcce387220dd27', class: "stzh-pi-menu__heading", onClick: this.handleHeaderClick }, index.h("button", { key: '76e742716dc800c260ad509413efa3abcf2b7b1c', ref: el => (this.buttonElement = el), class: "stzh-pi-menu__button", "aria-expanded": `${this.open ? "true" : "false"}`, type: "button", "s-object-id": this.analyticsId || this.heading }, index.h("span", { key: 'd907834e673e9838d75120b239f3bba9574cbf43', class: "stzh-pi-menu__button-text" }, this.heading), index.h("stzh-icon", { key: 'a0aee001981739d866c75673f4e9739b299aa9f9', name: "angle-down", class: "stzh-pi-menu__button-icon" }))), index.h("div", { key: 'f48db0525c4aa919af26b0b102e187b0fba12175', id: `${this.piMenuId}-content`, ref: el => (this.bodyElement = el), class: "stzh-pi-menu__content", "aria-labelledby": `${this.piMenuId}-header`, role: "region" }, index.h("div", { key: '7d601e993e68d909bada6b7f73690b4b544d5f94', class: "stzh-pi-menu__content-inner" }, index.h("nav", { key: '16f78af2613d5d627ae425012e8ace36788d9c37', class: "stzh-pi-menu__nav", "aria-label": this.localization.menuLabel }, this.subheading && index.h("p", { key: '861ad618e88385525ce7455e3c3c3eeeb085ca97', class: "stzh-pi-menu__subheading" }, this.subheading), index.h("ul", { key: '3c57f05aa34ab8c0900c41f61beba7ad28dca17e', class: "stzh-pi-menu__nav-list is-level-1" }, this._menuItems.map((item, index$1) => (index.h("li", { class: "stzh-pi-menu__nav-list-item" }, this.isMedium || this.isLarge || this.isUltra ? (index.h("div", null, this.setSubMenuHeader(item), this.setSubMenuItems(item))) : (index.h("stzh-details", { open: index$1 === 0 }, this.setSubMenuHeader(item), index.h("div", { slot: "content" }, this.setSubMenuItems(item)))))))))))), index.h("button", { key: 'fb870cbd1098cab33cdcd3a641146cd591bde3bc', class: "stzh-pi-menu__button stzh-pi-menu__button-space-helper", "aria-hidden": "true", type: "button" }, index.h("span", { key: 'f4073640a70396980e8d3a3305dbd58858cc7ead', class: "stzh-pi-menu__button-text" }, index.h("span", { key: '90c703747d6ac6fb8849bfb207a2c1fffe660cf5', class: "stzh-pi-menu__heading-text" }, this.heading)), index.h("stzh-icon", { key: '21cdf06321e37b291f4c32fda90c75b86d918ffe', name: "angle-down", class: "stzh-pi-menu__button-icon" })))));
266
+ return (index.h(index.Host, { key: '57045684e2f4a2ad5559d0a531b77d1bb3e13fcc', tabindex: this.rootTabindex, onFocus: this.onRootFocus }, index.h("div", { key: '42c42aa79045f7df2899fe837fee2f447a67d99b', class: "stzh-pi-menu-positioner" }, index.h("div", { key: 'dcb487d0a8c093aa51403b204e33ad5a4d89682f', class: classes, style: { width: menuWidth } }, index.h("div", { key: '49bd807628e73a723b2a6ff2088f30315eee2131', class: backdropClasses, onClick: this.handleBackdropClick }), index.h(Heading, { key: 'b85e45447c9ea90347107a8dbca3c925aa5c2315', class: "stzh-pi-menu__heading", onClick: this.handleHeaderClick }, index.h("button", { key: '42082f63ea72df85dd0d196383a4c9407b28caeb', ref: el => (this.buttonElement = el), class: "stzh-pi-menu__button", "aria-expanded": `${this.open ? "true" : "false"}`, type: "button", "s-object-id": this.analyticsId || this.heading }, index.h("span", { key: '64717628f0b735ebd05447efd2880f2c30d2b190', class: "stzh-pi-menu__button-text" }, this.heading), index.h("stzh-icon", { key: 'b727aef4cfd5bfffd7d8332d214db3062e6b85c7', name: "angle-down", class: "stzh-pi-menu__button-icon" }))), index.h("div", { key: 'fd1eb0ba81ab4853f7404777aab058280227f6e3', id: `${this.piMenuId}-content`, ref: el => (this.bodyElement = el), class: "stzh-pi-menu__content", "aria-labelledby": `${this.piMenuId}-header`, role: "region" }, index.h("div", { key: '684f545d9e82648acc98013ad52012eda80126de', class: "stzh-pi-menu__content-inner" }, index.h("nav", { key: '69d4e538668cd30c89b7b5054de0ecacb3f94d14', class: "stzh-pi-menu__nav", "aria-label": this.localization.menuLabel }, this.subheading && index.h("p", { key: '325c29a8d6b209ea46ca2c42eae6ba21386d8163', class: "stzh-pi-menu__subheading" }, this.subheading), index.h("ul", { key: 'e96fc4a6d795f42f7de769caa7503b312450c5e4', class: "stzh-pi-menu__nav-list is-level-1" }, this._menuItems.map((item, index$1) => (index.h("li", { class: "stzh-pi-menu__nav-list-item" }, this.isMedium || this.isLarge || this.isUltra ? (index.h("div", null, this.setSubMenuHeader(item), this.setSubMenuItems(item))) : (index.h("stzh-details", { open: index$1 === 0 }, this.setSubMenuHeader(item), index.h("div", { slot: "content" }, this.setSubMenuItems(item)))))))))))), index.h("button", { key: 'a796b83c07871db48cdb79cf57f33fc45c463442', class: "stzh-pi-menu__button stzh-pi-menu__button-space-helper", "aria-hidden": "true", type: "button" }, index.h("span", { key: 'be9e79e611839893454186a68a384c887d8fdd5f', class: "stzh-pi-menu__button-text" }, index.h("span", { key: '24d7d0ad3f41dd70e887bff7e1d50a6297e8e369', class: "stzh-pi-menu__heading-text" }, this.heading)), index.h("stzh-icon", { key: 'a8a0ef3058c5b26000c6edfc68f2935c578058df', name: "angle-down", class: "stzh-pi-menu__button-icon" })))));
267
267
  }
268
268
  get element() { return index.getElement(this); }
269
269
  static get watchers() { return {
@@ -63,7 +63,7 @@ const StzhPiPagetitle = class {
63
63
  "stzh-pi-pagetitle--hyphens": this.hyphensEnabled,
64
64
  [`stzh-pi-pagetitle--level-${this.level}`]: !!this.level,
65
65
  };
66
- return (index.h(index.Host, { key: 'bc1447bd906371534607883029d0fdafaac84865', "has-menu": menuSlotUsed, "has-article-info": hasArticleInfo }, index.h("div", { key: '2976ef10ec0a80e25447a706948df5e83bce96e4', class: classes }, index.h("div", { key: 'a643484b32794710eb3209eb30a464f2e6abd4f5', class: "stzh-pi-pagetitle__hero-container" }, index.h("div", { key: 'c7fb03253283621f30d744fd7b42bf88a7650aa7', class: "stzh-pi-pagetitle__hero" }, index.h("div", { key: '276a214f03d357f18601abb6573fd99fd492a89a', class: "stzh-pi-pagetitle__breadcrumbs" }, index.h("slot", { key: '1406af1abed10f1d4f19a25ca4889fd09a5dd594', name: "breadcrumb" })), index.h("div", { key: 'c02fd00abc4bb83333a392bcb6594e31a45e4733', class: "stzh-pi-pagetitle__meta" }, index.h("div", { key: '323c574c1b38891b9aea152fc0fde085ce645189', class: "stzh-pi-pagetitle__readspeaker" }, index.h("slot", { key: '023779d61f0f1726c7740726a5d5ad96db24837a', name: "readspeaker" }))), index.h("div", { key: 'a04c33680ba7bec7cd34b7e11d14e2761f75cf1e', class: "stzh-pi-pagetitle__dateline" }, index.h("slot", { key: '242c2ba331c2bd373970d3a36225acfa7ce55ca8', name: "dateline" })), index.h("div", { key: '2e4ea0b21f4ff9479b9a6c4ada9a355283fe3847', class: "stzh-pi-pagetitle__heading" }, index.h("slot", { key: 'bd4a74fbc65b05564abf7a0b88eee4c2ca523dbd', name: "heading" })))), index.h("div", { key: 'ee24ff47efc29d6fe1345ef7bfd08c697ccdcebb', class: "stzh-pi-pagetitle__image-lead-menu-container" }, index.h("div", { key: 'db6cb2a05c58b1189832d350160e943c4fb228a9', class: "stzh-pi-pagetitle__image-lead-menu" }, index.h("div", { key: 'bae5a9d6aa541bbd8c978b550f22bbecf92caab2', class: "stzh-pi-pagetitle__menu" }, menuSlotUsed && (index.h("div", { key: '64614f49e06acaa037f233a4b4361f5d0618f950', class: "stzh-pi-pagetitle__menu-inner" }, index.h("slot", { key: 'dbc9294e0a1ed5d65e2998aa1c956fed8355bf0b', name: "menu" })))), imageSlotUsed && (index.h("div", { key: '46cc40114e3d085f261e1244b2efe64fdc73073e', class: "stzh-pi-pagetitle__image" }, [1, 2].indexOf(this.level) > -1 && (index.h("div", { key: '2448c75b847ab9f4729aba5681c30bac615c6f9f', class: "stzh-pi-pagetitle__image-wrapper" }, index.h("stzh-ratio", { key: '01dcebc68d01b849f86073885564df8fb1ffdfcb', ratio: "16:9", ratioSmall: "21:9", class: "stzh-pi-pagetitle__ratio" }, index.h("slot", { key: '2b668c52975933f2294e6f3c87bcae85219d6044', name: "image" })))))), menuSlotUsed && (index.h("div", { key: 'a989167bc3a76e160b5cde9c06871948b65d0042', class: "stzh-pi-pagetitle__lead" }, index.h("slot", { key: 'bae28bb8353549eb9c4b4b9b3ce65aae911f07ca', name: "lead" }))))), !menuSlotUsed && (index.h("div", { key: '47657439842999b021bc4158c19b755f21ae8752', class: "stzh-pi-pagetitle__lead-container" }, index.h("div", { key: '5358eb381605b433ffd56793bd719ff3d1be9746', class: "stzh-pi-pagetitle__lead" }, index.h("slot", { key: '09dd20699f06cd5a77356f00d6db001264596f7c', name: "lead" })))), hasArticleInfo && (index.h("div", { key: '6087fc056609840d8f1ee629379c8da77440d035', class: "stzh-pi-pagetitle__article-info-wrapper" }, index.h("div", { key: 'ba08bb1cc82b8b13fb385a5b823ccf45d43c4252', class: "stzh-pi-pagetitle__article-info" }, index.h("div", { key: '1158c090072dc2090273d967e7bf2aaa22610272', class: "stzh-pi-pagetitle__article-info-holder" }, this.author && index.h("p", { key: 'd7bb67b16ad7404da9cb1b49df4921a681638fd1', class: "stzh-pi-pagetitle__author" }, this.author), this.date && index.h("p", { key: '615e3defa175315b194e2ebe8333f6d856327b24', class: "stzh-pi-pagetitle__date" }, this.date), index.h("slot", { key: '413b9e6f73c14b62ba6d752e644e0f928be4d7ca', name: "content" }))))))));
66
+ return (index.h(index.Host, { key: '517553d8fc2eccd4e392639972efd195cc13b82c', "has-menu": menuSlotUsed, "has-article-info": hasArticleInfo }, index.h("div", { key: '2c9b74f7594d4369ae717f3a0aa6221737818e37', class: classes }, index.h("div", { key: '6dbb9e4c7ef4125ef23884373700ca5510d5e2dc', class: "stzh-pi-pagetitle__hero-container" }, index.h("div", { key: '7d6590d75609755b9945181590a58e841ccb6a5d', class: "stzh-pi-pagetitle__hero" }, index.h("div", { key: 'efbac24ba586ef740b3fd012b653dacd571f8f87', class: "stzh-pi-pagetitle__breadcrumbs" }, index.h("slot", { key: '49ffdf90794fee13ac4098a7b7ab9ffffa022a00', name: "breadcrumb" })), index.h("div", { key: '87b59eafb444a76e740931ef533a17ef3dc7b378', class: "stzh-pi-pagetitle__meta" }, index.h("div", { key: '023f4c2a17340475e9a1bb99e5f9a7255b974cb2', class: "stzh-pi-pagetitle__readspeaker" }, index.h("slot", { key: 'f0f935fd4145be184f001899228e77d2d758e7a3', name: "readspeaker" }))), index.h("div", { key: '5b2800adf6b2e29621c5e0071daf3c6ead61f85c', class: "stzh-pi-pagetitle__dateline" }, index.h("slot", { key: 'e2b975fec524d79b1703c16bbdf59ca542173fec', name: "dateline" })), index.h("div", { key: 'f716648deb81197cb86ec57e153ef9533de7c739', class: "stzh-pi-pagetitle__heading" }, index.h("slot", { key: '29c5e4ef9226d7d5733c33d12232fee33f8044ae', name: "heading" })))), index.h("div", { key: 'd31ba15572bed4af76cd98acfef77998c297e805', class: "stzh-pi-pagetitle__image-lead-menu-container" }, index.h("div", { key: '3b77bd8ecbdf2a9e8ba57a2f43df4e67893f9c6f', class: "stzh-pi-pagetitle__image-lead-menu" }, index.h("div", { key: 'b31a688785c6ff74d414602e13240d7aca264f58', class: "stzh-pi-pagetitle__menu" }, menuSlotUsed && (index.h("div", { key: 'f9023fc9c4a64a7a618e95b646185a9a03e0b101', class: "stzh-pi-pagetitle__menu-inner" }, index.h("slot", { key: 'e9cf0a9658c999a5e4f8e1706976308e091f9e2a', name: "menu" })))), imageSlotUsed && (index.h("div", { key: '563ec8906f9a1829b3795ec4fa1d808e7bb1982e', class: "stzh-pi-pagetitle__image" }, [1, 2].indexOf(this.level) > -1 && (index.h("div", { key: 'f5608867a4849f00a22671b3e533259fec06e06f', class: "stzh-pi-pagetitle__image-wrapper" }, index.h("stzh-ratio", { key: 'd8026fe3433a8f59a43a874b9e64dfcf74fda574', ratio: "16:9", ratioSmall: "21:9", class: "stzh-pi-pagetitle__ratio" }, index.h("slot", { key: 'bc44a468ece509db858af815781cc9950b79cec9', name: "image" })))))), menuSlotUsed && (index.h("div", { key: '6c0268e26dd4462b28b41b234b8998c6cc4ebb7a', class: "stzh-pi-pagetitle__lead" }, index.h("slot", { key: 'dd88416348dde4e1a748f2bc842941c0bb1b17aa', name: "lead" }))))), !menuSlotUsed && (index.h("div", { key: '159cd4cc09defa62f7c926ba4d71d43762e7d682', class: "stzh-pi-pagetitle__lead-container" }, index.h("div", { key: 'a35c3f7341e49762fc86d9dde3055b89677dd919', class: "stzh-pi-pagetitle__lead" }, index.h("slot", { key: '559b60a5f60a8b0fdf6f7f5b9c221924ec932acf', name: "lead" })))), index.h("div", { key: '81477ae7580ee075a57395bced4f525a472d2680', class: "stzh-pi-pagetitle__article-info-wrapper" }, index.h("div", { key: '1e232da206f1fd05ea3fa28d85d1c773d17d2b6e', class: "stzh-pi-pagetitle__article-info" }, index.h("div", { key: 'e097552cd246d1064cb9f9b307f45ef1bfde834d', class: "stzh-pi-pagetitle__article-info-holder" }, hasArticleInfo && (index.h("div", { key: '11a170814162133727a85f9d3daf79499d0612e6' }, this.author && index.h("p", { key: 'a50c86bd6d4c336aeed4a77990be0854aa0fa869', class: "stzh-pi-pagetitle__author" }, this.author), this.date && index.h("p", { key: '8b3c06a346f10e06c9c6e969899b0f5db75aa172', class: "stzh-pi-pagetitle__date" }, this.date))), index.h("slot", { key: '1616edd716b2161e4ed69a31fc8c0f84ba93b7e8', name: "content" })))))));
67
67
  }
68
68
  get element() { return index.getElement(this); }
69
69
  };
@@ -1 +1 @@
1
- {"file":"stzh-pi-pagetitle.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,kBAAkB,GAAG,uh0BAAuh0B,CAAC;AACnj0B,8BAAe,kBAAkB;;MCmBpB,eAAe;;;QAelB,SAAI,GAAG;YACb,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,6DAA6D,CAAC,CAAC;YAC1G,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,iDAAiD,CAAC,CAAC;YAC/F,MAAM,iBAAiB,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,kCAAkC,CAAC,CAAC;YAEzF,IAAI,OAAO,EAAE;gBACXA,oBAAc,CAAC,OAAO,EAAE;oBACtB,KAAK,EAAE,MAAM;oBACb,KAAK,EAAE,GAAG;iBACe,CAAC,CAAC;aAC9B;YAED,IAAI,iBAAiB,EAAE;gBACrBA,oBAAc,CAAC,iBAAiB,EAAE;oBAChC,OAAO,EAAE,gBAAgB;oBACzB,aAAa,EAAE,IAAI;oBACnB,cAAc,EAAE,IAAI;oBACpB,IAAI,EAAE,OAAO;oBACb,UAAU,EAAE,MAAM;oBAClB,eAAe,EAAE,GAAG;iBACI,CAAC,CAAC;aAC7B;YAED,KAAK,CAAC,OAAO,CAAC,IAAI;gBAChBA,oBAAc,CAAC,IAAI,EAAE;oBACnB,IAAI,EAAE,IAAI;iBACY,CAAC,CAAC;aAC3B,CAAC,CAAC;SACJ,CAAC;qBAzC8C,CAAC;8BAGE,KAAK;sBAGd,EAAE;oBAGJ,EAAE;;IAkC1C,iBAAiB;QACf,IAAI,CAAC,IAAI,EAA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D,EACP;KACH;;;;;;;","names":["setPropsIfNull","hasSlot","h","Host"],"sources":["src/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.scss?tag=stzh-pi-pagetitle&encapsulation=scoped","src/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-pagetitle-background-color: Background if it has a menu\n * @prop --stzh-pi-pagetitle-hero-background-color: Background color\n * @prop --stzh-pi-pagetitle-lead-background-color: Background of lead section\n */\n\n:host {\n --hero-background-color: var(\n --stzh-pi-pagetitle-hero-background-color,\n #{$colorPrimary10}\n );\n --lead-background-color: var(\n --stzh-pi-pagetitle-lead-background-color,\n #{$colorPrimary40}\n );\n --background-color: var(\n --stzh-pi-pagetitle-background-color,\n #{$colorCoolgrey10}\n );\n --grid-template-areas: \"hero hero hero hero\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n @include mq($from: small) {\n --grid-template-areas: \". hero hero hero\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas: \". . hero hero hero hero hero hero\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n\n @include mq($from: large) {\n --grid-template-areas: \". . hero hero hero hero hero hero hero hero hero .\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n @include mq($from: ultra) {\n --grid-template-areas: \". . hero hero hero hero hero hero hero . . .\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n\n ::slotted([slot=\"dateline\"]) {\n @include fontSize(\"milli\");\n @include font(\"heavy\");\n --color: var(--stzh-color-black80op);\n }\n\n ::slotted([slot=\"heading\"]),\n ::slotted([slot=\"lead\"]) *,\n ::slotted([slot=\"breadcrumb\"]) {\n --color: var(--stzh-color-black);\n }\n\n ::slotted([slot=\"menu\"]) {\n --stzh-pi-menu-padding-left: #{$containerMargin};\n\n @include mq($from: small) {\n --stzh-pi-menu-padding-left: #{$containerMarginSmall};\n }\n\n @include mq($from: large) {\n --stzh-pi-menu-padding-left: #{$containerMarginLarge};\n }\n\n @include mq($from: ultra) {\n --stzh-pi-menu-padding-left: calc((100vw - #{$containerMaxWidth}) / 2);\n }\n }\n}\n\n.stzh-pi-pagetitle {\n @include spaceCurve(\"margin-bottom\", \"large\");\n @include spaceCurve(\"margin-bottom\", \"large\");\n\n /* Containers */\n\n &__hero-container {\n @include grid;\n grid-template-areas: var(--grid-template-areas);\n background-color: var(--hero-background-color);\n @include spaceCurve(\"padding-top\", \"regular\");\n @include spaceCurve(\"padding-top\", \"regular\");\n @include containerPadding;\n }\n\n &__image-lead-menu-container {\n @include grid;\n grid-template-areas: var(--grid-template-areas);\n background-color: var(--hero-background-color);\n\n @include mq($from: medium) {\n @include containerPadding;\n }\n }\n\n &__lead-container {\n @include grid;\n grid-template-areas: \"lead lead lead lead\";\n background-color: var(--lead-background-color);\n @include containerPadding;\n\n @include mq($from: medium) {\n grid-template-areas: \". . lead lead lead lead lead lead\";\n }\n\n @include mq($from: large) {\n grid-template-areas: \". . . lead lead lead lead lead lead . . .\";\n }\n }\n\n &__image-lead-menu {\n grid-area: image-lead-menu;\n\n @include grid;\n grid-template-areas: \"image image image image\" \"lead lead lead lead\";\n\n @include mq($from: medium) {\n grid-template-areas: \". . image image image image image image\" \"lead lead lead lead lead lead lead lead\";\n }\n\n @include mq($from: large) {\n grid-template-areas: \". . . image image image image image image image image image\" \"lead lead lead lead lead lead lead lead lead lead lead lead\";\n }\n }\n\n /* Elements */\n\n &__hero {\n grid-area: hero;\n }\n\n &__menu {\n display: none;\n // grid-area: menu;\n grid-column: 1 / 2; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n position: relative; /* allows z-index to work */\n z-index: 2;\n\n @include mq($from: medium) {\n // grid-template-areas: \". . image image image image image image\" \"lead lead lead lead lead lead lead lead\";\n grid-column: 1 / 3; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n }\n\n @include mq($from: large) {\n // grid-template-areas: \". . . image image image image image image image image image\" \"lead lead lead lead lead lead lead lead lead lead lead lead\";\n grid-column: 1 / 3; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n }\n }\n\n &__image {\n // grid-area: image;\n grid-column: 1 / -1;\n grid-row: 1 / 2; /* extend beyond menu row */\n z-index: 1;\n\n @include mq($from: medium) {\n margin-right: -$containerMarginMedium;\n grid-column: 3 / -1; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n }\n\n @include mq($from: large) {\n margin-right: -$containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-right: calc((100vw - #{$containerMaxWidth}) / -2);\n }\n }\n\n &__lead {\n --stzh-base-lead-color: #{$headingColor};\n // grid-area: lead;\n grid-column: 1 / -1;\n grid-row: 2 / 4; /* extend beyond menu row */\n z-index: 1;\n\n background-color: var(--lead-background-color);\n @include spaceCurve(\"padding-top\", \"regular\");\n @include spaceCurve(\"padding-bottom\", \"regular\");\n\n @include mq($from: medium) {\n grid-column: 3 / -1; /* span full width */\n grid-row: 2 / -1; /* same row as image */\n }\n }\n\n &__text {\n @include spaceCurve(\"padding-top\", \"big\");\n @include spaceCurve(\"padding-bottom\", \"big\");\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n\n &__meta {\n display: flex;\n flex-direction: column-reverse;\n row-gap: space(\"xsmall\");\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &__readspeaker {\n margin-bottom: space(\"medium\");\n\n @include mq($from: small) {\n margin-bottom: space(\"large\");\n }\n\n @include mq($from: small, $to: medium) {\n --stzh-readspeaker-dropdown-position: relative;\n --stzh-readspeaker-dropdown-top: auto;\n }\n }\n\n &__dateline {\n margin-bottom: space(\"xxsmall\");\n }\n\n &__breadcrumbs {\n @include spaceCurve(\"margin-bottom\", \"regular\");\n }\n\n &__heading {\n @include spaceCurve(\"margin-bottom\", \"regular\");\n }\n\n /**\n * Menu.\n */\n\n &__menu-inner {\n @include mq($from: medium) {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n /* Article Info */\n &__article-info-wrapper {\n @include container();\n @include spaceCurve(\"padding-top\", \"large\");\n @include grid;\n grid-template-areas: \"article-info article-info article-info article-info\";\n\n @include mq($from: medium) {\n grid-template-areas: \". . article-info article-info article-info article-info article-info article-info\";\n }\n\n @include mq($from: large) {\n grid-template-areas: \". . article-info article-info article-info article-info article-info article-info article-info article-info article-info article-info\";\n }\n }\n\n &__article-info {\n grid-area: article-info;\n }\n\n &__article-info-holder {\n @include mq($from: medium) {\n @include spaceCurve(\"padding-left\", \"regular\");\n }\n }\n\n &__author {\n margin-top: 0;\n margin-bottom: var(--stzh-space-xxsmall);\n color: var(--stzh-color-coolgrey70);\n @include font(\"heavy\");\n @include fontCurve(\"p1\");\n }\n\n &__date {\n margin: 0;\n @include fontCurve(\"p1\");\n }\n\n /**\n * Has menu.\n */\n &--has-menu &__image-lead-menu {\n grid-template-columns: auto repeat(3, minmax(0, 1fr));\n // grid-template-areas: \"menu image image image\" \"menu lead lead lead\";\n\n @include mq($from: medium) {\n grid-template-columns: $gridColumnsMedium;\n // grid-template-areas: \"menu menu image image image image image image\" \"menu menu lead lead lead lead lead lead\";\n }\n\n @include mq($from: large) {\n grid-template-columns: $gridColumnsLarge;\n // grid-template-areas: \"menu menu menu image image image image image image image image image\" \"menu menu menu lead lead lead lead lead lead lead lead lead\";\n }\n }\n\n &--has-menu &__image-lead-menu-container {\n background-color: transparent;\n @include mq($to: medium) {\n background-color: var(--lead-background-color);\n }\n }\n\n &--has-menu &__menu {\n position: relative;\n display: inherit;\n margin-right: calc(#{$gridGutter} * -1);\n\n @include mq($from: small) {\n margin-right: calc(#{$gridGutterSmall} * -1);\n }\n\n @include mq($from: medium) {\n margin-right: calc(#{$gridGutterMedium} * -1);\n margin-left: -$containerMarginMedium;\n }\n\n @include mq($from: large) {\n margin-right: calc(#{$gridGutterLarge} * -1);\n margin-left: -$containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-right: calc(#{$gridGutterUltra} * -1);\n margin-left: calc((100vw - #{$containerMaxWidth}) / -2);\n }\n }\n\n &--has-menu &__lead {\n @include spaceCurve(\"padding-left\", \"regular\");\n\n @include mq($from: medium) {\n margin-right: -$containerMarginMedium;\n padding-right: $containerMarginMedium;\n }\n\n @include mq($from: large) {\n margin-right: -$containerMarginLarge;\n padding-right: $containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-right: calc((100vw - #{$containerMaxWidth}) / -2);\n padding-right: calc((100vw - 84.25rem) / 2);\n }\n }\n\n /* Has meta */\n\n &--has-meta &__text {\n @include spaceCurve(\"padding-top\", \"regular\");\n }\n\n /* Level 3-4 */\n &--level-3,\n &--level-4 {\n --hero-background-color: var(--stzh-color-coolgrey20);\n --lead-background-color: var(--stzh-color-coolgrey30);\n }\n\n /* Hyphens */\n &--hyphens &__heading {\n hyphens: auto;\n }\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { hasSlot, setPropsIfNull } from \"../../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot heading - Slot for `stzh-heading` element\n * @slot image - Slot for `stzh-figure` or `img` element\n * @slot lead - Slot for `stzh-text` element\n * @slot readspeaker - Slot for `stzh-readspeaker` element\n * @slot breadcrumb - Slot for `stzh-link` element\n * @slot menu - Slot for `stzh-link` element\n * @slot dateline - Slot for date or meta information\n * @slot content - Slot for content\n */\n@Component({\n tag: \"stzh-pi-pagetitle\",\n styleUrl: \"stzh-pi-pagetitle.scss\",\n scoped: true,\n})\nexport class StzhPiPagetitle {\n /** Level */\n @Prop({ reflect: true }) level: 1 | 2 | 3 | 4 = 1;\n\n /** Automatic Hyphens */\n @Prop({ reflect: true }) hyphensEnabled: boolean = false;\n\n /** Author of the content */\n @Prop({ reflect: true }) author: string = \"\";\n\n /** Date of the content */\n @Prop({ reflect: true }) date: string = \"\";\n\n @Element() element: HTMLStzhPiPagetitleElement;\n\n private init = () => {\n const heading = this.element.querySelector('stzh-heading[slot=\"heading\"], [slot=\"heading\"] stzh-heading');\n const leads = this.element.querySelectorAll('stzh-text[slot=\"lead\"], [slot=\"lead\"] stzh-text');\n const readspeakerButton = this.element.querySelector('[slot=\"readspeaker\"] stzh-button');\n\n if (heading) {\n setPropsIfNull(heading, {\n curve: \"hero\",\n level: \"1\",\n } as HTMLStzhHeadingElement);\n }\n\n if (readspeakerButton) {\n setPropsIfNull(readspeakerButton, {\n variant: \"tertiary-plain\",\n noPaddingLeft: true,\n noPaddingRight: true,\n size: \"small\",\n sizeMedium: \"tiny\",\n buttonAccesskey: \"L\",\n } as HTMLStzhButtonElement);\n }\n\n leads.forEach(lead => {\n setPropsIfNull(lead, {\n lead: true,\n } as HTMLStzhTextElement);\n });\n };\n\n connectedCallback() {\n this.init();\n }\n\n render() {\n const imageSlotUsed = hasSlot(this.element, \"image\");\n const leadSlotUsed = hasSlot(this.element, \"lead\");\n const readspeakerSlotUsed = hasSlot(this.element, \"readspeaker\");\n const menuSlotUsed = hasSlot(this.element, \"menu\");\n const hasArticleInfo = !!this.author || !!this.date;\n\n const classes = {\n \"stzh-pi-pagetitle\": true,\n \"stzh-pi-pagetitle--has-image\": imageSlotUsed,\n \"stzh-pi-pagetitle--has-no-image\": !imageSlotUsed,\n \"stzh-pi-pagetitle--has-lead\": leadSlotUsed,\n \"stzh-pi-pagetitle--has-meta\": readspeakerSlotUsed,\n \"stzh-pi-pagetitle--has-menu\": menuSlotUsed,\n \"stzh-pi-pagetitle--has-article-info\": hasArticleInfo,\n \"stzh-pi-pagetitle--hyphens\": this.hyphensEnabled,\n [`stzh-pi-pagetitle--level-${this.level}`]: !!this.level,\n };\n\n return (\n <Host has-menu={menuSlotUsed} has-article-info={hasArticleInfo}>\n <div class={classes}>\n <div class=\"stzh-pi-pagetitle__hero-container\">\n <div class=\"stzh-pi-pagetitle__hero\">\n <div class=\"stzh-pi-pagetitle__breadcrumbs\">\n <slot name=\"breadcrumb\"></slot>\n </div>\n\n <div class=\"stzh-pi-pagetitle__meta\">\n <div class=\"stzh-pi-pagetitle__readspeaker\">\n <slot name=\"readspeaker\"></slot>\n </div>\n </div>\n\n <div class=\"stzh-pi-pagetitle__dateline\">\n <slot name=\"dateline\"></slot>\n </div>\n\n <div class=\"stzh-pi-pagetitle__heading\">\n <slot name=\"heading\"></slot>\n </div>\n </div>\n </div>\n <div class=\"stzh-pi-pagetitle__image-lead-menu-container\">\n <div class=\"stzh-pi-pagetitle__image-lead-menu\">\n <div class=\"stzh-pi-pagetitle__menu\">\n {menuSlotUsed && (\n <div class=\"stzh-pi-pagetitle__menu-inner\">\n <slot name=\"menu\"></slot>\n </div>\n )}\n </div>\n\n {imageSlotUsed && (\n <div class=\"stzh-pi-pagetitle__image\">\n {[1, 2].indexOf(this.level) > -1 && (\n <div class=\"stzh-pi-pagetitle__image-wrapper\">\n <stzh-ratio ratio={\"16:9\"} ratioSmall={\"21:9\"} class=\"stzh-pi-pagetitle__ratio\">\n <slot name={\"image\"}></slot>\n </stzh-ratio>\n </div>\n )}\n </div>\n )}\n\n {menuSlotUsed && (\n <div class=\"stzh-pi-pagetitle__lead\">\n <slot name=\"lead\"></slot>\n </div>\n )}\n </div>\n </div>\n\n {!menuSlotUsed && (\n <div class=\"stzh-pi-pagetitle__lead-container\">\n <div class=\"stzh-pi-pagetitle__lead\">\n <slot name=\"lead\"></slot>\n </div>\n </div>\n )}\n\n {hasArticleInfo && (\n <div class=\"stzh-pi-pagetitle__article-info-wrapper\">\n <div class=\"stzh-pi-pagetitle__article-info\">\n <div class=\"stzh-pi-pagetitle__article-info-holder\">\n {this.author && <p class=\"stzh-pi-pagetitle__author\">{this.author}</p>}\n {this.date && <p class=\"stzh-pi-pagetitle__date\">{this.date}</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&encapsulation=scoped","src/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-pagetitle-background-color: Background if it has a menu\n * @prop --stzh-pi-pagetitle-hero-background-color: Background color\n * @prop --stzh-pi-pagetitle-lead-background-color: Background of lead section\n */\n\n:host {\n --hero-background-color: var(\n --stzh-pi-pagetitle-hero-background-color,\n #{$colorPrimary10}\n );\n --lead-background-color: var(\n --stzh-pi-pagetitle-lead-background-color,\n #{$colorPrimary40}\n );\n --background-color: var(\n --stzh-pi-pagetitle-background-color,\n #{$colorCoolgrey10}\n );\n --grid-template-areas: \"hero hero hero hero\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n @include mq($from: small) {\n --grid-template-areas: \". hero hero hero\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas: \". . hero hero hero hero hero hero\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n\n @include mq($from: large) {\n --grid-template-areas: \". . hero hero hero hero hero hero hero hero hero .\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n @include mq($from: ultra) {\n --grid-template-areas: \". . hero hero hero hero hero hero hero . . .\"\n \"image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu image-lead-menu\";\n }\n\n ::slotted([slot=\"dateline\"]) {\n @include fontSize(\"milli\");\n @include font(\"heavy\");\n --color: var(--stzh-color-black80op);\n }\n\n ::slotted([slot=\"heading\"]),\n ::slotted([slot=\"lead\"]) *,\n ::slotted([slot=\"breadcrumb\"]) {\n --color: var(--stzh-color-black);\n }\n\n ::slotted([slot=\"menu\"]) {\n --stzh-pi-menu-padding-left: #{$containerMargin};\n\n @include mq($from: small) {\n --stzh-pi-menu-padding-left: #{$containerMarginSmall};\n }\n\n @include mq($from: large) {\n --stzh-pi-menu-padding-left: #{$containerMarginLarge};\n }\n\n @include mq($from: ultra) {\n --stzh-pi-menu-padding-left: calc((100vw - #{$containerMaxWidth}) / 2);\n }\n }\n}\n\n.stzh-pi-pagetitle {\n @include spaceCurve(\"margin-bottom\", \"large\");\n @include spaceCurve(\"margin-bottom\", \"large\");\n\n /* Containers */\n\n &__hero-container {\n @include grid;\n grid-template-areas: var(--grid-template-areas);\n background-color: var(--hero-background-color);\n @include spaceCurve(\"padding-top\", \"regular\");\n @include spaceCurve(\"padding-top\", \"regular\");\n @include containerPadding;\n }\n\n &__image-lead-menu-container {\n @include grid;\n grid-template-areas: var(--grid-template-areas);\n background-color: var(--hero-background-color);\n\n @include mq($from: medium) {\n @include containerPadding;\n }\n }\n\n &__lead-container {\n @include grid;\n grid-template-areas: \"lead lead lead lead\";\n background-color: var(--lead-background-color);\n @include containerPadding;\n\n @include mq($from: medium) {\n grid-template-areas: \". . lead lead lead lead lead lead\";\n }\n\n @include mq($from: large) {\n grid-template-areas: \". . . lead lead lead lead lead lead . . .\";\n }\n }\n\n &__image-lead-menu {\n grid-area: image-lead-menu;\n\n @include grid;\n grid-template-areas: \"image image image image\" \"lead lead lead lead\";\n\n @include mq($from: medium) {\n grid-template-areas: \". . image image image image image image\" \"lead lead lead lead lead lead lead lead\";\n }\n\n @include mq($from: large) {\n grid-template-areas: \". . . image image image image image image image image image\" \"lead lead lead lead lead lead lead lead lead lead lead lead\";\n }\n }\n\n /* Elements */\n\n &__hero {\n grid-area: hero;\n }\n\n &__menu {\n display: none;\n // grid-area: menu;\n grid-column: 1 / 2; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n position: relative; /* allows z-index to work */\n z-index: 2;\n\n @include mq($from: medium) {\n // grid-template-areas: \". . image image image image image image\" \"lead lead lead lead lead lead lead lead\";\n grid-column: 1 / 3; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n }\n\n @include mq($from: large) {\n // grid-template-areas: \". . . image image image image image image image image image\" \"lead lead lead lead lead lead lead lead lead lead lead lead\";\n grid-column: 1 / 3; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n }\n }\n\n &__image {\n // grid-area: image;\n grid-column: 1 / -1;\n grid-row: 1 / 2; /* extend beyond menu row */\n z-index: 1;\n\n @include mq($from: medium) {\n margin-right: -$containerMarginMedium;\n grid-column: 3 / -1; /* span full width */\n grid-row: 1 / 2; /* same row as image */\n }\n\n @include mq($from: large) {\n margin-right: -$containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-right: calc((100vw - #{$containerMaxWidth}) / -2);\n }\n }\n\n &__lead {\n --stzh-base-lead-color: #{$headingColor};\n // grid-area: lead;\n grid-column: 1 / -1;\n grid-row: 2 / 4; /* extend beyond menu row */\n z-index: 1;\n\n background-color: var(--lead-background-color);\n @include spaceCurve(\"padding-top\", \"regular\");\n @include spaceCurve(\"padding-bottom\", \"regular\");\n\n @include mq($from: medium) {\n grid-column: 3 / -1; /* span full width */\n grid-row: 2 / -1; /* same row as image */\n }\n }\n\n &__text {\n @include spaceCurve(\"padding-top\", \"big\");\n @include spaceCurve(\"padding-bottom\", \"big\");\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n\n &__meta {\n display: flex;\n flex-direction: column-reverse;\n row-gap: space(\"xsmall\");\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &__readspeaker {\n margin-bottom: space(\"medium\");\n\n @include mq($from: small) {\n margin-bottom: space(\"large\");\n }\n\n @include mq($from: small, $to: medium) {\n --stzh-readspeaker-dropdown-position: relative;\n --stzh-readspeaker-dropdown-top: auto;\n }\n }\n\n &__dateline {\n margin-bottom: space(\"xxsmall\");\n }\n\n &__breadcrumbs {\n @include spaceCurve(\"margin-bottom\", \"regular\");\n }\n\n &__heading {\n @include spaceCurve(\"margin-bottom\", \"regular\");\n }\n\n /**\n * Menu.\n */\n\n &__menu-inner {\n @include mq($from: medium) {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n }\n\n /* Article Info */\n &__article-info-wrapper {\n @include container();\n @include spaceCurve(\"padding-top\", \"large\");\n @include grid;\n grid-template-areas: \"article-info article-info article-info article-info\";\n\n @include mq($from: medium) {\n grid-template-areas: \". . article-info article-info article-info article-info article-info article-info\";\n }\n\n @include mq($from: large) {\n grid-template-areas: \". . article-info article-info article-info article-info article-info article-info article-info article-info article-info article-info\";\n }\n }\n\n &__article-info {\n grid-area: article-info;\n }\n\n &__article-info-holder {\n @include mq($from: medium) {\n @include spaceCurve(\"padding-left\", \"regular\");\n }\n }\n\n &__author {\n margin-top: 0;\n margin-bottom: var(--stzh-space-xxsmall);\n color: var(--stzh-color-coolgrey70);\n @include font(\"heavy\");\n @include fontCurve(\"p1\");\n }\n\n &__date {\n margin: 0;\n @include fontCurve(\"p1\");\n }\n\n /**\n * Has menu.\n */\n &--has-menu &__image-lead-menu {\n grid-template-columns: auto repeat(3, minmax(0, 1fr));\n // grid-template-areas: \"menu image image image\" \"menu lead lead lead\";\n\n @include mq($from: medium) {\n grid-template-columns: $gridColumnsMedium;\n // grid-template-areas: \"menu menu image image image image image image\" \"menu menu lead lead lead lead lead lead\";\n }\n\n @include mq($from: large) {\n grid-template-columns: $gridColumnsLarge;\n // grid-template-areas: \"menu menu menu image image image image image image image image image\" \"menu menu menu lead lead lead lead lead lead lead lead lead\";\n }\n }\n\n &--has-menu &__image-lead-menu-container {\n background-color: transparent;\n @include mq($to: medium) {\n background-color: var(--lead-background-color);\n }\n }\n\n &--has-menu &__menu {\n position: relative;\n display: inherit;\n margin-right: calc(#{$gridGutter} * -1);\n\n @include mq($from: small) {\n margin-right: calc(#{$gridGutterSmall} * -1);\n }\n\n @include mq($from: medium) {\n margin-right: calc(#{$gridGutterMedium} * -1);\n margin-left: -$containerMarginMedium;\n }\n\n @include mq($from: large) {\n margin-right: calc(#{$gridGutterLarge} * -1);\n margin-left: -$containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-right: calc(#{$gridGutterUltra} * -1);\n margin-left: calc((100vw - #{$containerMaxWidth}) / -2);\n }\n }\n\n &--has-menu &__lead {\n @include spaceCurve(\"padding-left\", \"regular\");\n\n @include mq($from: medium) {\n margin-right: -$containerMarginMedium;\n padding-right: $containerMarginMedium;\n }\n\n @include mq($from: large) {\n margin-right: -$containerMarginLarge;\n padding-right: $containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-right: calc((100vw - #{$containerMaxWidth}) / -2);\n padding-right: calc((100vw - 84.25rem) / 2);\n }\n }\n\n /* Has meta */\n\n &--has-meta &__text {\n @include spaceCurve(\"padding-top\", \"regular\");\n }\n\n /* Level 3-4 */\n &--level-3,\n &--level-4 {\n --hero-background-color: var(--stzh-color-coolgrey20);\n --lead-background-color: var(--stzh-color-coolgrey30);\n }\n\n /* Hyphens */\n &--hyphens &__heading {\n hyphens: auto;\n }\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { hasSlot, setPropsIfNull } from \"../../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot heading - Slot for `stzh-heading` element\n * @slot image - Slot for `stzh-figure` or `img` element\n * @slot lead - Slot for `stzh-text` element\n * @slot readspeaker - Slot for `stzh-readspeaker` element\n * @slot breadcrumb - Slot for `stzh-link` element\n * @slot menu - Slot for `stzh-link` element\n * @slot dateline - Slot for date or meta information\n * @slot content - Slot for content\n */\n@Component({\n tag: \"stzh-pi-pagetitle\",\n styleUrl: \"stzh-pi-pagetitle.scss\",\n scoped: true,\n})\nexport class StzhPiPagetitle {\n /** Level */\n @Prop({ reflect: true }) level: 1 | 2 | 3 | 4 = 1;\n\n /** Automatic Hyphens */\n @Prop({ reflect: true }) hyphensEnabled: boolean = false;\n\n /** Author of the content */\n @Prop({ reflect: true }) author: string = \"\";\n\n /** Date of the content */\n @Prop({ reflect: true }) date: string = \"\";\n\n @Element() element: HTMLStzhPiPagetitleElement;\n\n private init = () => {\n const heading = this.element.querySelector('stzh-heading[slot=\"heading\"], [slot=\"heading\"] stzh-heading');\n const leads = this.element.querySelectorAll('stzh-text[slot=\"lead\"], [slot=\"lead\"] stzh-text');\n const readspeakerButton = this.element.querySelector('[slot=\"readspeaker\"] stzh-button');\n\n if (heading) {\n setPropsIfNull(heading, {\n curve: \"hero\",\n level: \"1\",\n } as HTMLStzhHeadingElement);\n }\n\n if (readspeakerButton) {\n setPropsIfNull(readspeakerButton, {\n variant: \"tertiary-plain\",\n noPaddingLeft: true,\n noPaddingRight: true,\n size: \"small\",\n sizeMedium: \"tiny\",\n buttonAccesskey: \"L\",\n } as HTMLStzhButtonElement);\n }\n\n leads.forEach(lead => {\n setPropsIfNull(lead, {\n lead: true,\n } as HTMLStzhTextElement);\n });\n };\n\n connectedCallback() {\n this.init();\n }\n\n render() {\n const imageSlotUsed = hasSlot(this.element, \"image\");\n const leadSlotUsed = hasSlot(this.element, \"lead\");\n const readspeakerSlotUsed = hasSlot(this.element, \"readspeaker\");\n const menuSlotUsed = hasSlot(this.element, \"menu\");\n const hasArticleInfo = !!this.author || !!this.date;\n\n const classes = {\n \"stzh-pi-pagetitle\": true,\n \"stzh-pi-pagetitle--has-image\": imageSlotUsed,\n \"stzh-pi-pagetitle--has-no-image\": !imageSlotUsed,\n \"stzh-pi-pagetitle--has-lead\": leadSlotUsed,\n \"stzh-pi-pagetitle--has-meta\": readspeakerSlotUsed,\n \"stzh-pi-pagetitle--has-menu\": menuSlotUsed,\n \"stzh-pi-pagetitle--has-article-info\": hasArticleInfo,\n \"stzh-pi-pagetitle--hyphens\": this.hyphensEnabled,\n [`stzh-pi-pagetitle--level-${this.level}`]: !!this.level,\n };\n\n return (\n <Host has-menu={menuSlotUsed} has-article-info={hasArticleInfo}>\n <div class={classes}>\n <div class=\"stzh-pi-pagetitle__hero-container\">\n <div class=\"stzh-pi-pagetitle__hero\">\n <div class=\"stzh-pi-pagetitle__breadcrumbs\">\n <slot name=\"breadcrumb\"></slot>\n </div>\n\n <div class=\"stzh-pi-pagetitle__meta\">\n <div class=\"stzh-pi-pagetitle__readspeaker\">\n <slot name=\"readspeaker\"></slot>\n </div>\n </div>\n\n <div class=\"stzh-pi-pagetitle__dateline\">\n <slot name=\"dateline\"></slot>\n </div>\n\n <div class=\"stzh-pi-pagetitle__heading\">\n <slot name=\"heading\"></slot>\n </div>\n </div>\n </div>\n <div class=\"stzh-pi-pagetitle__image-lead-menu-container\">\n <div class=\"stzh-pi-pagetitle__image-lead-menu\">\n <div class=\"stzh-pi-pagetitle__menu\">\n {menuSlotUsed && (\n <div class=\"stzh-pi-pagetitle__menu-inner\">\n <slot name=\"menu\"></slot>\n </div>\n )}\n </div>\n\n {imageSlotUsed && (\n <div class=\"stzh-pi-pagetitle__image\">\n {[1, 2].indexOf(this.level) > -1 && (\n <div class=\"stzh-pi-pagetitle__image-wrapper\">\n <stzh-ratio ratio={\"16:9\"} ratioSmall={\"21:9\"} class=\"stzh-pi-pagetitle__ratio\">\n <slot name={\"image\"}></slot>\n </stzh-ratio>\n </div>\n )}\n </div>\n )}\n\n {menuSlotUsed && (\n <div class=\"stzh-pi-pagetitle__lead\">\n <slot name=\"lead\"></slot>\n </div>\n )}\n </div>\n </div>\n\n {!menuSlotUsed && (\n <div class=\"stzh-pi-pagetitle__lead-container\">\n <div class=\"stzh-pi-pagetitle__lead\">\n <slot name=\"lead\"></slot>\n </div>\n </div>\n )}\n\n <div class=\"stzh-pi-pagetitle__article-info-wrapper\">\n <div class=\"stzh-pi-pagetitle__article-info\">\n <div class=\"stzh-pi-pagetitle__article-info-holder\">\n {hasArticleInfo && (\n <div>\n {this.author && <p class=\"stzh-pi-pagetitle__author\">{this.author}</p>}\n {this.date && <p class=\"stzh-pi-pagetitle__date\">{this.date}</p>}\n </div>\n )}\n <slot name=\"content\" />\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,68 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-870b4dee.js');
6
+
7
+ const stzhPiTeaserLayoutItemCss = "@charset \"UTF-8\";\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.sc-stzh-pi-teaser-layout-item-h {\n font-family: var(--stzh-font-family-medium);\n font-weight: var(--stzh-font-weight-medium);\n font-style: var(--stzh-font-style-medium);\n color: var(--stzh-base-color);\n box-sizing: border-box;\n display: block;\n \n}\n[hidden].sc-stzh-pi-teaser-layout-item-h, [stzh-hidden].sc-stzh-pi-teaser-layout-item-h {\n display: none;\n}\n.sc-stzh-pi-teaser-layout-item-h::selection {\n color: var(--stzh-selection-color);\n background-color: var(--stzh-selection-background-color);\n}\n.sc-stzh-pi-teaser-layout-item-h *.sc-stzh-pi-teaser-layout-item, .sc-stzh-pi-teaser-layout-item-h *.sc-stzh-pi-teaser-layout-item::before, .sc-stzh-pi-teaser-layout-item-h *.sc-stzh-pi-teaser-layout-item::after {\n box-sizing: border-box;\n text-underline-offset: var(--stzh-link-text-underline-offset);\n text-decoration-thickness: var(--stzh-link-text-decoration-thickness);\n -webkit-text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);\n text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);\n}\n.sc-stzh-pi-teaser-layout-item-h .has-focus.sc-stzh-pi-teaser-layout-item {\n outline: var(--stzh-flyingfocus-color) solid 0.125rem;\n outline-offset: 0.125rem;\n}\n.sc-stzh-pi-teaser-layout-item-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser-layout-item {\n outline-style: none !important;\n}\n.sc-stzh-pi-teaser-layout-item-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser-layout-item::-moz-focus-inner {\n border: 0 !important;\n}\n\n\n.sc-stzh-pi-teaser-layout-item-h {\n --image-background-color: var(--stzh-pi-teaser-layout-item-image-background-color,\n var(--stzh-color-coolgrey10));\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n}\n[image-position=top].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);\n}\n@media screen and (max-width: 899px) {\n [image-position=top].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n}\n@media screen and (min-width: 900px) {\n [image-position=top].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n}\n@media screen and (min-width: 1260px) {\n [image-position=top].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n}\n[image-position=right].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n [image-position=right].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text image image\"\n );\n }\n}\n@media screen and (min-width: 900px) {\n [image-position=right].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n}\n@media screen and (min-width: 1260px) {\n [image-position=right].sc-stzh-pi-teaser-layout-item-h {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n}\n.sc-stzh-pi-teaser-layout-item-h:not([has-image]) {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n .sc-stzh-pi-teaser-layout-item-h:not([has-image]) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n}\n@media screen and (min-width: 900px) {\n .sc-stzh-pi-teaser-layout-item-h:not([has-image]) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n}\n@media screen and (min-width: 1260px) {\n .sc-stzh-pi-teaser-layout-item-h:not([has-image]) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n}\n.sc-stzh-pi-teaser-layout-item-h:not([has-lead]) .stzh-pi-teaser-layout-item__lead.sc-stzh-pi-teaser-layout-item {\n display: none;\n}\n[content-size=XL].sc-stzh-pi-teaser-layout-item-h .stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-mega-font-size);\n line-height: var(--stzh-font-mega-text-line-height);\n letter-spacing: var(--stzh-font-mega-text-letter-spacing);\n}\n[content-size=L].sc-stzh-pi-teaser-layout-item-h .stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-hecto-font-size);\n line-height: var(--stzh-font-hecto-text-line-height);\n letter-spacing: var(--stzh-font-hecto-text-letter-spacing);\n}\n[content-size=M].sc-stzh-pi-teaser-layout-item-h .stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-deca-font-size);\n line-height: var(--stzh-font-deca-text-line-height);\n letter-spacing: var(--stzh-font-deca-text-letter-spacing);\n}\n[content-size=S].sc-stzh-pi-teaser-layout-item-h .stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-deci-font-size);\n line-height: var(--stzh-font-deci-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n}\n[content-size=XS].sc-stzh-pi-teaser-layout-item-h .stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-centi-font-size);\n line-height: var(--stzh-font-centi-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n}\n[content-size=S].sc-stzh-pi-teaser-layout-item-h:not([has-image]) .stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n -webkit-line-clamp: 2;\n}\n@container (max-height: 235px) {\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n }\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item__lead {\n --lead-lines: 1;\n }\n .sc-stzh-pi-teaser-layout-item-h:not([has-image]) .stzh-pi-teaser-layout-item__lead {\n --lead-lines: 1;\n }\n}\n@container (min-height: 236px) and (max-height:349px) {\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 47cqh 53cqh;\n }\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item__lead {\n --lead-lines: 2;\n }\n .sc-stzh-pi-teaser-layout-item-h:not([has-image]) .stzh-pi-teaser-layout-item__lead {\n --lead-lines: 2;\n }\n}\n@container (min-height: 350px) and (max-height:599px) {\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n }\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item__lead {\n --lead-lines: 3;\n }\n}\n@container (min-height: 600px) and (max-height: 799px) {\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n }\n}\n@container (min-height: 800px) {\n .sc-stzh-pi-teaser-layout-item-h[image-position=top] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n }\n}\n\n.stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n column-gap: var(--stzh-grid-gutter);\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n display: grid;\n height: 100%;\n width: 100%;\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(--grid-template-areas-no-image, var(--grid-template-areas));\n background-color: var(--stzh-color-grey10);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n column-gap: var(--stzh-grid-gutter-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n column-gap: var(--stzh-grid-gutter-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n column-gap: var(--stzh-grid-gutter-large);\n }\n}\n@media screen and (min-width: 1600px) {\n .stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n column-gap: var(--stzh-grid-gutter-ultra);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n grid-template-columns: repeat(8, minmax(0, 1fr));\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser-layout-item.sc-stzh-pi-teaser-layout-item {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n }\n}\n.stzh-pi-teaser-layout-item__text.sc-stzh-pi-teaser-layout-item {\n display: grid;\n grid-template-rows: auto auto minmax(0, 1fr) auto;\n height: 100%;\n min-height: 0;\n align-content: start;\n}\n.stzh-pi-teaser-layout-item__wrapper.sc-stzh-pi-teaser-layout-item {\n grid-area: text;\n overflow: hidden;\n padding: var(--stzh-space-medium);\n height: 100%;\n min-height: 0;\n}\n.stzh-pi-teaser-layout-item__image.sc-stzh-pi-teaser-layout-item {\n overflow: hidden;\n grid-area: image;\n}\n.stzh-pi-teaser-layout-item__image.sc-stzh-pi-teaser-layout-item > img.sc-stzh-pi-teaser-layout-item {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.stzh-pi-teaser-layout-item__dateline.sc-stzh-pi-teaser-layout-item {\n font-family: var(--stzh-font-family-title);\n font-weight: var(--stzh-font-weight-title);\n font-style: var(--stzh-font-style-title);\n font-size: var(--stzh-font-milli-font-size);\n line-height: var(--stzh-font-milli-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: start;\n}\n.stzh-pi-teaser-layout-item__title-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-top: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-xxsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser-layout-item__title-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-top: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser-layout-item__title-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-top: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser-layout-item__title-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-top: var(--stzh-space-xlarge);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser-layout-item__title-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-bottom: var(--stzh-space-xsmall);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser-layout-item__title-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-bottom: var(--stzh-space-small);\n }\n}\n.stzh-pi-teaser-layout-item__title.sc-stzh-pi-teaser-layout-item {\n font-family: var(--stzh-font-family-title);\n font-weight: var(--stzh-font-weight-title);\n font-style: var(--stzh-font-style-title);\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n hyphens: auto;\n color: var(--stzh-color-black);\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n \n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n \n align-self: start;\n}\n.stzh-pi-teaser-layout-item__title-link.sc-stzh-pi-teaser-layout-item {\n display: block;\n font-family: inherit;\n appearance: none;\n background-color: transparent;\n border: none;\n color: var(--stzh-color-black);\n -webkit-text-decoration-line: none;\n text-decoration-line: none;\n transition: color var(--stzh-base-transition-animation-speed);\n border-radius: var(--stzh-button-border-radius);\n cursor: pointer;\n}\n.stzh-pi-teaser-layout-item__lead-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-bottom: var(--stzh-space-xsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser-layout-item__lead-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-bottom: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser-layout-item__lead-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-bottom: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser-layout-item__lead-wrapper.sc-stzh-pi-teaser-layout-item {\n padding-bottom: var(--stzh-space-xlarge);\n }\n}\n.stzh-pi-teaser-layout-item__lead.sc-stzh-pi-teaser-layout-item {\n margin-top: 0;\n color: var(--stzh-color-coolgrey70);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lead-lines, 3);\n line-clamp: var(--lead-lines, 3);\n overflow: hidden;\n \n align-self: start;\n}\n@media screen and (max-width: 899px) {\n .stzh-pi-teaser-layout-item__lead.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-milli-font-size);\n line-height: var(--stzh-font-milli-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser-layout-item__lead.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-centi-font-size);\n line-height: var(--stzh-font-centi-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n }\n}\n.stzh-pi-teaser-layout-item__date.sc-stzh-pi-teaser-layout-item {\n font-size: var(--stzh-font-micro-font-size);\n line-height: var(--stzh-font-micro-text-line-height);\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: end;\n}";
8
+ const StzhPiTeaserLayoutItemStyle0 = stzhPiTeaserLayoutItemCss;
9
+
10
+ const StzhPiTeaserLayoutItem = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.stzhClick = index.createEvent(this, "stzhClick", 7);
14
+ this.handleCardClick = (originalEvent) => {
15
+ this.stzhClick.emit({
16
+ component: "stzh-pi-teaser-layout-item",
17
+ originalEvent,
18
+ href: this.href,
19
+ });
20
+ };
21
+ this.href = undefined;
22
+ this.target = undefined;
23
+ this.analyticsId = undefined;
24
+ this.dateline = "";
25
+ this.heading = "";
26
+ this.imageSrc = undefined;
27
+ this.headingLevel = "3";
28
+ this.lead = "";
29
+ this.date = "";
30
+ this.contentSize = "M";
31
+ this.imagePosition = undefined;
32
+ }
33
+ componentDidRender() {
34
+ requestAnimationFrame(() => {
35
+ var _a, _b;
36
+ const objectId = this.analyticsId || ((_a = this.headingTextElement) === null || _a === void 0 ? void 0 : _a.innerText);
37
+ if (objectId) {
38
+ (_b = this.titleLinkElement) === null || _b === void 0 ? void 0 : _b.setAttribute("s-object-id", objectId);
39
+ }
40
+ });
41
+ }
42
+ renderHeading() {
43
+ const Heading = `h${this.headingLevel}`;
44
+ const TitleLink = this.href ? "a" : "button";
45
+ return (index.h("div", { class: "stzh-pi-teaser-layout-item__title-wrapper" }, index.h(Heading, { class: "stzh-pi-teaser-layout-item__title" }, index.h(TitleLink, { ref: el => (this.titleLinkElement = el), class: "stzh-pi-teaser-layout-item__title-link", href: this.href, target: this.target, onClick: this.handleCardClick }, index.h("div", { ref: el => (this.headingTextElement = el) }, this.heading)))));
46
+ }
47
+ render() {
48
+ const hasLead = !!this.lead;
49
+ console.log("imageSrc: ", this.imageSrc, " & imagePosition: ", this.imagePosition);
50
+ const hasImage = !!this.imageSrc && !!this.imagePosition;
51
+ console.log("hasImage: ", hasImage);
52
+ const displayLead = this.lead;
53
+ // ? this.truncateLead(this.lead, this.contentSize == "XL" || this.contentSize == "L" ? 260 : 160)
54
+ // : "";
55
+ const classes = {
56
+ "stzh-pi-teaser-layout-item": true,
57
+ "stzh-pi-teaser-layout-item--has-lead": hasLead,
58
+ "stzh-pi-teaser-layout-item--has-image": hasImage,
59
+ };
60
+ return (index.h(index.Host, { key: '6800fb97b1ec726ec3f09452a33100366d78ffac', "has-lead": hasLead, "has-image": hasImage, "image-position": this.imagePosition, "content-size": this.contentSize }, index.h("article", { key: '85b38929fec3ee38994782bc7321e78684e779fd', class: classes, "aria-label": this.heading, role: "listitem" }, hasImage && (index.h("div", { key: '1923478de5ada40e71286e3eaa49d8cdf7017a92', class: "stzh-pi-teaser-layout-item__image" }, index.h("img", { key: 'c9b796b46a9eb43706924619910c4efafe16d355', src: this.imageSrc, alt: "Example image" }))), index.h("div", { key: 'eeaaf7e1adf48da141173b7ce7a63dc2ea3763a9', class: "stzh-pi-teaser-layout-item__wrapper" }, index.h("div", { key: '6058d6be2b5124da300dd97733057d0c22e24d9f', class: "stzh-pi-teaser-layout-item__text" }, this.dateline && index.h("p", { key: '68bae848e3e1cf377b075c7d05fce9aad811ac76', class: "stzh-pi-teaser-layout-item__dateline" }, this.dateline), this.renderHeading(), index.h("div", { key: '4e9705883f6f05ff52904322af547c85996da6df', class: "stzh-pi-teaser-layout-item__lead-wrapper" }, index.h("div", { key: '3ced9f74e039e1cc456d4ef37074d8442844b857', class: "stzh-pi-teaser-layout-item__lead" }, displayLead)), this.date && index.h("div", { key: '92cd55abb157637e1e0db08edb85463be3e622bb', class: "stzh-pi-teaser-layout-item__date" }, this.date))))));
61
+ }
62
+ get element() { return index.getElement(this); }
63
+ };
64
+ StzhPiTeaserLayoutItem.style = StzhPiTeaserLayoutItemStyle0;
65
+
66
+ exports.stzh_pi_teaser_layout_item = StzhPiTeaserLayoutItem;
67
+
68
+ //# sourceMappingURL=stzh-pi-teaser-layout-item.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"stzh-pi-teaser-layout-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,yBAAyB,GAAG,upbAAupb,CAAC;AAC1rb,qCAAe,yBAAyB;;MCa3B,sBAAsB;;;;QA8CzB,oBAAe,GAAG,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&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-layout-item-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(--stzh-pi-teaser-layout-item-image-background-color,\n #{$colorCoolgrey10});\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n\n //Grid depending on image Position\n &[image-position=\"top\"] {\n --grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);\n\n @include mq($to: medium) {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n }\n\n &[image-position=\"right\"] {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(--stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n }\n\n //Grid when no image\n &:not([has-image]) {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n\n @include mq($from: large) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n }\n\n //grid when no lead\n &:not([has-lead]) {\n .stzh-pi-teaser-layout-item__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser-layout-item__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n --lead-lines: 1;\n }\n }\n }\n\n @container (min-height: 236px) and (max-height:349px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n --lead-lines: 2;\n }\n }\n }\n\n @container (min-height: 350px) and (max-height:599px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 600px) and (max-height: 799px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout-item {\n @include grid;\n display: grid;\n height: 100%;\n width: 100%;\n\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(--grid-template-areas-no-image,\n var(--grid-template-areas));\n background-color: var(--stzh-color-grey10);\n\n &__text {\n display: grid;\n grid-template-rows: auto auto minmax(0, 1fr) auto; // dateline, title, lead & date\n height: 100%;\n min-height: 0;\n align-content: start;\n }\n\n &__wrapper {\n grid-area: text;\n overflow: hidden;\n padding: space(\"medium\");\n height: 100%;\n min-height: 0;\n }\n\n &__image {\n overflow: hidden;\n grid-area: image;\n\n &>img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n }\n\n &__dateline {\n @include font(\"title\");\n @include fontSize(\"milli\");\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: start;\n }\n\n &__title-wrapper {\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"tiny\");\n }\n\n &__title {\n @include font(\"title\");\n @include wordWrap;\n color: var(--stzh-color-black);\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n /* Limit the text to 3 lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n /* Adds \"...\" at the end if truncated */\n //line-height: 1.0 !important;\n align-self: start;\n }\n\n &__title-link {\n display: block;\n font-family: inherit;\n appearance: none;\n background-color: transparent;\n border: none;\n color: var(--stzh-color-black);\n text-decoration-line: none;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n cursor: pointer;\n\n // &::after {\n // content: \"\";\n // display: block;\n // position: absolute;\n // top: 0;\n // left: 0;\n // width: 100%;\n // height: 100%;\n // }\n\n // &::after {\n // z-index: 1;\n // }\n }\n\n &__lead-wrapper {\n @include spaceCurve(\"padding-bottom\", \"small\");\n }\n\n &__lead {\n @include mq($to: medium) {\n @include fontSize(\"milli\");\n }\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n\n margin-top: 0;\n\n color: var(--stzh-color-coolgrey70);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lead-lines, 3);\n line-clamp: var(--lead-lines, 3);\n overflow: hidden;\n /* don’t use text-overflow with multi-line clamp */\n align-self: start;\n }\n\n &__date {\n @include fontSize(\"micro\");\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: end;\n }\n}","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserLayoutItemClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser-layout-item\",\n styleUrl: \"stzh-pi-teaser-layout-item.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayoutItem {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserLayoutItemClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser-layout-item\",\n originalEvent,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser-layout-item__title-wrapper\">\n <Heading class=\"stzh-pi-teaser-layout-item__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser-layout-item__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n console.log(\"imageSrc: \", this.imageSrc, \" & imagePosition: \", this.imagePosition);\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n console.log(\"hasImage: \", hasImage);\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser-layout-item\": true,\n \"stzh-pi-teaser-layout-item--has-lead\": hasLead,\n \"stzh-pi-teaser-layout-item--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser-layout-item__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser-layout-item__wrapper\">\n <div class={\"stzh-pi-teaser-layout-item__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser-layout-item__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser-layout-item__lead-wrapper\">\n <div class=\"stzh-pi-teaser-layout-item__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser-layout-item__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -60,7 +60,7 @@ const StzhPiTeaserLayout = class {
60
60
  this.mediaChangeHandler();
61
61
  /**
62
62
  The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.
63
- The rubrick is either 4, 5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.
63
+ The rubrick is either 1,2,3,4,5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.
64
64
  **/
65
65
  this.contentList = this.contentList.slice(0, 6);
66
66
  if (this.variant == "rubrick" && this.contentList.length < 4) {
@@ -273,7 +273,7 @@ const StzhPiTeaserLayout = class {
273
273
  [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}`]: true,
274
274
  [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}--${this.hasSide ? "side" : "no-side"}`]: true,
275
275
  });
276
- return (index.h(index.Host, { "is-rubrick": isRubrick ? "true" : "false", amount: rubrickSize, "has-side": this.hasSide ? "true" : "false" }, hasHeading && (index.h("div", { class: "stzh-pi-teaser-layout__header-holder" }, index.h(Heading, { class: "stzh-pi-teaser-layout__header", level: this.headingLevel }, this.heading))), index.h("div", { class: classes }, ...this.contentList.map((teaser, index$1) => teaser.type == "empty-teaser" ? (index.h("div", { class: teaserClasses(index$1) })) : (index.h("stzh-pi-teaser", { key: index$1, href: teaser.href, dateline: teaser.dateline, heading: teaser.heading, date: teaser.date, imageSrc: teaser.imageSrc, contentSize: contentSizeBehavior(index$1 + 1), lead: leadBehavior(teaser.lead, index$1 + 1, teaser.imageSrc), imagePosition: imageBehavior(teaser.imageSrc, index$1 + 1), isHero: !isRubrick, class: teaserClasses(index$1) })))), bottomSlotUsed && (index.h("div", { class: "stzh-pi-teaser-layout__bottom-slot" }, index.h("slot", { name: "bottom" })))));
276
+ return (index.h(index.Host, { "is-rubrick": isRubrick ? "true" : "false", amount: rubrickSize, "has-side": this.hasSide ? "true" : "false" }, hasHeading && (index.h("div", { class: "stzh-pi-teaser-layout__header-holder" }, index.h(Heading, { class: "stzh-pi-teaser-layout__header", level: this.headingLevel }, this.heading))), index.h("div", { class: classes }, ...this.contentList.map((teaser, index$1) => teaser.type == "empty-teaser" ? (index.h("div", { class: teaserClasses(index$1) })) : (index.h("stzh-pi-teaser-layout-item", { key: index$1, href: teaser.href, dateline: teaser.dateline, heading: teaser.heading, date: teaser.date, imageSrc: teaser.imageSrc, contentSize: contentSizeBehavior(index$1 + 1), lead: leadBehavior(teaser.lead, index$1 + 1, teaser.imageSrc), imagePosition: imageBehavior(teaser.imageSrc, index$1 + 1), class: teaserClasses(index$1) })))), bottomSlotUsed && (index.h("div", { class: "stzh-pi-teaser-layout__bottom-slot" }, index.h("slot", { name: "bottom" })))));
277
277
  }
278
278
  get element() { return index.getElement(this); }
279
279
  };
@@ -1 +1 @@
1
- {"file":"stzh-pi-teaser-layout.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,gveAAgve,CAAC;AAC/we,iCAAe,qBAAqB;;ACIpC,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,+BAAgB,CAAA;IAChB,8BAAe,CAAA;IACf,+BAAgB,CAAA;IAChB,6BAAc,CAAA;IACd,8BAAe,CAAA;IACf,4BAAa,CAAA;AACf,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAED,M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M,IAAI,EAAC,QAAQ,GAAG,CAClB,CACP,CACI,EACP;KACH;;;;;;;","names":["media","addMediaChangeListener","hasSlot","h","Host","index"],"sources":["src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.scss?tag=stzh-pi-teaser-layout&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.tsx"],"sourcesContent":[":host {\n --grid-pi-teaser-layout-columns: repeat(12, 1fr);\n --min-height: 1800px;\n --max-height: 1900px;\n --gap: 16px;\n\n // Default mobile layout\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\" \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\" \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n\n // Small mobile layout\n @include mq($from: small) {\n --gap: 20px;\n --min-height: 1900px;\n --max-height: 1900px;\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n }\n\n // Medium mobile layout\n @include mq($from: medium) {\n --gap: 20px;\n --min-height: 1550px;\n --max-height: 1650px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.6fr 0.4fr 0.25fr 0.25fr;\n\n &[has-side=\"true\"] {\n --min-height: 2350px;\n --max-height: 2350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.85fr 0.85fr 0.4fr 0.4fr 0.36fr 0.36fr;\n }\n }\n\n // Large mobile layout\n @include mq($from: large) {\n --gap: 24px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n // Ultra mobile layout\n @include mq($from: ultra) {\n --gap: 32px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n .stzh-pi-teaser-layout-teaser {\n background-color: white;\n\n &--1 {\n grid-area: t1;\n }\n\n &--2 {\n grid-area: t2;\n }\n\n &--3 {\n grid-area: t3;\n }\n\n &--4 {\n grid-area: t4;\n }\n\n &--5 {\n grid-area: t5;\n }\n\n &--6 {\n grid-area: t6;\n }\n }\n\n // Rubrick layouts\n &[is-rubrick=\"true\"] {\n // Mobile rubrick layouts\n &[amount=\"one\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 550px;\n --max-height: 600px;\n }\n\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1100px;\n --max-height: 1200px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.6fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;\n --min-height: 1650px;\n --max-height: 1650px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;\n --min-height: 1650px;\n --max-height: 1650px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.55fr 0.55fr 0.3fr;\n --min-height: 1800px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.63fr 0.63fr 0.3fr 0.3fr;\n --min-height: 2200px;\n --max-height: 2300px;\n }\n\n // Small breakpoint rubrick layouts\n @include mq($from: small) {\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.42fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.42fr 0.42fr;\n --min-height: 1600px;\n --max-height: 1700px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.42fr 0.42fr 0.26fr;\n --min-height: 1800px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.42fr 0.42fr 0.26fr 0.26fr;\n --min-height: 2000px;\n --max-height: 2100px;\n }\n }\n\n // Medium breakpoint rubrick layouts\n @include mq($from: medium) {\n &[amount=\"one\"],\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 600px;\n --max-height: 650px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr;\n --min-height: 1400px;\n --max-height: 1500px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.35fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr 0.35fr;\n --min-height: 1650px;\n --max-height: 1700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.4fr 0.4fr;\n --min-height: 1800px;\n --max-height: 1800px;\n }\n }\n }\n\n // Large breakpoint rubrick layouts\n @include mq($from: large) {\n &[amount=\"three\"] {\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 0.5fr 0.5fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 0.45fr 0.45fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\"\n \"t1 t1 t1 t2 t2 t2 t4 t4 t4 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\"\n \"t4 t4 t4 t4 t4 t4 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 0.4fr 0.4fr;\n --min-height: 1200px;\n --max-height: 1250px;\n }\n }\n }\n\n // Hide elements that shouldn't be displayed\n .stzh-pi-teaser-layout-teaser {\n &--5 {\n &--four {\n display: none;\n }\n }\n\n &--6 {\n &--four,\n &--five {\n display: none;\n }\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout {\n @include fontCurve(\"p1\");\n width: 100%;\n display: grid;\n gap: var(--gap);\n min-height: var(--min-height);\n max-height: var(--max-height);\n grid-template-columns: var(--grid-pi-teaser-layout-columns);\n grid-template-areas: var(--grid-pi-teaser-layout-template);\n grid-template-rows: var(--grid-pi-teaser-layout-rows);\n\n & > * {\n /* Prevents content from expanding grid items */\n min-height: 0;\n overflow: hidden;\n }\n\n &__header-holder {\n margin-bottom: space(\"medium\");\n }\n\n &__header {\n @include fontCurve(\"h2\");\n @include font(\"title\");\n color: var(--stzh-heading-color);\n\n margin: 0;\n padding-top: space(\"medium\");\n padding-bottom: space(\"xxsmall\");\n\n @include mq($from: small) {\n padding-top: space(\"large\");\n padding-bottom: space(\"xxsmall\");\n }\n\n @include mq($from: medium) {\n padding-top: space(\"xlarge\");\n padding-bottom: space(\"xsmall\");\n }\n\n @include mq($from: large) {\n padding-top: space(\"xxlarge\");\n padding-bottom: space(\"small\");\n }\n }\n\n &__bottom-slot {\n margin-top: space(\"medium\");\n display: grid;\n justify-content: end;\n }\n}\n","import { Component, h, Element, Host, Prop, State } from \"@stencil/core\";\nimport { addMediaChangeListener, media } from \"../../../utils/media-utils\";\nimport { hasSlot } from \"../../../utils/utils\";\nimport { EmptyTeaser, PiTeaser } from \"../../..\";\n\nexport enum RubrickSize {\n xxxsmall = \"one\",\n xxsmall = \"two\",\n xsmall = \"three\",\n small = \"four\",\n medium = \"five\",\n large = \"six\",\n}\n\nconst getRubrickSize = (length: number): RubrickSize => {\n switch (length) {\n case 1:\n return RubrickSize.xxxsmall;\n case 2:\n return RubrickSize.xxsmall;\n case 3:\n return RubrickSize.xsmall;\n case 4:\n return RubrickSize.small;\n case 5:\n return RubrickSize.medium;\n case 6:\n return RubrickSize.large;\n default:\n return null;\n }\n};\n\n@Component({\n tag: \"stzh-pi-teaser-layout\",\n styleUrl: \"stzh-pi-teaser-layout.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayout {\n /**\n Variant specifies which grid is being shown\n **/\n @Prop() variant: \"hero\" | \"rubrick\" = \"hero\";\n\n /**\n Aside changes the grid behavior when the layout is presented beside other content aside like menu\n **/\n @Prop() hasSide: boolean = false;\n\n /** Heading for the section **/\n @Prop() heading: string = \"\";\n\n /** Heading level, for accessibility, no visual impact */\n @Prop({ reflect: true }) headingLevel: \"1\" | \"2\" | \"3\" = \"3\";\n\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 4, 5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n @Prop() contentList: PiTeaser[] | EmptyTeaser[] = [];\n\n /** Break points for displays */\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n @State() isLarge: boolean;\n @State() isUltra: boolean;\n\n @Element() element: HTMLStzhPiPagetitleElement;\n\n componentDidLoad() {\n this.mediaChangeHandler();\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 4, 5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n this.contentList = this.contentList.slice(0, 6);\n\n if (this.variant == \"rubrick\" && this.contentList.length < 4) {\n // Always make sure you have at least 4 elements\n if ((this.isLarge || this.isUltra) && !this.hasSide) {\n const paddingNeeded = Math.max(0, 4 - this.contentList.length);\n this.contentList = [...this.contentList, ...Array(paddingNeeded).fill({ type: \"empty-teaser\" })];\n }\n }\n }\n\n private mediaChangeHandler = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n this.isLarge = media(\"large\").matches;\n this.isUltra = media(\"ultra\").matches;\n };\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const isRubrick = this.variant == \"rubrick\";\n const rubrickSize: RubrickSize = getRubrickSize(this.contentList.length);\n const Heading = `h${this.headingLevel}`;\n const classes = {\n \"stzh-pi-teaser-layout\": true,\n \"stzh-pi-teaser-layout--rubrick\": isRubrick,\n \"stzh-pi-teaser-layout--has-side\": this.hasSide,\n };\n const hasHeading = !!this.heading;\n const bottomSlotUsed = hasSlot(this.element, \"bottom\");\n\n const contentSizeBehavior = (index: number): \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" => {\n const big = this.isUltra || this.isLarge;\n const sideSize = this.hasSide ? \"M\" : \"L\";\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n case 3:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 4:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n case 6:\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return big ? \"XL\" : this.isMedium ? \"L\" : this.isSmall ? \"L\" : \"M\";\n case 3:\n case 4:\n return big ? \"L\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n case 5:\n case 6:\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n };\n\n const leadBehavior = (lead: string | null, index: number, imageSrc: string | null): string | null => {\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 4:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.medium) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 5:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return null;\n case 6:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return null;\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n case 4:\n if (noImage) {\n return lead;\n }\n if (this.hasSide) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? null : null;\n case 5:\n case 6:\n return big ? lead : this.isMedium ? lead : null;\n }\n }\n return lead;\n };\n\n const imageBehavior = (imageSrc: string | null, index: number): \"top\" | \"right\" | null => {\n // Image has higher priority than lead\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (noImage) {\n return null;\n }\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n case 4:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? \"top\" : this.isMedium ? \"right\" : null;\n }\n\n case 6:\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? \"top\" : this.isMedium ? \"right\" : null;\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n case 4:\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"right\" : this.isSmall ? \"right\" : \"top\";\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 5:\n case 6:\n return big ? null : this.isMedium ? null : this.isSmall ? null : null;\n }\n }\n };\n\n if (!isRubrick && this.contentList.length < 6) {\n return <div>At least add 6 elements for hero</div>;\n }\n\n const teaserClasses = (index: number) => ({\n \"stzh-pi-teaser-layout-teaser\": true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n });\n\n return (\n <Host is-rubrick={isRubrick ? \"true\" : \"false\"} amount={rubrickSize} has-side={this.hasSide ? \"true\" : \"false\"}>\n {hasHeading && (\n <div class=\"stzh-pi-teaser-layout__header-holder\">\n <Heading class=\"stzh-pi-teaser-layout__header\" level={this.headingLevel}>\n {this.heading}\n </Heading>\n </div>\n )}\n <div class={classes}>\n {...this.contentList.map((teaser: PiTeaser | EmptyTeaser, index) =>\n teaser.type == \"empty-teaser\" ? (\n <div class={teaserClasses(index)} />\n ) : (\n <stzh-pi-teaser\n key={index}\n href={teaser.href}\n dateline={teaser.dateline}\n heading={teaser.heading}\n date={teaser.date}\n imageSrc={teaser.imageSrc}\n contentSize={contentSizeBehavior(index + 1)}\n lead={leadBehavior(teaser.lead, index + 1, teaser.imageSrc)}\n imagePosition={imageBehavior(teaser.imageSrc, index + 1)}\n isHero={!isRubrick}\n class={teaserClasses(index)}\n />\n ),\n )}\n </div>\n {bottomSlotUsed && (\n <div class=\"stzh-pi-teaser-layout__bottom-slot\">\n <slot name=\"bottom\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"stzh-pi-teaser-layout.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,qBAAqB,GAAG,gveAAgve,CAAC;AAC/we,iCAAe,qBAAqB;;ACIpC,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,+BAAgB,CAAA;IAChB,8BAAe,CAAA;IACf,+BAAgB,CAAA;IAChB,6BAAc,CAAA;IACd,8BAAe,CAAA;IACf,4BAAa,CAAA;AACf,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAED,MAAM,cAAc,GAAG,CAAC,MAAc;IACpC,QAAQ,MAAM;QACZ,KAAK,CAAC;YACJ,OAAO,WAAW,CAAC,QAAQ,CAAC;QAC9B,KAAK,CAAC;YACJ,OAAO,WAAW,CAAC,OAAO,CAAC;QAC7B,KAAK,CAAC;YACJ,OAAO,WAAW,CAAC,MAAM,CAAC;QAC5B,KAAK,CAAC;YACJ,OAAO,WAAW,CAAC,KAAK,CAAC;QAC3B,KAAK,CAAC;YACJ,OAAO,WAAW,CAAC,MAAM,CAAC;QAC5B,KAAK,CAAC;YACJ,OAAO,WAAW,CAAC,KAAK,CAAC;QAC3B;YACE,OAAO,IAAI,CAAC;KACf;AACH,CAAC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ACDA,iBAAK,KAAK,EAAE,OAAO,OACb,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,MAA8B,EAAEE,OAAK,KAC7D,MAAM,CAAC,IAAI,IAAI,cAAc,IAC3BF,iBAAK,KAAK,EAAE,aAAa,CAACE,OAAK,CAAC,GAAI,KAEpCF,wCACE,GAAG,EAAEE,OAAK,EACV,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,OAAO,EAAE,MAAM,CAAC,OAAO,EACvB,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,QAAQ,EAAE,MAAM,CAAC,QAAQ,EACzB,WAAW,EAAE,mBAAmB,CAACA,OAAK,GAAG,CAAC,CAAC,EAC3C,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,IAAI,EAAEA,OAAK,GAAG,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC,EAC3D,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAEA,OAAK,GAAG,CAAC,CAAC,EACxD,KAAK,EAAE,aAAa,CAACA,OAAK,CAAC,GAC3B,CACH,CACF,CACG,EACL,cAAc,KACbF,iBAAK,KAAK,EAAC,oCAAoC,IAC7CA,kBAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACP,CACI,EACP;KACH;;;;;;;","names":["media","addMediaChangeListener","hasSlot","h","Host","index"],"sources":["src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.scss?tag=stzh-pi-teaser-layout&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.tsx"],"sourcesContent":[":host {\n --grid-pi-teaser-layout-columns: repeat(12, 1fr);\n --min-height: 1800px;\n --max-height: 1900px;\n --gap: 16px;\n\n // Default mobile layout\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\" \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\" \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n\n // Small mobile layout\n @include mq($from: small) {\n --gap: 20px;\n --min-height: 1900px;\n --max-height: 1900px;\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n }\n\n // Medium mobile layout\n @include mq($from: medium) {\n --gap: 20px;\n --min-height: 1550px;\n --max-height: 1650px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.6fr 0.4fr 0.25fr 0.25fr;\n\n &[has-side=\"true\"] {\n --min-height: 2350px;\n --max-height: 2350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.85fr 0.85fr 0.4fr 0.4fr 0.36fr 0.36fr;\n }\n }\n\n // Large mobile layout\n @include mq($from: large) {\n --gap: 24px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n // Ultra mobile layout\n @include mq($from: ultra) {\n --gap: 32px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n .stzh-pi-teaser-layout-teaser {\n background-color: white;\n\n &--1 {\n grid-area: t1;\n }\n\n &--2 {\n grid-area: t2;\n }\n\n &--3 {\n grid-area: t3;\n }\n\n &--4 {\n grid-area: t4;\n }\n\n &--5 {\n grid-area: t5;\n }\n\n &--6 {\n grid-area: t6;\n }\n }\n\n // Rubrick layouts\n &[is-rubrick=\"true\"] {\n // Mobile rubrick layouts\n &[amount=\"one\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 550px;\n --max-height: 600px;\n }\n\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1100px;\n --max-height: 1200px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.6fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;\n --min-height: 1650px;\n --max-height: 1650px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;\n --min-height: 1650px;\n --max-height: 1650px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.55fr 0.55fr 0.3fr;\n --min-height: 1800px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.63fr 0.63fr 0.3fr 0.3fr;\n --min-height: 2200px;\n --max-height: 2300px;\n }\n\n // Small breakpoint rubrick layouts\n @include mq($from: small) {\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.42fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.42fr 0.42fr;\n --min-height: 1600px;\n --max-height: 1700px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.42fr 0.42fr 0.26fr;\n --min-height: 1800px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.42fr 0.42fr 0.26fr 0.26fr;\n --min-height: 2000px;\n --max-height: 2100px;\n }\n }\n\n // Medium breakpoint rubrick layouts\n @include mq($from: medium) {\n &[amount=\"one\"],\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 600px;\n --max-height: 650px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr;\n --min-height: 1400px;\n --max-height: 1500px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.35fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr 0.35fr;\n --min-height: 1650px;\n --max-height: 1700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.4fr 0.4fr;\n --min-height: 1800px;\n --max-height: 1800px;\n }\n }\n }\n\n // Large breakpoint rubrick layouts\n @include mq($from: large) {\n &[amount=\"three\"] {\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 0.5fr 0.5fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 0.45fr 0.45fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\"\n \"t1 t1 t1 t2 t2 t2 t4 t4 t4 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\"\n \"t4 t4 t4 t4 t4 t4 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 0.4fr 0.4fr;\n --min-height: 1200px;\n --max-height: 1250px;\n }\n }\n }\n\n // Hide elements that shouldn't be displayed\n .stzh-pi-teaser-layout-teaser {\n &--5 {\n &--four {\n display: none;\n }\n }\n\n &--6 {\n &--four,\n &--five {\n display: none;\n }\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout {\n @include fontCurve(\"p1\");\n width: 100%;\n display: grid;\n gap: var(--gap);\n min-height: var(--min-height);\n max-height: var(--max-height);\n grid-template-columns: var(--grid-pi-teaser-layout-columns);\n grid-template-areas: var(--grid-pi-teaser-layout-template);\n grid-template-rows: var(--grid-pi-teaser-layout-rows);\n\n & > * {\n /* Prevents content from expanding grid items */\n min-height: 0;\n overflow: hidden;\n }\n\n &__header-holder {\n margin-bottom: space(\"medium\");\n }\n\n &__header {\n @include fontCurve(\"h2\");\n @include font(\"title\");\n color: var(--stzh-heading-color);\n\n margin: 0;\n padding-top: space(\"medium\");\n padding-bottom: space(\"xxsmall\");\n\n @include mq($from: small) {\n padding-top: space(\"large\");\n padding-bottom: space(\"xxsmall\");\n }\n\n @include mq($from: medium) {\n padding-top: space(\"xlarge\");\n padding-bottom: space(\"xsmall\");\n }\n\n @include mq($from: large) {\n padding-top: space(\"xxlarge\");\n padding-bottom: space(\"small\");\n }\n }\n\n &__bottom-slot {\n margin-top: space(\"medium\");\n display: grid;\n justify-content: end;\n }\n}\n","import { Component, h, Element, Host, Prop, State } from \"@stencil/core\";\nimport { addMediaChangeListener, media } from \"../../../utils/media-utils\";\nimport { hasSlot } from \"../../../utils/utils\";\nimport { EmptyTeaser, PiTeaser } from \"../../..\";\n\nexport enum RubrickSize {\n xxxsmall = \"one\",\n xxsmall = \"two\",\n xsmall = \"three\",\n small = \"four\",\n medium = \"five\",\n large = \"six\",\n}\n\nconst getRubrickSize = (length: number): RubrickSize => {\n switch (length) {\n case 1:\n return RubrickSize.xxxsmall;\n case 2:\n return RubrickSize.xxsmall;\n case 3:\n return RubrickSize.xsmall;\n case 4:\n return RubrickSize.small;\n case 5:\n return RubrickSize.medium;\n case 6:\n return RubrickSize.large;\n default:\n return null;\n }\n};\n/**\n * @slot bottom - Slot for bottom content - like buttons to load more data\n */\n@Component({\n tag: \"stzh-pi-teaser-layout\",\n styleUrl: \"stzh-pi-teaser-layout.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayout {\n /**\n Variant specifies which grid is being shown\n **/\n @Prop() variant: \"hero\" | \"rubrick\" = \"hero\";\n\n /**\n Aside changes the grid behavior when the layout is presented beside other content aside like menu\n **/\n @Prop() hasSide: boolean = false;\n\n /** Heading for the section **/\n @Prop() heading: string = \"\";\n\n /** Heading level, for accessibility, no visual impact */\n @Prop({ reflect: true }) headingLevel: \"1\" | \"2\" | \"3\" = \"3\";\n\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 1,2,3,4,5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n @Prop() contentList: PiTeaser[] | EmptyTeaser[] = [];\n\n /** Break points for displays */\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n @State() isLarge: boolean;\n @State() isUltra: boolean;\n\n @Element() element: HTMLStzhPiPagetitleElement;\n\n componentDidLoad() {\n this.mediaChangeHandler();\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 1,2,3,4,5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n this.contentList = this.contentList.slice(0, 6);\n\n if (this.variant == \"rubrick\" && this.contentList.length < 4) {\n // Always make sure you have at least 4 elements\n if ((this.isLarge || this.isUltra) && !this.hasSide) {\n const paddingNeeded = Math.max(0, 4 - this.contentList.length);\n this.contentList = [...this.contentList, ...Array(paddingNeeded).fill({ type: \"empty-teaser\" })];\n }\n }\n }\n\n private mediaChangeHandler = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n this.isLarge = media(\"large\").matches;\n this.isUltra = media(\"ultra\").matches;\n };\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const isRubrick = this.variant == \"rubrick\";\n const rubrickSize: RubrickSize = getRubrickSize(this.contentList.length);\n const Heading = `h${this.headingLevel}`;\n const classes = {\n \"stzh-pi-teaser-layout\": true,\n \"stzh-pi-teaser-layout--rubrick\": isRubrick,\n \"stzh-pi-teaser-layout--has-side\": this.hasSide,\n };\n const hasHeading = !!this.heading;\n const bottomSlotUsed = hasSlot(this.element, \"bottom\");\n\n const contentSizeBehavior = (index: number): \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" => {\n const big = this.isUltra || this.isLarge;\n const sideSize = this.hasSide ? \"M\" : \"L\";\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n case 3:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 4:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n case 6:\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return big ? \"XL\" : this.isMedium ? \"L\" : this.isSmall ? \"L\" : \"M\";\n case 3:\n case 4:\n return big ? \"L\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n case 5:\n case 6:\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n };\n\n const leadBehavior = (lead: string | null, index: number, imageSrc: string | null): string | null => {\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 4:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.medium) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 5:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return null;\n case 6:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return null;\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n case 4:\n if (noImage) {\n return lead;\n }\n if (this.hasSide) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? null : null;\n case 5:\n case 6:\n return big ? lead : this.isMedium ? lead : null;\n }\n }\n return lead;\n };\n\n const imageBehavior = (imageSrc: string | null, index: number): \"top\" | \"right\" | null => {\n // Image has higher priority than lead\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (noImage) {\n return null;\n }\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n case 4:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? \"top\" : this.isMedium ? \"right\" : null;\n }\n\n case 6:\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? \"top\" : this.isMedium ? \"right\" : null;\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n case 4:\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"right\" : this.isSmall ? \"right\" : \"top\";\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 5:\n case 6:\n return big ? null : this.isMedium ? null : this.isSmall ? null : null;\n }\n }\n };\n\n if (!isRubrick && this.contentList.length < 6) {\n return <div>At least add 6 elements for hero</div>;\n }\n\n const teaserClasses = (index: number) => ({\n \"stzh-pi-teaser-layout-teaser\": true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n });\n\n return (\n <Host is-rubrick={isRubrick ? \"true\" : \"false\"} amount={rubrickSize} has-side={this.hasSide ? \"true\" : \"false\"}>\n {hasHeading && (\n <div class=\"stzh-pi-teaser-layout__header-holder\">\n <Heading class=\"stzh-pi-teaser-layout__header\" level={this.headingLevel}>\n {this.heading}\n </Heading>\n </div>\n )}\n <div class={classes}>\n {...this.contentList.map((teaser: PiTeaser | EmptyTeaser, index) =>\n teaser.type == \"empty-teaser\" ? (\n <div class={teaserClasses(index)} />\n ) : (\n <stzh-pi-teaser-layout-item\n key={index}\n href={teaser.href}\n dateline={teaser.dateline}\n heading={teaser.heading}\n date={teaser.date}\n imageSrc={teaser.imageSrc}\n contentSize={contentSizeBehavior(index + 1)}\n lead={leadBehavior(teaser.lead, index + 1, teaser.imageSrc)}\n imagePosition={imageBehavior(teaser.imageSrc, index + 1)}\n class={teaserClasses(index)}\n />\n ),\n )}\n </div>\n {bottomSlotUsed && (\n <div class=\"stzh-pi-teaser-layout__bottom-slot\">\n <slot name=\"bottom\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}