@oiz/stzh-components 2.1.0-beta → 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 (335) hide show
  1. package/dist/cjs/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
  2. package/dist/cjs/{app-globals-07890ee7.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-chip.cjs.entry.js +13 -6
  12. package/dist/cjs/stzh-components.cjs.js +2 -2
  13. package/dist/cjs/stzh-contactaddress.cjs.entry.js +65 -0
  14. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-footer.cjs.entry.js +11 -5
  19. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
  20. package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
  21. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-link.cjs.entry.js +2 -1
  23. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-pagebottom.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
  27. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-share.cjs.entry.js +5 -5
  29. package/dist/cjs/stzh-upload.cjs.entry.js +7 -9
  30. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  31. package/dist/collection/assets/icons/mono/facebook-filled.svg +3 -0
  32. package/dist/collection/assets/icons/mono/linkedin-filled.svg +12 -0
  33. package/dist/collection/assets/icons/mono/mail-filled.svg +6 -0
  34. package/dist/collection/assets/icons/mono/star-filled.svg +1 -1
  35. package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -0
  36. package/dist/collection/assets/icons/mono/xing-filled.svg +4 -0
  37. package/dist/collection/assets/media/olmap/marker-active.png +0 -0
  38. package/dist/collection/assets/media/olmap/marker.png +0 -0
  39. package/dist/collection/collection-manifest.json +3 -0
  40. package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
  41. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +51 -3
  42. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  43. package/dist/collection/components/stzh-actions/stzh-actions.css +7 -1
  44. package/dist/collection/components/stzh-actions/stzh-actions.js +3 -3
  45. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
  46. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +5 -0
  47. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  48. package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
  49. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
  50. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  51. package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
  52. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
  53. package/dist/collection/components/stzh-button/stzh-button.css +3 -0
  54. package/dist/collection/components/stzh-button/stzh-button.js +19 -1
  55. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
  56. package/dist/collection/components/stzh-card/stzh-card.css +3 -0
  57. package/dist/collection/components/stzh-card-list/stzh-card-list.css +3 -0
  58. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
  59. package/dist/collection/components/stzh-chart/stzh-chart.css +799 -0
  60. package/dist/collection/components/stzh-chart/stzh-chart.js +110 -0
  61. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +287 -0
  62. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -0
  63. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
  64. package/dist/collection/components/stzh-chip/stzh-chip.css +4 -21
  65. package/dist/collection/components/stzh-chip/stzh-chip.js +49 -24
  66. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +0 -9
  67. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
  68. package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
  69. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +153 -0
  70. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +321 -0
  71. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +100 -0
  72. package/dist/collection/components/stzh-container/stzh-container.css +3 -0
  73. package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
  74. package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
  75. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +13 -2
  76. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
  77. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  78. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
  79. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
  80. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
  81. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
  82. package/dist/collection/components/stzh-figure/stzh-figure.css +3 -1
  83. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
  84. package/dist/collection/components/stzh-footer/stzh-footer.css +53 -0
  85. package/dist/collection/components/stzh-footer/stzh-footer.js +44 -16
  86. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +21 -1
  87. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +10 -10
  88. package/dist/collection/components/stzh-header/stzh-header.css +3 -0
  89. package/dist/collection/components/stzh-heading/stzh-heading.css +9 -6
  90. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  91. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
  92. package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
  93. package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
  94. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +95 -30
  95. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  96. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +3 -0
  97. package/dist/collection/components/stzh-input/stzh-input.css +3 -0
  98. package/dist/collection/components/stzh-link/stzh-link.css +3 -0
  99. package/dist/collection/components/stzh-link/stzh-link.js +19 -1
  100. package/dist/collection/components/stzh-list/stzh-list.css +3 -0
  101. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
  102. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
  103. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
  104. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
  105. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
  106. package/dist/collection/components/stzh-message/stzh-message.css +3 -0
  107. package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
  108. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
  109. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
  110. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
  111. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +7 -4
  112. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +1 -1
  113. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -0
  114. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
  115. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +396 -0
  116. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +157 -0
  117. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +94 -0
  118. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
  119. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +8 -3
  120. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
  121. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
  122. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
  123. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
  124. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
  125. package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
  126. package/dist/collection/components/stzh-row/stzh-row.css +3 -0
  127. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
  128. package/dist/collection/components/stzh-section/stzh-section.css +3 -0
  129. package/dist/collection/components/stzh-share/stzh-share.css +3 -0
  130. package/dist/collection/components/stzh-share/stzh-share.js +5 -5
  131. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
  132. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
  133. package/dist/collection/components/stzh-status/stzh-status.css +3 -0
  134. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
  135. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +1 -1
  136. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  137. package/dist/collection/components/stzh-text/stzh-text.css +3 -0
  138. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
  139. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
  140. package/dist/collection/components/stzh-upload/stzh-upload.css +24 -15
  141. package/dist/collection/components/stzh-upload/stzh-upload.js +5 -7
  142. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
  143. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
  144. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
  145. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
  146. package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
  147. package/dist/components/_commonjsHelpers.js +16 -1
  148. package/dist/components/index.d.ts +3 -0
  149. package/dist/components/index.js +4 -1
  150. package/dist/components/stzh-accordion-item.js +2 -2
  151. package/dist/components/stzh-actions.js +2 -2
  152. package/dist/components/stzh-anchornav.js +2 -2
  153. package/dist/components/stzh-appointments.js +1 -1
  154. package/dist/components/stzh-button2.js +3 -1
  155. package/dist/components/stzh-chart.d.ts +11 -0
  156. package/dist/components/stzh-chart.js +26144 -0
  157. package/dist/components/stzh-chip2.js +16 -8
  158. package/dist/components/stzh-contactaddress.d.ts +11 -0
  159. package/dist/components/stzh-contactaddress.js +93 -0
  160. package/dist/components/stzh-datamessagelist.js +1 -1
  161. package/dist/components/stzh-figure.js +1 -1
  162. package/dist/components/stzh-footer.js +13 -6
  163. package/dist/components/stzh-ghettobox2.js +1 -1
  164. package/dist/components/stzh-heading2.js +2 -2
  165. package/dist/components/stzh-icon-sprite.js +1 -1
  166. package/dist/components/stzh-link2.js +3 -1
  167. package/dist/components/stzh-pagebottom.js +2 -2
  168. package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
  169. package/dist/components/stzh-pagetitle-hero.js +116 -0
  170. package/dist/components/stzh-portal-mitwirken.js +1 -1
  171. package/dist/components/stzh-share2.js +5 -5
  172. package/dist/components/stzh-upload.js +7 -9
  173. package/dist/esm/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
  174. package/dist/esm/{app-globals-acc57d0e.js → app-globals-246b5e49.js} +1 -1
  175. package/dist/esm/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  176. package/dist/esm/loader.js +2 -2
  177. package/dist/esm/stzh-accordion-item.entry.js +2 -2
  178. package/dist/esm/stzh-actions.entry.js +2 -2
  179. package/dist/esm/stzh-anchornav.entry.js +2 -2
  180. package/dist/esm/stzh-appointments.entry.js +1 -1
  181. package/dist/esm/stzh-badge_3.entry.js +2 -1
  182. package/dist/esm/stzh-chart.entry.js +26123 -0
  183. package/dist/esm/stzh-chip.entry.js +14 -7
  184. package/dist/esm/stzh-components.js +2 -2
  185. package/dist/esm/stzh-contactaddress.entry.js +61 -0
  186. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  187. package/dist/esm/stzh-datatable.entry.js +1 -1
  188. package/dist/esm/stzh-dropdown.entry.js +1 -1
  189. package/dist/esm/stzh-figure.entry.js +1 -1
  190. package/dist/esm/stzh-footer.entry.js +11 -5
  191. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  192. package/dist/esm/stzh-heading.entry.js +2 -2
  193. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  194. package/dist/esm/stzh-link.entry.js +2 -1
  195. package/dist/esm/stzh-message.entry.js +2 -2
  196. package/dist/esm/stzh-olmap.entry.js +1 -1
  197. package/dist/esm/stzh-pagebottom.entry.js +2 -2
  198. package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
  199. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  200. package/dist/esm/stzh-share.entry.js +5 -5
  201. package/dist/esm/stzh-upload.entry.js +7 -9
  202. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  203. package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +1 -0
  204. package/dist/esm-es5/app-globals-246b5e49.js +1 -0
  205. package/dist/esm-es5/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  206. package/dist/esm-es5/loader.js +1 -1
  207. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  208. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  209. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  210. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  211. package/dist/esm-es5/stzh-chart.entry.js +3 -0
  212. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  213. package/dist/esm-es5/stzh-components.js +1 -1
  214. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -0
  215. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  216. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  217. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  218. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  219. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  220. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  221. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  222. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  223. package/dist/esm-es5/stzh-link.entry.js +1 -1
  224. package/dist/esm-es5/stzh-message.entry.js +1 -1
  225. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  226. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  227. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -0
  228. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  229. package/dist/esm-es5/stzh-share.entry.js +1 -1
  230. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  231. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  232. package/dist/stzh-components/assets/icons/mono/facebook-filled.svg +3 -0
  233. package/dist/stzh-components/assets/icons/mono/linkedin-filled.svg +12 -0
  234. package/dist/stzh-components/assets/icons/mono/mail-filled.svg +6 -0
  235. package/dist/stzh-components/assets/icons/mono/star-filled.svg +1 -1
  236. package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -0
  237. package/dist/stzh-components/assets/icons/mono/xing-filled.svg +4 -0
  238. package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
  239. package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
  240. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +95 -30
  241. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  242. package/dist/stzh-components/{p-29d9a568.entry.js → p-105a11cb.entry.js} +1 -1
  243. package/dist/stzh-components/p-17ae6581.entry.js +1 -0
  244. package/dist/stzh-components/{p-3e24b964.entry.js → p-229d4ad2.entry.js} +1 -1
  245. package/dist/stzh-components/{p-3f8976bc.system.entry.js → p-22c9a00d.system.entry.js} +1 -1
  246. package/dist/stzh-components/{p-8e363084.system.entry.js → p-238a8c83.system.entry.js} +1 -1
  247. package/dist/stzh-components/{p-b10682ee.js → p-24b8df26.js} +1 -1
  248. package/dist/stzh-components/p-25ef050a.entry.js +1 -0
  249. package/dist/stzh-components/p-293ceb5e.entry.js +1 -0
  250. package/dist/stzh-components/p-2ba8b5c9.system.entry.js +1 -0
  251. package/dist/stzh-components/{p-e7afcd6f.entry.js → p-38b9e5e9.entry.js} +1 -1
  252. package/dist/stzh-components/{p-07fc857b.system.entry.js → p-44dd74d1.system.entry.js} +1 -1
  253. package/dist/stzh-components/{p-5db542ae.system.js → p-484a366f.system.js} +1 -1
  254. package/dist/stzh-components/{p-a61bf274.entry.js → p-4a3f9353.entry.js} +1 -1
  255. package/dist/stzh-components/{p-d69b12f8.entry.js → p-4e6ddb5f.entry.js} +1 -1
  256. package/dist/stzh-components/p-4fd4a703.entry.js +3 -0
  257. package/dist/stzh-components/p-5caa837c.system.entry.js +3 -0
  258. package/dist/stzh-components/{p-3b33fa76.system.entry.js → p-5ed4d1d5.system.entry.js} +1 -1
  259. package/dist/stzh-components/p-60d8e2da.entry.js +1 -0
  260. package/dist/stzh-components/p-61c9ca5d.entry.js +1 -0
  261. package/dist/stzh-components/p-61d4852f.system.entry.js +1 -0
  262. package/dist/stzh-components/p-6830f839.entry.js +1 -0
  263. package/dist/stzh-components/p-6d22bd0d.entry.js +1 -0
  264. package/dist/stzh-components/{p-d2c97cbc.entry.js → p-71220066.entry.js} +1 -1
  265. package/dist/stzh-components/p-71d757d3.js +1 -0
  266. package/dist/stzh-components/p-7a584d3f.system.entry.js +1 -0
  267. package/dist/stzh-components/p-7aef399f.entry.js +1 -0
  268. package/dist/stzh-components/{p-c5749124.system.entry.js → p-7c172e64.system.entry.js} +1 -1
  269. package/dist/stzh-components/p-7dec02ca.entry.js +1 -0
  270. package/dist/stzh-components/p-84aace40.system.entry.js +1 -0
  271. package/dist/stzh-components/p-8ab86ca3.system.entry.js +1 -0
  272. package/dist/stzh-components/p-8f9de52f.system.entry.js +1 -0
  273. package/dist/stzh-components/p-909d7a3c.system.js +1 -0
  274. package/dist/stzh-components/p-95defe16.system.entry.js +1 -0
  275. package/dist/stzh-components/p-98a972b7.system.entry.js +1 -0
  276. package/dist/stzh-components/p-9c90535a.system.js +1 -0
  277. package/dist/stzh-components/p-a6d4a8b1.js +1 -0
  278. package/dist/stzh-components/p-a866b3a3.entry.js +1 -0
  279. package/dist/stzh-components/p-ac409e7b.system.entry.js +1 -0
  280. package/dist/stzh-components/p-ad119aca.entry.js +1 -0
  281. package/dist/stzh-components/{p-6c3d7756.system.entry.js → p-b1ff3a21.system.entry.js} +1 -1
  282. package/dist/stzh-components/p-bc34bf07.system.entry.js +1 -0
  283. package/dist/stzh-components/{p-1663fc49.system.entry.js → p-bd5b8114.system.entry.js} +1 -1
  284. package/dist/stzh-components/p-c2238fbf.entry.js +1 -0
  285. package/dist/stzh-components/p-c3846ccf.system.entry.js +1 -0
  286. package/dist/stzh-components/p-ce06b4f2.system.js +1 -0
  287. package/dist/stzh-components/p-cf781b59.entry.js +1 -0
  288. package/dist/stzh-components/{p-b367d4e3.entry.js → p-d4b93488.entry.js} +1 -1
  289. package/dist/stzh-components/p-d5ee4ac0.entry.js +1 -0
  290. package/dist/stzh-components/{p-fd811f6b.system.entry.js → p-daa34275.system.entry.js} +2 -2
  291. package/dist/stzh-components/p-e161760f.system.entry.js +1 -0
  292. package/dist/stzh-components/p-e785d9cc.entry.js +1 -0
  293. package/dist/stzh-components/{p-fb150554.system.entry.js → p-f5f3475c.system.entry.js} +1 -1
  294. package/dist/stzh-components/p-f6ab391e.system.entry.js +1 -0
  295. package/dist/stzh-components/{p-74786856.system.entry.js → p-ff2a6bdf.system.entry.js} +1 -1
  296. package/dist/stzh-components/p-ff534e27.entry.js +1 -0
  297. package/dist/stzh-components/stzh-components.css +1 -1
  298. package/dist/stzh-components/stzh-components.esm.js +1 -1
  299. package/dist/stzh-components/stzh-components.js +1 -1
  300. package/dist/types/components.d.ts +242 -11
  301. package/dist/types/index.d.ts +5 -0
  302. package/dist/vscode-data.json +141 -11
  303. package/package.json +6 -2
  304. package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +0 -1
  305. package/dist/esm-es5/app-globals-acc57d0e.js +0 -1
  306. package/dist/stzh-components/p-011dcf30.system.entry.js +0 -1
  307. package/dist/stzh-components/p-0977d9b6.entry.js +0 -1
  308. package/dist/stzh-components/p-10c36281.entry.js +0 -1
  309. package/dist/stzh-components/p-23e9b6c7.system.entry.js +0 -1
  310. package/dist/stzh-components/p-241f060e.entry.js +0 -1
  311. package/dist/stzh-components/p-2c8d491a.system.entry.js +0 -1
  312. package/dist/stzh-components/p-3a73b8b5.system.js +0 -1
  313. package/dist/stzh-components/p-3e8ff66b.js +0 -1
  314. package/dist/stzh-components/p-4b93fb24.entry.js +0 -1
  315. package/dist/stzh-components/p-4c93ffbe.entry.js +0 -1
  316. package/dist/stzh-components/p-5623c1a3.entry.js +0 -1
  317. package/dist/stzh-components/p-58714045.entry.js +0 -1
  318. package/dist/stzh-components/p-59970f71.entry.js +0 -1
  319. package/dist/stzh-components/p-62c7caed.entry.js +0 -1
  320. package/dist/stzh-components/p-79f27d21.entry.js +0 -1
  321. package/dist/stzh-components/p-8e5f4ef6.system.entry.js +0 -1
  322. package/dist/stzh-components/p-9084f0c1.entry.js +0 -1
  323. package/dist/stzh-components/p-948acea1.js +0 -1
  324. package/dist/stzh-components/p-9af41730.system.js +0 -1
  325. package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
  326. package/dist/stzh-components/p-a6da8c06.system.entry.js +0 -1
  327. package/dist/stzh-components/p-afaa9c37.system.entry.js +0 -1
  328. package/dist/stzh-components/p-b71a1607.system.js +0 -1
  329. package/dist/stzh-components/p-bb9e8364.entry.js +0 -1
  330. package/dist/stzh-components/p-bd7dd853.system.entry.js +0 -1
  331. package/dist/stzh-components/p-be534671.entry.js +0 -1
  332. package/dist/stzh-components/p-da857e0d.entry.js +0 -1
  333. package/dist/stzh-components/p-de8f9508.system.entry.js +0 -1
  334. package/dist/stzh-components/p-fa6427bf.system.entry.js +0 -1
  335. package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
@@ -1,7 +1,11 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { hasSlot, setPropsIfNull } from "../../utils/utils";
3
3
  /**
4
- * @slot image - Slot for image
4
+ * @slot heading - Slot for `stzh-heading` element
5
+ * @slot image - Slot for `stzh-figure` or `img` element
6
+ * @slot lead - Slot for `stzh-text` element
7
+ * @slot action-left - Slot e.g. for `stzh-readspeaker` or `stzh-link` element
8
+ * @slot action-right - Slot e.g. for `stzh-readspeaker` or `stzh-link` element
5
9
  */
6
10
  export class StzhPagetitle {
7
11
  constructor() {
@@ -0,0 +1,396 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /*
5
+ * Base
6
+ */
7
+ /**
8
+ * Flyingfocus
9
+ */
10
+ /**
11
+ * Link
12
+ */
13
+ /**
14
+ * Text
15
+ */
16
+ /**
17
+ * Richtext
18
+ */
19
+ /**
20
+ * Section
21
+ */
22
+ /**
23
+ * Header
24
+ */
25
+ /**
26
+ * Appnav
27
+ */
28
+ /**
29
+ * Progressbar
30
+ */
31
+ /**
32
+ * Loader
33
+ */
34
+ /**
35
+ * Table
36
+ */
37
+ /**
38
+ * Heading
39
+ */
40
+ /**
41
+ * Menu (Item)
42
+ */
43
+ /**
44
+ * Form Elements (Input / Checkbox / Radio / Select / Datepicker)
45
+ */
46
+ /**
47
+ * Popover
48
+ */
49
+ /**
50
+ * Tooltips
51
+ */
52
+ /**
53
+ * Accordions
54
+ */
55
+ /**
56
+ * Buttons
57
+ */
58
+ /**
59
+ * Box Shadows
60
+ */
61
+ /**
62
+ * Z-Indexes
63
+ * Inspired by https://www.duetds.com/tokens/#z-index
64
+ */
65
+ /**
66
+ * Icon sizes
67
+ */
68
+ /**
69
+ * Grid
70
+ */
71
+ /**
72
+ * Breakpoints
73
+ */
74
+ /**
75
+ * Container
76
+ */
77
+ /**
78
+ * Spaces
79
+ */
80
+ /**
81
+ * Fonts
82
+ */
83
+ :host {
84
+ font-family: var(--stzh-font-family-regular);
85
+ font-weight: var(--stzh-font-weight-regular);
86
+ font-style: normal;
87
+ color: var(--stzh-base-color);
88
+ box-sizing: border-box;
89
+ display: block;
90
+ }
91
+ :host[hidden] {
92
+ display: none;
93
+ }
94
+ :host *,
95
+ :host *::before,
96
+ :host *::after {
97
+ box-sizing: border-box;
98
+ }
99
+
100
+ :host ::slotted(img[slot=image]),
101
+ :host ::slotted([slot=image]) img {
102
+ display: block;
103
+ position: absolute;
104
+ width: 100%;
105
+ height: 100%;
106
+ top: 0;
107
+ left: 0;
108
+ -o-object-fit: cover;
109
+ object-fit: cover;
110
+ -o-object-position: center;
111
+ object-position: center;
112
+ }
113
+ :host ::slotted(stzh-chip[slot=tag])[variant=filter]:not([disabled]) {
114
+ --color: var(--stzh-color-white);
115
+ --border: 0.0625rem solid var(--stzh-color-white);
116
+ --remove-color: var(--stzh-color-white);
117
+ --background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
118
+ --counter-color: var(--stzh-color-white48);
119
+ --icon-color: var(--stzh-color-white);
120
+ --hover-color: var(--stzh-color-white);
121
+ --hover-border: 0.0625rem solid transparent;
122
+ --hover-background-color: var(--stzh-color-white16);
123
+ --hover-remove-color: var(--stzh-color-white);
124
+ --hover-remove-background-color: var(--stzh-color-white16);
125
+ --hover-counter-color: var(--stzh-color-white);
126
+ --hover-icon-color: var(--stzh-color-white);
127
+ }
128
+ :host ::slotted(stzh-chip[slot=tag])[variant=filter][active]:not([active=false]):not([disabled]) {
129
+ --border: 0.0625rem solid transparent;
130
+ --background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
131
+ --hover-background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
132
+ --hover-remove-background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
133
+ }
134
+ :host ::slotted(stzh-chip[slot=tag]):not(:last-child) {
135
+ margin-right: var(--stzh-space-xsmall);
136
+ }
137
+
138
+ .stzh-pagetitle-hero {
139
+ /* Has back link variant */
140
+ /* Has lead */
141
+ /* No image variant */
142
+ }
143
+ @media screen and (min-width: 1024px) {
144
+ .stzh-pagetitle-hero {
145
+ padding-top: var(--stzh-space-xxlarge);
146
+ }
147
+ }
148
+ .stzh-pagetitle-hero__tags {
149
+ list-style: none;
150
+ padding: 0;
151
+ margin: 0;
152
+ display: flex;
153
+ }
154
+ .stzh-pagetitle-hero__tags:not(:empty) {
155
+ margin-bottom: var(--stzh-space-xlarge);
156
+ }
157
+ @media screen and (min-width: 1024px) {
158
+ .stzh-pagetitle-hero__back-link {
159
+ position: absolute;
160
+ left: 0;
161
+ top: 0;
162
+ }
163
+ }
164
+ @media screen and (max-width: 1023px) {
165
+ .stzh-pagetitle-hero__back-link:not(:empty) {
166
+ margin: var(--stzh-space-xlarge) 0;
167
+ }
168
+ }
169
+ .stzh-pagetitle-hero__title-wrapper {
170
+ --stzh-flyingfocus-color: var(--stzh-base-invert-color);
171
+ display: flex;
172
+ justify-content: center;
173
+ flex-direction: column;
174
+ flex-shrink: 0;
175
+ position: relative;
176
+ z-index: 1;
177
+ background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
178
+ padding: var(--stzh-space-xxxlarge) var(--stzh-space-xlarge);
179
+ margin-top: calc(var(--stzh-space-xxxlarge) * -1);
180
+ }
181
+ @media screen and (min-width: 600px) {
182
+ .stzh-pagetitle-hero__title-wrapper {
183
+ padding: var(--stzh-space-xxxxlarge) var(--stzh-space-xxlarge);
184
+ margin-top: calc(var(--stzh-space-big) * -1);
185
+ }
186
+ }
187
+ @media screen and (min-width: 1024px) {
188
+ .stzh-pagetitle-hero__title-wrapper {
189
+ padding: var(--stzh-space-big);
190
+ }
191
+ }
192
+ @media screen and (min-width: 1024px) {
193
+ .stzh-pagetitle-hero__title-wrapper {
194
+ margin: var(--stzh-space-big) 0;
195
+ width: 50%;
196
+ margin-left: -8.3333333333%;
197
+ }
198
+ }
199
+ @media screen and (min-width: 1260px) {
200
+ .stzh-pagetitle-hero__title-wrapper {
201
+ padding: var(--stzh-space-xbig);
202
+ }
203
+ }
204
+ .stzh-pagetitle-hero__title {
205
+ font-family: var(--stzh-font-family-heavy);
206
+ font-weight: var(--stzh-font-weight-heavy);
207
+ font-style: normal;
208
+ color: var(--stzh-color-white);
209
+ margin: 0;
210
+ font-size: 1.875rem;
211
+ line-height: 1.107;
212
+ overflow-wrap: break-word;
213
+ word-wrap: break-word;
214
+ -ms-word-break: normal;
215
+ word-break: normal;
216
+ word-break: break-word;
217
+ }
218
+ @media screen and (min-width: 600px) {
219
+ .stzh-pagetitle-hero__title {
220
+ font-size: 3rem;
221
+ }
222
+ }
223
+ .stzh-pagetitle-hero__subtitle {
224
+ font-size: var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));
225
+ line-height: var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));
226
+ letter-spacing: var(--stzh-font-curve-h3-default-text-letter-spacing);
227
+ margin-top: var(--stzh-space-xlarge);
228
+ color: var(--stzh-color-white);
229
+ }
230
+ @media screen and (min-width: 600px) {
231
+ .stzh-pagetitle-hero__subtitle {
232
+ font-size: var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));
233
+ line-height: var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));
234
+ letter-spacing: var(--stzh-font-curve-h3-small-text-letter-spacing);
235
+ }
236
+ }
237
+ @media screen and (min-width: 1024px) {
238
+ .stzh-pagetitle-hero__subtitle {
239
+ font-size: var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));
240
+ line-height: var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));
241
+ letter-spacing: var(--stzh-font-curve-h3-medium-text-letter-spacing);
242
+ }
243
+ }
244
+ @media screen and (min-width: 1024px) {
245
+ .stzh-pagetitle-hero__subtitle {
246
+ margin-top: var(--stzh-space-xxlarge);
247
+ }
248
+ }
249
+ @media screen and (min-width: 1260px) {
250
+ .stzh-pagetitle-hero__subtitle {
251
+ margin-top: var(--stzh-space-xxxlarge);
252
+ }
253
+ }
254
+ .stzh-pagetitle-hero__header {
255
+ margin-bottom: var(--stzh-space-xxxxlarge);
256
+ display: flex;
257
+ flex-direction: column;
258
+ position: relative;
259
+ }
260
+ @media screen and (min-width: 600px) {
261
+ .stzh-pagetitle-hero__header {
262
+ margin-bottom: var(--stzh-space-big);
263
+ }
264
+ }
265
+ @media screen and (min-width: 1024px) {
266
+ .stzh-pagetitle-hero__header {
267
+ margin-bottom: var(--stzh-space-xbig);
268
+ }
269
+ }
270
+ @media screen and (min-width: 1260px) {
271
+ .stzh-pagetitle-hero__header {
272
+ margin-bottom: var(--stzh-space-huge);
273
+ }
274
+ }
275
+ @media screen and (min-width: 1024px) {
276
+ .stzh-pagetitle-hero__header {
277
+ flex-direction: row;
278
+ }
279
+ }
280
+ .stzh-pagetitle-hero__image-wrapper {
281
+ position: relative;
282
+ flex-shrink: 0;
283
+ background-color: var(--stzh-color-grey5);
284
+ margin-left: calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);
285
+ margin-right: calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);
286
+ }
287
+ @media screen and (min-width: 1024px) {
288
+ .stzh-pagetitle-hero__image-wrapper {
289
+ width: 58.3333333333%;
290
+ margin-left: 0;
291
+ margin-right: 0;
292
+ }
293
+ }
294
+ .stzh-pagetitle-hero__image-ratio {
295
+ position: relative;
296
+ width: 100%;
297
+ height: 0;
298
+ padding-bottom: 75%;
299
+ }
300
+ @media screen and (min-width: 600px) {
301
+ .stzh-pagetitle-hero__image-ratio {
302
+ padding-bottom: 56.25%;
303
+ }
304
+ }
305
+ @media screen and (min-width: 1024px) {
306
+ .stzh-pagetitle-hero__image-ratio {
307
+ padding-bottom: 75%;
308
+ }
309
+ }
310
+ .stzh-pagetitle-hero__lead {
311
+ margin: 0 auto;
312
+ margin-bottom: var(--stzh-space-large);
313
+ }
314
+ @media screen and (min-width: 600px) {
315
+ .stzh-pagetitle-hero__lead {
316
+ margin-bottom: var(--stzh-space-xxlarge);
317
+ }
318
+ }
319
+ @media screen and (min-width: 1260px) {
320
+ .stzh-pagetitle-hero__lead {
321
+ margin-bottom: var(--stzh-space-huge);
322
+ max-width: 70%;
323
+ }
324
+ }
325
+ .stzh-pagetitle-hero__lead-author {
326
+ font-size: var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));
327
+ line-height: var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));
328
+ letter-spacing: var(--stzh-font-curve-p1-default-text-letter-spacing);
329
+ margin-top: var(--stzh-space-small);
330
+ }
331
+ @media screen and (min-width: 1024px) {
332
+ .stzh-pagetitle-hero__lead-author {
333
+ font-size: var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));
334
+ line-height: var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));
335
+ letter-spacing: var(--stzh-font-curve-p1-medium-text-letter-spacing);
336
+ }
337
+ }
338
+ @media screen and (min-width: 1024px) {
339
+ .stzh-pagetitle-hero__lead-author {
340
+ margin-top: var(--stzh-space-medium);
341
+ }
342
+ }
343
+ @media screen and (min-width: 1260px) {
344
+ .stzh-pagetitle-hero__lead-author {
345
+ margin-top: var(--stzh-space-large);
346
+ }
347
+ }
348
+ @media screen and (min-width: 1024px) {
349
+ .stzh-pagetitle-hero--has-back-link .stzh-pagetitle-hero__header {
350
+ flex-direction: row-reverse;
351
+ }
352
+ }
353
+ @media screen and (min-width: 1024px) {
354
+ .stzh-pagetitle-hero--has-back-link .stzh-pagetitle-hero__title-wrapper {
355
+ margin-right: -8.3333333333%;
356
+ }
357
+ }
358
+ .stzh-pagetitle-hero--has-no-lead .stzh-pagetitle-hero__lead {
359
+ display: none;
360
+ }
361
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__image-wrapper {
362
+ display: none;
363
+ }
364
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__header {
365
+ flex-direction: column;
366
+ margin-top: 0;
367
+ }
368
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__title-wrapper {
369
+ width: 100%;
370
+ margin: 0;
371
+ }
372
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__back-link {
373
+ margin-top: var(--stzh-space-xlarge);
374
+ margin-bottom: var(--stzh-space-xlarge);
375
+ position: static;
376
+ }
377
+ @media screen and (min-width: 1024px) {
378
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__back-link {
379
+ margin-top: var(--stzh-space-xxlarge);
380
+ }
381
+ }
382
+ @media screen and (min-width: 1260px) {
383
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__back-link {
384
+ margin-top: var(--stzh-space-xxxlarge);
385
+ }
386
+ }
387
+ @media screen and (min-width: 1024px) {
388
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__back-link {
389
+ margin-bottom: var(--stzh-space-xxlarge);
390
+ }
391
+ }
392
+ @media screen and (min-width: 1260px) {
393
+ .stzh-pagetitle-hero--has-no-image .stzh-pagetitle-hero__back-link {
394
+ margin-bottom: var(--stzh-space-xxxlarge);
395
+ }
396
+ }
@@ -0,0 +1,157 @@
1
+ import { Host, h, } from "@stencil/core";
2
+ import { hasSlot, setPropsIfNull } from "../../utils/utils";
3
+ import { addMediaChangeListener, removeMediaChangeListener, media } from "../../utils/media-utils";
4
+ import Fitty from "fitty";
5
+ /**
6
+ * @slot image - Slot for `picture` or `img` element
7
+ * @slot lead - Slot for `stzh-text` element
8
+ * @slot back-link - Slot for `stzh-link` element
9
+ */
10
+ export class StzhPagetitleHero {
11
+ constructor() {
12
+ this.init = () => {
13
+ const backLink = this.element.querySelector('stzh-link[slot="back-link"], [slot="back-link"] stzh-link');
14
+ const leads = this.element.querySelectorAll('stzh-text[slot="lead"], [slot="lead"] stzh-text');
15
+ const tags = this.element.querySelectorAll('stzh-chip[slot="tag"], [slot="tag"] stzh-chip');
16
+ if (backLink) {
17
+ setPropsIfNull(backLink, {
18
+ icon: "arrow-left-circle"
19
+ });
20
+ }
21
+ leads.forEach((lead) => {
22
+ setPropsIfNull(lead, {
23
+ lead: true
24
+ });
25
+ });
26
+ tags.forEach((tag) => {
27
+ setPropsIfNull(tag, {
28
+ role: "listitem"
29
+ });
30
+ });
31
+ };
32
+ this.reinitFitty = () => {
33
+ this.destroyFitty();
34
+ const isSmall = media("small").matches;
35
+ this.fitty = Fitty(this.mainTitleElement, {
36
+ minSize: isSmall ? 48 : 32,
37
+ maxSize: isSmall ? 96 : 64
38
+ });
39
+ };
40
+ this.heading = "";
41
+ this.leadAuthor = "";
42
+ this.subtitle = "";
43
+ }
44
+ destroyFitty() {
45
+ if (this.fitty) {
46
+ this.fitty.unsubscribe();
47
+ this.fitty = null;
48
+ }
49
+ }
50
+ async componentWillUpdate() {
51
+ this.destroyFitty();
52
+ }
53
+ async componentDidRender() {
54
+ if (this.fitty) {
55
+ return;
56
+ }
57
+ this.reinitFitty();
58
+ }
59
+ connectedCallback() {
60
+ this.init();
61
+ addMediaChangeListener(this.reinitFitty);
62
+ this.observer = new MutationObserver(this.init);
63
+ this.observer.observe(this.element, {
64
+ childList: true,
65
+ subtree: true
66
+ });
67
+ }
68
+ disconnectedCallback() {
69
+ this.observer.disconnect();
70
+ removeMediaChangeListener(this.reinitFitty);
71
+ this.destroyFitty();
72
+ }
73
+ render() {
74
+ const imageSlotUsed = hasSlot(this.element, "image");
75
+ const leadSlotUsed = hasSlot(this.element, "lead");
76
+ const backLinkSlotUsed = hasSlot(this.element, "back-link");
77
+ const classes = {
78
+ "stzh-pagetitle-hero": true,
79
+ "stzh-pagetitle-hero--has-no-image": !imageSlotUsed,
80
+ "stzh-pagetitle-hero--has-no-lead": !leadSlotUsed,
81
+ "stzh-pagetitle-hero--has-back-link": backLinkSlotUsed,
82
+ };
83
+ 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 &&
84
+ 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)))));
85
+ }
86
+ static get is() { return "stzh-pagetitle-hero"; }
87
+ static get encapsulation() { return "scoped"; }
88
+ static get originalStyleUrls() {
89
+ return {
90
+ "$": ["stzh-pagetitle-hero.scss"]
91
+ };
92
+ }
93
+ static get styleUrls() {
94
+ return {
95
+ "$": ["stzh-pagetitle-hero.css"]
96
+ };
97
+ }
98
+ static get properties() {
99
+ return {
100
+ "heading": {
101
+ "type": "string",
102
+ "mutable": false,
103
+ "complexType": {
104
+ "original": "string",
105
+ "resolved": "string",
106
+ "references": {}
107
+ },
108
+ "required": false,
109
+ "optional": false,
110
+ "docs": {
111
+ "tags": [],
112
+ "text": "Heading"
113
+ },
114
+ "attribute": "heading",
115
+ "reflect": false,
116
+ "defaultValue": "\"\""
117
+ },
118
+ "leadAuthor": {
119
+ "type": "string",
120
+ "mutable": false,
121
+ "complexType": {
122
+ "original": "string",
123
+ "resolved": "string",
124
+ "references": {}
125
+ },
126
+ "required": false,
127
+ "optional": false,
128
+ "docs": {
129
+ "tags": [],
130
+ "text": "Lead author"
131
+ },
132
+ "attribute": "lead-author",
133
+ "reflect": false,
134
+ "defaultValue": "\"\""
135
+ },
136
+ "subtitle": {
137
+ "type": "string",
138
+ "mutable": false,
139
+ "complexType": {
140
+ "original": "string",
141
+ "resolved": "string",
142
+ "references": {}
143
+ },
144
+ "required": false,
145
+ "optional": false,
146
+ "docs": {
147
+ "tags": [],
148
+ "text": "Subtitle"
149
+ },
150
+ "attribute": "subtitle",
151
+ "reflect": false,
152
+ "defaultValue": "\"\""
153
+ }
154
+ };
155
+ }
156
+ static get elementRef() { return "element"; }
157
+ }
@@ -0,0 +1,94 @@
1
+ import { h } from '../../utils/h';
2
+ import readme from './readme.md';
3
+ import { withDesign } from 'storybook-addon-designs';
4
+ import { getFigmaLink } from '../../../figma';
5
+
6
+ export default {
7
+ title: 'Components/PagetitleHero',
8
+ component: 'stzh-pagetitle-hero',
9
+ parameters: {
10
+ layout: 'fullscreen',
11
+ docs: {
12
+ description: {
13
+ component: readme
14
+ }
15
+ },
16
+ design: {
17
+ type: 'figma',
18
+ url: getFigmaLink('pagetitle-hero'),
19
+ allowFullscreen: true
20
+ }
21
+ },
22
+ decorators: [
23
+ withDesign
24
+ ]
25
+ };
26
+
27
+ const TemplateWithPicture = (args) => (
28
+ <stzh-container>
29
+ <stzh-pagetitle-hero {...args}>
30
+ <picture slot="image">
31
+ <source srcset="media/images/example2.jpg?750x562, media/images/example2.jpg?1500x1124 2x" media="(min-width: 1024px)" />
32
+ <source srcset="media/images/example2.jpg?1025x576, media/images/example2.jpg?2050x1152 2x" media="(min-width: 600px)" />
33
+ <source srcset="media/images/example2.jpg?600x450, media/images/example2.jpg?1200x900 2x" />
34
+ <img loading="lazy" alt="Image description" src="media/images/example2.jpg?750x562" />
35
+ </picture>
36
+ </stzh-pagetitle-hero>
37
+ </stzh-container>
38
+ );
39
+
40
+ const TemplateWithPictureAndBack = (args) => (
41
+ <stzh-container>
42
+ <stzh-pagetitle-hero {...args}>
43
+ <picture slot="image">
44
+ <source srcset="media/images/example2.jpg?750x562, media/images/example2.jpg?1500x1124 2x" media="(min-width: 1024px)" />
45
+ <source srcset="media/images/example2.jpg?1025x576, media/images/example2.jpg?2050x1152 2x" media="(min-width: 600px)" />
46
+ <source srcset="media/images/example2.jpg?600x450, media/images/example2.jpg?1200x900 2x" />
47
+ <img loading="lazy" alt="Image description" src="media/images/example2.jpg?750x562" />
48
+ </picture>
49
+ <stzh-link slot="back-link" label="Zurück"></stzh-link>
50
+ <stzh-chip slot="tag" label="Filter" variant="filter" href="#"></stzh-chip>
51
+ <stzh-chip slot="tag" label="Filter 2" variant="filter" href="#"></stzh-chip>
52
+ <stzh-text slot="lead">
53
+ <p>Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim.</p>
54
+ </stzh-text>
55
+ </stzh-pagetitle-hero>
56
+ </stzh-container>
57
+ );
58
+
59
+ const TemplateWithBack = (args) => (
60
+ <stzh-container>
61
+ <stzh-pagetitle-hero {...args}>
62
+ <stzh-link slot="back-link" label="Zurück"></stzh-link>
63
+ <stzh-chip slot="tag" label="Filter" variant="filter" href="#"></stzh-chip>
64
+ <stzh-chip slot="tag" label="Filter Active" variant="filter" href="#" active></stzh-chip>
65
+ <stzh-text slot="lead">
66
+ <p>Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim.</p>
67
+ </stzh-text>
68
+ </stzh-pagetitle-hero>
69
+ </stzh-container>
70
+ );
71
+
72
+ export const WithPicture = TemplateWithPicture.bind({});
73
+ WithPicture.args = {
74
+ heading: 'klick',
75
+ subtitle: 'The OIZ magazine for digital Zurich'
76
+ };
77
+
78
+ export const WithPictureAndBack = TemplateWithPictureAndBack.bind({});
79
+ WithPictureAndBack.args = {
80
+ heading: 'Digitization skills: Like learning a language',
81
+ 'lead-author': 'from Jana Bütschi-Schuster and Martin Otzenberger'
82
+ };
83
+
84
+ export const WithBack = TemplateWithBack.bind({});
85
+ WithBack.args = {
86
+ heading: 'Digitization skills: Like learning a language',
87
+ 'lead-author': 'from Jana Bütschi-Schuster and Martin Otzenberger'
88
+ };
89
+
90
+ export const WithBackAndShortTitle = TemplateWithBack.bind({});
91
+ WithBackAndShortTitle.args = {
92
+ heading: 'Get it done!',
93
+ 'lead-author': 'from Jana Bütschi-Schuster and Martin Otzenberger'
94
+ };
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */