@oiz/stzh-components 4.12.0 → 4.12.1-beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (835) hide show
  1. package/dist/cjs/{index-B_-bUbew.js → index-N0ol04NL.js} +3 -3
  2. package/dist/cjs/{index-B_-bUbew.js.map → index-N0ol04NL.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  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 +1 -1
  33. package/dist/cjs/stzh-container_2.cjs.entry.js +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 +1 -1
  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-datatable.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  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 +1 -1
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  46. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  66. package/dist/cjs/{stzh-input-description-BPIouoN2.js → stzh-input-description-Dbubu75V.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-BPIouoN2.js.map → stzh-input-description-Dbubu75V.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +42 -8
  69. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  137. package/dist/collection/components/stzh-input/stzh-input.js +43 -7
  138. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  139. package/dist/components/index.js +2 -2
  140. package/dist/components/{p-C5GxUCJA.js → p-5iYOoBns.js} +3 -3
  141. package/dist/components/{p-C5GxUCJA.js.map → p-5iYOoBns.js.map} +1 -1
  142. package/dist/components/{p-B4QrfbDx.js → p-8vUD5Pvs.js} +52 -16
  143. package/dist/components/p-8vUD5Pvs.js.map +1 -0
  144. package/dist/components/{p-Dbk6dw-_.js → p-B-Td5eEF.js} +3 -3
  145. package/dist/components/{p-Dbk6dw-_.js.map → p-B-Td5eEF.js.map} +1 -1
  146. package/dist/components/{p-DFSLatAY.js → p-B0HsC5lT.js} +3 -3
  147. package/dist/components/{p-DFSLatAY.js.map → p-B0HsC5lT.js.map} +1 -1
  148. package/dist/components/{p-ADyL1d9w.js → p-B2I6UGb-.js} +3 -3
  149. package/dist/components/{p-ADyL1d9w.js.map → p-B2I6UGb-.js.map} +1 -1
  150. package/dist/components/{p-6eURMZzo.js → p-B5bRe2QR.js} +3 -3
  151. package/dist/components/{p-6eURMZzo.js.map → p-B5bRe2QR.js.map} +1 -1
  152. package/dist/components/{p-YtvrJDZu.js → p-B6XvNGiA.js} +6 -6
  153. package/dist/components/{p-YtvrJDZu.js.map → p-B6XvNGiA.js.map} +1 -1
  154. package/dist/components/{p-Ci1SNC6M.js → p-B9l_iEm8.js} +3 -3
  155. package/dist/components/{p-Ci1SNC6M.js.map → p-B9l_iEm8.js.map} +1 -1
  156. package/dist/components/{p-Dn5XQ8Jt.js → p-BA-k3iZ-.js} +5 -5
  157. package/dist/components/{p-Dn5XQ8Jt.js.map → p-BA-k3iZ-.js.map} +1 -1
  158. package/dist/components/{p-4qepo_hh.js → p-BHnUxFJO.js} +3 -3
  159. package/dist/components/{p-4qepo_hh.js.map → p-BHnUxFJO.js.map} +1 -1
  160. package/dist/components/{p-B0PAD47I.js → p-BKzN4XU2.js} +4 -4
  161. package/dist/components/{p-B0PAD47I.js.map → p-BKzN4XU2.js.map} +1 -1
  162. package/dist/components/{p-ClqJSCas.js → p-BS1D_VQu.js} +4 -4
  163. package/dist/components/{p-ClqJSCas.js.map → p-BS1D_VQu.js.map} +1 -1
  164. package/dist/components/{p-DZquFVcX.js → p-BSx9yT8P.js} +3 -3
  165. package/dist/components/{p-DZquFVcX.js.map → p-BSx9yT8P.js.map} +1 -1
  166. package/dist/components/{p-BqQxOwe5.js → p-BWt1OlCP.js} +5 -5
  167. package/dist/components/{p-BqQxOwe5.js.map → p-BWt1OlCP.js.map} +1 -1
  168. package/dist/components/{p-BoTHhkPJ.js → p-BcfJQ2iG.js} +9 -9
  169. package/dist/components/{p-BoTHhkPJ.js.map → p-BcfJQ2iG.js.map} +1 -1
  170. package/dist/components/{p-D8g_X4vx.js → p-BopctUFy.js} +7 -7
  171. package/dist/components/{p-D8g_X4vx.js.map → p-BopctUFy.js.map} +1 -1
  172. package/dist/components/{p-CNIvCFmS.js → p-Bouerm1u.js} +5 -5
  173. package/dist/components/{p-CNIvCFmS.js.map → p-Bouerm1u.js.map} +1 -1
  174. package/dist/components/{p-BgQmHniF.js → p-BphPIp_9.js} +6 -6
  175. package/dist/components/{p-BgQmHniF.js.map → p-BphPIp_9.js.map} +1 -1
  176. package/dist/components/{p-BRImIyGj.js → p-Bq8KQiri.js} +3 -3
  177. package/dist/components/{p-BRImIyGj.js.map → p-Bq8KQiri.js.map} +1 -1
  178. package/dist/components/{p-H7Lh2Bgs.js → p-C4RWomy3.js} +3 -3
  179. package/dist/components/{p-H7Lh2Bgs.js.map → p-C4RWomy3.js.map} +1 -1
  180. package/dist/components/{p-B1hAnOW_.js → p-C4ew4BWF.js} +7 -7
  181. package/dist/components/{p-B1hAnOW_.js.map → p-C4ew4BWF.js.map} +1 -1
  182. package/dist/components/{p-EnVb6m-B.js → p-C7Wum7Zf.js} +3 -3
  183. package/dist/components/{p-EnVb6m-B.js.map → p-C7Wum7Zf.js.map} +1 -1
  184. package/dist/components/{p-DropTKrS.js → p-C8p_ftK9.js} +3 -3
  185. package/dist/components/{p-DropTKrS.js.map → p-C8p_ftK9.js.map} +1 -1
  186. package/dist/components/{p-BHaqxQEc.js → p-C9g8C0mi.js} +4 -4
  187. package/dist/components/{p-BHaqxQEc.js.map → p-C9g8C0mi.js.map} +1 -1
  188. package/dist/components/{p-Cj1zS9Yk.js → p-CK7gMyRU.js} +3 -3
  189. package/dist/components/{p-Cj1zS9Yk.js.map → p-CK7gMyRU.js.map} +1 -1
  190. package/dist/components/{p-CwEhkBGD.js → p-CLC2TbXk.js} +7 -7
  191. package/dist/components/{p-CwEhkBGD.js.map → p-CLC2TbXk.js.map} +1 -1
  192. package/dist/components/{p-C7ZmIU6n.js → p-CPrTAi5M.js} +3 -3
  193. package/dist/components/{p-C7ZmIU6n.js.map → p-CPrTAi5M.js.map} +1 -1
  194. package/dist/components/{p-BfZiNeqm.js → p-CVwbuuw7.js} +8 -8
  195. package/dist/components/{p-BfZiNeqm.js.map → p-CVwbuuw7.js.map} +1 -1
  196. package/dist/components/{p-Bo_lYzLZ.js → p-Cb-REzD8.js} +7 -7
  197. package/dist/components/{p-Bo_lYzLZ.js.map → p-Cb-REzD8.js.map} +1 -1
  198. package/dist/components/{p-DBjA2pn_.js → p-CdY_9ADR.js} +3 -3
  199. package/dist/components/{p-DBjA2pn_.js.map → p-CdY_9ADR.js.map} +1 -1
  200. package/dist/components/{p-CVdrbqL8.js → p-Cg0FICEV.js} +12 -12
  201. package/dist/components/{p-CVdrbqL8.js.map → p-Cg0FICEV.js.map} +1 -1
  202. package/dist/components/{p-DxJkSvpK.js → p-CjdErtj_.js} +7 -7
  203. package/dist/components/{p-DxJkSvpK.js.map → p-CjdErtj_.js.map} +1 -1
  204. package/dist/components/{p-BPVsYhNs.js → p-CnJ7i4Ge.js} +3 -3
  205. package/dist/components/{p-BPVsYhNs.js.map → p-CnJ7i4Ge.js.map} +1 -1
  206. package/dist/components/{p-D2BM3CAF.js → p-Cq0yCqAz.js} +4 -4
  207. package/dist/components/{p-D2BM3CAF.js.map → p-Cq0yCqAz.js.map} +1 -1
  208. package/dist/components/{p-DPifMYh1.js → p-CtfINZeC.js} +3 -3
  209. package/dist/components/{p-DPifMYh1.js.map → p-CtfINZeC.js.map} +1 -1
  210. package/dist/components/{p-Ms692OrL.js → p-CzWLgw4z.js} +11 -11
  211. package/dist/components/{p-Ms692OrL.js.map → p-CzWLgw4z.js.map} +1 -1
  212. package/dist/components/{p-t0MQMh96.js → p-CzvAx4N0.js} +3 -3
  213. package/dist/components/{p-t0MQMh96.js.map → p-CzvAx4N0.js.map} +1 -1
  214. package/dist/components/{p-DvMakgGn.js → p-D6v9nUys.js} +6 -6
  215. package/dist/components/{p-DvMakgGn.js.map → p-D6v9nUys.js.map} +1 -1
  216. package/dist/components/{p-DG3_bl_f.js → p-DGZVtVjz.js} +4 -4
  217. package/dist/components/{p-DG3_bl_f.js.map → p-DGZVtVjz.js.map} +1 -1
  218. package/dist/components/{p-qxq3j0na.js → p-DMh6Sy1I.js} +9 -9
  219. package/dist/components/{p-qxq3j0na.js.map → p-DMh6Sy1I.js.map} +1 -1
  220. package/dist/components/{p-BeuQJv8J.js → p-DONIQb7T.js} +4 -4
  221. package/dist/components/{p-BeuQJv8J.js.map → p-DONIQb7T.js.map} +1 -1
  222. package/dist/components/{p-ChMGYfCJ.js → p-DOs1ZWHT.js} +7 -7
  223. package/dist/components/{p-ChMGYfCJ.js.map → p-DOs1ZWHT.js.map} +1 -1
  224. package/dist/components/{p-CU8kKUrp.js → p-DWVF3j-K.js} +3 -3
  225. package/dist/components/{p-CU8kKUrp.js.map → p-DWVF3j-K.js.map} +1 -1
  226. package/dist/components/{p-By3HNKZ9.js → p-DX6blqyR.js} +7 -7
  227. package/dist/components/{p-By3HNKZ9.js.map → p-DX6blqyR.js.map} +1 -1
  228. package/dist/components/{p-X46RDuY9.js → p-DajXzNIS.js} +3 -3
  229. package/dist/components/{p-X46RDuY9.js.map → p-DajXzNIS.js.map} +1 -1
  230. package/dist/components/{p-D82evlE7.js → p-DbtxIjHJ.js} +12 -12
  231. package/dist/components/{p-D82evlE7.js.map → p-DbtxIjHJ.js.map} +1 -1
  232. package/dist/components/{p-B5tB8aym.js → p-DcQjVFab.js} +3 -3
  233. package/dist/components/{p-B5tB8aym.js.map → p-DcQjVFab.js.map} +1 -1
  234. package/dist/components/{p-CXSupSpi.js → p-DehXKx39.js} +7 -7
  235. package/dist/components/{p-CXSupSpi.js.map → p-DehXKx39.js.map} +1 -1
  236. package/dist/components/{p-COskn4RU.js → p-Di88jQY_.js} +10 -10
  237. package/dist/components/{p-COskn4RU.js.map → p-Di88jQY_.js.map} +1 -1
  238. package/dist/components/{p-Crjc0_Pz.js → p-DjTm4fFR.js} +3 -3
  239. package/dist/components/{p-Crjc0_Pz.js.map → p-DjTm4fFR.js.map} +1 -1
  240. package/dist/components/{p-XSFDlYKx.js → p-DmE9OpGH.js} +3 -3
  241. package/dist/components/{p-XSFDlYKx.js.map → p-DmE9OpGH.js.map} +1 -1
  242. package/dist/components/{p-C_cxk9RY.js → p-Dn5GUbNz.js} +7 -7
  243. package/dist/components/{p-C_cxk9RY.js.map → p-Dn5GUbNz.js.map} +1 -1
  244. package/dist/components/{p-DnmvEKvQ.js → p-DsHYayb4.js} +5 -5
  245. package/dist/components/{p-DnmvEKvQ.js.map → p-DsHYayb4.js.map} +1 -1
  246. package/dist/components/{p-DW10PQbf.js → p-DvQXjdsB.js} +4 -4
  247. package/dist/components/{p-DW10PQbf.js.map → p-DvQXjdsB.js.map} +1 -1
  248. package/dist/components/{p-xXoQzT_3.js → p-H9Yh6P94.js} +11 -11
  249. package/dist/components/{p-xXoQzT_3.js.map → p-H9Yh6P94.js.map} +1 -1
  250. package/dist/components/{p-pctV0Gj2.js → p-KSZ8qiZE.js} +10 -10
  251. package/dist/components/{p-pctV0Gj2.js.map → p-KSZ8qiZE.js.map} +1 -1
  252. package/dist/components/{p-CQ5Rgo2v.js → p-RMVTGhIS.js} +8 -8
  253. package/dist/components/{p-CQ5Rgo2v.js.map → p-RMVTGhIS.js.map} +1 -1
  254. package/dist/components/{p-CFlL5zCd.js → p-SGLayYK3.js} +3 -3
  255. package/dist/components/{p-CFlL5zCd.js.map → p-SGLayYK3.js.map} +1 -1
  256. package/dist/components/{p-wdknGSf8.js → p-SyDKOxzb.js} +3 -3
  257. package/dist/components/{p-wdknGSf8.js.map → p-SyDKOxzb.js.map} +1 -1
  258. package/dist/components/{p-DhT_Fmme.js → p-UU-uJ6rm.js} +6 -6
  259. package/dist/components/{p-DhT_Fmme.js.map → p-UU-uJ6rm.js.map} +1 -1
  260. package/dist/components/{p-C_jdtWlT.js → p-VpVgAuYa.js} +3 -3
  261. package/dist/components/{p-C_jdtWlT.js.map → p-VpVgAuYa.js.map} +1 -1
  262. package/dist/components/{p-D0B30t54.js → p-XSAPGv74.js} +3 -3
  263. package/dist/components/{p-D0B30t54.js.map → p-XSAPGv74.js.map} +1 -1
  264. package/dist/components/{p-8HdKT3_D.js → p-dZ-dwebM.js} +11 -11
  265. package/dist/components/{p-8HdKT3_D.js.map → p-dZ-dwebM.js.map} +1 -1
  266. package/dist/components/{p-BPjfBYp8.js → p-nQojTf6Q.js} +3 -3
  267. package/dist/components/{p-BPjfBYp8.js.map → p-nQojTf6Q.js.map} +1 -1
  268. package/dist/components/{p-BCKlDT10.js → p-o34Djtsg.js} +6 -6
  269. package/dist/components/{p-BCKlDT10.js.map → p-o34Djtsg.js.map} +1 -1
  270. package/dist/components/{p-xhu94bYw.js → p-pWmESorT.js} +3 -3
  271. package/dist/components/{p-xhu94bYw.js.map → p-pWmESorT.js.map} +1 -1
  272. package/dist/components/{p-BmkW_Y9y.js → p-ulFcx8BE.js} +5 -5
  273. package/dist/components/{p-BmkW_Y9y.js.map → p-ulFcx8BE.js.map} +1 -1
  274. package/dist/components/{p-CK65LG9N.js → p-zoQGoMI3.js} +3 -3
  275. package/dist/components/{p-CK65LG9N.js.map → p-zoQGoMI3.js.map} +1 -1
  276. package/dist/components/stzh-accordion-item.js +1 -1
  277. package/dist/components/stzh-accordion.js +1 -1
  278. package/dist/components/stzh-actions.js +1 -1
  279. package/dist/components/stzh-actionset.js +1 -1
  280. package/dist/components/stzh-amount.js +9 -9
  281. package/dist/components/stzh-anchornav.js +5 -5
  282. package/dist/components/stzh-app-nav.js +1 -1
  283. package/dist/components/stzh-appointments.js +13 -13
  284. package/dist/components/stzh-archivelist.js +7 -7
  285. package/dist/components/stzh-audio.js +5 -5
  286. package/dist/components/stzh-badge.js +1 -1
  287. package/dist/components/stzh-banner.js +4 -4
  288. package/dist/components/stzh-breadcrumb.js +1 -1
  289. package/dist/components/stzh-button.js +1 -1
  290. package/dist/components/stzh-buttongroup.js +1 -1
  291. package/dist/components/stzh-calendar.js +1 -1
  292. package/dist/components/stzh-card-navigation.js +2 -2
  293. package/dist/components/stzh-card-searchresult.js +14 -14
  294. package/dist/components/stzh-card-superteaser.js +14 -14
  295. package/dist/components/stzh-card.js +1 -1
  296. package/dist/components/stzh-cardlist.js +1 -1
  297. package/dist/components/stzh-carousel.js +1 -1
  298. package/dist/components/stzh-cell.js +1 -1
  299. package/dist/components/stzh-chart.js +1 -1
  300. package/dist/components/stzh-checkbox.js +1 -1
  301. package/dist/components/stzh-checkboxgroup.js +5 -5
  302. package/dist/components/stzh-chip.js +1 -1
  303. package/dist/components/stzh-chipgroup.js +1 -1
  304. package/dist/components/stzh-chipselect.js +1 -1
  305. package/dist/components/stzh-clamp.js +1 -1
  306. package/dist/components/stzh-company-logo.js +1 -1
  307. package/dist/components/stzh-contact-cv.js +4 -4
  308. package/dist/components/stzh-contact.js +10 -10
  309. package/dist/components/stzh-container.js +1 -1
  310. package/dist/components/stzh-content.js +1 -1
  311. package/dist/components/stzh-cspace.js +1 -1
  312. package/dist/components/stzh-cta.js +3 -3
  313. package/dist/components/stzh-datalist-item.js +1 -1
  314. package/dist/components/stzh-datalist.js +1 -1
  315. package/dist/components/stzh-datamessagelist-item.js +11 -11
  316. package/dist/components/stzh-datamessagelist.js +1 -1
  317. package/dist/components/stzh-datatable.js +17 -17
  318. package/dist/components/stzh-datepicker.js +1 -1
  319. package/dist/components/stzh-daterange.js +4 -4
  320. package/dist/components/stzh-details.js +1 -1
  321. package/dist/components/stzh-dialog.js +1 -1
  322. package/dist/components/stzh-disturber.js +4 -4
  323. package/dist/components/stzh-dropdown.js +1 -1
  324. package/dist/components/stzh-editor.js +4 -4
  325. package/dist/components/stzh-eventdata.js +1 -1
  326. package/dist/components/stzh-eventinfo.js +5 -5
  327. package/dist/components/stzh-feedreader-item.js +2 -2
  328. package/dist/components/stzh-feedreader.js +8 -8
  329. package/dist/components/stzh-fieldset.js +1 -1
  330. package/dist/components/stzh-figure.js +1 -1
  331. package/dist/components/stzh-flyingfocus.js +1 -1
  332. package/dist/components/stzh-footer.js +4 -4
  333. package/dist/components/stzh-gallery.js +8 -8
  334. package/dist/components/stzh-geo-ref-data.js +24 -24
  335. package/dist/components/stzh-ghettobox.js +4 -4
  336. package/dist/components/stzh-header.js +1 -1
  337. package/dist/components/stzh-heading.js +1 -1
  338. package/dist/components/stzh-homepage-search.js +2 -2
  339. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  340. package/dist/components/stzh-hr.js +1 -1
  341. package/dist/components/stzh-hspace.js +1 -1
  342. package/dist/components/stzh-http-error.js +7 -7
  343. package/dist/components/stzh-icon.js +1 -1
  344. package/dist/components/stzh-iframe.js +1 -1
  345. package/dist/components/stzh-imagecomparison.js +2 -2
  346. package/dist/components/stzh-input.js +1 -1
  347. package/dist/components/stzh-invert.js +1 -1
  348. package/dist/components/stzh-link.js +1 -1
  349. package/dist/components/stzh-linklist.js +10 -10
  350. package/dist/components/stzh-list-item.js +1 -1
  351. package/dist/components/stzh-list.js +1 -1
  352. package/dist/components/stzh-loader.js +1 -1
  353. package/dist/components/stzh-loadingbar.js +1 -1
  354. package/dist/components/stzh-menu-item.js +1 -1
  355. package/dist/components/stzh-menu.js +1 -1
  356. package/dist/components/stzh-message.js +1 -1
  357. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  358. package/dist/components/stzh-monthyearpicker.js +5 -5
  359. package/dist/components/stzh-offline-indicator.js +6 -6
  360. package/dist/components/stzh-olmap.js +1 -1
  361. package/dist/components/stzh-overlay.js +1 -1
  362. package/dist/components/stzh-page-skiplinks.js +1 -1
  363. package/dist/components/stzh-pagebottom.js +8 -8
  364. package/dist/components/stzh-pagecontent.js +1 -1
  365. package/dist/components/stzh-pagetitle-hero.js +1 -1
  366. package/dist/components/stzh-pagetitle-home.js +2 -2
  367. package/dist/components/stzh-pagetitle.js +2 -2
  368. package/dist/components/stzh-pagination.js +1 -1
  369. package/dist/components/stzh-panorama.js +11 -11
  370. package/dist/components/stzh-pi-content-navigation.js +3 -3
  371. package/dist/components/stzh-pi-menu.js +3 -3
  372. package/dist/components/stzh-pi-pagetitle.js +2 -2
  373. package/dist/components/stzh-pi-quote.js +1 -1
  374. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  375. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  376. package/dist/components/stzh-pi-teaser.js +2 -2
  377. package/dist/components/stzh-pkzh-qr.js +20 -20
  378. package/dist/components/stzh-popover.js +1 -1
  379. package/dist/components/stzh-print.js +1 -1
  380. package/dist/components/stzh-quote.js +1 -1
  381. package/dist/components/stzh-radio.js +1 -1
  382. package/dist/components/stzh-radiogroup.js +1 -1
  383. package/dist/components/stzh-rating.js +5 -5
  384. package/dist/components/stzh-ratio.js +1 -1
  385. package/dist/components/stzh-readspeaker.js +4 -4
  386. package/dist/components/stzh-richtext.js +2 -2
  387. package/dist/components/stzh-row.js +1 -1
  388. package/dist/components/stzh-saptcha.js +7 -7
  389. package/dist/components/stzh-scrollup.js +1 -1
  390. package/dist/components/stzh-search.js +16 -16
  391. package/dist/components/stzh-section.js +1 -1
  392. package/dist/components/stzh-share.js +1 -1
  393. package/dist/components/stzh-show.js +1 -1
  394. package/dist/components/stzh-sitemap.js +9 -9
  395. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  396. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  397. package/dist/components/stzh-skiplink.js +1 -1
  398. package/dist/components/stzh-socialmediastream-item.js +1 -1
  399. package/dist/components/stzh-socialmediastream.js +6 -6
  400. package/dist/components/stzh-sortable.js +1 -1
  401. package/dist/components/stzh-space.js +1 -1
  402. package/dist/components/stzh-status.js +1 -1
  403. package/dist/components/stzh-stepper-item.js +1 -1
  404. package/dist/components/stzh-stepper.js +3 -3
  405. package/dist/components/stzh-sticky-actions.js +2 -2
  406. package/dist/components/stzh-sticky.js +1 -1
  407. package/dist/components/stzh-table.js +1 -1
  408. package/dist/components/stzh-tag.js +1 -1
  409. package/dist/components/stzh-text.js +1 -1
  410. package/dist/components/stzh-textandimage.js +1 -1
  411. package/dist/components/stzh-timeline-item.js +3 -3
  412. package/dist/components/stzh-timeline.js +1 -1
  413. package/dist/components/stzh-timepicker.js +5 -5
  414. package/dist/components/stzh-toast.js +1 -1
  415. package/dist/components/stzh-toastbar.js +1 -1
  416. package/dist/components/stzh-toggle.js +5 -5
  417. package/dist/components/stzh-tooltip.js +1 -1
  418. package/dist/components/stzh-twocolumns.js +1 -1
  419. package/dist/components/stzh-upload.js +13 -13
  420. package/dist/components/stzh-vbz-carousel.js +2 -2
  421. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  422. package/dist/components/stzh-vbz-intro.js +5 -5
  423. package/dist/components/stzh-vbz-linechip.js +1 -1
  424. package/dist/components/stzh-vbz-majorticker.js +7 -7
  425. package/dist/components/stzh-vbz-ticker.js +7 -7
  426. package/dist/components/stzh-visuallyhidden.js +1 -1
  427. package/dist/components/stzh-vspace.js +1 -1
  428. package/dist/components/stzh-youtube.js +6 -6
  429. package/dist/esm/{index-CMm0FVAs.js → index-BDy81lpO.js} +3 -3
  430. package/dist/esm/{index-CMm0FVAs.js.map → index-BDy81lpO.js.map} +1 -1
  431. package/dist/esm/loader.js +3 -3
  432. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  433. package/dist/esm/stzh-actions_6.entry.js +1 -1
  434. package/dist/esm/stzh-actionset.entry.js +1 -1
  435. package/dist/esm/stzh-amount.entry.js +1 -1
  436. package/dist/esm/stzh-anchornav.entry.js +1 -1
  437. package/dist/esm/stzh-app-nav.entry.js +1 -1
  438. package/dist/esm/stzh-appointments.entry.js +1 -1
  439. package/dist/esm/stzh-archivelist.entry.js +1 -1
  440. package/dist/esm/stzh-audio.entry.js +1 -1
  441. package/dist/esm/stzh-badge_3.entry.js +1 -1
  442. package/dist/esm/stzh-banner.entry.js +1 -1
  443. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  444. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  445. package/dist/esm/stzh-calendar.entry.js +1 -1
  446. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  447. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  448. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  449. package/dist/esm/stzh-card_2.entry.js +1 -1
  450. package/dist/esm/stzh-carousel.entry.js +1 -1
  451. package/dist/esm/stzh-chart.entry.js +1 -1
  452. package/dist/esm/stzh-checkbox.entry.js +2 -2
  453. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  454. package/dist/esm/stzh-chip_2.entry.js +2 -2
  455. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  456. package/dist/esm/stzh-clamp.entry.js +1 -1
  457. package/dist/esm/stzh-company-logo.entry.js +1 -1
  458. package/dist/esm/stzh-components.js +3 -3
  459. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  460. package/dist/esm/stzh-contact.entry.js +1 -1
  461. package/dist/esm/stzh-container_2.entry.js +1 -1
  462. package/dist/esm/stzh-content.entry.js +1 -1
  463. package/dist/esm/stzh-cta.entry.js +1 -1
  464. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  465. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  466. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  467. package/dist/esm/stzh-datatable.entry.js +1 -1
  468. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  469. package/dist/esm/stzh-daterange.entry.js +1 -1
  470. package/dist/esm/stzh-details.entry.js +1 -1
  471. package/dist/esm/stzh-dialog.entry.js +1 -1
  472. package/dist/esm/stzh-disturber.entry.js +1 -1
  473. package/dist/esm/stzh-dropdown.entry.js +2 -2
  474. package/dist/esm/stzh-editor.entry.js +1 -1
  475. package/dist/esm/stzh-eventdata.entry.js +1 -1
  476. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  477. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  478. package/dist/esm/stzh-feedreader.entry.js +1 -1
  479. package/dist/esm/stzh-figure.entry.js +1 -1
  480. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  481. package/dist/esm/stzh-footer.entry.js +1 -1
  482. package/dist/esm/stzh-gallery.entry.js +1 -1
  483. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  484. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  485. package/dist/esm/stzh-header_3.entry.js +1 -1
  486. package/dist/esm/stzh-heading.entry.js +1 -1
  487. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  488. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  489. package/dist/esm/stzh-hr.entry.js +1 -1
  490. package/dist/esm/stzh-hspace.entry.js +1 -1
  491. package/dist/esm/stzh-http-error.entry.js +1 -1
  492. package/dist/esm/stzh-iframe.entry.js +1 -1
  493. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  494. package/dist/esm/{stzh-input-description-DucOXgIp.js → stzh-input-description-D2d54L27.js} +3 -3
  495. package/dist/esm/{stzh-input-description-DucOXgIp.js.map → stzh-input-description-D2d54L27.js.map} +1 -1
  496. package/dist/esm/stzh-input.entry.js +42 -8
  497. package/dist/esm/stzh-input.entry.js.map +1 -1
  498. package/dist/esm/stzh-invert.entry.js +1 -1
  499. package/dist/esm/stzh-link.entry.js +1 -1
  500. package/dist/esm/stzh-linklist.entry.js +1 -1
  501. package/dist/esm/stzh-list_2.entry.js +1 -1
  502. package/dist/esm/stzh-loader.entry.js +1 -1
  503. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  504. package/dist/esm/stzh-menu_2.entry.js +1 -1
  505. package/dist/esm/stzh-message.entry.js +1 -1
  506. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  507. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  508. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  509. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  510. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  511. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  512. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  513. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  514. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  515. package/dist/esm/stzh-panorama.entry.js +1 -1
  516. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  517. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  518. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  519. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  520. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  521. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  522. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  523. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  524. package/dist/esm/stzh-popover.entry.js +1 -1
  525. package/dist/esm/stzh-print_2.entry.js +1 -1
  526. package/dist/esm/stzh-quote.entry.js +1 -1
  527. package/dist/esm/stzh-rating.entry.js +2 -2
  528. package/dist/esm/stzh-ratio.entry.js +1 -1
  529. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  530. package/dist/esm/stzh-richtext.entry.js +1 -1
  531. package/dist/esm/stzh-saptcha.entry.js +1 -1
  532. package/dist/esm/stzh-scrollup.entry.js +1 -1
  533. package/dist/esm/stzh-search.entry.js +1 -1
  534. package/dist/esm/stzh-section.entry.js +1 -1
  535. package/dist/esm/stzh-show.entry.js +1 -1
  536. package/dist/esm/stzh-sitemap.entry.js +1 -1
  537. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  538. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  539. package/dist/esm/stzh-skiplink.entry.js +1 -1
  540. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  541. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  542. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  543. package/dist/esm/stzh-stepper.entry.js +1 -1
  544. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  545. package/dist/esm/stzh-sticky.entry.js +1 -1
  546. package/dist/esm/stzh-table.entry.js +1 -1
  547. package/dist/esm/stzh-text.entry.js +1 -1
  548. package/dist/esm/stzh-textandimage.entry.js +1 -1
  549. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  550. package/dist/esm/stzh-timeline.entry.js +1 -1
  551. package/dist/esm/stzh-timepicker.entry.js +1 -1
  552. package/dist/esm/stzh-toast_2.entry.js +1 -1
  553. package/dist/esm/stzh-toggle.entry.js +2 -2
  554. package/dist/esm/stzh-tooltip.entry.js +1 -1
  555. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  556. package/dist/esm/stzh-upload.entry.js +2 -2
  557. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  558. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  559. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  560. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  561. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  562. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  563. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  564. package/dist/esm/stzh-vspace.entry.js +1 -1
  565. package/dist/esm/stzh-youtube.entry.js +1 -1
  566. package/dist/stzh-components/{p-e429839d.entry.js → p-01cb747a.entry.js} +2 -2
  567. package/dist/stzh-components/{p-6601cd26.entry.js → p-0747c17b.entry.js} +2 -2
  568. package/dist/stzh-components/{p-3d14531a.entry.js → p-07639e2e.entry.js} +2 -2
  569. package/dist/stzh-components/{p-26018e74.entry.js → p-09219622.entry.js} +2 -2
  570. package/dist/stzh-components/{p-89bcc6b2.entry.js → p-0a1eb5fd.entry.js} +2 -2
  571. package/dist/stzh-components/{p-1dfa8f3b.entry.js → p-0cac70a3.entry.js} +2 -2
  572. package/dist/stzh-components/{p-44373262.entry.js → p-0dc95d03.entry.js} +2 -2
  573. package/dist/stzh-components/{p-0240b59e.entry.js → p-0df1be19.entry.js} +2 -2
  574. package/dist/stzh-components/{p-dd10da2d.entry.js → p-0e3d6349.entry.js} +2 -2
  575. package/dist/stzh-components/{p-44788824.entry.js → p-0e45d2de.entry.js} +2 -2
  576. package/dist/stzh-components/{p-322fa1b3.entry.js → p-0f6a6d68.entry.js} +2 -2
  577. package/dist/stzh-components/{p-7736cb04.entry.js → p-0fe0982a.entry.js} +2 -2
  578. package/dist/stzh-components/{p-a3f4d2cb.entry.js → p-120fc2f7.entry.js} +2 -2
  579. package/dist/stzh-components/{p-969e7b46.entry.js → p-158b16e0.entry.js} +2 -2
  580. package/dist/stzh-components/{p-e706c0cf.entry.js → p-17c76b7f.entry.js} +2 -2
  581. package/dist/stzh-components/{p-42b2ec0a.entry.js → p-1b39c90b.entry.js} +4 -4
  582. package/dist/stzh-components/{p-70dffd1b.entry.js → p-1c3942a6.entry.js} +2 -2
  583. package/dist/stzh-components/{p-360fd13b.entry.js → p-1db6f565.entry.js} +2 -2
  584. package/dist/stzh-components/{p-9df5d649.entry.js → p-1f1aac25.entry.js} +2 -2
  585. package/dist/stzh-components/{p-675ccc4c.entry.js → p-233a253c.entry.js} +2 -2
  586. package/dist/stzh-components/{p-f9c144a2.entry.js → p-25df4336.entry.js} +2 -2
  587. package/dist/stzh-components/{p-8414eb16.entry.js → p-2683a93d.entry.js} +2 -2
  588. package/dist/stzh-components/{p-f65f388a.entry.js → p-2e1efcc9.entry.js} +2 -2
  589. package/dist/stzh-components/{p-0e8c5ac6.entry.js → p-32258f20.entry.js} +2 -2
  590. package/dist/stzh-components/{p-04f85b2e.entry.js → p-32cd07f2.entry.js} +2 -2
  591. package/dist/stzh-components/{p-58312f4d.entry.js → p-33c80dea.entry.js} +2 -2
  592. package/dist/stzh-components/{p-4cea4286.entry.js → p-375f8787.entry.js} +2 -2
  593. package/dist/stzh-components/{p-34793cbf.entry.js → p-3816c34e.entry.js} +2 -2
  594. package/dist/stzh-components/{p-e87b2f64.entry.js → p-38a9cabf.entry.js} +2 -2
  595. package/dist/stzh-components/{p-4405a8e0.entry.js → p-39217901.entry.js} +2 -2
  596. package/dist/stzh-components/{p-1270ee3a.entry.js → p-3c861eb0.entry.js} +2 -2
  597. package/dist/stzh-components/{p-bb429652.entry.js → p-42f4c28d.entry.js} +2 -2
  598. package/dist/stzh-components/p-42f4c28d.entry.js.map +1 -0
  599. package/dist/stzh-components/{p-b5edc83e.entry.js → p-44df0e58.entry.js} +2 -2
  600. package/dist/stzh-components/{p-00e2d17a.entry.js → p-45452a45.entry.js} +2 -2
  601. package/dist/stzh-components/{p-af6ef7ac.entry.js → p-46c5b453.entry.js} +2 -2
  602. package/dist/stzh-components/{p-35753ac7.entry.js → p-4dfa25ec.entry.js} +2 -2
  603. package/dist/stzh-components/{p-3be730a8.entry.js → p-5198a930.entry.js} +2 -2
  604. package/dist/stzh-components/{p-40067908.entry.js → p-52d757b2.entry.js} +2 -2
  605. package/dist/stzh-components/{p-0c8b277e.entry.js → p-539bb440.entry.js} +2 -2
  606. package/dist/stzh-components/{p-6d67cb35.entry.js → p-54d92856.entry.js} +2 -2
  607. package/dist/stzh-components/{p-60621e3d.entry.js → p-561fd23e.entry.js} +2 -2
  608. package/dist/stzh-components/{p-642ab0db.entry.js → p-58d6b294.entry.js} +2 -2
  609. package/dist/stzh-components/{p-8fa38751.entry.js → p-59da8df1.entry.js} +2 -2
  610. package/dist/stzh-components/{p-84b54d90.entry.js → p-5b7298a4.entry.js} +2 -2
  611. package/dist/stzh-components/{p-a931fa9f.entry.js → p-5ebd56ff.entry.js} +2 -2
  612. package/dist/stzh-components/{p-da655787.entry.js → p-5f862749.entry.js} +2 -2
  613. package/dist/stzh-components/{p-3085e0d2.entry.js → p-645c7fba.entry.js} +3 -3
  614. package/dist/stzh-components/{p-90c5fd7d.entry.js → p-64c9a8f7.entry.js} +2 -2
  615. package/dist/stzh-components/{p-d8c930d4.entry.js → p-65a6428c.entry.js} +2 -2
  616. package/dist/stzh-components/{p-eb838ad2.entry.js → p-65e3833f.entry.js} +2 -2
  617. package/dist/stzh-components/{p-4c67ddc8.entry.js → p-67b2d82d.entry.js} +2 -2
  618. package/dist/stzh-components/{p-a237a4a4.entry.js → p-67e2ea65.entry.js} +2 -2
  619. package/dist/stzh-components/{p-eccbfe1b.entry.js → p-68692aca.entry.js} +2 -2
  620. package/dist/stzh-components/{p-c061f237.entry.js → p-69f5276e.entry.js} +2 -2
  621. package/dist/stzh-components/{p-b4066295.entry.js → p-6aa53daf.entry.js} +2 -2
  622. package/dist/stzh-components/{p-08de2f2c.entry.js → p-6c3de48d.entry.js} +2 -2
  623. package/dist/stzh-components/{p-6e94ba42.entry.js → p-6e6064a5.entry.js} +2 -2
  624. package/dist/stzh-components/{p-cc47f873.entry.js → p-70b10351.entry.js} +2 -2
  625. package/dist/stzh-components/{p-e8ba39b1.entry.js → p-74494120.entry.js} +2 -2
  626. package/dist/stzh-components/{p-f165d700.entry.js → p-752e3cd8.entry.js} +2 -2
  627. package/dist/stzh-components/{p-055e1e41.entry.js → p-759099e2.entry.js} +2 -2
  628. package/dist/stzh-components/{p-cb81c92d.entry.js → p-75dad6c7.entry.js} +2 -2
  629. package/dist/stzh-components/{p-96d0f65f.entry.js → p-75ffb877.entry.js} +2 -2
  630. package/dist/stzh-components/{p-66a1e9f6.entry.js → p-78f63571.entry.js} +2 -2
  631. package/dist/stzh-components/{p-2c4ede3e.entry.js → p-79823ee9.entry.js} +2 -2
  632. package/dist/stzh-components/{p-6e29d589.entry.js → p-7a1296d4.entry.js} +2 -2
  633. package/dist/stzh-components/{p-c85e3ca1.entry.js → p-7bb32473.entry.js} +2 -2
  634. package/dist/stzh-components/{p-c10ea736.entry.js → p-7da86126.entry.js} +2 -2
  635. package/dist/stzh-components/{p-bccb08fd.entry.js → p-7f825eff.entry.js} +2 -2
  636. package/dist/stzh-components/{p-08b79d77.entry.js → p-82d1f2f4.entry.js} +2 -2
  637. package/dist/stzh-components/{p-dd35246f.entry.js → p-856faa3f.entry.js} +2 -2
  638. package/dist/stzh-components/{p-e33fc3e9.entry.js → p-85ac6d83.entry.js} +2 -2
  639. package/dist/stzh-components/{p-e00bebe9.entry.js → p-85cb6ac3.entry.js} +2 -2
  640. package/dist/stzh-components/{p-e7a93596.entry.js → p-8735dc17.entry.js} +2 -2
  641. package/dist/stzh-components/{p-4d6ed393.entry.js → p-8a9f9b42.entry.js} +2 -2
  642. package/dist/stzh-components/{p-d69812a2.entry.js → p-8bc9e95b.entry.js} +2 -2
  643. package/dist/stzh-components/{p-7a4c23e9.entry.js → p-8d558e1d.entry.js} +2 -2
  644. package/dist/stzh-components/{p-6fa4ace3.entry.js → p-8e34c9c9.entry.js} +2 -2
  645. package/dist/stzh-components/{p-bc0009d4.entry.js → p-8e4ecd25.entry.js} +2 -2
  646. package/dist/stzh-components/{p-bff79590.entry.js → p-8f956678.entry.js} +2 -2
  647. package/dist/stzh-components/{p-74e52594.entry.js → p-92d54e6a.entry.js} +2 -2
  648. package/dist/stzh-components/{p-394e34df.entry.js → p-931abfe7.entry.js} +2 -2
  649. package/dist/stzh-components/{p-fbffd77a.entry.js → p-9337582a.entry.js} +2 -2
  650. package/dist/stzh-components/{p-1675e276.entry.js → p-94eed7e7.entry.js} +2 -2
  651. package/dist/stzh-components/{p-b448c54f.entry.js → p-963b4a81.entry.js} +2 -2
  652. package/dist/stzh-components/{p-76b599be.entry.js → p-968ef9db.entry.js} +2 -2
  653. package/dist/stzh-components/{p-a1179d75.entry.js → p-97a89608.entry.js} +2 -2
  654. package/dist/stzh-components/{p-204059c3.entry.js → p-9957d575.entry.js} +2 -2
  655. package/dist/stzh-components/{p-d9aecb49.entry.js → p-9c4e1649.entry.js} +2 -2
  656. package/dist/stzh-components/p-BDy81lpO.js +3 -0
  657. package/dist/stzh-components/{p-CMm0FVAs.js.map → p-BDy81lpO.js.map} +1 -1
  658. package/dist/stzh-components/{p-BRSls9kT.js → p-D4oTGvdl.js} +2 -2
  659. package/dist/stzh-components/{p-BRSls9kT.js.map → p-D4oTGvdl.js.map} +1 -1
  660. package/dist/stzh-components/{p-2e4ab9aa.entry.js → p-ae8fe7f0.entry.js} +2 -2
  661. package/dist/stzh-components/{p-0405ead1.entry.js → p-aed15ee1.entry.js} +2 -2
  662. package/dist/stzh-components/{p-67e6100a.entry.js → p-aef3c5ac.entry.js} +2 -2
  663. package/dist/stzh-components/{p-6351689e.entry.js → p-b2fcc490.entry.js} +2 -2
  664. package/dist/stzh-components/{p-ce188d34.entry.js → p-b663c8f6.entry.js} +2 -2
  665. package/dist/stzh-components/{p-da79325e.entry.js → p-bb16873e.entry.js} +2 -2
  666. package/dist/stzh-components/{p-9c7b454d.entry.js → p-bc622b2a.entry.js} +2 -2
  667. package/dist/stzh-components/{p-e77a9009.entry.js → p-bfa62b65.entry.js} +2 -2
  668. package/dist/stzh-components/{p-4a84f27b.entry.js → p-c0b4f81f.entry.js} +2 -2
  669. package/dist/stzh-components/{p-3ecb1140.entry.js → p-c471680d.entry.js} +2 -2
  670. package/dist/stzh-components/{p-8bcaf427.entry.js → p-c5986c0b.entry.js} +2 -2
  671. package/dist/stzh-components/{p-d2a9c527.entry.js → p-c9972340.entry.js} +5 -5
  672. package/dist/stzh-components/{p-6f5e8f7a.entry.js → p-cc579b5c.entry.js} +2 -2
  673. package/dist/stzh-components/{p-6ca32b16.entry.js → p-cd10adbb.entry.js} +2 -2
  674. package/dist/stzh-components/{p-de99b5f6.entry.js → p-cd9b9eac.entry.js} +2 -2
  675. package/dist/stzh-components/{p-8c0991fc.entry.js → p-d1a50145.entry.js} +2 -2
  676. package/dist/stzh-components/{p-60ce6463.entry.js → p-d215409f.entry.js} +2 -2
  677. package/dist/stzh-components/{p-5a04072c.entry.js → p-d3209381.entry.js} +2 -2
  678. package/dist/stzh-components/{p-e0aa37e0.entry.js → p-d3969952.entry.js} +3 -3
  679. package/dist/stzh-components/{p-d5ff4faf.entry.js → p-d9ceb9a1.entry.js} +2 -2
  680. package/dist/stzh-components/{p-ecf7ca7e.entry.js → p-dbe53670.entry.js} +2 -2
  681. package/dist/stzh-components/{p-14b76262.entry.js → p-dd01dcf6.entry.js} +2 -2
  682. package/dist/stzh-components/{p-9a4ab562.entry.js → p-deb499e2.entry.js} +2 -2
  683. package/dist/stzh-components/{p-1f1f72fc.entry.js → p-deb5310a.entry.js} +2 -2
  684. package/dist/stzh-components/{p-c3606f68.entry.js → p-e27591a6.entry.js} +2 -2
  685. package/dist/stzh-components/{p-288720eb.entry.js → p-e281a715.entry.js} +3 -3
  686. package/dist/stzh-components/{p-521adcd2.entry.js → p-e2f97240.entry.js} +2 -2
  687. package/dist/stzh-components/{p-9f165ba8.entry.js → p-e51cd413.entry.js} +2 -2
  688. package/dist/stzh-components/{p-575a3271.entry.js → p-e6626ed6.entry.js} +2 -2
  689. package/dist/stzh-components/{p-45147ac4.entry.js → p-e84a2d9e.entry.js} +2 -2
  690. package/dist/stzh-components/{p-3ac95132.entry.js → p-e92a11b6.entry.js} +2 -2
  691. package/dist/stzh-components/{p-4f3cdc12.entry.js → p-e93dbde4.entry.js} +2 -2
  692. package/dist/stzh-components/{p-6950ec4c.entry.js → p-f18c1bc6.entry.js} +2 -2
  693. package/dist/stzh-components/{p-9d593788.entry.js → p-f1a64a00.entry.js} +2 -2
  694. package/dist/stzh-components/{p-8251123e.entry.js → p-f1e336dc.entry.js} +2 -2
  695. package/dist/stzh-components/{p-b1e688a5.entry.js → p-f301a05c.entry.js} +2 -2
  696. package/dist/stzh-components/{p-7ad41098.entry.js → p-f3276383.entry.js} +2 -2
  697. package/dist/stzh-components/{p-6b61a982.entry.js → p-f4243fa8.entry.js} +2 -2
  698. package/dist/stzh-components/{p-ee807638.entry.js → p-f442969e.entry.js} +2 -2
  699. package/dist/stzh-components/{p-47aceb74.entry.js → p-fc96a153.entry.js} +2 -2
  700. package/dist/stzh-components/{p-99c1ca23.entry.js → p-fd0e8627.entry.js} +2 -2
  701. package/dist/stzh-components/stzh-components.esm.js +1 -1
  702. package/dist/types/components/stzh-input/stzh-input.d.ts +7 -0
  703. package/package.json +1 -1
  704. package/dist/components/p-B4QrfbDx.js.map +0 -1
  705. package/dist/stzh-components/p-CMm0FVAs.js +0 -3
  706. package/dist/stzh-components/p-bb429652.entry.js.map +0 -1
  707. /package/dist/stzh-components/{p-e429839d.entry.js.map → p-01cb747a.entry.js.map} +0 -0
  708. /package/dist/stzh-components/{p-6601cd26.entry.js.map → p-0747c17b.entry.js.map} +0 -0
  709. /package/dist/stzh-components/{p-3d14531a.entry.js.map → p-07639e2e.entry.js.map} +0 -0
  710. /package/dist/stzh-components/{p-26018e74.entry.js.map → p-09219622.entry.js.map} +0 -0
  711. /package/dist/stzh-components/{p-89bcc6b2.entry.js.map → p-0a1eb5fd.entry.js.map} +0 -0
  712. /package/dist/stzh-components/{p-1dfa8f3b.entry.js.map → p-0cac70a3.entry.js.map} +0 -0
  713. /package/dist/stzh-components/{p-44373262.entry.js.map → p-0dc95d03.entry.js.map} +0 -0
  714. /package/dist/stzh-components/{p-0240b59e.entry.js.map → p-0df1be19.entry.js.map} +0 -0
  715. /package/dist/stzh-components/{p-dd10da2d.entry.js.map → p-0e3d6349.entry.js.map} +0 -0
  716. /package/dist/stzh-components/{p-44788824.entry.js.map → p-0e45d2de.entry.js.map} +0 -0
  717. /package/dist/stzh-components/{p-322fa1b3.entry.js.map → p-0f6a6d68.entry.js.map} +0 -0
  718. /package/dist/stzh-components/{p-7736cb04.entry.js.map → p-0fe0982a.entry.js.map} +0 -0
  719. /package/dist/stzh-components/{p-a3f4d2cb.entry.js.map → p-120fc2f7.entry.js.map} +0 -0
  720. /package/dist/stzh-components/{p-969e7b46.entry.js.map → p-158b16e0.entry.js.map} +0 -0
  721. /package/dist/stzh-components/{p-e706c0cf.entry.js.map → p-17c76b7f.entry.js.map} +0 -0
  722. /package/dist/stzh-components/{p-42b2ec0a.entry.js.map → p-1b39c90b.entry.js.map} +0 -0
  723. /package/dist/stzh-components/{p-70dffd1b.entry.js.map → p-1c3942a6.entry.js.map} +0 -0
  724. /package/dist/stzh-components/{p-360fd13b.entry.js.map → p-1db6f565.entry.js.map} +0 -0
  725. /package/dist/stzh-components/{p-9df5d649.entry.js.map → p-1f1aac25.entry.js.map} +0 -0
  726. /package/dist/stzh-components/{p-675ccc4c.entry.js.map → p-233a253c.entry.js.map} +0 -0
  727. /package/dist/stzh-components/{p-f9c144a2.entry.js.map → p-25df4336.entry.js.map} +0 -0
  728. /package/dist/stzh-components/{p-8414eb16.entry.js.map → p-2683a93d.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-f65f388a.entry.js.map → p-2e1efcc9.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-0e8c5ac6.entry.js.map → p-32258f20.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-04f85b2e.entry.js.map → p-32cd07f2.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-58312f4d.entry.js.map → p-33c80dea.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-4cea4286.entry.js.map → p-375f8787.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-34793cbf.entry.js.map → p-3816c34e.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-e87b2f64.entry.js.map → p-38a9cabf.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-4405a8e0.entry.js.map → p-39217901.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-1270ee3a.entry.js.map → p-3c861eb0.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-b5edc83e.entry.js.map → p-44df0e58.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-00e2d17a.entry.js.map → p-45452a45.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-af6ef7ac.entry.js.map → p-46c5b453.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-35753ac7.entry.js.map → p-4dfa25ec.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-3be730a8.entry.js.map → p-5198a930.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-40067908.entry.js.map → p-52d757b2.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-0c8b277e.entry.js.map → p-539bb440.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-6d67cb35.entry.js.map → p-54d92856.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-60621e3d.entry.js.map → p-561fd23e.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-642ab0db.entry.js.map → p-58d6b294.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-8fa38751.entry.js.map → p-59da8df1.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-84b54d90.entry.js.map → p-5b7298a4.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-a931fa9f.entry.js.map → p-5ebd56ff.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-da655787.entry.js.map → p-5f862749.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-3085e0d2.entry.js.map → p-645c7fba.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-90c5fd7d.entry.js.map → p-64c9a8f7.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-d8c930d4.entry.js.map → p-65a6428c.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-eb838ad2.entry.js.map → p-65e3833f.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-4c67ddc8.entry.js.map → p-67b2d82d.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-a237a4a4.entry.js.map → p-67e2ea65.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-eccbfe1b.entry.js.map → p-68692aca.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-c061f237.entry.js.map → p-69f5276e.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-b4066295.entry.js.map → p-6aa53daf.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-08de2f2c.entry.js.map → p-6c3de48d.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-6e94ba42.entry.js.map → p-6e6064a5.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-cc47f873.entry.js.map → p-70b10351.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-e8ba39b1.entry.js.map → p-74494120.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-f165d700.entry.js.map → p-752e3cd8.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-055e1e41.entry.js.map → p-759099e2.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-cb81c92d.entry.js.map → p-75dad6c7.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-96d0f65f.entry.js.map → p-75ffb877.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-66a1e9f6.entry.js.map → p-78f63571.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-2c4ede3e.entry.js.map → p-79823ee9.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-6e29d589.entry.js.map → p-7a1296d4.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-c85e3ca1.entry.js.map → p-7bb32473.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-c10ea736.entry.js.map → p-7da86126.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-bccb08fd.entry.js.map → p-7f825eff.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-08b79d77.entry.js.map → p-82d1f2f4.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-dd35246f.entry.js.map → p-856faa3f.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-e33fc3e9.entry.js.map → p-85ac6d83.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-e00bebe9.entry.js.map → p-85cb6ac3.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-e7a93596.entry.js.map → p-8735dc17.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-4d6ed393.entry.js.map → p-8a9f9b42.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-d69812a2.entry.js.map → p-8bc9e95b.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-7a4c23e9.entry.js.map → p-8d558e1d.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-6fa4ace3.entry.js.map → p-8e34c9c9.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-bc0009d4.entry.js.map → p-8e4ecd25.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-bff79590.entry.js.map → p-8f956678.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-74e52594.entry.js.map → p-92d54e6a.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-394e34df.entry.js.map → p-931abfe7.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-fbffd77a.entry.js.map → p-9337582a.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-1675e276.entry.js.map → p-94eed7e7.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-b448c54f.entry.js.map → p-963b4a81.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-76b599be.entry.js.map → p-968ef9db.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-a1179d75.entry.js.map → p-97a89608.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-204059c3.entry.js.map → p-9957d575.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-d9aecb49.entry.js.map → p-9c4e1649.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-2e4ab9aa.entry.js.map → p-ae8fe7f0.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-0405ead1.entry.js.map → p-aed15ee1.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-67e6100a.entry.js.map → p-aef3c5ac.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-6351689e.entry.js.map → p-b2fcc490.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-ce188d34.entry.js.map → p-b663c8f6.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-da79325e.entry.js.map → p-bb16873e.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-9c7b454d.entry.js.map → p-bc622b2a.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-e77a9009.entry.js.map → p-bfa62b65.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-4a84f27b.entry.js.map → p-c0b4f81f.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-3ecb1140.entry.js.map → p-c471680d.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-8bcaf427.entry.js.map → p-c5986c0b.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-d2a9c527.entry.js.map → p-c9972340.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-6f5e8f7a.entry.js.map → p-cc579b5c.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-6ca32b16.entry.js.map → p-cd10adbb.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-de99b5f6.entry.js.map → p-cd9b9eac.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-8c0991fc.entry.js.map → p-d1a50145.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-60ce6463.entry.js.map → p-d215409f.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-5a04072c.entry.js.map → p-d3209381.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-e0aa37e0.entry.js.map → p-d3969952.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-d5ff4faf.entry.js.map → p-d9ceb9a1.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-ecf7ca7e.entry.js.map → p-dbe53670.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-14b76262.entry.js.map → p-dd01dcf6.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-9a4ab562.entry.js.map → p-deb499e2.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-1f1f72fc.entry.js.map → p-deb5310a.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-c3606f68.entry.js.map → p-e27591a6.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-288720eb.entry.js.map → p-e281a715.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-521adcd2.entry.js.map → p-e2f97240.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-9f165ba8.entry.js.map → p-e51cd413.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-575a3271.entry.js.map → p-e6626ed6.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-45147ac4.entry.js.map → p-e84a2d9e.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-3ac95132.entry.js.map → p-e92a11b6.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-4f3cdc12.entry.js.map → p-e93dbde4.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-6950ec4c.entry.js.map → p-f18c1bc6.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-9d593788.entry.js.map → p-f1a64a00.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-8251123e.entry.js.map → p-f1e336dc.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-b1e688a5.entry.js.map → p-f301a05c.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-7ad41098.entry.js.map → p-f3276383.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-6b61a982.entry.js.map → p-f4243fa8.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-ee807638.entry.js.map → p-f442969e.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-47aceb74.entry.js.map → p-fc96a153.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-99c1ca23.entry.js.map → p-fd0e8627.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
  import { h as hasSlot } from './p-CN5apKPb.js';
3
3
 
4
4
  const stzhFigureCss = () => `.sc-stzh-figure-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-figure-h,[stzh-hidden].sc-stzh-figure-h{display:none}.sc-stzh-figure-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-figure-h .has-focus.sc-stzh-figure{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure{outline-style:none !important}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure::-moz-focus-inner{border:0 !important}.sc-stzh-figure-h{--caption-opacity:1}.sc-stzh-figure-h.sc-stzh-figure-s>*,.sc-stzh-figure-h .sc-stzh-figure-s>*{max-width:100%}.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]).sc-stzh-figure-s>:not(map),.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]) .sc-stzh-figure-s>:not(map){width:100%}.stzh-figure.sc-stzh-figure{display:flex;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:flex}@media print{.stzh-figure__element.sc-stzh-figure{page-break-inside:avoid;break-inside:avoid}}.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 900px){.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__caption-wrapper.sc-stzh-figure{display:flex;flex-direction:column;opacity:var(--caption-opacity);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-figure__heading-wrapper.sc-stzh-figure{display:flow-root}.stzh-figure__counter.sc-stzh-figure{float:left;color:var(--stzh-color-secondary60)}.stzh-figure__counter.sc-stzh-figure:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-figure__counter.sc-stzh-figure,.stzh-figure__heading.sc-stzh-figure{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);display:block}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-grey80)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-top:var(--stzh-space-xxsmall)}.stzh-figure--has-caption.sc-stzh-figure .stzh-figure__caption-wrapper.sc-stzh-figure{margin-top:var(--stzh-space-small)}`;
@@ -62,6 +62,6 @@ function defineCustomElement() {
62
62
  }
63
63
 
64
64
  export { StzhFigure as S, defineCustomElement as d };
65
- //# sourceMappingURL=p-ADyL1d9w.js.map
65
+ //# sourceMappingURL=p-B2I6UGb-.js.map
66
66
 
67
- //# sourceMappingURL=p-ADyL1d9w.js.map
67
+ //# sourceMappingURL=p-B2I6UGb-.js.map
@@ -1 +1 @@
1
- {"file":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":["src/components/stzh-figure/stzh-figure.scss?tag=stzh-figure&encapsulation=scoped","src/components/stzh-figure/stzh-figure.tsx"],"sourcesContent":[":host {\n --caption-opacity: 1;\n\n ::slotted(*) {\n max-width: 100%;\n }\n}\n\n:host([fullwidth]:not([fullwidth=\"false\"])) ::slotted(:not(map)) {\n width: 100%;\n}\n\n.stzh-figure {\n display: flex;\n flex-direction: column;\n margin: 0;\n\n &__element {\n display: flex;\n\n @media print {\n page-break-inside: avoid;\n break-inside: avoid;\n }\n }\n\n &__caption-wrapper {\n @include fontCurve(\"caption\");\n display: flex;\n flex-direction: column;\n opacity: var(--caption-opacity);\n transition: opacity $baseTransitionAnimationSpeed;\n }\n\n &__heading-wrapper {\n display: flow-root;\n }\n\n &__counter {\n float: left;\n color: $colorSecondary60;\n\n &:not(:empty) {\n margin-right: space(\"xsmall\");\n }\n }\n\n &__counter,\n &__heading {\n @include font(\"heavy\");\n display: block;\n }\n\n &__copyright {\n @include font;\n @include fontSize(\"femto\");\n color: $colorGrey80;\n\n &:not(:empty) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n /* Has caption content */\n\n &--has-caption &__caption-wrapper {\n margin-top: space(\"small\");\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for e.g. image or video\n * @slot caption - Slot for a caption as alternative for attribute\n * @slot copyright - Slot for a copyright as alternative for attribute\n * @slot counter - Slot for a counter as alternative for attribute\n * @slot heading - Slot for a heading as alternative for attribute\n */\n@Component({\n tag: \"stzh-figure\",\n styleUrl: \"stzh-figure.scss\",\n scoped: true,\n})\nexport class StzhFigure {\n /** Caption */\n @Prop() caption: string = \"\";\n\n /** Copyright */\n @Prop() copyright: string = \"\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Whether to stretch slotted content to fullwidth */\n @Prop({ reflect: true }) fullwidth: boolean = true;\n\n @Element() element: HTMLStzhFigureElement;\n\n render() {\n const captionSlotUsed = hasSlot(this.element, \"caption\");\n const copyrightSlotUsed = hasSlot(this.element, \"copyright\");\n const counterSlotUsed = hasSlot(this.element, \"counter\");\n const headingSlotUsed = hasSlot(this.element, \"heading\");\n\n const classes = {\n \"stzh-figure\": true,\n \"stzh-figure--has-caption\":\n !!this.caption ||\n captionSlotUsed ||\n !!this.copyright ||\n copyrightSlotUsed ||\n !!this.counter ||\n counterSlotUsed ||\n !!this.heading ||\n headingSlotUsed,\n };\n\n return (\n <Host>\n <figure class={classes}>\n <div class=\"stzh-figure__element\">\n <slot></slot>\n </div>\n <figcaption class=\"stzh-figure__caption-wrapper\">\n <div class=\"stzh-figure__heading-wrapper\">\n <div class=\"stzh-figure__counter\">{this.counter ? this.counter : <slot name=\"counter\"></slot>}</div>\n <div class=\"stzh-figure__heading\">{this.heading ? this.heading : <slot name=\"heading\"></slot>}</div>\n </div>\n <div class=\"stzh-figure__caption\">\n <div class=\"stzh-figure__caption-text\">{this.caption ? this.caption : <slot name=\"caption\"></slot>}</div>\n <div class=\"stzh-figure__copyright\">\n {this.copyright ? this.copyright : <slot name=\"copyright\"></slot>}\n </div>\n </div>\n </figcaption>\n </figure>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-B2I6UGb-.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,+wGAA+wG,CAAC;;MCgBhyG,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAGpB,QAAA,IAAS,CAAA,SAAA,GAAW,EAAE;;AAGtB,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAGpB,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAGH,QAAA,IAAS,CAAA,SAAA,GAAY,IAAI;AA6CnD;IAzCC,MAAM,GAAA;Q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,CAAO,EACpG,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,SAAS,EAAQ,CAAA,CAAO,CAChG,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2BAA2B,EAAA,EAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,YAAM,IAAI,EAAC,SAAS,EAAA,CAAQ,CAAO,EACzG,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,wBAAwB,EAChC,EAAA,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,WAAW,EAAA,CAAQ,CAC7D,CACF,CACK,CACN,CACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-figure/stzh-figure.scss?tag=stzh-figure&encapsulation=scoped","src/components/stzh-figure/stzh-figure.tsx"],"sourcesContent":[":host {\n --caption-opacity: 1;\n\n ::slotted(*) {\n max-width: 100%;\n }\n}\n\n:host([fullwidth]:not([fullwidth=\"false\"])) ::slotted(:not(map)) {\n width: 100%;\n}\n\n.stzh-figure {\n display: flex;\n flex-direction: column;\n margin: 0;\n\n &__element {\n display: flex;\n\n @media print {\n page-break-inside: avoid;\n break-inside: avoid;\n }\n }\n\n &__caption-wrapper {\n @include fontCurve(\"caption\");\n display: flex;\n flex-direction: column;\n opacity: var(--caption-opacity);\n transition: opacity $baseTransitionAnimationSpeed;\n }\n\n &__heading-wrapper {\n display: flow-root;\n }\n\n &__counter {\n float: left;\n color: $colorSecondary60;\n\n &:not(:empty) {\n margin-right: space(\"xsmall\");\n }\n }\n\n &__counter,\n &__heading {\n @include font(\"heavy\");\n display: block;\n }\n\n &__copyright {\n @include font;\n @include fontSize(\"femto\");\n color: $colorGrey80;\n\n &:not(:empty) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n /* Has caption content */\n\n &--has-caption &__caption-wrapper {\n margin-top: space(\"small\");\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for e.g. image or video\n * @slot caption - Slot for a caption as alternative for attribute\n * @slot copyright - Slot for a copyright as alternative for attribute\n * @slot counter - Slot for a counter as alternative for attribute\n * @slot heading - Slot for a heading as alternative for attribute\n */\n@Component({\n tag: \"stzh-figure\",\n styleUrl: \"stzh-figure.scss\",\n scoped: true,\n})\nexport class StzhFigure {\n /** Caption */\n @Prop() caption: string = \"\";\n\n /** Copyright */\n @Prop() copyright: string = \"\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Whether to stretch slotted content to fullwidth */\n @Prop({ reflect: true }) fullwidth: boolean = true;\n\n @Element() element: HTMLStzhFigureElement;\n\n render() {\n const captionSlotUsed = hasSlot(this.element, \"caption\");\n const copyrightSlotUsed = hasSlot(this.element, \"copyright\");\n const counterSlotUsed = hasSlot(this.element, \"counter\");\n const headingSlotUsed = hasSlot(this.element, \"heading\");\n\n const classes = {\n \"stzh-figure\": true,\n \"stzh-figure--has-caption\":\n !!this.caption ||\n captionSlotUsed ||\n !!this.copyright ||\n copyrightSlotUsed ||\n !!this.counter ||\n counterSlotUsed ||\n !!this.heading ||\n headingSlotUsed,\n };\n\n return (\n <Host>\n <figure class={classes}>\n <div class=\"stzh-figure__element\">\n <slot></slot>\n </div>\n <figcaption class=\"stzh-figure__caption-wrapper\">\n <div class=\"stzh-figure__heading-wrapper\">\n <div class=\"stzh-figure__counter\">{this.counter ? this.counter : <slot name=\"counter\"></slot>}</div>\n <div class=\"stzh-figure__heading\">{this.heading ? this.heading : <slot name=\"heading\"></slot>}</div>\n </div>\n <div class=\"stzh-figure__caption\">\n <div class=\"stzh-figure__caption-text\">{this.caption ? this.caption : <slot name=\"caption\"></slot>}</div>\n <div class=\"stzh-figure__copyright\">\n {this.copyright ? this.copyright : <slot name=\"copyright\"></slot>}\n </div>\n </div>\n </figcaption>\n </figure>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
 
3
3
  const stzhPiTeaserLayoutItemCss = () => `@charset "UTF-8";
4
4
 
@@ -521,6 +521,6 @@ function defineCustomElement() {
521
521
  }
522
522
 
523
523
  export { StzhPiTeaserLayoutItem as S, defineCustomElement as d };
524
- //# sourceMappingURL=p-6eURMZzo.js.map
524
+ //# sourceMappingURL=p-B5bRe2QR.js.map
525
525
 
526
- //# sourceMappingURL=p-6eURMZzo.js.map
526
+ //# sourceMappingURL=p-B5bRe2QR.js.map
@@ -1 +1 @@
1
- {"file":"p-6eURMZzo.js","mappings":";;AAAA,MAAM,yBAAyB,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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,KAAK,EAAC,kCAAkC,EAAE,EAAA,WAAW,CAAO,CAC7D,EACL,IAAI,CAAC,IAAI,IAAI,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kCAAkC,EAAA,EAAE,IAAI,CAAC,IAAI,CAAO,CACzE,CACF,CACE,CACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.scss?tag=stzh-pi-teaser-layout-item&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-layout-item-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(\n --stzh-pi-teaser-layout-item-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-layout-item-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n }\n\n &[image-position=\"right\"] {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n }\n\n //Grid when no image\n &:not([has-image]) {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n\n @include mq($from: large) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n }\n\n //grid when no lead\n &:not([has-lead]) {\n .stzh-pi-teaser-layout-item__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser-layout-item__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n --lead-lines: 1;\n }\n }\n }\n\n @container (min-height: 236px) and (max-height:349px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n --lead-lines: 2;\n }\n }\n }\n\n @container (min-height: 350px) and (max-height:549px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 550px) and (max-height: 639px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 50cqh 50cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 640px) and (max-height: 799px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout-item {\n @include grid;\n display: grid;\n height: 100%;\n width: 100%;\n\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(\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 { StzhPiTeaserLayoutItemClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser-layout-item\",\n styleUrl: \"stzh-pi-teaser-layout-item.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayoutItem {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserLayoutItemClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser-layout-item\",\n originalEvent,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser-layout-item__title-wrapper\">\n <Heading class=\"stzh-pi-teaser-layout-item__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser-layout-item__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n console.log(\"imageSrc: \", this.imageSrc, \" & imagePosition: \", this.imagePosition);\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n console.log(\"hasImage: \", hasImage);\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser-layout-item\": true,\n \"stzh-pi-teaser-layout-item--has-lead\": hasLead,\n \"stzh-pi-teaser-layout-item--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser-layout-item__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser-layout-item__wrapper\">\n <div class={\"stzh-pi-teaser-layout-item__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser-layout-item__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser-layout-item__lead-wrapper\">\n <div class=\"stzh-pi-teaser-layout-item__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser-layout-item__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-B5bRe2QR.js","mappings":";;AAAA,MAAM,yBAAyB,GAAG,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC;;MCnaW,sBAAsB,iBAAAA,kBAAA,CAAA,MAAA,sBAAA,SAAAC,CAAA,CAAA;AALnC,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAoBU,QAAA,IAAQ,CAAA,QAAA,GAAW,EAAE;;AAGrB,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAMpB,QAAA,IAAY,CAAA,YAAA,GAA0B,GAAG;;AAGzC,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAW,CAAA,WAAA,GAAkC,GAAG;AAahD,QAAA,IAAA,CAAA,eAAe,GAAG,CAAC,aAAyB,KAAI;AACtD,YAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;AAClB,gBAAA,SAAS,EAAE,4BAA4B;gBACvC,aAAa;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA,CAAC;AACJ,SAAC;AAsEF;IApEC,kBAAkB,GAAA;QAChB,qBAAqB,CAAC,MAAK;;AACzB,YAAA,MAAM,QAA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IAAI,CAAC,QAAQ,CAAK,EACpF,IAAI,CAAC,aAAa,EAAE,EACrB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0CAA0C,EAAA,EACnD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,kCAAkC,EAAE,EAAA,WAAW,CAAO,CAC7D,EACL,IAAI,CAAC,IAAI,IAAI,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kCAAkC,EAAA,EAAE,IAAI,CAAC,IAAI,CAAO,CACzE,CACF,CACE,CACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.scss?tag=stzh-pi-teaser-layout-item&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-layout-item-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(\n --stzh-pi-teaser-layout-item-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-layout-item-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n }\n\n &[image-position=\"right\"] {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-layout-item-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n }\n\n //Grid when no image\n &:not([has-image]) {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n\n @include mq($from: large) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n }\n\n //grid when no lead\n &:not([has-lead]) {\n .stzh-pi-teaser-layout-item__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser-layout-item__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser-layout-item__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n --lead-lines: 1;\n }\n }\n }\n\n @container (min-height: 236px) and (max-height:349px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n --lead-lines: 2;\n }\n }\n }\n\n @container (min-height: 350px) and (max-height:549px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 550px) and (max-height: 639px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 50cqh 50cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 640px) and (max-height: 799px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser-layout-item {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser-layout-item {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout-item {\n @include grid;\n display: grid;\n height: 100%;\n width: 100%;\n\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(\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 { StzhPiTeaserLayoutItemClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser-layout-item\",\n styleUrl: \"stzh-pi-teaser-layout-item.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayoutItem {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserLayoutItemClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser-layout-item\",\n originalEvent,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser-layout-item__title-wrapper\">\n <Heading class=\"stzh-pi-teaser-layout-item__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser-layout-item__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n console.log(\"imageSrc: \", this.imageSrc, \" & imagePosition: \", this.imagePosition);\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n console.log(\"hasImage: \", hasImage);\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser-layout-item\": true,\n \"stzh-pi-teaser-layout-item--has-lead\": hasLead,\n \"stzh-pi-teaser-layout-item--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser-layout-item__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser-layout-item__wrapper\">\n <div class={\"stzh-pi-teaser-layout-item__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser-layout-item__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser-layout-item__lead-wrapper\">\n <div class=\"stzh-pi-teaser-layout-item__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser-layout-item__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,10 +1,10 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
  import { s as setPropsIfNull, h as hasSlot } from './p-CN5apKPb.js';
3
3
  import { w as waitForEvent } from './p--SdF31O7.js';
4
4
  import { s as stopAnimations, a as animateTo, b as shimKeyframesAutoValues } from './p-BOO84wnP.js';
5
- import { d as defineCustomElement$3 } from './p-DZquFVcX.js';
6
- import { d as defineCustomElement$2 } from './p-BmkW_Y9y.js';
7
- import { d as defineCustomElement$1 } from './p-EnVb6m-B.js';
5
+ import { d as defineCustomElement$3 } from './p-BSx9yT8P.js';
6
+ import { d as defineCustomElement$2 } from './p-ulFcx8BE.js';
7
+ import { d as defineCustomElement$1 } from './p-C7Wum7Zf.js';
8
8
 
9
9
  const stzhToastCss = () => `:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-toast{outline:0.125rem solid Highlight;outline-offset:-0.125rem}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small);padding:var(--stzh-space-medium)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast{}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall)}`;
10
10
 
@@ -233,6 +233,6 @@ function defineCustomElement() {
233
233
  }
234
234
 
235
235
  export { StzhToast as S, defineCustomElement as d };
236
- //# sourceMappingURL=p-YtvrJDZu.js.map
236
+ //# sourceMappingURL=p-B6XvNGiA.js.map
237
237
 
238
- //# sourceMappingURL=p-YtvrJDZu.js.map
238
+ //# sourceMappingURL=p-B6XvNGiA.js.map
@@ -1 +1 @@
1
- {"file":"p-Yt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C;AACtD,iBAAC,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,0BAA0B,CAAC;AACvD,iBAAC,IAAI,CAAC,IAAI,KAAK,OAAO,IAAI,gBAAgB,CAAC,EAAA,CAElC,CACT,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EACnC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,KAAK,CAAO,EACjD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAC,YAAY,EAAE,IAAI,CAAC,oBAAoB,EAAA,CAAS,CAC9D,CACF,CACF,EAEL,CAAC,IAAI,CAAC,SAAS,KACd,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2BAA2B,EAAA,EACpC,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAC9B,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EACH,CAAA,CACX,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-toast/stzh-toast.scss?tag=stzh-toast&encapsulation=shadow","src/components/stzh-toast/stzh-toast.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color of toast\n */\n\n:host {\n pointer-events: all;\n\n --label-font-family: #{$toastLabelFontFamily};\n --label-font-weight: #{$toastLabelFontWeight};\n --label-font-style: #{$toastLabelFontStyle};\n\n --label-color: #{$toastLabelColor};\n --background-color: #{$toastBackgroundColor};\n --close-color: #{$toastCloseColor};\n --button-color: #{$toastButtonColor};\n --icon-color: #{$toastIconColor};\n}\n\n:host([type=\"success\"]) {\n --icon-color: #{$toastSuccessIconColor};\n}\n\n:host([type=\"warning\"]) {\n --icon-color: #{$toastWarningIconColor};\n}\n\n:host([type=\"error\"]) {\n --icon-color: #{$toastErrorIconColor};\n}\n\n.stzh-toast {\n position: relative;\n display: flex;\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n border-radius: #{$buttonBorderRadius};\n transition: background-color $baseTransitionAnimationSpeed;\n\n @media (forced-colors: active) {\n outline: 2px solid Highlight;\n outline-offset: -2px;\n }\n\n &__content {\n flex-grow: 1;\n display: flex;\n gap: space(\"small\");\n padding: space(\"medium\");\n }\n\n &__icon-wrapper {\n flex-shrink: 0;\n display: flex;\n }\n\n &__icon {\n color: var(--icon-color);\n }\n\n &__text-wrapper {\n flex-grow: 1;\n }\n\n &__label {\n @include fontSize(\"milli\");\n color: var(--label-color);\n font-family: var(--label-font-family);\n font-weight: var(--label-font-weight);\n font-style: var(--label-font-style);\n transition: color $baseTransitionAnimationSpeed;\n padding-right: space(\"xxlarge\");\n\n @include mq($from: small) {\n padding-right: space(\"xxxlarge\");\n }\n }\n\n &__close-wrapper {\n flex-shrink: 0;\n }\n\n &__link {\n --stzh-button-tertiary-color: var(--button-color);\n\n display: flex;\n justify-content: flex-end;\n }\n\n &__close[variant=\"tertiary\"] {\n --color: var(--close-color);\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Has link */\n\n &--has-link &__label:not(:empty) + &__link {\n margin-top: space(\"xsmall\");\n }\n}\n","import { Component, Host, h, Element, Prop, Event, EventEmitter, Method, Watch } from \"@stencil/core\";\n\nimport {\n StzhToastOpenEvent,\n StzhToastOpenedEvent,\n StzhToastCloseEvent,\n StzhToastClosedEvent,\n StzhToastType,\n} from \"../../index\";\n\nimport { StzhToastLocalizedText } from \"./stzh-toast.localization\";\nimport { hasSlot, setPropsIfNull } from \"../../utils/utils\";\nimport { waitForEvent } from \"../../utils/event-utils\";\nimport { animateTo, shimKeyframesAutoValues, stopAnimations } from \"../../utils/animation-utils\";\n\nconst ANIMATION_SHOW = {\n keyframes: [\n { transform: \"translateY(100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n ],\n options: {\n duration: 300,\n easing: \"ease-out\",\n },\n};\n\nconst ANIMATION_HIDE = {\n keyframes: [\n { transform: \"translateX(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n // { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: 'auto' },\n // { transform: \"translateY(-100%)\", opacity: \"0\", height: \"0\", marginBottom: '0' },\n ],\n options: {\n duration: 300,\n easing: \"ease-in\",\n },\n};\n\n/**\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-toast\",\n styleUrl: \"stzh-toast.scss\",\n shadow: true,\n})\nexport class StzhToast {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhToastType = \"info\";\n\n /** Whether to hide close button */\n @Prop({ reflect: true }) hideClose: boolean = false;\n\n /** Open state */\n @Prop({ reflect: true }) open: boolean = true;\n\n /** Whether open animation should be played initially. */\n @Prop() initialOpenAnimation = false;\n\n /** Translation strings. */\n @Prop() localization: StzhToastLocalizedText;\n\n /** Toast open event */\n @Event() stzhOpen: EventEmitter<StzhToastOpenEvent>;\n\n /** Toast opened event (after animation) */\n @Event() stzhOpened: EventEmitter<StzhToastOpenedEvent>;\n\n /** Toast close event */\n @Event() stzhClose: EventEmitter<StzhToastCloseEvent>;\n\n /** Toast closed event (after animation) */\n @Event() stzhClosed: EventEmitter<StzhToastClosedEvent>;\n\n @Element() element: HTMLStzhToastElement;\n\n @Watch(\"open\")\n async openWatcher(newValue: boolean) {\n if (!this.rootElement) {\n return;\n }\n\n if (newValue) {\n if (this.toggledByMethod) {\n this.stzhOpen.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n this.element.hidden = false;\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_SHOW.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_SHOW.options,\n );\n\n this.element.style.height = \"auto\";\n this.element.style.opacity = \"1\";\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhOpened.emit({\n component: \"stzh-toast\",\n });\n }\n } else {\n if (this.toggledByMethod) {\n this.stzhClose.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_HIDE.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_HIDE.options,\n );\n\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n this.element.hidden = true;\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhClosed.emit({\n component: \"stzh-toast\",\n });\n }\n }\n\n this.toggledByMethod = false;\n }\n\n @Method()\n async show() {\n if (this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = true;\n return waitForEvent(this.element, \"stzhOpened\");\n }\n\n @Method()\n async hide() {\n if (!this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = false;\n return waitForEvent(this.element, \"stzhClosed\");\n }\n\n // private observer: MutationObserver;\n private toggledByMethod: boolean;\n private rootElement: HTMLElement;\n\n private handleLinkSlotchange = () => {\n const host = (this.element.getRootNode() as ShadowRoot)?.host || this.element;\n const buttons = host.querySelectorAll('stzh-button[slot=\"link\"], [slot=\"link\"] stzh-button');\n\n buttons.forEach(link => {\n setPropsIfNull(link, {\n size: \"small\",\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"toast\");\n }\n }\n\n componentDidLoad() {\n if (this.initialOpenAnimation && this.open) {\n // hide first so the open animation will be shown\n this.element.hidden = true;\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n this.openWatcher(true);\n });\n });\n } else {\n this.element.hidden = !this.open;\n this.element.style.height = this.open ? \"auto\" : \"0px\";\n this.element.style.opacity = this.open ? \"1\" : \"0\";\n }\n }\n\n // connectedCallback() {\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 // if (this.observer) {\n // this.observer.disconnect();\n // }\n // }\n\n render() {\n const linkUsed = hasSlot(this.element, \"link\");\n\n const classes = {\n \"stzh-toast\": true,\n \"stzh-toast--has-link\": linkUsed,\n \"stzh-toast--has-close-hidden\": this.hideClose,\n [`stzh-toast--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div ref={el => (this.rootElement = el as HTMLElement)} class={classes}>\n <div class=\"stzh-toast__content\">\n <div class=\"stzh-toast__icon-wrapper\">\n <stzh-icon\n class=\"stzh-toast__icon\"\n name={\n (this.type === \"info\" && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-toast__text-wrapper\">\n <div class=\"stzh-toast__label\">{this.label}</div>\n <div class=\"stzh-toast__link\">\n <slot name=\"link\" onSlotchange={this.handleLinkSlotchange}></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <div class=\"stzh-toast__close-wrapper\">\n <stzh-button\n class=\"stzh-toast__close\"\n onClick={this.onCloseButtonClick}\n label={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-B6XvNGiA.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC,87FAA87F,CAAC;;ACe39F,MAAM,cAAc,GAAG;AACrB,IAAA,SAAS,EAAE;AACT,QAAA,EAAE,SAAS,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE;AAC/E,QAAA,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;AACrF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,MAAM,EAAE,UAAU;AACnB,KAAA;CACF;AAED,MAAM,cAAc,GAAG;AACrB,IAAA,SAAS,EAAE;AACT,QAAA,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;AACpF,QAAA,EAAE,SAAS,EAAE,mBAAmB,EAAE,OAAO,EAAE,GAAG,EA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EACpC,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAC9B,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EACH,CAAA,CACX,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-toast/stzh-toast.scss?tag=stzh-toast&encapsulation=shadow","src/components/stzh-toast/stzh-toast.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color of toast\n */\n\n:host {\n pointer-events: all;\n\n --label-font-family: #{$toastLabelFontFamily};\n --label-font-weight: #{$toastLabelFontWeight};\n --label-font-style: #{$toastLabelFontStyle};\n\n --label-color: #{$toastLabelColor};\n --background-color: #{$toastBackgroundColor};\n --close-color: #{$toastCloseColor};\n --button-color: #{$toastButtonColor};\n --icon-color: #{$toastIconColor};\n}\n\n:host([type=\"success\"]) {\n --icon-color: #{$toastSuccessIconColor};\n}\n\n:host([type=\"warning\"]) {\n --icon-color: #{$toastWarningIconColor};\n}\n\n:host([type=\"error\"]) {\n --icon-color: #{$toastErrorIconColor};\n}\n\n.stzh-toast {\n position: relative;\n display: flex;\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n border-radius: #{$buttonBorderRadius};\n transition: background-color $baseTransitionAnimationSpeed;\n\n @media (forced-colors: active) {\n outline: 2px solid Highlight;\n outline-offset: -2px;\n }\n\n &__content {\n flex-grow: 1;\n display: flex;\n gap: space(\"small\");\n padding: space(\"medium\");\n }\n\n &__icon-wrapper {\n flex-shrink: 0;\n display: flex;\n }\n\n &__icon {\n color: var(--icon-color);\n }\n\n &__text-wrapper {\n flex-grow: 1;\n }\n\n &__label {\n @include fontSize(\"milli\");\n color: var(--label-color);\n font-family: var(--label-font-family);\n font-weight: var(--label-font-weight);\n font-style: var(--label-font-style);\n transition: color $baseTransitionAnimationSpeed;\n padding-right: space(\"xxlarge\");\n\n @include mq($from: small) {\n padding-right: space(\"xxxlarge\");\n }\n }\n\n &__close-wrapper {\n flex-shrink: 0;\n }\n\n &__link {\n --stzh-button-tertiary-color: var(--button-color);\n\n display: flex;\n justify-content: flex-end;\n }\n\n &__close[variant=\"tertiary\"] {\n --color: var(--close-color);\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Has link */\n\n &--has-link &__label:not(:empty) + &__link {\n margin-top: space(\"xsmall\");\n }\n}\n","import { Component, Host, h, Element, Prop, Event, EventEmitter, Method, Watch } from \"@stencil/core\";\n\nimport {\n StzhToastOpenEvent,\n StzhToastOpenedEvent,\n StzhToastCloseEvent,\n StzhToastClosedEvent,\n StzhToastType,\n} from \"../../index\";\n\nimport { StzhToastLocalizedText } from \"./stzh-toast.localization\";\nimport { hasSlot, setPropsIfNull } from \"../../utils/utils\";\nimport { waitForEvent } from \"../../utils/event-utils\";\nimport { animateTo, shimKeyframesAutoValues, stopAnimations } from \"../../utils/animation-utils\";\n\nconst ANIMATION_SHOW = {\n keyframes: [\n { transform: \"translateY(100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n ],\n options: {\n duration: 300,\n easing: \"ease-out\",\n },\n};\n\nconst ANIMATION_HIDE = {\n keyframes: [\n { transform: \"translateX(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n // { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: 'auto' },\n // { transform: \"translateY(-100%)\", opacity: \"0\", height: \"0\", marginBottom: '0' },\n ],\n options: {\n duration: 300,\n easing: \"ease-in\",\n },\n};\n\n/**\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-toast\",\n styleUrl: \"stzh-toast.scss\",\n shadow: true,\n})\nexport class StzhToast {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhToastType = \"info\";\n\n /** Whether to hide close button */\n @Prop({ reflect: true }) hideClose: boolean = false;\n\n /** Open state */\n @Prop({ reflect: true }) open: boolean = true;\n\n /** Whether open animation should be played initially. */\n @Prop() initialOpenAnimation = false;\n\n /** Translation strings. */\n @Prop() localization: StzhToastLocalizedText;\n\n /** Toast open event */\n @Event() stzhOpen: EventEmitter<StzhToastOpenEvent>;\n\n /** Toast opened event (after animation) */\n @Event() stzhOpened: EventEmitter<StzhToastOpenedEvent>;\n\n /** Toast close event */\n @Event() stzhClose: EventEmitter<StzhToastCloseEvent>;\n\n /** Toast closed event (after animation) */\n @Event() stzhClosed: EventEmitter<StzhToastClosedEvent>;\n\n @Element() element: HTMLStzhToastElement;\n\n @Watch(\"open\")\n async openWatcher(newValue: boolean) {\n if (!this.rootElement) {\n return;\n }\n\n if (newValue) {\n if (this.toggledByMethod) {\n this.stzhOpen.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n this.element.hidden = false;\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_SHOW.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_SHOW.options,\n );\n\n this.element.style.height = \"auto\";\n this.element.style.opacity = \"1\";\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhOpened.emit({\n component: \"stzh-toast\",\n });\n }\n } else {\n if (this.toggledByMethod) {\n this.stzhClose.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_HIDE.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_HIDE.options,\n );\n\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n this.element.hidden = true;\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhClosed.emit({\n component: \"stzh-toast\",\n });\n }\n }\n\n this.toggledByMethod = false;\n }\n\n @Method()\n async show() {\n if (this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = true;\n return waitForEvent(this.element, \"stzhOpened\");\n }\n\n @Method()\n async hide() {\n if (!this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = false;\n return waitForEvent(this.element, \"stzhClosed\");\n }\n\n // private observer: MutationObserver;\n private toggledByMethod: boolean;\n private rootElement: HTMLElement;\n\n private handleLinkSlotchange = () => {\n const host = (this.element.getRootNode() as ShadowRoot)?.host || this.element;\n const buttons = host.querySelectorAll('stzh-button[slot=\"link\"], [slot=\"link\"] stzh-button');\n\n buttons.forEach(link => {\n setPropsIfNull(link, {\n size: \"small\",\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"toast\");\n }\n }\n\n componentDidLoad() {\n if (this.initialOpenAnimation && this.open) {\n // hide first so the open animation will be shown\n this.element.hidden = true;\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n this.openWatcher(true);\n });\n });\n } else {\n this.element.hidden = !this.open;\n this.element.style.height = this.open ? \"auto\" : \"0px\";\n this.element.style.opacity = this.open ? \"1\" : \"0\";\n }\n }\n\n // connectedCallback() {\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 // if (this.observer) {\n // this.observer.disconnect();\n // }\n // }\n\n render() {\n const linkUsed = hasSlot(this.element, \"link\");\n\n const classes = {\n \"stzh-toast\": true,\n \"stzh-toast--has-link\": linkUsed,\n \"stzh-toast--has-close-hidden\": this.hideClose,\n [`stzh-toast--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div ref={el => (this.rootElement = el as HTMLElement)} class={classes}>\n <div class=\"stzh-toast__content\">\n <div class=\"stzh-toast__icon-wrapper\">\n <stzh-icon\n class=\"stzh-toast__icon\"\n name={\n (this.type === \"info\" && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-toast__text-wrapper\">\n <div class=\"stzh-toast__label\">{this.label}</div>\n <div class=\"stzh-toast__link\">\n <slot name=\"link\" onSlotchange={this.handleLinkSlotchange}></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <div class=\"stzh-toast__close-wrapper\">\n <stzh-button\n class=\"stzh-toast__close\"\n onClick={this.onCloseButtonClick}\n label={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
  import { g as getDefaultExportFromCjs } from './p-E-ZsRS8r.js';
3
3
 
4
4
  var dist$1 = {};
@@ -4105,6 +4105,6 @@ function defineCustomElement() {
4105
4105
  }
4106
4106
 
4107
4107
  export { StzhSortable as S, defineCustomElement as d };
4108
- //# sourceMappingURL=p-Ci1SNC6M.js.map
4108
+ //# sourceMappingURL=p-B9l_iEm8.js.map
4109
4109
 
4110
- //# sourceMappingURL=p-Ci1SNC6M.js.map
4110
+ //# sourceMappingURL=p-B9l_iEm8.js.map