@oiz/stzh-components 4.6.0-beta1 → 4.6.0-beta2

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 (948) hide show
  1. package/dist/cjs/{app-globals-6a08057f.js → app-globals-7501aa08.js} +2 -2
  2. package/dist/cjs/{app-globals-6a08057f.js.map → app-globals-7501aa08.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +9 -9
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  12. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  13. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  14. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  18. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  23. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  26. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-components.cjs.js +2 -2
  29. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-contact.cjs.entry.js +4 -2
  31. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  35. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +9 -9
  38. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  43. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
  53. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
  54. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  58. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  62. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  64. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  68. package/dist/cjs/stzh-loader_2.cjs.entry.js +2 -2
  69. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  82. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +2 -2
  87. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -1
  88. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +41 -14
  89. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  90. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  95. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  101. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  102. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  109. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  110. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  114. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  119. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  123. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  124. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  125. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  126. package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +6 -3
  127. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +37 -1
  128. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  129. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +11 -24
  130. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  131. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  132. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  133. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  134. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  135. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  136. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  137. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  138. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  139. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  140. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  141. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  142. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  143. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  144. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  145. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  146. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  147. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  148. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  149. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  150. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  151. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  152. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  153. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.css +26 -35
  155. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +40 -13
  156. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  157. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +2 -2
  158. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +35 -22
  159. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  161. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  162. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  163. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  164. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  165. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  166. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  167. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  168. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  169. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  170. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  171. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  172. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  173. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  174. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  175. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  176. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  177. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  178. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  179. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  180. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  181. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  182. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  183. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  184. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  185. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  186. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  187. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  188. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  189. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  190. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  191. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  192. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  193. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  194. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  195. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  196. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  197. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  198. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  199. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  200. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  201. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  202. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  203. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  204. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  205. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  206. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  207. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  208. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  209. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  210. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  211. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  212. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  213. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  214. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  215. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  216. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  217. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  218. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  219. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  220. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  221. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  222. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  223. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  224. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  225. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  226. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  227. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  228. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  229. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  230. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  231. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  232. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  233. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  234. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  235. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  236. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  237. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  238. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  239. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  240. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  241. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  242. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  243. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  244. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  245. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  246. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  247. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  248. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  249. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  250. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  251. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  252. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  253. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  254. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  255. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  256. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  257. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  258. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  259. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  260. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  261. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  262. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  263. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  264. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  265. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  266. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  267. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  268. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  269. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  270. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  271. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  272. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  273. package/dist/components/index.js +1 -1
  274. package/dist/components/{p-69e0c8d2.js → p-00bfe201.js} +3 -3
  275. package/dist/components/{p-69e0c8d2.js.map → p-00bfe201.js.map} +1 -1
  276. package/dist/components/{p-c4fccd89.js → p-07336076.js} +3 -3
  277. package/dist/components/{p-c4fccd89.js.map → p-07336076.js.map} +1 -1
  278. package/dist/components/{p-a2828d2e.js → p-08363886.js} +9 -9
  279. package/dist/components/{p-a2828d2e.js.map → p-08363886.js.map} +1 -1
  280. package/dist/components/{p-9aff1354.js → p-0d14dffd.js} +7 -7
  281. package/dist/components/{p-9aff1354.js.map → p-0d14dffd.js.map} +1 -1
  282. package/dist/components/{p-111f7e01.js → p-10d1bf15.js} +4 -4
  283. package/dist/components/{p-111f7e01.js.map → p-10d1bf15.js.map} +1 -1
  284. package/dist/components/{p-ab25d4da.js → p-2f249d24.js} +7 -7
  285. package/dist/components/{p-ab25d4da.js.map → p-2f249d24.js.map} +1 -1
  286. package/dist/components/{p-b6faf10a.js → p-356399a0.js} +2 -2
  287. package/dist/components/{p-b6faf10a.js.map → p-356399a0.js.map} +1 -1
  288. package/dist/components/{p-5571eadc.js → p-39b23489.js} +2 -2
  289. package/dist/components/{p-5571eadc.js.map → p-39b23489.js.map} +1 -1
  290. package/dist/components/{p-5b94ed4e.js → p-3b8bf944.js} +7 -7
  291. package/dist/components/{p-5b94ed4e.js.map → p-3b8bf944.js.map} +1 -1
  292. package/dist/components/{p-e551f11e.js → p-3c00c24c.js} +9 -9
  293. package/dist/components/{p-e551f11e.js.map → p-3c00c24c.js.map} +1 -1
  294. package/dist/components/{p-3f3349b1.js → p-3de13c90.js} +8 -8
  295. package/dist/components/{p-3f3349b1.js.map → p-3de13c90.js.map} +1 -1
  296. package/dist/components/{p-dd1c0c0c.js → p-42e86bbd.js} +2 -2
  297. package/dist/components/{p-dd1c0c0c.js.map → p-42e86bbd.js.map} +1 -1
  298. package/dist/components/{p-7d7ac6fc.js → p-476fe818.js} +12 -12
  299. package/dist/components/{p-7d7ac6fc.js.map → p-476fe818.js.map} +1 -1
  300. package/dist/components/{p-e5cf7853.js → p-4c4a22d3.js} +2 -2
  301. package/dist/components/{p-e5cf7853.js.map → p-4c4a22d3.js.map} +1 -1
  302. package/dist/components/{p-b12e2861.js → p-4f39842d.js} +5 -5
  303. package/dist/components/{p-b12e2861.js.map → p-4f39842d.js.map} +1 -1
  304. package/dist/components/{p-97868e7a.js → p-556af4a4.js} +2 -2
  305. package/dist/components/{p-97868e7a.js.map → p-556af4a4.js.map} +1 -1
  306. package/dist/components/{p-2502ff26.js → p-5aa4ca6b.js} +2 -2
  307. package/dist/components/{p-2502ff26.js.map → p-5aa4ca6b.js.map} +1 -1
  308. package/dist/components/{p-d48fd359.js → p-60fc78bb.js} +7 -7
  309. package/dist/components/{p-d48fd359.js.map → p-60fc78bb.js.map} +1 -1
  310. package/dist/components/p-692cd6d0.js +90 -0
  311. package/dist/components/p-692cd6d0.js.map +1 -0
  312. package/dist/components/{p-1cfd0791.js → p-6dcd63da.js} +5 -5
  313. package/dist/components/{p-1cfd0791.js.map → p-6dcd63da.js.map} +1 -1
  314. package/dist/components/{p-18196788.js → p-700a2919.js} +2 -2
  315. package/dist/components/{p-18196788.js.map → p-700a2919.js.map} +1 -1
  316. package/dist/components/{p-963d59bf.js → p-7121e1bf.js} +3 -3
  317. package/dist/components/{p-963d59bf.js.map → p-7121e1bf.js.map} +1 -1
  318. package/dist/components/{p-506a00fc.js → p-7171b3a1.js} +10 -10
  319. package/dist/components/{p-506a00fc.js.map → p-7171b3a1.js.map} +1 -1
  320. package/dist/components/{p-570cd361.js → p-74ae8080.js} +6 -6
  321. package/dist/components/{p-570cd361.js.map → p-74ae8080.js.map} +1 -1
  322. package/dist/components/{p-02c5b1ba.js → p-78546000.js} +5 -5
  323. package/dist/components/{p-02c5b1ba.js.map → p-78546000.js.map} +1 -1
  324. package/dist/components/{p-479db6c6.js → p-7a4eaab2.js} +2 -2
  325. package/dist/components/{p-479db6c6.js.map → p-7a4eaab2.js.map} +1 -1
  326. package/dist/components/{p-36fb6c94.js → p-85745626.js} +2 -2
  327. package/dist/components/{p-36fb6c94.js.map → p-85745626.js.map} +1 -1
  328. package/dist/components/{p-72101ea0.js → p-85a0cd24.js} +2 -2
  329. package/dist/components/{p-72101ea0.js.map → p-85a0cd24.js.map} +1 -1
  330. package/dist/components/{p-72e977cc.js → p-893776e9.js} +3 -3
  331. package/dist/components/{p-72e977cc.js.map → p-893776e9.js.map} +1 -1
  332. package/dist/components/{p-387454b3.js → p-8c638ee6.js} +3 -3
  333. package/dist/components/{p-387454b3.js.map → p-8c638ee6.js.map} +1 -1
  334. package/dist/components/{p-34267046.js → p-8ea6e1c0.js} +2 -2
  335. package/dist/components/{p-34267046.js.map → p-8ea6e1c0.js.map} +1 -1
  336. package/dist/components/{p-d6702563.js → p-8ef5faf0.js} +9 -9
  337. package/dist/components/{p-d6702563.js.map → p-8ef5faf0.js.map} +1 -1
  338. package/dist/components/{p-15ee297d.js → p-8fb1ee85.js} +2 -2
  339. package/dist/components/{p-15ee297d.js.map → p-8fb1ee85.js.map} +1 -1
  340. package/dist/components/{p-6e10e5b1.js → p-9574ea75.js} +7 -7
  341. package/dist/components/{p-6e10e5b1.js.map → p-9574ea75.js.map} +1 -1
  342. package/dist/components/{p-613937f1.js → p-95b36277.js} +4 -4
  343. package/dist/components/{p-613937f1.js.map → p-95b36277.js.map} +1 -1
  344. package/dist/components/{p-486bf53e.js → p-95d2855a.js} +14 -14
  345. package/dist/components/{p-486bf53e.js.map → p-95d2855a.js.map} +1 -1
  346. package/dist/components/{p-aeb5dbdc.js → p-9aa3fad7.js} +6 -6
  347. package/dist/components/{p-aeb5dbdc.js.map → p-9aa3fad7.js.map} +1 -1
  348. package/dist/components/{p-f7920d42.js → p-9ad22ce8.js} +3 -3
  349. package/dist/components/{p-f7920d42.js.map → p-9ad22ce8.js.map} +1 -1
  350. package/dist/components/{p-18ba315e.js → p-9c18e9fe.js} +2 -2
  351. package/dist/components/{p-18ba315e.js.map → p-9c18e9fe.js.map} +1 -1
  352. package/dist/components/{p-ea3c0ed4.js → p-9dba6e5f.js} +6 -6
  353. package/dist/components/{p-ea3c0ed4.js.map → p-9dba6e5f.js.map} +1 -1
  354. package/dist/components/{p-14716cc2.js → p-a02372f5.js} +2 -2
  355. package/dist/components/{p-14716cc2.js.map → p-a02372f5.js.map} +1 -1
  356. package/dist/components/{p-7c4e756c.js → p-a2659715.js} +2 -2
  357. package/dist/components/{p-7c4e756c.js.map → p-a2659715.js.map} +1 -1
  358. package/dist/components/{p-c5124a8b.js → p-a3c5c1b3.js} +2 -2
  359. package/dist/components/{p-c5124a8b.js.map → p-a3c5c1b3.js.map} +1 -1
  360. package/dist/components/{p-a0023430.js → p-a5acb217.js} +3 -3
  361. package/dist/components/{p-a0023430.js.map → p-a5acb217.js.map} +1 -1
  362. package/dist/components/{p-12c94697.js → p-a7393afc.js} +14 -14
  363. package/dist/components/{p-12c94697.js.map → p-a7393afc.js.map} +1 -1
  364. package/dist/components/{p-c5a240bd.js → p-a773eb1b.js} +6 -6
  365. package/dist/components/{p-c5a240bd.js.map → p-a773eb1b.js.map} +1 -1
  366. package/dist/components/{p-6897315f.js → p-a87c8ead.js} +2 -2
  367. package/dist/components/{p-6897315f.js.map → p-a87c8ead.js.map} +1 -1
  368. package/dist/components/{p-63c4d8c4.js → p-ace11500.js} +3 -3
  369. package/dist/components/{p-63c4d8c4.js.map → p-ace11500.js.map} +1 -1
  370. package/dist/components/{p-151a98a9.js → p-ad34b5e0.js} +2 -2
  371. package/dist/components/{p-151a98a9.js.map → p-ad34b5e0.js.map} +1 -1
  372. package/dist/components/{p-109076c9.js → p-b03368b3.js} +7 -7
  373. package/dist/components/{p-109076c9.js.map → p-b03368b3.js.map} +1 -1
  374. package/dist/components/{p-98aa0418.js → p-b2eca173.js} +4 -4
  375. package/dist/components/{p-98aa0418.js.map → p-b2eca173.js.map} +1 -1
  376. package/dist/components/{p-26edabbb.js → p-b35195c8.js} +4 -4
  377. package/dist/components/{p-26edabbb.js.map → p-b35195c8.js.map} +1 -1
  378. package/dist/components/{p-be365aa5.js → p-b5caf3f4.js} +3 -3
  379. package/dist/components/{p-be365aa5.js.map → p-b5caf3f4.js.map} +1 -1
  380. package/dist/components/{p-4a78990f.js → p-b84d0233.js} +4 -4
  381. package/dist/components/{p-4a78990f.js.map → p-b84d0233.js.map} +1 -1
  382. package/dist/components/{p-deb38d3f.js → p-b8f2532a.js} +5 -5
  383. package/dist/components/{p-deb38d3f.js.map → p-b8f2532a.js.map} +1 -1
  384. package/dist/components/{p-569f84cb.js → p-ba8edf1e.js} +2 -2
  385. package/dist/components/{p-569f84cb.js.map → p-ba8edf1e.js.map} +1 -1
  386. package/dist/components/{p-e3182412.js → p-bb38e284.js} +3 -3
  387. package/dist/components/{p-e3182412.js.map → p-bb38e284.js.map} +1 -1
  388. package/dist/components/{p-50945c16.js → p-c5aa3de6.js} +8 -8
  389. package/dist/components/{p-50945c16.js.map → p-c5aa3de6.js.map} +1 -1
  390. package/dist/components/{p-8d606617.js → p-cd95008d.js} +2 -2
  391. package/dist/components/{p-8d606617.js.map → p-cd95008d.js.map} +1 -1
  392. package/dist/components/{p-12bdcf8a.js → p-cdbd62e3.js} +12 -12
  393. package/dist/components/{p-12bdcf8a.js.map → p-cdbd62e3.js.map} +1 -1
  394. package/dist/components/{p-c06cc6c5.js → p-ce788661.js} +2 -2
  395. package/dist/components/{p-c06cc6c5.js.map → p-ce788661.js.map} +1 -1
  396. package/dist/components/{p-551fa57d.js → p-d0ecd5c0.js} +3 -3
  397. package/dist/components/{p-551fa57d.js.map → p-d0ecd5c0.js.map} +1 -1
  398. package/dist/components/{p-1816eeeb.js → p-d1dcb448.js} +6 -6
  399. package/dist/components/{p-1816eeeb.js.map → p-d1dcb448.js.map} +1 -1
  400. package/dist/components/{p-fdc914f5.js → p-ddb9cb15.js} +7 -7
  401. package/dist/components/{p-fdc914f5.js.map → p-ddb9cb15.js.map} +1 -1
  402. package/dist/components/{p-8cefcb61.js → p-e4ff57a8.js} +4 -4
  403. package/dist/components/{p-8cefcb61.js.map → p-e4ff57a8.js.map} +1 -1
  404. package/dist/components/{p-36681d03.js → p-f020ba27.js} +3 -3
  405. package/dist/components/{p-36681d03.js.map → p-f020ba27.js.map} +1 -1
  406. package/dist/components/{p-3efe43d2.js → p-f3c5a9d6.js} +3 -3
  407. package/dist/components/{p-3efe43d2.js.map → p-f3c5a9d6.js.map} +1 -1
  408. package/dist/components/{p-da83a0ad.js → p-f625c800.js} +11 -11
  409. package/dist/components/{p-da83a0ad.js.map → p-f625c800.js.map} +1 -1
  410. package/dist/components/{p-6af552c7.js → p-fae759aa.js} +6 -6
  411. package/dist/components/{p-6af552c7.js.map → p-fae759aa.js.map} +1 -1
  412. package/dist/components/{p-902ed395.js → p-ffbf0fbb.js} +7 -7
  413. package/dist/components/{p-902ed395.js.map → p-ffbf0fbb.js.map} +1 -1
  414. package/dist/components/stzh-accordion-item.js +1 -1
  415. package/dist/components/stzh-accordion.js +1 -1
  416. package/dist/components/stzh-actions.js +1 -1
  417. package/dist/components/stzh-actionset.js +1 -1
  418. package/dist/components/stzh-amount.js +9 -9
  419. package/dist/components/stzh-anchornav.js +5 -5
  420. package/dist/components/stzh-app-nav.js +1 -1
  421. package/dist/components/stzh-appointments.js +13 -13
  422. package/dist/components/stzh-archivelist.js +6 -6
  423. package/dist/components/stzh-audio.js +7 -7
  424. package/dist/components/stzh-badge.js +1 -1
  425. package/dist/components/stzh-banner.js +3 -3
  426. package/dist/components/stzh-bathstatus-item.js +1 -1
  427. package/dist/components/stzh-bathstatus-list.js +6 -6
  428. package/dist/components/stzh-breadcrumb.js +1 -1
  429. package/dist/components/stzh-button.js +1 -1
  430. package/dist/components/stzh-buttongroup.js +1 -1
  431. package/dist/components/stzh-calendar.js +1 -1
  432. package/dist/components/stzh-card-navigation.js +2 -2
  433. package/dist/components/stzh-card-searchresult.js +14 -14
  434. package/dist/components/stzh-card-superteaser.js +13 -13
  435. package/dist/components/stzh-card.js +1 -1
  436. package/dist/components/stzh-cardlist.js +1 -1
  437. package/dist/components/stzh-carousel.js +1 -1
  438. package/dist/components/stzh-cell.js +1 -1
  439. package/dist/components/stzh-chart.js +1 -1
  440. package/dist/components/stzh-checkbox.js +1 -1
  441. package/dist/components/stzh-checkboxgroup.js +6 -6
  442. package/dist/components/stzh-chip.js +1 -1
  443. package/dist/components/stzh-chipgroup.js +1 -1
  444. package/dist/components/stzh-chipselect.js +1 -1
  445. package/dist/components/stzh-clamp.js +1 -1
  446. package/dist/components/stzh-company-logo.js +1 -1
  447. package/dist/components/stzh-contact-cv.js +4 -4
  448. package/dist/components/stzh-contact.js +11 -7
  449. package/dist/components/stzh-contact.js.map +1 -1
  450. package/dist/components/stzh-container.js +1 -1
  451. package/dist/components/stzh-content.js +1 -1
  452. package/dist/components/stzh-cspace.js +1 -1
  453. package/dist/components/stzh-cta.js +3 -3
  454. package/dist/components/stzh-datalist-item.js +1 -1
  455. package/dist/components/stzh-datalist.js +1 -1
  456. package/dist/components/stzh-datamessagelist-item.js +11 -11
  457. package/dist/components/stzh-datamessagelist.js +1 -1
  458. package/dist/components/stzh-datatable.js +16 -16
  459. package/dist/components/stzh-datepicker.js +1 -1
  460. package/dist/components/stzh-daterange.js +4 -4
  461. package/dist/components/stzh-details.js +1 -1
  462. package/dist/components/stzh-dialog.js +1 -1
  463. package/dist/components/stzh-disturber.js +4 -4
  464. package/dist/components/stzh-dropdown.js +1 -1
  465. package/dist/components/stzh-editor.js +4 -4
  466. package/dist/components/stzh-eventdata.js +1 -1
  467. package/dist/components/stzh-eventinfo.js +5 -5
  468. package/dist/components/stzh-feedreader-item.js +2 -2
  469. package/dist/components/stzh-feedreader.js +8 -8
  470. package/dist/components/stzh-fieldset.js +1 -1
  471. package/dist/components/stzh-figure.js +1 -1
  472. package/dist/components/stzh-flyingfocus.js +1 -1
  473. package/dist/components/stzh-footer.js +4 -4
  474. package/dist/components/stzh-gallery.js +8 -8
  475. package/dist/components/stzh-geo-ref-data.js +25 -25
  476. package/dist/components/stzh-ghettobox.js +1 -1
  477. package/dist/components/stzh-header.js +1 -1
  478. package/dist/components/stzh-heading.js +1 -1
  479. package/dist/components/stzh-homepage-search.js +2 -2
  480. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  481. package/dist/components/stzh-hr.js +1 -1
  482. package/dist/components/stzh-hspace.js +1 -1
  483. package/dist/components/stzh-http-error.js +7 -7
  484. package/dist/components/stzh-icon.js +1 -1
  485. package/dist/components/stzh-iframe.js +1 -1
  486. package/dist/components/stzh-imagecomparison.js +3 -3
  487. package/dist/components/stzh-input.js +1 -1
  488. package/dist/components/stzh-invert.js +1 -1
  489. package/dist/components/stzh-link.js +1 -1
  490. package/dist/components/stzh-linklist.js +10 -10
  491. package/dist/components/stzh-list-item.js +1 -1
  492. package/dist/components/stzh-list.js +1 -1
  493. package/dist/components/stzh-loader.js +1 -1
  494. package/dist/components/stzh-loadingbar.js +1 -1
  495. package/dist/components/stzh-menu-item.js +1 -1
  496. package/dist/components/stzh-menu.js +1 -1
  497. package/dist/components/stzh-message.js +1 -1
  498. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  499. package/dist/components/stzh-monthyearpicker.js +5 -5
  500. package/dist/components/stzh-offline-indicator.js +6 -6
  501. package/dist/components/stzh-olmap.js +1 -1
  502. package/dist/components/stzh-overlay.js +1 -1
  503. package/dist/components/stzh-page-skiplinks.js +1 -1
  504. package/dist/components/stzh-pagebottom.js +8 -8
  505. package/dist/components/stzh-pagecontent.js +1 -1
  506. package/dist/components/stzh-pagetitle-hero.js +1 -1
  507. package/dist/components/stzh-pagetitle-home.js +2 -2
  508. package/dist/components/stzh-pagetitle.js +2 -2
  509. package/dist/components/stzh-pagination.js +1 -1
  510. package/dist/components/stzh-panorama.js +12 -12
  511. package/dist/components/stzh-pi-content-navigation.js +3 -3
  512. package/dist/components/stzh-pi-menu.js +3 -3
  513. package/dist/components/stzh-pi-pagetitle.js +2 -2
  514. package/dist/components/stzh-pi-quote.js +1 -1
  515. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  516. package/dist/components/stzh-pi-teaser-layout.js +42 -15
  517. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  518. package/dist/components/stzh-pi-teaser.js +2 -2
  519. package/dist/components/stzh-pkzh-qr.js +19 -19
  520. package/dist/components/stzh-poicard.js +1 -1
  521. package/dist/components/stzh-poilist.js +18 -18
  522. package/dist/components/stzh-popover.js +1 -1
  523. package/dist/components/stzh-print.js +1 -1
  524. package/dist/components/stzh-quote.js +1 -1
  525. package/dist/components/stzh-radio.js +1 -1
  526. package/dist/components/stzh-radiogroup.js +1 -1
  527. package/dist/components/stzh-ratio.js +1 -1
  528. package/dist/components/stzh-readspeaker.js +5 -5
  529. package/dist/components/stzh-richtext.js +1 -1
  530. package/dist/components/stzh-row.js +1 -1
  531. package/dist/components/stzh-saptcha.js +8 -8
  532. package/dist/components/stzh-scrollup.js +1 -1
  533. package/dist/components/stzh-search.js +17 -17
  534. package/dist/components/stzh-section.js +2 -2
  535. package/dist/components/stzh-share.js +1 -1
  536. package/dist/components/stzh-show.js +1 -1
  537. package/dist/components/stzh-sitemap.js +9 -9
  538. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  539. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  540. package/dist/components/stzh-skiplink.js +1 -1
  541. package/dist/components/stzh-socialmediastream-item.js +1 -1
  542. package/dist/components/stzh-socialmediastream.js +6 -6
  543. package/dist/components/stzh-sortable.js +1 -1
  544. package/dist/components/stzh-space.js +1 -1
  545. package/dist/components/stzh-status.js +1 -1
  546. package/dist/components/stzh-stepper-item.js +1 -1
  547. package/dist/components/stzh-stepper.js +5 -5
  548. package/dist/components/stzh-sticky-actions.js +2 -2
  549. package/dist/components/stzh-sticky.js +1 -1
  550. package/dist/components/stzh-table.js +1 -1
  551. package/dist/components/stzh-tag.js +1 -1
  552. package/dist/components/stzh-text.js +1 -1
  553. package/dist/components/stzh-textandimage.js +1 -1
  554. package/dist/components/stzh-timeline-item.js +3 -3
  555. package/dist/components/stzh-timeline.js +1 -1
  556. package/dist/components/stzh-timepicker.js +5 -5
  557. package/dist/components/stzh-toast.js +1 -1
  558. package/dist/components/stzh-toastbar.js +1 -1
  559. package/dist/components/stzh-toggle.js +6 -6
  560. package/dist/components/stzh-tooltip.js +1 -1
  561. package/dist/components/stzh-twocolumns.js +1 -1
  562. package/dist/components/stzh-upload.js +14 -14
  563. package/dist/components/stzh-vbz-carousel.js +1 -1
  564. package/dist/components/stzh-vbz-intro.js +4 -4
  565. package/dist/components/stzh-vbz-linechip.js +1 -1
  566. package/dist/components/stzh-vbz-majorticker.js +6 -6
  567. package/dist/components/stzh-vbz-ticker.js +6 -6
  568. package/dist/components/stzh-visuallyhidden.js +2 -2
  569. package/dist/components/stzh-vspace.js +2 -2
  570. package/dist/components/stzh-youtube.js +6 -6
  571. package/dist/esm/{app-globals-9b613e90.js → app-globals-c4439d36.js} +2 -2
  572. package/dist/esm/{app-globals-9b613e90.js.map → app-globals-c4439d36.js.map} +1 -1
  573. package/dist/esm/loader.js +2 -2
  574. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  575. package/dist/esm/stzh-actions_6.entry.js +9 -9
  576. package/dist/esm/stzh-actionset.entry.js +5 -5
  577. package/dist/esm/stzh-amount.entry.js +1 -1
  578. package/dist/esm/stzh-anchornav.entry.js +1 -1
  579. package/dist/esm/stzh-app-nav.entry.js +1 -1
  580. package/dist/esm/stzh-appointments.entry.js +1 -1
  581. package/dist/esm/stzh-audio.entry.js +3 -3
  582. package/dist/esm/stzh-badge_3.entry.js +3 -3
  583. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  584. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  585. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  586. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  587. package/dist/esm/stzh-card.entry.js +4 -4
  588. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  589. package/dist/esm/stzh-carousel.entry.js +2 -2
  590. package/dist/esm/stzh-chart.entry.js +1 -1
  591. package/dist/esm/stzh-checkbox.entry.js +3 -3
  592. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  593. package/dist/esm/stzh-chip.entry.js +1 -1
  594. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  595. package/dist/esm/stzh-chipselect.entry.js +4 -4
  596. package/dist/esm/stzh-clamp.entry.js +2 -2
  597. package/dist/esm/stzh-company-logo.entry.js +1 -1
  598. package/dist/esm/stzh-components.js +2 -2
  599. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  600. package/dist/esm/stzh-contact.entry.js +4 -2
  601. package/dist/esm/stzh-contact.entry.js.map +1 -1
  602. package/dist/esm/stzh-content.entry.js +1 -1
  603. package/dist/esm/stzh-cta.entry.js +1 -1
  604. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  605. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  606. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  607. package/dist/esm/stzh-datepicker_3.entry.js +9 -9
  608. package/dist/esm/stzh-daterange.entry.js +1 -1
  609. package/dist/esm/stzh-details.entry.js +1 -1
  610. package/dist/esm/stzh-dialog.entry.js +2 -2
  611. package/dist/esm/stzh-disturber.entry.js +1 -1
  612. package/dist/esm/stzh-dropdown.entry.js +4 -4
  613. package/dist/esm/stzh-editor.entry.js +1 -1
  614. package/dist/esm/stzh-eventdata.entry.js +1 -1
  615. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  616. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  617. package/dist/esm/stzh-feedreader.entry.js +1 -1
  618. package/dist/esm/stzh-figure.entry.js +1 -1
  619. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  620. package/dist/esm/stzh-footer.entry.js +1 -1
  621. package/dist/esm/stzh-gallery.entry.js +1 -1
  622. package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
  623. package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
  624. package/dist/esm/stzh-header_2.entry.js +1 -1
  625. package/dist/esm/stzh-heading.entry.js +1 -1
  626. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  627. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  628. package/dist/esm/stzh-hr.entry.js +1 -1
  629. package/dist/esm/stzh-hspace.entry.js +2 -2
  630. package/dist/esm/stzh-http-error.entry.js +1 -1
  631. package/dist/esm/stzh-iframe.entry.js +4 -4
  632. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  633. package/dist/esm/stzh-input.entry.js +5 -5
  634. package/dist/esm/stzh-invert.entry.js +1 -1
  635. package/dist/esm/stzh-link.entry.js +1 -1
  636. package/dist/esm/stzh-linklist.entry.js +1 -1
  637. package/dist/esm/stzh-list_2.entry.js +2 -2
  638. package/dist/esm/stzh-loader_2.entry.js +2 -2
  639. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  640. package/dist/esm/stzh-menu_2.entry.js +2 -2
  641. package/dist/esm/stzh-message.entry.js +2 -2
  642. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  643. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  644. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  645. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  646. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  647. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  648. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  649. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  650. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  651. package/dist/esm/stzh-panorama.entry.js +2 -2
  652. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  653. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  654. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  655. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  656. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
  657. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
  658. package/dist/esm/stzh-pi-teaser-layout.entry.js +41 -14
  659. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  660. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  661. package/dist/esm/stzh-poicard.entry.js +1 -1
  662. package/dist/esm/stzh-poilist.entry.js +1 -1
  663. package/dist/esm/stzh-popover.entry.js +1 -1
  664. package/dist/esm/stzh-print_2.entry.js +2 -2
  665. package/dist/esm/stzh-quote.entry.js +1 -1
  666. package/dist/esm/stzh-ratio.entry.js +1 -1
  667. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  668. package/dist/esm/stzh-saptcha.entry.js +2 -2
  669. package/dist/esm/stzh-scrollup.entry.js +1 -1
  670. package/dist/esm/stzh-search.entry.js +2 -2
  671. package/dist/esm/stzh-section.entry.js +2 -2
  672. package/dist/esm/stzh-sitemap.entry.js +1 -1
  673. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  674. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  675. package/dist/esm/stzh-skiplink.entry.js +1 -1
  676. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  677. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  678. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  679. package/dist/esm/stzh-stepper.entry.js +3 -3
  680. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  681. package/dist/esm/stzh-sticky.entry.js +1 -1
  682. package/dist/esm/stzh-table.entry.js +1 -1
  683. package/dist/esm/stzh-text.entry.js +2 -2
  684. package/dist/esm/stzh-textandimage.entry.js +1 -1
  685. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  686. package/dist/esm/stzh-timeline.entry.js +1 -1
  687. package/dist/esm/stzh-timepicker.entry.js +1 -1
  688. package/dist/esm/stzh-toast_2.entry.js +3 -3
  689. package/dist/esm/stzh-toggle.entry.js +3 -3
  690. package/dist/esm/stzh-tooltip.entry.js +1 -1
  691. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  692. package/dist/esm/stzh-upload.entry.js +3 -3
  693. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  694. package/dist/esm/stzh-vspace.entry.js +2 -2
  695. package/dist/esm/stzh-youtube.entry.js +1 -1
  696. package/dist/stzh-components/{p-f76bc9ba.entry.js → p-015a35bf.entry.js} +2 -2
  697. package/dist/stzh-components/{p-a42eb9ff.entry.js → p-03c2d367.entry.js} +2 -2
  698. package/dist/stzh-components/{p-7ddf3d51.entry.js → p-03e628b9.entry.js} +2 -2
  699. package/dist/stzh-components/{p-c9195859.entry.js → p-04c9ec6b.entry.js} +2 -2
  700. package/dist/stzh-components/{p-dcba6464.entry.js → p-0685f2ae.entry.js} +2 -2
  701. package/dist/stzh-components/{p-810e15c1.entry.js → p-0d54bcfc.entry.js} +2 -2
  702. package/dist/stzh-components/{p-913cc4d4.entry.js → p-0f546f1c.entry.js} +2 -2
  703. package/dist/stzh-components/{p-38a9f136.entry.js → p-1187dcb3.entry.js} +2 -2
  704. package/dist/stzh-components/{p-0c340dcf.entry.js → p-12146af8.entry.js} +2 -2
  705. package/dist/stzh-components/p-15dc154c.entry.js +2 -0
  706. package/dist/stzh-components/p-15dc154c.entry.js.map +1 -0
  707. package/dist/stzh-components/{p-e973ae31.entry.js → p-1617973f.entry.js} +2 -2
  708. package/dist/stzh-components/{p-0f29cccb.entry.js → p-16552049.entry.js} +2 -2
  709. package/dist/stzh-components/{p-ad9d3926.entry.js → p-1844d99e.entry.js} +2 -2
  710. package/dist/stzh-components/{p-488de0c8.entry.js → p-187fd37a.entry.js} +2 -2
  711. package/dist/stzh-components/{p-fe64fe26.entry.js → p-1bb06be6.entry.js} +2 -2
  712. package/dist/stzh-components/{p-5e0d522c.entry.js → p-1f4f76b1.entry.js} +2 -2
  713. package/dist/stzh-components/{p-4cbc6aaa.entry.js → p-1f668f53.entry.js} +2 -2
  714. package/dist/stzh-components/p-2096b877.entry.js +2 -0
  715. package/dist/stzh-components/p-2096b877.entry.js.map +1 -0
  716. package/dist/stzh-components/{p-838a40cd.entry.js → p-21d2d28d.entry.js} +2 -2
  717. package/dist/stzh-components/{p-609a9d4a.entry.js → p-26792e28.entry.js} +2 -2
  718. package/dist/stzh-components/{p-d29ff5f4.entry.js → p-2a0fa100.entry.js} +2 -2
  719. package/dist/stzh-components/{p-c475f153.entry.js → p-2d50d767.entry.js} +2 -2
  720. package/dist/stzh-components/{p-d3b51ee5.entry.js → p-3056b956.entry.js} +2 -2
  721. package/dist/stzh-components/{p-0c1c23b6.entry.js → p-3071b6f4.entry.js} +2 -2
  722. package/dist/stzh-components/{p-65f98e78.entry.js → p-32448e73.entry.js} +2 -2
  723. package/dist/stzh-components/{p-d956a33d.entry.js → p-34c68f20.entry.js} +2 -2
  724. package/dist/stzh-components/{p-3be9615c.entry.js → p-35be1f2c.entry.js} +2 -2
  725. package/dist/stzh-components/{p-1c858aa2.entry.js → p-38104164.entry.js} +2 -2
  726. package/dist/stzh-components/p-3bc24ea1.entry.js +2 -0
  727. package/dist/stzh-components/p-3bc24ea1.entry.js.map +1 -0
  728. package/dist/stzh-components/{p-ce1a02f6.entry.js → p-3d3d0515.entry.js} +2 -2
  729. package/dist/stzh-components/{p-0422500c.entry.js → p-42a3a0df.entry.js} +2 -2
  730. package/dist/stzh-components/{p-a58b97fc.entry.js → p-450c13f2.entry.js} +2 -2
  731. package/dist/stzh-components/{p-b77def39.entry.js → p-4539e17f.entry.js} +2 -2
  732. package/dist/stzh-components/{p-7499bdb7.entry.js → p-46dcce84.entry.js} +2 -2
  733. package/dist/stzh-components/{p-a74ed640.entry.js → p-46e5f084.entry.js} +2 -2
  734. package/dist/stzh-components/{p-08dcf795.entry.js → p-46fc5ee0.entry.js} +2 -2
  735. package/dist/stzh-components/{p-c023e0ce.js → p-4a7b6f37.js} +2 -2
  736. package/dist/stzh-components/{p-4538072a.entry.js → p-4b754125.entry.js} +2 -2
  737. package/dist/stzh-components/{p-c47d9a87.entry.js → p-4c8d577f.entry.js} +2 -2
  738. package/dist/stzh-components/{p-faddaae7.entry.js → p-4dbbea21.entry.js} +2 -2
  739. package/dist/stzh-components/{p-e01d37b9.entry.js → p-4f3149ca.entry.js} +2 -2
  740. package/dist/stzh-components/{p-70753f8e.entry.js → p-4ff33b79.entry.js} +2 -2
  741. package/dist/stzh-components/{p-7016efd0.entry.js → p-51bf87d0.entry.js} +2 -2
  742. package/dist/stzh-components/{p-27e51cbb.entry.js → p-5725e544.entry.js} +2 -2
  743. package/dist/stzh-components/{p-de0d236c.entry.js → p-582d0259.entry.js} +2 -2
  744. package/dist/stzh-components/{p-d687ec3c.entry.js → p-598de693.entry.js} +2 -2
  745. package/dist/stzh-components/{p-1bc80799.entry.js → p-5a38eb4c.entry.js} +2 -2
  746. package/dist/stzh-components/{p-5da60d60.entry.js → p-5d877ea1.entry.js} +2 -2
  747. package/dist/stzh-components/{p-9abad95b.entry.js → p-5dc298a4.entry.js} +2 -2
  748. package/dist/stzh-components/{p-e513785b.entry.js → p-5fe85cfd.entry.js} +2 -2
  749. package/dist/stzh-components/{p-0d2af671.entry.js → p-6102443e.entry.js} +2 -2
  750. package/dist/stzh-components/{p-7897b99c.entry.js → p-61491246.entry.js} +2 -2
  751. package/dist/stzh-components/{p-1bbd32d5.entry.js → p-640e445b.entry.js} +2 -2
  752. package/dist/stzh-components/{p-46258bab.entry.js → p-65e099a0.entry.js} +2 -2
  753. package/dist/stzh-components/{p-bb1d4410.entry.js → p-664e7a09.entry.js} +2 -2
  754. package/dist/stzh-components/{p-f544acad.entry.js → p-6ee6bc09.entry.js} +2 -2
  755. package/dist/stzh-components/{p-dc40dd2a.entry.js → p-6f7f7e18.entry.js} +2 -2
  756. package/dist/stzh-components/{p-7ec6c8e7.entry.js → p-72203e1d.entry.js} +2 -2
  757. package/dist/stzh-components/{p-90bf38bb.entry.js → p-727c30cf.entry.js} +2 -2
  758. package/dist/stzh-components/{p-c0c7ebbc.entry.js → p-766dea66.entry.js} +2 -2
  759. package/dist/stzh-components/{p-d17e7d90.entry.js → p-7844b15a.entry.js} +2 -2
  760. package/dist/stzh-components/{p-296cf6eb.entry.js → p-7bc4d471.entry.js} +2 -2
  761. package/dist/stzh-components/{p-841118e5.entry.js → p-7cfa54b9.entry.js} +2 -2
  762. package/dist/stzh-components/{p-70251e01.entry.js → p-7facda3d.entry.js} +3 -3
  763. package/dist/stzh-components/{p-e05db400.entry.js → p-86c278a3.entry.js} +2 -2
  764. package/dist/stzh-components/{p-600c2da8.entry.js → p-8e133247.entry.js} +2 -2
  765. package/dist/stzh-components/{p-5b30efeb.entry.js → p-8e82664a.entry.js} +2 -2
  766. package/dist/stzh-components/{p-0cb8c27c.entry.js → p-8f90ba95.entry.js} +2 -2
  767. package/dist/stzh-components/{p-d82079be.entry.js → p-92bdcdad.entry.js} +2 -2
  768. package/dist/stzh-components/{p-c3ddf161.entry.js → p-93424a61.entry.js} +2 -2
  769. package/dist/stzh-components/{p-0cfc71d9.entry.js → p-94b7f926.entry.js} +2 -2
  770. package/dist/stzh-components/{p-1145c68c.entry.js → p-9cdb4375.entry.js} +2 -2
  771. package/dist/stzh-components/{p-00cb988b.entry.js → p-a12cf3bc.entry.js} +2 -2
  772. package/dist/stzh-components/{p-12e3c92b.entry.js → p-a38f6851.entry.js} +2 -2
  773. package/dist/stzh-components/{p-8b41f6fa.entry.js → p-a498a5f5.entry.js} +2 -2
  774. package/dist/stzh-components/{p-f12cc836.entry.js → p-a4cbd257.entry.js} +2 -2
  775. package/dist/stzh-components/{p-268a1fd3.entry.js → p-a75c4682.entry.js} +2 -2
  776. package/dist/stzh-components/{p-d38c0e15.entry.js → p-a8292b13.entry.js} +2 -2
  777. package/dist/stzh-components/{p-a9c4e972.entry.js → p-a9b34a6b.entry.js} +2 -2
  778. package/dist/stzh-components/{p-287a6647.entry.js → p-abdf8b13.entry.js} +2 -2
  779. package/dist/stzh-components/{p-6a9a7903.entry.js → p-ac335416.entry.js} +2 -2
  780. package/dist/stzh-components/{p-875a572e.entry.js → p-af1aa423.entry.js} +2 -2
  781. package/dist/stzh-components/{p-e054a79d.entry.js → p-b145722f.entry.js} +2 -2
  782. package/dist/stzh-components/{p-d57e8dd4.entry.js → p-b311be28.entry.js} +2 -2
  783. package/dist/stzh-components/{p-dca76ae3.entry.js → p-b4bae13a.entry.js} +2 -2
  784. package/dist/stzh-components/{p-15a01b5b.entry.js → p-b4bdb4cf.entry.js} +2 -2
  785. package/dist/stzh-components/{p-60599b7d.entry.js → p-b5d4e8b9.entry.js} +2 -2
  786. package/dist/stzh-components/{p-3b278a40.entry.js → p-b95edacd.entry.js} +2 -2
  787. package/dist/stzh-components/{p-d9dda5eb.entry.js → p-bc0618bb.entry.js} +2 -2
  788. package/dist/stzh-components/{p-e9b37425.entry.js → p-bc837007.entry.js} +2 -2
  789. package/dist/stzh-components/{p-0b54e58b.entry.js → p-be74a213.entry.js} +2 -2
  790. package/dist/stzh-components/{p-b9354960.entry.js → p-c11a73d2.entry.js} +2 -2
  791. package/dist/stzh-components/{p-f1340147.entry.js → p-c1508338.entry.js} +2 -2
  792. package/dist/stzh-components/{p-7f29fab9.entry.js → p-c41804d9.entry.js} +2 -2
  793. package/dist/stzh-components/{p-9697d5b9.entry.js → p-c7d82187.entry.js} +2 -2
  794. package/dist/stzh-components/{p-2e8cca5f.entry.js → p-c8476e6e.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b11487ec.entry.js → p-c95bce0d.entry.js} +2 -2
  796. package/dist/stzh-components/{p-48e7e24c.entry.js → p-caf867f9.entry.js} +2 -2
  797. package/dist/stzh-components/{p-f86de9e1.entry.js → p-cb058b56.entry.js} +2 -2
  798. package/dist/stzh-components/{p-bd92bc55.entry.js → p-cfbc4a5e.entry.js} +2 -2
  799. package/dist/stzh-components/{p-a996b9af.entry.js → p-d2a97efc.entry.js} +2 -2
  800. package/dist/stzh-components/{p-e1c7c23f.entry.js → p-d516d56c.entry.js} +2 -2
  801. package/dist/stzh-components/p-d7ee085c.entry.js +2 -0
  802. package/dist/stzh-components/{p-adc9fb2b.entry.js.map → p-d7ee085c.entry.js.map} +1 -1
  803. package/dist/stzh-components/{p-6345a81b.entry.js → p-dac4534c.entry.js} +2 -2
  804. package/dist/stzh-components/{p-27a50935.entry.js → p-dacee3d1.entry.js} +2 -2
  805. package/dist/stzh-components/{p-3745bbac.entry.js → p-e11a606e.entry.js} +2 -2
  806. package/dist/stzh-components/{p-ec0c1d40.entry.js → p-e184e0fd.entry.js} +2 -2
  807. package/dist/stzh-components/{p-a10a167c.entry.js → p-e75cde0c.entry.js} +2 -2
  808. package/dist/stzh-components/{p-46554876.entry.js → p-ebb4b12f.entry.js} +2 -2
  809. package/dist/stzh-components/{p-a47ce522.entry.js → p-ec2ac6e9.entry.js} +2 -2
  810. package/dist/stzh-components/{p-48fb1f25.entry.js → p-ee311236.entry.js} +2 -2
  811. package/dist/stzh-components/{p-670b579b.entry.js → p-f3081e0e.entry.js} +2 -2
  812. package/dist/stzh-components/{p-140c21d2.entry.js → p-f47bd88c.entry.js} +2 -2
  813. package/dist/stzh-components/{p-56538913.entry.js → p-f52e344a.entry.js} +2 -2
  814. package/dist/stzh-components/{p-d73ba86d.entry.js → p-f61e61e7.entry.js} +2 -2
  815. package/dist/stzh-components/{p-62febcab.entry.js → p-f93f056f.entry.js} +2 -2
  816. package/dist/stzh-components/{p-f0defcda.entry.js → p-ff04778f.entry.js} +2 -2
  817. package/dist/stzh-components/{p-44240b20.entry.js → p-ff2877e7.entry.js} +2 -2
  818. package/dist/stzh-components/{p-4760e8fa.entry.js → p-ff41be1d.entry.js} +2 -2
  819. package/dist/stzh-components/stzh-components.esm.js +1 -1
  820. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  821. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +4 -0
  822. package/dist/types/components.d.ts +16 -0
  823. package/dist/vscode-data.json +8 -0
  824. package/package.json +2 -2
  825. package/dist/components/p-ef454347.js +0 -90
  826. package/dist/components/p-ef454347.js.map +0 -1
  827. package/dist/stzh-components/p-286c9d1c.entry.js +0 -2
  828. package/dist/stzh-components/p-286c9d1c.entry.js.map +0 -1
  829. package/dist/stzh-components/p-568ae693.entry.js +0 -2
  830. package/dist/stzh-components/p-568ae693.entry.js.map +0 -1
  831. package/dist/stzh-components/p-adc9fb2b.entry.js +0 -2
  832. package/dist/stzh-components/p-d37d10b5.entry.js +0 -2
  833. package/dist/stzh-components/p-d37d10b5.entry.js.map +0 -1
  834. /package/dist/stzh-components/{p-f76bc9ba.entry.js.map → p-015a35bf.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-a42eb9ff.entry.js.map → p-03c2d367.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-7ddf3d51.entry.js.map → p-03e628b9.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-c9195859.entry.js.map → p-04c9ec6b.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-dcba6464.entry.js.map → p-0685f2ae.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-810e15c1.entry.js.map → p-0d54bcfc.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-913cc4d4.entry.js.map → p-0f546f1c.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-38a9f136.entry.js.map → p-1187dcb3.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-0c340dcf.entry.js.map → p-12146af8.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-e973ae31.entry.js.map → p-1617973f.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-0f29cccb.entry.js.map → p-16552049.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-ad9d3926.entry.js.map → p-1844d99e.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-488de0c8.entry.js.map → p-187fd37a.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-fe64fe26.entry.js.map → p-1bb06be6.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-5e0d522c.entry.js.map → p-1f4f76b1.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-4cbc6aaa.entry.js.map → p-1f668f53.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-838a40cd.entry.js.map → p-21d2d28d.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-609a9d4a.entry.js.map → p-26792e28.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-d29ff5f4.entry.js.map → p-2a0fa100.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-c475f153.entry.js.map → p-2d50d767.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-d3b51ee5.entry.js.map → p-3056b956.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-0c1c23b6.entry.js.map → p-3071b6f4.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-65f98e78.entry.js.map → p-32448e73.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-d956a33d.entry.js.map → p-34c68f20.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-3be9615c.entry.js.map → p-35be1f2c.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-1c858aa2.entry.js.map → p-38104164.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-ce1a02f6.entry.js.map → p-3d3d0515.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-0422500c.entry.js.map → p-42a3a0df.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-a58b97fc.entry.js.map → p-450c13f2.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-b77def39.entry.js.map → p-4539e17f.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-7499bdb7.entry.js.map → p-46dcce84.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-a74ed640.entry.js.map → p-46e5f084.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-08dcf795.entry.js.map → p-46fc5ee0.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-c023e0ce.js.map → p-4a7b6f37.js.map} +0 -0
  868. /package/dist/stzh-components/{p-4538072a.entry.js.map → p-4b754125.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-c47d9a87.entry.js.map → p-4c8d577f.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-faddaae7.entry.js.map → p-4dbbea21.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-e01d37b9.entry.js.map → p-4f3149ca.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-70753f8e.entry.js.map → p-4ff33b79.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-7016efd0.entry.js.map → p-51bf87d0.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-27e51cbb.entry.js.map → p-5725e544.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-de0d236c.entry.js.map → p-582d0259.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-d687ec3c.entry.js.map → p-598de693.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-1bc80799.entry.js.map → p-5a38eb4c.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-5da60d60.entry.js.map → p-5d877ea1.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-9abad95b.entry.js.map → p-5dc298a4.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-e513785b.entry.js.map → p-5fe85cfd.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-0d2af671.entry.js.map → p-6102443e.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-7897b99c.entry.js.map → p-61491246.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-1bbd32d5.entry.js.map → p-640e445b.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-46258bab.entry.js.map → p-65e099a0.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-bb1d4410.entry.js.map → p-664e7a09.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-f544acad.entry.js.map → p-6ee6bc09.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-dc40dd2a.entry.js.map → p-6f7f7e18.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-7ec6c8e7.entry.js.map → p-72203e1d.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-90bf38bb.entry.js.map → p-727c30cf.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-c0c7ebbc.entry.js.map → p-766dea66.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-d17e7d90.entry.js.map → p-7844b15a.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-296cf6eb.entry.js.map → p-7bc4d471.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-841118e5.entry.js.map → p-7cfa54b9.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-70251e01.entry.js.map → p-7facda3d.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-e05db400.entry.js.map → p-86c278a3.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-600c2da8.entry.js.map → p-8e133247.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5b30efeb.entry.js.map → p-8e82664a.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-0cb8c27c.entry.js.map → p-8f90ba95.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-d82079be.entry.js.map → p-92bdcdad.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-c3ddf161.entry.js.map → p-93424a61.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-0cfc71d9.entry.js.map → p-94b7f926.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-1145c68c.entry.js.map → p-9cdb4375.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-00cb988b.entry.js.map → p-a12cf3bc.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-12e3c92b.entry.js.map → p-a38f6851.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-8b41f6fa.entry.js.map → p-a498a5f5.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-f12cc836.entry.js.map → p-a4cbd257.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-268a1fd3.entry.js.map → p-a75c4682.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-d38c0e15.entry.js.map → p-a8292b13.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-a9c4e972.entry.js.map → p-a9b34a6b.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-287a6647.entry.js.map → p-abdf8b13.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-6a9a7903.entry.js.map → p-ac335416.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-875a572e.entry.js.map → p-af1aa423.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-e054a79d.entry.js.map → p-b145722f.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-d57e8dd4.entry.js.map → p-b311be28.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-dca76ae3.entry.js.map → p-b4bae13a.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-15a01b5b.entry.js.map → p-b4bdb4cf.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-60599b7d.entry.js.map → p-b5d4e8b9.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-3b278a40.entry.js.map → p-b95edacd.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-d9dda5eb.entry.js.map → p-bc0618bb.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-e9b37425.entry.js.map → p-bc837007.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-0b54e58b.entry.js.map → p-be74a213.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-b9354960.entry.js.map → p-c11a73d2.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-f1340147.entry.js.map → p-c1508338.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-7f29fab9.entry.js.map → p-c41804d9.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-9697d5b9.entry.js.map → p-c7d82187.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-2e8cca5f.entry.js.map → p-c8476e6e.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-b11487ec.entry.js.map → p-c95bce0d.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-48e7e24c.entry.js.map → p-caf867f9.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-f86de9e1.entry.js.map → p-cb058b56.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-bd92bc55.entry.js.map → p-cfbc4a5e.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-a996b9af.entry.js.map → p-d2a97efc.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-e1c7c23f.entry.js.map → p-d516d56c.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-6345a81b.entry.js.map → p-dac4534c.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-27a50935.entry.js.map → p-dacee3d1.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-3745bbac.entry.js.map → p-e11a606e.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-ec0c1d40.entry.js.map → p-e184e0fd.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-a10a167c.entry.js.map → p-e75cde0c.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-46554876.entry.js.map → p-ebb4b12f.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-a47ce522.entry.js.map → p-ec2ac6e9.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-48fb1f25.entry.js.map → p-ee311236.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-670b579b.entry.js.map → p-f3081e0e.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-140c21d2.entry.js.map → p-f47bd88c.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-56538913.entry.js.map → p-f52e344a.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-d73ba86d.entry.js.map → p-f61e61e7.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-62febcab.entry.js.map → p-f93f056f.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-f0defcda.entry.js.map → p-ff04778f.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-44240b20.entry.js.map → p-ff2877e7.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-4760e8fa.entry.js.map → p-ff41be1d.entry.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-8f01554b.js';
2
2
  import { h as hasSlot } from './p-289f5de2.js';
3
3
  import { S as StzhInputDescription } from './p-a2148b9d.js';
4
- import { d as defineCustomElement$3 } from './p-7c4e756c.js';
5
- import { d as defineCustomElement$2 } from './p-963d59bf.js';
6
- import { d as defineCustomElement$1 } from './p-63c4d8c4.js';
4
+ import { d as defineCustomElement$3 } from './p-a2659715.js';
5
+ import { d as defineCustomElement$2 } from './p-7121e1bf.js';
6
+ import { d as defineCustomElement$1 } from './p-ace11500.js';
7
7
 
8
8
  const stzhCheckboxCss = ".sc-stzh-checkbox-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-checkbox-h,[stzh-hidden].sc-stzh-checkbox-h{display:none}.sc-stzh-checkbox-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-checkbox-h .has-focus.sc-stzh-checkbox{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-checkbox-h .stzh-fylingfocus-focused.sc-stzh-checkbox{outline-style:none !important}.sc-stzh-checkbox-h .stzh-fylingfocus-focused.sc-stzh-checkbox::-moz-focus-inner{border:0 !important}.sc-stzh-checkbox-h{--label-color:var(--stzh-checkbox-label-color, var(--stzh-base-color));--label-hover-color:var(\n --stzh-checkbox-label-hover-color,\n var(--stzh-color-primary70)\n );--label-hover-checked-color:var(\n --stzh-checkbox-label-hover-checked-color,\n var(--stzh-color-primary90)\n );--check-color:var(--stzh-checkbox-check-color, var(--stzh-color-primary));--invalid-color:var(--stzh-checkbox-invalid-color, var(--stzh-color-error60));--disabled-color:var(--stzh-checkbox-disabled-color, var(--stzh-color-grey50));display:inline-block}[disabled].sc-stzh-checkbox-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-checkbox.sc-stzh-checkbox{display:grid}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-checkbox__marker-text.sc-stzh-checkbox{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkbox__description-wrapper.sc-stzh-checkbox{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox__description.sc-stzh-checkbox{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-checkbox__error.sc-stzh-checkbox{color:var(--stzh-color-error60)}.stzh-checkbox__error-list.sc-stzh-checkbox{list-style:none;margin:0;padding:0}.stzh-checkbox__description.sc-stzh-checkbox{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-checkbox__description-long.sc-stzh-checkbox{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-checkbox__description-long.sc-stzh-checkbox{margin-top:0}}.stzh-checkbox__description-long-popover.sc-stzh-checkbox{--width:auto;--max-width:27.3125rem}.stzh-checkbox__description-long-button.sc-stzh-checkbox{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-checkbox.sc-stzh-checkbox stzh-icon.stzh-checkbox__description-long-icon.sc-stzh-checkbox{--size:var(--stzh-icon-size-xsmall)}.stzh-checkbox--has-error.sc-stzh-checkbox .stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox--has-description.sc-stzh-checkbox .stzh-checkbox__description.sc-stzh-checkbox{margin-top:var(--stzh-space-xxxsmall)}.stzh-checkbox__field-wrapper.sc-stzh-checkbox{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;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-checkbox__input.sc-stzh-checkbox{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-checkbox__mark.sc-stzh-checkbox{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:var(--stzh-form-input-border-radius);display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed);position:relative}.stzh-checkbox__check.sc-stzh-checkbox{display:block;position:absolute;top:50%;left:50%;width:100%;height:100%;transform:translate(-50%, -50%) translateZ(0);will-change:opacity;opacity:0;transition:opacity 0.15s ease;pointer-events:none;mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E %3Cpath d='M10 15.172l9.192-9.193 1.415 1.414L10 18 3.636 11.636l1.414-1.414z'/%3E %3C/svg%3E\");mask-repeat:no-repeat;mask-position:center;mask-size:contain;background-color:var(--check-color)}.stzh-checkbox__label.sc-stzh-checkbox{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-checkbox__label.sc-stzh-checkbox:empty{display:none}.stzh-checkbox__marker.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--label-hover-color)}.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox{color:var(--label-hover-checked-color)}.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{background-color:var(--label-hover-checked-color)}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--label-hover-color)}.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--label-hover-checked-color)}.stzh-checkbox--is-checked.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{opacity:1}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{color:var(--invalid-color)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{background-color:var(--invalid-color)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--invalid-color)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__field-wrapper.sc-stzh-checkbox{cursor:not-allowed}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-grey60)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{color:var(--disabled-color);border-color:var(--disabled-color)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{background-color:var(--disabled-color)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__mark.sc-stzh-checkbox{background-color:var(--stzh-color-grey20)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{background-color:var(--invalid-color)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{background-color:var(--disabled-color)}";
9
9
  const StzhCheckboxStyle0 = stzhCheckboxCss;
@@ -127,11 +127,11 @@ const StzhCheckbox = /*@__PURE__*/ proxyCustomElement(class StzhCheckbox extends
127
127
  "stzh-checkbox--is-disabled": this.disabled,
128
128
  "stzh-checkbox--is-checked": this.checked,
129
129
  };
130
- return (h(Host, { key: '405ef3c9c5c3e613e214eff95ccbb2bf244868e4', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '896827d5b531870193d71f40fcb5a8ee1ed63e6d', class: classes }, h("label", { key: 'ffe5f1ea705f59890d620dcaadfc25fa95570c25', class: "stzh-checkbox__field-wrapper" }, h("input", { key: '4a764662bdf9b4f3f58dad7af6079891fab23096', class: "stzh-checkbox__input", ref: el => (this.input = el), type: "checkbox", id: this.inputId, name: this.name, value: this.value, disabled: this.disabled, "aria-describedby": `${this.inputId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid ? "true" : "false", checked: this.checked, defaultChecked: this.defaultChecked, onInput: this.onInput, onFocus: this.onFocus, onBlur: this.onBlur }), h("div", { key: '6f5530363f8a1e00f7529dfecf1bdc41ca70369c', class: "stzh-checkbox__mark" }, h("div", { key: 'e35ad44f2d7bf741ed14d30b57676a936fb1c0f1', class: "stzh-checkbox__check", "aria-hidden": "true" })), h("div", { key: 'e7a45c2e0e1117b97cd4d1f8c4c643a6c825ab28', class: "stzh-checkbox__label" }, this.label ? this.label : h("slot", null), !this.hideOptional && (h("span", { key: '7568ecb3bfabcf8c80f505afc2c66aa4e193a8d3', class: "stzh-checkbox__marker" }, h("span", { key: '8cb60015dcb0001add1aa4c99273d2ceef3c56f3', class: "stzh-checkbox__marker-symbol", "aria-hidden": "true" }, this.required
130
+ return (h(Host, { key: '3992b31d8d2fec0ce87d9cc841f4508fb552721a', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'c0ec35701febbe9c0b3f63091182fe4cb5e96508', class: classes }, h("label", { key: 'bc0479b4b11d991cdb2410c9b1d5c0933616da3e', class: "stzh-checkbox__field-wrapper" }, h("input", { key: 'f865a9b7105dbd8692e13a3dac08e3bcec898283', class: "stzh-checkbox__input", ref: el => (this.input = el), type: "checkbox", id: this.inputId, name: this.name, value: this.value, disabled: this.disabled, "aria-describedby": `${this.inputId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid ? "true" : "false", checked: this.checked, defaultChecked: this.defaultChecked, onInput: this.onInput, onFocus: this.onFocus, onBlur: this.onBlur }), h("div", { key: '9dc5910aa037ef8b87e3cef2f6993a9970752aff', class: "stzh-checkbox__mark" }, h("div", { key: '1854a06f912692c81392d007badc64a3fcac66f0', class: "stzh-checkbox__check", "aria-hidden": "true" })), h("div", { key: '288debe5fb521c988ac9649dccc3a5821b03d035', class: "stzh-checkbox__label" }, this.label ? this.label : h("slot", null), !this.hideOptional && (h("span", { key: 'ab751958c4c11a5a6aa016f8d365c9eac37a8762', class: "stzh-checkbox__marker" }, h("span", { key: 'fdf70b5bf345261de12732471ef1ad08fcabab3b', class: "stzh-checkbox__marker-symbol", "aria-hidden": "true" }, this.required
131
131
  ? this.localization.$globals.requiredFieldMarker
132
- : this.localization.$globals.optionalFieldMarker), h("span", { key: '9d995ce3f36042512c5aae083e2203463ff9af5e', class: "stzh-checkbox__marker-text" }, this.required
132
+ : this.localization.$globals.optionalFieldMarker), h("span", { key: 'b1928b271af93d0042d74b7a904aaf0837b2908a', class: "stzh-checkbox__marker-text" }, this.required
133
133
  ? this.localization.$globals.requiredFieldText
134
- : this.localization.$globals.optionalFieldText))))), (errorUsed || this.description || this.descriptionLong) && (h(StzhInputDescription, { key: 'aa8c6b17aa646e0801be413736160307160e34f2', classPrefix: "stzh-checkbox", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })))));
134
+ : this.localization.$globals.optionalFieldText))))), (errorUsed || this.description || this.descriptionLong) && (h(StzhInputDescription, { key: 'abd7dd52c0e2d2c66adc060b13d66079278fa517', classPrefix: "stzh-checkbox", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })))));
135
135
  }
