@oiz/stzh-components 2.1.0 → 2.2.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 (696) hide show
  1. package/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
  2. package/dist/cjs/{app-globals-dc82b9ca.js → app-globals-b6d82414.js} +1 -1
  3. package/dist/cjs/index.cjs.js +17 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion-item.cjs.entry.js +7 -3
  6. package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
  7. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  9. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  11. package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -6
  12. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-card_3.cjs.entry.js +504 -0
  14. package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
  15. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
  18. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-components.cjs.js +2 -2
  20. package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
  21. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
  23. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
  24. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-details.cjs.entry.js +155 -0
  26. package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
  27. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  31. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
  32. package/dist/cjs/stzh-header.cjs.entry.js +28 -14
  33. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  36. package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
  37. package/dist/cjs/stzh-link.cjs.entry.js +11 -4
  38. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  39. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
  41. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
  43. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-popover.cjs.entry.js +27 -9
  45. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
  49. package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
  50. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-textandimage.cjs.entry.js +35 -0
  52. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-tooltip.cjs.entry.js +37 -13
  54. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  55. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
  56. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
  57. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
  58. package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
  59. package/dist/collection/assets/i18n/de.json +15 -7
  60. package/dist/collection/assets/i18n/en.json +16 -8
  61. package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
  62. package/dist/collection/assets/icons/mono/construction.svg +2 -2
  63. package/dist/collection/assets/icons/mono/fountain.svg +3 -0
  64. package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
  65. package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
  66. package/dist/collection/assets/icons/mono/reload.svg +2 -9
  67. package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
  68. package/dist/collection/collection-manifest.json +6 -0
  69. package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
  70. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
  71. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -2
  72. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +7 -3
  73. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
  74. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  75. package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
  76. package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
  77. package/dist/collection/components/stzh-button/stzh-button.css +3 -2
  78. package/dist/collection/components/stzh-button/stzh-button.js +78 -3
  79. package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
  80. package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
  81. package/dist/collection/components/stzh-card/stzh-card.css +107 -22
  82. package/dist/collection/components/stzh-card/stzh-card.js +116 -6
  83. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
  84. package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
  85. package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
  86. package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
  87. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
  88. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
  89. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +7 -3
  90. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
  91. package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
  92. package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
  93. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
  94. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +33 -6
  95. package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
  96. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
  97. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
  98. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
  99. package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
  100. package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
  101. package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
  102. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
  103. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +261 -0
  104. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
  105. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
  106. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
  107. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
  108. package/dist/collection/components/stzh-details/stzh-details.css +119 -0
  109. package/dist/collection/components/stzh-details/stzh-details.js +316 -0
  110. package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
  111. package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
  112. package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
  113. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
  114. package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
  115. package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
  116. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
  117. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +33 -5
  118. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
  119. package/dist/collection/components/stzh-header/stzh-header.css +87 -4
  120. package/dist/collection/components/stzh-header/stzh-header.js +63 -13
  121. package/dist/collection/components/stzh-header/stzh-header.stories.js +21 -1
  122. package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
  123. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  124. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
  125. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  126. package/dist/collection/components/stzh-input/stzh-input.css +6 -5
  127. package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
  128. package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
  129. package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
  130. package/dist/collection/components/stzh-link/stzh-link.css +1 -0
  131. package/dist/collection/components/stzh-link/stzh-link.js +95 -2
  132. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
  133. package/dist/collection/components/stzh-message/stzh-message.css +1 -0
  134. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
  135. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
  136. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
  137. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
  138. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  139. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
  140. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
  141. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
  142. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  143. package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
  144. package/dist/collection/components/stzh-popover/stzh-popover.js +26 -8
  145. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
  146. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
  147. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -2
  148. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
  149. package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
  150. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
  151. package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
  152. package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
  153. package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
  154. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +203 -0
  155. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +98 -0
  156. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
  157. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -1
  158. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
  159. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +36 -12
  160. package/dist/collection/components/stzh-upload/stzh-upload.css +2 -1
  161. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +3 -2
  162. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
  163. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
  164. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
  165. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
  166. package/dist/collection/index.js +12 -0
  167. package/dist/collection/pages/egov.stories.js +18 -15
  168. package/dist/collection/pages/example.stories.js +1 -1
  169. package/dist/collection/pages/meinkonto.stories.js +3 -3
  170. package/dist/collection/patterns/appointments.stories.js +3 -3
  171. package/dist/collection/patterns/contact.stories.js +144 -0
  172. package/dist/collection/patterns/contactform.stories.js +125 -0
  173. package/dist/collection/patterns/subpages.stories.js +98 -0
  174. package/dist/collection/utils/animation-utils.js +3 -0
  175. package/dist/components/animation-utils.js +3 -0
  176. package/dist/components/index.d.ts +6 -0
  177. package/dist/components/index.js +8 -1
  178. package/dist/components/index2.js +17 -2017
  179. package/dist/components/index3.js +2017 -0
  180. package/dist/components/stzh-accordion-item.js +6 -2
  181. package/dist/components/stzh-accordion.js +3 -1
  182. package/dist/components/stzh-anchornav.js +2 -2
  183. package/dist/components/stzh-audio.js +2 -2
  184. package/dist/components/stzh-button2.js +15 -4
  185. package/dist/components/stzh-calendar2.js +1 -1
  186. package/dist/components/stzh-card-list.js +1 -114
  187. package/dist/components/stzh-card-list2.js +123 -0
  188. package/dist/components/stzh-card.js +1 -358
  189. package/dist/components/stzh-card2.js +380 -0
  190. package/dist/components/stzh-chart.js +3 -5
  191. package/dist/components/stzh-checkbox.js +1 -1
  192. package/dist/components/stzh-checkboxgroup.js +1 -1
  193. package/dist/components/stzh-chip-select.js +1 -157
  194. package/dist/components/stzh-chip-select2.js +186 -0
  195. package/dist/components/stzh-chip2.js +7 -5
  196. package/dist/components/stzh-clamp2.js +1 -1
  197. package/dist/components/stzh-contactaddress.js +74 -10
  198. package/dist/components/stzh-cspace.js +1 -1
  199. package/dist/components/stzh-datalist-item.d.ts +11 -0
  200. package/dist/components/stzh-datalist-item.js +6 -0
  201. package/dist/components/stzh-datalist-item2.js +128 -0
  202. package/dist/components/stzh-datalist.js +1 -96
  203. package/dist/components/stzh-datalist2.js +147 -0
  204. package/dist/components/stzh-datamessagelist-item.js +3 -2
  205. package/dist/components/stzh-details.d.ts +11 -0
  206. package/dist/components/stzh-details.js +173 -0
  207. package/dist/components/stzh-dialog.js +4 -4
  208. package/dist/components/stzh-dropdown2.js +1 -1
  209. package/dist/components/stzh-figure.js +1 -1
  210. package/dist/components/stzh-footer.js +1 -1
  211. package/dist/components/stzh-ghettobox2.js +7 -3
  212. package/dist/components/stzh-header.js +29 -13
  213. package/dist/components/stzh-heading2.js +1 -1
  214. package/dist/components/stzh-icon-sprite.js +1 -1
  215. package/dist/components/stzh-icon2.js +1 -1
  216. package/dist/components/stzh-input2.js +1 -1
  217. package/dist/components/stzh-langnav.d.ts +11 -0
  218. package/dist/components/stzh-langnav.js +73 -0
  219. package/dist/components/stzh-link2.js +15 -3
  220. package/dist/components/stzh-menu-item2.js +1 -1
  221. package/dist/components/stzh-message.js +1 -1
  222. package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
  223. package/dist/components/stzh-microsite-teaserlist.js +212 -0
  224. package/dist/components/stzh-olmap.js +1 -1
  225. package/dist/components/stzh-pagetitle-hero.js +2 -2
  226. package/dist/components/stzh-pagetitle.js +1 -1
  227. package/dist/components/stzh-popover2.js +26 -8
  228. package/dist/components/stzh-portal-mitwirken.js +1 -1
  229. package/dist/components/stzh-progressbar-item2.js +1 -1
  230. package/dist/components/stzh-radio2.js +1 -1
  231. package/dist/components/stzh-radiogroup2.js +1 -1
  232. package/dist/components/stzh-richtext2.js +1 -1
  233. package/dist/components/stzh-sitemap.d.ts +11 -0
  234. package/dist/components/stzh-sitemap.js +69 -0
  235. package/dist/components/stzh-sortable2.js +29 -10
  236. package/dist/components/stzh-textandimage.d.ts +11 -0
  237. package/dist/components/stzh-textandimage.js +53 -0
  238. package/dist/components/stzh-toggle.js +1 -1
  239. package/dist/components/stzh-tooltip2.js +36 -12
  240. package/dist/components/stzh-upload.js +1 -1
  241. package/dist/components/stzh-vbz-linechip2.js +2 -1
  242. package/dist/components/stzh-vbz-majorticker.js +25 -12
  243. package/dist/components/stzh-vbz-ticker.js +26 -37
  244. package/dist/components/utils.js +1 -1
  245. package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
  246. package/dist/esm/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
  247. package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
  248. package/dist/esm/index.js +16 -0
  249. package/dist/esm/loader.js +3 -3
  250. package/dist/esm/stzh-accordion-item.entry.js +8 -4
  251. package/dist/esm/stzh-accordion.entry.js +4 -2
  252. package/dist/esm/stzh-actions.entry.js +2 -2
  253. package/dist/esm/stzh-actionset.entry.js +1 -1
  254. package/dist/esm/stzh-anchornav.entry.js +3 -3
  255. package/dist/esm/stzh-appnav.entry.js +2 -2
  256. package/dist/esm/stzh-appointments.entry.js +1 -1
  257. package/dist/esm/stzh-audio.entry.js +4 -4
  258. package/dist/esm/stzh-badge_3.entry.js +14 -7
  259. package/dist/esm/stzh-calendar.entry.js +2 -2
  260. package/dist/esm/stzh-card_3.entry.js +498 -0
  261. package/dist/esm/stzh-cell.entry.js +1 -1
  262. package/dist/esm/stzh-chart.entry.js +3 -4
  263. package/dist/esm/stzh-checkbox.entry.js +4 -4
  264. package/dist/esm/stzh-checkboxgroup.entry.js +4 -4
  265. package/dist/esm/stzh-chip.entry.js +7 -6
  266. package/dist/esm/stzh-clamp.entry.js +2 -2
  267. package/dist/esm/stzh-components.js +3 -3
  268. package/dist/esm/stzh-contactaddress.entry.js +34 -8
  269. package/dist/esm/stzh-container.entry.js +1 -1
  270. package/dist/esm/stzh-cspace.entry.js +2 -2
  271. package/dist/esm/stzh-datalist_2.entry.js +175 -0
  272. package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
  273. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  274. package/dist/esm/stzh-datatable.entry.js +1 -1
  275. package/dist/esm/stzh-datepicker_3.entry.js +5 -5
  276. package/dist/esm/stzh-details.entry.js +151 -0
  277. package/dist/esm/stzh-dialog.entry.js +6 -6
  278. package/dist/esm/stzh-dropdown.entry.js +4 -4
  279. package/dist/esm/stzh-fieldset.entry.js +1 -1
  280. package/dist/esm/stzh-figure.entry.js +3 -3
  281. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  282. package/dist/esm/stzh-footer.entry.js +3 -3
  283. package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
  284. package/dist/esm/stzh-header.entry.js +29 -15
  285. package/dist/esm/stzh-heading.entry.js +2 -2
  286. package/dist/esm/stzh-hr.entry.js +1 -1
  287. package/dist/esm/stzh-hspace.entry.js +1 -1
  288. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  289. package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  290. package/dist/esm/stzh-input.entry.js +4 -4
  291. package/dist/esm/stzh-langnav.entry.js +33 -0
  292. package/dist/esm/stzh-link.entry.js +12 -5
  293. package/dist/esm/stzh-list-item.entry.js +1 -1
  294. package/dist/esm/stzh-list.entry.js +1 -1
  295. package/dist/esm/stzh-loader.entry.js +1 -1
  296. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  297. package/dist/esm/stzh-menu_2.entry.js +3 -3
  298. package/dist/esm/stzh-message.entry.js +2 -2
  299. package/dist/esm/stzh-metanav.entry.js +1 -1
  300. package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
  301. package/dist/esm/stzh-olmap.entry.js +2 -2
  302. package/dist/esm/stzh-overlay.entry.js +1 -1
  303. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  304. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  305. package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
  306. package/dist/esm/stzh-pagetitle.entry.js +3 -3
  307. package/dist/esm/stzh-popover.entry.js +28 -10
  308. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  309. package/dist/esm/stzh-progressbar-item.entry.js +2 -2
  310. package/dist/esm/stzh-progressbar.entry.js +1 -1
  311. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  312. package/dist/esm/stzh-row.entry.js +1 -1
  313. package/dist/esm/stzh-saptcha.entry.js +1 -1
  314. package/dist/esm/stzh-section.entry.js +1 -1
  315. package/dist/esm/stzh-share.entry.js +1 -1
  316. package/dist/esm/stzh-sitemap.entry.js +20 -0
  317. package/dist/esm/stzh-skiplink.entry.js +1 -1
  318. package/dist/esm/stzh-sortable.entry.js +31 -12
  319. package/dist/esm/stzh-status.entry.js +1 -1
  320. package/dist/esm/stzh-sticky.entry.js +1 -1
  321. package/dist/esm/stzh-table.entry.js +2 -2
  322. package/dist/esm/stzh-text.entry.js +1 -1
  323. package/dist/esm/stzh-textandimage.entry.js +31 -0
  324. package/dist/esm/stzh-toggle.entry.js +4 -4
  325. package/dist/esm/stzh-tooltip.entry.js +38 -14
  326. package/dist/esm/stzh-upload.entry.js +4 -4
  327. package/dist/esm/stzh-vbz-linechip.entry.js +3 -2
  328. package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
  329. package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
  330. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  331. package/dist/esm/stzh-vspace.entry.js +1 -1
  332. package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  333. package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
  334. package/dist/esm-es5/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
  335. package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
  336. package/dist/esm-es5/index.js +1 -0
  337. package/dist/esm-es5/loader.js +1 -1
  338. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  339. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  340. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  341. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  342. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  343. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  344. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  345. package/dist/esm-es5/stzh-audio.entry.js +2 -2
  346. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  347. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  348. package/dist/esm-es5/stzh-card_3.entry.js +1 -0
  349. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  350. package/dist/esm-es5/stzh-chart.entry.js +2 -2
  351. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  352. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  353. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  354. package/dist/esm-es5/stzh-clamp.entry.js +1 -1
  355. package/dist/esm-es5/stzh-components.js +1 -1
  356. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
  357. package/dist/esm-es5/stzh-container.entry.js +1 -1
  358. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  359. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
  360. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  361. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  362. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  363. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  364. package/dist/esm-es5/stzh-details.entry.js +1 -0
  365. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  366. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  367. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  368. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  369. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  370. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  371. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  372. package/dist/esm-es5/stzh-header.entry.js +1 -1
  373. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  374. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  375. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  376. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  377. package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  378. package/dist/esm-es5/stzh-input.entry.js +1 -1
  379. package/dist/esm-es5/stzh-langnav.entry.js +1 -0
  380. package/dist/esm-es5/stzh-link.entry.js +1 -1
  381. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  382. package/dist/esm-es5/stzh-list.entry.js +1 -1
  383. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  384. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  385. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  386. package/dist/esm-es5/stzh-message.entry.js +1 -1
  387. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  388. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
  389. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  390. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  391. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  392. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  393. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  394. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  395. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  396. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  397. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  398. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  399. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  400. package/dist/esm-es5/stzh-row.entry.js +1 -1
  401. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  402. package/dist/esm-es5/stzh-section.entry.js +1 -1
  403. package/dist/esm-es5/stzh-share.entry.js +1 -1
  404. package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
  405. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  406. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  407. package/dist/esm-es5/stzh-status.entry.js +1 -1
  408. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  409. package/dist/esm-es5/stzh-table.entry.js +1 -1
  410. package/dist/esm-es5/stzh-text.entry.js +1 -1
  411. package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
  412. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  413. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  414. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  415. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  416. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  417. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  418. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  419. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  420. package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  421. package/dist/stzh-components/assets/i18n/de.json +15 -7
  422. package/dist/stzh-components/assets/i18n/en.json +16 -8
  423. package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
  424. package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
  425. package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
  426. package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
  427. package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
  428. package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
  429. package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
  430. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
  431. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  432. package/dist/stzh-components/index.esm.js +1 -0
  433. package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
  434. package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
  435. package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
  436. package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
  437. package/dist/stzh-components/{p-3e504f50.entry.js → p-0743d7fa.entry.js} +1 -1
  438. package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
  439. package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
  440. package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
  441. package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
  442. package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-0cc8bbd7.system.entry.js} +2 -2
  443. package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
  444. package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
  445. package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
  446. package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
  447. package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
  448. package/dist/stzh-components/p-17645237.entry.js +1 -0
  449. package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
  450. package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
  451. package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
  452. package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
  453. package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-21cad060.system.entry.js} +1 -1
  454. package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
  455. package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-23829f75.system.entry.js} +1 -1
  456. package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
  457. package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
  458. package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
  459. package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
  460. package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
  461. package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
  462. package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
  463. package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
  464. package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
  465. package/dist/stzh-components/{p-881e526e.system.entry.js → p-3200f52a.system.entry.js} +1 -1
  466. package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
  467. package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
  468. package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
  469. package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
  470. package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
  471. package/dist/stzh-components/p-3ad67331.entry.js +1 -0
  472. package/dist/stzh-components/p-3e850dce.entry.js +1 -0
  473. package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
  474. package/dist/stzh-components/p-441ea784.entry.js +1 -0
  475. package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
  476. package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
  477. package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
  478. package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
  479. package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
  480. package/dist/stzh-components/p-4b369bac.entry.js +1 -0
  481. package/dist/stzh-components/p-5011f10c.js +1 -0
  482. package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
  483. package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
  484. package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
  485. package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
  486. package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
  487. package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
  488. package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
  489. package/dist/stzh-components/p-57a0f895.entry.js +1 -0
  490. package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
  491. package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
  492. package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
  493. package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
  494. package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
  495. package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
  496. package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
  497. package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
  498. package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
  499. package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
  500. package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
  501. package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
  502. package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
  503. package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
  504. package/dist/stzh-components/{p-38b9e5e9.entry.js → p-67c6f0f2.entry.js} +1 -1
  505. package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
  506. package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-6d009f56.system.entry.js} +1 -1
  507. package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
  508. package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
  509. package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
  510. package/dist/stzh-components/{p-229d4ad2.entry.js → p-76165227.entry.js} +1 -1
  511. package/dist/stzh-components/p-7704b10b.entry.js +1 -0
  512. package/dist/stzh-components/p-791bc813.system.js +1 -0
  513. package/dist/stzh-components/{p-71d757d3.js → p-7941cf38.js} +1 -1
  514. package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
  515. package/dist/stzh-components/p-7b86c022.entry.js +1 -0
  516. package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
  517. package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
  518. package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
  519. package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
  520. package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
  521. package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
  522. package/dist/stzh-components/p-853a1f92.entry.js +1 -0
  523. package/dist/stzh-components/p-86a29c35.js +1 -0
  524. package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
  525. package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
  526. package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
  527. package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
  528. package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
  529. package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
  530. package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
  531. package/dist/stzh-components/p-912706bb.entry.js +1 -0
  532. package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
  533. package/dist/stzh-components/p-92afa8df.entry.js +1 -0
  534. package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
  535. package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
  536. package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
  537. package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
  538. package/dist/stzh-components/p-996579d0.entry.js +1 -0
  539. package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
  540. package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
  541. package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
  542. package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
  543. package/dist/stzh-components/p-a16dc363.entry.js +1 -0
  544. package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
  545. package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
  546. package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
  547. package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
  548. package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
  549. package/dist/stzh-components/{p-c1100fde.entry.js → p-aae4655f.entry.js} +1 -1
  550. package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
  551. package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
  552. package/dist/stzh-components/{p-7c172e64.system.entry.js → p-afedafa6.system.entry.js} +1 -1
  553. package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
  554. package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
  555. package/dist/stzh-components/{p-3a279b45.entry.js → p-b3dc4913.entry.js} +1 -1
  556. package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
  557. package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
  558. package/dist/stzh-components/{p-909d7a3c.system.js → p-b937ae70.system.js} +1 -1
  559. package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
  560. package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
  561. package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
  562. package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
  563. package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
  564. package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
  565. package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
  566. package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
  567. package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
  568. package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
  569. package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
  570. package/dist/stzh-components/p-cff8376e.entry.js +1 -0
  571. package/dist/stzh-components/p-d240494d.entry.js +1 -0
  572. package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
  573. package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
  574. package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
  575. package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
  576. package/dist/stzh-components/p-d9bf09b1.system.entry.js +1 -0
  577. package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
  578. package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
  579. package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
  580. package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
  581. package/dist/stzh-components/{p-fade35c7.entry.js → p-e0f063ac.entry.js} +1 -1
  582. package/dist/stzh-components/p-e32bc982.system.js +1 -0
  583. package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
  584. package/dist/stzh-components/p-e76a3647.entry.js +1 -0
  585. package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
  586. package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
  587. package/dist/stzh-components/p-eaa65f52.system.js +1 -0
  588. package/dist/stzh-components/p-eade9f77.entry.js +1 -0
  589. package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
  590. package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
  591. package/dist/stzh-components/{p-d4b93488.entry.js → p-ec7b6ce8.entry.js} +2 -2
  592. package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
  593. package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
  594. package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
  595. package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
  596. package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
  597. package/dist/stzh-components/{p-a866b3a3.entry.js → p-f133eba2.entry.js} +1 -1
  598. package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
  599. package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
  600. package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
  601. package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
  602. package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
  603. package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
  604. package/dist/stzh-components/{p-b54ed1f9.entry.js → p-fee6a938.entry.js} +1 -1
  605. package/dist/stzh-components/stzh-components.esm.js +1 -1
  606. package/dist/stzh-components/stzh-components.js +1 -1
  607. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
  608. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
  609. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
  610. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
  611. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
  612. package/dist/types/components.d.ts +534 -29
  613. package/dist/types/index.d.ts +86 -2
  614. package/dist/vscode-data.json +291 -18
  615. package/package.json +1 -1
  616. package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
  617. package/dist/cjs/stzh-card.cjs.entry.js +0 -282
  618. package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
  619. package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
  620. package/dist/esm/stzh-card-list.entry.js +0 -72
  621. package/dist/esm/stzh-card.entry.js +0 -278
  622. package/dist/esm/stzh-chip-select.entry.js +0 -108
  623. package/dist/esm/stzh-datalist.entry.js +0 -58
  624. package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
  625. package/dist/esm-es5/stzh-card-list.entry.js +0 -1
  626. package/dist/esm-es5/stzh-card.entry.js +0 -1
  627. package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
  628. package/dist/esm-es5/stzh-datalist.entry.js +0 -1
  629. package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
  630. package/dist/stzh-components/p-0230004d.system.js +0 -1
  631. package/dist/stzh-components/p-025953d1.system.entry.js +0 -1
  632. package/dist/stzh-components/p-04dd6821.entry.js +0 -1
  633. package/dist/stzh-components/p-090bfb8e.system.entry.js +0 -1
  634. package/dist/stzh-components/p-105a11cb.entry.js +0 -1
  635. package/dist/stzh-components/p-140e4b63.entry.js +0 -1
  636. package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
  637. package/dist/stzh-components/p-17ae6581.entry.js +0 -1
  638. package/dist/stzh-components/p-1f57d28e.js +0 -1
  639. package/dist/stzh-components/p-20a6ffbb.entry.js +0 -1
  640. package/dist/stzh-components/p-238a8c83.system.entry.js +0 -1
  641. package/dist/stzh-components/p-25ef050a.entry.js +0 -1
  642. package/dist/stzh-components/p-293ceb5e.entry.js +0 -1
  643. package/dist/stzh-components/p-2a5855f8.js +0 -1
  644. package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
  645. package/dist/stzh-components/p-37bdb9cd.system.entry.js +0 -1
  646. package/dist/stzh-components/p-38977481.entry.js +0 -1
  647. package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
  648. package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
  649. package/dist/stzh-components/p-50ea2036.system.js +0 -1
  650. package/dist/stzh-components/p-51c75fba.system.entry.js +0 -1
  651. package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
  652. package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
  653. package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
  654. package/dist/stzh-components/p-5c311df3.entry.js +0 -1
  655. package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
  656. package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
  657. package/dist/stzh-components/p-67ade1c7.system.entry.js +0 -1
  658. package/dist/stzh-components/p-6830f839.entry.js +0 -1
  659. package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
  660. package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
  661. package/dist/stzh-components/p-783346ed.entry.js +0 -1
  662. package/dist/stzh-components/p-7909f56b.entry.js +0 -1
  663. package/dist/stzh-components/p-7a584d3f.system.entry.js +0 -1
  664. package/dist/stzh-components/p-7aef399f.entry.js +0 -1
  665. package/dist/stzh-components/p-7dec02ca.entry.js +0 -1
  666. package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
  667. package/dist/stzh-components/p-8d9056de.entry.js +0 -1
  668. package/dist/stzh-components/p-8f9de52f.system.entry.js +0 -1
  669. package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
  670. package/dist/stzh-components/p-92ad9720.system.entry.js +0 -1
  671. package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
  672. package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
  673. package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
  674. package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
  675. package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
  676. package/dist/stzh-components/p-ad119aca.entry.js +0 -1
  677. package/dist/stzh-components/p-b0e514c7.entry.js +0 -1
  678. package/dist/stzh-components/p-b3587b9d.system.entry.js +0 -1
  679. package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
  680. package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
  681. package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
  682. package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
  683. package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
  684. package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
  685. package/dist/stzh-components/p-c777032f.system.entry.js +0 -1
  686. package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
  687. package/dist/stzh-components/p-cbaab05e.entry.js +0 -1
  688. package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
  689. package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
  690. package/dist/stzh-components/p-d26ed018.entry.js +0 -1
  691. package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
  692. package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
  693. package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
  694. package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
  695. package/dist/stzh-components/p-f9039c23.entry.js +0 -1
  696. package/dist/stzh-components/p-ff2a6bdf.system.entry.js +0 -1
