@oiz/stzh-components 4.5.0 → 4.6.0-beta2

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 (1006) hide show
  1. package/dist/cjs/{app-globals-64d91100.js → app-globals-7501aa08.js} +2 -2
  2. package/dist/cjs/{app-globals-64d91100.js.map → app-globals-7501aa08.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-cv.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-contact.cjs.entry.js +4 -3
  33. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  34. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  37. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +10 -10
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
  44. package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  47. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
  57. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
  58. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  68. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-linklist.cjs.entry.js +5 -1
  71. package/dist/cjs/stzh-linklist.cjs.entry.js.map +1 -1
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  73. package/dist/cjs/stzh-loader_2.cjs.entry.js +5 -5
  74. package/dist/cjs/stzh-loader_2.cjs.entry.js.map +1 -1
  75. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  77. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  78. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  88. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
  92. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +68 -0
  94. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -0
  95. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +43 -16
  96. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  97. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +9 -25
  98. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
  99. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  103. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  106. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  107. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  109. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  110. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  117. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  118. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  122. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  127. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  128. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  131. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  132. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  133. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  134. package/dist/collection/collection-manifest.json +1 -0
  135. package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +6 -3
  136. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +33 -15
  137. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  138. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +11 -24
  139. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  140. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  141. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  142. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  143. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  144. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  145. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  146. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  147. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  148. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  149. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  150. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +8 -2
  151. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js.map +1 -1
  152. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +38 -1
  153. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  154. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  155. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  156. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  157. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  158. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  159. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  160. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  161. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  162. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  163. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -1
  164. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +20 -11
  165. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  166. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.css +127 -261
  167. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +7 -93
  168. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  169. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +7 -73
  170. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.css +26 -35
  171. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +46 -16
  172. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  173. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +2 -2
  174. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +514 -0
  175. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js +16 -0
  176. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js.map +1 -0
  177. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +292 -0
  178. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -0
  179. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +70 -0
  180. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  181. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  182. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  183. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  184. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  185. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  186. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  187. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  188. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  189. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  190. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  191. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  192. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  193. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  194. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  195. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  196. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  197. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  198. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  199. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  200. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  201. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  202. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  203. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  204. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  205. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  206. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  207. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  208. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  209. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  210. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  211. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  212. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  213. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  214. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  215. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  216. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  217. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  218. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  219. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  220. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  221. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  222. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  223. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +1 -0
  224. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  225. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  226. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  227. package/dist/collection/components/stzh-dialog/stzh-dialog.js +5 -5
  228. package/dist/collection/components/stzh-dialog/stzh-dialog.js.map +1 -1
  229. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  230. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  231. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  232. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  233. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  234. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  235. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  236. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  237. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  238. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  239. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  240. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  241. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  242. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  243. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  244. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  245. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  246. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  247. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  248. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  249. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  250. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  251. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  252. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  253. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  254. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  255. package/dist/collection/components/stzh-overlay/stzh-overlay.js +4 -4
  256. package/dist/collection/components/stzh-overlay/stzh-overlay.js.map +1 -1
  257. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  258. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  259. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  260. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  261. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  262. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  263. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  264. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  265. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  266. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  267. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  268. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  269. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  270. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  271. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  272. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  273. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  274. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  275. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  276. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  277. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  278. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  279. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  280. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  281. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  282. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  283. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  284. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  285. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  286. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  287. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  288. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  289. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  290. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  291. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  292. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  293. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  294. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  295. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  296. package/dist/collection/index.js.map +1 -1
  297. package/dist/components/index.js +1 -1
  298. package/dist/components/{p-b0a7ed3c.js → p-00bfe201.js} +3 -3
  299. package/dist/components/{p-b0a7ed3c.js.map → p-00bfe201.js.map} +1 -1
  300. package/dist/components/{p-87e69533.js → p-07336076.js} +3 -3
  301. package/dist/components/{p-87e69533.js.map → p-07336076.js.map} +1 -1
  302. package/dist/components/{p-3b563957.js → p-08363886.js} +9 -9
  303. package/dist/components/{p-3b563957.js.map → p-08363886.js.map} +1 -1
  304. package/dist/components/{p-375d74b5.js → p-0d14dffd.js} +7 -7
  305. package/dist/components/{p-375d74b5.js.map → p-0d14dffd.js.map} +1 -1
  306. package/dist/components/{p-0ac64574.js → p-10d1bf15.js} +4 -4
  307. package/dist/components/{p-0ac64574.js.map → p-10d1bf15.js.map} +1 -1
  308. package/dist/components/{p-2f38d899.js → p-2f249d24.js} +7 -7
  309. package/dist/components/{p-2f38d899.js.map → p-2f249d24.js.map} +1 -1
  310. package/dist/components/{p-b8b342f5.js → p-356399a0.js} +2 -2
  311. package/dist/components/{p-b8b342f5.js.map → p-356399a0.js.map} +1 -1
  312. package/dist/components/{p-5a5884a1.js → p-39b23489.js} +2 -2
  313. package/dist/components/{p-5a5884a1.js.map → p-39b23489.js.map} +1 -1
  314. package/dist/components/{p-52037fe2.js → p-3b8bf944.js} +7 -7
  315. package/dist/components/{p-52037fe2.js.map → p-3b8bf944.js.map} +1 -1
  316. package/dist/components/{p-a6169d66.js → p-3c00c24c.js} +9 -9
  317. package/dist/components/{p-a6169d66.js.map → p-3c00c24c.js.map} +1 -1
  318. package/dist/components/{p-8254224a.js → p-3de13c90.js} +8 -8
  319. package/dist/components/{p-8254224a.js.map → p-3de13c90.js.map} +1 -1
  320. package/dist/components/{p-17efbc57.js → p-42e86bbd.js} +2 -2
  321. package/dist/components/{p-17efbc57.js.map → p-42e86bbd.js.map} +1 -1
  322. package/dist/components/{p-820ce57f.js → p-476fe818.js} +12 -12
  323. package/dist/components/{p-820ce57f.js.map → p-476fe818.js.map} +1 -1
  324. package/dist/components/{p-33ac52bc.js → p-4c4a22d3.js} +2 -2
  325. package/dist/components/{p-33ac52bc.js.map → p-4c4a22d3.js.map} +1 -1
  326. package/dist/components/{p-8107e1a2.js → p-4f39842d.js} +5 -5
  327. package/dist/components/{p-8107e1a2.js.map → p-4f39842d.js.map} +1 -1
  328. package/dist/components/{p-75352a6a.js → p-556af4a4.js} +2 -2
  329. package/dist/components/{p-75352a6a.js.map → p-556af4a4.js.map} +1 -1
  330. package/dist/components/{p-ce0311f9.js → p-5aa4ca6b.js} +2 -2
  331. package/dist/components/{p-ce0311f9.js.map → p-5aa4ca6b.js.map} +1 -1
  332. package/dist/components/{p-f6b75419.js → p-60fc78bb.js} +7 -7
  333. package/dist/components/{p-f6b75419.js.map → p-60fc78bb.js.map} +1 -1
  334. package/dist/components/p-692cd6d0.js +90 -0
  335. package/dist/components/p-692cd6d0.js.map +1 -0
  336. package/dist/components/{p-b5f00d83.js → p-6dcd63da.js} +5 -5
  337. package/dist/components/{p-b5f00d83.js.map → p-6dcd63da.js.map} +1 -1
  338. package/dist/components/{p-59b494a3.js → p-700a2919.js} +2 -2
  339. package/dist/components/{p-59b494a3.js.map → p-700a2919.js.map} +1 -1
  340. package/dist/components/{p-6268e18b.js → p-7121e1bf.js} +3 -3
  341. package/dist/components/{p-6268e18b.js.map → p-7121e1bf.js.map} +1 -1
  342. package/dist/components/{p-7f251b60.js → p-7171b3a1.js} +10 -10
  343. package/dist/components/{p-7f251b60.js.map → p-7171b3a1.js.map} +1 -1
  344. package/dist/components/{p-8436ccb7.js → p-74ae8080.js} +6 -6
  345. package/dist/components/{p-8436ccb7.js.map → p-74ae8080.js.map} +1 -1
  346. package/dist/components/{p-368c4aa2.js → p-78546000.js} +5 -5
  347. package/dist/components/{p-368c4aa2.js.map → p-78546000.js.map} +1 -1
  348. package/dist/components/{p-683460a5.js → p-7a4eaab2.js} +2 -2
  349. package/dist/components/{p-683460a5.js.map → p-7a4eaab2.js.map} +1 -1
  350. package/dist/components/{p-527121ef.js → p-85745626.js} +2 -2
  351. package/dist/components/{p-527121ef.js.map → p-85745626.js.map} +1 -1
  352. package/dist/components/{p-f70f31d6.js → p-85a0cd24.js} +2 -2
  353. package/dist/components/{p-f70f31d6.js.map → p-85a0cd24.js.map} +1 -1
  354. package/dist/components/{p-a8876adb.js → p-893776e9.js} +3 -3
  355. package/dist/components/{p-a8876adb.js.map → p-893776e9.js.map} +1 -1
  356. package/dist/components/{p-7b016fd0.js → p-8c638ee6.js} +3 -3
  357. package/dist/components/{p-7b016fd0.js.map → p-8c638ee6.js.map} +1 -1
  358. package/dist/components/{p-503bdd56.js → p-8ea6e1c0.js} +5 -5
  359. package/dist/components/p-8ea6e1c0.js.map +1 -0
  360. package/dist/components/{p-5e70f03f.js → p-8ef5faf0.js} +9 -9
  361. package/dist/components/{p-5e70f03f.js.map → p-8ef5faf0.js.map} +1 -1
  362. package/dist/components/{p-c418c5d3.js → p-8fb1ee85.js} +2 -2
  363. package/dist/components/{p-c418c5d3.js.map → p-8fb1ee85.js.map} +1 -1
  364. package/dist/components/{p-9c59e8f6.js → p-9574ea75.js} +10 -10
  365. package/dist/components/p-9574ea75.js.map +1 -0
  366. package/dist/components/{p-1449a24c.js → p-95b36277.js} +4 -4
  367. package/dist/components/{p-1449a24c.js.map → p-95b36277.js.map} +1 -1
  368. package/dist/components/{p-c65c361a.js → p-95d2855a.js} +14 -14
  369. package/dist/components/{p-c65c361a.js.map → p-95d2855a.js.map} +1 -1
  370. package/dist/components/{p-ef6cfd1f.js → p-9aa3fad7.js} +6 -6
  371. package/dist/components/{p-ef6cfd1f.js.map → p-9aa3fad7.js.map} +1 -1
  372. package/dist/components/{p-39874f6d.js → p-9ad22ce8.js} +3 -3
  373. package/dist/components/{p-39874f6d.js.map → p-9ad22ce8.js.map} +1 -1
  374. package/dist/components/{p-d91d6c31.js → p-9c18e9fe.js} +2 -2
  375. package/dist/components/{p-d91d6c31.js.map → p-9c18e9fe.js.map} +1 -1
  376. package/dist/components/{p-1d88f941.js → p-9dba6e5f.js} +6 -6
  377. package/dist/components/{p-1d88f941.js.map → p-9dba6e5f.js.map} +1 -1
  378. package/dist/components/{p-1c939b9f.js → p-a02372f5.js} +2 -2
  379. package/dist/components/{p-1c939b9f.js.map → p-a02372f5.js.map} +1 -1
  380. package/dist/components/{p-5a8587ab.js → p-a2659715.js} +2 -2
  381. package/dist/components/{p-5a8587ab.js.map → p-a2659715.js.map} +1 -1
  382. package/dist/components/{p-677c846d.js → p-a3c5c1b3.js} +2 -2
  383. package/dist/components/{p-677c846d.js.map → p-a3c5c1b3.js.map} +1 -1
  384. package/dist/components/{p-46d253ca.js → p-a5acb217.js} +3 -3
  385. package/dist/components/{p-46d253ca.js.map → p-a5acb217.js.map} +1 -1
  386. package/dist/components/{p-a649af8a.js → p-a7393afc.js} +14 -14
  387. package/dist/components/{p-a649af8a.js.map → p-a7393afc.js.map} +1 -1
  388. package/dist/components/{p-b9a50363.js → p-a773eb1b.js} +6 -6
  389. package/dist/components/{p-b9a50363.js.map → p-a773eb1b.js.map} +1 -1
  390. package/dist/components/{p-26ddf3b3.js → p-a87c8ead.js} +2 -2
  391. package/dist/components/{p-26ddf3b3.js.map → p-a87c8ead.js.map} +1 -1
  392. package/dist/components/{p-9a31aa56.js → p-ace11500.js} +3 -3
  393. package/dist/components/{p-9a31aa56.js.map → p-ace11500.js.map} +1 -1
  394. package/dist/components/{p-55b58017.js → p-ad34b5e0.js} +2 -2
  395. package/dist/components/{p-55b58017.js.map → p-ad34b5e0.js.map} +1 -1
  396. package/dist/components/{p-044c234a.js → p-b03368b3.js} +7 -7
  397. package/dist/components/{p-044c234a.js.map → p-b03368b3.js.map} +1 -1
  398. package/dist/components/{p-63ba178a.js → p-b2eca173.js} +4 -4
  399. package/dist/components/{p-63ba178a.js.map → p-b2eca173.js.map} +1 -1
  400. package/dist/components/{p-25ff5360.js → p-b35195c8.js} +4 -4
  401. package/dist/components/{p-25ff5360.js.map → p-b35195c8.js.map} +1 -1
  402. package/dist/components/{p-3e28d77d.js → p-b5caf3f4.js} +3 -3
  403. package/dist/components/{p-3e28d77d.js.map → p-b5caf3f4.js.map} +1 -1
  404. package/dist/components/{p-e42121d1.js → p-b84d0233.js} +4 -4
  405. package/dist/components/{p-e42121d1.js.map → p-b84d0233.js.map} +1 -1
  406. package/dist/components/{p-019721d4.js → p-b8f2532a.js} +5 -5
  407. package/dist/components/{p-019721d4.js.map → p-b8f2532a.js.map} +1 -1
  408. package/dist/components/{p-1e6ceaab.js → p-ba8edf1e.js} +2 -2
  409. package/dist/components/{p-1e6ceaab.js.map → p-ba8edf1e.js.map} +1 -1
  410. package/dist/components/{p-a393bd0b.js → p-bb38e284.js} +3 -3
  411. package/dist/components/{p-a393bd0b.js.map → p-bb38e284.js.map} +1 -1
  412. package/dist/components/{p-cae6655f.js → p-c5aa3de6.js} +8 -8
  413. package/dist/components/{p-cae6655f.js.map → p-c5aa3de6.js.map} +1 -1
  414. package/dist/components/{p-e87822db.js → p-cd95008d.js} +2 -2
  415. package/dist/components/{p-e87822db.js.map → p-cd95008d.js.map} +1 -1
  416. package/dist/components/{p-9ac321e4.js → p-cdbd62e3.js} +13 -13
  417. package/dist/components/p-cdbd62e3.js.map +1 -0
  418. package/dist/components/{p-1ebc2928.js → p-ce788661.js} +2 -2
  419. package/dist/components/{p-1ebc2928.js.map → p-ce788661.js.map} +1 -1
  420. package/dist/components/{p-8d98b7e1.js → p-d0ecd5c0.js} +3 -3
  421. package/dist/components/{p-8d98b7e1.js.map → p-d0ecd5c0.js.map} +1 -1
  422. package/dist/components/{p-9be51edc.js → p-d1dcb448.js} +6 -6
  423. package/dist/components/{p-9be51edc.js.map → p-d1dcb448.js.map} +1 -1
  424. package/dist/components/{p-7889ebb0.js → p-ddb9cb15.js} +7 -7
  425. package/dist/components/{p-7889ebb0.js.map → p-ddb9cb15.js.map} +1 -1
  426. package/dist/components/{p-604af41f.js → p-e4ff57a8.js} +4 -4
  427. package/dist/components/{p-604af41f.js.map → p-e4ff57a8.js.map} +1 -1
  428. package/dist/components/{p-285c271e.js → p-f020ba27.js} +3 -3
  429. package/dist/components/{p-285c271e.js.map → p-f020ba27.js.map} +1 -1
  430. package/dist/components/{p-15e2b360.js → p-f3c5a9d6.js} +3 -3
  431. package/dist/components/{p-15e2b360.js.map → p-f3c5a9d6.js.map} +1 -1
  432. package/dist/components/p-f5779736.js.map +1 -1
  433. package/dist/components/{p-faae4632.js → p-f625c800.js} +11 -11
  434. package/dist/components/{p-faae4632.js.map → p-f625c800.js.map} +1 -1
  435. package/dist/components/{p-06ba8843.js → p-fae759aa.js} +6 -6
  436. package/dist/components/{p-06ba8843.js.map → p-fae759aa.js.map} +1 -1
  437. package/dist/components/{p-853de15b.js → p-ffbf0fbb.js} +7 -7
  438. package/dist/components/{p-853de15b.js.map → p-ffbf0fbb.js.map} +1 -1
  439. package/dist/components/stzh-accordion-item.js +1 -1
  440. package/dist/components/stzh-accordion.js +1 -1
  441. package/dist/components/stzh-actions.js +1 -1
  442. package/dist/components/stzh-actionset.js +1 -1
  443. package/dist/components/stzh-amount.js +9 -9
  444. package/dist/components/stzh-anchornav.js +5 -5
  445. package/dist/components/stzh-app-nav.js +1 -1
  446. package/dist/components/stzh-appointments.js +13 -13
  447. package/dist/components/stzh-archivelist.js +6 -6
  448. package/dist/components/stzh-audio.js +7 -7
  449. package/dist/components/stzh-badge.js +1 -1
  450. package/dist/components/stzh-banner.js +3 -3
  451. package/dist/components/stzh-bathstatus-item.js +1 -1
  452. package/dist/components/stzh-bathstatus-list.js +6 -6
  453. package/dist/components/stzh-breadcrumb.js +1 -1
  454. package/dist/components/stzh-button.js +1 -1
  455. package/dist/components/stzh-buttongroup.js +1 -1
  456. package/dist/components/stzh-calendar.js +1 -1
  457. package/dist/components/stzh-card-navigation.js +2 -2
  458. package/dist/components/stzh-card-searchresult.js +14 -14
  459. package/dist/components/stzh-card-superteaser.js +13 -13
  460. package/dist/components/stzh-card.js +1 -1
  461. package/dist/components/stzh-cardlist.js +1 -1
  462. package/dist/components/stzh-carousel.js +1 -1
  463. package/dist/components/stzh-cell.js +1 -1
  464. package/dist/components/stzh-chart.js +1 -1
  465. package/dist/components/stzh-checkbox.js +1 -1
  466. package/dist/components/stzh-checkboxgroup.js +6 -6
  467. package/dist/components/stzh-chip.js +1 -1
  468. package/dist/components/stzh-chipgroup.js +1 -1
  469. package/dist/components/stzh-chipselect.js +1 -1
  470. package/dist/components/stzh-clamp.js +1 -1
  471. package/dist/components/stzh-company-logo.js +1 -1
  472. package/dist/components/stzh-contact-cv.js +4 -4
  473. package/dist/components/stzh-contact.js +11 -9
  474. package/dist/components/stzh-contact.js.map +1 -1
  475. package/dist/components/stzh-container.js +1 -1
  476. package/dist/components/stzh-content.js +1 -1
  477. package/dist/components/stzh-cspace.js +1 -1
  478. package/dist/components/stzh-cta.js +3 -3
  479. package/dist/components/stzh-datalist-item.js +1 -1
  480. package/dist/components/stzh-datalist.js +1 -1
  481. package/dist/components/stzh-datamessagelist-item.js +11 -11
  482. package/dist/components/stzh-datamessagelist.js +1 -1
  483. package/dist/components/stzh-datatable.js +16 -16
  484. package/dist/components/stzh-datepicker.js +1 -1
  485. package/dist/components/stzh-daterange.js +4 -4
  486. package/dist/components/stzh-details.js +1 -1
  487. package/dist/components/stzh-dialog.js +1 -1
  488. package/dist/components/stzh-disturber.js +4 -4
  489. package/dist/components/stzh-dropdown.js +1 -1
  490. package/dist/components/stzh-editor.js +4 -4
  491. package/dist/components/stzh-eventdata.js +1 -1
  492. package/dist/components/stzh-eventinfo.js +5 -5
  493. package/dist/components/stzh-feedreader-item.js +2 -2
  494. package/dist/components/stzh-feedreader.js +8 -8
  495. package/dist/components/stzh-fieldset.js +1 -1
  496. package/dist/components/stzh-figure.js +1 -1
  497. package/dist/components/stzh-flyingfocus.js +1 -1
  498. package/dist/components/stzh-footer.js +4 -4
  499. package/dist/components/stzh-gallery.js +8 -8
  500. package/dist/components/stzh-geo-ref-data.js +25 -25
  501. package/dist/components/stzh-ghettobox.js +1 -1
  502. package/dist/components/stzh-header.js +1 -1
  503. package/dist/components/stzh-heading.js +1 -1
  504. package/dist/components/stzh-homepage-search.js +2 -2
  505. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  506. package/dist/components/stzh-hr.js +1 -1
  507. package/dist/components/stzh-hspace.js +1 -1
  508. package/dist/components/stzh-http-error.js +7 -7
  509. package/dist/components/stzh-icon.js +1 -1
  510. package/dist/components/stzh-iframe.js +1 -1
  511. package/dist/components/stzh-imagecomparison.js +3 -3
  512. package/dist/components/stzh-input.js +1 -1
  513. package/dist/components/stzh-invert.js +1 -1
  514. package/dist/components/stzh-link.js +1 -1
  515. package/dist/components/stzh-linklist.js +14 -11
  516. package/dist/components/stzh-linklist.js.map +1 -1
  517. package/dist/components/stzh-list-item.js +1 -1
  518. package/dist/components/stzh-list.js +1 -1
  519. package/dist/components/stzh-loader.js +1 -1
  520. package/dist/components/stzh-loadingbar.js +1 -1
  521. package/dist/components/stzh-menu-item.js +1 -1
  522. package/dist/components/stzh-menu.js +1 -1
  523. package/dist/components/stzh-message.js +1 -1
  524. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  525. package/dist/components/stzh-monthyearpicker.js +5 -5
  526. package/dist/components/stzh-offline-indicator.js +6 -6
  527. package/dist/components/stzh-olmap.js +1 -1
  528. package/dist/components/stzh-overlay.js +1 -1
  529. package/dist/components/stzh-page-skiplinks.js +1 -1
  530. package/dist/components/stzh-pagebottom.js +8 -8
  531. package/dist/components/stzh-pagecontent.js +1 -1
  532. package/dist/components/stzh-pagetitle-hero.js +1 -1
  533. package/dist/components/stzh-pagetitle-home.js +2 -2
  534. package/dist/components/stzh-pagetitle.js +2 -2
  535. package/dist/components/stzh-pagination.js +1 -1
  536. package/dist/components/stzh-panorama.js +12 -12
  537. package/dist/components/stzh-pi-content-navigation.js +3 -3
  538. package/dist/components/stzh-pi-menu.js +3 -3
  539. package/dist/components/stzh-pi-pagetitle.js +2 -2
  540. package/dist/components/stzh-pi-pagetitle.js.map +1 -1
  541. package/dist/components/stzh-pi-quote.js +1 -1
  542. package/dist/components/stzh-pi-teaser-layout-item.d.ts +11 -0
  543. package/dist/components/stzh-pi-teaser-layout-item.js +8 -0
  544. package/dist/components/stzh-pi-teaser-layout-item.js.map +1 -0
  545. package/dist/components/stzh-pi-teaser-layout.js +46 -19
  546. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  547. package/dist/components/stzh-pi-teaser.js +83 -1
  548. package/dist/components/stzh-pi-teaser.js.map +1 -1
  549. package/dist/components/stzh-pkzh-qr.js +19 -19
  550. package/dist/components/stzh-poicard.js +1 -1
  551. package/dist/components/stzh-poilist.js +18 -18
  552. package/dist/components/stzh-popover.js +1 -1
  553. package/dist/components/stzh-print.js +1 -1
  554. package/dist/components/stzh-quote.js +1 -1
  555. package/dist/components/stzh-radio.js +1 -1
  556. package/dist/components/stzh-radiogroup.js +1 -1
  557. package/dist/components/stzh-ratio.js +1 -1
  558. package/dist/components/stzh-readspeaker.js +5 -5
  559. package/dist/components/stzh-richtext.js +1 -1
  560. package/dist/components/stzh-row.js +1 -1
  561. package/dist/components/stzh-saptcha.js +8 -8
  562. package/dist/components/stzh-scrollup.js +1 -1
  563. package/dist/components/stzh-search.js +17 -17
  564. package/dist/components/stzh-section.js +2 -2
  565. package/dist/components/stzh-share.js +1 -1
  566. package/dist/components/stzh-show.js +1 -1
  567. package/dist/components/stzh-sitemap.js +9 -9
  568. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  569. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  570. package/dist/components/stzh-skiplink.js +1 -1
  571. package/dist/components/stzh-socialmediastream-item.js +1 -1
  572. package/dist/components/stzh-socialmediastream.js +6 -6
  573. package/dist/components/stzh-sortable.js +1 -1
  574. package/dist/components/stzh-space.js +1 -1
  575. package/dist/components/stzh-status.js +1 -1
  576. package/dist/components/stzh-stepper-item.js +1 -1
  577. package/dist/components/stzh-stepper.js +5 -5
  578. package/dist/components/stzh-sticky-actions.js +2 -2
  579. package/dist/components/stzh-sticky.js +1 -1
  580. package/dist/components/stzh-table.js +1 -1
  581. package/dist/components/stzh-tag.js +1 -1
  582. package/dist/components/stzh-text.js +1 -1
  583. package/dist/components/stzh-textandimage.js +1 -1
  584. package/dist/components/stzh-timeline-item.js +3 -3
  585. package/dist/components/stzh-timeline.js +1 -1
  586. package/dist/components/stzh-timepicker.js +5 -5
  587. package/dist/components/stzh-toast.js +1 -1
  588. package/dist/components/stzh-toastbar.js +1 -1
  589. package/dist/components/stzh-toggle.js +6 -6
  590. package/dist/components/stzh-tooltip.js +1 -1
  591. package/dist/components/stzh-twocolumns.js +1 -1
  592. package/dist/components/stzh-upload.js +14 -14
  593. package/dist/components/stzh-vbz-carousel.js +1 -1
  594. package/dist/components/stzh-vbz-intro.js +4 -4
  595. package/dist/components/stzh-vbz-linechip.js +1 -1
  596. package/dist/components/stzh-vbz-majorticker.js +6 -6
  597. package/dist/components/stzh-vbz-ticker.js +6 -6
  598. package/dist/components/stzh-visuallyhidden.js +2 -2
  599. package/dist/components/stzh-vspace.js +2 -2
  600. package/dist/components/stzh-youtube.js +6 -6
  601. package/dist/esm/{app-globals-8ffa411d.js → app-globals-c4439d36.js} +2 -2
  602. package/dist/esm/{app-globals-8ffa411d.js.map → app-globals-c4439d36.js.map} +1 -1
  603. package/dist/esm/index-d8813b10.js +6 -2
  604. package/dist/esm/index.js.map +1 -1
  605. package/dist/esm/loader.js +2 -2
  606. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  607. package/dist/esm/stzh-actions_6.entry.js +9 -9
  608. package/dist/esm/stzh-actionset.entry.js +5 -5
  609. package/dist/esm/stzh-amount.entry.js +1 -1
  610. package/dist/esm/stzh-anchornav.entry.js +1 -1
  611. package/dist/esm/stzh-app-nav.entry.js +1 -1
  612. package/dist/esm/stzh-appointments.entry.js +1 -1
  613. package/dist/esm/stzh-audio.entry.js +3 -3
  614. package/dist/esm/stzh-badge_3.entry.js +3 -3
  615. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  616. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  617. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  618. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  619. package/dist/esm/stzh-card.entry.js +4 -4
  620. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  621. package/dist/esm/stzh-carousel.entry.js +2 -2
  622. package/dist/esm/stzh-chart.entry.js +1 -1
  623. package/dist/esm/stzh-checkbox.entry.js +3 -3
  624. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  625. package/dist/esm/stzh-chip.entry.js +1 -1
  626. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  627. package/dist/esm/stzh-chipselect.entry.js +4 -4
  628. package/dist/esm/stzh-clamp.entry.js +2 -2
  629. package/dist/esm/stzh-company-logo.entry.js +1 -1
  630. package/dist/esm/stzh-components.js +2 -2
  631. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  632. package/dist/esm/stzh-contact.entry.js +4 -3
  633. package/dist/esm/stzh-contact.entry.js.map +1 -1
  634. package/dist/esm/stzh-content.entry.js +1 -1
  635. package/dist/esm/stzh-cta.entry.js +1 -1
  636. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  637. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  638. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  639. package/dist/esm/stzh-datepicker_3.entry.js +10 -10
  640. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  641. package/dist/esm/stzh-daterange.entry.js +1 -1
  642. package/dist/esm/stzh-details.entry.js +1 -1
  643. package/dist/esm/stzh-dialog.entry.js +5 -5
  644. package/dist/esm/stzh-dialog.entry.js.map +1 -1
  645. package/dist/esm/stzh-disturber.entry.js +1 -1
  646. package/dist/esm/stzh-dropdown.entry.js +4 -4
  647. package/dist/esm/stzh-editor.entry.js +1 -1
  648. package/dist/esm/stzh-eventdata.entry.js +1 -1
  649. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  650. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  651. package/dist/esm/stzh-feedreader.entry.js +1 -1
  652. package/dist/esm/stzh-figure.entry.js +1 -1
  653. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  654. package/dist/esm/stzh-footer.entry.js +1 -1
  655. package/dist/esm/stzh-gallery.entry.js +1 -1
  656. package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
  657. package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
  658. package/dist/esm/stzh-header_2.entry.js +1 -1
  659. package/dist/esm/stzh-heading.entry.js +1 -1
  660. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  661. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  662. package/dist/esm/stzh-hr.entry.js +1 -1
  663. package/dist/esm/stzh-hspace.entry.js +2 -2
  664. package/dist/esm/stzh-http-error.entry.js +1 -1
  665. package/dist/esm/stzh-iframe.entry.js +4 -4
  666. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  667. package/dist/esm/stzh-input.entry.js +5 -5
  668. package/dist/esm/stzh-invert.entry.js +1 -1
  669. package/dist/esm/stzh-link.entry.js +1 -1
  670. package/dist/esm/stzh-linklist.entry.js +6 -2
  671. package/dist/esm/stzh-linklist.entry.js.map +1 -1
  672. package/dist/esm/stzh-list_2.entry.js +2 -2
  673. package/dist/esm/stzh-loader_2.entry.js +5 -5
  674. package/dist/esm/stzh-loader_2.entry.js.map +1 -1
  675. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  676. package/dist/esm/stzh-menu_2.entry.js +2 -2
  677. package/dist/esm/stzh-message.entry.js +2 -2
  678. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  679. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  680. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  681. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  682. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  683. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  684. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  685. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  686. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  687. package/dist/esm/stzh-panorama.entry.js +2 -2
  688. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  689. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  690. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  691. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
  692. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  693. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +64 -0
  694. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -0
  695. package/dist/esm/stzh-pi-teaser-layout.entry.js +43 -16
  696. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  697. package/dist/esm/stzh-pi-teaser.entry.js +9 -25
  698. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  699. package/dist/esm/stzh-poicard.entry.js +1 -1
  700. package/dist/esm/stzh-poilist.entry.js +1 -1
  701. package/dist/esm/stzh-popover.entry.js +1 -1
  702. package/dist/esm/stzh-print_2.entry.js +2 -2
  703. package/dist/esm/stzh-quote.entry.js +1 -1
  704. package/dist/esm/stzh-ratio.entry.js +1 -1
  705. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  706. package/dist/esm/stzh-saptcha.entry.js +2 -2
  707. package/dist/esm/stzh-scrollup.entry.js +1 -1
  708. package/dist/esm/stzh-search.entry.js +2 -2
  709. package/dist/esm/stzh-section.entry.js +2 -2
  710. package/dist/esm/stzh-sitemap.entry.js +1 -1
  711. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  712. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  713. package/dist/esm/stzh-skiplink.entry.js +1 -1
  714. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  715. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  716. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  717. package/dist/esm/stzh-stepper.entry.js +3 -3
  718. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  719. package/dist/esm/stzh-sticky.entry.js +1 -1
  720. package/dist/esm/stzh-table.entry.js +1 -1
  721. package/dist/esm/stzh-text.entry.js +2 -2
  722. package/dist/esm/stzh-textandimage.entry.js +1 -1
  723. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  724. package/dist/esm/stzh-timeline.entry.js +1 -1
  725. package/dist/esm/stzh-timepicker.entry.js +1 -1
  726. package/dist/esm/stzh-toast_2.entry.js +3 -3
  727. package/dist/esm/stzh-toggle.entry.js +3 -3
  728. package/dist/esm/stzh-tooltip.entry.js +1 -1
  729. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  730. package/dist/esm/stzh-upload.entry.js +3 -3
  731. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  732. package/dist/esm/stzh-vspace.entry.js +2 -2
  733. package/dist/esm/stzh-youtube.entry.js +1 -1
  734. package/dist/stzh-components/index.esm.js.map +1 -1
  735. package/dist/stzh-components/{p-484ab936.entry.js → p-015a35bf.entry.js} +2 -2
  736. package/dist/stzh-components/p-03c2d367.entry.js +2 -0
  737. package/dist/stzh-components/p-03c2d367.entry.js.map +1 -0
  738. package/dist/stzh-components/{p-813765e0.entry.js → p-03e628b9.entry.js} +2 -2
  739. package/dist/stzh-components/{p-aef0879b.entry.js → p-04c9ec6b.entry.js} +2 -2
  740. package/dist/stzh-components/{p-c4fe3a90.entry.js → p-0685f2ae.entry.js} +2 -2
  741. package/dist/stzh-components/{p-810e15c1.entry.js → p-0d54bcfc.entry.js} +2 -2
  742. package/dist/stzh-components/p-0f546f1c.entry.js +2 -0
  743. package/dist/stzh-components/p-0f546f1c.entry.js.map +1 -0
  744. package/dist/stzh-components/{p-c5de2eae.entry.js → p-1187dcb3.entry.js} +2 -2
  745. package/dist/stzh-components/{p-822fd427.entry.js → p-12146af8.entry.js} +2 -2
  746. package/dist/stzh-components/p-15dc154c.entry.js +2 -0
  747. package/dist/stzh-components/p-15dc154c.entry.js.map +1 -0
  748. package/dist/stzh-components/{p-e973ae31.entry.js → p-1617973f.entry.js} +2 -2
  749. package/dist/stzh-components/{p-0f29cccb.entry.js → p-16552049.entry.js} +2 -2
  750. package/dist/stzh-components/{p-640bd513.entry.js → p-1844d99e.entry.js} +2 -2
  751. package/dist/stzh-components/{p-4524b189.entry.js → p-187fd37a.entry.js} +2 -2
  752. package/dist/stzh-components/{p-592d0768.entry.js → p-1bb06be6.entry.js} +2 -2
  753. package/dist/stzh-components/{p-36783a19.entry.js → p-1f4f76b1.entry.js} +2 -2
  754. package/dist/stzh-components/{p-060b4bf0.entry.js → p-1f668f53.entry.js} +2 -2
  755. package/dist/stzh-components/p-2096b877.entry.js +2 -0
  756. package/dist/stzh-components/p-2096b877.entry.js.map +1 -0
  757. package/dist/stzh-components/{p-a0ec5681.entry.js → p-21d2d28d.entry.js} +2 -2
  758. package/dist/stzh-components/{p-a634e4a3.entry.js → p-26792e28.entry.js} +2 -2
  759. package/dist/stzh-components/p-26792e28.entry.js.map +1 -0
  760. package/dist/stzh-components/{p-4e67373b.entry.js → p-2a0fa100.entry.js} +2 -2
  761. package/dist/stzh-components/{p-852bb820.entry.js → p-2d50d767.entry.js} +2 -2
  762. package/dist/stzh-components/{p-603eb9db.entry.js → p-3056b956.entry.js} +2 -2
  763. package/dist/stzh-components/p-3071b6f4.entry.js +2 -0
  764. package/dist/stzh-components/{p-7fcdf0da.entry.js.map → p-3071b6f4.entry.js.map} +1 -1
  765. package/dist/stzh-components/{p-dd1d8a38.entry.js → p-32448e73.entry.js} +2 -2
  766. package/dist/stzh-components/{p-d8d5bcf0.entry.js → p-34c68f20.entry.js} +2 -2
  767. package/dist/stzh-components/{p-3be9615c.entry.js → p-35be1f2c.entry.js} +2 -2
  768. package/dist/stzh-components/{p-86134534.entry.js → p-38104164.entry.js} +2 -2
  769. package/dist/stzh-components/p-3bc24ea1.entry.js +2 -0
  770. package/dist/stzh-components/p-3bc24ea1.entry.js.map +1 -0
  771. package/dist/stzh-components/{p-0aa2bf6d.entry.js → p-3d3d0515.entry.js} +2 -2
  772. package/dist/stzh-components/{p-dac817d4.entry.js → p-42a3a0df.entry.js} +2 -2
  773. package/dist/stzh-components/{p-97c16051.entry.js → p-450c13f2.entry.js} +2 -2
  774. package/dist/stzh-components/{p-b77def39.entry.js → p-4539e17f.entry.js} +2 -2
  775. package/dist/stzh-components/{p-83eee7d8.entry.js → p-46dcce84.entry.js} +2 -2
  776. package/dist/stzh-components/{p-c4c3cd03.entry.js → p-46e5f084.entry.js} +2 -2
  777. package/dist/stzh-components/{p-5149779d.entry.js → p-46fc5ee0.entry.js} +2 -2
  778. package/dist/stzh-components/p-4a7b6f37.js +2 -0
  779. package/dist/stzh-components/{p-f47de487.js.map → p-4a7b6f37.js.map} +1 -1
  780. package/dist/stzh-components/{p-5d4e0dd0.entry.js → p-4b754125.entry.js} +2 -2
  781. package/dist/stzh-components/{p-70739292.entry.js → p-4c8d577f.entry.js} +2 -2
  782. package/dist/stzh-components/{p-2b99717a.entry.js → p-4dbbea21.entry.js} +2 -2
  783. package/dist/stzh-components/{p-b2bd3ab6.entry.js → p-4f3149ca.entry.js} +2 -2
  784. package/dist/stzh-components/{p-242f8853.entry.js → p-4ff33b79.entry.js} +2 -2
  785. package/dist/stzh-components/{p-01b910be.entry.js → p-51bf87d0.entry.js} +2 -2
  786. package/dist/stzh-components/{p-bec35e8a.entry.js → p-5725e544.entry.js} +2 -2
  787. package/dist/stzh-components/{p-de0d236c.entry.js → p-582d0259.entry.js} +2 -2
  788. package/dist/stzh-components/{p-b424108f.entry.js → p-598de693.entry.js} +2 -2
  789. package/dist/stzh-components/{p-bfac05d9.entry.js → p-5a38eb4c.entry.js} +2 -2
  790. package/dist/stzh-components/{p-1450f777.entry.js → p-5d877ea1.entry.js} +2 -2
  791. package/dist/stzh-components/p-5dc298a4.entry.js +2 -0
  792. package/dist/stzh-components/p-5dc298a4.entry.js.map +1 -0
  793. package/dist/stzh-components/{p-f87cac36.entry.js → p-5fe85cfd.entry.js} +2 -2
  794. package/dist/stzh-components/{p-58df488a.entry.js → p-6102443e.entry.js} +2 -2
  795. package/dist/stzh-components/{p-1ef9b4aa.entry.js → p-61491246.entry.js} +2 -2
  796. package/dist/stzh-components/{p-0dd8bb75.entry.js → p-640e445b.entry.js} +2 -2
  797. package/dist/stzh-components/{p-bf786c3d.entry.js → p-65e099a0.entry.js} +2 -2
  798. package/dist/stzh-components/{p-368d97c2.entry.js → p-664e7a09.entry.js} +2 -2
  799. package/dist/stzh-components/{p-f544acad.entry.js → p-6ee6bc09.entry.js} +2 -2
  800. package/dist/stzh-components/{p-a64a1cfb.entry.js → p-6f7f7e18.entry.js} +2 -2
  801. package/dist/stzh-components/{p-7a0e995b.entry.js → p-72203e1d.entry.js} +2 -2
  802. package/dist/stzh-components/{p-c7d7d854.entry.js → p-727c30cf.entry.js} +2 -2
  803. package/dist/stzh-components/{p-8629e109.entry.js → p-766dea66.entry.js} +2 -2
  804. package/dist/stzh-components/{p-0c9776ca.entry.js → p-7844b15a.entry.js} +2 -2
  805. package/dist/stzh-components/{p-5f37f146.entry.js → p-7bc4d471.entry.js} +2 -2
  806. package/dist/stzh-components/{p-4a05919e.entry.js → p-7cfa54b9.entry.js} +2 -2
  807. package/dist/stzh-components/{p-4a05919e.entry.js.map → p-7cfa54b9.entry.js.map} +1 -1
  808. package/dist/stzh-components/{p-07a64a81.entry.js → p-7facda3d.entry.js} +3 -3
  809. package/dist/stzh-components/{p-7c3ad9ad.entry.js → p-86c278a3.entry.js} +2 -2
  810. package/dist/stzh-components/{p-600c2da8.entry.js → p-8e133247.entry.js} +2 -2
  811. package/dist/stzh-components/{p-0cf1a45d.entry.js → p-8e82664a.entry.js} +2 -2
  812. package/dist/stzh-components/{p-5f236e09.entry.js → p-8f90ba95.entry.js} +2 -2
  813. package/dist/stzh-components/{p-09ccae77.entry.js → p-92bdcdad.entry.js} +2 -2
  814. package/dist/stzh-components/{p-513cbed7.entry.js → p-93424a61.entry.js} +2 -2
  815. package/dist/stzh-components/{p-0cfc71d9.entry.js → p-94b7f926.entry.js} +2 -2
  816. package/dist/stzh-components/{p-88b60580.entry.js → p-9cdb4375.entry.js} +2 -2
  817. package/dist/stzh-components/{p-787ea476.entry.js → p-a12cf3bc.entry.js} +2 -2
  818. package/dist/stzh-components/{p-cdfc3629.entry.js → p-a38f6851.entry.js} +2 -2
  819. package/dist/stzh-components/{p-1791b2b3.entry.js → p-a498a5f5.entry.js} +2 -2
  820. package/dist/stzh-components/{p-f76e4062.entry.js → p-a4cbd257.entry.js} +2 -2
  821. package/dist/stzh-components/{p-59f90fb0.entry.js → p-a75c4682.entry.js} +2 -2
  822. package/dist/stzh-components/{p-523cd861.entry.js → p-a8292b13.entry.js} +2 -2
  823. package/dist/stzh-components/{p-9429dd63.entry.js → p-a9b34a6b.entry.js} +2 -2
  824. package/dist/stzh-components/{p-1f383f92.entry.js → p-abdf8b13.entry.js} +2 -2
  825. package/dist/stzh-components/{p-f50cd7ba.entry.js → p-ac335416.entry.js} +2 -2
  826. package/dist/stzh-components/{p-e73168b1.entry.js → p-af1aa423.entry.js} +2 -2
  827. package/dist/stzh-components/{p-52157928.entry.js → p-b145722f.entry.js} +2 -2
  828. package/dist/stzh-components/{p-f52539cd.entry.js → p-b311be28.entry.js} +2 -2
  829. package/dist/stzh-components/{p-5e81bc87.entry.js → p-b4bae13a.entry.js} +2 -2
  830. package/dist/stzh-components/{p-81234cb3.entry.js → p-b4bdb4cf.entry.js} +2 -2
  831. package/dist/stzh-components/{p-560c82e5.entry.js → p-b5d4e8b9.entry.js} +2 -2
  832. package/dist/stzh-components/{p-4883b247.entry.js → p-b95edacd.entry.js} +2 -2
  833. package/dist/stzh-components/{p-005493d4.entry.js → p-bc0618bb.entry.js} +2 -2
  834. package/dist/stzh-components/{p-6201ff22.entry.js → p-bc837007.entry.js} +2 -2
  835. package/dist/stzh-components/{p-6705f73a.entry.js → p-be74a213.entry.js} +2 -2
  836. package/dist/stzh-components/{p-a60e9919.entry.js → p-c11a73d2.entry.js} +2 -2
  837. package/dist/stzh-components/{p-cfaa0150.entry.js → p-c1508338.entry.js} +2 -2
  838. package/dist/stzh-components/{p-5afa5c60.entry.js → p-c41804d9.entry.js} +2 -2
  839. package/dist/stzh-components/{p-072ee314.entry.js → p-c7d82187.entry.js} +2 -2
  840. package/dist/stzh-components/{p-05ac8cf5.entry.js → p-c8476e6e.entry.js} +2 -2
  841. package/dist/stzh-components/{p-b5361fa5.entry.js → p-c95bce0d.entry.js} +2 -2
  842. package/dist/stzh-components/{p-802da9eb.entry.js → p-caf867f9.entry.js} +2 -2
  843. package/dist/stzh-components/{p-05c5f234.entry.js → p-cb058b56.entry.js} +2 -2
  844. package/dist/stzh-components/{p-c4a656ba.entry.js → p-cfbc4a5e.entry.js} +2 -2
  845. package/dist/stzh-components/{p-be5c3c5f.entry.js → p-d2a97efc.entry.js} +2 -2
  846. package/dist/stzh-components/{p-e1c7c23f.entry.js → p-d516d56c.entry.js} +2 -2
  847. package/dist/stzh-components/{p-8dccb0a9.entry.js → p-d7ee085c.entry.js} +2 -2
  848. package/dist/stzh-components/{p-1416149e.entry.js → p-dac4534c.entry.js} +2 -2
  849. package/dist/stzh-components/{p-0eb6375d.entry.js → p-dacee3d1.entry.js} +2 -2
  850. package/dist/stzh-components/{p-91b425d3.entry.js → p-e11a606e.entry.js} +2 -2
  851. package/dist/stzh-components/{p-87b49bad.entry.js → p-e184e0fd.entry.js} +2 -2
  852. package/dist/stzh-components/{p-d3d1a284.entry.js → p-e75cde0c.entry.js} +2 -2
  853. package/dist/stzh-components/{p-89dc75cb.entry.js → p-ebb4b12f.entry.js} +2 -2
  854. package/dist/stzh-components/{p-a47ce522.entry.js → p-ec2ac6e9.entry.js} +2 -2
  855. package/dist/stzh-components/p-ee311236.entry.js +2 -0
  856. package/dist/stzh-components/{p-ddc0dc04.entry.js.map → p-ee311236.entry.js.map} +1 -1
  857. package/dist/stzh-components/{p-f3d3f975.entry.js → p-f3081e0e.entry.js} +2 -2
  858. package/dist/stzh-components/p-f47bd88c.entry.js +2 -0
  859. package/dist/stzh-components/{p-c27082b1.entry.js.map → p-f47bd88c.entry.js.map} +1 -1
  860. package/dist/stzh-components/{p-5e15683f.entry.js → p-f52e344a.entry.js} +2 -2
  861. package/dist/stzh-components/{p-decc15e9.entry.js → p-f61e61e7.entry.js} +2 -2
  862. package/dist/stzh-components/p-f61e61e7.entry.js.map +1 -0
  863. package/dist/stzh-components/{p-cb70b81e.entry.js → p-f93f056f.entry.js} +2 -2
  864. package/dist/stzh-components/{p-14d4ccf8.entry.js → p-ff04778f.entry.js} +2 -2
  865. package/dist/stzh-components/{p-a92f593a.entry.js → p-ff2877e7.entry.js} +2 -2
  866. package/dist/stzh-components/{p-7bb25462.entry.js → p-ff41be1d.entry.js} +2 -2
  867. package/dist/stzh-components/stzh-components.esm.js +1 -1
  868. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  869. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +4 -2
  870. package/dist/types/components/CMS/stzh-linklist/stzh-linklist.d.ts +5 -1
  871. package/dist/types/components/CMS/stzh-pi-teaser/stzh-pi-teaser.d.ts +0 -7
  872. package/dist/types/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.d.ts +4 -1
  873. package/dist/types/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.d.ts +44 -0
  874. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +1 -1
  875. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +1 -1
  876. package/dist/types/components.d.ts +144 -42
  877. package/dist/types/index.d.ts +5 -0
  878. package/dist/vscode-data.json +100 -45
  879. package/package.json +4 -4
  880. package/dist/components/p-503bdd56.js.map +0 -1
  881. package/dist/components/p-9ac321e4.js.map +0 -1
  882. package/dist/components/p-9c59e8f6.js.map +0 -1
  883. package/dist/components/p-c22c1bb9.js +0 -102
  884. package/dist/components/p-c22c1bb9.js.map +0 -1
  885. package/dist/stzh-components/p-07f2765c.entry.js +0 -2
  886. package/dist/stzh-components/p-07f2765c.entry.js.map +0 -1
  887. package/dist/stzh-components/p-10e8dd7d.entry.js +0 -2
  888. package/dist/stzh-components/p-10e8dd7d.entry.js.map +0 -1
  889. package/dist/stzh-components/p-177fe44b.entry.js +0 -2
  890. package/dist/stzh-components/p-177fe44b.entry.js.map +0 -1
  891. package/dist/stzh-components/p-7fcdf0da.entry.js +0 -2
  892. package/dist/stzh-components/p-84f8a7c4.entry.js +0 -2
  893. package/dist/stzh-components/p-84f8a7c4.entry.js.map +0 -1
  894. package/dist/stzh-components/p-a469d79d.entry.js +0 -2
  895. package/dist/stzh-components/p-a469d79d.entry.js.map +0 -1
  896. package/dist/stzh-components/p-a634e4a3.entry.js.map +0 -1
  897. package/dist/stzh-components/p-c27082b1.entry.js +0 -2
  898. package/dist/stzh-components/p-ddc0dc04.entry.js +0 -2
  899. package/dist/stzh-components/p-decc15e9.entry.js.map +0 -1
  900. package/dist/stzh-components/p-f47de487.js +0 -2
  901. /package/dist/stzh-components/{p-484ab936.entry.js.map → p-015a35bf.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-813765e0.entry.js.map → p-03e628b9.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-aef0879b.entry.js.map → p-04c9ec6b.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-c4fe3a90.entry.js.map → p-0685f2ae.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-810e15c1.entry.js.map → p-0d54bcfc.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-c5de2eae.entry.js.map → p-1187dcb3.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-822fd427.entry.js.map → p-12146af8.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-e973ae31.entry.js.map → p-1617973f.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-0f29cccb.entry.js.map → p-16552049.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-640bd513.entry.js.map → p-1844d99e.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-4524b189.entry.js.map → p-187fd37a.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-592d0768.entry.js.map → p-1bb06be6.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-36783a19.entry.js.map → p-1f4f76b1.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-060b4bf0.entry.js.map → p-1f668f53.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-a0ec5681.entry.js.map → p-21d2d28d.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-4e67373b.entry.js.map → p-2a0fa100.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-852bb820.entry.js.map → p-2d50d767.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-603eb9db.entry.js.map → p-3056b956.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-dd1d8a38.entry.js.map → p-32448e73.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-d8d5bcf0.entry.js.map → p-34c68f20.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-3be9615c.entry.js.map → p-35be1f2c.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-86134534.entry.js.map → p-38104164.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-0aa2bf6d.entry.js.map → p-3d3d0515.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-dac817d4.entry.js.map → p-42a3a0df.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-97c16051.entry.js.map → p-450c13f2.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-b77def39.entry.js.map → p-4539e17f.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-83eee7d8.entry.js.map → p-46dcce84.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-c4c3cd03.entry.js.map → p-46e5f084.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-5149779d.entry.js.map → p-46fc5ee0.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-5d4e0dd0.entry.js.map → p-4b754125.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-70739292.entry.js.map → p-4c8d577f.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-2b99717a.entry.js.map → p-4dbbea21.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-b2bd3ab6.entry.js.map → p-4f3149ca.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-242f8853.entry.js.map → p-4ff33b79.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-01b910be.entry.js.map → p-51bf87d0.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-bec35e8a.entry.js.map → p-5725e544.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-de0d236c.entry.js.map → p-582d0259.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-b424108f.entry.js.map → p-598de693.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-bfac05d9.entry.js.map → p-5a38eb4c.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-1450f777.entry.js.map → p-5d877ea1.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-f87cac36.entry.js.map → p-5fe85cfd.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-58df488a.entry.js.map → p-6102443e.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-1ef9b4aa.entry.js.map → p-61491246.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-0dd8bb75.entry.js.map → p-640e445b.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-bf786c3d.entry.js.map → p-65e099a0.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-368d97c2.entry.js.map → p-664e7a09.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-f544acad.entry.js.map → p-6ee6bc09.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-a64a1cfb.entry.js.map → p-6f7f7e18.entry.js.map} +0 -0
  949. /package/dist/stzh-components/{p-7a0e995b.entry.js.map → p-72203e1d.entry.js.map} +0 -0
  950. /package/dist/stzh-components/{p-c7d7d854.entry.js.map → p-727c30cf.entry.js.map} +0 -0
  951. /package/dist/stzh-components/{p-8629e109.entry.js.map → p-766dea66.entry.js.map} +0 -0
  952. /package/dist/stzh-components/{p-0c9776ca.entry.js.map → p-7844b15a.entry.js.map} +0 -0
  953. /package/dist/stzh-components/{p-5f37f146.entry.js.map → p-7bc4d471.entry.js.map} +0 -0
  954. /package/dist/stzh-components/{p-07a64a81.entry.js.map → p-7facda3d.entry.js.map} +0 -0
  955. /package/dist/stzh-components/{p-7c3ad9ad.entry.js.map → p-86c278a3.entry.js.map} +0 -0
  956. /package/dist/stzh-components/{p-600c2da8.entry.js.map → p-8e133247.entry.js.map} +0 -0
  957. /package/dist/stzh-components/{p-0cf1a45d.entry.js.map → p-8e82664a.entry.js.map} +0 -0
  958. /package/dist/stzh-components/{p-5f236e09.entry.js.map → p-8f90ba95.entry.js.map} +0 -0
  959. /package/dist/stzh-components/{p-09ccae77.entry.js.map → p-92bdcdad.entry.js.map} +0 -0
  960. /package/dist/stzh-components/{p-513cbed7.entry.js.map → p-93424a61.entry.js.map} +0 -0
  961. /package/dist/stzh-components/{p-0cfc71d9.entry.js.map → p-94b7f926.entry.js.map} +0 -0
  962. /package/dist/stzh-components/{p-88b60580.entry.js.map → p-9cdb4375.entry.js.map} +0 -0
  963. /package/dist/stzh-components/{p-787ea476.entry.js.map → p-a12cf3bc.entry.js.map} +0 -0
  964. /package/dist/stzh-components/{p-cdfc3629.entry.js.map → p-a38f6851.entry.js.map} +0 -0
  965. /package/dist/stzh-components/{p-1791b2b3.entry.js.map → p-a498a5f5.entry.js.map} +0 -0
  966. /package/dist/stzh-components/{p-f76e4062.entry.js.map → p-a4cbd257.entry.js.map} +0 -0
  967. /package/dist/stzh-components/{p-59f90fb0.entry.js.map → p-a75c4682.entry.js.map} +0 -0
  968. /package/dist/stzh-components/{p-523cd861.entry.js.map → p-a8292b13.entry.js.map} +0 -0
  969. /package/dist/stzh-components/{p-9429dd63.entry.js.map → p-a9b34a6b.entry.js.map} +0 -0
  970. /package/dist/stzh-components/{p-1f383f92.entry.js.map → p-abdf8b13.entry.js.map} +0 -0
  971. /package/dist/stzh-components/{p-f50cd7ba.entry.js.map → p-ac335416.entry.js.map} +0 -0
  972. /package/dist/stzh-components/{p-e73168b1.entry.js.map → p-af1aa423.entry.js.map} +0 -0
  973. /package/dist/stzh-components/{p-52157928.entry.js.map → p-b145722f.entry.js.map} +0 -0
  974. /package/dist/stzh-components/{p-f52539cd.entry.js.map → p-b311be28.entry.js.map} +0 -0
  975. /package/dist/stzh-components/{p-5e81bc87.entry.js.map → p-b4bae13a.entry.js.map} +0 -0
  976. /package/dist/stzh-components/{p-81234cb3.entry.js.map → p-b4bdb4cf.entry.js.map} +0 -0
  977. /package/dist/stzh-components/{p-560c82e5.entry.js.map → p-b5d4e8b9.entry.js.map} +0 -0
  978. /package/dist/stzh-components/{p-4883b247.entry.js.map → p-b95edacd.entry.js.map} +0 -0
  979. /package/dist/stzh-components/{p-005493d4.entry.js.map → p-bc0618bb.entry.js.map} +0 -0
  980. /package/dist/stzh-components/{p-6201ff22.entry.js.map → p-bc837007.entry.js.map} +0 -0
  981. /package/dist/stzh-components/{p-6705f73a.entry.js.map → p-be74a213.entry.js.map} +0 -0
  982. /package/dist/stzh-components/{p-a60e9919.entry.js.map → p-c11a73d2.entry.js.map} +0 -0
  983. /package/dist/stzh-components/{p-cfaa0150.entry.js.map → p-c1508338.entry.js.map} +0 -0
  984. /package/dist/stzh-components/{p-5afa5c60.entry.js.map → p-c41804d9.entry.js.map} +0 -0
  985. /package/dist/stzh-components/{p-072ee314.entry.js.map → p-c7d82187.entry.js.map} +0 -0
  986. /package/dist/stzh-components/{p-05ac8cf5.entry.js.map → p-c8476e6e.entry.js.map} +0 -0
  987. /package/dist/stzh-components/{p-b5361fa5.entry.js.map → p-c95bce0d.entry.js.map} +0 -0
  988. /package/dist/stzh-components/{p-802da9eb.entry.js.map → p-caf867f9.entry.js.map} +0 -0
  989. /package/dist/stzh-components/{p-05c5f234.entry.js.map → p-cb058b56.entry.js.map} +0 -0
  990. /package/dist/stzh-components/{p-c4a656ba.entry.js.map → p-cfbc4a5e.entry.js.map} +0 -0
  991. /package/dist/stzh-components/{p-be5c3c5f.entry.js.map → p-d2a97efc.entry.js.map} +0 -0
  992. /package/dist/stzh-components/{p-e1c7c23f.entry.js.map → p-d516d56c.entry.js.map} +0 -0
  993. /package/dist/stzh-components/{p-8dccb0a9.entry.js.map → p-d7ee085c.entry.js.map} +0 -0
  994. /package/dist/stzh-components/{p-1416149e.entry.js.map → p-dac4534c.entry.js.map} +0 -0
  995. /package/dist/stzh-components/{p-0eb6375d.entry.js.map → p-dacee3d1.entry.js.map} +0 -0
  996. /package/dist/stzh-components/{p-91b425d3.entry.js.map → p-e11a606e.entry.js.map} +0 -0
  997. /package/dist/stzh-components/{p-87b49bad.entry.js.map → p-e184e0fd.entry.js.map} +0 -0
  998. /package/dist/stzh-components/{p-d3d1a284.entry.js.map → p-e75cde0c.entry.js.map} +0 -0
  999. /package/dist/stzh-components/{p-89dc75cb.entry.js.map → p-ebb4b12f.entry.js.map} +0 -0
  1000. /package/dist/stzh-components/{p-a47ce522.entry.js.map → p-ec2ac6e9.entry.js.map} +0 -0
  1001. /package/dist/stzh-components/{p-f3d3f975.entry.js.map → p-f3081e0e.entry.js.map} +0 -0
  1002. /package/dist/stzh-components/{p-5e15683f.entry.js.map → p-f52e344a.entry.js.map} +0 -0
  1003. /package/dist/stzh-components/{p-cb70b81e.entry.js.map → p-f93f056f.entry.js.map} +0 -0
  1004. /package/dist/stzh-components/{p-14d4ccf8.entry.js.map → p-ff04778f.entry.js.map} +0 -0
  1005. /package/dist/stzh-components/{p-a92f593a.entry.js.map → p-ff2877e7.entry.js.map} +0 -0
  1006. /package/dist/stzh-components/{p-7bb25462.entry.js.map → p-ff41be1d.entry.js.map} +0 -0
@@ -2332,10 +2332,18 @@
2332
2332
  }
