@oiz/stzh-components 2.1.0-alpha → 2.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 (386) hide show
  1. package/dist/cjs/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
  2. package/dist/cjs/{app-globals-e1f4f1d9.js → app-globals-dc82b9ca.js} +1 -1
  3. package/dist/cjs/{js.cookie-9c263d23.js → js.cookie-226c94ed.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion-item.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-actions.cjs.entry.js +2 -2
  7. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  8. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -1
  10. package/dist/cjs/stzh-chart.cjs.entry.js +26127 -0
  11. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  12. package/dist/cjs/stzh-chip.cjs.entry.js +13 -6
  13. package/dist/cjs/stzh-components.cjs.js +2 -2
  14. package/dist/cjs/stzh-contactaddress.cjs.entry.js +65 -0
  15. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-footer.cjs.entry.js +12 -6
  21. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-link.cjs.entry.js +2 -1
  26. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
  30. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
  31. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-share.cjs.entry.js +113 -0
  33. package/dist/cjs/stzh-upload.cjs.entry.js +52 -36
  34. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +12 -4
  35. package/dist/collection/assets/i18n/de.json +10 -0
  36. package/dist/collection/assets/i18n/en.json +10 -0
  37. package/dist/collection/assets/icons/mono/facebook-filled.svg +3 -0
  38. package/dist/collection/assets/icons/mono/linkedin-filled.svg +12 -0
  39. package/dist/collection/assets/icons/mono/mail-filled.svg +6 -0
  40. package/dist/collection/assets/icons/mono/star-filled.svg +1 -1
  41. package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -0
  42. package/dist/collection/assets/icons/mono/xing-filled.svg +4 -0
  43. package/dist/collection/assets/media/olmap/marker-active.png +0 -0
  44. package/dist/collection/assets/media/olmap/marker.png +0 -0
  45. package/dist/collection/collection-manifest.json +5 -0
  46. package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
  47. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +51 -3
  48. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  49. package/dist/collection/components/stzh-actions/stzh-actions.css +7 -1
  50. package/dist/collection/components/stzh-actions/stzh-actions.js +3 -3
  51. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
  52. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +5 -0
  53. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  54. package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
  55. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
  56. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  57. package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
  58. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
  59. package/dist/collection/components/stzh-button/stzh-button.css +3 -0
  60. package/dist/collection/components/stzh-button/stzh-button.js +19 -1
  61. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
  62. package/dist/collection/components/stzh-card/stzh-card.css +3 -0
  63. package/dist/collection/components/stzh-card-list/stzh-card-list.css +3 -0
  64. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
  65. package/dist/collection/components/stzh-chart/stzh-chart.css +799 -0
  66. package/dist/collection/components/stzh-chart/stzh-chart.js +110 -0
  67. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +287 -0
  68. package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
  69. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -3
  70. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
  71. package/dist/collection/components/stzh-chip/stzh-chip.css +4 -21
  72. package/dist/collection/components/stzh-chip/stzh-chip.js +49 -24
  73. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +0 -9
  74. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
  75. package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
  76. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +153 -0
  77. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +321 -0
  78. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +100 -0
  79. package/dist/collection/components/stzh-container/stzh-container.css +3 -0
  80. package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
  81. package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
  82. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +13 -2
  83. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -11
  84. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  85. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  86. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
  87. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
  88. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
  89. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
  90. package/dist/collection/components/stzh-figure/stzh-figure.css +3 -1
  91. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
  92. package/dist/collection/components/stzh-footer/stzh-footer.css +53 -0
  93. package/dist/collection/components/stzh-footer/stzh-footer.js +46 -18
  94. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +21 -1
  95. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +10 -10
  96. package/dist/collection/components/stzh-header/stzh-header.css +3 -0
  97. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  98. package/dist/collection/components/stzh-heading/stzh-heading.css +9 -6
  99. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  100. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
  101. package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
  102. package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
  103. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +95 -30
  104. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  105. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +8 -1
  106. package/dist/collection/components/stzh-input/stzh-input.css +3 -0
  107. package/dist/collection/components/stzh-link/stzh-link.css +3 -0
  108. package/dist/collection/components/stzh-link/stzh-link.js +19 -1
  109. package/dist/collection/components/stzh-list/stzh-list.css +3 -0
  110. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
  111. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
  112. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
  113. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
  114. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
  115. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
  116. package/dist/collection/components/stzh-message/stzh-message.css +3 -0
  117. package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
  118. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
  119. package/dist/collection/components/stzh-olmap/stzh-olmap.js +2 -2
  120. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
  121. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
  122. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +153 -0
  123. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
  124. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
  125. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -0
  126. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
  127. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
  128. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +396 -0
  129. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +157 -0
  130. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +94 -0
  131. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
  132. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +8 -4
  133. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
  134. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
  135. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
  136. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
  137. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
  138. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
  139. package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
  140. package/dist/collection/components/stzh-row/stzh-row.css +3 -0
  141. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
  142. package/dist/collection/components/stzh-section/stzh-section.css +3 -0
  143. package/dist/collection/components/stzh-share/stzh-share.css +149 -0
  144. package/dist/collection/components/stzh-share/stzh-share.js +184 -0
  145. package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
  146. package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
  147. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
  148. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
  149. package/dist/collection/components/stzh-status/stzh-status.css +3 -0
  150. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
  151. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +1 -1
  152. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  153. package/dist/collection/components/stzh-text/stzh-text.css +3 -0
  154. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
  155. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
  156. package/dist/collection/components/stzh-upload/stzh-upload.css +44 -19
  157. package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
  158. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
  159. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
  160. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
  161. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
  162. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
  163. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
  164. package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
  165. package/dist/components/_commonjsHelpers.js +16 -1
  166. package/dist/components/index.d.ts +5 -0
  167. package/dist/components/index.js +6 -1
  168. package/dist/components/stzh-accordion-item.js +2 -2
  169. package/dist/components/stzh-actions.js +2 -2
  170. package/dist/components/stzh-anchornav.js +2 -2
  171. package/dist/components/stzh-appointments.js +1 -1
  172. package/dist/components/stzh-button2.js +3 -1
  173. package/dist/components/stzh-chart.d.ts +11 -0
  174. package/dist/components/stzh-chart.js +26144 -0
  175. package/dist/components/stzh-checkbox.js +2 -2
  176. package/dist/components/stzh-chip2.js +16 -8
  177. package/dist/components/stzh-contactaddress.d.ts +11 -0
  178. package/dist/components/stzh-contactaddress.js +93 -0
  179. package/dist/components/stzh-datamessagelist-item.js +14 -8
  180. package/dist/components/stzh-datamessagelist.js +1 -1
  181. package/dist/components/stzh-figure.js +1 -1
  182. package/dist/components/stzh-footer.js +14 -7
  183. package/dist/components/stzh-ghettobox2.js +1 -1
  184. package/dist/components/stzh-header.js +1 -1
  185. package/dist/components/stzh-heading2.js +2 -2
  186. package/dist/components/stzh-icon-sprite.js +2 -2
  187. package/dist/components/stzh-link2.js +3 -1
  188. package/dist/components/stzh-list-item.js +1 -1
  189. package/dist/components/stzh-olmap.js +1 -1
  190. package/dist/components/stzh-pagebottom.d.ts +11 -0
  191. package/dist/components/stzh-pagebottom.js +70 -0
  192. package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
  193. package/dist/components/stzh-pagetitle-hero.js +116 -0
  194. package/dist/components/stzh-portal-mitwirken.js +1 -1
  195. package/dist/components/stzh-share.d.ts +11 -0
  196. package/dist/components/stzh-share.js +6 -0
  197. package/dist/components/stzh-share2.js +139 -0
  198. package/dist/components/stzh-upload.js +53 -36
  199. package/dist/components/stzh-vbz-linechip2.js +11 -3
  200. package/dist/esm/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
  201. package/dist/esm/{app-globals-453acbdb.js → app-globals-246b5e49.js} +1 -1
  202. package/dist/esm/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  203. package/dist/esm/loader.js +2 -2
  204. package/dist/esm/stzh-accordion-item.entry.js +2 -2
  205. package/dist/esm/stzh-actions.entry.js +2 -2
  206. package/dist/esm/stzh-anchornav.entry.js +2 -2
  207. package/dist/esm/stzh-appointments.entry.js +1 -1
  208. package/dist/esm/stzh-badge_3.entry.js +2 -1
  209. package/dist/esm/stzh-chart.entry.js +26123 -0
  210. package/dist/esm/stzh-checkbox.entry.js +2 -2
  211. package/dist/esm/stzh-chip.entry.js +14 -7
  212. package/dist/esm/stzh-components.js +2 -2
  213. package/dist/esm/stzh-contactaddress.entry.js +61 -0
  214. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  215. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  216. package/dist/esm/stzh-datatable.entry.js +1 -1
  217. package/dist/esm/stzh-dropdown.entry.js +1 -1
  218. package/dist/esm/stzh-figure.entry.js +1 -1
  219. package/dist/esm/stzh-footer.entry.js +12 -6
  220. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  221. package/dist/esm/stzh-header.entry.js +1 -1
  222. package/dist/esm/stzh-heading.entry.js +2 -2
  223. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  224. package/dist/esm/stzh-link.entry.js +2 -1
  225. package/dist/esm/stzh-list-item.entry.js +1 -1
  226. package/dist/esm/stzh-message.entry.js +2 -2
  227. package/dist/esm/stzh-olmap.entry.js +2 -2
  228. package/dist/esm/stzh-pagebottom.entry.js +28 -0
  229. package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
  230. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  231. package/dist/esm/stzh-share.entry.js +109 -0
  232. package/dist/esm/stzh-upload.entry.js +52 -36
  233. package/dist/esm/stzh-vbz-linechip.entry.js +12 -4
  234. package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +1 -0
  235. package/dist/esm-es5/app-globals-246b5e49.js +1 -0
  236. package/dist/esm-es5/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  237. package/dist/esm-es5/loader.js +1 -1
  238. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  239. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  240. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  241. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  242. package/dist/esm-es5/stzh-chart.entry.js +3 -0
  243. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  244. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  245. package/dist/esm-es5/stzh-components.js +1 -1
  246. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -0
  247. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  248. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  249. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  250. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  251. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  252. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  253. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  254. package/dist/esm-es5/stzh-header.entry.js +1 -1
  255. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  256. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  257. package/dist/esm-es5/stzh-link.entry.js +1 -1
  258. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  259. package/dist/esm-es5/stzh-message.entry.js +1 -1
  260. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  261. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
  262. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -0
  263. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  264. package/dist/esm-es5/stzh-share.entry.js +1 -0
  265. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  266. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  267. package/dist/stzh-components/assets/i18n/de.json +10 -0
  268. package/dist/stzh-components/assets/i18n/en.json +10 -0
  269. package/dist/stzh-components/assets/icons/mono/facebook-filled.svg +3 -0
  270. package/dist/stzh-components/assets/icons/mono/linkedin-filled.svg +12 -0
  271. package/dist/stzh-components/assets/icons/mono/mail-filled.svg +6 -0
  272. package/dist/stzh-components/assets/icons/mono/star-filled.svg +1 -1
  273. package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -0
  274. package/dist/stzh-components/assets/icons/mono/xing-filled.svg +4 -0
  275. package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
  276. package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
  277. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +95 -30
  278. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  279. package/dist/stzh-components/{p-29d9a568.entry.js → p-105a11cb.entry.js} +1 -1
  280. package/dist/stzh-components/{p-b491bcd7.system.entry.js → p-14e457c6.system.entry.js} +1 -1
  281. package/dist/stzh-components/p-17ae6581.entry.js +1 -0
  282. package/dist/stzh-components/{p-3e24b964.entry.js → p-229d4ad2.entry.js} +1 -1
  283. package/dist/stzh-components/{p-3f8976bc.system.entry.js → p-22c9a00d.system.entry.js} +1 -1
  284. package/dist/stzh-components/{p-8e363084.system.entry.js → p-238a8c83.system.entry.js} +1 -1
  285. package/dist/stzh-components/{p-b10682ee.js → p-24b8df26.js} +1 -1
  286. package/dist/stzh-components/p-25ef050a.entry.js +1 -0
  287. package/dist/stzh-components/p-293ceb5e.entry.js +1 -0
  288. package/dist/stzh-components/p-2ba8b5c9.system.entry.js +1 -0
  289. package/dist/stzh-components/{p-e7afcd6f.entry.js → p-38b9e5e9.entry.js} +1 -1
  290. package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
  291. package/dist/stzh-components/p-44dd74d1.system.entry.js +1 -0
  292. package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
  293. package/dist/stzh-components/{p-5db542ae.system.js → p-484a366f.system.js} +1 -1
  294. package/dist/stzh-components/{p-a61bf274.entry.js → p-4a3f9353.entry.js} +1 -1
  295. package/dist/stzh-components/{p-d69b12f8.entry.js → p-4e6ddb5f.entry.js} +1 -1
  296. package/dist/stzh-components/p-4fd4a703.entry.js +3 -0
  297. package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
  298. package/dist/stzh-components/p-5caa837c.system.entry.js +3 -0
  299. package/dist/stzh-components/{p-3b33fa76.system.entry.js → p-5ed4d1d5.system.entry.js} +1 -1
  300. package/dist/stzh-components/p-60d8e2da.entry.js +1 -0
  301. package/dist/stzh-components/p-61c9ca5d.entry.js +1 -0
  302. package/dist/stzh-components/p-61d4852f.system.entry.js +1 -0
  303. package/dist/stzh-components/p-6830f839.entry.js +1 -0
  304. package/dist/stzh-components/p-6d22bd0d.entry.js +1 -0
  305. package/dist/stzh-components/{p-6f7a7f7a.entry.js → p-71220066.entry.js} +1 -1
  306. package/dist/stzh-components/p-71d757d3.js +1 -0
  307. package/dist/stzh-components/p-7909f56b.entry.js +1 -0
  308. package/dist/stzh-components/p-7a584d3f.system.entry.js +1 -0
  309. package/dist/stzh-components/p-7aef399f.entry.js +1 -0
  310. package/dist/stzh-components/{p-c5749124.system.entry.js → p-7c172e64.system.entry.js} +1 -1
  311. package/dist/stzh-components/p-7dec02ca.entry.js +1 -0
  312. package/dist/stzh-components/p-84aace40.system.entry.js +1 -0
  313. package/dist/stzh-components/{p-6b5f447c.system.entry.js → p-8ab86ca3.system.entry.js} +1 -1
  314. package/dist/stzh-components/p-8f9de52f.system.entry.js +1 -0
  315. package/dist/stzh-components/p-909d7a3c.system.js +1 -0
  316. package/dist/stzh-components/p-95defe16.system.entry.js +1 -0
  317. package/dist/stzh-components/p-98a972b7.system.entry.js +1 -0
  318. package/dist/stzh-components/p-9c90535a.system.js +1 -0
  319. package/dist/stzh-components/p-a6d4a8b1.js +1 -0
  320. package/dist/stzh-components/p-a866b3a3.entry.js +1 -0
  321. package/dist/stzh-components/p-ac409e7b.system.entry.js +1 -0
  322. package/dist/stzh-components/p-ad119aca.entry.js +1 -0
  323. package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
  324. package/dist/stzh-components/{p-020379d7.system.entry.js → p-b1ff3a21.system.entry.js} +2 -2
  325. package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
  326. package/dist/stzh-components/p-bc34bf07.system.entry.js +1 -0
  327. package/dist/stzh-components/p-bd5b8114.system.entry.js +1 -0
  328. package/dist/stzh-components/p-c2238fbf.entry.js +1 -0
  329. package/dist/stzh-components/p-c3846ccf.system.entry.js +1 -0
  330. package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
  331. package/dist/stzh-components/p-ce06b4f2.system.js +1 -0
  332. package/dist/stzh-components/p-cf781b59.entry.js +1 -0
  333. package/dist/stzh-components/{p-bb8f71a4.entry.js → p-d4b93488.entry.js} +2 -2
  334. package/dist/stzh-components/p-d5ee4ac0.entry.js +1 -0
  335. package/dist/stzh-components/{p-fd811f6b.system.entry.js → p-daa34275.system.entry.js} +2 -2
  336. package/dist/stzh-components/p-e161760f.system.entry.js +1 -0
  337. package/dist/stzh-components/p-e785d9cc.entry.js +1 -0
  338. package/dist/stzh-components/{p-641126a8.system.entry.js → p-f5f3475c.system.entry.js} +1 -1
  339. package/dist/stzh-components/p-f6ab391e.system.entry.js +1 -0
  340. package/dist/stzh-components/{p-74786856.system.entry.js → p-ff2a6bdf.system.entry.js} +1 -1
  341. package/dist/stzh-components/p-ff534e27.entry.js +1 -0
  342. package/dist/stzh-components/stzh-components.css +1 -1
  343. package/dist/stzh-components/stzh-components.esm.js +1 -1
  344. package/dist/stzh-components/stzh-components.js +1 -1
  345. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
  346. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
  347. package/dist/types/components.d.ts +351 -13
  348. package/dist/types/index.d.ts +7 -1
  349. package/dist/vscode-data.json +201 -11
  350. package/package.json +6 -2
  351. package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +0 -1
  352. package/dist/esm-es5/app-globals-453acbdb.js +0 -1
  353. package/dist/stzh-components/p-011dcf30.system.entry.js +0 -1
  354. package/dist/stzh-components/p-08714718.system.entry.js +0 -1
  355. package/dist/stzh-components/p-0977d9b6.entry.js +0 -1
  356. package/dist/stzh-components/p-0e474d1a.system.entry.js +0 -1
  357. package/dist/stzh-components/p-1399b2d7.entry.js +0 -1
  358. package/dist/stzh-components/p-2bf021f2.js +0 -1
  359. package/dist/stzh-components/p-2c891eee.entry.js +0 -1
  360. package/dist/stzh-components/p-3623b3a5.system.js +0 -1
  361. package/dist/stzh-components/p-3a73b8b5.system.js +0 -1
  362. package/dist/stzh-components/p-3e8ff66b.js +0 -1
  363. package/dist/stzh-components/p-4b93fb24.entry.js +0 -1
  364. package/dist/stzh-components/p-554fb3ac.system.js +0 -1
  365. package/dist/stzh-components/p-58714045.entry.js +0 -1
  366. package/dist/stzh-components/p-59970f71.entry.js +0 -1
  367. package/dist/stzh-components/p-62c7caed.entry.js +0 -1
  368. package/dist/stzh-components/p-648e03bc.entry.js +0 -1
  369. package/dist/stzh-components/p-6b2282cd.system.entry.js +0 -1
  370. package/dist/stzh-components/p-6c76e51d.entry.js +0 -1
  371. package/dist/stzh-components/p-6cbdbd06.entry.js +0 -1
  372. package/dist/stzh-components/p-90941379.system.entry.js +0 -1
  373. package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
  374. package/dist/stzh-components/p-9d58c713.entry.js +0 -1
  375. package/dist/stzh-components/p-a4a4370d.entry.js +0 -1
  376. package/dist/stzh-components/p-a6da8c06.system.entry.js +0 -1
  377. package/dist/stzh-components/p-afaa9c37.system.entry.js +0 -1
  378. package/dist/stzh-components/p-bb9e8364.entry.js +0 -1
  379. package/dist/stzh-components/p-bd7dd853.system.entry.js +0 -1
  380. package/dist/stzh-components/p-be534671.entry.js +0 -1
  381. package/dist/stzh-components/p-c7c3735a.entry.js +0 -1
  382. package/dist/stzh-components/p-da857e0d.entry.js +0 -1
  383. package/dist/stzh-components/p-de8f9508.system.entry.js +0 -1
  384. package/dist/stzh-components/p-e56d7b16.system.entry.js +0 -1
  385. package/dist/stzh-components/p-eb3425a1.system.entry.js +0 -1
  386. package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
@@ -0,0 +1,116 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { s as setPropsIfNull, h as hasSlot } from './utils.js';
3
+ import { a as addMediaChangeListener, r as removeMediaChangeListener, m as media } from './media-utils.js';
4
+
5
+ /**
6
+ * fitty v2.3.6 - Snugly resizes text to fit its parent container
7
+ * Copyright (c) 2022 Rik Schennink <rik@pqina.nl> (https://pqina.nl/)
8
+ */
9
+
10
+ var e=function(e){if(e){var t=function(e){return [].slice.call(e)},n=0,i=1,r=2,o=3,a=[],l=null,u="requestAnimationFrame"in e?function(){e.cancelAnimationFrame(l),l=e.requestAnimationFrame((function(){return s(a.filter((function(e){return e.dirty&&e.active})))}));}:function(){},c=function(e){return function(){a.forEach((function(t){return t.dirty=e})),u();}},s=function(e){e.filter((function(e){return !e.styleComputed})).forEach((function(e){e.styleComputed=m(e);})),e.filter(y).forEach(v);var t=e.filter(p);t.forEach(d),t.forEach((function(e){v(e),f(e);})),t.forEach(S);},f=function(e){return e.dirty=n},d=function(e){e.availableWidth=e.element.parentNode.clientWidth,e.currentWidth=e.element.scrollWidth,e.previousFontSize=e.currentFontSize,e.currentFontSize=Math.min(Math.max(e.minSize,e.availableWidth/e.currentWidth*e.previousFontSize),e.maxSize),e.whiteSpace=e.multiLine&&e.currentFontSize===e.minSize?"normal":"nowrap";},p=function(e){return e.dirty!==r||e.dirty===r&&e.element.parentNode.clientWidth!==e.availableWidth},m=function(t){var n=e.getComputedStyle(t.element,null);return t.currentFontSize=parseFloat(n.getPropertyValue("font-size")),t.display=n.getPropertyValue("display"),t.whiteSpace=n.getPropertyValue("white-space"),!0},y=function(e){var t=!1;return !e.preStyleTestCompleted&&(/inline-/.test(e.display)||(t=!0,e.display="inline-block"),"nowrap"!==e.whiteSpace&&(t=!0,e.whiteSpace="nowrap"),e.preStyleTestCompleted=!0,t)},v=function(e){e.element.style.whiteSpace=e.whiteSpace,e.element.style.display=e.display,e.element.style.fontSize=e.currentFontSize+"px";},S=function(e){e.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:e.previousFontSize,newValue:e.currentFontSize,scaleFactor:e.currentFontSize/e.previousFontSize}}));},h=function(e,t){return function(){e.dirty=t,e.active&&u();}},w=function(e){return function(){a=a.filter((function(t){return t.element!==e.element})),e.observeMutations&&e.observer.disconnect(),e.element.style.whiteSpace=e.originalStyle.whiteSpace,e.element.style.display=e.originalStyle.display,e.element.style.fontSize=e.originalStyle.fontSize;}},b=function(e){return function(){e.active||(e.active=!0,u());}},z=function(e){return function(){return e.active=!1}},F=function(e){e.observeMutations&&(e.observer=new MutationObserver(h(e,i)),e.observer.observe(e.element,e.observeMutations));},g={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in e&&{subtree:!0,childList:!0,characterData:!0}},W=null,E=function(){e.clearTimeout(W),W=e.setTimeout(c(r),x.observeWindowDelay);},M=["resize","orientationchange"];return Object.defineProperty(x,"observeWindow",{set:function(t){var n="".concat(t?"add":"remove","EventListener");M.forEach((function(t){e[n](t,E);}));}}),x.observeWindow=!0,x.observeWindowDelay=100,x.fitAll=c(o),x}function C(e,t){var n=Object.assign({},g,t),i=e.map((function(e){var t=Object.assign({},n,{element:e,active:!0});return function(e){e.originalStyle={whiteSpace:e.element.style.whiteSpace,display:e.element.style.display,fontSize:e.element.style.fontSize},F(e),e.newbie=!0,e.dirty=!0,a.push(e);}(t),{element:e,fit:h(t,o),unfreeze:b(t),freeze:z(t),unsubscribe:w(t)}}));return u(),i}function x(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return "string"==typeof e?C(t(document.querySelectorAll(e)),n):C([e],n)[0]}}("undefined"==typeof window?null:window);
11
+
12
+ const stzhPagetitleHeroCss = ".sc-stzh-pagetitle-hero-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-hero-h{display:none}.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::before,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>img[slot=image],.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>[slot=image] img{display:block;position:absolute;width:100%;height:100%;top:0;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter]:not([disabled]){--color:var(--stzh-color-white);--border:0.0625rem solid var(--stzh-color-white);--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-white16);--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-white16);--hover-counter-color:var(--stzh-color-white);--hover-icon-color:var(--stzh-color-white)}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter][active]:not([active=false]):not([disabled]){--border:0.0625rem solid transparent;--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag]:not(:last-child){margin-right:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero.sc-stzh-pagetitle-hero{padding-top:var(--stzh-space-xxlarge)}}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero{list-style:none;padding:0;margin:0;display:-ms-flexbox;display:flex}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{position:absolute;left:0;top:0}}@media screen and (max-width: 1023px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero:not(:empty){margin:var(--stzh-space-xlarge) 0}}.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{--stzh-flyingfocus-color:var(--stzh-base-invert-color);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;position:relative;z-index:1;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));padding:var(--stzh-space-xxxlarge) var(--stzh-space-xlarge);margin-top:calc(var(--stzh-space-xxxlarge) * -1)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xxxxlarge) var(--stzh-space-xxlarge);margin-top:calc(var(--stzh-space-big) * -1)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin:var(--stzh-space-big) 0;width:50%;margin-left:-8.3333333333%}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xbig)}}.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-white);margin:0;font-size:1.875rem;line-height:1.107;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:normal;word-break:normal;word-break:break-word}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-size:3rem}}.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);margin-top:var(--stzh-space-xlarge);color:var(--stzh-color-white)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 600px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row;flex-direction:row}}.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{position:relative;-ms-flex-negative:0;flex-shrink:0;background-color:var(--stzh-color-grey5);margin-left:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{width:58.3333333333%;margin-left:0;margin-right:0}}.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{position:relative;width:100%;height:0;padding-bottom:75%}@media screen and (min-width: 600px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:56.25%}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:75%}}.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin:0 auto;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge);max-width:70%}}.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin-right:-8.3333333333%}}.stzh-pagetitle-hero--has-no-lead.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:column;flex-direction:column;margin-top:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{width:100%;margin:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xlarge);margin-bottom:var(--stzh-space-xlarge);position:static}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxlarge)}}";
13
+
14
+ const StzhPagetitleHero$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
15
+ constructor() {
16
+ super();
17
+ this.__registerHost();
18
+ this.init = () => {
19
+ const backLink = this.element.querySelector('stzh-link[slot="back-link"], [slot="back-link"] stzh-link');
20
+ const leads = this.element.querySelectorAll('stzh-text[slot="lead"], [slot="lead"] stzh-text');
21
+ const tags = this.element.querySelectorAll('stzh-chip[slot="tag"], [slot="tag"] stzh-chip');
22
+ if (backLink) {
23
+ setPropsIfNull(backLink, {
24
+ icon: "arrow-left-circle"
25
+ });
26
+ }
27
+ leads.forEach((lead) => {
28
+ setPropsIfNull(lead, {
29
+ lead: true
30
+ });
31
+ });
32
+ tags.forEach((tag) => {
33
+ setPropsIfNull(tag, {
34
+ role: "listitem"
35
+ });
36
+ });
37
+ };
38
+ this.reinitFitty = () => {
39
+ this.destroyFitty();
40
+ const isSmall = media("small").matches;
41
+ this.fitty = e(this.mainTitleElement, {
42
+ minSize: isSmall ? 48 : 32,
43
+ maxSize: isSmall ? 96 : 64
44
+ });
45
+ };
46
+ this.heading = "";
47
+ this.leadAuthor = "";
48
+ this.subtitle = "";
49
+ }
50
+ destroyFitty() {
51
+ if (this.fitty) {
52
+ this.fitty.unsubscribe();
53
+ this.fitty = null;
54
+ }
55
+ }
56
+ async componentWillUpdate() {
57
+ this.destroyFitty();
58
+ }
59
+ async componentDidRender() {
60
+ if (this.fitty) {
61
+ return;
62
+ }
63
+ this.reinitFitty();
64
+ }
65
+ connectedCallback() {
66
+ this.init();
67
+ addMediaChangeListener(this.reinitFitty);
68
+ this.observer = new MutationObserver(this.init);
69
+ this.observer.observe(this.element, {
70
+ childList: true,
71
+ subtree: true
72
+ });
73
+ }
74
+ disconnectedCallback() {
75
+ this.observer.disconnect();
76
+ removeMediaChangeListener(this.reinitFitty);
77
+ this.destroyFitty();
78
+ }
79
+ render() {
80
+ const imageSlotUsed = hasSlot(this.element, "image");
81
+ const leadSlotUsed = hasSlot(this.element, "lead");
82
+ const backLinkSlotUsed = hasSlot(this.element, "back-link");
83
+ const classes = {
84
+ "stzh-pagetitle-hero": true,
85
+ "stzh-pagetitle-hero--has-no-image": !imageSlotUsed,
86
+ "stzh-pagetitle-hero--has-no-lead": !leadSlotUsed,
87
+ "stzh-pagetitle-hero--has-back-link": backLinkSlotUsed,
88
+ };
89
+ return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-pagetitle-hero__header" }, h("div", { class: "stzh-pagetitle-hero__back-link" }, h("slot", { name: "back-link" })), h("div", { class: "stzh-pagetitle-hero__image-wrapper" }, h("div", { class: "stzh-pagetitle-hero__image-ratio" }), h("slot", { name: "image" })), h("div", { class: "stzh-pagetitle-hero__title-wrapper" }, h("div", { class: "stzh-pagetitle-hero__tags", role: "list" }, h("slot", { name: "tag" })), h("div", { class: "stzh-pagetitle-hero__title-parent" }, h("h1", { ref: (el) => (this.mainTitleElement = el), class: "stzh-pagetitle-hero__title" }, this.heading)), this.subtitle &&
90
+ h("div", { class: "stzh-pagetitle-hero__subtitle" }, this.subtitle))), h("div", { class: "stzh-pagetitle-hero__lead" }, h("slot", { name: "lead" }), h("div", { class: "stzh-pagetitle-hero__lead-author" }, this.leadAuthor)))));
91
+ }
92
+ get element() { return this; }
93
+ static get style() { return stzhPagetitleHeroCss; }
94
+ }, [6, "stzh-pagetitle-hero", {
95
+ "heading": [1],
96
+ "leadAuthor": [1, "lead-author"],
97
+ "subtitle": [1]
98
+ }]);
99
+ function defineCustomElement$1() {
100
+ if (typeof customElements === "undefined") {
101
+ return;
102
+ }
103
+ const components = ["stzh-pagetitle-hero"];
104
+ components.forEach(tagName => { switch (tagName) {
105
+ case "stzh-pagetitle-hero":
106
+ if (!customElements.get(tagName)) {
107
+ customElements.define(tagName, StzhPagetitleHero$1);
108
+ }
109
+ break;
110
+ } });
111
+ }
112
+
113
+ const StzhPagetitleHero = StzhPagetitleHero$1;
114
+ const defineCustomElement = defineCustomElement$1;
115
+
116
+ export { StzhPagetitleHero, defineCustomElement };