@@ -0,0 +1,136 @@
1
+ import { Host, h } from "@stencil/core";
2
+ /**
3
+ */
4
+ export class StzhLangnav {
5
+ constructor() {
6
+ this.handleChange = (event) => {
7
+ this.stzhChange.emit({
8
+ component: "stzh-langnav",
9
+ value: event.detail.value
10
+ });
11
+ if (!this.preventUrlchange) {
12
+ window.location.href = event.detail.value;
13
+ }
14
+ };
15
+ this.languageActive = undefined;
16
+ this.languages = undefined;
17
+ this.popoverPlacement = "bottom";
18
+ this.preventUrlchange = false;
19
+ }
20
+ render() {
21
+ const classes = {
22
+ "stzh-langnav": true
23
+ };
24
+ return (h(Host, null, h("div", { class: classes }, h("stzh-dropdown", { class: "stzh-langnav__dropdown", "no-search": true, icon: "world-globe", size: "small", variant: "plain", popoverPlacement: this.popoverPlacement, items: this.languageActive ? [this.languageActive] : null, options: this.languages, onStzhChange: this.handleChange }))));
25
+ }
26
+ static get is() { return "stzh-langnav"; }
27
+ static get encapsulation() { return "scoped"; }
28
+ static get originalStyleUrls() {
29
+ return {
30
+ "$": ["stzh-langnav.scss"]
31
+ };
32
+ }
33
+ static get styleUrls() {
34
+ return {
35
+ "$": ["stzh-langnav.css"]
36
+ };
37
+ }
38
+ static get properties() {
39
+ return {
40
+ "languageActive": {
41
+ "type": "string",
42
+ "mutable": false,
43
+ "complexType": {
44
+ "original": "string",
45
+ "resolved": "string",
46
+ "references": {}
47
+ },
48
+ "required": false,
49
+ "optional": false,
50
+ "docs": {
51
+ "tags": [],
52
+ "text": "Active language of langnav"
53
+ },
54
+ "attribute": "language-active",
55
+ "reflect": false
56
+ },
57
+ "languages": {
58
+ "type": "string",
59
+ "mutable": false,
60
+ "complexType": {
61
+ "original": "any[] | string",
62
+ "resolved": "any[] | string",
63
+ "references": {}
64
+ },
65
+ "required": false,
66
+ "optional": false,
67
+ "docs": {
68
+ "tags": [],
69
+ "text": "Available language in langnav"
70
+ },
71
+ "attribute": "languages",
72
+ "reflect": false
73
+ },
74
+ "popoverPlacement": {
75
+ "type": "string",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "\"bottom\" | \"top\"",
79
+ "resolved": "\"bottom\" | \"top\"",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": "Popover placement"
87
+ },
88
+ "attribute": "popover-placement",
89
+ "reflect": true,
90
+ "defaultValue": "\"bottom\""
91
+ },
92
+ "preventUrlchange": {
93
+ "type": "boolean",
94
+ "mutable": false,
95
+ "complexType": {
96
+ "original": "boolean",
97
+ "resolved": "boolean",
98
+ "references": {}
99
+ },
100
+ "required": false,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": "Whether to prevent the default behaviour of changing the `location.href`"
105
+ },
106
+ "attribute": "prevent-urlchange",
107
+ "reflect": false,
108
+ "defaultValue": "false"
109
+ }
110
+ };
111
+ }
112
+ static get events() {
113
+ return [{
114
+ "method": "stzhChange",
115
+ "name": "stzhChange",
116
+ "bubbles": true,
117
+ "cancelable": true,
118
+ "composed": true,
119
+ "docs": {
120
+ "tags": [],
121
+ "text": "Langnav change event"
122
+ },
123
+ "complexType": {
124
+ "original": "StzhLangnavChangeEvent",
125
+ "resolved": "{ component: \"stzh-langnav\"; value: string; }",
126
+ "references": {
127
+ "StzhLangnavChangeEvent": {
128
+ "location": "import",
129
+ "path": "../../index"
130
+ }
131
+ }
132
+ }
133
+ }];
134
+ }
135
+ static get elementRef() { return "element"; }
136
+ }
@@ -0,0 +1,42 @@
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/Langnav',
8
+ component: 'stzh-langnav',
9
+ parameters: {
10
+ actions: {
11
+ handles: ['stzhChange']
12
+ },
13
+ docs: {
14
+ description: {
15
+ component: readme
16
+ }
17
+ },
18
+ design: {
19
+ type: 'figma',
20
+ url: getFigmaLink('langnav'),
21
+ allowFullscreen: true
22
+ }
23
+ },
24
+ decorators: [
25
+ withDesign
26
+ ]
27
+ };
28
+
29
+ const languages = `[
30
+ { "text": "Deutsch", "value": "/de" },
31
+ { "text": "English", "value": "/en" }
32
+ ]`;
33
+
34
+ const Template = (args) => (
35
+ <stzh-langnav {...args}></stzh-langnav>
36
+ );
37
+
38
+ export const Default = Template.bind({});
39
+ Default.args = {
40
+ 'language-active': '/en',
41
+ languages
42
+ };
@@ -139,6 +139,7 @@
139
139
  font-size: var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));