2333
2333
  ]
2334
2334
  },
2335
+ {
2336
+ "name": "city-label",
2337
+ "description": "City label"
2338
+ },
2335
2339
  {
2336
2340
  "name": "contact-title",
2337
2341
  "description": "Contact title"
2338
2342
  },
2343
+ {
2344
+ "name": "departament",
2345
+ "description": "Departament"
2346
+ },
2339
2347
  {
2340
2348
  "name": "emails",
2341
2349
  "description": "Numbers\nArray of objects that can include the attributes `label`, `number`, `text`, `href`\nand optionally `analyticsId` for setting `s-object-id` to the link element\n(for Adobe Analytics, default value is `label` and `text`)."
@@ -2440,10 +2448,6 @@
2440
2448
  "name": "street-info",
2441
2449
  "description": "Additional street info"
2442
2450
  },
2443
- {
2444
- "name": "sub-heading",
2445
- "description": "Sub heading"
2446
- },
2447
2451
  {
2448
2452
  "name": "type",
2449
2453
  "description": "Type",
@@ -6444,27 +6448,6 @@
6444
6448
  "name": "analytics-id",
6445
6449
  "description": "For Adobe Analytics.\nWill be rendered as value of `s-object-id` attribute to the link elements.\nDefault value will be taken from `heading` prop/slot."
6446
6450
  },
