@oiz/stzh-components 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (713) hide show
  1. package/dist/cjs/{app-globals-1d1f8f2e.js → app-globals-0699ef40.js} +2 -2
  2. package/dist/cjs/{app-globals-1d1f8f2e.js.map → app-globals-0699ef40.js.map} +1 -1
  3. package/dist/cjs/index-92254d32.js +46 -18
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion_3.cjs.entry.js +19 -19
  7. package/dist/cjs/stzh-accordion_3.cjs.entry.js.map +1 -1
  8. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +5 -18
  10. package/dist/cjs/stzh-card-searchresult.cjs.entry.js.map +1 -1
  11. package/dist/cjs/{stzh-card_3.cjs.entry.js → stzh-card_2.cjs.entry.js} +6 -222
  12. package/dist/cjs/stzh-card_2.cjs.entry.js.map +1 -0
  13. package/dist/cjs/stzh-checkbox.cjs.entry.js.map +1 -1
  14. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js.map +1 -1
  15. package/dist/cjs/{stzh-message.cjs.entry.js → stzh-chipgroup_2.cjs.entry.js} +19 -2
  16. package/dist/cjs/stzh-chipgroup_2.cjs.entry.js.map +1 -0
  17. package/dist/cjs/stzh-chipselect.cjs.entry.js +222 -0
  18. package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -0
  19. package/dist/cjs/stzh-components.cjs.js +2 -2
  20. package/dist/cjs/stzh-contact.cjs.entry.js +40 -37
  21. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  22. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
  24. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-content.cjs.entry.js.map +1 -1
  26. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  28. package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  30. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +31 -33
  31. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  34. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-header.cjs.entry.js +175 -166
  37. package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
  38. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-heading.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +102 -0
  41. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js.map +1 -0
  42. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
  44. package/dist/cjs/stzh-input.cjs.entry.js +29 -44
  45. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  46. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js.map +1 -1
  47. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +76 -0
  48. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js.map +1 -0
  49. package/dist/cjs/stzh-pagetitle.cjs.entry.js +16 -15
  50. package/dist/cjs/stzh-pagetitle.cjs.entry.js.map +1 -1
  51. package/dist/cjs/stzh-panorama.cjs.entry.js +51 -25
  52. package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
  53. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +64 -0
  54. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js.map +1 -0
  55. package/dist/cjs/stzh-pi-menu.cjs.entry.js +202 -0
  56. package/dist/cjs/stzh-pi-menu.cjs.entry.js.map +1 -0
  57. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +83 -0
  58. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -0
  59. package/dist/cjs/stzh-pi-quote.cjs.entry.js +26 -0
  60. package/dist/cjs/stzh-pi-quote.cjs.entry.js.map +1 -0
  61. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +62 -0
  62. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -0
  63. package/dist/cjs/stzh-popover_2.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-popover_2.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +7 -3
  66. package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
  67. package/dist/cjs/stzh-progressbar.cjs.entry.js +2 -1
  68. package/dist/cjs/stzh-progressbar.cjs.entry.js.map +1 -1
  69. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-ratio.cjs.entry.js.map +1 -1
  71. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -0
  72. package/dist/cjs/stzh-readspeaker.cjs.entry.js.map +1 -1
  73. package/dist/cjs/stzh-search.cjs.entry.js +69 -44
  74. package/dist/cjs/stzh-search.cjs.entry.js.map +1 -1
  75. package/dist/cjs/stzh-section.cjs.entry.js +3 -3
  76. package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
  77. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  79. package/dist/cjs/stzh-space.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  81. package/dist/cjs/stzh-textandimage.cjs.entry.js +10 -8
  82. package/dist/cjs/stzh-textandimage.cjs.entry.js.map +1 -1
  83. package/dist/cjs/stzh-timepicker.cjs.entry.js.map +1 -1
  84. package/dist/cjs/stzh-toggle.cjs.entry.js.map +1 -1
  85. package/dist/cjs/stzh-tooltip.cjs.entry.js +36 -51
  86. package/dist/cjs/stzh-tooltip.cjs.entry.js.map +1 -1
  87. package/dist/cjs/stzh-upload.cjs.entry.js +65 -31
  88. package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
  89. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  91. package/dist/collection/assets/i18n/de.json +36 -3
  92. package/dist/collection/assets/i18n/en.json +36 -3
  93. package/dist/collection/collection-manifest.json +7 -0
  94. package/dist/collection/components/stzh-accordion/stzh-accordion.css +16 -0
  95. package/dist/collection/components/stzh-accordion/stzh-accordion.js +38 -20
  96. package/dist/collection/components/stzh-accordion/stzh-accordion.js.map +1 -1
  97. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +4 -5
  98. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -0
  99. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  100. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +7 -8
  101. package/dist/collection/components/stzh-actions/stzh-actions.css +3 -0
  102. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
  103. package/dist/collection/components/stzh-amount/stzh-amount.css +3 -0
  104. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  105. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  106. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -0
  107. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
  108. package/dist/collection/components/stzh-archivelist/stzh-archivelist.css +3 -0
  109. package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
  110. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
  111. package/dist/collection/components/stzh-banner/stzh-banner.css +3 -0
  112. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +3 -0
  113. package/dist/collection/components/stzh-button/stzh-button.css +3 -0
  114. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +3 -0
  115. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
  116. package/dist/collection/components/stzh-card/stzh-card.css +3 -0
  117. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +3 -0
  118. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js +2 -5
  119. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js.map +1 -1
  120. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.css +3 -0
  121. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +5 -18
  122. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -1
  123. package/dist/collection/components/stzh-card-superteaser/stzh-card-superteaser.css +3 -0
  124. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +101 -18
  125. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +6 -8
  126. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js.map +1 -1
  127. package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
  128. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
  129. package/dist/collection/components/stzh-chart/stzh-chart.css +3 -0
  130. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -0
  131. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +1 -1
  132. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  133. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
  134. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -1
  135. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js.map +1 -1
  136. package/dist/collection/components/stzh-chip/stzh-chip.css +3 -0
  137. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.css +3 -0
  138. package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +3 -0
  139. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +3 -3
  140. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  141. package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +44 -32
  142. package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
  143. package/dist/collection/components/stzh-contact/stzh-contact.css +3 -0
  144. package/dist/collection/components/stzh-contact/stzh-contact.js +48 -41
  145. package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
  146. package/dist/collection/components/stzh-container/stzh-container.css +6 -1
  147. package/dist/collection/components/stzh-content/stzh-content.css +11 -0
  148. package/dist/collection/components/stzh-cspace/stzh-cspace.css +119 -13
  149. package/dist/collection/components/stzh-cta/stzh-cta.css +3 -0
  150. package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
  151. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -2
  152. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +3 -0
  153. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
  154. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +21 -0
  155. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  156. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
  157. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -1
  158. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  159. package/dist/collection/components/stzh-daterange/stzh-daterange.css +3 -0
  160. package/dist/collection/components/stzh-details/stzh-details.css +3 -0
  161. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
  162. package/dist/collection/components/stzh-disturber/stzh-disturber.css +3 -0
  163. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +7 -0
  164. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1 -1
  165. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  166. package/dist/collection/components/stzh-editor/stzh-editor.css +3 -0
  167. package/dist/collection/components/stzh-eventdata/stzh-eventdata.css +3 -0
  168. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.css +3 -0
  169. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
  170. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  171. package/dist/collection/components/stzh-figure/stzh-figure.css +3 -0
  172. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
  173. package/dist/collection/components/stzh-footer/stzh-footer.css +3 -0
  174. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +17 -5
  175. package/dist/collection/components/stzh-gallery/stzh-gallery.css +3 -11
  176. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +3 -0
  177. package/dist/collection/components/stzh-header/stzh-header.css +34 -14
  178. package/dist/collection/components/stzh-header/stzh-header.js +246 -167
  179. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  180. package/dist/collection/components/stzh-header/stzh-header.stories.js +176 -120
  181. package/dist/collection/components/stzh-heading/stzh-heading.css +36 -0
  182. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  183. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.css +387 -0
  184. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.js +23 -0
  185. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.js.map +1 -0
  186. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +159 -0
  187. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js.map +1 -0
  188. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +100 -0
  189. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
  190. package/dist/collection/components/stzh-hspace/stzh-hspace.css +12 -0
  191. package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
  192. package/dist/collection/components/stzh-iframe/stzh-iframe.css +3 -0
  193. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.css +3 -0
  194. package/dist/collection/components/stzh-input/stzh-input.css +10 -0
  195. package/dist/collection/components/stzh-input/stzh-input.js +29 -44
  196. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  197. package/dist/collection/components/stzh-invert/stzh-invert.css +3 -0
  198. package/dist/collection/components/stzh-link/stzh-link.css +3 -0
  199. package/dist/collection/components/stzh-list/stzh-list.css +3 -0
  200. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
  201. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
  202. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
  203. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
  204. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
  205. package/dist/collection/components/stzh-message/stzh-message.css +7 -19
  206. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +3 -0
  207. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.css +3 -0
  208. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  209. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js.map +1 -1
  210. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
  211. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
  212. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
  213. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +3 -0
  214. package/dist/collection/components/stzh-pagecontent/stzh-pagecontent.css +3 -0
  215. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +8 -0
  216. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +34 -15
  217. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js.map +1 -1
  218. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +29 -10
  219. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +3 -0
  220. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.css +461 -0
  221. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.e2e.js +23 -0
  222. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.e2e.js.map +1 -0
  223. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.js +86 -0
  224. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.js.map +1 -0
  225. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +99 -0
  226. package/dist/collection/components/stzh-pagination/stzh-pagination.css +3 -0
  227. package/dist/collection/components/stzh-panorama/stzh-panorama.css +54 -63
  228. package/dist/collection/components/stzh-panorama/stzh-panorama.js +106 -26
  229. package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
  230. package/dist/collection/components/stzh-panorama/stzh-panorama.localization.js.map +1 -1
  231. package/dist/collection/components/stzh-panorama/stzh-panorama.stories.js +40 -36
  232. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.css +443 -0
  233. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.e2e.js +16 -0
  234. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.e2e.js.map +1 -0
  235. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.js +218 -0
  236. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -0
  237. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +62 -0
  238. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.css +503 -0
  239. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.e2e.js +16 -0
  240. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.e2e.js.map +1 -0
  241. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.js +527 -0
  242. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.js.map +1 -0
  243. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.localization.js +2 -0
  244. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.localization.js.map +1 -0
  245. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.stories.js +138 -0
  246. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.css +944 -0
  247. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.e2e.js +23 -0
  248. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.e2e.js.map +1 -0
  249. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.js +149 -0
  250. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -0
  251. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +184 -0
  252. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.css +301 -0
  253. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.e2e.js +16 -0
  254. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.e2e.js.map +1 -0
  255. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.js +48 -0
  256. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.js.map +1 -0
  257. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.stories.js +42 -0
  258. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.css +364 -0
  259. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.e2e.js +16 -0
  260. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.e2e.js.map +1 -0
  261. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.js +234 -0
  262. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -0
  263. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.stories.js +66 -0
  264. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
  265. package/dist/collection/components/stzh-print/stzh-print.css +3 -0
  266. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
  267. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +20 -1
  268. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js.map +1 -1
  269. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +9 -0
  270. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +11 -2
  271. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +24 -2
  272. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
  273. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +16 -0
  274. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
  275. package/dist/collection/components/stzh-radio/stzh-radio.js +20 -21
  276. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  277. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
  278. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +14 -15
  279. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  280. package/dist/collection/components/stzh-ratio/stzh-ratio.css +3 -0
  281. package/dist/collection/components/stzh-ratio/stzh-ratio.js +2 -2
  282. package/dist/collection/components/stzh-ratio/stzh-ratio.js.map +1 -1
  283. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
  284. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +1 -0
  285. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js.map +1 -1
  286. package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
  287. package/dist/collection/components/stzh-row/stzh-row.css +3 -0
  288. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
  289. package/dist/collection/components/stzh-scrollup/stzh-scrollup.css +3 -0
  290. package/dist/collection/components/stzh-search/stzh-search.css +137 -23
  291. package/dist/collection/components/stzh-search/stzh-search.js +132 -47
  292. package/dist/collection/components/stzh-search/stzh-search.js.map +1 -1
  293. package/dist/collection/components/stzh-search/stzh-search.stories.js +125 -26
  294. package/dist/collection/components/stzh-section/stzh-section.css +81 -9
  295. package/dist/collection/components/stzh-section/stzh-section.js +5 -5
  296. package/dist/collection/components/stzh-section/stzh-section.js.map +1 -1
  297. package/dist/collection/components/stzh-share/stzh-share.css +3 -0
  298. package/dist/collection/components/stzh-show/stzh-show.css +3 -0
  299. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +3 -0
  300. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +587 -212
  301. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.css +3 -0
  302. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
  303. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
  304. package/dist/collection/components/stzh-space/stzh-space.css +12 -0
  305. package/dist/collection/components/stzh-status/stzh-status.css +3 -0
  306. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
  307. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.css +3 -0
  308. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  309. package/dist/collection/components/stzh-tag/stzh-tag.css +3 -0
  310. package/dist/collection/components/stzh-text/stzh-text.css +135 -0
  311. package/dist/collection/components/stzh-text/stzh-text.js +1 -1
  312. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +71 -35
  313. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +28 -8
  314. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js.map +1 -1
  315. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +37 -22
  316. package/dist/collection/components/stzh-timeline/stzh-timeline.css +3 -0
  317. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +3 -0
  318. package/dist/collection/components/stzh-timepicker/stzh-timepicker.css +3 -0
  319. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  320. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js.map +1 -1
  321. package/dist/collection/components/stzh-toast/stzh-toast.css +3 -0
  322. package/dist/collection/components/stzh-toastbar/stzh-toastbar.css +3 -0
  323. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
  324. package/dist/collection/components/stzh-toggle/stzh-toggle.js +1 -1
  325. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  326. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +9 -0
  327. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +56 -53
  328. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js.map +1 -1
  329. package/dist/collection/components/stzh-twocolumns/stzh-twocolumns.css +3 -0
  330. package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
  331. package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
  332. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  333. package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.css +3 -0
  334. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
  335. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
  336. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
  337. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
  338. package/dist/collection/components/stzh-vspace/stzh-vspace.css +12 -0
  339. package/dist/collection/components/stzh-youtube/stzh-youtube.css +3 -0
  340. package/dist/collection/index.js +1 -1
  341. package/dist/collection/index.js.map +1 -1
  342. package/dist/collection/pages/home/home.e2e.js +16 -0
  343. package/dist/collection/pages/home/home.e2e.js.map +1 -0
  344. package/dist/collection/pages/publizistische-inhalte/publizistische-inhalte.e2e.js +16 -0
  345. package/dist/collection/pages/publizistische-inhalte/publizistische-inhalte.e2e.js.map +1 -0
  346. package/dist/components/index.js +1 -1
  347. package/dist/components/index2.js.map +1 -1
  348. package/dist/components/stzh-accordion2.js +27 -20
  349. package/dist/components/stzh-accordion2.js.map +1 -1
  350. package/dist/components/stzh-amount.js.map +1 -1
  351. package/dist/components/stzh-card-searchresult.js +5 -18
  352. package/dist/components/stzh-card-searchresult.js.map +1 -1
  353. package/dist/components/stzh-cardlist2.js +5 -7
  354. package/dist/components/stzh-cardlist2.js.map +1 -1
  355. package/dist/components/stzh-checkbox.js.map +1 -1
  356. package/dist/components/stzh-checkboxgroup.js.map +1 -1
  357. package/dist/components/stzh-chipgroup.js +1 -31
  358. package/dist/components/stzh-chipgroup.js.map +1 -1
  359. package/dist/{esm/stzh-chipgroup.entry.js → components/stzh-chipgroup2.js} +23 -9
  360. package/dist/components/stzh-chipgroup2.js.map +1 -0
  361. package/dist/components/stzh-chipselect2.js +2 -2
  362. package/dist/components/stzh-chipselect2.js.map +1 -1
  363. package/dist/components/stzh-contact.js +43 -38
  364. package/dist/components/stzh-contact.js.map +1 -1
  365. package/dist/components/stzh-container.js +1 -1
  366. package/dist/components/stzh-container.js.map +1 -1
  367. package/dist/components/stzh-content.js +1 -1
  368. package/dist/components/stzh-content.js.map +1 -1
  369. package/dist/components/stzh-cspace.js +1 -1
  370. package/dist/components/stzh-cspace.js.map +1 -1
  371. package/dist/components/stzh-datalist-item2.js +1 -1
  372. package/dist/components/stzh-datalist-item2.js.map +1 -1
  373. package/dist/components/stzh-datatable.js +22 -16
  374. package/dist/components/stzh-datatable.js.map +1 -1
  375. package/dist/components/stzh-datepicker2.js.map +1 -1
  376. package/dist/components/stzh-dropdown2.js +1 -1
  377. package/dist/components/stzh-dropdown2.js.map +1 -1
  378. package/dist/components/stzh-gallery.js +1 -1
  379. package/dist/components/stzh-gallery.js.map +1 -1
  380. package/dist/components/stzh-header.js +179 -167
  381. package/dist/components/stzh-header.js.map +1 -1
  382. package/dist/components/stzh-heading2.js +1 -1
  383. package/dist/components/stzh-heading2.js.map +1 -1
  384. package/dist/components/stzh-homepage-service-highlights.d.ts +11 -0
  385. package/dist/components/stzh-homepage-service-highlights.js +151 -0
  386. package/dist/components/stzh-homepage-service-highlights.js.map +1 -0
  387. package/dist/components/stzh-hspace2.js +1 -1
  388. package/dist/components/stzh-hspace2.js.map +1 -1
  389. package/dist/components/stzh-input2.js +29 -44
  390. package/dist/components/stzh-input2.js.map +1 -1
  391. package/dist/components/stzh-message2.js +1 -1
  392. package/dist/components/stzh-message2.js.map +1 -1
  393. package/dist/components/stzh-monthyearpicker.js.map +1 -1
  394. package/dist/components/stzh-pagetitle-home.d.ts +11 -0
  395. package/dist/components/stzh-pagetitle-home.js +96 -0
  396. package/dist/components/stzh-pagetitle-home.js.map +1 -0
  397. package/dist/components/stzh-pagetitle.js +17 -15
  398. package/dist/components/stzh-pagetitle.js.map +1 -1
  399. package/dist/components/stzh-panorama.js +71 -36
  400. package/dist/components/stzh-panorama.js.map +1 -1
  401. package/dist/components/stzh-pi-content-navigation.d.ts +11 -0
  402. package/dist/components/stzh-pi-content-navigation.js +96 -0
  403. package/dist/components/stzh-pi-content-navigation.js.map +1 -0
  404. package/dist/components/stzh-pi-menu.d.ts +11 -0
  405. package/dist/components/stzh-pi-menu.js +239 -0
  406. package/dist/components/stzh-pi-menu.js.map +1 -0
  407. package/dist/components/stzh-pi-pagetitle.d.ts +11 -0
  408. package/dist/components/stzh-pi-pagetitle.js +107 -0
  409. package/dist/components/stzh-pi-pagetitle.js.map +1 -0
  410. package/dist/components/stzh-pi-quote.d.ts +11 -0
  411. package/dist/components/stzh-pi-quote.js +41 -0
  412. package/dist/components/stzh-pi-quote.js.map +1 -0
  413. package/dist/components/stzh-pi-teaser.d.ts +11 -0
  414. package/dist/components/stzh-pi-teaser.js +89 -0
  415. package/dist/components/stzh-pi-teaser.js.map +1 -0
  416. package/dist/components/stzh-progressbar-item2.js +8 -3
  417. package/dist/components/stzh-progressbar-item2.js.map +1 -1
  418. package/dist/components/stzh-progressbar.js +3 -1
  419. package/dist/components/stzh-progressbar.js.map +1 -1
  420. package/dist/components/stzh-radio2.js +18 -19
  421. package/dist/components/stzh-radio2.js.map +1 -1
  422. package/dist/components/stzh-radiogroup2.js +13 -14
  423. package/dist/components/stzh-radiogroup2.js.map +1 -1
  424. package/dist/components/stzh-ratio2.js +1 -1
  425. package/dist/components/stzh-ratio2.js.map +1 -1
  426. package/dist/components/stzh-readspeaker.js +1 -0
  427. package/dist/components/stzh-readspeaker.js.map +1 -1
  428. package/dist/components/stzh-search.js +126 -61
  429. package/dist/components/stzh-search.js.map +1 -1
  430. package/dist/components/stzh-section.js +3 -3
  431. package/dist/components/stzh-section.js.map +1 -1
  432. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  433. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  434. package/dist/components/stzh-space.js +1 -1
  435. package/dist/components/stzh-space.js.map +1 -1
  436. package/dist/components/stzh-text2.js +1 -1
  437. package/dist/components/stzh-text2.js.map +1 -1
  438. package/dist/components/stzh-textandimage.js +12 -9
  439. package/dist/components/stzh-textandimage.js.map +1 -1
  440. package/dist/components/stzh-timepicker.js.map +1 -1
  441. package/dist/components/stzh-toggle.js.map +1 -1
  442. package/dist/components/stzh-tooltip2.js +37 -51
  443. package/dist/components/stzh-tooltip2.js.map +1 -1
  444. package/dist/components/stzh-upload.js +65 -31
  445. package/dist/components/stzh-upload.js.map +1 -1
  446. package/dist/components/stzh-vspace.js +1 -1
  447. package/dist/components/stzh-vspace.js.map +1 -1
  448. package/dist/esm/{app-globals-f9c4987b.js → app-globals-ab5b077d.js} +2 -2
  449. package/dist/esm/{app-globals-f9c4987b.js.map → app-globals-ab5b077d.js.map} +1 -1
  450. package/dist/esm/index-e3050b18.js +46 -18
  451. package/dist/esm/index.js.map +1 -1
  452. package/dist/esm/loader.js +2 -2
  453. package/dist/esm/stzh-accordion_3.entry.js +19 -19
  454. package/dist/esm/stzh-accordion_3.entry.js.map +1 -1
  455. package/dist/esm/stzh-amount.entry.js.map +1 -1
  456. package/dist/esm/stzh-card-searchresult.entry.js +5 -18
  457. package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
  458. package/dist/esm/{stzh-card_3.entry.js → stzh-card_2.entry.js} +7 -222
  459. package/dist/esm/stzh-card_2.entry.js.map +1 -0
  460. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  461. package/dist/esm/stzh-checkboxgroup.entry.js.map +1 -1
  462. package/dist/esm/{stzh-message.entry.js → stzh-chipgroup_2.entry.js} +20 -4
  463. package/dist/esm/stzh-chipgroup_2.entry.js.map +1 -0
  464. package/dist/esm/stzh-chipselect.entry.js +218 -0
  465. package/dist/esm/stzh-chipselect.entry.js.map +1 -0
  466. package/dist/esm/stzh-components.js +2 -2
  467. package/dist/esm/stzh-contact.entry.js +40 -37
  468. package/dist/esm/stzh-contact.entry.js.map +1 -1
  469. package/dist/esm/stzh-container.entry.js +1 -1
  470. package/dist/esm/stzh-container.entry.js.map +1 -1
  471. package/dist/esm/stzh-content.entry.js +1 -1
  472. package/dist/esm/stzh-content.entry.js.map +1 -1
  473. package/dist/esm/stzh-cspace.entry.js +1 -1
  474. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  475. package/dist/esm/stzh-datalist_2.entry.js +1 -1
  476. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  477. package/dist/esm/stzh-datepicker_3.entry.js +31 -33
  478. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  479. package/dist/esm/stzh-dropdown.entry.js +1 -1
  480. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  481. package/dist/esm/stzh-gallery.entry.js +1 -1
  482. package/dist/esm/stzh-gallery.entry.js.map +1 -1
  483. package/dist/esm/stzh-header.entry.js +175 -166
  484. package/dist/esm/stzh-header.entry.js.map +1 -1
  485. package/dist/esm/stzh-heading.entry.js +1 -1
  486. package/dist/esm/stzh-heading.entry.js.map +1 -1
  487. package/dist/esm/stzh-homepage-service-highlights.entry.js +98 -0
  488. package/dist/esm/stzh-homepage-service-highlights.entry.js.map +1 -0
  489. package/dist/esm/stzh-hspace.entry.js +1 -1
  490. package/dist/esm/stzh-hspace.entry.js.map +1 -1
  491. package/dist/esm/stzh-input.entry.js +29 -44
  492. package/dist/esm/stzh-input.entry.js.map +1 -1
  493. package/dist/esm/stzh-monthyearpicker.entry.js.map +1 -1
  494. package/dist/esm/stzh-pagetitle-home.entry.js +72 -0
  495. package/dist/esm/stzh-pagetitle-home.entry.js.map +1 -0
  496. package/dist/esm/stzh-pagetitle.entry.js +16 -15
  497. package/dist/esm/stzh-pagetitle.entry.js.map +1 -1
  498. package/dist/esm/stzh-panorama.entry.js +52 -26
  499. package/dist/esm/stzh-panorama.entry.js.map +1 -1
  500. package/dist/esm/stzh-pi-content-navigation.entry.js +60 -0
  501. package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -0
  502. package/dist/esm/stzh-pi-menu.entry.js +198 -0
  503. package/dist/esm/stzh-pi-menu.entry.js.map +1 -0
  504. package/dist/esm/stzh-pi-pagetitle.entry.js +79 -0
  505. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -0
  506. package/dist/esm/stzh-pi-quote.entry.js +22 -0
  507. package/dist/esm/stzh-pi-quote.entry.js.map +1 -0
  508. package/dist/esm/stzh-pi-teaser.entry.js +58 -0
  509. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -0
  510. package/dist/esm/stzh-popover_2.entry.js +1 -1
  511. package/dist/esm/stzh-popover_2.entry.js.map +1 -1
  512. package/dist/esm/stzh-progressbar-item.entry.js +7 -3
  513. package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
  514. package/dist/esm/stzh-progressbar.entry.js +2 -1
  515. package/dist/esm/stzh-progressbar.entry.js.map +1 -1
  516. package/dist/esm/stzh-ratio.entry.js +1 -1
  517. package/dist/esm/stzh-ratio.entry.js.map +1 -1
  518. package/dist/esm/stzh-readspeaker.entry.js +1 -0
  519. package/dist/esm/stzh-readspeaker.entry.js.map +1 -1
  520. package/dist/esm/stzh-search.entry.js +70 -45
  521. package/dist/esm/stzh-search.entry.js.map +1 -1
  522. package/dist/esm/stzh-section.entry.js +3 -3
  523. package/dist/esm/stzh-section.entry.js.map +1 -1
  524. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  525. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  526. package/dist/esm/stzh-space.entry.js +1 -1
  527. package/dist/esm/stzh-space.entry.js.map +1 -1
  528. package/dist/esm/stzh-textandimage.entry.js +10 -8
  529. package/dist/esm/stzh-textandimage.entry.js.map +1 -1
  530. package/dist/esm/stzh-timepicker.entry.js.map +1 -1
  531. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  532. package/dist/esm/stzh-tooltip.entry.js +36 -51
  533. package/dist/esm/stzh-tooltip.entry.js.map +1 -1
  534. package/dist/esm/stzh-upload.entry.js +65 -31
  535. package/dist/esm/stzh-upload.entry.js.map +1 -1
  536. package/dist/esm/stzh-vspace.entry.js +1 -1
  537. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  538. package/dist/stzh-components/assets/i18n/de.json +36 -3
  539. package/dist/stzh-components/assets/i18n/en.json +36 -3
  540. package/dist/stzh-components/index.esm.js.map +1 -1
  541. package/dist/stzh-components/p-012dc71e.entry.js +2 -0
  542. package/dist/stzh-components/{p-91b360c9.entry.js.map → p-012dc71e.entry.js.map} +1 -1
  543. package/dist/stzh-components/p-0b381244.entry.js +2 -0
  544. package/dist/stzh-components/{p-8b608a1b.entry.js.map → p-0b381244.entry.js.map} +1 -1
  545. package/dist/stzh-components/p-0c67b73d.entry.js +2 -0
  546. package/dist/stzh-components/p-0c67b73d.entry.js.map +1 -0
  547. package/dist/stzh-components/p-0fb40e48.entry.js.map +1 -1
  548. package/dist/stzh-components/p-1bc9a18d.entry.js +2 -0
  549. package/dist/stzh-components/{p-ca76966e.entry.js.map → p-1bc9a18d.entry.js.map} +1 -1
  550. package/dist/stzh-components/p-1f0e8499.entry.js +2 -0
  551. package/dist/stzh-components/p-1f0e8499.entry.js.map +1 -0
  552. package/dist/stzh-components/{p-744c2183.entry.js → p-204a6e41.entry.js} +2 -2
  553. package/dist/stzh-components/p-204a6e41.entry.js.map +1 -0
  554. package/dist/stzh-components/p-2096f3c6.entry.js.map +1 -1
  555. package/dist/stzh-components/{p-faec0661.entry.js → p-2ba166dd.entry.js} +2 -2
  556. package/dist/stzh-components/p-2ba166dd.entry.js.map +1 -0
  557. package/dist/stzh-components/{p-dff1ce7c.entry.js → p-37fbb5f0.entry.js} +2 -2
  558. package/dist/stzh-components/{p-dff1ce7c.entry.js.map → p-37fbb5f0.entry.js.map} +1 -1
  559. package/dist/stzh-components/p-4f49450d.entry.js +2 -0
  560. package/dist/stzh-components/p-4f49450d.entry.js.map +1 -0
  561. package/dist/stzh-components/p-52a914cd.entry.js +2 -0
  562. package/dist/stzh-components/p-52a914cd.entry.js.map +1 -0
  563. package/dist/stzh-components/p-56346206.entry.js +2 -0
  564. package/dist/stzh-components/p-56346206.entry.js.map +1 -0
  565. package/dist/stzh-components/p-59a1a257.entry.js +2 -0
  566. package/dist/stzh-components/p-59a1a257.entry.js.map +1 -0
  567. package/dist/stzh-components/p-5c3fddec.entry.js +2 -0
  568. package/dist/stzh-components/p-5c3fddec.entry.js.map +1 -0
  569. package/dist/stzh-components/p-673f842d.entry.js +2 -0
  570. package/dist/stzh-components/p-673f842d.entry.js.map +1 -0
  571. package/dist/stzh-components/p-6c2289da.entry.js.map +1 -1
  572. package/dist/stzh-components/p-722b9e40.entry.js.map +1 -1
  573. package/dist/stzh-components/{p-af87b81a.entry.js → p-75b79adf.entry.js} +2 -2
  574. package/dist/stzh-components/p-75b79adf.entry.js.map +1 -0
  575. package/dist/stzh-components/p-771d370d.entry.js +2 -0
  576. package/dist/stzh-components/p-771d370d.entry.js.map +1 -0
  577. package/dist/stzh-components/p-77ba1f21.entry.js +2 -0
  578. package/dist/stzh-components/p-77ba1f21.entry.js.map +1 -0
  579. package/dist/stzh-components/p-78a16599.entry.js +2 -0
  580. package/dist/stzh-components/p-78a16599.entry.js.map +1 -0
  581. package/dist/stzh-components/p-7aac960b.entry.js.map +1 -1
  582. package/dist/stzh-components/p-7ca981d1.entry.js +2 -0
  583. package/dist/stzh-components/p-7ca981d1.entry.js.map +1 -0
  584. package/dist/stzh-components/p-7d030c40.entry.js +2 -0
  585. package/dist/stzh-components/p-7d030c40.entry.js.map +1 -0
  586. package/dist/stzh-components/{p-b22876e5.entry.js → p-7efbb643.entry.js} +2 -2
  587. package/dist/stzh-components/p-7efbb643.entry.js.map +1 -0
  588. package/dist/stzh-components/p-801af922.entry.js +2 -0
  589. package/dist/stzh-components/p-801af922.entry.js.map +1 -0
  590. package/dist/stzh-components/p-8503fb10.entry.js +2 -0
  591. package/dist/stzh-components/{p-75045ebb.entry.js.map → p-8503fb10.entry.js.map} +1 -1
  592. package/dist/stzh-components/{p-663f31a2.entry.js → p-909f7fc0.entry.js} +2 -2
  593. package/dist/stzh-components/p-909f7fc0.entry.js.map +1 -0
  594. package/dist/stzh-components/p-969a4f9a.entry.js.map +1 -1
  595. package/dist/stzh-components/{p-5b1bc446.entry.js → p-991309dd.entry.js} +2 -2
  596. package/dist/stzh-components/{p-5b1bc446.entry.js.map → p-991309dd.entry.js.map} +1 -1
  597. package/dist/stzh-components/{p-56826f33.entry.js → p-af7855ff.entry.js} +2 -2
  598. package/dist/stzh-components/p-af7855ff.entry.js.map +1 -0
  599. package/dist/stzh-components/p-afde3fcd.entry.js +2 -0
  600. package/dist/stzh-components/p-afde3fcd.entry.js.map +1 -0
  601. package/dist/stzh-components/p-b41d255f.entry.js +2 -0
  602. package/dist/stzh-components/p-b41d255f.entry.js.map +1 -0
  603. package/dist/stzh-components/{p-af7562ba.entry.js → p-b566a2c0.entry.js} +2 -2
  604. package/dist/stzh-components/p-b566a2c0.entry.js.map +1 -0
  605. package/dist/stzh-components/p-b870c799.entry.js +2 -0
  606. package/dist/stzh-components/p-b870c799.entry.js.map +1 -0
  607. package/dist/stzh-components/p-bb1cacbc.entry.js +2 -0
  608. package/dist/stzh-components/p-bb1cacbc.entry.js.map +1 -0
  609. package/dist/stzh-components/{p-c31b1590.entry.js → p-c1cd45e1.entry.js} +5 -5
  610. package/dist/stzh-components/{p-c31b1590.entry.js.map → p-c1cd45e1.entry.js.map} +1 -1
  611. package/dist/stzh-components/p-c877d32c.entry.js +2 -0
  612. package/dist/stzh-components/{p-6f87ad6e.entry.js.map → p-c877d32c.entry.js.map} +1 -1
  613. package/dist/stzh-components/p-c8ead7fc.entry.js +2 -0
  614. package/dist/stzh-components/{p-f7979f2a.entry.js.map → p-c8ead7fc.entry.js.map} +1 -1
  615. package/dist/stzh-components/{p-f06b2737.js → p-cc1f8acc.js} +2 -2
  616. package/dist/stzh-components/p-cca366c2.entry.js.map +1 -1
  617. package/dist/stzh-components/p-cf856610.entry.js +2 -0
  618. package/dist/stzh-components/p-cf856610.entry.js.map +1 -0
  619. package/dist/stzh-components/{p-2773b08f.entry.js → p-d10a6897.entry.js} +2 -2
  620. package/dist/stzh-components/p-d10a6897.entry.js.map +1 -0
  621. package/dist/stzh-components/{p-929c5234.entry.js → p-d11565a5.entry.js} +3 -3
  622. package/dist/stzh-components/{p-929c5234.entry.js.map → p-d11565a5.entry.js.map} +1 -1
  623. package/dist/stzh-components/p-edf77853.entry.js +2 -0
  624. package/dist/stzh-components/p-edf77853.entry.js.map +1 -0
  625. package/dist/stzh-components/stzh-components.css +1663 -1
  626. package/dist/stzh-components/stzh-components.esm.js +1 -1
  627. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  628. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +3 -1
  629. package/dist/types/components/stzh-amount/stzh-amount.d.ts +1 -1
  630. package/dist/types/components/stzh-cardlist/stzh-cardlist.d.ts +2 -2
  631. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +1 -1
  632. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +1 -1
  633. package/dist/types/components/stzh-chipselect/stzh-chipselect.d.ts +1 -1
  634. package/dist/types/components/stzh-contact/stzh-contact.d.ts +7 -3
  635. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +1 -1
  636. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +1 -1
  637. package/dist/types/components/stzh-header/stzh-header.d.ts +15 -2
  638. package/dist/types/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.d.ts +17 -0
  639. package/dist/types/components/stzh-input/stzh-input.d.ts +1 -1
  640. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +1 -1
  641. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +3 -1
  642. package/dist/types/components/stzh-pagetitle-home/stzh-pagetitle-home.d.ts +16 -0
  643. package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +7 -1
  644. package/dist/types/components/stzh-panorama/stzh-panorama.localization.d.ts +1 -0
  645. package/dist/types/components/stzh-pi-content-navigation/stzh-pi-content-navigation.d.ts +36 -0
  646. package/dist/types/components/stzh-pi-menu/stzh-pi-menu.d.ts +62 -0
  647. package/dist/types/components/stzh-pi-menu/stzh-pi-menu.localization.d.ts +4 -0
  648. package/dist/types/components/stzh-pi-pagetitle/stzh-pi-pagetitle.d.ts +20 -0
  649. package/dist/types/components/stzh-pi-quote/stzh-pi-quote.d.ts +5 -0
  650. package/dist/types/components/stzh-pi-teaser/stzh-pi-teaser.d.ts +38 -0
  651. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +4 -0
  652. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +4 -0
  653. package/dist/types/components/stzh-radio/stzh-radio.d.ts +2 -2
  654. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +1 -1
  655. package/dist/types/components/stzh-search/stzh-search.d.ts +11 -1
  656. package/dist/types/components/stzh-section/stzh-section.d.ts +1 -1
  657. package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +2 -0
  658. package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +1 -1
  659. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +1 -1
  660. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +3 -1
  661. package/dist/types/components/stzh-upload/stzh-upload.d.ts +2 -2
  662. package/dist/types/components.d.ts +523 -42
  663. package/dist/types/index.d.ts +92 -22
  664. package/dist/vscode-data.json +326 -11
  665. package/package.json +2 -2
  666. package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
  667. package/dist/cjs/stzh-chipgroup.cjs.entry.js +0 -25
  668. package/dist/cjs/stzh-chipgroup.cjs.entry.js.map +0 -1
  669. package/dist/cjs/stzh-message.cjs.entry.js.map +0 -1
  670. package/dist/esm/stzh-card_3.entry.js.map +0 -1
  671. package/dist/esm/stzh-chipgroup.entry.js.map +0 -1
  672. package/dist/esm/stzh-message.entry.js.map +0 -1
  673. package/dist/stzh-components/p-150f4514.entry.js +0 -2
  674. package/dist/stzh-components/p-150f4514.entry.js.map +0 -1
  675. package/dist/stzh-components/p-1a19bc6e.entry.js +0 -2
  676. package/dist/stzh-components/p-1a19bc6e.entry.js.map +0 -1
  677. package/dist/stzh-components/p-1a3dcde3.entry.js +0 -2
  678. package/dist/stzh-components/p-1a3dcde3.entry.js.map +0 -1
  679. package/dist/stzh-components/p-2773b08f.entry.js.map +0 -1
  680. package/dist/stzh-components/p-3b31f90d.entry.js +0 -2
  681. package/dist/stzh-components/p-3b31f90d.entry.js.map +0 -1
  682. package/dist/stzh-components/p-54e73927.entry.js +0 -2
  683. package/dist/stzh-components/p-54e73927.entry.js.map +0 -1
  684. package/dist/stzh-components/p-56826f33.entry.js.map +0 -1
  685. package/dist/stzh-components/p-663f31a2.entry.js.map +0 -1
  686. package/dist/stzh-components/p-6f87ad6e.entry.js +0 -2
  687. package/dist/stzh-components/p-744c2183.entry.js.map +0 -1
  688. package/dist/stzh-components/p-75045ebb.entry.js +0 -2
  689. package/dist/stzh-components/p-8b608a1b.entry.js +0 -2
  690. package/dist/stzh-components/p-8f19c3ec.entry.js +0 -2
  691. package/dist/stzh-components/p-8f19c3ec.entry.js.map +0 -1
  692. package/dist/stzh-components/p-91b360c9.entry.js +0 -2
  693. package/dist/stzh-components/p-9b19785c.entry.js +0 -2
  694. package/dist/stzh-components/p-9b19785c.entry.js.map +0 -1
  695. package/dist/stzh-components/p-af7562ba.entry.js.map +0 -1
  696. package/dist/stzh-components/p-af87b81a.entry.js.map +0 -1
  697. package/dist/stzh-components/p-b22876e5.entry.js.map +0 -1
  698. package/dist/stzh-components/p-b2920d7f.entry.js +0 -2
  699. package/dist/stzh-components/p-b2920d7f.entry.js.map +0 -1
  700. package/dist/stzh-components/p-ca76966e.entry.js +0 -2
  701. package/dist/stzh-components/p-d6a4fe56.entry.js +0 -2
  702. package/dist/stzh-components/p-d6a4fe56.entry.js.map +0 -1
  703. package/dist/stzh-components/p-ea423877.entry.js +0 -2
  704. package/dist/stzh-components/p-ea423877.entry.js.map +0 -1
  705. package/dist/stzh-components/p-ef849bb1.entry.js +0 -2
  706. package/dist/stzh-components/p-ef849bb1.entry.js.map +0 -1
  707. package/dist/stzh-components/p-f5809e5f.entry.js +0 -2
  708. package/dist/stzh-components/p-f5809e5f.entry.js.map +0 -1
  709. package/dist/stzh-components/p-f692c5d0.entry.js +0 -2
  710. package/dist/stzh-components/p-f692c5d0.entry.js.map +0 -1
  711. package/dist/stzh-components/p-f7979f2a.entry.js +0 -2
  712. package/dist/stzh-components/p-faec0661.entry.js.map +0 -1
  713. /package/dist/stzh-components/{p-f06b2737.js.map → p-cc1f8acc.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { Host, h, writeTask, readTask, Fragment, } from "@stencil/core";
1
+ import { Fragment, h, Host, readTask, writeTask, } from "@stencil/core";
2
2
  import { hasSlot } from "../../utils/utils";
3
3
  import { media } from "../../utils/media-utils";
4
4
  import { tabbable } from "tabbable";
@@ -18,8 +18,7 @@ export class StzhHeader {
18
18
  this.lastOpener = null;
19
19
  this.flyoutOpenedByMetanavItem = null;
20
20
  this.handleMenuListFocusout = (event) => {
21
- const isNextFocusOutOfMenuList = !event.currentTarget
22
- .contains(event.relatedTarget);
21
+ const isNextFocusOutOfMenuList = !event.currentTarget.contains(event.relatedTarget);
23
22
  if (this.isMedium && isNextFocusOutOfMenuList) {
24
23
  this.closeMenuItem(false);
25
24
  }
@@ -30,21 +29,36 @@ export class StzhHeader {
30
29
  this.closeMetanavItem();
31
30
  }
32
31
  else {
32
+ this.flyoutSearchOpen = false;
33
33
  this.flyoutOpen = !this.flyoutOpen;
34
34
  }
35
35
  // focus first menu item
36
- const element = this.element.querySelector('.stzh-header__menu-item');
36
+ const element = this.element.querySelector(".stzh-header__menu-item");
37
+ if (element) {
38
+ window.setTimeout(() => {
39
+ element.focus();
40
+ }, 100);
41
+ }
42
+ this.updatePosition();
43
+ };
44
+ this.handleSearchButtonClick = async () => {
45
+ this.flyoutOpen = false;
46
+ this.flyoutSearchOpen = !this.flyoutSearchOpen;
47
+ // focus first search input
48
+ const element = this.element.querySelector(".stzh-search input[type='search']");
37
49
  if (element) {
38
50
  window.setTimeout(() => {
39
51
  element.focus();
40
52
  }, 100);
41
53
  }
42
- // await this.waitForNextRender();
43
54
  this.updatePosition();
44
55
  };
45
56
  this.handleBackdropClick = async () => {
46
57
  this.flyoutOpen = false;
47
- // await this.waitForNextRender();
58
+ this.updatePosition();
59
+ };
60
+ this.handleBackdropSearchClick = async () => {
61
+ this.flyoutSearchOpen = false;
48
62
  this.updatePosition();
49
63
  };
50
64
  this.handleMetanavItemClick = (event, item) => {
@@ -54,6 +68,20 @@ export class StzhHeader {
54
68
  originalEvent: event,
55
69
  });
56
70
  };
71
+ this.handleMetanavItemChildClick = (event, itemChild) => {
72
+ this.stzhMetanavItemChildClick.emit({
73
+ component: "stzh-header",
74
+ itemChild: itemChild,
75
+ originalEvent: event,
76
+ });
77
+ };
78
+ this.handleMetanavItemButtonClick = (event, itemButton) => {
79
+ this.stzhMetanavItemButtonClick.emit({
80
+ component: "stzh-header",
81
+ itemButton: itemButton,
82
+ originalEvent: event,
83
+ });
84
+ };
57
85
  this.handleMenuItemClick = (event, item) => {
58
86
  this.flyoutOpen = false;
59
87
  this.stzhMenuItemClick.emit({
@@ -67,7 +95,7 @@ export class StzhHeader {
67
95
  this.stzhSearchChange.emit({
68
96
  component: "stzh-header",
69
97
  originalEvent: event,
70
- value: this.searchValue
98
+ value: this.searchValue,
71
99
  });
72
100
  };
73
101
  this.handleSearchChange = (event) => {
@@ -75,7 +103,7 @@ export class StzhHeader {
75
103
  this.stzhSearchChanged.emit({
76
104
  component: "stzh-header",
77
105
  originalEvent: event,
78
- value: this.searchValue
106
+ value: this.searchValue,
79
107
  });
80
108
  };
81
109
  this.handleLanguageClick = (event, dropdownOption) => {
@@ -85,7 +113,7 @@ export class StzhHeader {
85
113
  this.languageActive = dropdownOption.value;
86
114
  this.stzhLanguageChange.emit({
87
115
  component: "stzh-header",
88
- value: this.languageActive
116
+ value: this.languageActive,
89
117
  });
90
118
  };
91
119
  this.handleFlyoutResize = () => {
@@ -107,16 +135,12 @@ export class StzhHeader {
107
135
  this.logobarHeight = ((_c = this.logobarElement) === null || _c === void 0 ? void 0 : _c.offsetHeight) || 0;
108
136
  this.headerTop = this.element.offsetTop;
109
137
  this.headerHeight = this.metabarHeight + this.logobarHeight;
110
- // this.headerHeight = this.element.offsetHeight;
111
- // console.log(this.headerHeight);
112
- // console.log(this.metabarHeight + this.logobarHeight);
113
- // console.log(this.metabarHeight, this.logobarHeight);
114
138
  });
115
139
  writeTask(() => {
116
- document.documentElement.style.setProperty('--stzh-header-height', `${this.headerHeight}px`);
117
- document.documentElement.style.setProperty('--stzh-header-main-height', `${this.mainHeight}px`);
118
- document.documentElement.style.setProperty('--stzh-header-metabar-height', `${this.metabarHeight}px`);
119
- document.documentElement.style.setProperty('--stzh-header-logobar-height', `${this.logobarHeight}px`);
140
+ document.documentElement.style.setProperty("--stzh-header-height", `${this.headerHeight}px`);
141
+ document.documentElement.style.setProperty("--stzh-header-main-height", `${this.mainHeight}px`);
142
+ document.documentElement.style.setProperty("--stzh-header-metabar-height", `${this.metabarHeight}px`);
143
+ document.documentElement.style.setProperty("--stzh-header-logobar-height", `${this.logobarHeight}px`);
120
144
  });
121
145
  this.scrollListener();
122
146
  });
@@ -135,6 +159,7 @@ export class StzhHeader {
135
159
  this.languages = [];
136
160
  this.languagePreventUrlchange = false;
137
161
  this.languageStay = false;
162
+ this.hideMetabar = false;
138
163
  this.searchAction = undefined;
139
164
  this.searchFieldName = "q";
140
165
  this.searchValue = "";
@@ -145,6 +170,7 @@ export class StzhHeader {
145
170
  this.paddingTop = undefined;
146
171
  this.stickyActive = false;
147
172
  this.flyoutOpen = false;
173
+ this.flyoutSearchOpen = false;
148
174
  this.searchFilled = undefined;
149
175
  this.fixed = false;
150
176
  this.fixedTransition = false;
@@ -155,8 +181,13 @@ export class StzhHeader {
155
181
  handleKeydown(event) {
156
182
  if (event.key === "Escape") {
157
183
  this.flyoutOpen = false;
184
+ this.flyoutSearchOpen = false;
158
185
  }
159
186
  }
187
+ flyoutCloseClicked() {
188
+ this.flyoutSearchOpen = false;
189
+ this.updatePosition();
190
+ }
160
191
  async flyoutOpenWatcher(open) {
161
192
  if (!open) {
162
193
  // reset current open menu when flyout was closed
@@ -180,28 +211,28 @@ export class StzhHeader {
180
211
  }
181
212
  }
182
213
  async fixedWatcher() {
183
- this.paddingTop = this.fixed || this.flyoutOpen ? this.headerHeight : 0;
214
+ this.paddingTop = this.fixed || this.flyoutOpen || this.flyoutSearchOpen ? this.headerHeight : 0;
184
215
  // we don't want to run transitions on applying fixed class (out transition),
185
216
  // so we set them in the next render
186
217
  await this.waitForNextRender();
187
- this.fixedTransition = this.fixed || this.flyoutOpen;
218
+ this.fixedTransition = this.fixed || this.flyoutOpen || this.flyoutSearchOpen;
188
219
  }
189
220
  stickyWatcher() {
190
221
  this.updatePosition();
191
222
  }
192
223
  /** Update position / sticky state of header */
193
224
  async updatePosition() {
194
- if (this.flyoutOpen) {
225
+ if (this.flyoutOpen || this.flyoutSearchOpen) {
195
226
  return;
196
227
  }
197
228
  const activateSticky = () => {
198
229
  this.stickyActive = true;
199
- document.documentElement.style.setProperty('--stzh-header-is-stuck', '1');
200
- document.documentElement.style.setProperty('--stzh-header-is-not-stuck', '0');
230
+ document.documentElement.style.setProperty("--stzh-header-is-stuck", "1");
231
+ document.documentElement.style.setProperty("--stzh-header-is-not-stuck", "0");
201
232
  };
202
233
  const disableSticky = () => {
203
- document.documentElement.style.setProperty('--stzh-header-is-stuck', '0');
204
- document.documentElement.style.setProperty('--stzh-header-is-not-stuck', '1');
234
+ document.documentElement.style.setProperty("--stzh-header-is-stuck", "0");
235
+ document.documentElement.style.setProperty("--stzh-header-is-not-stuck", "1");
205
236
  this.stickyActive = false;
206
237
  };
207
238
  if (this.sticky === "disabled") {
@@ -244,10 +275,11 @@ export class StzhHeader {
244
275
  this.lastScrollY = this.currentScrollY;
245
276
  this.belowStayStickyPoint = this.currentScrollY > this.logobarHeight;
246
277
  this.belowStartStickyPoint = this.currentScrollY > this.headerHeight;
247
- this.fixed = this.belowStartStickyPoint
248
- || (this.scrollingUp && this.belowStayStickyPoint && this.stickyActive)
249
- || (this.sticky === "always" && this.belowStayStickyPoint)
250
- || this.sticky === "always-full";
278
+ this.fixed =
279
+ this.belowStartStickyPoint ||
280
+ (this.scrollingUp && this.belowStayStickyPoint && this.stickyActive) ||
281
+ (this.sticky === "always" && this.belowStayStickyPoint) ||
282
+ this.sticky === "always-full";
251
283
  this.headerOverlap = (this.headerTop - this.currentScrollY) / -1;
252
284
  this.hideLogo = this.sticky !== "always-full" && this.isMedium && this.headerOverlap > 1;
253
285
  });
@@ -288,32 +320,32 @@ export class StzhHeader {
288
320
  if (!this._parentElement) {
289
321
  return [];
290
322
  }
291
- return Array.from(this._parentElement.children).filter((child) => child !== this.element);
323
+ return Array.from(this._parentElement.children).filter(child => child !== this.element);
292
324
  }
293
325
  disableSiblings() {
294
- this.getSiblings().forEach((sibling) => {
326
+ this.getSiblings().forEach(sibling => {
295
327
  sibling.setAttribute("aria-hidden", "true");
296
328
  });
297
329
  }
298
330
  enableSiblings() {
299
- this.getSiblings().forEach((sibling) => {
331
+ this.getSiblings().forEach(sibling => {
300
332
  sibling.removeAttribute("aria-hidden");
301
333
  });
302
334
  }
303
335
  waitForNextRender() {
304
- return new Promise(resolve => this.renderPromiseResolve = resolve);
336
+ return new Promise(resolve => (this.renderPromiseResolve = resolve));
305
337
  }
306
338
  resizeMenunavElement() {
307
339
  // reset height when metanav is sticky, or on medium or no submenu element is open
308
340
  if (media("headerMetanavSticky").matches || media("medium").matches || !this.openSubmenuElement) {
309
341
  Object.assign(this.menunavElement.style, {
310
- height: null
342
+ height: null,
311
343
  });
312
344
  }
313
345
  else {
314
346
  const { height } = this.openSubmenuElement.getBoundingClientRect();
315
347
  Object.assign(this.menunavElement.style, {
316
- height: `${height}px`
348
+ height: `${height}px`,
317
349
  });
318
350
  }
319
351
  }
@@ -325,8 +357,7 @@ export class StzhHeader {
325
357
  await this.waitForNextRender();
326
358
  requestAnimationFrame(() => {
327
359
  this.menunavElement.scrollTop = 0;
328
- const firstButtonOrLink = this.openSubmenuElement
329
- && tabbable(this.openSubmenuElement)[0];
360
+ const firstButtonOrLink = this.openSubmenuElement && tabbable(this.openSubmenuElement)[0];
330
361
  firstButtonOrLink === null || firstButtonOrLink === void 0 ? void 0 : firstButtonOrLink.focus();
331
362
  this.resizeMenunavElement();
332
363
  });
@@ -353,8 +384,7 @@ export class StzhHeader {
353
384
  await this.waitForNextRender();
354
385
  requestAnimationFrame(() => {
355
386
  const openMetanavSubmenuElement = this.element.querySelector(`#${metanavItem.id}`);
356
- const firstButtonOrLink = openMetanavSubmenuElement
357
- && tabbable(openMetanavSubmenuElement)[0];
387
+ const firstButtonOrLink = openMetanavSubmenuElement && tabbable(openMetanavSubmenuElement)[0];
358
388
  firstButtonOrLink === null || firstButtonOrLink === void 0 ? void 0 : firstButtonOrLink.focus();
359
389
  });
360
390
  }
@@ -379,8 +409,7 @@ export class StzhHeader {
379
409
  await this.waitForNextRender();
380
410
  requestAnimationFrame(() => {
381
411
  const openMetanavSubmenuElement = this.element.querySelector("#submenu-languages");
382
- const firstButtonOrLink = openMetanavSubmenuElement
383
- && tabbable(openMetanavSubmenuElement)[0];
412
+ const firstButtonOrLink = openMetanavSubmenuElement && tabbable(openMetanavSubmenuElement)[0];
384
413
  firstButtonOrLink === null || firstButtonOrLink === void 0 ? void 0 : firstButtonOrLink.focus();
385
414
  });
386
415
  }
@@ -411,6 +440,9 @@ export class StzhHeader {
411
440
  if (this.flyoutElement && this.flyoutResizeObserver) {
412
441
  this.flyoutResizeObserver.observe(this.flyoutElement);
413
442
  }
443
+ if (this.flyoutSearchElement && this.flyoutResizeObserver) {
444
+ this.flyoutResizeObserver.observe(this.flyoutSearchElement);
445
+ }
414
446
  }
415
447
  componentDidLoad() {
416
448
  this.trap = createFocusTrap(this.element, Object.assign(Object.assign({}, createBaseFocusTrapOptions()), { initialFocus: false }));
@@ -437,23 +469,25 @@ export class StzhHeader {
437
469
  const classes = {
438
470
  "stzh-header": true,
439
471
  "stzh-header--is-flyout-open": this.flyoutOpen,
472
+ "stzh-header--is-flyout-search-open": this.flyoutSearchOpen,
440
473
  "stzh-header--is-search-filled": this.searchFilled,
441
474
  "stzh-header--is-fixed": this.fixed,
442
475
  "stzh-header--is-fixed-transition": this.fixedTransition,
443
476
  "stzh-header--is-sticky": this.stickyActive,
444
477
  "stzh-header--is-sticky-transition": this.stickyActive && this.fixedTransition,
445
478
  "stzh-header--hide-logo": this.hideLogo,
446
- "stzh-header--has-empty-metabar-mobile": !metanavBeforeUsed && !metanavAfterUsed
447
- && this._metanavItems.filter(item => item.stay || item.stayAndShowInMobileMenu).length === 0
448
- && this._menuItems.length === 0
449
- && (this._languages.length === 0
450
- || (this._languages.length > 0 && !this.languageStay))
451
- && !this.searchAction,
452
- "stzh-header--has-empty-metabar": !metanavBeforeUsed && !metanavAfterUsed
453
- && this._metanavItems.length === 0
454
- && this._menuItems.length === 0
455
- && this._languages.length === 0
456
- && !this.searchAction,
479
+ "stzh-header--has-empty-metabar-mobile": !metanavBeforeUsed &&
480
+ !metanavAfterUsed &&
481
+ this._metanavItems.filter(item => item.stay || item.stayAndShowInMobileMenu).length === 0 &&
482
+ this._menuItems.length === 0 &&
483
+ (this._languages.length === 0 || (this._languages.length > 0 && !this.languageStay)) &&
484
+ !this.searchAction,
485
+ "stzh-header--has-empty-metabar": !metanavBeforeUsed &&
486
+ !metanavAfterUsed &&
487
+ this._metanavItems.length === 0 &&
488
+ this._menuItems.length === 0 &&
489
+ this._languages.length === 0 &&
490
+ !this.searchAction,
457
491
  [`stzh-header--sticky-${this.sticky}`]: !!this.sticky,
458
492
  };
459
493
  const activeLanguage = this.languageActive || window.stzhComponents.utils.getLocale(this.element);
@@ -465,123 +499,95 @@ export class StzhHeader {
465
499
  "stzh-header__metanav-item-text": true,
466
500
  "is-vhidden": item.labelHidden,
467
501
  "has-no-short-label": !item.labelShort,
468
- } }, h("span", { class: "stzh-header__metanav-item-text-label-long" }, item.label), h("span", { class: "stzh-header__metanav-item-text-label-short", "aria-hidden": "true" }, item.labelShort)), item.icon &&
469
- h("span", { class: "stzh-header__metanav-icon-wrapper" }, item.icon && h("stzh-icon", { class: `stzh-header__metanav-icon ${item.iconOpen ? 'is-close' : ''}`, name: item.icon }), item.iconOpen && h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: item.iconOpen }), (item.badge || item.badgeEmpty) &&
470
- h("stzh-badge", { class: "stzh-header__metanav-icon-badge", label: item.badge, type: typeof item.badgeType === "undefined" ? "error" : item.badgeType }))));
502
+ } }, h("span", { class: "stzh-header__metanav-item-text-label-long" }, item.label), h("span", { class: "stzh-header__metanav-item-text-label-short", "aria-hidden": "true" }, item.labelShort)), item.icon && (h("span", { class: "stzh-header__metanav-icon-wrapper" }, item.icon && (h("stzh-icon", { class: `stzh-header__metanav-icon ${item.iconOpen ? "is-close" : ""}`, name: item.icon })), item.iconOpen && h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: item.iconOpen }), (item.badge || item.badgeEmpty) && (h("stzh-badge", { class: "stzh-header__metanav-icon-badge", label: item.badge, type: typeof item.badgeType === "undefined" ? "error" : item.badgeType }))))));
471
503
  };
472
- return (h(Host, null, h("header", { class: classes }, h("div", { class: "stzh-header__header", style: { paddingTop: `${this.paddingTop}px` } }, h("div", { class: "stzh-header__inner" }, h("div", { class: "stzh-header__main", ref: (el) => (this.mainElement = el) }, h("div", { class: "stzh-header__logobar", ref: (el) => (this.logobarElement = el) }, h("div", { class: "stzh-header__logobar-logo" }, h("a", { href: this.href, class: "stzh-header__logo-link", "s-object-id": this.logoAnalyticsId || "Header Logo" }, h("slot", { name: "logo" }))), h("div", { class: "stzh-header__logobar-decoration" })), h("div", { class: "stzh-header__metabar", ref: (el) => (this.metabarElement = el) }, h("div", { class: "stzh-header__metabar-inner" }, h("slot", { name: "menu-before" }), this._menuItems.length > 0 &&
473
- h("button", { id: this.menuId, class: `stzh-header__burger ${this.flyoutOpen && !this.flyoutOpenedByMetanavItem && "is-open"}`, onClick: this.handleBurgerClick }, h("stzh-icon", { class: "stzh-header__burger-icon is-close", name: "menu" }), h("stzh-icon", { class: "stzh-header__burger-icon is-open", name: "close" }), h("div", { class: "stzh-header__burger-text" }, this.localization.menuLabel)), this.searchAction &&
474
- h("form", { class: "stzh-header__metabar-search", action: this.searchAction, role: "search" }, h("label", { class: "stzh-header__search" }, h("input", { id: this.searchId, ref: (el) => (this.searchInput = el), class: "stzh-header__search-input", type: "search", name: this.searchFieldName, onChange: this.handleSearchChange, onInput: this.handleSearchInput }), h("stzh-icon", { class: "stzh-header__search-icon", name: "search" }), h("div", { class: "stzh-header__search-text" }, this.localization.searchLabel))), h("slot", { name: "menu-after" }), h("div", { class: "stzh-header__metabar-nav", id: this.metanavId }, h("slot", { name: "metanav-before" }), this._metanavItems.map((item) => {
504
+ return (h(Host, null, h("header", { class: classes }, h("div", { class: "stzh-header__header", style: { paddingTop: `${this.paddingTop}px` } }, h("div", { class: "stzh-header__inner" }, h("div", { class: "stzh-header__main", ref: el => (this.mainElement = el) }, h("div", { class: "stzh-header__logobar", ref: el => (this.logobarElement = el) }, h("div", { class: "stzh-header__logobar-logo" }, h("a", { href: this.href, class: "stzh-header__logo-link", "s-object-id": this.logoAnalyticsId || "Header Logo" }, h("slot", { name: "logo" }))), h("div", { class: "stzh-header__logobar-decoration" })), !this.hideMetabar && (h("div", { class: "stzh-header__metabar", ref: el => (this.metabarElement = el) }, h("div", { class: "stzh-header__metabar-inner" }, h("slot", { name: "menu-before" }), this._menuItems.length > 0 && (h("button", { id: this.menuId, class: `stzh-header__burger ${this.flyoutOpen && !this.flyoutOpenedByMetanavItem && "is-open"}`, onClick: this.handleBurgerClick }, h("stzh-icon", { class: "stzh-header__burger-icon is-close", name: "menu" }), h("stzh-icon", { class: "stzh-header__burger-icon is-open", name: "close" }), h("div", { class: "stzh-header__burger-text" }, this.localization.menuLabel))), this.searchAction && !hasSlot(this.element, "search") && (h("form", { class: "stzh-header__metabar-search", action: this.searchAction, role: "search" }, h("label", { class: "stzh-header__search" }, h("input", { id: this.searchId, ref: el => (this.searchInput = el), class: "stzh-header__search-input", type: "search", name: this.searchFieldName, onChange: this.handleSearchChange, onInput: this.handleSearchInput }), h("stzh-icon", { class: "stzh-header__search-icon", name: "search" }), h("div", { class: "stzh-header__search-text" }, this.localization.searchLabel)))), hasSlot(this.element, "search") && (h("stzh-button", { iconPosition: "left", onClick: this.handleSearchButtonClick, variant: "tertiary-plain", size: "small" }, h("stzh-icon", { slot: "icon", name: "search", class: this.flyoutSearchOpen ? "stzh-header__search-button--is-hidden" : "" }), h("stzh-icon", { slot: "icon", name: "close", class: this.flyoutSearchOpen ? "" : "stzh-header__search-button--is-hidden" }), this.localization.searchLabel)), h("slot", { name: "menu-after" }), h("div", { class: "stzh-header__metabar-nav", id: this.metanavId }, h("slot", { name: "metanav-before" }), this._metanavItems.map(item => {
475
505
  var _a, _b;
476
- return (((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 || item.itemButton)
477
- ?
478
- h(Fragment, null, renderMetanavItemButton(item, {
479
- "is-popover-mobile": true
480
- }, {
481
- 'aria-expanded': item === this.currentOpenMetanavItem ? "true" : "false",
482
- 'aria-controls': item.id,
483
- onClick: (e) => {
484
- if (item === this.currentOpenMetanavItem) {
485
- this.closeMetanavItem();
486
- }
487
- else {
488
- this.openMetanavItem(e, item);
489
- }
490
- this.handleMetanavItemClick(e, item);
491
- }
492
- }), h("stzh-popover", { class: {
493
- "stzh-header__metanav-popover": true,
494
- }, placement: "bottom-end", distance: 20, variant: item.variant, size: typeof item.size === "undefined" ? "large" : item.size }, renderMetanavItemButton(item, {
495
- "is-popover-desktop": true
496
- }, {
497
- onClick: (e) => {
498
- this.handleMetanavItemClick(e, item);
499
- }
500
- }), h("div", { slot: "content" }, ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
501
- h("stzh-menu", null, item.items.map((childItem) => h("stzh-menu-item", { class: {
502
- "stzh-header__metanav-menu-item": true,
503
- "is-heavy": typeof item.importantSubmenu === "undefined" || item.importantSubmenu,
504
- }, size: typeof item.size === "undefined" ? "large" : item.size, variant: item.variant, href: childItem.href, target: childItem.target, icon: childItem.icon, counter: childItem.counter, badge: childItem.badge, badgeType: childItem.badgeType }, childItem.label)))), item.itemButton &&
505
- h("stzh-button", { slot: "action", size: item.itemButton.size, href: item.itemButton.href, target: item.itemButton.target }, item.itemButton.label)))
506
- :
507
- renderMetanavItemButton(item, {}, {
508
- onClick: (e) => {
509
- this.handleMetanavItemClick(e, item);
510
- }
511
- });
512
- }), ((_c = this._languages) === null || _c === void 0 ? void 0 : _c.length) > 0 &&
513
- h(Fragment, null, h("h2", { id: this.languageId, class: "stzh-header__vhidden" }, this.localization.languageLabel), this._menuItems.length > 0 && this.languageStay &&
514
- h("button", { class: {
515
- "stzh-header__metanav-item": true,
516
- "is-popover-mobile": true,
517
- "is-stay": this.languageStay
518
- }, "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", onClick: (e) => {
519
- if (this.currentOpenLanguage) {
520
- this.closeLanguage();
521
- }
522
- else {
523
- this.openLanguage(e);
524
- }
525
- } }, h("span", { class: "stzh-header__metanav-item-text" }, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__metanav-icon is-close", name: "angle-down" }), h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: "angle-up" })), h("stzh-popover", { class: "stzh-header__metanav-popover is-langnav", placement: "bottom-end", distance: 20 }, h("button", { class: {
526
- "stzh-header__metanav-item": true,
527
- "is-popover-desktop": this._menuItems.length > 0,
528
- "is-stay": this.languageStay
529
- } }, h("span", { class: "stzh-header__metanav-item-text" }, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__metanav-icon is-close", name: "angle-down" }), h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: "angle-up" })), h("div", { slot: "content" }, h("stzh-menu", null, this._languages.map((language) => h("stzh-menu-item", { class: "stzh-header__metanav-menu-item", active: (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value, href: language.value, onClick: (event) => this.handleLanguageClick(event, language) }, language.text)))))), h("slot", { name: "metanav-after" }))))))), this._menuItems.length > 0 &&
530
- h("div", { ref: (el) => (this.flyoutElement = el), class: "stzh-header__flyout" }, h("div", { class: "stzh-header__flyout-backdrop", onClick: this.handleBackdropClick }), h("div", { class: "stzh-header__flyout-scrollbar" }), h("div", { class: "stzh-header__menu" }, h("nav", { class: "stzh-header__menu-nav", ref: (el) => (this.menunavElement = el), "aria-label": this.localization.navigationLabel }, h("ul", { class: "stzh-header__menu-list is-level-1" }, this._menuItems.map((item) => {
531
- var _a, _b;
532
- return h("li", { class: {
533
- 'stzh-header__menu-list-item': true,
534
- 'is-open': item === this.currentOpenMenuItem
535
- } }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0
536
- ?
537
- h("button", { "aria-expanded": item === this.currentOpenMenuItem ? "true" : "false", "aria-controls": item.id, class: "stzh-header__menu-item is-level-1 has-items", onClick: item === this.currentOpenMenuItem
538
- ? () => this.closeMenuItem()
539
- : (e) => this.openMenuItem(e, item) }, item.label)
540
- :
541
- h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-1" }, item.label), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
542
- h("ul", { id: item.id, class: "stzh-header__menu-list is-level-2", onFocusout: this.handleMenuListFocusout }, h("li", { class: "stzh-header__menu-list-item is-backlink" }, h("button", { class: "stzh-header__menu-item is-level-2 is-backlink", onClick: () => this.closeMenuItem() }, h("stzh-icon", { name: "angle-left" }), h("span", null, this.menuBackLabel ? this.menuBackLabel : this.localization.menuBackLabel))), h("li", { class: "stzh-header__menu-list-item" }, h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-2 is-main" }, item.label)), item.items.map((item) => h("li", { class: "stzh-header__menu-list-item" }, h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-2" }, item.label)))));
543
- }))), (((_d = this._metanavItems) === null || _d === void 0 ? void 0 : _d.length) > 0 || ((_e = this._languages) === null || _e === void 0 ? void 0 : _e.length) > 0) &&
544
- h("div", { class: "stzh-header__menu-metanav" }, h("nav", { class: "stzh-header__menu-metanav-nav" }, h("ul", { class: "stzh-header__menu-metanav-list is-level-1" }, this._metanavItems.map((item) => {
545
- var _a, _b, _c;
546
- return h("li", { class: {
547
- 'stzh-header__menu-metanav-list-item': true,
548
- 'is-open': item === this.currentOpenMetanavItem
549
- } }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0
550
- ?
551
- h("button", { "aria-expanded": item === this.currentOpenMetanavItem ? "true" : "false", "aria-controls": item.id, class: {
552
- "stzh-header__menu-metanav-item is-level-1": true,
553
- "is-hidden": item.stay && !item.stayAndShowInMobileMenu
554
- }, onClick: (e) => {
555
- if (item === this.currentOpenMetanavItem) {
556
- this.closeMetanavItem();
557
- }
558
- else {
559
- this.openMetanavItem(e, item);
560
- }
561
- this.handleMetanavItemClick(e, item);
562
- } }, h("span", { class: {
563
- "stzh-header__menu-metanav-item-text": true,
564
- "is-vhidden": item.labelHidden,
565
- } }, item.label), item.icon && h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon }))
566
- :
567
- h("a", { href: item.href, class: {
568
- "stzh-header__menu-metanav-item is-level-1": true,
569
- "is-hidden": item.stay && !item.stayAndShowInMobileMenu
570
- }, onClick: (e) => {
571
- this.handleMetanavItemClick(e, item);
572
- } }, h("span", { class: {
573
- "stzh-header__menu-metanav-item-text": true,
574
- "is-vhidden": item.labelHidden,
575
- } }, item.label), item.icon && h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
576
- h("ul", { id: item.id, class: "stzh-header__menu-metanav-list is-level-2" }, h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, item.label), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: (_c = this.localization.closeMetanavMenuLabel) === null || _c === void 0 ? void 0 : _c.replace(/\{itemLabel\}/gi, item.label), onClick: () => this.closeMetanavItem() }))), item.items.map((item) => h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { href: item.href, class: "stzh-header__menu-metanav-item is-level-2" }, item.icon && h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon }), h("span", { class: "stzh-header__menu-metanav-item-text" }, h("span", null, item.label), item.counter &&
577
- h("span", { class: "stzh-header__menu-metanav-item-counter" }, "(", item.counter, ")"))))), item.itemButton &&
578
- h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-action" }, h("stzh-button", { href: item.itemButton.href, target: item.itemButton.target }, item.itemButton.label)))));
579
- }), ((_f = this._languages) === null || _f === void 0 ? void 0 : _f.length) > 0 &&
580
- h("li", { class: {
581
- 'stzh-header__menu-metanav-list-item': true,
582
- 'is-open': this.currentOpenLanguage
583
- } }, h("button", { "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", class: "stzh-header__menu-metanav-item is-level-1", onClick: (e) => this.openLanguage(e) }, h("span", null, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "angle-down" })), h("ul", { id: "submenu-languages", class: "stzh-header__menu-metanav-list is-level-2" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, this.localization.dialogLanguageTitle), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: "Sprach-Dialog schliessen", onClick: () => this.closeLanguage() })), this._languages.map((language) => h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { class: "stzh-header__menu-metanav-item is-level-2 is-language", href: language.value, onClick: (event) => this.handleLanguageClick(event, language) }, h("span", null, language.text), (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value &&
584
- h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "checkmark" }))))))))))))));
506
+ return ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 || item.itemButton ? (h(Fragment, null, renderMetanavItemButton(item, {
507
+ "is-popover-mobile": true,
508
+ }, {
509
+ "aria-expanded": item === this.currentOpenMetanavItem ? "true" : "false",
510
+ "aria-controls": item.id,
511
+ onClick: (e) => {
512
+ if (item === this.currentOpenMetanavItem) {
513
+ this.closeMetanavItem();
514
+ }
515
+ else {
516
+ this.openMetanavItem(e, item);
517
+ }
518
+ this.handleMetanavItemClick(e, item);
519
+ },
520
+ }), h("stzh-popover", { class: {
521
+ "stzh-header__metanav-popover": true,
522
+ }, placement: "bottom-end", distance: 20, variant: item.variant, size: typeof item.size === "undefined" ? "large" : item.size }, renderMetanavItemButton(item, {
523
+ "is-popover-desktop": true,
524
+ }, {
525
+ onClick: (e) => {
526
+ this.handleMetanavItemClick(e, item);
527
+ },
528
+ }), h("div", { slot: "content" }, ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("stzh-menu", null, item.items.map(childItem => (h("stzh-menu-item", { class: {
529
+ "stzh-header__metanav-menu-item": true,
530
+ "is-heavy": typeof item.importantSubmenu === "undefined" || item.importantSubmenu,
531
+ }, size: typeof item.size === "undefined" ? "large" : item.size, variant: item.variant, href: childItem.href, target: childItem.target, icon: childItem.icon, counter: childItem.counter, badge: childItem.badge, badgeType: childItem.badgeType, onClick: (e) => { this.handleMetanavItemChildClick(e, childItem); } }, childItem.label)))))), item.itemButton && (h("stzh-button", { slot: "action", size: item.itemButton.size, href: item.itemButton.href, target: item.itemButton.target, onClick: (e) => { this.handleMetanavItemButtonClick(e, item.itemButton); } }, item.itemButton.label))))) : (renderMetanavItemButton(item, {}, {
532
+ onClick: (e) => {
533
+ this.handleMetanavItemClick(e, item);
534
+ },
535
+ }));
536
+ }), ((_c = this._languages) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h(Fragment, null, h("h2", { id: this.languageId, class: "stzh-header__vhidden" }, this.localization.languageLabel), this._menuItems.length > 0 && this.languageStay && (h("button", { class: {
537
+ "stzh-header__metanav-item": true,
538
+ "is-popover-mobile": true,
539
+ "is-stay": this.languageStay,
540
+ }, "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", onClick: (e) => {
541
+ if (this.currentOpenLanguage) {
542
+ this.closeLanguage();
543
+ }
544
+ else {
545
+ this.openLanguage(e);
546
+ }
547
+ } }, h("span", { class: "stzh-header__metanav-item-text" }, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__metanav-icon is-close", name: "angle-down" }), h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: "angle-up" }))), h("stzh-popover", { class: "stzh-header__metanav-popover is-langnav", placement: "bottom-end", distance: 20 }, h("button", { class: {
548
+ "stzh-header__metanav-item": true,
549
+ "is-popover-desktop": this._menuItems.length > 0,
550
+ "is-stay": this.languageStay,
551
+ } }, h("span", { class: "stzh-header__metanav-item-text" }, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__metanav-icon is-close", name: "angle-down" }), h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: "angle-up" })), h("div", { slot: "content" }, h("stzh-menu", null, this._languages.map(language => (h("stzh-menu-item", { class: "stzh-header__metanav-menu-item", active: (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value, href: language.value, onClick: event => this.handleLanguageClick(event, language) }, language.text)))))))), h("slot", { name: "metanav-after" })))))))), this._menuItems.length > 0 && (h("div", { ref: el => (this.flyoutElement = el), class: "stzh-header__flyout" }, h("div", { class: "stzh-header__flyout-backdrop", onClick: this.handleBackdropClick }), h("div", { class: "stzh-header__flyout-scrollbar" }), h("div", { class: "stzh-header__menu" }, h("nav", { class: "stzh-header__menu-nav", ref: el => (this.menunavElement = el), "aria-label": this.localization.navigationLabel }, h("ul", { class: "stzh-header__menu-list is-level-1" }, this._menuItems.map(item => {
552
+ var _a, _b;
553
+ return (h("li", { class: {
554
+ "stzh-header__menu-list-item": true,
555
+ "is-open": item === this.currentOpenMenuItem,
556
+ } }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h("button", { "aria-expanded": item === this.currentOpenMenuItem ? "true" : "false", "aria-controls": item.id, class: "stzh-header__menu-item is-level-1 has-items", onClick: item === this.currentOpenMenuItem
557
+ ? () => this.closeMenuItem()
558
+ : e => this.openMenuItem(e, item) }, item.label)) : (h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-1" }, item.label)), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("ul", { id: item.id, class: "stzh-header__menu-list is-level-2", onFocusout: this.handleMenuListFocusout }, h("li", { class: "stzh-header__menu-list-item is-backlink" }, h("button", { class: "stzh-header__menu-item is-level-2 is-backlink", onClick: () => this.closeMenuItem() }, h("stzh-icon", { name: "angle-left" }), h("span", null, this.menuBackLabel ? this.menuBackLabel : this.localization.menuBackLabel))), h("li", { class: "stzh-header__menu-list-item" }, h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-2 is-main" }, item.label)), item.items.map(item => (h("li", { class: "stzh-header__menu-list-item" }, h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-2" }, item.label))))))));
559
+ }))), (((_d = this._metanavItems) === null || _d === void 0 ? void 0 : _d.length) > 0 || ((_e = this._languages) === null || _e === void 0 ? void 0 : _e.length) > 0) && (h("div", { class: "stzh-header__menu-metanav" }, h("nav", { class: "stzh-header__menu-metanav-nav" }, h("ul", { class: "stzh-header__menu-metanav-list is-level-1" }, this._metanavItems.map(item => {
560
+ var _a, _b, _c;
561
+ return (h("li", { class: {
562
+ "stzh-header__menu-metanav-list-item": true,
563
+ "is-open": item === this.currentOpenMetanavItem,
564
+ } }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h("button", { "aria-expanded": item === this.currentOpenMetanavItem ? "true" : "false", "aria-controls": item.id, class: {
565
+ "stzh-header__menu-metanav-item is-level-1": true,
566
+ "is-hidden": item.stay && !item.stayAndShowInMobileMenu,
567
+ }, onClick: (e) => {
568
+ if (item === this.currentOpenMetanavItem) {
569
+ this.closeMetanavItem();
570
+ }
571
+ else {
572
+ this.openMetanavItem(e, item);
573
+ }
574
+ this.handleMetanavItemClick(e, item);
575
+ } }, h("span", { class: {
576
+ "stzh-header__menu-metanav-item-text": true,
577
+ "is-vhidden": item.labelHidden,
578
+ } }, item.label), item.icon && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })))) : (h("a", { href: item.href, class: {
579
+ "stzh-header__menu-metanav-item is-level-1": true,
580
+ "is-hidden": item.stay && !item.stayAndShowInMobileMenu,
581
+ }, onClick: (e) => {
582
+ this.handleMetanavItemClick(e, item);
583
+ } }, h("span", { class: {
584
+ "stzh-header__menu-metanav-item-text": true,
585
+ "is-vhidden": item.labelHidden,
586
+ } }, item.label), item.icon && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })))), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("ul", { id: item.id, class: "stzh-header__menu-metanav-list is-level-2" }, h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, item.label), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: (_c = this.localization.closeMetanavMenuLabel) === null || _c === void 0 ? void 0 : _c.replace(/\{itemLabel\}/gi, item.label), onClick: () => this.closeMetanavItem() }))), item.items.map(item => (h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { href: item.href, class: "stzh-header__menu-metanav-item is-level-2" }, item.icon && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })), h("span", { class: "stzh-header__menu-metanav-item-text" }, h("span", null, item.label), item.counter && (h("span", { class: "stzh-header__menu-metanav-item-counter" }, "(", item.counter, ")"))))))), item.itemButton && (h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-action" }, h("stzh-button", { href: item.itemButton.href, target: item.itemButton.target }, item.itemButton.label))))))));
587
+ }), ((_f = this._languages) === null || _f === void 0 ? void 0 : _f.length) > 0 && (h("li", { class: {
588
+ "stzh-header__menu-metanav-list-item": true,
589
+ "is-open": this.currentOpenLanguage,
590
+ } }, h("button", { "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", class: "stzh-header__menu-metanav-item is-level-1", onClick: e => this.openLanguage(e) }, h("span", null, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "angle-down" })), h("ul", { id: "submenu-languages", class: "stzh-header__menu-metanav-list is-level-2" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, this.localization.dialogLanguageTitle), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: "Sprach-Dialog schliessen", onClick: () => this.closeLanguage() })), this._languages.map(language => (h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { class: "stzh-header__menu-metanav-item is-level-2 is-language", href: language.value, onClick: event => this.handleLanguageClick(event, language) }, h("span", null, language.text), (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "checkmark" })))))))))))))))), hasSlot(this.element, "search") && (h("div", { ref: el => (this.flyoutSearchElement = el), class: "stzh-header__flyout-search" }, h("div", { class: "stzh-header__flyout-backdrop", onClick: this.handleBackdropSearchClick }), h("div", { class: "stzh-header__flyout-scrollbar" }), h("div", { class: "stzh-header__flyout-search-main" }, h("slot", { name: "search" })))))));
585
591
  }