136
136
  get element() { return this; }
137
137
  static get watchers() { return {
@@ -188,4 +188,4 @@ function defineCustomElement() {
188
188
 
189
189
  export { StzhCheckbox as S, defineCustomElement as d };
190
190
 
191
- //# sourceMappingURL=p-109076c9.js.map
191
+ //# sourceMappingURL=p-b03368b3.js.map
@@ -1 +1 @@
1
- {"file":"p-109076c9.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,gwQAAgwQ,CAAC;AACzxQ,2BAAe,eAAe;;ACQ9B,IAAI,eAAe,GAAG,CAAC,CAAC;MAcX,YAAY;;;;;;;QA2Ff,mBAAc,GAAY,KAAK,CAAC;QAEhC,gBAAW,GAAG;YACpB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,cAAc,CAAC;SACpC,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;YAElC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;gBACnB,SAAS,EAAE,eAAe;gBAC1B,aAAa,EAAE,KAAK;gBACpB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC,CAAC;SACJ,CAAC;QAEM,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;aACpB;YAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;SAC7B,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;gBACzC,IAAI,EAAE,MAAM;gBACZ,OAAO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C1D,IAAI,CAAC,QAAQ;cACV,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB;cAC9C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,CAC7C,EACP,6DAAM,KAAK,EAAC,4BAA4B,IACrC,IAAI,CAAC,QAAQ;cACV,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB;cAC5C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAC3C,CACF,CACR,CACG,CACA,EACP,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,eAAe,MACrD,EAAC,oBAAoB,qDACnB,WAAW,EAAC,eAAe,EAC3B,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,cAAc,EACjC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,GACnE,CACH,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-checkbox/stzh-checkbox.scss?tag=stzh-checkbox&encapsulation=scoped","src/components/stzh-checkbox/stzh-checkbox.tsx"],"sourcesContent":[":host {\n --label-color: var(--stzh-checkbox-label-color, #{$baseColor});\n --label-hover-color: var(\n --stzh-checkbox-label-hover-color,\n #{$colorPrimary70}\n );\n --label-hover-checked-color: var(\n --stzh-checkbox-label-hover-checked-color,\n #{$colorPrimary90}\n );\n --check-color: var(--stzh-checkbox-check-color, #{$colorPrimary});\n --invalid-color: var(--stzh-checkbox-invalid-color, #{$colorError60});\n --disabled-color: var(--stzh-checkbox-disabled-color, #{$colorGrey50});\n\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-checkbox {\n @include input-description;\n display: grid;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n border: 2px solid $colorBlack;\n background-color: $colorWhite;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n border-radius: $formInputBorderRadius;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: border-color $baseTransitionAnimationSpeed;\n position: relative;\n }\n\n &__check {\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n transform: translate(-50%, -50%) translateZ(0);\n will-change: opacity;\n opacity: 0;\n transition: opacity 0.15s ease;\n pointer-events: none;\n\n -webkit-mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-size: contain;\n mask-size: contain;\n\n background-color: var(--check-color);\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-block;\n color: var(--label-color);\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space(\"small\");\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked ~ &__label {\n color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark {\n color: var(--label-hover-checked-color);\n }\n\n // icon\n &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--label-hover-checked-color);\n }\n\n &:hover &__mark,\n &__input:checked ~ &__mark {\n border-color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__mark {\n border-color: var(--label-hover-checked-color);\n }\n\n &--is-checked .stzh-checkbox__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark {\n color: var(--invalid-color);\n }\n\n // icon\n &--is-invalid &__check {\n background-color: var(--invalid-color);\n }\n\n &--is-invalid &__input ~ &__mark {\n border-color: var(--invalid-color);\n }\n\n /* Disabled */\n\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $colorGrey60;\n }\n\n &--is-disabled &__input ~ &__mark {\n color: var(--disabled-color);\n border-color: var(--disabled-color);\n }\n\n // icon\n &--is-disabled &__check {\n background-color: var(--disabled-color);\n }\n\n &--is-disabled &__mark {\n background-color: $colorGrey20;\n }\n\n // hover styles for check icon for invalid\n &--is-invalid &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--invalid-color);\n }\n\n // hover styles for check icon for invalid\n &--is-disabled &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--disabled-color);\n }\n}\n","import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhCheckboxChangeEvent, StzhCheckboxFocusEvent, StzhCheckboxBlurEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet checkboxCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-checkbox\",\n styleUrl: \"stzh-checkbox.scss\",\n scoped: true,\n})\nexport class StzhCheckbox {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the checkbox is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Use the `description-long-title` slot or the `description` property instead.\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhCheckboxChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhCheckboxFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhCheckboxBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n\n this.stzhChange.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n async componentWillLoad() {\n this.inputId = `stzh-checkbox-${checkboxCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"checkbox\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const classes = {\n \"stzh-checkbox\": true,\n \"stzh-checkbox--has-description\": descriptionUsed,\n \"stzh-checkbox--has-description-long\": descriptionLongUsed,\n \"stzh-checkbox--has-error\": errorUsed,\n \"stzh-checkbox--is-required\": this.required,\n \"stzh-checkbox--is-invalid\": this.invalid || errorUsed,\n \"stzh-checkbox--is-disabled\": this.disabled,\n \"stzh-checkbox--is-checked\": this.checked,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-checkbox__field-wrapper\">\n <input\n class=\"stzh-checkbox__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-checkbox__mark\">\n <div class=\"stzh-checkbox__check\" aria-hidden=\"true\"></div>\n </div>\n <div class=\"stzh-checkbox__label\">\n {this.label ? this.label : <slot></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-checkbox__marker\">\n <span class=\"stzh-checkbox__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-checkbox__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </div>\n </label>\n {(errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-b03368b3.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,gwQAAgwQ,CAAC;AACzxQ,2BAAe,eAAe;;ACQ9B,IAAI,eAAe,GA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E,EAAE,GAAG,IAAI,CAAC,OAAO,cAAc,EACjC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,GACnE,CACH,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-checkbox/stzh-checkbox.scss?tag=stzh-checkbox&encapsulation=scoped","src/components/stzh-checkbox/stzh-checkbox.tsx"],"sourcesContent":[":host {\n --label-color: var(--stzh-checkbox-label-color, #{$baseColor});\n --label-hover-color: var(\n --stzh-checkbox-label-hover-color,\n #{$colorPrimary70}\n );\n --label-hover-checked-color: var(\n --stzh-checkbox-label-hover-checked-color,\n #{$colorPrimary90}\n );\n --check-color: var(--stzh-checkbox-check-color, #{$colorPrimary});\n --invalid-color: var(--stzh-checkbox-invalid-color, #{$colorError60});\n --disabled-color: var(--stzh-checkbox-disabled-color, #{$colorGrey50});\n\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-checkbox {\n @include input-description;\n display: grid;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n border: 2px solid $colorBlack;\n background-color: $colorWhite;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n border-radius: $formInputBorderRadius;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: border-color $baseTransitionAnimationSpeed;\n position: relative;\n }\n\n &__check {\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n transform: translate(-50%, -50%) translateZ(0);\n will-change: opacity;\n opacity: 0;\n transition: opacity 0.15s ease;\n pointer-events: none;\n\n -webkit-mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-size: contain;\n mask-size: contain;\n\n background-color: var(--check-color);\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-block;\n color: var(--label-color);\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space(\"small\");\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked ~ &__label {\n color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark {\n color: var(--label-hover-checked-color);\n }\n\n // icon\n &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--label-hover-checked-color);\n }\n\n &:hover &__mark,\n &__input:checked ~ &__mark {\n border-color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__mark {\n border-color: var(--label-hover-checked-color);\n }\n\n &--is-checked .stzh-checkbox__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark {\n color: var(--invalid-color);\n }\n\n // icon\n &--is-invalid &__check {\n background-color: var(--invalid-color);\n }\n\n &--is-invalid &__input ~ &__mark {\n border-color: var(--invalid-color);\n }\n\n /* Disabled */\n\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $colorGrey60;\n }\n\n &--is-disabled &__input ~ &__mark {\n color: var(--disabled-color);\n border-color: var(--disabled-color);\n }\n\n // icon\n &--is-disabled &__check {\n background-color: var(--disabled-color);\n }\n\n &--is-disabled &__mark {\n background-color: $colorGrey20;\n }\n\n // hover styles for check icon for invalid\n &--is-invalid &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--invalid-color);\n }\n\n // hover styles for check icon for invalid\n &--is-disabled &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--disabled-color);\n }\n}\n","import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhCheckboxChangeEvent, StzhCheckboxFocusEvent, StzhCheckboxBlurEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet checkboxCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-checkbox\",\n styleUrl: \"stzh-checkbox.scss\",\n scoped: true,\n})\nexport class StzhCheckbox {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the checkbox is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Use the `description-long-title` slot or the `description` property instead.\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhCheckboxChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhCheckboxFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhCheckboxBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n\n this.stzhChange.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n });\n };\n\n async componentWillLoad() {\n this.inputId = `stzh-checkbox-${checkboxCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"checkbox\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const classes = {\n \"stzh-checkbox\": true,\n \"stzh-checkbox--has-description\": descriptionUsed,\n \"stzh-checkbox--has-description-long\": descriptionLongUsed,\n \"stzh-checkbox--has-error\": errorUsed,\n \"stzh-checkbox--is-required\": this.required,\n \"stzh-checkbox--is-invalid\": this.invalid || errorUsed,\n \"stzh-checkbox--is-disabled\": this.disabled,\n \"stzh-checkbox--is-checked\": this.checked,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-checkbox__field-wrapper\">\n <input\n class=\"stzh-checkbox__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-checkbox__mark\">\n <div class=\"stzh-checkbox__check\" aria-hidden=\"true\"></div>\n </div>\n <div class=\"stzh-checkbox__label\">\n {this.label ? this.label : <slot></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-checkbox__marker\">\n <span class=\"stzh-checkbox__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-checkbox__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </div>\n </label>\n {(errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, F as Fragment, d as Host } from './p-8f01554b.js';
2
2
  import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './p-f4adb3cd.js';
3
- import { d as defineCustomElement$3 } from './p-dd1c0c0c.js';
4
- import { d as defineCustomElement$2 } from './p-7c4e756c.js';
5
- import { d as defineCustomElement$1 } from './p-111f7e01.js';
3
+ import { d as defineCustomElement$3 } from './p-42e86bbd.js';
4
+ import { d as defineCustomElement$2 } from './p-a2659715.js';
5
+ import { d as defineCustomElement$1 } from './p-10d1bf15.js';
6
6
 
7
7
  const stzhBathstatusItemCss = ".sc-stzh-bathstatus-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-bathstatus-item-h,[stzh-hidden].sc-stzh-bathstatus-item-h{display:none}.sc-stzh-bathstatus-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-bathstatus-item-h *.sc-stzh-bathstatus-item,.sc-stzh-bathstatus-item-h *.sc-stzh-bathstatus-item::before,.sc-stzh-bathstatus-item-h *.sc-stzh-bathstatus-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-bathstatus-item-h .has-focus.sc-stzh-bathstatus-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-bathstatus-item-h .stzh-fylingfocus-focused.sc-stzh-bathstatus-item{outline-style:none !important}.sc-stzh-bathstatus-item-h .stzh-fylingfocus-focused.sc-stzh-bathstatus-item::-moz-focus-inner{border:0 !important}.stzh-bathstatus-item.sc-stzh-bathstatus-item{background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-xlarge);padding-right:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge);padding-left:var(--stzh-space-large)}.stzh-bathstatus-item__description.sc-stzh-bathstatus-item,.stzh-bathstatus-item-value.sc-stzh-bathstatus-item{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)}.stzh-bathstatus-item__title.sc-stzh-bathstatus-item{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)}@media screen and (min-width: 900px){.stzh-bathstatus-item__title.sc-stzh-bathstatus-item{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}.stzh-bathstatus-item-container.sc-stzh-bathstatus-item{display:grid;grid-template-columns:max-content 1fr;gap:var(--stzh-space-small) var(--stzh-space-xlarge);align-items:center}.stzh-bathstatus-item-key.sc-stzh-bathstatus-item{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);color:var(--stzh-color-grey70)}.stzh-bathstatus-item--teaser.sc-stzh-bathstatus-item .stzh-bathstatus-item__title.sc-stzh-bathstatus-item{display:none}.stzh-bathstatus-item--teaser.sc-stzh-bathstatus-item .stzh-bathstatus-item__description.sc-stzh-bathstatus-item{margin-bottom:var(--stzh-space-medium)}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item{padding-top:var(--stzh-space-small);padding-right:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-small);padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 900px){.stzh-bathstatus-item--list.sc-stzh-bathstatus-item{padding-top:var(--stzh-space-medium);padding-right:var(--stzh-space-large);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-large)}}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item__description.sc-stzh-bathstatus-item,.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-key.sc-stzh-bathstatus-item,.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-uv-index-prediction.sc-stzh-bathstatus-item{display:none}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-container.sc-stzh-bathstatus-item{grid-template-columns:repeat(4, minmax(0, 1fr))}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-value.sc-stzh-bathstatus-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}@media screen and (min-width: 900px){.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-value.sc-stzh-bathstatus-item{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)}}";
8
8
  const StzhBathstatusItemStyle0 = stzhBathstatusItemCss;
@@ -114,4 +114,4 @@ function defineCustomElement() {
114
114
 
115
115
  export { StzhBathstatusItem as S, defineCustomElement as d };
116
116
 
117
- //# sourceMappingURL=p-98aa0418.js.map
117
+ //# sourceMappingURL=p-b2eca173.js.map
@@ -1 +1 @@
1
- {"file":"p-98aa0418.js","mappings":";;;;;;AAAA,MAAM,qBAAqB,GAAG,qsIAAqsI,CAAC;AACpuI,iCAAe,qBAAqB;;MCYvB,kBAAkB;;;;QAqCrB,uBAAkB,GAAG;YAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC;SACzC,CAAC;QAEM,SAAI,GAAG;YACb,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC7B,CAAC;;uBAtCmC,QAAQ;oBAGG,EAAE;;;;IAelD,WAAW,CAAC,QAAyC;QACnD,IAAI,CAAC,QAAQ,EAAE;YACb,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;SACxB;aAAM,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YACvC,IAAI;gBACF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;aACnC;YAAC,OAAO,CAAC,EAAE;gBACV,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;aACxB;SACF;aAAM;YACL,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC;SACvB;KACF;IAUO,aAAa,CAAC,OAAe;QACnC,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,OAAO,CAAC,CAAC;QACrC,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,EAAE;YAC/B,OAAO,IAAI,CAAC;SACb;QACD,OAAO,UAAU,CAAC;KACnB;IAED,MAAM,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,MAAM,MAAM,CAAC,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E,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,GAC9C,CACE,CACG,CACZ,CACG,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.scss?tag=stzh-bathstatus-item&encapsulation=scoped","src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-bathstatus-item {\n background-color: var(--stzh-color-grey10);\n padding-top: var(--stzh-space-xlarge);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-xlarge);\n padding-left: var(--stzh-space-large);\n\n &__description,\n &-value {\n @include fontSize(\"milli\");\n }\n\n &__title {\n @include fontSize(\"milli\");\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n }\n\n &-container {\n display: grid;\n grid-template-columns: max-content 1fr;\n gap: var(--stzh-space-small) var(--stzh-space-xlarge);\n align-items: center;\n }\n\n &-key {\n @include fontSize(\"nano\");\n color: var(--stzh-color-grey70);\n }\n\n /** Variant teaser */\n\n &--teaser &__title {\n display: none;\n }\n\n &--teaser &__description {\n margin-bottom: var(--stzh-space-medium);\n }\n\n /** Variant list */\n\n &--list {\n padding-top: var(--stzh-space-small);\n padding-right: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-small);\n padding-left: var(--stzh-space-xsmall);\n\n @include mq($from: medium) {\n padding-top: var(--stzh-space-medium);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-medium);\n padding-left: var(--stzh-space-large);\n }\n }\n\n &--list &__description,\n &--list &-key,\n &--list &-uv-index-prediction {\n display: none;\n }\n\n &--list &-container {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n\n &--list &-value {\n @include fontSize(\"micro\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n }\n }\n}\n","import { Component, Element, Fragment, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhBathstatusItemData, StzhLocaleAdapter } from \"../../../index\";\nimport { StzhBathstatusItemLocalizedText } from \"./stzh-bathstatus-item.localization\";\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../../utils/media-utils\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-bathstatus-item\",\n styleUrl: \"stzh-bathstatus-item.scss\",\n scoped: true,\n})\nexport class StzhBathstatusItem {\n /** Translation strings */\n @Prop() localization: StzhBathstatusItemLocalizedText;\n\n /** Variant */\n @Prop() variant: \"teaser\" | \"list\" = \"teaser\";\n\n /** Bathstatus item */\n @Prop() item: StzhBathstatusItemData | string = \"\";\n private _item: StzhBathstatusItemData | undefined;\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n @Element() element: HTMLStzhBathstatusItemElement;\n\n @State() isMedium: boolean;\n\n @Watch(\"item\")\n itemWatcher(newValue: StzhBathstatusItemData | string) {\n if (!newValue) {\n this._item = undefined;\n } else if (typeof newValue === \"string\") {\n try {\n this._item = JSON.parse(newValue);\n } catch (e) {\n this._item = undefined;\n }\n } else {\n this._item = newValue;\n }\n }\n\n private mediaChangeHandler = () => {\n this.isMedium = media(\"medium\").matches;\n };\n\n private init = () => {\n this.itemWatcher(this.item);\n };\n\n private getParsedDate(dateStr: string): Date | null {\n const parsedDate = new Date(dateStr);\n if (isNaN(parsedDate.getTime())) {\n return null;\n }\n return parsedDate;\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"bathstatus-item\");\n }\n if (!this.dateAdapter) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n connectedCallback() {\n this.init();\n this.mediaChangeHandler();\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const classes = {\n \"stzh-bathstatus-item\": true,\n [`stzh-bathstatus-item--${this.variant}`]: true,\n };\n\n return (\n <Host>\n <div class={classes}>\n {!!this._item.description && <div class=\"stzh-bathstatus-item__description\">{this._item.description}</div>}\n <div class=\"stzh-bathstatus-item-container\">\n <stzh-link\n class=\"stzh-bathstatus-item__title\"\n size=\"default\"\n textAlign={\"left\"}\n href={this._item.url}\n label={this._item.title}\n ></stzh-link>\n {!!this._item.temp && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.temperature}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.temp}</div>\n </Fragment>\n )}\n {!!this._item.statusMessage && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.status}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.statusMessage}</div>\n </Fragment>\n )}\n {!!this._item.lastUpdate && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.lastUpdate}</div>\n <div class=\"stzh-bathstatus-item-value\">\n {this.isMedium ? (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"datetimeLong\")}\n </Fragment>\n ) : (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"dateInput\")}{\" \"}\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"time\")}\n </Fragment>\n )}\n </div>\n </Fragment>\n )}\n {!!this._item.uvIndexPrediction && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.uvIndexPrediction}</div>\n <div class=\"stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction\">\n <img\n src={`${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`}\n alt={\"UV Index\" + this._item.uvIndexPrediction}\n />\n </div>\n </Fragment>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":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/stzh-bathstatus-item.scss?tag=stzh-bathstatus-item&encapsulation=scoped","src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-bathstatus-item {\n background-color: var(--stzh-color-grey10);\n padding-top: var(--stzh-space-xlarge);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-xlarge);\n padding-left: var(--stzh-space-large);\n\n &__description,\n &-value {\n @include fontSize(\"milli\");\n }\n\n &__title {\n @include fontSize(\"milli\");\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n }\n\n &-container {\n display: grid;\n grid-template-columns: max-content 1fr;\n gap: var(--stzh-space-small) var(--stzh-space-xlarge);\n align-items: center;\n }\n\n &-key {\n @include fontSize(\"nano\");\n color: var(--stzh-color-grey70);\n }\n\n /** Variant teaser */\n\n &--teaser &__title {\n display: none;\n }\n\n &--teaser &__description {\n margin-bottom: var(--stzh-space-medium);\n }\n\n /** Variant list */\n\n &--list {\n padding-top: var(--stzh-space-small);\n padding-right: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-small);\n padding-left: var(--stzh-space-xsmall);\n\n @include mq($from: medium) {\n padding-top: var(--stzh-space-medium);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-medium);\n padding-left: var(--stzh-space-large);\n }\n }\n\n &--list &__description,\n &--list &-key,\n &--list &-uv-index-prediction {\n display: none;\n }\n\n &--list &-container {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n\n &--list &-value {\n @include fontSize(\"micro\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n }\n }\n}\n","import { Component, Element, Fragment, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhBathstatusItemData, StzhLocaleAdapter } from \"../../../index\";\nimport { StzhBathstatusItemLocalizedText } from \"./stzh-bathstatus-item.localization\";\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../../utils/media-utils\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-bathstatus-item\",\n styleUrl: \"stzh-bathstatus-item.scss\",\n scoped: true,\n})\nexport class StzhBathstatusItem {\n /** Translation strings */\n @Prop() localization: StzhBathstatusItemLocalizedText;\n\n /** Variant */\n @Prop() variant: \"teaser\" | \"list\" = \"teaser\";\n\n /** Bathstatus item */\n @Prop() item: StzhBathstatusItemData | string = \"\";\n private _item: StzhBathstatusItemData | undefined;\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n @Element() element: HTMLStzhBathstatusItemElement;\n\n @State() isMedium: boolean;\n\n @Watch(\"item\")\n itemWatcher(newValue: StzhBathstatusItemData | string) {\n if (!newValue) {\n this._item = undefined;\n } else if (typeof newValue === \"string\") {\n try {\n this._item = JSON.parse(newValue);\n } catch (e) {\n this._item = undefined;\n }\n } else {\n this._item = newValue;\n }\n }\n\n private mediaChangeHandler = () => {\n this.isMedium = media(\"medium\").matches;\n };\n\n private init = () => {\n this.itemWatcher(this.item);\n };\n\n private getParsedDate(dateStr: string): Date | null {\n const parsedDate = new Date(dateStr);\n if (isNaN(parsedDate.getTime())) {\n return null;\n }\n return parsedDate;\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"bathstatus-item\");\n }\n if (!this.dateAdapter) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n connectedCallback() {\n this.init();\n this.mediaChangeHandler();\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const classes = {\n \"stzh-bathstatus-item\": true,\n [`stzh-bathstatus-item--${this.variant}`]: true,\n };\n\n return (\n <Host>\n <div class={classes}>\n {!!this._item.description && <div class=\"stzh-bathstatus-item__description\">{this._item.description}</div>}\n <div class=\"stzh-bathstatus-item-container\">\n <stzh-link\n class=\"stzh-bathstatus-item__title\"\n size=\"default\"\n textAlign={\"left\"}\n href={this._item.url}\n label={this._item.title}\n ></stzh-link>\n {!!this._item.temp && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.temperature}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.temp}</div>\n </Fragment>\n )}\n {!!this._item.statusMessage && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.status}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.statusMessage}</div>\n </Fragment>\n )}\n {!!this._item.lastUpdate && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.lastUpdate}</div>\n <div class=\"stzh-bathstatus-item-value\">\n {this.isMedium ? (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"datetimeLong\")}\n </Fragment>\n ) : (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"dateInput\")}{\" \"}\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"time\")}\n </Fragment>\n )}\n </div>\n </Fragment>\n )}\n {!!this._item.uvIndexPrediction && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.uvIndexPrediction}</div>\n <div class=\"stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction\">\n <img\n src={`${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`}\n alt={\"UV Index\" + this._item.uvIndexPrediction}\n />\n </div>\n </Fragment>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-8f01554b.js';
2
2
  import { h as hasSlot } from './p-289f5de2.js';
3
- import { d as defineCustomElement$2 } from './p-dd1c0c0c.js';
4
- import { d as defineCustomElement$1 } from './p-7c4e756c.js';
3
+ import { d as defineCustomElement$2 } from './p-42e86bbd.js';
4
+ import { d as defineCustomElement$1 } from './p-a2659715.js';
5
5
 
6
6
  const stzhMenuItemCss = ".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h,[stzh-hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-menu-item-h .has-focus.sc-stzh-menu-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item{outline-style:none !important}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item::-moz-focus-inner{border:0 !important}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-black);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--hover-color:var(--stzh-popover-item-hover-color, var(--stzh-color-black));--hover-background-color:var(--stzh-popover-item-hover-bg, var(--stzh-color-grey20))}[size=large].sc-stzh-menu-item-h{--icon-size:var(--stzh-icon-size);--height:var(--stzh-menu-large-item-height);--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge)}[variant=secondary].sc-stzh-menu-item-h{--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-secondary30)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-grey20)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;display:flex;gap:var(--stzh-space-small);align-items:center;justify-content:stretch;appearance:none;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{--stzh-icon-size:var(--icon-size);position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__text-wrapper.sc-stzh-menu-item{display:flex;gap:var(--stzh-space-xsmall)}.stzh-menu-item__counter.sc-stzh-menu-item{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--size-large.sc-stzh-menu-item{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);gap:var(--stzh-space-medium)}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";
7
7
  const StzhMenuItemStyle0 = stzhMenuItemCss;
@@ -87,7 +87,7 @@ const StzhMenuItem = /*@__PURE__*/ proxyCustomElement(class StzhMenuItem extends
87
87
  [`stzh-menu-item--size-${this.size}`]: !!this.size,
88
88
  [`stzh-menu-item--${this.variant}`]: !!this.variant,
89
89
  };
90
- return (h(Host, { key: '5890cc5dec0b12903ac165230472b93eae8393e4', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
90
+ return (h(Host, { key: 'e515fdca2d1a78fc434dc09d425e845fca34ec16', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
91
91
  }
92
92
  get element() { return this; }
93
93
  static get style() { return StzhMenuItemStyle0; }
@@ -133,4 +133,4 @@ function defineCustomElement() {
133
133
 
134
134
  export { StzhMenuItem as S, defineCustomElement as d };
135
135
 
136
- //# sourceMappingURL=p-26edabbb.js.map
136
+ //# sourceMapp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AAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-b35195c8.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,ipIAAipI,CAAC;AAC1qI,2BAAe,eAAe;;MCqBjB,YAAY;;;;;;;QA6Df,mBAAc,GAAY,KAAK,CAAC;QAEhC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB;YAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;SAC7B,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;gBACzC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,gBAAgB;gBAC3B,aAAa,EAAE,KAAK;aACrB,CAAC,CAAC;SACJ,CAAC;QAEM,WAAM,GAAG,CAAC,KAAiB;YACjC,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,MAAM,EAAE;gBACvC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,C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AAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACzB,KAEJ,cACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-8f01554b.js';
2
- import { d as defineCustomElement$1 } from './p-7c4e756c.js';
2
+ import { d as defineCustomElement$1 } from './p-a2659715.js';
3
3
 
4
4
  const stzhBreadcrumbCss = ".sc-stzh-breadcrumb-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-breadcrumb-h,[stzh-hidden].sc-stzh-breadcrumb-h{display:none}.sc-stzh-breadcrumb-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb,.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb::before,.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-breadcrumb-h .has-focus.sc-stzh-breadcrumb{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-breadcrumb-h .stzh-fylingfocus-focused.sc-stzh-breadcrumb{outline-style:none !important}.sc-stzh-breadcrumb-h .stzh-fylingfocus-focused.sc-stzh-breadcrumb::-moz-focus-inner{border:0 !important}.sc-stzh-breadcrumb-h{overflow:hidden;--color:var(--stzh-breadcrumb-color, var(--stzh-color-primary70))}@media print{.sc-stzh-breadcrumb-h{display:none}}[variant=teaser].sc-stzh-breadcrumb-h{--color:var(--stzh-color-grey80)}.stzh-breadcrumb.sc-stzh-breadcrumb{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);color:var(--color)}.stzh-breadcrumb__list.sc-stzh-breadcrumb,.stzh-breadcrumb__item.sc-stzh-breadcrumb,.stzh-breadcrumb__item-link.sc-stzh-breadcrumb{display:flex;align-items:center}.stzh-breadcrumb__list.sc-stzh-breadcrumb{list-style:none;margin:0;padding:0;white-space:nowrap}.stzh-breadcrumb__item.is-expand.sc-stzh-breadcrumb .stzh-breadcrumb__item-link.sc-stzh-breadcrumb{cursor:pointer}.stzh-breadcrumb__item.is-hidden.sc-stzh-breadcrumb{position:absolute;visibility:hidden}.stzh-breadcrumb__item.is-last.sc-stzh-breadcrumb .stzh-breadcrumb__item-link.sc-stzh-breadcrumb{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-breadcrumb__item.is-first.sc-stzh-breadcrumb .stzh-breadcrumb__item-label.sc-stzh-breadcrumb{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-breadcrumb__item-link.sc-stzh-breadcrumb{appearance:none;background-color:transparent;border:none;text-decoration:none;color:inherit}.stzh-breadcrumb__item-link.is-link.sc-stzh-breadcrumb{cursor:pointer;transition:color var(--stzh-base-transition-animation-speed)}.stzh-breadcrumb__item-link.is-link.sc-stzh-breadcrumb:hover{color:var(--stzh-color-primary90)}.stzh-breadcrumb__item-icon.sc-stzh-breadcrumb{margin-right:var(--stzh-space-xxsmall)}.stzh-breadcrumb__item-icon.is-separator.sc-stzh-breadcrumb{--size:var(--stzh-icon-size-small)}.stzh-breadcrumb__item-label-hidden.sc-stzh-breadcrumb{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-breadcrumb--is-expanded.sc-stzh-breadcrumb .stzh-breadcrumb__list.sc-stzh-breadcrumb{flex-wrap:wrap;white-space:initial}.stzh-breadcrumb--is-expanded.sc-stzh-breadcrumb .is-expand.sc-stzh-breadcrumb{position:absolute}.stzh-breadcrumb--teaser.sc-stzh-breadcrumb{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}";
5
5
  const StzhBreadcrumbStyle0 = stzhBreadcrumbCss;
@@ -153,7 +153,7 @@ const StzhBreadcrumb = /*@__PURE__*/ proxyCustomElement(class StzhBreadcrumb ext
153
153
  [`stzh-breadcrumb--${this.variant}`]: !!this.variant,
154
154
  rs_skip: true, // will prevent component being read by readspeaker
155
155
  };
156
- return (h(Host, { key: '217497bb945d3eaa81439a6d977c931434ebf0e9' }, h("div", { key: '1b4247fd3045b96bdb38e33da0c4cb3f32fe6d0d', class: classes }, h("nav", { key: 'd9050b8955ca9bbb9206926c0494cf8bd0746544', ref: el => (this.navElement = el), class: "stzh-breadcrumb__nav", role: "navigation", "aria-label": this.localization.title }, h("ol", { key: 'ba84e539e40f7ca7cb8d76375df8c6d4727389ef', class: "stzh-breadcrumb__list" }, this._items.map((item, index) => (h(Fragment, null, h("li", { class: {
156
+ return (h(Host, { key: 'ed1c7468acd17e85c9b2a4b9a751e7d3ac819405' }, h("div", { key: '4076813c39b6af2cf5d7f68f6483707bc5a36a06', class: classes }, h("nav", { key: '9280811b687f8162e9c17c856299fd34747ad05b', ref: el => (this.navElement = el), class: "stzh-breadcrumb__nav", role: "navigation", "aria-label": this.localization.title }, h("ol", { key: '505ad815ab804d4579832e8ed77236fdcbf705e4', class: "stzh-breadcrumb__list" }, this._items.map((item, index) => (h(Fragment, null, h("li", { class: {
157
157
  "stzh-breadcrumb__item": true,
158
158
  "is-last": index + 1 === this._items.length,
159
159
  "is-first": index === 0,
@@ -199,4 +199,4 @@ function defineCustomElement() {
199
199
 
200
200
  export { StzhBreadcrumb as S, defineCustomElement as d };
201
201
 
202
- //# sourceMappingURL=p-be365aa5.js.map
202
+ //# sourceMappingURL=p-b5caf3f4.js.map
@@ -1 +1 @@
1
- {"file":"p-be365aa5.js","mappings":";;;AAAA,MAAM,iBAAiB,GAAG,kiHAAkiH,CAAC;AAC7jH,6BAAe,iBAAiB;;ACKhC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAC5B,MAAM,gBAAgB,GAAG,CAAC,CAAC;MAUd,cAAc;;;;;QAyDjB,oBAAe,GAAG;YACxB,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;gBACvC,OAAO;aACR;YAED,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;YAEnD,MAAM,gCAAgC,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,KAAK;gBACnF,IAAI,KAAK,KAAK,iBAAiB,EAAE;oBAC/B,OAAO,QAAQ,CAAC;iBACjB;qBAAM;oBACL,OAAO,QAAQ,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;iBAC3B;aACF,EAAE,CAAC,CAAC,CAAC;YAEN,IAAI,gCAAgC,IAAI,cAAc,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;gBACrG,MAAM,SAAS,GAAG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AI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,EACvC,KAAK,EAAE;gBACL,4BAA4B,EAAE,IAAI;gBAClC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI;aACvB,IAEA,KAAK,KAAK,CAAC,IACV,iBAAW,KAAK,EAAC,4BAA4B,EAAC,IAAI,EAAC,MAAM,GAAa,KAEtE,iBAAW,KAAK,EAAC,yCAAyC,EAAC,IAAI,EAAC,aAAa,GAAa,CAC3F,EACD,YAAM,KAAK,EAAC,6BAA6B,EAAC,SAAS,EAAE,IAAI,CAAC,KAAK,GAAS,CACtE,CACD,EACJ,KAAK,KAAK,CAAC,KACV,UAAI,KAAK,EAAC,iCAAiC,IACzC,cAAQ,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,IACxE,iBAAW,KAAK,EAAC,yCAAyC,EAAC,IAAI,EAAC,aAAa,GAAa,EAC1F,YAAM,KAAK,EAAC,6BAA6B,IACvC,2BAAkB,MAAM,IAAE,IAAI,CAAC,YAAY,CAAC,WAAW,CAAQ,EAC/D,YAAM,KAAK,EAAC,oCAAoC,IAAE,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAQ,CACxF,CACA,CACN,CACN,CACQ,CACZ,CAAC,CACC,CACD,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-breadcrumb/stzh-breadcrumb.scss?tag=stzh-breadcrumb&encapsulation=scoped","src/components/stzh-breadcrumb/stzh-breadcrumb.tsx"],"sourcesContent":[":host {\n overflow: hidden;\n --color: var(--stzh-breadcrumb-color, #{$colorPrimary70});\n\n @media print {\n display: none;\n }\n\n &[variant=\"teaser\"] {\n --color: #{$colorGrey80};\n }\n}\n\n.stzh-breadcrumb {\n @include fontSize(\"milli\");\n color: var(--color);\n\n &__list,\n &__item,\n &__item-link {\n display: flex;\n align-items: center;\n }\n\n &__list {\n list-style: none;\n margin: 0;\n padding: 0;\n white-space: nowrap;\n }\n\n &__item.is-expand &__item-link {\n cursor: pointer;\n }\n\n &__item.is-hidden {\n position: absolute;\n visibility: hidden;\n }\n\n &__item.is-last &__item-link {\n @include font(\"heavy\");\n }\n\n &__item.is-first &__item-label {\n @include visuallyhidden;\n }\n\n &__item-link {\n appearance: none;\n background-color: transparent;\n border: none;\n text-decoration: none;\n color: inherit;\n }\n\n &__item-link.is-link {\n cursor: pointer;\n transition: color $baseTransitionAnimationSpeed;\n\n &:hover {\n color: $colorPrimary90;\n }\n }\n\n &__item-icon {\n margin-right: space(\"xxsmall\");\n\n &.is-separator {\n --size: #{iconSize(\"small\")};\n }\n }\n\n &__item-label-hidden {\n @include visuallyhidden;\n }\n\n /* Expanded variant */\n\n &--is-expanded &__list {\n flex-wrap: wrap;\n white-space: initial;\n }\n\n &--is-expanded .is-expand {\n position: absolute;\n }\n\n /* Teaser variant */\n\n &--teaser {\n @include fontSize(\"micro\");\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, State, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhBreadcrumbItem, StzhBreadcrumbItemClickEvent } from \"../../index\";\n\nimport { StzhBreadcrumbLocalizedText } from \"./stzh-breadcrumb.localization\";\n\nconst ITEM_EXPAND_INDEX = 1;\nconst SHRINK_DIRECTION = 1; // 1 = removes item to the right / -1 = removes item to the left\n\n/**\n *\n */\n@Component({\n tag: \"stzh-breadcrumb\",\n styleUrl: \"stzh-breadcrumb.scss\",\n scoped: true,\n})\nexport class StzhBreadcrumb {\n /** Translation strings */\n @Prop() localization: StzhBreadcrumbLocalizedText;\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"teaser\" = \"default\";\n\n /** Breadcrumb items */\n @Prop() items: StzhBreadcrumbItem[] | string = [];\n private _items: StzhBreadcrumbItem[];\n\n /** Whether all items are shown (true) or everything should fit into one line and not wrap (false, default) */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n @Element() element: HTMLStzhBreadcrumbElement;\n\n @Watch(\"items\")\n itemsWatcher(newValue: StzhBreadcrumbItem[] | string) {\n if (!newValue) {\n this._items = [];\n } else if (typeof newValue === \"string\") {\n try {\n this._items = JSON.parse(newValue);\n } catch (e) {\n this._items = [];\n }\n } else {\n this._items = newValue;\n }\n }\n\n @Watch(\"expanded\")\n expandedWatcher() {\n this.updateContainer();\n }\n\n /** Item click event */\n @Event() stzhItemClick: EventEmitter<StzhBreadcrumbItemClickEvent>;\n\n @State() hasHiddenItems: boolean = false;\n\n private navElement: HTMLElement;\n private itemSizes: [HTMLElement, number][];\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private debounceResizeItems: number;\n private resizeItemsObserver: ResizeObserver;\n\n private handleClick(item: StzhBreadcrumbItem, originalEvent: MouseEvent) {\n this.stzhItemClick.emit({\n component: \"stzh-breadcrumb\",\n item,\n originalEvent,\n });\n }\n\n private updateContainer = () => {\n if (!this.navElement || !this.itemSizes) {\n return;\n }\n\n const containerWidth = this.navElement.clientWidth;\n\n const totalItemsWidthWithoutExpandItem = this.itemSizes.reduce((previous, item, index) => {\n if (index === ITEM_EXPAND_INDEX) {\n return previous;\n } else {\n return previous + item[1];\n }\n }, 0);\n\n if (totalItemsWidthWithoutExpandItem >= containerWidth && this.itemSizes.length > 2 && !this.expanded) {\n const hideItems = [];\n\n const expandItemWidth = this.itemSizes[ITEM_EXPAND_INDEX][1];\n let currentIndexToHide = ITEM_EXPAND_INDEX + SHRINK_DIRECTION;\n let totalItemsShownWidthWithoutExpandItem = totalItemsWidthWithoutExpandItem;\n\n do {\n const current = this.itemSizes[currentIndexToHide];\n hideItems.push(current[0]);\n totalItemsShownWidthWithoutExpandItem = totalItemsShownWidthWithoutExpandItem - current[1];\n currentIndexToHide = currentIndexToHide + SHRINK_DIRECTION;\n } while (\n totalItemsShownWidthWithoutExpandItem + expandItemWidth >= containerWidth &&\n currentIndexToHide < this.itemSizes.length\n );\n\n this.hasHiddenItems = true;\n\n this.itemSizes.forEach(([item], index) => {\n if (index === ITEM_EXPAND_INDEX) {\n item.classList.remove(\"is-hidden\");\n } else {\n item.classList.toggle(\"is-hidden\", hideItems.includes(item));\n }\n });\n } else {\n this.hasHiddenItems = false;\n\n this.itemSizes.forEach(([item], index) => {\n if (index === ITEM_EXPAND_INDEX) {\n item.classList.add(\"is-hidden\");\n } else {\n item.classList.remove(\"is-hidden\");\n }\n });\n }\n };\n\n private updateItems = () => {\n if (!this.navElement) {\n return;\n }\n\n // TODO: current updates all item sizes, but could be optimized only to update really resized items with using passed ResizeObserver entries\n const items = Array.from(this.navElement.querySelectorAll(\".stzh-breadcrumb__item\")) as HTMLElement[];\n this.itemSizes = [];\n\n items.forEach(item => {\n const { width } = item.getBoundingClientRect();\n this.itemSizes.push([item, width]);\n });\n\n this.updateContainer();\n };\n\n private handleContainerResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateContainer);\n };\n\n private handleItemResize = () => {\n if (this.debounceResizeItems) {\n window.cancelAnimationFrame(this.debounceResizeItems);\n }\n\n this.debounceResizeItems = requestAnimationFrame(this.updateItems);\n };\n\n private handleExpandClick = () => {\n this.expanded = true;\n\n const itemLinks = Array.from(this.navElement.querySelectorAll(\".stzh-breadcrumb__item-link\")) as HTMLElement[];\n itemLinks[2].focus();\n };\n\n async componentWillLoad() {\n this.itemsWatcher(this.items);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"breadcrumb\");\n }\n }\n\n componentDidRender() {\n this.resizeObserver.observe(this.navElement);\n\n const items = this.navElement.querySelectorAll(\".stzh-breadcrumb__item\");\n items.forEach(item => {\n this.resizeItemsObserver.observe(item);\n });\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleContainerResize);\n this.resizeItemsObserver = new ResizeObserver(this.handleItemResize);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.resizeItemsObserver) {\n this.resizeItemsObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-breadcrumb\": true,\n \"stzh-breadcrumb--is-expanded\": this.expanded,\n \"stzh-breadcrumb--has-hidden-items\": this.hasHiddenItems,\n [`stzh-breadcrumb--${this.variant}`]: !!this.variant,\n rs_skip: true, // will prevent component being read by readspeaker\n };\n\n return (\n <Host>\n <div class={classes}>\n <nav\n ref={el => (this.navElement = el as HTMLElement)}\n class=\"stzh-breadcrumb__nav\"\n role=\"navigation\"\n aria-label={this.localization.title}\n >\n <ol class=\"stzh-breadcrumb__list\">\n {this._items.map((item, index) => (\n <Fragment>\n <li\n class={{\n \"stzh-breadcrumb__item\": true,\n \"is-last\": index + 1 === this._items.length,\n \"is-first\": index === 0,\n }}\n >\n <a\n aria-current={index + 1 === this._items.length ? \"page\" : null}\n href={item.href}\n onClick={e => this.handleClick(item, e)}\n class={{\n \"stzh-breadcrumb__item-link\": true,\n \"is-link\": !!item.href,\n }}\n >\n {index === 0 ? (\n <stzh-icon class=\"stzh-breadcrumb__item-icon\" name=\"home\"></stzh-icon>\n ) : (\n <stzh-icon class=\"stzh-breadcrumb__item-icon is-separator\" name=\"angle-right\"></stzh-icon>\n )}\n <span class=\"stzh-breadcrumb__item-label\" innerHTML={item.label}></span>\n </a>\n </li>\n {index === 0 && (\n <li class=\"stzh-breadcrumb__item is-expand\">\n <button class=\"stzh-breadcrumb__item-link\" onClick={this.handleExpandClick}>\n <stzh-icon class=\"stzh-breadcrumb__item-icon is-separator\" name=\"angle-right\"></stzh-icon>\n <span class=\"stzh-breadcrumb__item-label\">\n <span aria-hdiden=\"true\">{this.localization.expandLabel}</span>\n <span class=\"stzh-breadcrumb__item-label-hidden\">{this.localization.expandHiddenLabel}</span>\n </span>\n </button>\n </li>\n )}\n </Fragment>\n ))}\n </ol>\n </nav>\n </div>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AI,CAAC,KAAK,GAAS,CACtE,CACD,EACJ,KAAK,KAAK,CAAC,KACV,UAAI,KAAK,EAAC,iCAAiC,IACzC,cAAQ,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,IACxE,iBAAW,KAAK,EAAC,yCAAyC,EAAC,IAAI,EAAC,aAAa,GAAa,EAC1F,YAAM,KAAK,EAAC,6BAA6B,IACvC,2BAAkB,MAAM,IAAE,IAAI,CAAC,YAAY,CAAC,WAAW,CAAQ,EAC/D,YAAM,KAAK,EAAC,oCAAoC,IAAE,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAQ,CACxF,CACA,CACN,CACN,CACQ,CACZ,CAAC,CACC,CACD,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-breadcrumb/stzh-breadcrumb.scss?tag=stzh-breadcrumb&encapsulation=scoped","src/components/stzh-breadcrumb/stzh-breadcrumb.tsx"],"sourcesContent":[":host {\n overflow: hidden;\n --color: var(--stzh-breadcrumb-color, #{$colorPrimary70});\n\n @media print {\n display: none;\n }\n\n &[variant=\"teaser\"] {\n --color: #{$colorGrey80};\n }\n}\n\n.stzh-breadcrumb {\n @include fontSize(\"milli\");\n color: var(--color);\n\n &__list,\n &__item,\n &__item-link {\n display: flex;\n align-items: center;\n }\n\n &__list {\n list-style: none;\n margin: 0;\n padding: 0;\n white-space: nowrap;\n }\n\n &__item.is-expand &__item-link {\n cursor: pointer;\n }\n\n &__item.is-hidden {\n position: absolute;\n visibility: hidden;\n }\n\n &__item.is-last &__item-link {\n @include font(\"heavy\");\n }\n\n &__item.is-first &__item-label {\n @include visuallyhidden;\n }\n\n &__item-link {\n appearance: none;\n background-color: transparent;\n border: none;\n text-decoration: none;\n color: inherit;\n }\n\n &__item-link.is-link {\n cursor: pointer;\n transition: color $baseTransitionAnimationSpeed;\n\n &:hover {\n color: $colorPrimary90;\n }\n }\n\n &__item-icon {\n margin-right: space(\"xxsmall\");\n\n &.is-separator {\n --size: #{iconSize(\"small\")};\n }\n }\n\n &__item-label-hidden {\n @include visuallyhidden;\n }\n\n /* Expanded variant */\n\n &--is-expanded &__list {\n flex-wrap: wrap;\n white-space: initial;\n }\n\n &--is-expanded .is-expand {\n position: absolute;\n }\n\n /* Teaser variant */\n\n &--teaser {\n @include fontSize(\"micro\");\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, State, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhBreadcrumbItem, StzhBreadcrumbItemClickEvent } from \"../../index\";\n\nimport { StzhBreadcrumbLocalizedText } from \"./stzh-breadcrumb.localization\";\n\nconst ITEM_EXPAND_INDEX = 1;\nconst SHRINK_DIRECTION = 1; // 1 = removes item to the right / -1 = removes item to the left\n\n/**\n *\n */\n@Component({\n tag: \"stzh-breadcrumb\",\n styleUrl: \"stzh-breadcrumb.scss\",\n scoped: true,\n})\nexport class StzhBreadcrumb {\n /** Translation strings */\n @Prop() localization: StzhBreadcrumbLocalizedText;\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"teaser\" = \"default\";\n\n /** Breadcrumb items */\n @Prop() items: StzhBreadcrumbItem[] | string = [];\n private _items: StzhBreadcrumbItem[];\n\n /** Whether all items are shown (true) or everything should fit into one line and not wrap (false, default) */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n @Element() element: HTMLStzhBreadcrumbElement;\n\n @Watch(\"items\")\n itemsWatcher(newValue: StzhBreadcrumbItem[] | string) {\n if (!newValue) {\n this._items = [];\n } else if (typeof newValue === \"string\") {\n try {\n this._items = JSON.parse(newValue);\n } catch (e) {\n this._items = [];\n }\n } else {\n this._items = newValue;\n }\n }\n\n @Watch(\"expanded\")\n expandedWatcher() {\n this.updateContainer();\n }\n\n /** Item click event */\n @Event() stzhItemClick: EventEmitter<StzhBreadcrumbItemClickEvent>;\n\n @State() hasHiddenItems: boolean = false;\n\n private navElement: HTMLElement;\n private itemSizes: [HTMLElement, number][];\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private debounceResizeItems: number;\n private resizeItemsObserver: ResizeObserver;\n\n private handleClick(item: StzhBreadcrumbItem, originalEvent: MouseEvent) {\n this.stzhItemClick.emit({\n component: \"stzh-breadcrumb\",\n item,\n originalEvent,\n });\n }\n\n private updateContainer = () => {\n if (!this.navElement || !this.itemSizes) {\n return;\n }\n\n const containerWidth = this.navElement.clientWidth;\n\n const totalItemsWidthWithoutExpandItem = this.itemSizes.reduce((previous, item, index) => {\n if (index === ITEM_EXPAND_INDEX) {\n return previous;\n } else {\n return previous + item[1];\n }\n }, 0);\n\n if (totalItemsWidthWithoutExpandItem >= containerWidth && this.itemSizes.length > 2 && !this.expanded) {\n const hideItems = [];\n\n const expandItemWidth = this.itemSizes[ITEM_EXPAND_INDEX][1];\n let currentIndexToHide = ITEM_EXPAND_INDEX + SHRINK_DIRECTION;\n let totalItemsShownWidthWithoutExpandItem = totalItemsWidthWithoutExpandItem;\n\n do {\n const current = this.itemSizes[currentIndexToHide];\n hideItems.push(current[0]);\n totalItemsShownWidthWithoutExpandItem = totalItemsShownWidthWithoutExpandItem - current[1];\n currentIndexToHide = currentIndexToHide + SHRINK_DIRECTION;\n } while (\n totalItemsShownWidthWithoutExpandItem + expandItemWidth >= containerWidth &&\n currentIndexToHide < this.itemSizes.length\n );\n\n this.hasHiddenItems = true;\n\n this.itemSizes.forEach(([item], index) => {\n if (index === ITEM_EXPAND_INDEX) {\n item.classList.remove(\"is-hidden\");\n } else {\n item.classList.toggle(\"is-hidden\", hideItems.includes(item));\n }\n });\n } else {\n this.hasHiddenItems = false;\n\n this.itemSizes.forEach(([item], index) => {\n if (index === ITEM_EXPAND_INDEX) {\n item.classList.add(\"is-hidden\");\n } else {\n item.classList.remove(\"is-hidden\");\n }\n });\n }\n };\n\n private updateItems = () => {\n if (!this.navElement) {\n return;\n }\n\n // TODO: current updates all item sizes, but could be optimized only to update really resized items with using passed ResizeObserver entries\n const items = Array.from(this.navElement.querySelectorAll(\".stzh-breadcrumb__item\")) as HTMLElement[];\n this.itemSizes = [];\n\n items.forEach(item => {\n const { width } = item.getBoundingClientRect();\n this.itemSizes.push([item, width]);\n });\n\n this.updateContainer();\n };\n\n private handleContainerResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateContainer);\n };\n\n private handleItemResize = () => {\n if (this.debounceResizeItems) {\n window.cancelAnimationFrame(this.debounceResizeItems);\n }\n\n this.debounceResizeItems = requestAnimationFrame(this.updateItems);\n };\n\n private handleExpandClick = () => {\n this.expanded = true;\n\n const itemLinks = Array.from(this.navElement.querySelectorAll(\".stzh-breadcrumb__item-link\")) as HTMLElement[];\n itemLinks[2].focus();\n };\n\n async componentWillLoad() {\n this.itemsWatcher(this.items);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"breadcrumb\");\n }\n }\n\n componentDidRender() {\n this.resizeObserver.observe(this.navElement);\n\n const items = this.navElement.querySelectorAll(\".stzh-breadcrumb__item\");\n items.forEach(item => {\n this.resizeItemsObserver.observe(item);\n });\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleContainerResize);\n this.resizeItemsObserver = new ResizeObserver(this.handleItemResize);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.resizeItemsObserver) {\n this.resizeItemsObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-breadcrumb\": true,\n \"stzh-breadcrumb--is-expanded\": this.expanded,\n \"stzh-breadcrumb--has-hidden-items\": this.hasHiddenItems,\n [`stzh-breadcrumb--${this.variant}`]: !!this.variant,\n rs_skip: true, // will prevent component being read by readspeaker\n };\n\n return (\n <Host>\n <div class={classes}>\n <nav\n ref={el => (this.navElement = el as HTMLElement)}\n class=\"stzh-breadcrumb__nav\"\n role=\"navigation\"\n aria-label={this.localization.title}\n >\n <ol class=\"stzh-breadcrumb__list\">\n {this._items.map((item, index) => (\n <Fragment>\n <li\n class={{\n \"stzh-breadcrumb__item\": true,\n \"is-last\": index + 1 === this._items.length,\n \"is-first\": index === 0,\n }}\n >\n <a\n aria-current={index + 1 === this._items.length ? \"page\" : null}\n href={item.href}\n onClick={e => this.handleClick(item, e)}\n class={{\n \"stzh-breadcrumb__item-link\": true,\n \"is-link\": !!item.href,\n }}\n >\n {index === 0 ? (\n <stzh-icon class=\"stzh-breadcrumb__item-icon\" name=\"home\"></stzh-icon>\n ) : (\n <stzh-icon class=\"stzh-breadcrumb__item-icon is-separator\" name=\"angle-right\"></stzh-icon>\n )}\n <span class=\"stzh-breadcrumb__item-label\" innerHTML={item.label}></span>\n </a>\n </li>\n {index === 0 && (\n <li class=\"stzh-breadcrumb__item is-expand\">\n <button class=\"stzh-breadcrumb__item-link\" onClick={this.handleExpandClick}>\n <stzh-icon class=\"stzh-breadcrumb__item-icon is-separator\" name=\"angle-right\"></stzh-icon>\n <span class=\"stzh-breadcrumb__item-label\">\n <span aria-hdiden=\"true\">{this.localization.expandLabel}</span>\n <span class=\"stzh-breadcrumb__item-label-hidden\">{this.localization.expandHiddenLabel}</span>\n </span>\n </button>\n </li>\n )}\n </Fragment>\n ))}\n </ol>\n </nav>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-8f01554b.js';
2
2
  import { h as hasSlot } from './p-289f5de2.js';
3
- import { d as defineCustomElement$2 } from './p-dd1c0c0c.js';
4
- import { d as defineCustomElement$1 } from './p-7c4e756c.js';
3
+ import { d as defineCustomElement$2 } from './p-42e86bbd.js';
4
+ import { d as defineCustomElement$1 } from './p-a2659715.js';
5
5
 
6
6
  const stzhButtonCss = ".sc-stzh-button-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-button-h,[stzh-hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-button-h .has-focus.sc-stzh-button{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-button-h .stzh-fylingfocus-focused.sc-stzh-button{outline-style:none !important}.sc-stzh-button-h .stzh-fylingfocus-focused.sc-stzh-button::-moz-focus-inner{border:0 !important}.sc-stzh-button-h{--height:var(--stzh-form-input-height);--padding-top:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge);--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal;--icon-size:var(--stzh-icon-size-medium);--icon-toggle-size:0.90625rem;--color:var(--stzh-button-color, var(--stzh-color-white));--background-color:var(--stzh-button-background-color, var(--stzh-color-primary70));--border-width:0px;--border-color:transparent;--border-radius:0px;--icon-text-margin:var(--stzh-space-xsmall);--icon-toggle-color:currentColor;--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--white-space:var(--stzh-button-white-space, normal);--box-shadow:none;--cursor:pointer;--hover-color:var(--stzh-button-hover-color, var(--stzh-color-white));--hover-background-color:var(\n --stzh-button-hover-background-color,\n var(--stzh-color-secondary60)\n );--hover-border-color:transparent;display:inline-flex;width:auto;min-width:var(--height);min-height:var(--height);pointer-events:var(--stzh-button-pointer-events, auto)}.sc-stzh-button-h:where([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}@media print{.sc-stzh-button-h{-webkit-print-color-adjust:exact;print-color-adjust:exact}}[icon-only].sc-stzh-button-h:not([icon-only=false]){--padding-top:0;--padding-bottom:0;--padding-left:0;--padding-right:0;width:var(--height);height:var(--height)}[fullwidth].sc-stzh-button-h:not([fullwidth=false]){width:100%;display:grid;flex:0 0 100%}[rounded].sc-stzh-button-h:not([rounded=false]){--border-radius:var(--height)}[no-padding-left].sc-stzh-button-h:not([no-padding-left=false]){--padding-left:0px}[no-padding-right].sc-stzh-button-h:not([no-padding-right=false]){--padding-right:0px}[variant=secondary].sc-stzh-button-h{--color:var(--stzh-button-secondary-color, var(--stzh-color-primary70));--background-color:var(\n --stzh-button-secondary-background-color,\n var(--stzh-color-secondary30)\n );--hover-color:var(--stzh-button-secondary-hover-color, var(--stzh-color-primary80));--hover-background-color:var(\n --stzh-button-secondary-hover-background-color,\n var(--stzh-color-secondary40)\n )}[variant=tertiary].sc-stzh-button-h{--color:var(--stzh-button-tertiary-color, var(--stzh-color-primary70));--background-color:var(\n --stzh-button-tertiary-background-color,\n transparent\n );--hover-color:var(--stzh-button-tertiary-hover-color, var(--stzh-color-primary80));--hover-background-color:var(\n --stzh-button-tertiary-hover-background-color,\n var(--stzh-color-secondary20)\n )}[variant=tertiary-plain].sc-stzh-button-h{--color:var(--stzh-button-tertiary-color, var(--stzh-color-primary70));--background-color:transparent;--hover-color:var(--stzh-button-tertiary-hover-color, var(--stzh-color-primary80));--hover-background-color:var(--background-color)}[active].sc-stzh-button-h:not([active=false]){--color:var(--stzh-button-active-color, var(--stzh-color-white));--background-color:var(\n --stzh-button-active-background-color,\n var(--stzh-color-secondary60)\n )}[active][variant=secondary].sc-stzh-button-h:not([active=false]){--color:var(--stzh-button-secondary-hover-color, var(--stzh-color-primary80));--background-color:var(\n --stzh-button-secondary-hover-background-color,\n var(--stzh-color-secondary40)\n )}[active][variant=tertiary].sc-stzh-button-h:not([active=false]){--color:var(--stzh-button-tertiary-hover-color, var(--stzh-color-primary80));--background-color:var(\n --stzh-button-tertiary-hover-background-color,\n var(--stzh-color-secondary20)\n )}[active][variant=tertiary-plain].sc-stzh-button-h:not([active=false]){--color:var(--stzh-button-tertiary-hover-color, var(--stzh-color-primary80));--background-color:transparent}[disabled].sc-stzh-button-h:not([disabled=false]),[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false]){--color:var(--stzh-button-disabled-color, var(--stzh-color-white));--background-color:var(\n --stzh-button-disabled-background-color,\n var(--stzh-color-grey70)\n );--hover-color:var(--color);--hover-background-color:var(--background-color)}[disabled].sc-stzh-button-h:not([disabled=false])[variant=secondary],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=secondary]{--color:var(--stzh-button-secondary-disabled-color, var(--stzh-color-grey80));--background-color:var(\n --stzh-button-secondary-disabled-background-color,\n var(--stzh-color-grey20)\n )}[disabled].sc-stzh-button-h:not([disabled=false])[variant=input],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=input]{--color:var(--stzh-button-input-disabled-color, var(--stzh-color-grey80));--background-color:var(\n --stzh-button-input-disabled-background-color,\n var(--stzh-color-grey20)\n )}[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary],[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary-plain],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=tertiary],[a11y-disabled].sc-stzh-button-h:not([a11y-disabled=false])[variant=tertiary-plain]{--color:var(--stzh-button-tertiary-disabled-color, var(--stzh-color-grey70));--background-color:var(\n --stzh-button-tertiary-disabled-background-color,\n transparent\n )}.sc-stzh-button-h:where([size=small]){--height:var(--stzh-form-input-small-height);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}.sc-stzh-button-h:where([size=tiny]){--height:var(--stzh-form-input-tiny-height);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--padding-top:calc(var(--stzh-space-xxsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xxsmall) - var(--border-width));--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}@media screen and (min-width: 600px){.sc-stzh-button-h:where([size-small=default]){--height:var(--stzh-form-input-height);--padding-top:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge);--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal;--icon-size:var(--stzh-icon-size-medium);--icon-toggle-size:0.90625rem}.sc-stzh-button-h:where([size-small=default]):where([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}.sc-stzh-button-h:where([size-small=small]){--height:var(--stzh-form-input-small-height);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}.sc-stzh-button-h:where([size-small=tiny]){--height:var(--stzh-form-input-tiny-height);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--padding-top:calc(var(--stzh-space-xxsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xxsmall) - var(--border-width));--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}}@media screen and (min-width: 900px){.sc-stzh-button-h:where([size-medium=default]){--height:var(--stzh-form-input-height);--padding-top:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge);--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal;--icon-size:var(--stzh-icon-size-medium);--icon-toggle-size:0.90625rem}.sc-stzh-button-h:where([size-medium=default]):where([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}.sc-stzh-button-h:where([size-medium=small]){--height:var(--stzh-form-input-small-height);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}.sc-stzh-button-h:where([size-medium=tiny]){--height:var(--stzh-form-input-tiny-height);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--padding-top:calc(var(--stzh-space-xxsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xxsmall) - var(--border-width));--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}}@media screen and (min-width: 1260px){.sc-stzh-button-h:where([size-large=default]){--height:var(--stzh-form-input-height);--padding-top:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge);--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal;--icon-size:var(--stzh-icon-size-medium);--icon-toggle-size:0.90625rem}.sc-stzh-button-h:where([size-large=default]):where([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}.sc-stzh-button-h:where([size-large=small]){--height:var(--stzh-form-input-small-height);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}.sc-stzh-button-h:where([size-large=tiny]){--height:var(--stzh-form-input-tiny-height);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--padding-top:calc(var(--stzh-space-xxsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xxsmall) - var(--border-width));--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}}@media screen and (min-width: 1600px){.sc-stzh-button-h:where([size-ultra=default]){--height:var(--stzh-form-input-height);--padding-top:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge);--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal;--icon-size:var(--stzh-icon-size-medium);--icon-toggle-size:0.90625rem}.sc-stzh-button-h:where([size-ultra=default]):where([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}.sc-stzh-button-h:where([size-ultra=small]){--height:var(--stzh-form-input-small-height);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}.sc-stzh-button-h:where([size-ultra=tiny]){--height:var(--stzh-form-input-tiny-height);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--padding-top:calc(var(--stzh-space-xxsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xxsmall) - var(--border-width));--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--icon-size:var(--stzh-icon-size-medium)}}@keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{transform:translateX(0)}40%{transform:translateX(-0.5rem)}60%{transform:translateX(-0.25rem)}}.stzh-button.sc-stzh-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);position:relative;z-index:0;overflow:visible;display:flex;align-items:center;justify-content:stretch;appearance:none;color:var(--color);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);background-color:var(--background-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;border-style:solid;border-width:var(--border-width);border-color:var(--border-color);cursor:var(--cursor);-webkit-text-decoration-line:none;text-decoration-line:none;width:100%;min-height:100%;margin:0;border-radius:var(--border-radius);text-align:left;box-shadow:var(--box-shadow)}.stzh-button.sc-stzh-button:hover{border-color:var(--hover-border-color);background-color:var(--hover-background-color);color:var(--hover-color)}.stzh-button__vhidden.sc-stzh-button{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button__inner.sc-stzh-button{display:flex;align-items:center;justify-content:center;flex-grow:1}.stzh-button__icon-wrapper.sc-stzh-button,.stzh-button__toggle-icon-wrapper.sc-stzh-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.stzh-button__icon-wrapper.sc-stzh-button{--stzh-icon-size:var(--icon-size);width:auto;height:1em}.stzh-button__toggle-icon-wrapper.sc-stzh-button{width:var(--icon-size);height:var(--icon-size)}.stzh-button__toggle-icon.sc-stzh-button{position:relative;display:block;width:var(--icon-toggle-size);height:var(--icon-toggle-size)}.stzh-button__toggle-icon.sc-stzh-button::before,.stzh-button__toggle-icon.sc-stzh-button::after{position:absolute;top:50%;left:50%;content:\"\";display:block;width:var(--icon-toggle-size);height:0.125rem;transition-property:transform, background-color;transition-duration:500ms;transform-origin:top left;background-color:var(--icon-toggle-color)}@media (prefers-reduced-motion: reduce){.stzh-button__toggle-icon.sc-stzh-button::before,.stzh-button__toggle-icon.sc-stzh-button::after{transition:none}}.stzh-button__toggle-icon.sc-stzh-button::before{transform:rotate(180deg) translate(-50%, -50%)}.stzh-button__toggle-icon.sc-stzh-button::after{transform:rotate(90deg) translate(-50%, -50%)}.stzh-button__text.sc-stzh-button{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;hyphens:auto;white-space:var(--white-space);text-align:center}.stzh-button--not-hyphenated.sc-stzh-button .stzh-button__text.sc-stzh-button{hyphens:none}.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;appearance:none}.stzh-button__mark.sc-stzh-button{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;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-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@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-secondary60)}.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-secondary60)}.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)}.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-grey70)}.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-grey70)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-grey10)}.stzh-button--is-expanded.sc-stzh-button .stzh-button__toggle-icon.sc-stzh-button::before,.stzh-button--is-expanded.sc-stzh-button .stzh-button__toggle-icon.sc-stzh-button::after{transform:rotate(0) translate(-50%, -50%)}.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 .stzh-button__text.sc-stzh-button{border:0;clip:rect(0 0 0 0);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{animation:stzh-button-effect-cta 1s}.stzh-button--align-left.sc-stzh-button .stzh-button__inner.sc-stzh-button{justify-content:flex-start}.stzh-button--align-right.sc-stzh-button .stzh-button__inner.sc-stzh-button{justify-content:flex-end}.stzh-button--align-center.sc-stzh-button .stzh-button__inner.sc-stzh-button{justify-content:center}.stzh-button--align-space-between.sc-stzh-button .stzh-button__inner.sc-stzh-button{justify-content:space-between}.stzh-button--is-disabled.sc-stzh-button{cursor:not-allowed}.stzh-button--default.has-focus.sc-stzh-button{outline:var(--stzh-flyingfocus-color) solid 0.1875rem}";
7
7
  const StzhButtonStyle0 = stzhButtonCss;
@@ -167,7 +167,7 @@ const StzhButton = /*@__PURE__*/ proxyCustomElement(class StzhButton extends H {
167
167
  [`stzh-button--type-${this.type}`]: !!this.type,
168
168
  [`stzh-button--${this.variant}`]: !!this.variant,
169
169
  };
170
- return (h(Host, { key: '300f899f87e3d5a07c5dcdd588137efac16189d7', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (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 || null, "aria-describedby": this.a11yDescribedby || null, "aria-disabled": typeof this.a11yDisabled !== "undefined" ? (this.a11yDisabled ? "true" : "false") : null, "aria-expanded": typeof this.a11yExpanded !== "undefined" ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls || null, "aria-current": this.a11yCurrent || null, id: this.buttonId, accessKey: this.buttonAccesskey, tabindex: this.a11yTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : this.type === "radio" ? (h("label", { ref: el => (this.button = el), class: classes, onClick: this.onClick }, h("input", { ref: el => (this.input = el), type: "radio", class: "stzh-button__input", name: this.name, value: this.value, defaultChecked: this.defaultChecked, checked: this.checked, disabled: this.disabled, "aria-label": this.a11yLabel || null, "aria-describedby": this.a11yDescribedby || null, "aria-disabled": typeof this.a11yDisabled !== "undefined" ? (this.a11yDisabled ? "true" : "false") : null, "aria-expanded": typeof this.a11yExpanded !== "undefined" ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls || null, "aria-current": this.a11yCurrent || null, id: this.buttonId, accessKey: this.buttonAccesskey, tabindex: this.a11yTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, onInput: this.onInput }), this.renderInner(iconUsed))) : (h("button", { ref: el => (this.button = el), class: classes, type: this.type, name: this.name, value: this.value, disabled: this.disabled, "aria-label": this.a11yLabel || null, "aria-describedby": this.a11yDescribedby || null, "aria-disabled": typeof this.a11yDisabled !== "undefined" ? (this.a11yDisabled ? "true" : "false") : null, "aria-expanded": typeof this.a11yExpanded !== "undefined" ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls || null, "aria-current": this.a11yCurrent || null, id: this.buttonId, accessKey: this.buttonAccesskey, tabindex: this.a11yTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
170
+ return (h(Host, { key: 'a18cb416b26eec4275810c9cd5b16bdef0d3bcdf', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (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 || null, "aria-describedby": this.a11yDescribedby || null, "aria-disabled": typeof this.a11yDisabled !== "undefined" ? (this.a11yDisabled ? "true" : "false") : null, "aria-expanded": typeof this.a11yExpanded !== "undefined" ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls || null, "aria-current": this.a11yCurrent || null, id: this.buttonId, accessKey: this.buttonAccesskey, tabindex: this.a11yTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : this.type === "radio" ? (h("label", { ref: el => (this.button = el), class: classes, onClick: this.onClick }, h("input", { ref: el => (this.input = el), type: "radio", class: "stzh-button__input", name: this.name, value: this.value, defaultChecked: this.defaultChecked, checked: this.checked, disabled: this.disabled, "aria-label": this.a11yLabel || null, "aria-describedby": this.a11yDescribedby || null, "aria-disabled": typeof this.a11yDisabled !== "undefined" ? (this.a11yDisabled ? "true" : "false") : null, "aria-expanded": typeof this.a11yExpanded !== "undefined" ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls || null, "aria-current": this.a11yCurrent || null, id: this.buttonId, accessKey: this.buttonAccesskey, tabindex: this.a11yTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, onInput: this.onInput }), this.renderInner(iconUsed))) : (h("button", { ref: el => (this.button = el), class: classes, type: this.type, name: this.name, value: this.value, disabled: this.disabled, "aria-label": this.a11yLabel || null, "aria-describedby": this.a11yDescribedby || null, "aria-disabled": typeof this.a11yDisabled !== "undefined" ? (this.a11yDisabled ? "true" : "false") : null, "aria-expanded": typeof this.a11yExpanded !== "undefined" ? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls || null, "aria-current": this.a11yCurrent || null, id: this.buttonId, accessKey: this.buttonAccesskey, tabindex: this.a11yTabindex, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
171
171
  }
172
172
  get element() { return this; }
173
173
  static get style() { return StzhButtonStyle0; }
@@ -244,4 +244,4 @@ function defineCustomElement() {
244
244
 
245
245
  export { StzhButton as S, defineCustomElement as d };
246
246
 
247
- //# sourceMappingURL=p-4a78990f.js.map
247
+ //# sourceMappingURL=p-b84d0233.js.map