6447
- {
6448
- "name": "content-size",
6449
- "description": "Which size of teaser it is",
6450
- "values": [
6451
- {
6452
- "name": "L"
6453
- },
6454
- {
6455
- "name": "M"
6456
- },
6457
- {
6458
- "name": "S"
6459
- },
6460
- {
6461
- "name": "XL"
6462
- },
6463
- {
6464
- "name": "XS"
6465
- }
6466
- ]
6467
- },
6468
6451
  {
6469
6452
  "name": "date",
6470
6453
  "description": "Date"
@@ -6499,26 +6482,6 @@
6499
6482
  "name": "href",
6500
6483
  "description": "Href of card"
6501
6484
  },
6502
- {
6503
- "name": "image-position",
6504
- "description": "Whether image is on top or on the right",
6505
- "values": [
6506
- {
6507
- "name": "right"
6508
- },
6509
- {
6510
- "name": "top"
6511
- }
6512
- ]
6513
- },
6514
- {
6515
- "name": "image-src",
6516
- "description": "Image source link"
6517
- },
6518
- {
6519
- "name": "is-hero",
6520
- "description": ""
6521
- },
6522
6485
  {
6523
6486
  "name": "lead",
6524
6487
  "description": "Lead text (alternative for lead slot)"
@@ -6573,6 +6536,98 @@
6573
6536
  }
