@oiz/stzh-components 2.1.0-beta → 2.2.0-beta

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 (746) hide show
  1. package/dist/cjs/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
  2. package/dist/cjs/{app-globals-07890ee7.js → app-globals-f4ad4e99.js} +1 -1
  3. package/dist/cjs/index.cjs.js +17 -0
  4. package/dist/cjs/{js.cookie-9c263d23.js → js.cookie-226c94ed.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion-item.cjs.entry.js +4 -3
  7. package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
  8. package/dist/cjs/stzh-actions.cjs.entry.js +3 -3
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  10. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -5
  14. package/dist/cjs/stzh-card_3.cjs.entry.js +474 -0
  15. package/dist/cjs/stzh-chart.cjs.entry.js +26126 -0
  16. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-chip.cjs.entry.js +13 -6
  19. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-components.cjs.js +2 -2
  21. package/dist/cjs/stzh-contactaddress.cjs.entry.js +91 -0
  22. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
  24. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-details.cjs.entry.js +152 -0
  28. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-dropdown.cjs.entry.js +3 -3
  30. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  31. package/dist/cjs/stzh-footer.cjs.entry.js +12 -6
  32. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +10 -7
  33. package/dist/cjs/stzh-header.cjs.entry.js +28 -14
  34. package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
  35. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  37. package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
  38. package/dist/cjs/stzh-link.cjs.entry.js +11 -3
  39. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
  42. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-pagebottom.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
  45. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  46. package/dist/cjs/stzh-popover.cjs.entry.js +9 -5
  47. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-share.cjs.entry.js +5 -5
  50. package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
  51. package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
  52. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-textandimage.cjs.entry.js +33 -0
  54. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  55. package/dist/cjs/stzh-tooltip.cjs.entry.js +11 -8
  56. package/dist/cjs/stzh-upload.cjs.entry.js +8 -10
  57. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
  59. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
  60. package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
  61. package/dist/collection/assets/i18n/de.json +6 -1
  62. package/dist/collection/assets/i18n/en.json +6 -1
  63. package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
  64. package/dist/collection/assets/icons/mono/construction.svg +2 -2
  65. package/dist/collection/assets/icons/mono/facebook-filled.svg +3 -0
  66. package/dist/collection/assets/icons/mono/fountain.svg +3 -0
  67. package/dist/collection/assets/icons/mono/linkedin-filled.svg +12 -0
  68. package/dist/collection/assets/icons/mono/mail-filled.svg +6 -0
  69. package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
  70. package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
  71. package/dist/collection/assets/icons/mono/reload.svg +2 -9
  72. package/dist/collection/assets/icons/mono/star-filled.svg +1 -1
  73. package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -0
  74. package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
  75. package/dist/collection/assets/icons/mono/xing-filled.svg +4 -0
  76. package/dist/collection/assets/media/olmap/marker-active.png +0 -0
  77. package/dist/collection/assets/media/olmap/marker.png +0 -0
  78. package/dist/collection/collection-manifest.json +9 -0
  79. package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
  80. package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
  81. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +53 -5
  82. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +5 -4
  83. package/dist/collection/components/stzh-actions/stzh-actions.css +7 -1
  84. package/dist/collection/components/stzh-actions/stzh-actions.js +3 -3
  85. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
  86. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +8 -3
  87. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  88. package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
  89. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
  90. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  91. package/dist/collection/components/stzh-audio/stzh-audio.css +4 -1
  92. package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
  93. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
  94. package/dist/collection/components/stzh-button/stzh-button.css +5 -2
  95. package/dist/collection/components/stzh-button/stzh-button.js +96 -3
  96. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
  97. package/dist/collection/components/stzh-card/stzh-card.css +74 -22
  98. package/dist/collection/components/stzh-card/stzh-card.js +90 -2
  99. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
  100. package/dist/collection/components/stzh-card-list/stzh-card-list.css +58 -14
  101. package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
  102. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
  103. package/dist/collection/components/stzh-chart/stzh-chart.css +785 -0
  104. package/dist/collection/components/stzh-chart/stzh-chart.js +91 -0
  105. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +288 -0
  106. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +9 -3
  107. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
  108. package/dist/collection/components/stzh-chip/stzh-chip.css +4 -21
  109. package/dist/collection/components/stzh-chip/stzh-chip.js +49 -24
  110. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +0 -9
  111. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
  112. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +2 -2
  113. package/dist/collection/components/stzh-clamp/stzh-clamp.css +8 -0
  114. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +232 -0
  115. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +388 -0
  116. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +150 -0
  117. package/dist/collection/components/stzh-container/stzh-container.css +3 -0
  118. package/dist/collection/components/stzh-cspace/stzh-cspace.css +52 -1
  119. package/dist/collection/components/stzh-datalist/stzh-datalist.css +31 -516
  120. package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
  121. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
  122. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +260 -0
  123. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
  124. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
  125. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +13 -2
  126. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
  127. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  128. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
  129. package/dist/collection/components/stzh-details/stzh-details.css +119 -0
  130. package/dist/collection/components/stzh-details/stzh-details.js +313 -0
  131. package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
  132. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
  133. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
  134. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
  135. package/dist/collection/components/stzh-figure/stzh-figure.css +4 -4
  136. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
  137. package/dist/collection/components/stzh-footer/stzh-footer.css +54 -0
  138. package/dist/collection/components/stzh-footer/stzh-footer.js +44 -16
  139. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +23 -1
  140. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +42 -15
  141. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
  142. package/dist/collection/components/stzh-header/stzh-header.css +90 -4
  143. package/dist/collection/components/stzh-header/stzh-header.js +63 -13
  144. package/dist/collection/components/stzh-header/stzh-header.stories.js +20 -0
  145. package/dist/collection/components/stzh-heading/stzh-heading.css +12 -6
  146. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  147. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
  148. package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
  149. package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
  150. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +166 -36
  151. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  152. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +3 -0
  153. package/dist/collection/components/stzh-input/stzh-input.css +8 -5
  154. package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
  155. package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
  156. package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
  157. package/dist/collection/components/stzh-link/stzh-link.css +3 -0
  158. package/dist/collection/components/stzh-link/stzh-link.js +113 -2
  159. package/dist/collection/components/stzh-list/stzh-list.css +3 -0
  160. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
  161. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
  162. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
  163. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
  164. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
  165. package/dist/collection/components/stzh-message/stzh-message.css +3 -0
  166. package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
  167. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
  168. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
  169. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
  170. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
  171. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
  172. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
  173. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
  174. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +7 -4
  175. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +1 -1
  176. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +17 -5
  177. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
  178. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +396 -0
  179. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +157 -0
  180. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +94 -0
  181. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
  182. package/dist/collection/components/stzh-popover/stzh-popover.js +9 -5
  183. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +10 -3
  184. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
  185. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
  186. package/dist/collection/components/stzh-radio/stzh-radio.css +5 -2
  187. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
  188. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
  189. package/dist/collection/components/stzh-richtext/stzh-richtext.css +5 -0
  190. package/dist/collection/components/stzh-row/stzh-row.css +3 -0
  191. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
  192. package/dist/collection/components/stzh-section/stzh-section.css +3 -0
  193. package/dist/collection/components/stzh-share/stzh-share.css +3 -0
  194. package/dist/collection/components/stzh-share/stzh-share.js +5 -5
  195. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
  196. package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
  197. package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
  198. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
  199. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
  200. package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
  201. package/dist/collection/components/stzh-status/stzh-status.css +3 -0
  202. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
  203. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +1 -1
  204. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  205. package/dist/collection/components/stzh-text/stzh-text.css +3 -0
  206. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +167 -0
  207. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +78 -0
  208. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
  209. package/dist/collection/components/stzh-toggle/stzh-toggle.css +5 -1
  210. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
  211. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -8
  212. package/dist/collection/components/stzh-upload/stzh-upload.css +25 -16
  213. package/dist/collection/components/stzh-upload/stzh-upload.js +5 -7
  214. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
  215. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
  216. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +5 -1
  217. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
  218. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +4 -16
  219. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
  220. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
  221. package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
  222. package/dist/collection/index.js +12 -0
  223. package/dist/collection/pages/egov.stories.js +9 -6
  224. package/dist/collection/patterns/appointments.stories.js +3 -3
  225. package/dist/collection/patterns/contact.stories.js +118 -0
  226. package/dist/collection/patterns/contactform.stories.js +125 -0
  227. package/dist/collection/patterns/subpages.stories.js +98 -0
  228. package/dist/components/_commonjsHelpers.js +16 -1
  229. package/dist/components/index.d.ts +9 -0
  230. package/dist/components/index.js +11 -1
  231. package/dist/components/index2.js +17 -2017
  232. package/dist/components/index3.js +2017 -0
  233. package/dist/components/stzh-accordion-item.js +4 -3
  234. package/dist/components/stzh-accordion.js +3 -1
  235. package/dist/components/stzh-actions.js +2 -2
  236. package/dist/components/stzh-anchornav.js +2 -2
  237. package/dist/components/stzh-appointments.js +1 -1
  238. package/dist/components/stzh-audio.js +2 -2
  239. package/dist/components/stzh-button2.js +17 -4
  240. package/dist/components/stzh-card-list.js +1 -114
  241. package/dist/components/stzh-card-list2.js +123 -0
  242. package/dist/components/stzh-card.js +1 -358
  243. package/dist/components/stzh-card2.js +376 -0
  244. package/dist/components/stzh-chart.d.ts +11 -0
  245. package/dist/components/stzh-chart.js +26142 -0
  246. package/dist/components/stzh-checkbox.js +1 -1
  247. package/dist/components/stzh-chip-select.js +1 -157
  248. package/dist/{esm/stzh-chip-select.entry.js → components/stzh-chip-select2.js} +61 -10
  249. package/dist/components/stzh-chip2.js +16 -8
  250. package/dist/components/stzh-clamp2.js +1 -1
  251. package/dist/components/stzh-contactaddress.d.ts +11 -0
  252. package/dist/components/stzh-contactaddress.js +157 -0
  253. package/dist/components/stzh-cspace.js +1 -1
  254. package/dist/components/stzh-datalist-item.d.ts +11 -0
  255. package/dist/components/stzh-datalist-item.js +6 -0
  256. package/dist/components/stzh-datalist-item2.js +128 -0
  257. package/dist/components/stzh-datalist.js +1 -96
  258. package/dist/components/stzh-datalist2.js +147 -0
  259. package/dist/components/stzh-datamessagelist.js +1 -1
  260. package/dist/components/stzh-details.d.ts +11 -0
  261. package/dist/components/stzh-details.js +170 -0
  262. package/dist/components/stzh-dropdown2.js +1 -1
  263. package/dist/components/stzh-figure.js +1 -1
  264. package/dist/components/stzh-footer.js +13 -6
  265. package/dist/components/stzh-ghettobox2.js +7 -3
  266. package/dist/components/stzh-header.js +29 -13
  267. package/dist/components/stzh-heading2.js +2 -2
  268. package/dist/components/stzh-icon-sprite.js +1 -1
  269. package/dist/components/stzh-input2.js +1 -1
  270. package/dist/components/stzh-langnav.d.ts +11 -0
  271. package/dist/components/stzh-langnav.js +73 -0
  272. package/dist/components/stzh-link2.js +16 -2
  273. package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
  274. package/dist/components/stzh-microsite-teaserlist.js +212 -0
  275. package/dist/components/stzh-pagebottom.js +2 -2
  276. package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
  277. package/dist/components/stzh-pagetitle-hero.js +116 -0
  278. package/dist/components/stzh-pagetitle.js +1 -1
  279. package/dist/components/stzh-popover2.js +9 -5
  280. package/dist/components/stzh-portal-mitwirken.js +1 -1
  281. package/dist/components/stzh-radio2.js +1 -1
  282. package/dist/components/stzh-richtext2.js +1 -1
  283. package/dist/components/stzh-share2.js +5 -5
  284. package/dist/components/stzh-sitemap.d.ts +11 -0
  285. package/dist/components/stzh-sitemap.js +69 -0
  286. package/dist/components/stzh-sortable2.js +29 -10
  287. package/dist/components/stzh-textandimage.d.ts +11 -0
  288. package/dist/components/stzh-textandimage.js +50 -0
  289. package/dist/components/stzh-toggle.js +1 -1
  290. package/dist/components/stzh-tooltip2.js +11 -8
  291. package/dist/components/stzh-upload.js +7 -9
  292. package/dist/components/stzh-vbz-majorticker.js +25 -12
  293. package/dist/components/stzh-vbz-ticker.js +26 -37
  294. package/dist/components/utils.js +1 -1
  295. package/dist/esm/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
  296. package/dist/esm/{app-globals-acc57d0e.js → app-globals-17c2ba8d.js} +1 -1
  297. package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
  298. package/dist/esm/index.js +16 -0
  299. package/dist/esm/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  300. package/dist/esm/loader.js +3 -3
  301. package/dist/esm/stzh-accordion-item.entry.js +5 -4
  302. package/dist/esm/stzh-accordion.entry.js +4 -2
  303. package/dist/esm/stzh-actions.entry.js +4 -4
  304. package/dist/esm/stzh-actionset.entry.js +1 -1
  305. package/dist/esm/stzh-anchornav.entry.js +3 -3
  306. package/dist/esm/stzh-appnav.entry.js +2 -2
  307. package/dist/esm/stzh-appointments.entry.js +2 -2
  308. package/dist/esm/stzh-audio.entry.js +4 -4
  309. package/dist/esm/stzh-badge_3.entry.js +14 -6
  310. package/dist/esm/stzh-calendar.entry.js +1 -1
  311. package/dist/esm/stzh-card_3.entry.js +468 -0
  312. package/dist/esm/stzh-cell.entry.js +1 -1
  313. package/dist/esm/stzh-chart.entry.js +26122 -0
  314. package/dist/esm/stzh-checkbox.entry.js +4 -4
  315. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  316. package/dist/esm/stzh-chip.entry.js +14 -7
  317. package/dist/esm/stzh-clamp.entry.js +2 -2
  318. package/dist/esm/stzh-components.js +3 -3
  319. package/dist/esm/stzh-contactaddress.entry.js +87 -0
  320. package/dist/esm/stzh-container.entry.js +1 -1
  321. package/dist/esm/stzh-cspace.entry.js +2 -2
  322. package/dist/esm/stzh-datalist_2.entry.js +175 -0
  323. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  324. package/dist/esm/stzh-datamessagelist.entry.js +2 -2
  325. package/dist/esm/stzh-datatable.entry.js +2 -2
  326. package/dist/esm/stzh-datepicker_3.entry.js +4 -4
  327. package/dist/esm/stzh-details.entry.js +148 -0
  328. package/dist/esm/stzh-dialog.entry.js +2 -2
  329. package/dist/esm/stzh-dropdown.entry.js +5 -5
  330. package/dist/esm/stzh-fieldset.entry.js +1 -1
  331. package/dist/esm/stzh-figure.entry.js +3 -3
  332. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  333. package/dist/esm/stzh-footer.entry.js +13 -7
  334. package/dist/esm/stzh-ghettobox_2.entry.js +11 -8
  335. package/dist/esm/stzh-header.entry.js +29 -15
  336. package/dist/esm/stzh-heading.entry.js +3 -3
  337. package/dist/esm/stzh-hr.entry.js +1 -1
  338. package/dist/esm/stzh-hspace.entry.js +1 -1
  339. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  340. package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  341. package/dist/esm/stzh-input.entry.js +4 -4
  342. package/dist/esm/stzh-langnav.entry.js +33 -0
  343. package/dist/esm/stzh-link.entry.js +12 -4
  344. package/dist/esm/stzh-list-item.entry.js +1 -1
  345. package/dist/esm/stzh-list.entry.js +1 -1
  346. package/dist/esm/stzh-loader.entry.js +1 -1
  347. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  348. package/dist/esm/stzh-menu_2.entry.js +2 -2
  349. package/dist/esm/stzh-message.entry.js +3 -3
  350. package/dist/esm/stzh-metanav.entry.js +1 -1
  351. package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
  352. package/dist/esm/stzh-olmap.entry.js +2 -2
  353. package/dist/esm/stzh-overlay.entry.js +1 -1
  354. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  355. package/dist/esm/stzh-pagebottom.entry.js +3 -3
  356. package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
  357. package/dist/esm/stzh-pagetitle.entry.js +3 -3
  358. package/dist/esm/stzh-popover.entry.js +10 -6
  359. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  360. package/dist/esm/stzh-progressbar-item.entry.js +1 -1
  361. package/dist/esm/stzh-progressbar.entry.js +1 -1
  362. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  363. package/dist/esm/stzh-row.entry.js +1 -1
  364. package/dist/esm/stzh-saptcha.entry.js +1 -1
  365. package/dist/esm/stzh-section.entry.js +1 -1
  366. package/dist/esm/stzh-share.entry.js +6 -6
  367. package/dist/esm/stzh-sitemap.entry.js +20 -0
  368. package/dist/esm/stzh-skiplink.entry.js +1 -1
  369. package/dist/esm/stzh-sortable.entry.js +31 -12
  370. package/dist/esm/stzh-status.entry.js +1 -1
  371. package/dist/esm/stzh-sticky.entry.js +1 -1
  372. package/dist/esm/stzh-table.entry.js +2 -2
  373. package/dist/esm/stzh-text.entry.js +1 -1
  374. package/dist/esm/stzh-textandimage.entry.js +29 -0
  375. package/dist/esm/stzh-toggle.entry.js +4 -4
  376. package/dist/esm/stzh-tooltip.entry.js +12 -9
  377. package/dist/esm/stzh-upload.entry.js +10 -12
  378. package/dist/esm/stzh-vbz-linechip.entry.js +2 -2
  379. package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
  380. package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
  381. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  382. package/dist/esm/stzh-vspace.entry.js +1 -1
  383. package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  384. package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +1 -0
  385. package/dist/esm-es5/{app-globals-acc57d0e.js → app-globals-17c2ba8d.js} +1 -1
  386. package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
  387. package/dist/esm-es5/index.js +1 -0
  388. package/dist/esm-es5/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  389. package/dist/esm-es5/loader.js +1 -1
  390. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  391. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  392. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  393. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  394. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  395. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  396. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  397. package/dist/esm-es5/stzh-audio.entry.js +2 -2
  398. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  399. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  400. package/dist/esm-es5/stzh-card_3.entry.js +1 -0
  401. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  402. package/dist/esm-es5/stzh-chart.entry.js +3 -0
  403. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  404. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  405. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  406. package/dist/esm-es5/stzh-clamp.entry.js +1 -1
  407. package/dist/esm-es5/stzh-components.js +1 -1
  408. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -0
  409. package/dist/esm-es5/stzh-container.entry.js +1 -1
  410. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  411. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
  412. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  413. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  414. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  415. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  416. package/dist/esm-es5/stzh-details.entry.js +1 -0
  417. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  418. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  419. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  420. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  421. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  422. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  423. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  424. package/dist/esm-es5/stzh-header.entry.js +1 -1
  425. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  426. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  427. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  428. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  429. package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  430. package/dist/esm-es5/stzh-input.entry.js +1 -1
  431. package/dist/esm-es5/stzh-langnav.entry.js +1 -0
  432. package/dist/esm-es5/stzh-link.entry.js +1 -1
  433. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  434. package/dist/esm-es5/stzh-list.entry.js +1 -1
  435. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  436. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  437. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  438. package/dist/esm-es5/stzh-message.entry.js +1 -1
  439. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  440. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
  441. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  442. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  443. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  444. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  445. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -0
  446. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  447. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  448. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  449. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  450. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  451. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  452. package/dist/esm-es5/stzh-row.entry.js +1 -1
  453. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  454. package/dist/esm-es5/stzh-section.entry.js +1 -1
  455. package/dist/esm-es5/stzh-share.entry.js +1 -1
  456. package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
  457. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  458. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  459. package/dist/esm-es5/stzh-status.entry.js +1 -1
  460. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  461. package/dist/esm-es5/stzh-table.entry.js +1 -1
  462. package/dist/esm-es5/stzh-text.entry.js +1 -1
  463. package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
  464. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  465. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  466. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  467. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  468. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  469. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  470. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  471. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  472. package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  473. package/dist/stzh-components/assets/i18n/de.json +6 -1
  474. package/dist/stzh-components/assets/i18n/en.json +6 -1
  475. package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
  476. package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
  477. package/dist/stzh-components/assets/icons/mono/facebook-filled.svg +3 -0
  478. package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
  479. package/dist/stzh-components/assets/icons/mono/linkedin-filled.svg +12 -0
  480. package/dist/stzh-components/assets/icons/mono/mail-filled.svg +6 -0
  481. package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
  482. package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
  483. package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
  484. package/dist/stzh-components/assets/icons/mono/star-filled.svg +1 -1
  485. package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -0
  486. package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
  487. package/dist/stzh-components/assets/icons/mono/xing-filled.svg +4 -0
  488. package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
  489. package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
  490. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +166 -36
  491. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  492. package/dist/stzh-components/index.esm.js +1 -0
  493. package/dist/stzh-components/p-006751fc.system.entry.js +1 -0
  494. package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
  495. package/dist/stzh-components/p-02fd7470.entry.js +1 -0
  496. package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-037357fc.system.entry.js} +1 -1
  497. package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
  498. package/dist/stzh-components/p-04a45622.system.entry.js +1 -0
  499. package/dist/stzh-components/p-09da70d8.entry.js +1 -0
  500. package/dist/stzh-components/{p-d69b12f8.entry.js → p-0a647396.entry.js} +1 -1
  501. package/dist/stzh-components/{p-20a6ffbb.entry.js → p-0b264a7a.entry.js} +1 -1
  502. package/dist/stzh-components/p-0b9dc96d.system.js +1 -0
  503. package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
  504. package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
  505. package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
  506. package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
  507. package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
  508. package/dist/stzh-components/{p-3f8976bc.system.entry.js → p-171c5795.system.entry.js} +1 -1
  509. package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
  510. package/dist/stzh-components/{p-67ade1c7.system.entry.js → p-1ca12032.system.entry.js} +1 -1
  511. package/dist/stzh-components/p-1d8272a5.entry.js +1 -0
  512. package/dist/stzh-components/{p-3e504f50.entry.js → p-1da26ca1.entry.js} +1 -1
  513. package/dist/stzh-components/p-1fe1169e.entry.js +1 -0
  514. package/dist/stzh-components/{p-3e24b964.entry.js → p-213959b7.entry.js} +1 -1
  515. package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
  516. package/dist/stzh-components/p-231e6e6a.system.entry.js +1 -0
  517. package/dist/stzh-components/{p-b10682ee.js → p-24b8df26.js} +1 -1
  518. package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
  519. package/dist/stzh-components/{p-881e526e.system.entry.js → p-2862cdd8.system.entry.js} +1 -1
  520. package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
  521. package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
  522. package/dist/stzh-components/{p-6c3d7756.system.entry.js → p-2b5b1e4a.system.entry.js} +1 -1
  523. package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
  524. package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
  525. package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
  526. package/dist/stzh-components/{p-cbaab05e.entry.js → p-31029226.entry.js} +1 -1
  527. package/dist/stzh-components/{p-c777032f.system.entry.js → p-311813bc.system.entry.js} +1 -1
  528. package/dist/stzh-components/p-3145cd2f.entry.js +1 -0
  529. package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
  530. package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
  531. package/dist/stzh-components/{p-b367d4e3.entry.js → p-34b45788.entry.js} +1 -1
  532. package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
  533. package/dist/stzh-components/p-3848d8ee.entry.js +1 -0
  534. package/dist/stzh-components/p-38f9cbf3.system.entry.js +1 -0
  535. package/dist/stzh-components/p-3905ca20.entry.js +1 -0
  536. package/dist/stzh-components/{p-d2c97cbc.entry.js → p-391e6b90.entry.js} +1 -1
  537. package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
  538. package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
  539. package/dist/stzh-components/p-4228cd58.system.entry.js +1 -0
  540. package/dist/stzh-components/p-441ea784.entry.js +1 -0
  541. package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
  542. package/dist/stzh-components/{p-5db542ae.system.js → p-484a366f.system.js} +1 -1
  543. package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
  544. package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
  545. package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
  546. package/dist/stzh-components/{p-8e363084.system.entry.js → p-4bd7dafb.system.entry.js} +1 -1
  547. package/dist/stzh-components/{p-fade35c7.entry.js → p-4c7e52aa.entry.js} +1 -1
  548. package/dist/stzh-components/{p-74786856.system.entry.js → p-4cd9f5c7.system.entry.js} +1 -1
  549. package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
  550. package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
  551. package/dist/stzh-components/p-55f6fa41.system.entry.js +1 -0
  552. package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
  553. package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
  554. package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
  555. package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
  556. package/dist/stzh-components/{p-37bdb9cd.system.entry.js → p-5b379647.system.entry.js} +1 -1
  557. package/dist/stzh-components/{p-3a279b45.entry.js → p-5c3c9ad4.entry.js} +1 -1
  558. package/dist/stzh-components/{p-1663fc49.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
  559. package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
  560. package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
  561. package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
  562. package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
  563. package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
  564. package/dist/stzh-components/{p-a61bf274.entry.js → p-64422176.entry.js} +1 -1
  565. package/dist/stzh-components/p-65675e11.entry.js +1 -0
  566. package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
  567. package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
  568. package/dist/stzh-components/{p-c1100fde.entry.js → p-68400ee7.entry.js} +1 -1
  569. package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
  570. package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
  571. package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
  572. package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
  573. package/dist/stzh-components/{p-090bfb8e.system.entry.js → p-7684506e.system.entry.js} +1 -1
  574. package/dist/stzh-components/p-791bc813.system.js +1 -0
  575. package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
  576. package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
  577. package/dist/stzh-components/{p-948acea1.js → p-7da446d5.js} +1 -1
  578. package/dist/stzh-components/p-7e94dde2.entry.js +1 -0
  579. package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
  580. package/dist/stzh-components/p-83830baa.system.entry.js +1 -0
  581. package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
  582. package/dist/stzh-components/p-84c86e4c.system.entry.js +1 -0
  583. package/dist/stzh-components/p-86a29c35.js +1 -0
  584. package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
  585. package/dist/stzh-components/{p-b0e514c7.entry.js → p-88cbd2c0.entry.js} +1 -1
  586. package/dist/stzh-components/p-8a1d00fe.entry.js +3 -0
  587. package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
  588. package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
  589. package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
  590. package/dist/stzh-components/p-92afa8df.entry.js +1 -0
  591. package/dist/stzh-components/p-94830f96.system.entry.js +1 -0
  592. package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
  593. package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
  594. package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
  595. package/dist/stzh-components/p-996579d0.entry.js +1 -0
  596. package/dist/stzh-components/p-99f92c6d.system.entry.js +1 -0
  597. package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
  598. package/dist/stzh-components/p-9c90535a.system.js +1 -0
  599. package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
  600. package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
  601. package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
  602. package/dist/stzh-components/p-a16dc363.entry.js +1 -0
  603. package/dist/stzh-components/{p-c5749124.system.entry.js → p-a17754c7.system.entry.js} +1 -1
  604. package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
  605. package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
  606. package/dist/stzh-components/p-a6d4a8b1.js +1 -0
  607. package/dist/stzh-components/p-a795868f.entry.js +1 -0
  608. package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
  609. package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
  610. package/dist/stzh-components/p-aacf685b.system.entry.js +3 -0
  611. package/dist/stzh-components/p-ab28e094.system.entry.js +1 -0
  612. package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
  613. package/dist/stzh-components/p-addc48e5.entry.js +1 -0
  614. package/dist/stzh-components/p-af0ab448.system.entry.js +1 -0
  615. package/dist/stzh-components/p-af63f1a4.entry.js +1 -0
  616. package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
  617. package/dist/stzh-components/{p-140e4b63.entry.js → p-b0fe9349.entry.js} +1 -1
  618. package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
  619. package/dist/stzh-components/{p-07fc857b.system.entry.js → p-b436a18d.system.entry.js} +1 -1
  620. package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
  621. package/dist/stzh-components/{p-fd811f6b.system.entry.js → p-ba0b93c4.system.entry.js} +2 -2
  622. package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
  623. package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
  624. package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
  625. package/dist/stzh-components/p-c065387a.entry.js +1 -0
  626. package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
  627. package/dist/stzh-components/p-c26aec94.entry.js +1 -0
  628. package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
  629. package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
  630. package/dist/stzh-components/p-c42435be.entry.js +1 -0
  631. package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
  632. package/dist/stzh-components/{p-51c75fba.system.entry.js → p-cfc0bc2e.system.entry.js} +1 -1
  633. package/dist/stzh-components/p-cff8376e.entry.js +1 -0
  634. package/dist/stzh-components/p-d1d5825d.entry.js +1 -0
  635. package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
  636. package/dist/stzh-components/{p-92ad9720.system.entry.js → p-d4405931.system.entry.js} +1 -1
  637. package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
  638. package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
  639. package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
  640. package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
  641. package/dist/stzh-components/p-dce19efd.entry.js +1 -0
  642. package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
  643. package/dist/stzh-components/{p-b71a1607.system.js → p-e2e54f09.system.js} +1 -1
  644. package/dist/stzh-components/{p-3b33fa76.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
  645. package/dist/stzh-components/{p-b3587b9d.system.entry.js → p-e71cd5cd.system.entry.js} +1 -1
  646. package/dist/stzh-components/p-e72ca013.system.entry.js +1 -0
  647. package/dist/stzh-components/p-e76a3647.entry.js +1 -0
  648. package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
  649. package/dist/stzh-components/{p-025953d1.system.entry.js → p-e812d35e.system.entry.js} +1 -1
  650. package/dist/stzh-components/p-eaa65f52.system.js +1 -0
  651. package/dist/stzh-components/p-eade9f77.entry.js +1 -0
  652. package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
  653. package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
  654. package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
  655. package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
  656. package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
  657. package/dist/stzh-components/p-f03ce92d.system.entry.js +1 -0
  658. package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
  659. package/dist/stzh-components/{p-e7afcd6f.entry.js → p-f37be5d7.entry.js} +1 -1
  660. package/dist/stzh-components/p-f59b3545.system.entry.js +1 -0
  661. package/dist/stzh-components/{p-b54ed1f9.entry.js → p-f5db6234.entry.js} +1 -1
  662. package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
  663. package/dist/stzh-components/{p-04dd6821.entry.js → p-f792fc8f.entry.js} +1 -1
  664. package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
  665. package/dist/stzh-components/{p-fb150554.system.entry.js → p-fcec6003.system.entry.js} +1 -1
  666. package/dist/stzh-components/p-fd265f3a.entry.js +1 -0
  667. package/dist/stzh-components/stzh-components.css +1 -1
  668. package/dist/stzh-components/stzh-components.esm.js +1 -1
  669. package/dist/stzh-components/stzh-components.js +1 -1
  670. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
  671. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
  672. package/dist/types/components.d.ts +737 -25
  673. package/dist/types/index.d.ts +86 -2
  674. package/dist/vscode-data.json +412 -21
  675. package/package.json +6 -2
  676. package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
  677. package/dist/cjs/stzh-card.cjs.entry.js +0 -282
  678. package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
  679. package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
  680. package/dist/esm/stzh-card-list.entry.js +0 -72
  681. package/dist/esm/stzh-card.entry.js +0 -278
  682. package/dist/esm/stzh-datalist.entry.js +0 -58
  683. package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +0 -1
  684. package/dist/esm-es5/stzh-card-list.entry.js +0 -1
  685. package/dist/esm-es5/stzh-card.entry.js +0 -1
  686. package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
  687. package/dist/esm-es5/stzh-datalist.entry.js +0 -1
  688. package/dist/stzh-components/p-011dcf30.system.entry.js +0 -1
  689. package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
  690. package/dist/stzh-components/p-0230004d.system.js +0 -1
  691. package/dist/stzh-components/p-0977d9b6.entry.js +0 -1
  692. package/dist/stzh-components/p-10c36281.entry.js +0 -1
  693. package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
  694. package/dist/stzh-components/p-1f57d28e.js +0 -1
  695. package/dist/stzh-components/p-23e9b6c7.system.entry.js +0 -1
  696. package/dist/stzh-components/p-241f060e.entry.js +0 -1
  697. package/dist/stzh-components/p-29d9a568.entry.js +0 -1
  698. package/dist/stzh-components/p-2c8d491a.system.entry.js +0 -1
  699. package/dist/stzh-components/p-38977481.entry.js +0 -1
  700. package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
  701. package/dist/stzh-components/p-3a73b8b5.system.js +0 -1
  702. package/dist/stzh-components/p-3e8ff66b.js +0 -1
  703. package/dist/stzh-components/p-4b93fb24.entry.js +0 -1
  704. package/dist/stzh-components/p-4c93ffbe.entry.js +0 -1
  705. package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
  706. package/dist/stzh-components/p-50ea2036.system.js +0 -1
  707. package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
  708. package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
  709. package/dist/stzh-components/p-5623c1a3.entry.js +0 -1
  710. package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
  711. package/dist/stzh-components/p-58714045.entry.js +0 -1
  712. package/dist/stzh-components/p-59970f71.entry.js +0 -1
  713. package/dist/stzh-components/p-5c311df3.entry.js +0 -1
  714. package/dist/stzh-components/p-62c7caed.entry.js +0 -1
  715. package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
  716. package/dist/stzh-components/p-783346ed.entry.js +0 -1
  717. package/dist/stzh-components/p-7909f56b.entry.js +0 -1
  718. package/dist/stzh-components/p-79f27d21.entry.js +0 -1
  719. package/dist/stzh-components/p-8d9056de.entry.js +0 -1
  720. package/dist/stzh-components/p-8e5f4ef6.system.entry.js +0 -1
  721. package/dist/stzh-components/p-9084f0c1.entry.js +0 -1
  722. package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
  723. package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
  724. package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
  725. package/dist/stzh-components/p-9af41730.system.js +0 -1
  726. package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
  727. package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
  728. package/dist/stzh-components/p-a6da8c06.system.entry.js +0 -1
  729. package/dist/stzh-components/p-afaa9c37.system.entry.js +0 -1
  730. package/dist/stzh-components/p-bb9e8364.entry.js +0 -1
  731. package/dist/stzh-components/p-bd7dd853.system.entry.js +0 -1
  732. package/dist/stzh-components/p-be534671.entry.js +0 -1
  733. package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
  734. package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
  735. package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
  736. package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
  737. package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
  738. package/dist/stzh-components/p-d26ed018.entry.js +0 -1
  739. package/dist/stzh-components/p-da857e0d.entry.js +0 -1
  740. package/dist/stzh-components/p-de8f9508.system.entry.js +0 -1
  741. package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
  742. package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
  743. package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
  744. package/dist/stzh-components/p-f9039c23.entry.js +0 -1
  745. package/dist/stzh-components/p-fa6427bf.system.entry.js +0 -1
  746. package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-9fcb4305.js');
6
- const utils = require('./utils-8dc66449.js');
6
+ const utils = require('./utils-ff153309.js');
7
7
 
8
8
  const stzhBadgeCss = ".sc-stzh-badge-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-badge-h{--color:var(--stzh-color-white);--background-color:var(--stzh-base-color);display:-ms-inline-flexbox;display:inline-flex}[type=success].sc-stzh-badge-h{--background-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-badge-h{--color:var(--stzh-color-grey87);--background-color:var(--stzh-color-warning)}[type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error)}[type=info].sc-stzh-badge-h{--background-color:var(--stzh-color-zueriblue)}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;-webkit-box-shadow:0 0 0 0.0625rem #fff;box-shadow:0 0 0 0.0625rem #fff;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--background-color);color:var(--color);text-transform:uppercase}.stzh-badge.sc-stzh-badge:empty{width:0.875rem;height:0.875rem;padding:0}";
9
9
 
@@ -23,7 +23,7 @@ const StzhBadge = class {
23
23
  };
24
24
  StzhBadge.style = stzhBadgeCss;
25
25
 
26
- const stzhButtonCss = "@charset \"UTF-8\";.sc-stzh-button-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-button-h{--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:var(--stzh-form-input-height);--icon-size:var(--stzh-icon-size-small);--icon-text-margin:var(--stzh-space-small);--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--padding:var(--stzh-space-xsmall) var(--stzh-space-xlarge);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:inline-block;border-radius:var(--stzh-button-border-radius)}[fullwidth].sc-stzh-button-h:not([fullwidth=false]){width:100%;display:block}[size=small].sc-stzh-button-h{--height:var(--stzh-form-input-small-height)}[size=tiny].sc-stzh-button-h{--height:var(--stzh-form-input-tiny-height);--icon-text-margin:var(--stzh-space-xsmall);--padding:var(--stzh-space-xxsmall) var(--stzh-space-medium)}[variant=secondary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:var(--stzh-color-white)}[variant=input].sc-stzh-button-h{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[variant=tertiary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-button-text-hover-background);--hover-border-color:transparent}[active].sc-stzh-button-h:not([active=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[disabled].sc-stzh-button-h:not([disabled=false]){--border-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-grey13);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:var(--stzh-color-grey13)}[disabled].sc-stzh-button-h:not([disabled=false])[variant=secondary],[disabled].sc-stzh-button-h:not([disabled=false])[variant=input],[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary]{--color:var(--stzh-color-grey25);--border-color:var(--stzh-color-grey13);--background-color:transparent;--hover-color:var(--stzh-color-grey25);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:transparent}@-webkit-keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}@keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}.sc-stzh-button-h .sc-stzh-button-s>stzh-icon,.stzh-button__icon.sc-stzh-button{--size:var(--icon-size)}.stzh-button.sc-stzh-button{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;z-index:0;overflow:visible;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--color);padding:var(--padding);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);border:0.0625rem solid var(--border-color);cursor:pointer;text-decoration:none;width:100%;min-width:var(--height);height:var(--height);border-radius:var(--stzh-button-border-radius);text-align:left}.stzh-button.sc-stzh-button:hover{border-color:var(--hover-border-color);background-color:var(--hover-background-color);color:var(--hover-color)}.stzh-button__inner.sc-stzh-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-button__icon-wrapper.sc-stzh-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-button__text.sc-stzh-button{white-space:nowrap}.stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--icon-text-margin)}.stzh-button__badge.sc-stzh-button{position:absolute;z-index:1;top:0;right:0}.stzh-button__input.sc-stzh-button{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-button__mark.sc-stzh-button{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed);width:1.25rem;height:1.25rem;margin-right:var(--stzh-space-xsmall);border-color:currentColor}.stzh-button__mark.sc-stzh-button::before{content:\"\"}.stzh-button__check.sc-stzh-button{background-color:currentColor;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:0.5rem;height:0.5rem;border-radius:50%;opacity:0}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-button__check.sc-stzh-button{background-color:ButtonText}}.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button.sc-stzh-button:hover .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:focus:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button__input.sc-stzh-button:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{opacity:1}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-grey61)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-grey5)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-grey5)}.stzh-button--size-small.sc-stzh-button,.stzh-button--size-tiny.sc-stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-button--badge-position-button.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:static}.stzh-button__badge.sc-stzh-button,.stzh-button--badge-position-button.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:relative}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--badge-icon-text-margin)}.stzh-button--has-icon-only.sc-stzh-button{width:var(--height);height:var(--height);padding:0}.stzh-button--has-icon-only.sc-stzh-button .stzh-button__text.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button--effect-cta.sc-stzh-button:hover .stzh-button__icon-wrapper.sc-stzh-button{-webkit-animation:stzh-button-effect-cta 1s;animation:stzh-button-effect-cta 1s}.stzh-button--align-left.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:start;justify-content:flex-start}.stzh-button--align-right.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:end;justify-content:flex-end}.stzh-button--align-center.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:center;justify-content:center}.stzh-button--align-space-between.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:justify;justify-content:space-between}.stzh-button--is-disabled.sc-stzh-button{cursor:not-allowed}";
26
+ const stzhButtonCss = "@charset \"UTF-8\";.sc-stzh-button-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-button-h{--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:var(--stzh-form-input-height);--icon-size:var(--stzh-icon-size-small);--icon-text-margin:var(--stzh-space-small);--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--padding:var(--stzh-space-xsmall) var(--stzh-space-xlarge);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:inline-block;border-radius:var(--stzh-button-border-radius)}[fullwidth].sc-stzh-button-h:not([fullwidth=false]){width:100%;display:block}[size=small].sc-stzh-button-h{--height:var(--stzh-form-input-small-height)}[size=tiny].sc-stzh-button-h{--height:var(--stzh-form-input-tiny-height);--icon-text-margin:var(--stzh-space-xsmall);--padding:var(--stzh-space-xxsmall) var(--stzh-space-medium)}[variant=secondary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:var(--stzh-color-white)}[variant=input].sc-stzh-button-h{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[variant=tertiary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-button-text-hover-background);--hover-border-color:transparent}[active].sc-stzh-button-h:not([active=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[disabled].sc-stzh-button-h:not([disabled=false]){--border-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-grey13);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:var(--stzh-color-grey13)}[disabled].sc-stzh-button-h:not([disabled=false])[variant=secondary],[disabled].sc-stzh-button-h:not([disabled=false])[variant=input],[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary]{--color:var(--stzh-color-grey25);--border-color:var(--stzh-color-grey13);--background-color:transparent;--hover-color:var(--stzh-color-grey25);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:transparent}@-webkit-keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}@keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}.sc-stzh-button-h .sc-stzh-button-s>stzh-icon,.stzh-button__icon.sc-stzh-button{--size:var(--icon-size)}.stzh-button.sc-stzh-button{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;z-index:0;overflow:visible;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--color);padding:var(--padding);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);border:0.0625rem solid var(--border-color);cursor:pointer;text-decoration:none;width:100%;min-width:var(--height);height:var(--height);border-radius:var(--stzh-button-border-radius);text-align:left}.stzh-button.sc-stzh-button:hover{border-color:var(--hover-border-color);background-color:var(--hover-background-color);color:var(--hover-color)}.stzh-button__inner.sc-stzh-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-button__icon-wrapper.sc-stzh-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-button__text.sc-stzh-button{white-space:nowrap}.stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--icon-text-margin)}.stzh-button__badge.sc-stzh-button{position:absolute;z-index:1;top:0;right:0}.stzh-button__input.sc-stzh-button{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-button__mark.sc-stzh-button{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed);width:1.25rem;height:1.25rem;margin-right:var(--stzh-space-xsmall);border-color:currentColor}.stzh-button__mark.sc-stzh-button::before{content:\"\"}.stzh-button__check.sc-stzh-button{background-color:currentColor;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:0.5rem;height:0.5rem;border-radius:50%;opacity:0}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-button__check.sc-stzh-button{background-color:ButtonText}}.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button.sc-stzh-button:hover .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:focus:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button__input.sc-stzh-button:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{opacity:1}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-grey61)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:transparent}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-black8)}.stzh-button--size-small.sc-stzh-button,.stzh-button--size-tiny.sc-stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-button--badge-position-button.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:static}.stzh-button__badge.sc-stzh-button,.stzh-button--badge-position-button.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:relative}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--badge-icon-text-margin)}.stzh-button--has-icon-only.sc-stzh-button{width:var(--height);height:var(--height);padding:0}.stzh-button--has-icon-only.sc-stzh-button .stzh-button__text.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button--effect-cta.sc-stzh-button:hover .stzh-button__icon-wrapper.sc-stzh-button{-webkit-animation:stzh-button-effect-cta 1s;animation:stzh-button-effect-cta 1s}.stzh-button--align-left.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:start;justify-content:flex-start}.stzh-button--align-right.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:end;justify-content:flex-end}.stzh-button--align-center.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:center;justify-content:center}.stzh-button--align-space-between.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:justify;justify-content:space-between}.stzh-button--is-disabled.sc-stzh-button{cursor:not-allowed}";
27
27
 
28
28
  const StzhButton = class {
29
29
  constructor(hostRef) {
@@ -84,15 +84,20 @@ const StzhButton = class {
84
84
  this.name = "";
85
85
  this.value = "";
86
86
  this.href = "";
87
+ this.rel = undefined;
87
88
  this.target = "";
89
+ this.download = undefined;
88
90
  this.type = "button";
89
91
  this.disabled = false;
90
92
  this.active = false;
91
93
  this.label = "";
92
94
  this.effect = "default";
93
95
  this.iconOnly = false;
96
+ this.linkAccesskey = undefined;
94
97
  this.a11yLabel = undefined;
95
98
  this.a11yDescribedby = "";
99
+ this.a11yExpanded = undefined;
100
+ this.a11yControls = undefined;
96
101
  }
97
102
  /** Focus button */
98
103
  async setFocus() {
@@ -131,12 +136,15 @@ const StzhButton = class {
131
136
  [`stzh-button--${this.variant}`]: !!this.variant
132
137
  };
133
138
  return (index.h(index.Host, null, this.href ?
134
- index.h("a", { ref: (el) => (this.button = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))
139
+ index.h("a", { ref: (el) => (this.button = el), href: this.disabled ? null : this.href, rel: this.rel, download: this.download, target: this.target, class: classes, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
140
+ ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, accessKey: this.linkAccesskey, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))
135
141
  :
136
142
  this.type === "radio" ?
137
- index.h("label", { ref: (el) => (this.button = el), class: classes, onClick: this.onClick }, index.h("input", { ref: (el) => (this.input = el), type: "radio", class: "stzh-button__input", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, "aria-label": this.a11yLabel, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, onInput: this.onInput }), this.renderInner(iconUsed))
143
+ index.h("label", { ref: (el) => (this.button = el), class: classes, onClick: this.onClick }, index.h("input", { ref: (el) => (this.input = el), type: "radio", class: "stzh-button__input", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
144
+ ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, accessKey: this.linkAccesskey, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, onInput: this.onInput }), this.renderInner(iconUsed))
138
145
  :
139
- index.h("button", { ref: (el) => (this.button = el), class: classes, type: this.type, disabled: this.disabled, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))));
146
+ index.h("button", { ref: (el) => (this.button = el), class: classes, type: this.type, disabled: this.disabled, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
147
+ ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, accessKey: this.linkAccesskey, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))));
140
148
  }
141
149
  get element() { return index.getElement(this); }
142
150
  };
@@ -0,0 +1,474 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-9fcb4305.js');
6
+ const utils = require('./utils-ff153309.js');
7
+ const mediaUtils = require('./media-utils-8cfc8591.js');
8
+ const translationUtils = require('./translation-utils-73073e44.js');
9
+ const stzhInputDescription = require('./stzh-input-description-4326b0d9.js');
10
+
11
+ const stzhCardCss = ".sc-stzh-card-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--content-min-height:7.5rem;--dnd-visibility:hidden;--dnd-opacity:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:var(--border-radius)}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}[href].sc-stzh-card-h:hover,[href].sc-stzh-card-h:focus-within,.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{width:100%;max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card.sc-stzh-card{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative;-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:var(--content-min-height)}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title-link.sc-stzh-card{color:inherit;text-decoration:none}.stzh-card__image-link.sc-stzh-card{display:block}.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:\",\";position:absolute;left:0}.stzh-card__content.sc-stzh-card{-ms-flex-positive:1;flex-grow:1}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue));text-decoration:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before{-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{content:\"\";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus::before{background-color:var(--stzh-color-primary4)}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}";
12
+
13
+ const StzhCard = class {
14
+ constructor(hostRef) {
15
+ index.registerInstance(this, hostRef);
16
+ this.stzhClick = index.createEvent(this, "stzhClick", 7);
17
+ this.stzhCollapse = index.createEvent(this, "stzhCollapse", 7);
18
+ this.stzhSubtitleClick = index.createEvent(this, "stzhSubtitleClick", 7);
19
+ this.stzhStarClick = index.createEvent(this, "stzhStarClick", 7);
20
+ this.stzhHeaderActionClick = index.createEvent(this, "stzhHeaderActionClick", 7);
21
+ this._subtitles = [];
22
+ this.nodeChange = (entries) => {
23
+ let changeInSlot = false;
24
+ entries.forEach((entry) => {
25
+ if (entry.target.closest('[slot]') || entry.target.hasAttribute('slot')) {
26
+ changeInSlot = true;
27
+ }
28
+ });
29
+ if (changeInSlot) {
30
+ index.forceUpdate(this.element);
31
+ }
32
+ };
33
+ this.update = () => {
34
+ if (!this.mainElement) {
35
+ return;
36
+ }
37
+ this.mainElement.classList.remove("stzh-card--has-collapsed-header");
38
+ if (mediaUtils.media('medium').matches) {
39
+ const headerWidth = this.headerElement.clientWidth;
40
+ const leftWidth = this.headerLeftElement.clientWidth;
41
+ const rightWidth = this.headerRightElement.clientWidth;
42
+ if (headerWidth - leftWidth <= rightWidth) {
43
+ this.mainElement.classList.add("stzh-card--has-collapsed-header");
44
+ }
45
+ }
46
+ };
47
+ this.headerClick = (event) => {
48
+ if (!this.collapsible) {
49
+ return;
50
+ }
51
+ const filterTags = ["stzh-popover", "stzh-tooltip", "button", "a", "input", "select", "textarea", "iframe", "details", "label", "area"];
52
+ const composedPathTags = event.composedPath().map(element => { var _a; return (_a = element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase(); });
53
+ const found = composedPathTags.some(r => filterTags.includes(r));
54
+ if (!found) {
55
+ this.collapsed = !this.collapsed;
56
+ this.stzhCollapse.emit({
57
+ component: "stzh-card",
58
+ collapsed: this.collapsed
59
+ });
60
+ }
61
+ };
62
+ this.subtitleClick = () => {
63
+ if (this.subtitleInteractive) {
64
+ this.stzhSubtitleClick.emit({
65
+ component: "stzh-card"
66
+ });
67
+ }
68
+ };
69
+ this.starToggleClick = () => {
70
+ this.stzhStarClick.emit({
71
+ component: "stzh-card",
72
+ starred: this.starred
73
+ });
74
+ };
75
+ this.actionClick = (action) => {
76
+ this.stzhHeaderActionClick.emit({
77
+ component: "stzh-card",
78
+ action
79
+ });
80
+ };
81
+ this.arrowUpClick = () => {
82
+ const sortable = this.element.closest("stzh-sortable");
83
+ if (sortable) {
84
+ const element = this.findSortableChildElement();
85
+ sortable.moveItem(element, "up");
86
+ }
87
+ };
88
+ this.arrowDownClick = () => {
89
+ const sortable = this.element.closest("stzh-sortable");
90
+ if (sortable) {
91
+ const element = this.findSortableChildElement();
92
+ sortable.moveItem(element, "down");
93
+ }
94
+ };
95
+ this.updateElementInsideSortable = () => {
96
+ const currentSortable = this.element.closest("stzh-sortable");
97
+ // check if element is still inside sortable
98
+ if (!currentSortable) {
99
+ this.sortable.removeEventListener("stzhUpdate", this.updateElementInsideSortable);
100
+ this.sortable.removeEventListener("stzhDisable", this.updateElementInsideSortable);
101
+ return;
102
+ }
103
+ if (this.element) {
104
+ index.forceUpdate(this.element);
105
+ }
106
+ };
107
+ this.init = () => {
108
+ const chips = this.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');
109
+ chips.forEach((chip) => {
110
+ utils.setPropsIfNull(chip, {
111
+ size: "small"
112
+ });
113
+ });
114
+ };
115
+ this.handleMutation = (entries) => {
116
+ this.init();
117
+ this.nodeChange(entries);
118
+ };
119
+ this.handleSelectionChange = (event) => {
120
+ this.checked = event.detail.checked;
121
+ };
122
+ this.cardClick = (originalEvent) => {
123
+ this.stzhClick.emit({
124
+ component: "stzh-card",
125
+ originalEvent
126
+ });
127
+ };
128
+ this.localization = undefined;
129
+ this.collapsed = false;
130
+ this.starred = false;
131
+ this.starrable = false;
132
+ this.selectable = false;
133
+ this.checked = false;
134
+ this.name = "";
135
+ this.href = undefined;
136
+ this.target = undefined;
137
+ this.value = "";
138
+ this.disabled = false;
139
+ this.heading = "";
140
+ this.subtitle = "";
141
+ this.headerActions = [];
142
+ this.footerActions = [];
143
+ this.subtitleInteractive = false;
144
+ this.sortableDisabled = false;
145
+ this.collapsible = false;
146
+ this.hideHeaderBorder = false;
147
+ this.hideFooterBorder = false;
148
+ this.hideMovementActions = false;
149
+ }
150
+ handleResize() {
151
+ if (this.debounceResize) {
152
+ window.cancelAnimationFrame(this.debounceResize);
153
+ }
154
+ this.debounceResize = requestAnimationFrame(this.update);
155
+ }
156
+ subtitleWatcher(newValue) {
157
+ if (typeof newValue === "string") {
158
+ try {
159
+ this._subtitles = JSON.parse(newValue);
160
+ }
161
+ catch (err) {
162
+ this._subtitles = [newValue];
163
+ }
164
+ }
165
+ else {
166
+ this._subtitles = newValue;
167
+ }
168
+ }
169
+ headerActionsWatcher(newValue) {
170
+ if (typeof newValue === "string") {
171
+ this._headerActions = JSON.parse(newValue);
172
+ }
173
+ else {
174
+ this._headerActions = newValue;
175
+ }
176
+ }
177
+ footerActionsWatcher(newValue) {
178
+ if (typeof newValue === "string") {
179
+ this._footerActions = JSON.parse(newValue);
180
+ }
181
+ else {
182
+ this._footerActions = newValue;
183
+ }
184
+ }
185
+ collapsedWatcher() {
186
+ this.handleResize();
187
+ }
188
+ findSortableChildElement() {
189
+ const sortable = this.element.closest("stzh-sortable");
190
+ if (sortable) {
191
+ let element = this.element;
192
+ let sortableContainer = null;
193
+ if (typeof sortable.container === "function") {
194
+ sortableContainer = sortable.container();
195
+ }
196
+ else {
197
+ sortableContainer = sortable.container;
198
+ }
199
+ while (element.parentElement && element.parentElement !== sortableContainer) {
200
+ element = element.parentElement;
201
+ }
202
+ return element;
203
+ }
204
+ }
205
+ async componentWillLoad() {
206
+ this.subtitleWatcher(this.subtitle);
207
+ this.headerActionsWatcher(this.headerActions);
208
+ this.footerActionsWatcher(this.footerActions);
209
+ if (!this.localization) {
210
+ this.localization = await translationUtils.fetchTranslations(this.element, "card");
211
+ }
212
+ }
213
+ componentDidLoad() {
214
+ this.sortable = this.element.closest("stzh-sortable");
215
+ if (this.sortable) {
216
+ this.sortable.addEventListener("stzhUpdate", this.updateElementInsideSortable);
217
+ this.sortable.addEventListener("stzhDisable", this.updateElementInsideSortable);
218
+ }
219
+ }
220
+ connectedCallback() {
221
+ this.init();
222
+ this.observer = new MutationObserver(this.handleMutation);
223
+ this.observer.observe(this.element, {
224
+ childList: true,
225
+ subtree: true
226
+ });
227
+ }
228
+ disconnectedCallback() {
229
+ this.observer.disconnect();
230
+ }
231
+ render() {
232
+ var _a, _b, _c;
233
+ const imageUsed = utils.hasSlot(this.element, "image");
234
+ const contentUsed = utils.hasSlot(this.element, "content");
235
+ const classes = {
236
+ "stzh-card": true,
237
+ "stzh-card--has-link": !!this.href,
238
+ "stzh-card--has-image": imageUsed,
239
+ "stzh-card--has-content": contentUsed,
240
+ "stzh-card--has-subtitle": !!this.subtitle,
241
+ "stzh-card--has-subtitle-interactive": !!this.subtitle && this.subtitleInteractive,
242
+ "stzh-card--has-hidden-header-border": this.hideHeaderBorder,
243
+ "stzh-card--has-hidden-footer-border": this.hideFooterBorder,
244
+ "stzh-card--is-collapsed": this.collapsed,
245
+ "stzh-card--is-starred": this.starred,
246
+ "stzh-card--is-checked": this.checked
247
+ };
248
+ const Subtitle = `${this.subtitleInteractive ? 'button' : 'span'}`;
249
+ const sortableChildElement = this.findSortableChildElement();
250
+ const isFirstItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
251
+ && Array.from((_a = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _a === void 0 ? void 0 : _a.children)
252
+ .indexOf(sortableChildElement) === 0;
253
+ const isLastItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
254
+ && Array.from((_b = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _b === void 0 ? void 0 : _b.children)
255
+ .indexOf(sortableChildElement) === ((_c = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _c === void 0 ? void 0 : _c.children.length) - 1;
256
+ const sortableActionsEnabled = !this.sortableDisabled
257
+ && !this.hideMovementActions
258
+ && this.sortable
259
+ && !this.sortable.disabled;
260
+ const nonCollapsingTextHeaderActions = this._headerActions.filter(action => !action.onlyCollapseText);
261
+ // const headerActions = [
262
+ // ...this._headerActions
263
+ // ];
264
+ return (index.h(index.Host, { role: "listitem", "aria-label": this.heading }, index.h("article", { ref: (el) => (this.mainElement = el), class: classes }, index.h("a", { "aria-hidden": "true", tabindex: "-1", class: "stzh-card__image-link", href: this.href, target: this.target, onClick: this.href ? this.cardClick : null }, index.h("slot", { name: "image" })), index.h("div", { class: "stzh-card__content-wrapper" }, index.h("stzh-icon", { class: "stzh-card__dnd", name: "drag" }), index.h("header", { ref: (el) => (this.headerElement = el), class: "stzh-card__header", onClick: this.headerClick }, index.h("div", { class: "stzh-card__header-top" }, index.h("div", { ref: (el) => (this.headerLeftElement = el), class: "stzh-card__header-left" }, index.h("div", { class: "stzh-card__title-area" }, index.h("h3", { class: "stzh-card__title" }, index.h("a", { class: "stzh-card__title-link", href: this.href, target: this.target, onClick: this.href ? this.cardClick : null }, this.heading ? this.heading : index.h("slot", { name: "heading" }))), this._subtitles.length > 0 &&
265
+ index.h(Subtitle, { class: "stzh-card__subtitle", onClick: this.subtitleClick }, this._subtitles.map(subtitle => (index.h("span", { class: "stzh-card__subtitle-text" }, subtitle)))))), index.h("div", { ref: (el) => (this.headerRightElement = el), class: "stzh-card__header-right" }, index.h("div", { class: "stzh-card__card-actions" }, this._headerActions.map(action => (index.h("stzh-button", { class: {
266
+ "stzh-card__card-action": true,
267
+ "is-button": true,
268
+ "show-medium": !action.onlyCollapseText,
269
+ "hide-when-collapsed": !action.onlyCollapseText,
270
+ "hide-text-when-collapsed": action.onlyCollapseText
271
+ }, icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, variant: "tertiary", size: "tiny", badgePosition: "icon", onClick: () => { this.actionClick(action); } }, index.h("span", { class: {
272
+ "show-medium": action.onlyCollapseText,
273
+ "hide-when-collapsed": action.onlyCollapseText
274
+ } }, action.label)))), this.starrable &&
275
+ index.h("stzh-tooltip", null, index.h("stzh-button", { class: "stzh-card__card-action is-star", icon: this.starred ? "star-filled" : "star", variant: "tertiary", size: "tiny", iconOnly: true, onClick: this.starToggleClick }), index.h("div", { slot: "content" }, this.starred ? this.localization.actionRemove : this.localization.actionAdd)), (nonCollapsingTextHeaderActions.length > 0 || this.starrable || sortableActionsEnabled) &&
276
+ index.h("stzh-popover", { label: this.localization.actionsPopoverLabel, placement: "bottom-end", class: {
277
+ "stzh-card__card-action-popover": true,
278
+ "hide-medium show-when-collapsed": !this.starrable && !sortableActionsEnabled
279
+ } }, index.h("stzh-button", { class: "stzh-card__card-action is-further", variant: "tertiary", size: "tiny", icon: "more-vertical", iconOnly: true }), index.h("stzh-menu", { slot: "content" }, this.starrable &&
280
+ index.h("stzh-menu-item", { icon: this.starred ? "star-filled" : "star", onClick: this.starToggleClick }, this.starred ? this.localization.actionRemove : this.localization.actionAdd), nonCollapsingTextHeaderActions.map(action => (index.h("stzh-menu-item", { class: "hide-medium show-when-collapsed", icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: () => { this.actionClick(action); } }, action.label))), sortableActionsEnabled &&
281
+ index.h(index.Fragment, null, !isFirstItemInSortable &&
282
+ index.h("stzh-menu-item", { icon: "arrow-up", onClick: this.arrowUpClick }, this.localization.actionMoveUp), !isLastItemInSortable &&
283
+ index.h("stzh-menu-item", { icon: "arrow-down", onClick: this.arrowDownClick }, this.localization.actionMoveDown))))))), index.h("div", { class: "stzh-card__header-meta" }, index.h("slot", { name: "meta" }))), index.h("div", { class: "stzh-card__content hide-when-collapsed" }, index.h("slot", { name: "content" })), index.h("div", { class: "stzh-card__footer hide-when-collapsed" }, this._footerActions.length > 0 &&
284
+ index.h("stzh-actionset", { actions: this._footerActions }), this.selectable &&
285
+ index.h("stzh-button", { fullwidth: true, type: "radio", variant: "secondary", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, label: this.localization.select, onStzhChange: this.handleSelectionChange }))))));
286
+ }
287
+ get element() { return index.getElement(this); }
288
+ static get watchers() { return {
289
+ "subtitle": ["subtitleWatcher"],
290
+ "headerActions": ["headerActionsWatcher"],
291
+ "footerActions": ["footerActionsWatcher"],
292
+ "collapsed": ["collapsedWatcher"]
293
+ }; }
294
+ };
295
+ StzhCard.style = stzhCardCss;
296
+
297
+ const stzhCardListCss = ".sc-stzh-card-list-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:100%;margin:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(50% - var(--stzh-grid-gutter-small));margin:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(33.333% - var(--stzh-grid-gutter-medium));margin:calc(var(--stzh-grid-gutter-medium) / 2)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__cards.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-card-list__header.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-grid-gutter) / -2)}@media screen and (min-width: 600px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-small) / -2)}}@media screen and (min-width: 1024px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-medium) / -2)}}";
298
+
299
+ const StzhCardList = class {
300
+ constructor(hostRef) {
301
+ index.registerInstance(this, hostRef);
302
+ this.stzhCollapseAll = index.createEvent(this, "stzhCollapseAll", 7);
303
+ this.collapseClick = () => {
304
+ const cards = Array.from(this.element.querySelectorAll("stzh-card"));
305
+ cards.forEach(card => {
306
+ if (card.collapsible) {
307
+ card.collapsed = !this.allCollapsed;
308
+ }
309
+ });
310
+ this.allCollapsed = !this.allCollapsed;
311
+ this.stzhCollapseAll.emit({
312
+ component: "stzh-card-list",
313
+ allCollapsed: this.allCollapsed
314
+ });
315
+ };
316
+ this.updateCollapsedState = () => {
317
+ const cards = Array.from(this.element.querySelectorAll("stzh-card"));
318
+ this.allCollapsed = !cards.some(card => !card.collapsed);
319
+ };
320
+ this.sortableGhostClone = (dragElement) => {
321
+ const [clonedElement, clonedStzhElement, originalStzhElement] = utils.cloneElement(dragElement);
322
+ if (clonedStzhElement
323
+ && originalStzhElement
324
+ && clonedStzhElement.tagName.toLowerCase() === "stzh-card") {
325
+ const clonedStzhElementCard = clonedStzhElement;
326
+ const originalStzhElementCard = originalStzhElement;
327
+ // copy every property that is not reflected to its attribute
328
+ clonedStzhElementCard.heading = originalStzhElementCard.heading;
329
+ clonedStzhElementCard.subtitle = originalStzhElementCard.subtitle;
330
+ clonedStzhElementCard.headerActions = originalStzhElementCard.headerActions;
331
+ clonedStzhElementCard.footerActions = originalStzhElementCard.footerActions;
332
+ clonedStzhElementCard.hideMovementActions = originalStzhElementCard.hideMovementActions;
333
+ }
334
+ return clonedElement;
335
+ };
336
+ this.localization = undefined;
337
+ this.layout = "fullwidth";
338
+ this.description = undefined;
339
+ this.showToggleLink = false;
340
+ this.sortableEnabled = false;
341
+ this.sortableDataIdAttribute = "data-id";
342
+ this.allCollapsed = false;
343
+ }
344
+ collapseListener() {
345
+ this.updateCollapsedState();
346
+ }
347
+ async componentWillLoad() {
348
+ if (!this.localization) {
349
+ this.localization = await translationUtils.fetchTranslations(this.element, "card-list");
350
+ }
351
+ }
352
+ componentDidLoad() {
353
+ this.updateCollapsedState();
354
+ }
355
+ render() {
356
+ const descriptionSlotUsed = utils.hasSlot(this.element, "description") || !!this.description;
357
+ const classes = {
358
+ "stzh-card-list": true,
359
+ "stzh-card-list--has-header": this.showToggleLink || descriptionSlotUsed,
360
+ [`stzh-card-list--layout-${this.layout}`]: !!this.layout
361
+ };
362
+ return (index.h(index.Host, null, index.h("div", { class: classes }, index.h("div", { class: "stzh-card-list__header" }, index.h("div", { class: "stzh-card-list__description" }, this.description ? this.description : index.h("slot", { name: "description" })), this.showToggleLink &&
363
+ index.h("stzh-link", { class: "stzh-card-list__switch", icon: this.allCollapsed ? "list-expanded" : "list-shrinked", label: this.allCollapsed ? this.localization.expandAll : this.localization.collapseAll, onClick: this.collapseClick })), index.h("stzh-sortable", { disabled: !this.sortableEnabled, dataIdAttribute: this.sortableDataIdAttribute, ghostClone: this.sortableGhostClone }, index.h("div", { class: "stzh-card-list__cards", role: "list" }, index.h("slot", null))))));
364
+ }
365
+ get element() { return index.getElement(this); }
366
+ };
367
+ StzhCardList.style = stzhCardListCss;
368
+
369
+ const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";
370
+
371
+ let chipSelectCounter = 0;
372
+ const StzhChipSelect = class {
373
+ constructor(hostRef) {
374
+ index.registerInstance(this, hostRef);
375
+ this.stzhChange = index.createEvent(this, "stzhChange", 7);
376
+ this._data = [];
377
+ this._dataDropdown = [];
378
+ this.chipClick = (data) => {
379
+ this.value = data.value;
380
+ this.stzhChange.emit({
381
+ component: "stzh-chip-select",
382
+ value: this.value
383
+ });
384
+ };
385
+ this.onDropdownChange = (event) => {
386
+ this.value = event.detail.value;
387
+ this.stzhChange.emit({
388
+ component: "stzh-chip-select",
389
+ value: this.value
390
+ });
391
+ };
392
+ this.localization = undefined;
393
+ this.data = [];
394
+ this.name = undefined;
395
+ this.label = "";
396
+ this.value = "";
397
+ this.description = undefined;
398
+ this.descriptionLong = undefined;
399
+ this.error = undefined;
400
+ this.invalid = false;
401
+ this.required = false;
402
+ this.disabled = false;
403
+ this.a11yDescribedby = "";
404
+ }
405
+ dataWatcher(newValue) {
406
+ if (typeof newValue === "string") {
407
+ this._data = JSON.parse(newValue);
408
+ }
409
+ else {
410
+ this._data = newValue;
411
+ }
412
+ this._dataDropdown = this._data.map((data) => {
413
+ return {
414
+ text: `${data.label} (${data.counter})`,
415
+ value: data.value
416
+ };
417
+ });
418
+ }
419
+ errorWatcher(newValue) {
420
+ if (typeof newValue === "string") {
421
+ try {
422
+ this._error = JSON.parse(newValue);
423
+ }
424
+ catch (e) {
425
+ if (newValue) {
426
+ this._error = [newValue];
427
+ }
428
+ else {
429
+ this._error = [];
430
+ }
431
+ }
432
+ }
433
+ else if (newValue) {
434
+ this._error = newValue;
435
+ }
436
+ else {
437
+ this._error = [];
438
+ }
439
+ this.invalid = this._error.length > 0;
440
+ }
441
+ async componentWillLoad() {
442
+ this.inputId = `stzh-chip-select-${chipSelectCounter++}`;
443
+ this.dataWatcher(this.data);
444
+ this.errorWatcher(this.error);
445
+ if (!this.localization) {
446
+ this.localization = await translationUtils.fetchTranslations(this.element, "chip-select");
447
+ }
448
+ }
449
+ render() {
450
+ const descriptionUsed = !!this.description;
451
+ const descriptionLongUsed = !!this.descriptionLong;
452
+ const errorUsed = !!this.error;
453
+ const classes = {
454
+ "stzh-chip-select": true,
455
+ "stzh-chip-select--has-description": descriptionUsed,
456
+ "stzh-chip-select--has-description-long": descriptionLongUsed,
457
+ "stzh-chip-select--has-error": errorUsed,
458
+ "stzh-chip-select--is-invalid": this.invalid,
459
+ "stzh-chip-select--is-disabled": this.disabled,
460
+ "stzh-chip-select--is-required": this.required
461
+ };
462
+ return (index.h(index.Host, null, index.h("div", { class: classes }, index.h("input", { type: "hidden", name: this.name, value: this.value }), index.h("div", { class: "stzh-chip-select__chips", role: "listbox" }, this._data.map((data) => (index.h("stzh-chip", { role: "option", class: "stzh-chip-select__chip", label: data.label, counter: data.counter, icon: data.icon, type: data.type, variant: data.variant, size: data.size, disabled: this.disabled || data.disabled, active: this.value === data.value, "aria-selected": this.value === data.value ? "true" : null, a11yDescribedby: `${this.inputId}-description ${this.a11yDescribedby}`, onClick: () => this.chipClick(data) })))), index.h(stzhInputDescription.StzhInputDescription, { classPrefix: "stzh-chip-select", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel }), index.h("stzh-dropdown", { class: "stzh-chip-select__dropdown", disabled: this.disabled, error: this._error, description: this.description, descriptionLong: this.descriptionLong, required: this.required, invalid: this.invalid, items: [this.value], label: this.label, options: this._dataDropdown, onStzhChange: this.onDropdownChange }))));
463
+ }
464
+ get element() { return index.getElement(this); }
465
+ static get watchers() { return {
466
+ "data": ["dataWatcher"],
467
+ "error": ["errorWatcher"]
468
+ }; }
469
+ };
470
+ StzhChipSelect.style = stzhChipSelectCss;
471
+
472
+ exports.stzh_card = StzhCard;
473
+ exports.stzh_card_list = StzhCardList;
474
+ exports.stzh_chip_select = StzhChipSelect;