140
140
  line-height: var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));
141
141
  letter-spacing: var(--stzh-font-curve-p1-default-text-letter-spacing);
142
+ font-family: inherit;
142
143
  position: relative;
143
144
  display: flex;
144
145
  align-items: center;
@@ -34,6 +34,7 @@ export class StzhLink {
34
34
  this.iconPosition = "left";
35
35
  this.size = "default";
36
36
  this.href = "";
37
+ this.rel = undefined;
37
38
  this.target = "";
38
39
  this.download = undefined;
39
40
  this.type = "button";
@@ -49,6 +50,10 @@ export class StzhLink {
49
50
  this.iconOnly = false;
50
51
  this.label = "";
51
52
  this.linkAccesskey = undefined;
53
+ this.a11yLabel = undefined;
54
+ this.a11yDescribedby = "";
55
+ this.a11yExpanded = undefined;
56
+ this.a11yControls = undefined;
52
57
  }
53
58
  /** Focus link */
54
59
  async setFocus() {
@@ -84,9 +89,11 @@ export class StzhLink {
84
89
  [`stzh-link--${this.variant}`]: !!this.variant,
85
90
  };
86
91
  return (h(Host, null, this.href ?
87
- h("a", { ref: (el) => (this.link = el), href: this.disabled ? null : this.href, download: this.download, target: this.target, class: classes, accessKey: this.linkAccesskey, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner(iconUsed))
92
+ h("a", { ref: (el) => (this.link = el), href: this.disabled ? null : this.href, download: this.download, rel: this.rel, target: this.target, class: classes, accessKey: this.linkAccesskey, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
93
+ ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner(iconUsed))
88
94
  :
89
- h("button", { ref: (el) => (this.link = el), class: classes, type: this.type, disabled: this.disabled, accessKey: this.linkAccesskey, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner(iconUsed))));
95
+ h("button", { ref: (el) => (this.link = el), class: classes, type: this.type, disabled: this.disabled, accessKey: this.linkAccesskey, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
96
+ ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner(iconUsed))));
90
97
  }
91
98
  static get is() { return "stzh-link"; }
92
99
  static get encapsulation() { return "scoped"; }
@@ -174,6 +181,23 @@ export class StzhLink {
174
181
  "reflect": false,
175
182
  "defaultValue": "\"\""
176
183
  },
184
+ "rel": {
185
+ "type": "string",
186
+ "mutable": false,
187
+ "complexType": {
188
+ "original": "string",
189
+ "resolved": "string",
190
+ "references": {}
191
+ },
192
+ "required": false,
193
+ "optional": false,
194
+ "docs": {
195
+ "tags": [],
196
+ "text": "Rel (if href is used)"
197
+ },
198
+ "attribute": "rel",
199
+ "reflect": false
200
+ },
177
201
  "target": {
178
202
  "type": "string",
179
203
  "mutable": false,
@@ -441,6 +465,75 @@ export class StzhLink {
441
465
  },
442
466
  "attribute": "link-accesskey",
443
467
  "reflect": false
468
+ },
469
+ "a11yLabel": {
470
+ "type": "string",
471
+ "mutable": false,
472
+ "complexType": {
473
+ "original": "string",
474
+ "resolved": "string",
475
+ "references": {}
476
+ },
477
+ "required": false,
478
+ "optional": false,
479
+ "docs": {
480
+ "tags": [],
481
+ "text": "Accessible label for screen readers to replace visible text"
482
+ },
483
+ "attribute": "a11y-label",
484
+ "reflect": false
485
+ },
486
+ "a11yDescribedby": {
487
+ "type": "string",
488
+ "mutable": false,
489
+ "complexType": {
490
+ "original": "string",
491
+ "resolved": "string",
492
+ "references": {}
493
+ },
494
+ "required": false,
495
+ "optional": false,
496
+ "docs": {
497
+ "tags": [],
498
+ "text": "Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup)"
499
+ },
500
+ "attribute": "a11y-describedby",
501
+ "reflect": false,
502
+ "defaultValue": "\"\""
503
+ },
504
+ "a11yExpanded": {
505
+ "type": "boolean",
506
+ "mutable": false,
507
+ "complexType": {
508
+ "original": "boolean",
509
+ "resolved": "boolean",
510
+ "references": {}
511
+ },
512
+ "required": false,
513
+ "optional": false,
514
+ "docs": {
515
+ "tags": [],
516
+ "text": "Aria expanded of link/button"
517
+ },
518
+ "attribute": "a11y-expanded",
519
+ "reflect": true
520
+ },
521
+ "a11yControls": {
522
+ "type": "string",
523
+ "mutable": false,
524
+ "complexType": {
525
+ "original": "string",
526
+ "resolved": "string",
527
+ "references": {}
528
+ },
529
+ "required": false,
530
+ "optional": false,
531
+ "docs": {
532
+ "tags": [],
533
+ "text": "Aria controls of link/button"
534
+ },
535
+ "attribute": "a11y-controls",
536
+ "reflect": false
444
537
  }
445
538
  };
446
539
  }
@@ -125,6 +125,7 @@
125
125
  .stzh-menu-item {
126
126
  font-size: var(--stzh-font-micro-font-size);
127
127
  line-height: var(--stzh-font-micro-text-line-height);
128
+ font-family: inherit;
128
129
  display: flex;
129
130
  align-items: center;
130
131
  justify-content: stretch;
@@ -227,6 +227,7 @@
227
227
  -webkit-appearance: none;
228
228
  -moz-appearance: none;
229
229
  appearance: none;
230
+ font-family: inherit;
230
231
  border: none;
231
232
  background: none;
232
233
  padding: var(--stzh-space-xsmall);
@@ -0,0 +1,125 @@
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
+ .stzh-microsite-teaserlist__filter {
101
+ margin-bottom: var(--stzh-space-xlarge);
102
+ }
103
+ @media screen and (min-width: 1024px) {
104
+ .stzh-microsite-teaserlist__filter {
105
+ margin-bottom: var(--stzh-space-xxlarge);
106
+ }
107
+ }
108
+ @media screen and (min-width: 1260px) {
109
+ .stzh-microsite-teaserlist__filter {
110
+ margin-bottom: var(--stzh-space-xxxlarge);
111
+ }
112
+ }
113
+ .stzh-microsite-teaserlist__show-more {
114
+ margin-top: var(--stzh-space-xlarge);
115
+ }
116
+ @media screen and (min-width: 1024px) {
117
+ .stzh-microsite-teaserlist__show-more {
118
+ margin-top: var(--stzh-space-xxlarge);
119
+ }
120
+ }
121
+ @media screen and (min-width: 1260px) {
122
+ .stzh-microsite-teaserlist__show-more {
123
+ margin-top: var(--stzh-space-xxxlarge);
124
+ }
125
+ }
@@ -0,0 +1,198 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import axios from 'axios';
3
+ import { fetchTranslations } from "../../utils/translation-utils";
4
+ /**
5
+ * @see https://www.stadt-zuerich.ch/site/fuer-zueri/de/index.html
6
+ * @see https://www.stadt-zuerich.ch/site/iazh/de/index.html
7
+ */
8
+ export class StzhMicrositeTeaserlist {
9
+ constructor() {
10
+ this._tags = [];
11
+ this._tagChips = [];
12
+ this.items = [];
13
+ this.filteredItems = [];
14
+ this.filteredSlicedItems = [];
15
+ this.handleChange = (event) => {
16
+ this.showItems = this.stepItems;
17
+ this.activeFilter = event.detail.value;
18
+ };
19
+ this.handleMoreClick = () => {
20
+ this.showItems += this.stepItems;
21
+ };
22
+ this.localization = undefined;
23
+ this.api = undefined;
24
+ this.tags = [];
25
+ this.stepItems = 6;
26
+ this.showItems = undefined;
27
+ this.activeFilter = "";
28
+ }
29
+ async filterHandler() {
30
+ this.filteredItems = this.items
31
+ .filter((item) => {
32
+ // return (this.activeFilter[0] !== "") ? item.tags.some(tag => this.activeFilters.indexOf(tag) > -1) : true;
33
+ return (this.activeFilter !== "") ? item.tags.some(tag => this.activeFilter === tag) : true;
34
+ });
35
+ this.filteredSlicedItems = this.filteredItems
36
+ .slice(0, this.showItems);
37
+ }
38
+ async tagsWatcher(newValue) {
39
+ if (typeof newValue === "string") {
40
+ this._tags = JSON.parse(newValue);
41
+ }
42
+ else {
43
+ this._tags = newValue;
44
+ }
45
+ this._tagChips = this._tags.map((tag) => ({
46
+ "label": tag.name,
47
+ "value": tag.id,
48
+ "variant": "filter",
49
+ "type": "secondary",
50
+ "counter": ((tag.id)
51
+ ? this.items.filter(item => item.tags.indexOf(tag.id) > -1).length
52
+ : this.items.length).toString()
53
+ }));
54
+ }
55
+ async apiWatcher(newValue) {
56
+ if (!newValue) {
57
+ return;
58
+ }
59
+ let apiUrl = this.api.replace(/\{lang\}/, this.localization.$locale);
60
+ // load data from API
61
+ const { data } = await axios.get(apiUrl);
62
+ this.items = data.items;
63
+ this.showItems = this.stepItems;
64
+ this.tagsWatcher(this.tags);
65
+ }
66
+ async componentWillLoad() {
67
+ if (!this.localization) {
68
+ this.localization = await fetchTranslations(this.element, "microsite-teaserlist");
69
+ }
70
+ await this.apiWatcher(this.api);
71
+ }
72
+ render() {
73
+ const classes = {
74
+ "stzh-microsite-teaserlist": true,
75
+ };
76
+ return (h(Host, null, h("div", { class: classes }, h("stzh-chip-select", { class: "stzh-microsite-teaserlist__filter", label: this.localization.tagsLabel, data: this._tagChips, onStzhChange: this.handleChange }), h("stzh-card-list", { layout: "subpages" }, this.filteredSlicedItems.map((item) => h("stzh-card", { href: item.link, hideHeaderBorder: true, hideFooterBorder: true, withArrow: true }, item.image &&
77
+ h("img", { slot: "image", src: item.image }), item.title &&
78
+ h("stzh-clamp", { slot: "heading", lines: 2 }, item.title), item.description &&
79
+ h("stzh-clamp", { slot: "content", lines: 3 }, item.description)))), this.showItems < this.filteredItems.length &&
80
+ h("div", { class: "stzh-microsite-teaserlist__show-more" }, h("stzh-button", { variant: "secondary", label: this.localization.showMore, onClick: this.handleMoreClick })))));
81
+ }
82
+ static get is() { return "stzh-microsite-teaserlist"; }
83
+ static get encapsulation() { return "scoped"; }
84
+ static get originalStyleUrls() {
85
+ return {
86
+ "$": ["stzh-microsite-teaserlist.scss"]
87
+ };
88
+ }
89
+ static get styleUrls() {
90
+ return {
91
+ "$": ["stzh-microsite-teaserlist.css"]
92
+ };
93
+ }
94
+ static get properties() {
95
+ return {
96
+ "localization": {
97
+ "type": "unknown",
98
+ "mutable": false,
99
+ "complexType": {
100
+ "original": "StzhMicrositeTeaserlistLocalizedText",
101
+ "resolved": "StzhLocaleComponent & { tagsLabel: string; showMore: string; }",
102
+ "references": {
103
+ "StzhMicrositeTeaserlistLocalizedText": {
104
+ "location": "import",
105
+ "path": "./stzh-microsite-teaserlist.localization"
106
+ }
107
+ }
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": "Translation strings"
114
+ }
115
+ },
116
+ "api": {
117
+ "type": "string",
118
+ "mutable": false,
119
+ "complexType": {
120
+ "original": "string",
121
+ "resolved": "string",
122
+ "references": {}
123
+ },
124
+ "required": false,
125
+ "optional": false,
126
+ "docs": {
127
+ "tags": [],
128
+ "text": "API URL (`{lang}` is replaced in the URL)"
129
+ },
130
+ "attribute": "api",
131
+ "reflect": false
132
+ },
133
+ "tags": {
134
+ "type": "string",
135
+ "mutable": false,
136
+ "complexType": {
137
+ "original": "string | StzhMicrositeTeaserlistTag[]",
138
+ "resolved": "StzhMicrositeTeaserlistTag[] | string",
139
+ "references": {
140
+ "StzhMicrositeTeaserlistTag": {
141
+ "location": "import",
142
+ "path": "../../index"
143
+ }
144
+ }
145
+ },
146
+ "required": false,
147
+ "optional": false,
148
+ "docs": {
149
+ "tags": [],
150
+ "text": "Tags"
151
+ },
152
+ "attribute": "tags",
153
+ "reflect": false,
154
+ "defaultValue": "[]"
155
+ },
156
+ "stepItems": {
157
+ "type": "number",
158
+ "mutable": false,
159
+ "complexType": {
160
+ "original": "number",
161
+ "resolved": "number",
162
+ "references": {}
163
+ },
164
+ "required": false,
165
+ "optional": false,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": "Numbers of item shown with each load more action"
169
+ },
170
+ "attribute": "step-items",
171
+ "reflect": false,
172
+ "defaultValue": "6"
173
+ }
174
+ };
175
+ }
176
+ static get states() {
177
+ return {
178
+ "showItems": {},
179
+ "activeFilter": {}
180
+ };
181
+ }
182
+ static get elementRef() { return "element"; }
183
+ static get watchers() {
184
+ return [{
185
+ "propName": "showItems",
186
+ "methodName": "filterHandler"
187
+ }, {
188
+ "propName": "activeFilter",
189
+ "methodName": "filterHandler"
190
+ }, {
191
+ "propName": "tags",
192
+ "methodName": "tagsWatcher"
193
+ }, {
194
+ "propName": "api",
195
+ "methodName": "apiWatcher"
196
+ }];
197
+ }
198
+ }