6574
6537
  ]
6575
6538
  },
6539
+ {
6540
+ "name": "stzh-pi-teaser-layout-item",
6541
+ "description": {
6542
+ "kind": "markdown",
6543
+ "value": ""
6544
+ },
6545
+ "attributes": [
6546
+ {
6547
+ "name": "analytics-id",
6548
+ "description": "For Adobe Analytics.\nWill be rendered as value of `s-object-id` attribute to the link elements.\nDefault value will be taken from `heading` prop/slot."
6549
+ },
6550
+ {
6551
+ "name": "content-size",
6552
+ "description": "Which size of teaser it is",
6553
+ "values": [
6554
+ {
6555
+ "name": "L"
6556
+ },
6557
+ {
6558
+ "name": "M"
6559
+ },
6560
+ {
6561
+ "name": "S"
6562
+ },
6563
+ {
6564
+ "name": "XL"
6565
+ },
6566
+ {
6567
+ "name": "XS"
6568
+ }
6569
+ ]
6570
+ },
6571
+ {
6572
+ "name": "date",
6573
+ "description": "Date"
6574
+ },
6575
+ {
6576
+ "name": "dateline",
6577
+ "description": "Dateline"
6578
+ },
6579
+ {
6580
+ "name": "heading",
6581
+ "description": "Heading (alternative for heading slot)"
6582
+ },
6583
+ {
6584
+ "name": "heading-level",
6585
+ "description": "Heading level",
6586
+ "values": [
6587
+ {
6588
+ "name": "1"
6589
+ },
6590
+ {
6591
+ "name": "2"
6592
+ },
6593
+ {
6594
+ "name": "3"
6595
+ },
6596
+ {
6597
+ "name": "4"
6598
+ }
6599
+ ]
6600
+ },
6601
+ {
6602
+ "name": "href",
6603
+ "description": "Href of card"
6604
+ },
6605
+ {
6606
+ "name": "image-position",
6607
+ "description": "Whether image is on top or on the right",
6608
+ "values": [
6609
+ {
6610
+ "name": "right"
6611
+ },
6612
+ {
6613
+ "name": "top"
6614
+ }
6615
+ ]
6616
+ },
6617
+ {
6618
+ "name": "image-src",
6619
+ "description": "Image source link"
6620
+ },
6621
+ {
6622
+ "name": "lead",
6623
+ "description": "Lead text (alternative for lead slot)"
6624
+ },
6625
+ {
6626
+ "name": "target",
6627
+ "description": "target if the button is used as link (if href used)"
6628
+ }
6629
+ ]
6630
+ },
6576
6631
  {
6577
6632
  "name": "stzh-pkzh-qr",
6578
6633
  "description": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oiz/stzh-components",
3
- "version": "4.5.0",
3
+ "version": "4.6.0-beta2",
4
4
  "description": "STZH Web Components Library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -46,9 +46,9 @@
46
46
  "@playwright/test": "^1.48.2",
47
47
  "@stencil/angular-output-target": "^1.1.1",
48
48
  "@stencil/postcss": "^2.1.0",
49
- "@stencil/react-output-target": "^0.8.2",
49
+ "@stencil/react-output-target": "^1.2.0",
50
50
  "@stencil/sass": "^3.0.12",
51
- "@stencil/vue-output-target": "^0.10.7",
51
+ "@stencil/vue-output-target": "^0.11.8",
52
52
  "@storybook/addon-a11y": "^8.3.7",
53
53
  "@storybook/addon-designs": "^8.0.3",
54
54
  "@storybook/addon-essentials": "^8.3.7",
@@ -101,7 +101,7 @@
101
101
  "@floating-ui/dom": "^1.6.12",
102
102
  "@stencil/core": "^4.16.0",
103
103
  "@vidstack/player": "^1.6.5",
104
- "axios": "^1.7.9",
104
+ "axios": "^1.12.2",
105
105
  "browserslist": "^4.24.4",
106
106
  "d3": "^7.9.0",
107
107
  "fitty": "^2.4.2",
@@ -1 +0,0 @@
1
- {"file":"p-503bdd56.js","mappings":";;;;AAAA,MAAM,cAAc,GAAG,y6DAAy6D,CAAC;AACj8D,0BAAe,cAAc;;ACO7B,MAAM,eAAe,GAAG,mBAAmB,CAAC;MAU/B,WAAW;;;;;;oBAEmB,KAAK;oBAGtB,IAAI;yBAG2B,EAAE;;IAW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OAAO,GAAG,MAAM,IAEzC,8DAAa,CACT,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-overlay/stzh-overlay.scss?tag=stzh-overlay&encapsulation=scoped","src/components/stzh-overlay/stzh-overlay.tsx"],"sourcesContent":["/**\n * @prop --backdrop-opacity: Opacity of overlay backdrop\n * @prop --backdrop-background-color: Background color of overlay backdrop\n *\n * @prop --stzh-overlay-backdrop-opacity: **Global**: Opacity of backdrops\n * @prop --stzh-overlay-backdrop-background-color: **Global**: Background color of backdrops\n */\n\n:host {\n --backdrop-opacity: #{$overlayBackdropOpacity};\n --backdrop-background-color: #{$overlayBackdropBackgroundColor};\n}\n\n.stzh-overlay {\n display: none;\n z-index: $zIndexOverlay;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-direction: column;\n justify-content: stretch;\n align-items: stretch;\n\n &__backdrop {\n z-index: 1;\n background-color: var(--backdrop-background-color);\n opacity: var(--backdrop-opacity);\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n &__content {\n z-index: 2;\n display: flex;\n flex-direction: column;\n align-items: center;\n position: relative;\n flex-grow: 1;\n overflow: auto;\n }\n\n &__content-inner {\n // center content vertically\n margin-top: auto;\n margin-bottom: auto;\n outline: none;\n }\n\n &--is-open {\n display: flex;\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Method, Element } from \"@stencil/core\";\n\nimport { StzhOverlayOpenEvent, StzhOverlayCloseEvent } from \"../../index\";\n\nimport { createBaseFocusTrapOptions } from \"../../utils/overlay-utils\";\n\nimport { createFocusTrap, FocusTrap } from \"focus-trap\";\n\nconst CLASS_BODY_OPEN = \"stzh-overlay-open\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-overlay\",\n styleUrl: \"stzh-overlay.scss\",\n scoped: true,\n})\nexport class StzhOverlay {\n /** Whether overlay is open */\n @Prop({ mutable: true }) open: boolean = false;\n\n /** Stay in original position (true) or move to body (false) */\n @Prop() stay: boolean = true;\n\n /** Accessible label for dialog */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string = \"\";\n\n /** Dialog open event */\n @Event() stzhOpen: EventEmitter<StzhOverlayOpenEvent>;\n\n /** Dialog close event */\n @Event() stzhClose: EventEmitter<StzhOverlayCloseEvent>;\n\n @Element() element: HTMLStzhOverlayElement;\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-overlay\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-overlay\",\n });\n }\n\n private trap: FocusTrap;\n private parentElement: HTMLElement;\n private dialogElement: HTMLDivElement;\n\n private getSiblings() {\n if (!this.parentElement) {\n return [];\n }\n\n return Array.from(this.parentElement.children).filter(child => child !== this.element);\n }\n\n private disableSiblings() {\n this.getSiblings().forEach(sibling => {\n sibling.setAttribute(\"aria-hidden\", \"true\");\n });\n }\n\n private enableSiblings() {\n this.getSiblings().forEach(sibling => {\n sibling.removeAttribute(\"aria-hidden\");\n });\n }\n\n private dialogShown() {\n document.body.classList.add(CLASS_BODY_OPEN);\n this.disableSiblings();\n\n if (this.trap) {\n this.trap.activate();\n }\n }\n\n private dialogHidden() {\n document.body.classList.remove(CLASS_BODY_OPEN);\n this.enableSiblings();\n\n if (this.trap) {\n this.trap.deactivate();\n }\n }\n\n connectedCallback() {\n if (!this.stay && this.element.parentElement !== document.body) {\n document.body.appendChild(this.element);\n }\n\n this.parentElement = this.element.parentElement;\n }\n\n componentDidRender() {\n this.open ? this.dialogShown() : this.dialogHidden();\n }\n\n componentDidUpdate() {\n this.trap.updateContainerElements(this.element);\n }\n\n componentDidLoad() {\n this.trap = createFocusTrap(this.element, {\n fallbackFocus: this.dialogElement,\n ...createBaseFocusTrapOptions(),\n });\n\n if (this.open) {\n this.dialogShown();\n }\n }\n\n disconnectedCallback() {\n this.dialogHidden();\n }\n\n render() {\n const classes = {\n \"stzh-overlay\": true,\n \"stzh-overlay--is-open\": this.open,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-overlay__backdrop\"></div>\n <div class=\"stzh-overlay__content\">\n <div\n class=\"stzh-overlay__content-inner\"\n ref={el => (this.dialogElement = el as HTMLDivElement)}\n tabindex=\"-1\"\n role=\"dialog\"\n aria-label={this.a11yLabel || null}\n aria-hidden={this.open ? \"false\" : \"true\"}\n >\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-9ac321e4.js","mappings":";;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,yhEAAyhE,CAAC;AACpjE,6BAAe,iBAAiB;;MCgCnB,cAAc;;;;;;QAmLjB,gBAAW,GAAG;YACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC;SAChC,CAAC;QAEM,gBAAW,GAAG;YACpB,IAAI,IAAI,CAAC,KAAK,EAAE;gBACd,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;aACpB;SACF,CAAC;QAEM,mBAAc,GAAG;YACvB,MAAM,UAAU,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;YAEzE,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,KAAK,EAAE,IAAI,UAAU,EAAE;gBACzC,MAAM,aAAa,GAAG,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;gBAEhF,IAAI,IAAI,CAAC,KAAK,KAAK,aAAa,EAAE;oBAChC,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC;iBAC5B;qBAAM;oBACL,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;iBAClC;gBAED,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;oBACnB,SAAS,EAAE,iBAAiB;oBAC5B,K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oped","src/components/stzh-datepicker/stzh-datepicker.tsx"],"sourcesContent":[":host {\n --calendar-width: #{$calendarWidth};\n\n width: 100%;\n\n &[inline]:not([inline=\"false\"]) {\n width: var(--calendar-width);\n }\n}\n\n.stzh-datepicker {\n &__popover {\n --width: auto;\n }\n\n &__calendar {\n margin-left: auto;\n margin-right: auto;\n\n &.is-inline {\n width: 100%;\n margin-left: 0px;\n margin-right: 0px;\n }\n }\n\n &__actions {\n display: flex;\n width: var(--calendar-width);\n margin-left: auto;\n margin-right: auto;\n\n &.is-inline {\n width: 100%;\n margin-left: 0px;\n margin-right: 0px;\n }\n\n &:not(:empty) {\n padding-left: space(\"small\");\n padding-right: space(\"small\");\n }\n }\n\n /* Has action */\n\n &--has-action &__popover {\n --content-padding: 0 0 #{space(\"small\")} 0;\n }\n}\n","import {\n Component,\n Prop,\n Host,\n Element,\n h,\n Event,\n EventEmitter,\n Method,\n Watch,\n Fragment,\n State,\n Listen,\n} from \"@stencil/core\";\n\nimport { StzhCalendarChangeEvent, StzhDatepickerChangeEvent } from \"../../index\";\n\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nimport { printISODate } from \"../../utils/date-utils\";\nimport { StzhLocaleAdapter } from \"../../index\";\n\nimport { StzhDatepickerLocalizedText } from \"./stzh-datepicker.localization\";\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot action - Slot for action below calendar (stzh-link element)\n */\n@Component({\n tag: \"stzh-datepicker\",\n styleUrl: \"stzh-datepicker.scss\",\n scoped: true,\n})\nexport class StzhDatepicker {\n /**\n * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the max property.\n */\n @Prop() calendarMin: string = \"\";\n\n /**\n * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the min property.\n */\n @Prop() calendarMax: string = \"\";\n\n /**\n * Controls which days are disabled and therefore disallowed.\n * For example, this can be used to disallow selection of weekends.\n */\n @Prop() calendarIsDateDisabled: StzhCalendarDateDisabledPredicate = () => false;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the hidden date picker input. If a date can be parsed (via picker always), the value is in ISO format. Otherwise the value equals the manual input. */\n @Prop({ mutable: true }) value: string = \"\";\n @State() calendarValue: string = \"\";\n @State() inputValue: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Label for input field and popover */\n @Prop() label: string = \"\";\n\n /** Whether label is visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Show calendar inline */\n @Prop({ reflect: true }) inline: boolean = false;\n\n /**\n * Date adapter visible date shown to the user, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /**\n * Date adapter for internal date passed to backend, for custom parsing/formatting.\n * Can be `\"iso\"` (default, date in ISO format) / `\"legacy\"` (date in `d.m.Y` format)\n * or `StzhLocaleAdapter` (must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.)\n */\n @Prop() internalDateAdapter: \"iso\" | \"legacy\" | StzhLocaleAdapter = \"iso\";\n private _internalDateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhDatepickerLocalizedText;\n\n @State() buttonLabel: string;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"localization\")\n createDateFormatters() {\n if (this.localization) {\n this.dateFormatLong = new Intl.DateTimeFormat(this.localization.$locale, {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n });\n }\n }\n\n /** Update calendar and input when value prop has changed */\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n if (!this._internalDateAdapter) {\n return;\n }\n\n const date = this._internalDateAdapter.parse(newValue, \"dateInput\");\n\n this.calendarValue = printISODate(date);\n this.inputValue = this.dateAdapter.format(date, \"dateInput\");\n\n this.updateButtonAccessibleLabel();\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"internalDateAdapter\")\n internalDateAdapterWatcher(newValue: \"iso\" | \"legacy\" | StzhLocaleAdapter) {\n if (newValue === \"iso\" || !newValue) {\n this._internalDateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formatsIso,\n this.localization.$globals,\n );\n } else if (newValue === \"legacy\") {\n this._internalDateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formatsLegacy,\n this.localization.$globals,\n );\n } else {\n this._internalDateAdapter = newValue;\n }\n }\n\n /** Set value by a JS Date object */\n @Method()\n async setDate(date: Date) {\n this.value = this._internalDateAdapter.format(date, \"dateInput\");\n }\n\n /** Return internal popover element */\n @Method()\n async getPopover(): Promise<HTMLStzhPopoverElement> {\n return this.popover;\n }\n\n /** Datepicker change event */\n @Event() stzhChange: EventEmitter<StzhDatepickerChangeEvent>;\n\n @Element() element: HTMLStzhDatepickerElement;\n\n /**\n * To format dates exclusively for the benefit of screen readers.\n *\n * We prefer DateTimeFormat over date.toLocaleDateString, as the former has\n * better performance when formatting large number of dates. See:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance\n */\n private dateFormatLong: Intl.DateTimeFormat;\n\n private input: HTMLStzhInputElement;\n private popover: HTMLStzhPopoverElement;\n // private calendar: HTMLStzhCalendarElement;\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChanged = () => {\n const parsedDate = this.dateAdapter.parse(this.input.value, \"dateInput\");\n\n if (this.input.value === \"\" || parsedDate) {\n const formattedDate = this._internalDateAdapter.format(parsedDate, \"dateInput\");\n\n if (this.value !== formattedDate) {\n this.value = formattedDate;\n } else {\n this.valueWatcher(formattedDate);\n }\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: parsedDate,\n });\n }\n };\n\n private onCalendarChange = (event: CustomEvent<StzhCalendarChangeEvent>) => {\n if (event.detail.component !== \"stzh-calendar\") {\n // Do not emit stzhChange event from year/month dropdowns\n event.stopPropagation();\n return;\n }\n\n this.value = event.detail.valueAsDate && this._internalDateAdapter.format(event.detail.valueAsDate, \"dateInput\");\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: event.detail.valueAsDate,\n });\n\n if (this.popover) {\n this.popover.hide();\n }\n };\n\n private updateButtonAccessibleLabel() {\n if (!this.localization) {\n return;\n }\n\n try {\n const valueAsDate = this._internalDateAdapter.parse(this.value, \"dateInput\");\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(valueAsDate)}`;\n } catch (err) {\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}`;\n }\n }\n\n connectedCallback() {\n this.createDateFormatters();\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"datepicker\");\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n this.internalDateAdapterWatcher(this.internalDateAdapter);\n this.valueWatcher(this.value);\n this.defaultValue = this.defaultValue || this.value;\n }\n\n render() {\n const actionUsed = hasSlot(this.element, \"action\");\n\n const classes = {\n \"stzh-datepicker\": true,\n \"stzh-datepicker--inline\": this.inline,\n \"stzh-datepicker--has-action\": actionUsed,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <input type=\"hidden\" name={this.name} value={this.value} defaultValue={this.defaultValue} />\n\n {this.inline && (\n <Fragment>\n <stzh-calendar\n // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n value={this.calendarValue}\n class=\"stzh-datepicker__calendar is-inline\"\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </Fragment>\n )}\n\n {!this.inline && (\n <stzh-input\n value={this.inputValue}\n label={this.label}\n labelHidden={this.labelHidden}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n noAutocomplete\n onStzhChanged={this.onInputChanged}\n readonly={this.readonly}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n hideOptional={this.hideOptional}\n size={this.size}\n >\n <stzh-popover\n ref={el => (this.popover = el as HTMLStzhPopoverElement)}\n class=\"stzh-datepicker__popover\"\n slot=\"button-right\"\n placement=\"bottom-end\"\n strategy=\"fixed\"\n label={this.label}\n >\n <stzh-button\n icon-only\n icon=\"calendar\"\n size={this.size}\n disabled={this.disabled}\n a11yLabel={this.buttonLabel}\n ></stzh-button>\n <div slot=\"content\">\n <stzh-calendar\n // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n value={this.calendarValue}\n class=\"stzh-datepicker__calendar is-popover\"\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n </stzh-popover>\n </stzh-input>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-9c59e8f6.js","mappings":";;;;;;;;;AAAA,MAAM,aAAa,GAAG,8zLAA8zL,CAAC;AACr1L,yBAAe,aAAa;;ACU5B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAE3C,IAAI,YAAY,GAAe,IAAI,CAAC;AACpC,IAAI,aAAa,GAAG,CAAC,CAAC;MAWT,UAAU;;;;;;QAuGb,sBAAiB,GAAG,CAAC,KAAiB;YAC5C,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;YAC3C,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,EAAE;gBAClC,IAAI,CAAC,IAAI,EAAE,CAAC;aACb;iBAAM;gBACL,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;gBAE3D,IAAI,OAAO,EAAE;oBACX,IAAI,CAAC,IAAI,EAAE,CAAC;iBACb;aACF;SACF,CAAC;QAEM,2BAAsB,GAAG;YAC/B,IAAI,CAAC,IAAI,EAAE,CAAC;SACb,CAAC;QAEM,SAAI,GAAG;YACb,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC;YAE3E,IAAI,OAAO,EAAE;gBACX,cAAc,CAAC,OAAO,EAAE;oBACtB,OAAO,EAAE,QAAQ;iBACQ,CAAC,CAAC;aAC9B;SACF,CAAC;;gCA3HkC,KAAK;oCAGD,KAAK;oBAGJ,KAAK;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BAAgB,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,GAChD,CAChB,CACG,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-dialog/stzh-dialog.scss?tag=stzh-dialog&encapsulation=scoped","src/components/stzh-dialog/stzh-dialog.tsx"],"sourcesContent":["/**\n * @prop --width: Width of dialog\n * @prop --padding-top: Padding top of dialog\n * @prop --padding-bottom: Padding bottom of dialog\n * @prop --padding-left: Padding left of dialog\n * @prop --padding-right: Padding right of dialog\n * @prop --backdrop-opacity: Opacity of dialog backdrop\n * @prop --backdrop-background-color: Opacity of dialog background color\n *\n * @prop --stzh-dialog-backdrop-opacity: **Global**: Opacity of backdrops\n * @prop --stzh-dialog-backdrop-background-color: **Global**: Background color of backdrops\n */\n\n:host {\n @include spaceCurve(\"--padding-top\", \"large\");\n @include spaceCurve(\"--padding-bottom\", \"large\");\n @include spaceCurve(\"--padding-left\", \"medium\");\n @include spaceCurve(\"--padding-right\", \"medium\");\n --width: 100%;\n --backdrop-opacity: #{$dialogBackdropOpacity};\n --backdrop-background-color: #{$dialogBackdropBackgroundColor};\n\n @include mq($from: small) {\n --width: 536px;\n }\n\n @include mq($from: medium) {\n --width: 610px; // 786 before\n }\n\n @include mq($from: large) {\n --width: 866px; // 832 before\n }\n\n @include mq($from: ultra) {\n --width: 888px;\n }\n\n &[size=\"small\"] {\n @include mq($from: small) {\n --width: 395px;\n }\n\n @include mq($from: medium) {\n --width: 460px;\n }\n\n @include mq($from: large) {\n --width: 512px;\n }\n }\n}\n\n.stzh-dialog {\n z-index: $zIndexDialog;\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n justify-content: stretch;\n\n &__content {\n z-index: 2;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-grow: 1;\n overflow: auto;\n }\n\n &__dialog {\n position: relative;\n display: flex;\n flex-direction: column;\n margin: auto;\n border: none;\n background-color: $colorWhite;\n width: auto;\n min-width: var(--width);\n max-width: 100%;\n box-shadow: $boxShadowOverlay;\n height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n outline: none;\n\n &--fit-content {\n width: fit-content;\n }\n\n @include mq($from: small) {\n height: auto;\n }\n }\n\n &__backdrop {\n z-index: 1;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n text-align: center;\n background-color: var(--backdrop-background-color);\n opacity: var(--backdrop-opacity);\n }\n\n &__heading {\n @include spaceCurve(\"padding-bottom\", \"regular\");\n padding-top: var(--padding-top);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n }\n\n &__dialog-content {\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n @include spaceCurve(\"padding-top\", \"medium\");\n @include spaceCurve(\"padding-bottom\", \"medium\");\n overflow: auto;\n flex-grow: 1;\n }\n\n &__actions {\n &:not(:empty) {\n padding: space(\"medium\") var(--padding-right) var(--padding-bottom)\n var(--padding-left);\n }\n }\n\n &__close-button {\n position: absolute;\n top: space(\"xsmall\");\n right: space(\"xsmall\");\n\n @include mq($from: medium) {\n top: space(\"large\");\n right: space(\"large\");\n }\n }\n\n &--is-open {\n display: flex;\n }\n}\n","import { Host, Component, Element, Method, Listen, Prop, Event, EventEmitter, h } from \"@stencil/core\";\n\nimport { StzhDialogOpenEvent, StzhDialogCloseEvent } from \"../../index\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\nimport { createBaseFocusTrapOptions } from \"../../utils/overlay-utils\";\n\nimport { StzhDialogLocalizedText } from \"./stzh-dialog.localization\";\n\nimport { createFocusTrap, FocusTrap } from \"focus-trap\";\n\nconst CLASS_BODY_OPEN = \"stzh-dialog-open\";\n\nlet activeDialog: StzhDialog = null;\nlet dialogCounter = 0;\n\n/**\n * @slot actions - Slot for actions element\n * @slot - Slot for any content inside the dialog\n */\n@Component({\n tag: \"stzh-dialog\",\n styleUrl: \"stzh-dialog.scss\",\n scoped: true,\n})\nexport class StzhDialog {\n /** Translation strings */\n @Prop() localization: StzhDialogLocalizedText;\n\n /** Close dialog when pressing ESC */\n @Prop() closeOnEscapeKey: boolean = false;\n\n /** Close dialog when clicking outside of it */\n @Prop() closeOnBackdropClick: boolean = false;\n\n /** Open status */\n @Prop({ mutable: true }) open: boolean = false;\n\n /** Stay in original position (true) or move to body (false) */\n @Prop() stay: boolean = true;\n\n /** Size */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether to hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Heading text\n * *mandatory* since DESI 4.0\n * */\n @Prop() heading: string = \"\";\n\n /** Accessibility role */\n @Prop({ attribute: \"a11y-role\" }) a11yRole: \"dialog\" | \"alertdialog\" = \"alertdialog\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the close button element.\n * Default value will be taken from translations.\n */\n @Prop() closeAnalyticsId: string;\n\n /** Dialog open event */\n @Event() stzhOpen: EventEmitter<StzhDialogOpenEvent>;\n\n /** Dialog close event */\n @Event() stzhClose: EventEmitter<StzhDialogCloseEvent>;\n\n @Element() element: HTMLStzhDialogElement;\n\n @Listen(\"click\", { target: \"document\", capture: true })\n handleOutsideClick(event: MouseEvent) {\n if (!this.open || !this.closeOnBackdropClick) {\n return;\n }\n\n const isClickOutside =\n event.target !== this.dialogElement && this.dialogElement.contains(event.target as HTMLElement) === false;\n\n if (isClickOutside) {\n this.hide();\n }\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeydown(event: KeyboardEvent) {\n if (event.key === \"Escape\" && activeDialog === this && this.closeOnEscapeKey) {\n this.hide();\n }\n }\n\n @Listen(\"click\", { target: \"document\" })\n handleOpenTriggerClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n\n if (target.dataset.stzhDialogTrigger === this.element.id) {\n this.show();\n } else {\n const closest = target.closest(\"[data-stzh-dialog-trigger]\") as HTMLElement;\n\n if (closest && closest.dataset.stzhDialogTrigger === this.element.id) {\n this.show();\n }\n }\n }\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-dialog\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-dialog\",\n });\n }\n\n private observer: MutationObserver;\n private id: string;\n private trap: FocusTrap;\n private parentElement: HTMLElement;\n private dialogElement: HTMLDivElement;\n\n private handleDialogClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n if (target.dataset.stzhDialogClose) {\n this.hide();\n } else {\n const closest = target.closest(\"[data-stzh-dialog-close]\");\n\n if (closest) {\n this.hide();\n }\n }\n };\n\n private handleCloseButtonClick = () => {\n this.hide();\n };\n\n private init = () => {\n const actions = this.element.querySelector('stzh-actions[slot=\"actions\"]');\n\n if (actions) {\n setPropsIfNull(actions, {\n variant: \"dialog\",\n } as HTMLStzhActionsElement);\n }\n };\n\n private getSiblings() {\n if (!this.parentElement) {\n return [];\n }\n\n return Array.from(this.parentElement.children).filter(child => child !== this.element);\n }\n\n private disableSiblings() {\n this.getSiblings().forEach(sibling => {\n sibling.setAttribute(\"aria-hidden\", \"true\");\n });\n }\n\n private enableSiblings() {\n this.getSiblings().forEach(sibling => {\n sibling.removeAttribute(\"aria-hidden\");\n });\n }\n\n private dialogShown() {\n activeDialog = this;\n document.body.classList.add(CLASS_BODY_OPEN);\n this.disableSiblings();\n\n if (this.trap) {\n this.trap.activate();\n }\n }\n\n private dialogHidden() {\n document.body.classList.remove(CLASS_BODY_OPEN);\n this.enableSiblings();\n\n if (this.trap) {\n this.trap.deactivate();\n }\n\n activeDialog = null;\n }\n\n async componentWillLoad() {\n this.id = `stzh-dialog-${dialogCounter}`;\n dialogCounter++;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"dialog\");\n }\n }\n\n componentDidRender() {\n this.open ? this.dialogShown() : this.dialogHidden();\n }\n\n componentDidUpdate() {\n this.trap.updateContainerElements(this.element);\n }\n\n componentDidLoad() {\n this.trap = createFocusTrap(this.element, {\n fallbackFocus: this.dialogElement,\n ...createBaseFocusTrapOptions(),\n });\n\n if (this.open) {\n this.dialogShown();\n }\n }\n\n connectedCallback() {\n if (!this.stay && this.element.parentElement !== document.body) {\n document.body.appendChild(this.element);\n }\n\n this.parentElement = this.element.parentElement;\n\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n this.dialogHidden();\n\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-dialog\": true,\n \"stzh-dialog--is-open\": this.open,\n \"stzh-dialog--has-heading\": !!this.heading,\n \"stzh-dialog--has-close-hidden\": this.hideClose,\n [`stzh-dialog--size-${this.size}`]: !!this.size,\n }}\n >\n <div class=\"stzh-dialog__backdrop\"></div>\n <div class=\"stzh-dialog__content\">\n <div\n class=\"stzh-dialog__dialog\"\n ref={el => (this.dialogElement = el as HTMLDivElement)}\n tabindex=\"-1\"\n role={this.a11yRole}\n aria-hidden={this.open ? \"false\" : \"true\"}\n onClick={this.handleDialogClick}\n >\n <stzh-heading id={`${this.id}-heading`} class=\"stzh-dialog__heading\" level=\"2\">\n {this.heading ? this.heading : \"Title\"}\n </stzh-heading>\n\n <div class=\"stzh-dialog__dialog-content\">\n <slot></slot>\n </div>\n\n <div class=\"stzh-dialog__actions\">\n <slot name=\"actions\"></slot>\n </div>\n\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-dialog__close-button\"\n variant=\"tertiary\"\n size=\"small\"\n icon=\"close\"\n iconOnly={true}\n onClick={this.handleCloseButtonClick}\n a11yLabel={this.localization.close}\n analyticsId={this.closeAnalyticsId || this.localization.close}\n ></stzh-button>\n )}\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,102 +0,0 @@
1
- import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-8f01554b.js';
2
-
3
- const stzhPiTeaserCss = "@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-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-h, [stzh-hidden].sc-stzh-pi-teaser-h {\n display: none;\n}\n.sc-stzh-pi-teaser-h::selection {\n color: var(--stzh-selection-color);\n background-color: var(--stzh-selection-background-color);\n}\n.sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::before, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::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-h .has-focus.sc-stzh-pi-teaser {\n outline: var(--stzh-flyingfocus-color) solid 0.125rem;\n outline-offset: 0.125rem;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser {\n outline-style: none !important;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser::-moz-focus-inner {\n border: 0 !important;\n}\n\n\n.sc-stzh-pi-teaser-h {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n var(--stzh-color-coolgrey10)\n );\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n}\n[image-position=top].sc-stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n}\n.sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n .sc-stzh-pi-teaser-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-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-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-h:not([has-lead]) .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n display: none;\n}\n[content-size=XL].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h:not([has-image]) .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n -webkit-line-clamp: 2;\n}\n@container (max-height: 235px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n}\n@container (min-height: 236px) and (max-height:349px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 47cqh 53cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n}\n@container (min-height: 350px) and (max-height:599px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 3;\n }\n}\n@container (min-height: 600px) and (max-height: 799px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n}\n@container (min-height: 800px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n}\n\n.stzh-pi-teaser.sc-stzh-pi-teaser {\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.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-large);\n }\n}\n@media screen and (min-width: 1600px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-ultra);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(8, minmax(0, 1fr));\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n }\n}\n.stzh-pi-teaser__text.sc-stzh-pi-teaser {\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__wrapper.sc-stzh-pi-teaser {\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__image.sc-stzh-pi-teaser {\n overflow: hidden;\n grid-area: image;\n}\n.stzh-pi-teaser__image.sc-stzh-pi-teaser > img.sc-stzh-pi-teaser {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.stzh-pi-teaser__dateline.sc-stzh-pi-teaser {\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__title-wrapper.sc-stzh-pi-teaser {\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__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-xlarge);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n.stzh-pi-teaser__title.sc-stzh-pi-teaser {\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__title-link.sc-stzh-pi-teaser {\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__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xlarge);\n }\n}\n.stzh-pi-teaser__lead.sc-stzh-pi-teaser {\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__lead.sc-stzh-pi-teaser {\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__lead.sc-stzh-pi-teaser {\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__date.sc-stzh-pi-teaser {\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}";
4
- const StzhPiTeaserStyle0 = stzhPiTeaserCss;
5
-
6
- const StzhPiTeaser = /*@__PURE__*/ proxyCustomElement(class StzhPiTeaser extends H {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- this.stzhClick = createEvent(this, "stzhClick", 7);
11
- this.handleCardClick = (originalEvent) => {
12
- this.stzhClick.emit({
13
- component: "stzh-pi-teaser",
14
- originalEvent,
15
- href: this.href,
16
- });
17
- };
18
- this.href = undefined;
19
- this.target = undefined;
20
- this.analyticsId = undefined;
21
- this.dateline = "";
22
- this.heading = "";
23
- this.imageSrc = undefined;
24
- this.headingLevel = "3";
25
- this.lead = "";
26
- this.date = "";
27
- this.contentSize = "M";
28
- this.imagePosition = undefined;
29
- this.isHero = undefined;
30
- }
31
- // private truncateLead(text: string, max: number): string {
32
- // console.log(max);
33
- // if (!text) return "";
34
- // if (text.length <= max) return text;
35
- // let cut = text.slice(0, max);
36
- // const backtracked = cut.replace(/\s+\S*$/, "");
37
- // if (backtracked.length >= Math.floor(max * 0.6)) {
38
- // cut = backtracked;
39
- // }
40
- // cut = cut.replace(/[\s.,;:!?\-–—]+$/, "");
41
- // return cut + "…";
42
- // }
43
- componentDidRender() {
44
- requestAnimationFrame(() => {
45
- var _a, _b;
46
- const objectId = this.analyticsId || ((_a = this.headingTextElement) === null || _a === void 0 ? void 0 : _a.innerText);
47
- if (objectId) {
48
- (_b = this.titleLinkElement) === null || _b === void 0 ? void 0 : _b.setAttribute("s-object-id", objectId);
49
- }
50
- });
51
- }
52
- renderHeading() {
53
- const Heading = `h${this.headingLevel}`;
54
- const TitleLink = this.href ? "a" : "button";
55
- return (h("div", { class: "stzh-pi-teaser__title-wrapper" }, h(Heading, { class: "stzh-pi-teaser__title" }, h(TitleLink, { ref: el => (this.titleLinkElement = el), class: "stzh-pi-teaser__title-link", href: this.href, target: this.target, onClick: this.handleCardClick }, h("div", { ref: el => (this.headingTextElement = el) }, this.heading)))));
56
- }
57
- render() {
58
- const hasLead = !!this.lead;
59
- const hasImage = !!this.imageSrc && !!this.imagePosition;
60
- const displayLead = this.lead;
61
- // ? this.truncateLead(this.lead, this.contentSize == "XL" || this.contentSize == "L" ? 260 : 160)
62
- // : "";
63
- const classes = {
64
- "stzh-pi-teaser": true,
65
- "stzh-pi-teaser--has-lead": hasLead,
66
- "stzh-pi-teaser--has-image": hasImage,
67
- };
68
- return (h(Host, { key: 'd9c3d58e879188890dd07823bb996f2de93651a2', "has-lead": hasLead, "has-image": hasImage, "image-position": this.imagePosition, "content-size": this.contentSize }, h("article", { key: '47791c89f8cbe92744e387bf4cb8eba93c067ed4', class: classes, "aria-label": this.heading, role: "listitem" }, hasImage && (h("div", { key: 'aa88aa3f4552a95cac98acdc505faf510d4fdde6', class: "stzh-pi-teaser__image" }, h("img", { key: '786a92cef49dcb7a37f472be30ea4d55710f204e', src: this.imageSrc, alt: "Example image" }))), h("div", { key: '0c49e95677fd68a72be31554fb4998a9b86ba08a', class: "stzh-pi-teaser__wrapper" }, h("div", { key: '324a03003b28d579fb46c7e047433b99e5ee453e', class: "stzh-pi-teaser__text" }, this.dateline && h("p", { key: 'e49a94c945e5d3e1e5a3d9efac84ef8550f8d310', class: "stzh-pi-teaser__dateline" }, this.dateline), this.renderHeading(), h("div", { key: '0623aadddea2c2e163abeb7b4495f475cf12f331', class: "stzh-pi-teaser__lead-wrapper" }, h("div", { key: 'a7ab6f1d9a5a785f758815a7599ba7f1534dd2d3', class: "stzh-pi-teaser__lead" }, displayLead)), this.date && h("div", { key: '79f7849f4585f3f60c918e9379c28efbcc5d026a', class: "stzh-pi-teaser__date" }, this.date))))));
69
- }
70
- get element() { return this; }
71
- static get style() { return StzhPiTeaserStyle0; }
72
- }, [2, "stzh-pi-teaser", {
73
- "href": [513],
74
- "target": [1],
75
- "analyticsId": [1, "analytics-id"],
76
- "dateline": [1],
77
- "heading": [1],
78
- "imageSrc": [1, "image-src"],
79
- "headingLevel": [1, "heading-level"],
80
- "lead": [1],
81
- "date": [1],
82
- "contentSize": [1, "content-size"],
83
- "imagePosition": [1, "image-position"],
84
- "isHero": [4, "is-hero"]
85
- }]);
86
- function defineCustomElement() {
87
- if (typeof customElements === "undefined") {
88
- return;
89
- }
90
- const components = ["stzh-pi-teaser"];
91
- components.forEach(tagName => { switch (tagName) {
92
- case "stzh-pi-teaser":
93
- if (!customElements.get(tagName)) {
94
- customElements.define(tagName, StzhPiTeaser);
95
- }
96
- break;
97
- } });
98
- }
99
-
100
- export { StzhPiTeaser as S, defineCustomElement as d };
101
-
102
- //# sourceMappingURL=p-c22c1bb9.js.map
@@ -1 +0,0 @@
1
- {"file":"p-c22c1bb9.js","mappings":";;AAAA,MAAM,eAAe,GAAG,inYAAinY,CAAC;AAC1oY,2BAAe,eAAe;;MCajB,YAAY;;;;;QAgDf,oBAAe,GAAG,CAAC,aAAyB;YAClD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,gBAAgB;gBAC3B,aAAa;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;aAChB,CAAC,CAAC;SACJ,CAAC;;;;wBAvCyB,EAAE;uBAGH,EAAE;;4BAMkB,GAAG;oBAG1B,EAAE;oBAGF,EAAE;2BAG4B,GAAG;;;;;;;;;;;;;;;;IAoCxD,kBAAkB;QAChB,qBAAqB,CAAC;;YACpB,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,KAAI,MAAA,IAAI,CAAC,kBAAkB,0CAAE,SAAS,CAAA,C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AI,EAAC,UAAU,IAC/D,QAAQ,KACP,4DAAK,KAAK,EAAC,uBAAuB,IAChC,4DAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAC,eAAe,GAAG,CAC3C,CACP,EAED,4DAAK,KAAK,EAAC,yBAAyB,IAClC,4DAAK,KAAK,EAAE,sBAAsB,IAC/B,IAAI,CAAC,QAAQ,IAAI,0DAAG,KAAK,EAAC,0BAA0B,IAAE,IAAI,CAAC,QAAQ,CAAK,EACxE,IAAI,CAAC,aAAa,EAAE,EACrB,4DAAK,KAAK,EAAC,8BAA8B,IACvC,4DAAK,KAAK,EAAC,sBAAsB,IAAE,WAAW,CAAO,CACjD,EACL,IAAI,CAAC,IAAI,IAAI,4DAAK,KAAK,EAAC,sBAAsB,IAAE,IAAI,CAAC,IAAI,CAAO,CAC7D,CACF,CACE,CACL,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.scss?tag=stzh-pi-teaser&encapsulation=scoped","src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n #{$colorCoolgrey10}\n );\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(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-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__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\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 {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\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 {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\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 {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser {\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(\n --grid-template-areas-no-image,\n var(--grid-template-areas)\n );\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}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserClickEvent } 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\",\n styleUrl: \"stzh-pi-teaser.scss\",\n scoped: true,\n})\nexport class StzhPiTeaser {\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 @Prop() isHero: boolean;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserClickEvent>;\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\",\n originalEvent,\n href: this.href,\n });\n };\n\n // private truncateLead(text: string, max: number): string {\n // console.log(max);\n // if (!text) return \"\";\n // if (text.length <= max) return text;\n\n // let cut = text.slice(0, max);\n // const backtracked = cut.replace(/\\s+\\S*$/, \"\");\n // if (backtracked.length >= Math.floor(max * 0.6)) {\n // cut = backtracked;\n // }\n // cut = cut.replace(/[\\s.,;:!?\\-–—]+$/, \"\");\n // return cut + \"…\";\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__title-wrapper\">\n <Heading class=\"stzh-pi-teaser__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser__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 const hasImage = !!this.imageSrc && !!this.imagePosition;\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\": true,\n \"stzh-pi-teaser--has-lead\": hasLead,\n \"stzh-pi-teaser--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__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser__wrapper\">\n <div class={\"stzh-pi-teaser__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser__lead-wrapper\">\n <div class=\"stzh-pi-teaser__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,2 +0,0 @@
1
- import{r as e,c as t,h as n,a as s,g as i}from"./p-ef5985a3.js";const a='@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-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-h, [stzh-hidden].sc-stzh-pi-teaser-h {\n display: none;\n}\n.sc-stzh-pi-teaser-h::selection {\n color: var(--stzh-selection-color);\n background-color: var(--stzh-selection-background-color);\n}\n.sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::before, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::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-h .has-focus.sc-stzh-pi-teaser {\n outline: var(--stzh-flyingfocus-color) solid 0.125rem;\n outline-offset: 0.125rem;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser {\n outline-style: none !important;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser::-moz-focus-inner {\n border: 0 !important;\n}\n\n\n.sc-stzh-pi-teaser-h {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n var(--stzh-color-coolgrey10)\n );\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n}\n[image-position=top].sc-stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-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-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "text text text text text text image image image image image image"\n );\n }\n}\n.sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n .sc-stzh-pi-teaser-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-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-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-h:not([has-lead]) .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n display: none;\n}\n[content-size=XL].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\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-h:not([has-image]) .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n -webkit-line-clamp: 2;\n}\n@container (max-height: 235px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n}\n@container (min-height: 236px) and (max-height:349px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 47cqh 53cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n}\n@container (min-height: 350px) and (max-height:599px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 3;\n }\n}\n@container (min-height: 600px) and (max-height: 799px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n}\n@container (min-height: 800px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n}\n\n.stzh-pi-teaser.sc-stzh-pi-teaser {\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.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-large);\n }\n}\n@media screen and (min-width: 1600px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-ultra);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(8, minmax(0, 1fr));\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n }\n}\n.stzh-pi-teaser__text.sc-stzh-pi-teaser {\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__wrapper.sc-stzh-pi-teaser {\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__image.sc-stzh-pi-teaser {\n overflow: hidden;\n grid-area: image;\n}\n.stzh-pi-teaser__image.sc-stzh-pi-teaser > img.sc-stzh-pi-teaser {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.stzh-pi-teaser__dateline.sc-stzh-pi-teaser {\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__title-wrapper.sc-stzh-pi-teaser {\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__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-xlarge);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n.stzh-pi-teaser__title.sc-stzh-pi-teaser {\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__title-link.sc-stzh-pi-teaser {\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__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xlarge);\n }\n}\n.stzh-pi-teaser__lead.sc-stzh-pi-teaser {\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__lead.sc-stzh-pi-teaser {\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__lead.sc-stzh-pi-teaser {\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__date.sc-stzh-pi-teaser {\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}';const r=a;const h=class{constructor(n){e(this,n);this.stzhClick=t(this,"stzhClick",7);this.handleCardClick=e=>{this.stzhClick.emit({component:"stzh-pi-teaser",originalEvent:e,href:this.href})};this.href=undefined;this.target=undefined;this.analyticsId=undefined;this.dateline="";this.heading="";this.imageSrc=undefined;this.headingLevel="3";this.lead="";this.date="";this.contentSize="M";this.imagePosition=undefined;this.isHero=undefined}componentDidRender(){requestAnimationFrame((()=>{var e,t;const n=this.analyticsId||((e=this.headingTextElement)===null||e===void 0?void 0:e.innerText);if(n){(t=this.titleLinkElement)===null||t===void 0?void 0:t.setAttribute("s-object-id",n)}}))}renderHeading(){const e=`h${this.headingLevel}`;const t=this.href?"a":"button";return n("div",{class:"stzh-pi-teaser__title-wrapper"},n(e,{class:"stzh-pi-teaser__title"},n(t,{ref:e=>this.titleLinkElement=e,class:"stzh-pi-teaser__title-link",href:this.href,target:this.target,onClick:this.handleCardClick},n("div",{ref:e=>this.headingTextElement=e},this.heading))))}render(){const e=!!this.lead;const t=!!this.imageSrc&&!!this.imagePosition;const i=this.lead;const a={"stzh-pi-teaser":true,"stzh-pi-teaser--has-lead":e,"stzh-pi-teaser--has-image":t};return n(s,{key:"d9c3d58e879188890dd07823bb996f2de93651a2","has-lead":e,"has-image":t,"image-position":this.imagePosition,"content-size":this.contentSize},n("article",{key:"47791c89f8cbe92744e387bf4cb8eba93c067ed4",class:a,"aria-label":this.heading,role:"listitem"},t&&n("div",{key:"aa88aa3f4552a95cac98acdc505faf510d4fdde6",class:"stzh-pi-teaser__image"},n("img",{key:"786a92cef49dcb7a37f472be30ea4d55710f204e",src:this.imageSrc,alt:"Example image"})),n("div",{key:"0c49e95677fd68a72be31554fb4998a9b86ba08a",class:"stzh-pi-teaser__wrapper"},n("div",{key:"324a03003b28d579fb46c7e047433b99e5ee453e",class:"stzh-pi-teaser__text"},this.dateline&&n("p",{key:"e49a94c945e5d3e1e5a3d9efac84ef8550f8d310",class:"stzh-pi-teaser__dateline"},this.dateline),this.renderHeading(),n("div",{key:"0623aadddea2c2e163abeb7b4495f475cf12f331",class:"stzh-pi-teaser__lead-wrapper"},n("div",{key:"a7ab6f1d9a5a785f758815a7599ba7f1534dd2d3",class:"stzh-pi-teaser__lead"},i)),this.date&&n("div",{key:"79f7849f4585f3f60c918e9379c28efbcc5d026a",class:"stzh-pi-teaser__date"},this.date)))))}get element(){return i(this)}};h.style=r;export{h as stzh_pi_teaser};
2
- //# sourceMappingURL=p-07f2765c.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["stzhPiTeaserCss","StzhPiTeaserStyle0","StzhPiTeaser","this","handleCardClick","originalEvent","stzhClick","emit","component","href","componentDidRender","requestAnimationFrame","objectId","analyticsId","_a","headingTextElement","innerText","_b","titleLinkElement","setAttribute","renderHeading","Heading","headingLevel","TitleLink","h","class","ref","el","target","onClick","heading","render","hasLead","lead","hasImage","imageSrc","imagePosition","displayLead","classes","Host","key","contentSize","role","src","alt","dateline","date"],"sources":["src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.scss?tag=stzh-pi-teaser&encapsulation=scoped","src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n #{$colorCoolgrey10}\n );\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(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-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(\n --stzh-pi-teaser-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__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\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 {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\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 {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\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 {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser {\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(\n --grid-template-areas-no-image,\n var(--grid-template-areas)\n );\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}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserClickEvent } 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\",\n styleUrl: \"stzh-pi-teaser.scss\",\n scoped: true,\n})\nexport class StzhPiTeaser {\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 @Prop() isHero: boolean;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserClickEvent>;\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\",\n originalEvent,\n href: this.href,\n });\n };\n\n // private truncateLead(text: string, max: number): string {\n // console.log(max);\n // if (!text) return \"\";\n // if (text.length <= max) return text;\n\n // let cut = text.slice(0, max);\n // const backtracked = cut.replace(/\\s+\\S*$/, \"\");\n // if (backtracked.length >= Math.floor(max * 0.6)) {\n // cut = backtracked;\n // }\n // cut = cut.replace(/[\\s.,;:!?\\-–—]+$/, \"\");\n // return cut + \"…\";\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__title-wrapper\">\n <Heading class=\"stzh-pi-teaser__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser__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 const hasImage = !!this.imageSrc && !!this.imagePosition;\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\": true,\n \"stzh-pi-teaser--has-lead\": hasLead,\n \"stzh-pi-teaser--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__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser__wrapper\">\n <div class={\"stzh-pi-teaser__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser__lead-wrapper\">\n <div class=\"stzh-pi-teaser__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"mappings":"gEAAA,MAAMA,EAAkB,wlYACxB,MAAAC,EAAeD,E,MCaFE,EAAY,M,8DAgDfC,KAAAC,gBAAmBC,IACzBF,KAAKG,UAAUC,KAAK,CAClBC,UAAW,iBACXH,gBACAI,KAAMN,KAAKM,MACX,E,mFAtCuB,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