586
592
  static get is() { return "stzh-header"; }
587
593
  static get encapsulation() { return "scoped"; }
@@ -712,7 +718,7 @@ export class StzhHeader {
712
718
  "type": "string",
713
719
  "mutable": false,
714
720
  "complexType": {
715
- "original": "\"default\" |\u00A0\"vbz\" | \"aoz\" | \"pkzh\" | \"uvz\"",
721
+ "original": "\"default\" | \"vbz\" | \"aoz\" | \"pkzh\" | \"uvz\"",
716
722
  "resolved": "\"aoz\" | \"default\" | \"pkzh\" | \"uvz\" | \"vbz\"",
717
723
  "references": {}
718
724
  },
@@ -868,6 +874,24 @@ export class StzhHeader {
868
874
  "reflect": false,
869
875
  "defaultValue": "false"
870
876
  },
877
+ "hideMetabar": {
878
+ "type": "boolean",
879
+ "mutable": false,
880
+ "complexType": {
881
+ "original": "boolean",
882
+ "resolved": "boolean",
883
+ "references": {}
884
+ },
885
+ "required": false,
886
+ "optional": false,
887
+ "docs": {
888
+ "tags": [],
889
+ "text": "Whether language switch should stay on mobile"
890
+ },
891
+ "attribute": "hide-metabar",
892
+ "reflect": false,
893
+ "defaultValue": "false"
894
+ },
871
895
  "searchAction": {
872
896
  "type": "string",
873
897
  "mutable": false,
@@ -965,6 +989,7 @@ export class StzhHeader {
965
989
  "paddingTop": {},
966
990
  "stickyActive": {},
967
991
  "flyoutOpen": {},
992
+ "flyoutSearchOpen": {},
968
993
  "searchFilled": {},
969
994
  "fixed": {},
970
995
  "fixedTransition": {},
@@ -995,6 +1020,48 @@ export class StzhHeader {
995
1020
  }
996
1021
  }
997
1022
  }
1023
+ }, {
1024
+ "method": "stzhMetanavItemChildClick",
1025
+ "name": "stzhMetanavItemChildClick",
1026
+ "bubbles": true,
1027
+ "cancelable": true,
1028
+ "composed": true,
1029
+ "docs": {
1030
+ "tags": [],
1031
+ "text": "Metanav item child click event"
1032
+ },
1033
+ "complexType": {
1034
+ "original": "StzhHeaderMetanavItemChildClickEvent",
1035
+ "resolved": "{ component: \"stzh-header\"; itemChild: StzhHeaderMetanavItemChild; originalEvent: MouseEvent; }",
1036
+ "references": {
1037
+ "StzhHeaderMetanavItemChildClickEvent": {
1038
+ "location": "import",
1039
+ "path": "../../index",
1040
+ "id": "src/index.ts::StzhHeaderMetanavItemChildClickEvent"
1041
+ }
1042
+ }
1043
+ }
1044
+ }, {
1045
+ "method": "stzhMetanavItemButtonClick",
1046
+ "name": "stzhMetanavItemButtonClick",
1047
+ "bubbles": true,
1048
+ "cancelable": true,
1049
+ "composed": true,
1050
+ "docs": {
1051
+ "tags": [],
1052
+ "text": "Metanav item button click event"
1053
+ },
1054
+ "complexType": {
1055
+ "original": "StzhHeaderMetanavItemButtonClickEvent",
1056
+ "resolved": "{ component: \"stzh-header\"; itemButton: StzhHeaderMetanavItemButton; originalEvent: MouseEvent; }",
1057
+ "references": {
1058
+ "StzhHeaderMetanavItemButtonClickEvent": {
1059
+ "location": "import",
1060
+ "path": "../../index",
1061
+ "id": "src/index.ts::StzhHeaderMetanavItemButtonClickEvent"
1062
+ }
1063
+ }
1064
+ }
998
1065
  }, {
999
1066
  "method": "stzhMenuItemClick",
1000
1067
  "name": "stzhMenuItemClick",
@@ -1107,12 +1174,18 @@ export class StzhHeader {
1107
1174
  return [{
1108
1175
  "propName": "flyoutOpen",
1109
1176
  "methodName": "flyoutOpenWatcher"
1177
+ }, {
1178
+ "propName": "flyoutSearchOpen",
1179
+ "methodName": "flyoutOpenWatcher"
1110
1180
  }, {
1111
1181
  "propName": "fixed",
1112
1182
  "methodName": "fixedWatcher"
1113
1183
  }, {
1114
1184
  "propName": "flyoutOpen",
1115
1185
  "methodName": "fixedWatcher"
1186
+ }, {
1187
+ "propName": "flyoutSearchOpen",
1188
+ "methodName": "fixedWatcher"
1116
1189
  }, {
1117
1190
  "propName": "headerHeight",
1118
1191
  "methodName": "fixedWatcher"
@@ -1140,6 +1213,12 @@ export class StzhHeader {
1140
1213
  "target": "document",
1141
1214
  "capture": false,
1142
1215
  "passive": false
1216
+ }, {
1217
+ "name": "stzhOverlayCloseClick",
1218
+ "method": "flyoutCloseClicked",
1219
+ "target": undefined,
1220
+ "capture": false,
1221
+ "passive": false
1143
1222
  }, {
1144
1223
  "name": "scroll",
1145
1224
  "method": "scrollListener",