@oiz/stzh-components 4.5.0 → 4.6.0-beta1

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 (943) hide show
  1. package/dist/cjs/{app-globals-64d91100.js → app-globals-6a08057f.js} +2 -2
  2. package/dist/cjs/{app-globals-64d91100.js.map → app-globals-6a08057f.js.map} +1 -1
  3. package/dist/cjs/index-870b4dee.js +6 -2
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  7. package/dist/cjs/stzh-actions_6.cjs.entry.js +9 -9
  8. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  9. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  20. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  21. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  24. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact.cjs.entry.js +1 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  33. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  36. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +10 -10
  39. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
  43. package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
  44. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  45. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  54. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  56. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  57. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  58. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-linklist.cjs.entry.js +5 -1
  61. package/dist/cjs/stzh-linklist.cjs.entry.js.map +1 -1
  62. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-loader_2.cjs.entry.js +5 -5
  64. package/dist/cjs/stzh-loader_2.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  68. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  78. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
  82. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +68 -0
  83. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -0
  84. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
  85. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  86. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +9 -25
  87. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
  88. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  92. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  95. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  106. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  107. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  111. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  116. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  117. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  121. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  122. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -19
  125. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  126. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +8 -2
  127. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js.map +1 -1
  128. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +38 -1
  129. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  130. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  131. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  132. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  133. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  134. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  135. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  136. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  137. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  138. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  139. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -1
  140. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +20 -11
  141. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.css +127 -261
  142. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +7 -93
  143. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  144. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +7 -73
  145. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +6 -3
  146. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  147. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +501 -0
  148. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js +16 -0
  149. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js.map +1 -0
  150. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +292 -0
  151. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -0
  152. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +70 -0
  153. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  154. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  155. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  156. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  157. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  158. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  159. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  161. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  162. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  163. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  164. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  165. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  166. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  167. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  168. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  169. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  170. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  171. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  172. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  173. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  174. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  175. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  176. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  177. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  178. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  179. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  180. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  181. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  182. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  183. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  184. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  185. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  186. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  187. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  188. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  189. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  190. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  191. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  192. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  193. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  194. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  195. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  196. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +1 -0
  197. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  198. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  199. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  200. package/dist/collection/components/stzh-dialog/stzh-dialog.js +5 -5
  201. package/dist/collection/components/stzh-dialog/stzh-dialog.js.map +1 -1
  202. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  203. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  204. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  205. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  206. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  207. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  208. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  209. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  210. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  211. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  212. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  213. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  214. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  215. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  216. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  217. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  218. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  219. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  220. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  221. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  222. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  223. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  224. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  225. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  226. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  227. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  228. package/dist/collection/components/stzh-overlay/stzh-overlay.js +4 -4
  229. package/dist/collection/components/stzh-overlay/stzh-overlay.js.map +1 -1
  230. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  231. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  232. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  233. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  234. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  235. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  236. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  237. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  238. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  239. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  240. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  241. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  242. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  243. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  244. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  245. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  246. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  247. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  248. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  249. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  250. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  251. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  252. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  253. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  254. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  255. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  256. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  257. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  258. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  259. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  260. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  261. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  262. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  263. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  264. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  265. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  266. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  267. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  268. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  269. package/dist/collection/index.js.map +1 -1
  270. package/dist/components/index.js +1 -1
  271. package/dist/components/{p-368c4aa2.js → p-02c5b1ba.js} +5 -5
  272. package/dist/components/{p-368c4aa2.js.map → p-02c5b1ba.js.map} +1 -1
  273. package/dist/components/{p-044c234a.js → p-109076c9.js} +7 -7
  274. package/dist/components/{p-044c234a.js.map → p-109076c9.js.map} +1 -1
  275. package/dist/components/{p-0ac64574.js → p-111f7e01.js} +4 -4
  276. package/dist/components/{p-0ac64574.js.map → p-111f7e01.js.map} +1 -1
  277. package/dist/components/{p-9ac321e4.js → p-12bdcf8a.js} +13 -13
  278. package/dist/components/p-12bdcf8a.js.map +1 -0
  279. package/dist/components/{p-a649af8a.js → p-12c94697.js} +14 -14
  280. package/dist/components/{p-a649af8a.js.map → p-12c94697.js.map} +1 -1
  281. package/dist/components/{p-1c939b9f.js → p-14716cc2.js} +2 -2
  282. package/dist/components/{p-1c939b9f.js.map → p-14716cc2.js.map} +1 -1
  283. package/dist/components/{p-55b58017.js → p-151a98a9.js} +2 -2
  284. package/dist/components/{p-55b58017.js.map → p-151a98a9.js.map} +1 -1
  285. package/dist/components/{p-c418c5d3.js → p-15ee297d.js} +2 -2
  286. package/dist/components/{p-c418c5d3.js.map → p-15ee297d.js.map} +1 -1
  287. package/dist/components/{p-9be51edc.js → p-1816eeeb.js} +6 -6
  288. package/dist/components/{p-9be51edc.js.map → p-1816eeeb.js.map} +1 -1
  289. package/dist/components/{p-59b494a3.js → p-18196788.js} +2 -2
  290. package/dist/components/{p-59b494a3.js.map → p-18196788.js.map} +1 -1
  291. package/dist/components/{p-d91d6c31.js → p-18ba315e.js} +2 -2
  292. package/dist/components/{p-d91d6c31.js.map → p-18ba315e.js.map} +1 -1
  293. package/dist/components/{p-b5f00d83.js → p-1cfd0791.js} +5 -5
  294. package/dist/components/{p-b5f00d83.js.map → p-1cfd0791.js.map} +1 -1
  295. package/dist/components/{p-ce0311f9.js → p-2502ff26.js} +2 -2
  296. package/dist/components/{p-ce0311f9.js.map → p-2502ff26.js.map} +1 -1
  297. package/dist/components/{p-25ff5360.js → p-26edabbb.js} +4 -4
  298. package/dist/components/{p-25ff5360.js.map → p-26edabbb.js.map} +1 -1
  299. package/dist/components/{p-503bdd56.js → p-34267046.js} +5 -5
  300. package/dist/components/p-34267046.js.map +1 -0
  301. package/dist/components/{p-285c271e.js → p-36681d03.js} +3 -3
  302. package/dist/components/{p-285c271e.js.map → p-36681d03.js.map} +1 -1
  303. package/dist/components/{p-527121ef.js → p-36fb6c94.js} +2 -2
  304. package/dist/components/{p-527121ef.js.map → p-36fb6c94.js.map} +1 -1
  305. package/dist/components/{p-7b016fd0.js → p-387454b3.js} +3 -3
  306. package/dist/components/{p-7b016fd0.js.map → p-387454b3.js.map} +1 -1
  307. package/dist/components/{p-15e2b360.js → p-3efe43d2.js} +3 -3
  308. package/dist/components/{p-15e2b360.js.map → p-3efe43d2.js.map} +1 -1
  309. package/dist/components/{p-8254224a.js → p-3f3349b1.js} +8 -8
  310. package/dist/components/{p-8254224a.js.map → p-3f3349b1.js.map} +1 -1
  311. package/dist/components/{p-683460a5.js → p-479db6c6.js} +2 -2
  312. package/dist/components/{p-683460a5.js.map → p-479db6c6.js.map} +1 -1
  313. package/dist/components/{p-c65c361a.js → p-486bf53e.js} +14 -14
  314. package/dist/components/{p-c65c361a.js.map → p-486bf53e.js.map} +1 -1
  315. package/dist/components/{p-e42121d1.js → p-4a78990f.js} +4 -4
  316. package/dist/components/{p-e42121d1.js.map → p-4a78990f.js.map} +1 -1
  317. package/dist/components/{p-7f251b60.js → p-506a00fc.js} +10 -10
  318. package/dist/components/{p-7f251b60.js.map → p-506a00fc.js.map} +1 -1
  319. package/dist/components/{p-cae6655f.js → p-50945c16.js} +8 -8
  320. package/dist/components/{p-cae6655f.js.map → p-50945c16.js.map} +1 -1
  321. package/dist/components/{p-8d98b7e1.js → p-551fa57d.js} +3 -3
  322. package/dist/components/{p-8d98b7e1.js.map → p-551fa57d.js.map} +1 -1
  323. package/dist/components/{p-5a5884a1.js → p-5571eadc.js} +2 -2
  324. package/dist/components/{p-5a5884a1.js.map → p-5571eadc.js.map} +1 -1
  325. package/dist/components/{p-1e6ceaab.js → p-569f84cb.js} +2 -2
  326. package/dist/components/{p-1e6ceaab.js.map → p-569f84cb.js.map} +1 -1
  327. package/dist/components/{p-8436ccb7.js → p-570cd361.js} +6 -6
  328. package/dist/components/{p-8436ccb7.js.map → p-570cd361.js.map} +1 -1
  329. package/dist/components/{p-52037fe2.js → p-5b94ed4e.js} +7 -7
  330. package/dist/components/{p-52037fe2.js.map → p-5b94ed4e.js.map} +1 -1
  331. package/dist/components/{p-1449a24c.js → p-613937f1.js} +4 -4
  332. package/dist/components/{p-1449a24c.js.map → p-613937f1.js.map} +1 -1
  333. package/dist/components/{p-9a31aa56.js → p-63c4d8c4.js} +3 -3
  334. package/dist/components/{p-9a31aa56.js.map → p-63c4d8c4.js.map} +1 -1
  335. package/dist/components/{p-26ddf3b3.js → p-6897315f.js} +2 -2
  336. package/dist/components/{p-26ddf3b3.js.map → p-6897315f.js.map} +1 -1
  337. package/dist/components/{p-b0a7ed3c.js → p-69e0c8d2.js} +3 -3
  338. package/dist/components/{p-b0a7ed3c.js.map → p-69e0c8d2.js.map} +1 -1
  339. package/dist/components/{p-06ba8843.js → p-6af552c7.js} +6 -6
  340. package/dist/components/{p-06ba8843.js.map → p-6af552c7.js.map} +1 -1
  341. package/dist/components/{p-9c59e8f6.js → p-6e10e5b1.js} +10 -10
  342. package/dist/components/p-6e10e5b1.js.map +1 -0
  343. package/dist/components/{p-f70f31d6.js → p-72101ea0.js} +2 -2
  344. package/dist/components/{p-f70f31d6.js.map → p-72101ea0.js.map} +1 -1
  345. package/dist/components/{p-a8876adb.js → p-72e977cc.js} +3 -3
  346. package/dist/components/{p-a8876adb.js.map → p-72e977cc.js.map} +1 -1
  347. package/dist/components/{p-5a8587ab.js → p-7c4e756c.js} +2 -2
  348. package/dist/components/{p-5a8587ab.js.map → p-7c4e756c.js.map} +1 -1
  349. package/dist/components/{p-820ce57f.js → p-7d7ac6fc.js} +12 -12
  350. package/dist/components/{p-820ce57f.js.map → p-7d7ac6fc.js.map} +1 -1
  351. package/dist/components/{p-604af41f.js → p-8cefcb61.js} +4 -4
  352. package/dist/components/{p-604af41f.js.map → p-8cefcb61.js.map} +1 -1
  353. package/dist/components/{p-e87822db.js → p-8d606617.js} +2 -2
  354. package/dist/components/{p-e87822db.js.map → p-8d606617.js.map} +1 -1
  355. package/dist/components/{p-853de15b.js → p-902ed395.js} +7 -7
  356. package/dist/components/{p-853de15b.js.map → p-902ed395.js.map} +1 -1
  357. package/dist/components/{p-6268e18b.js → p-963d59bf.js} +3 -3
  358. package/dist/components/{p-6268e18b.js.map → p-963d59bf.js.map} +1 -1
  359. package/dist/components/{p-75352a6a.js → p-97868e7a.js} +2 -2
  360. package/dist/components/{p-75352a6a.js.map → p-97868e7a.js.map} +1 -1
  361. package/dist/components/{p-63ba178a.js → p-98aa0418.js} +4 -4
  362. package/dist/components/{p-63ba178a.js.map → p-98aa0418.js.map} +1 -1
  363. package/dist/components/{p-375d74b5.js → p-9aff1354.js} +7 -7
  364. package/dist/components/{p-375d74b5.js.map → p-9aff1354.js.map} +1 -1
  365. package/dist/components/{p-46d253ca.js → p-a0023430.js} +3 -3
  366. package/dist/components/{p-46d253ca.js.map → p-a0023430.js.map} +1 -1
  367. package/dist/components/{p-3b563957.js → p-a2828d2e.js} +9 -9
  368. package/dist/components/{p-3b563957.js.map → p-a2828d2e.js.map} +1 -1
  369. package/dist/components/{p-2f38d899.js → p-ab25d4da.js} +7 -7
  370. package/dist/components/{p-2f38d899.js.map → p-ab25d4da.js.map} +1 -1
  371. package/dist/components/{p-ef6cfd1f.js → p-aeb5dbdc.js} +6 -6
  372. package/dist/components/{p-ef6cfd1f.js.map → p-aeb5dbdc.js.map} +1 -1
  373. package/dist/components/{p-8107e1a2.js → p-b12e2861.js} +5 -5
  374. package/dist/components/{p-8107e1a2.js.map → p-b12e2861.js.map} +1 -1
  375. package/dist/components/{p-b8b342f5.js → p-b6faf10a.js} +2 -2
  376. package/dist/components/{p-b8b342f5.js.map → p-b6faf10a.js.map} +1 -1
  377. package/dist/components/{p-3e28d77d.js → p-be365aa5.js} +3 -3
  378. package/dist/components/{p-3e28d77d.js.map → p-be365aa5.js.map} +1 -1
  379. package/dist/components/{p-1ebc2928.js → p-c06cc6c5.js} +2 -2
  380. package/dist/components/{p-1ebc2928.js.map → p-c06cc6c5.js.map} +1 -1
  381. package/dist/components/{p-87e69533.js → p-c4fccd89.js} +3 -3
  382. package/dist/components/{p-87e69533.js.map → p-c4fccd89.js.map} +1 -1
  383. package/dist/components/{p-677c846d.js → p-c5124a8b.js} +2 -2
  384. package/dist/components/{p-677c846d.js.map → p-c5124a8b.js.map} +1 -1
  385. package/dist/components/{p-b9a50363.js → p-c5a240bd.js} +6 -6
  386. package/dist/components/{p-b9a50363.js.map → p-c5a240bd.js.map} +1 -1
  387. package/dist/components/{p-f6b75419.js → p-d48fd359.js} +7 -7
  388. package/dist/components/{p-f6b75419.js.map → p-d48fd359.js.map} +1 -1
  389. package/dist/components/{p-5e70f03f.js → p-d6702563.js} +9 -9
  390. package/dist/components/{p-5e70f03f.js.map → p-d6702563.js.map} +1 -1
  391. package/dist/components/{p-faae4632.js → p-da83a0ad.js} +11 -11
  392. package/dist/components/{p-faae4632.js.map → p-da83a0ad.js.map} +1 -1
  393. package/dist/components/{p-17efbc57.js → p-dd1c0c0c.js} +2 -2
  394. package/dist/components/{p-17efbc57.js.map → p-dd1c0c0c.js.map} +1 -1
  395. package/dist/components/{p-019721d4.js → p-deb38d3f.js} +4 -4
  396. package/dist/components/{p-019721d4.js.map → p-deb38d3f.js.map} +1 -1
  397. package/dist/components/{p-a393bd0b.js → p-e3182412.js} +3 -3
  398. package/dist/components/{p-a393bd0b.js.map → p-e3182412.js.map} +1 -1
  399. package/dist/components/{p-a6169d66.js → p-e551f11e.js} +9 -9
  400. package/dist/components/{p-a6169d66.js.map → p-e551f11e.js.map} +1 -1
  401. package/dist/components/{p-33ac52bc.js → p-e5cf7853.js} +2 -2
  402. package/dist/components/{p-33ac52bc.js.map → p-e5cf7853.js.map} +1 -1
  403. package/dist/components/{p-1d88f941.js → p-ea3c0ed4.js} +6 -6
  404. package/dist/components/{p-1d88f941.js.map → p-ea3c0ed4.js.map} +1 -1
  405. package/dist/components/p-ef454347.js +90 -0
  406. package/dist/components/p-ef454347.js.map +1 -0
  407. package/dist/components/p-f5779736.js.map +1 -1
  408. package/dist/components/{p-39874f6d.js → p-f7920d42.js} +3 -3
  409. package/dist/components/{p-39874f6d.js.map → p-f7920d42.js.map} +1 -1
  410. package/dist/components/{p-7889ebb0.js → p-fdc914f5.js} +7 -7
  411. package/dist/components/{p-7889ebb0.js.map → p-fdc914f5.js.map} +1 -1
  412. package/dist/components/stzh-accordion-item.js +1 -1
  413. package/dist/components/stzh-accordion.js +1 -1
  414. package/dist/components/stzh-actions.js +1 -1
  415. package/dist/components/stzh-actionset.js +1 -1
  416. package/dist/components/stzh-amount.js +9 -9
  417. package/dist/components/stzh-anchornav.js +5 -5
  418. package/dist/components/stzh-app-nav.js +1 -1
  419. package/dist/components/stzh-appointments.js +13 -13
  420. package/dist/components/stzh-archivelist.js +6 -6
  421. package/dist/components/stzh-audio.js +7 -7
  422. package/dist/components/stzh-badge.js +1 -1
  423. package/dist/components/stzh-banner.js +3 -3
  424. package/dist/components/stzh-bathstatus-item.js +1 -1
  425. package/dist/components/stzh-bathstatus-list.js +6 -6
  426. package/dist/components/stzh-breadcrumb.js +1 -1
  427. package/dist/components/stzh-button.js +1 -1
  428. package/dist/components/stzh-buttongroup.js +1 -1
  429. package/dist/components/stzh-calendar.js +1 -1
  430. package/dist/components/stzh-card-navigation.js +2 -2
  431. package/dist/components/stzh-card-searchresult.js +14 -14
  432. package/dist/components/stzh-card-superteaser.js +13 -13
  433. package/dist/components/stzh-card.js +1 -1
  434. package/dist/components/stzh-cardlist.js +1 -1
  435. package/dist/components/stzh-carousel.js +1 -1
  436. package/dist/components/stzh-cell.js +1 -1
  437. package/dist/components/stzh-chart.js +1 -1
  438. package/dist/components/stzh-checkbox.js +1 -1
  439. package/dist/components/stzh-checkboxgroup.js +6 -6
  440. package/dist/components/stzh-chip.js +1 -1
  441. package/dist/components/stzh-chipgroup.js +1 -1
  442. package/dist/components/stzh-chipselect.js +1 -1
  443. package/dist/components/stzh-clamp.js +1 -1
  444. package/dist/components/stzh-company-logo.js +1 -1
  445. package/dist/components/stzh-contact-cv.js +3 -3
  446. package/dist/components/stzh-contact.js +6 -8
  447. package/dist/components/stzh-contact.js.map +1 -1
  448. package/dist/components/stzh-container.js +1 -1
  449. package/dist/components/stzh-content.js +1 -1
  450. package/dist/components/stzh-cspace.js +1 -1
  451. package/dist/components/stzh-cta.js +3 -3
  452. package/dist/components/stzh-datalist-item.js +1 -1
  453. package/dist/components/stzh-datalist.js +1 -1
  454. package/dist/components/stzh-datamessagelist-item.js +11 -11
  455. package/dist/components/stzh-datamessagelist.js +1 -1
  456. package/dist/components/stzh-datatable.js +16 -16
  457. package/dist/components/stzh-datepicker.js +1 -1
  458. package/dist/components/stzh-daterange.js +4 -4
  459. package/dist/components/stzh-details.js +1 -1
  460. package/dist/components/stzh-dialog.js +1 -1
  461. package/dist/components/stzh-disturber.js +3 -3
  462. package/dist/components/stzh-dropdown.js +1 -1
  463. package/dist/components/stzh-editor.js +3 -3
  464. package/dist/components/stzh-eventinfo.js +4 -4
  465. package/dist/components/stzh-feedreader-item.js +1 -1
  466. package/dist/components/stzh-feedreader.js +7 -7
  467. package/dist/components/stzh-fieldset.js +1 -1
  468. package/dist/components/stzh-figure.js +1 -1
  469. package/dist/components/stzh-flyingfocus.js +1 -1
  470. package/dist/components/stzh-footer.js +4 -4
  471. package/dist/components/stzh-gallery.js +8 -8
  472. package/dist/components/stzh-geo-ref-data.js +22 -22
  473. package/dist/components/stzh-ghettobox.js +1 -1
  474. package/dist/components/stzh-header.js +1 -1
  475. package/dist/components/stzh-heading.js +1 -1
  476. package/dist/components/stzh-homepage-search.js +1 -1
  477. package/dist/components/stzh-homepage-service-highlights.js +5 -5
  478. package/dist/components/stzh-hr.js +1 -1
  479. package/dist/components/stzh-hspace.js +1 -1
  480. package/dist/components/stzh-http-error.js +7 -7
  481. package/dist/components/stzh-icon.js +1 -1
  482. package/dist/components/stzh-iframe.js +1 -1
  483. package/dist/components/stzh-imagecomparison.js +3 -3
  484. package/dist/components/stzh-input.js +1 -1
  485. package/dist/components/stzh-invert.js +1 -1
  486. package/dist/components/stzh-link.js +1 -1
  487. package/dist/components/stzh-linklist.js +14 -11
  488. package/dist/components/stzh-linklist.js.map +1 -1
  489. package/dist/components/stzh-list-item.js +1 -1
  490. package/dist/components/stzh-list.js +1 -1
  491. package/dist/components/stzh-loader.js +1 -1
  492. package/dist/components/stzh-loadingbar.js +1 -1
  493. package/dist/components/stzh-menu-item.js +1 -1
  494. package/dist/components/stzh-menu.js +1 -1
  495. package/dist/components/stzh-message.js +1 -1
  496. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  497. package/dist/components/stzh-monthyearpicker.js +5 -5
  498. package/dist/components/stzh-offline-indicator.js +6 -6
  499. package/dist/components/stzh-olmap.js +1 -1
  500. package/dist/components/stzh-overlay.js +1 -1
  501. package/dist/components/stzh-page-skiplinks.js +1 -1
  502. package/dist/components/stzh-pagebottom.js +8 -8
  503. package/dist/components/stzh-pagecontent.js +1 -1
  504. package/dist/components/stzh-pagetitle-hero.js +1 -1
  505. package/dist/components/stzh-pagetitle-home.js +2 -2
  506. package/dist/components/stzh-pagetitle.js +2 -2
  507. package/dist/components/stzh-pagination.js +1 -1
  508. package/dist/components/stzh-panorama.js +12 -12
  509. package/dist/components/stzh-pi-content-navigation.js +3 -3
  510. package/dist/components/stzh-pi-menu.js +3 -3
  511. package/dist/components/stzh-pi-pagetitle.js +2 -2
  512. package/dist/components/stzh-pi-pagetitle.js.map +1 -1
  513. package/dist/components/stzh-pi-teaser-layout-item.d.ts +11 -0
  514. package/dist/components/stzh-pi-teaser-layout-item.js +8 -0
  515. package/dist/components/stzh-pi-teaser-layout-item.js.map +1 -0
  516. package/dist/components/stzh-pi-teaser-layout.js +5 -5
  517. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  518. package/dist/components/stzh-pi-teaser.js +83 -1
  519. package/dist/components/stzh-pi-teaser.js.map +1 -1
  520. package/dist/components/stzh-pkzh-qr.js +19 -19
  521. package/dist/components/stzh-poicard.js +1 -1
  522. package/dist/components/stzh-poilist.js +18 -18
  523. package/dist/components/stzh-popover.js +1 -1
  524. package/dist/components/stzh-print.js +1 -1
  525. package/dist/components/stzh-quote.js +1 -1
  526. package/dist/components/stzh-radio.js +1 -1
  527. package/dist/components/stzh-radiogroup.js +1 -1
  528. package/dist/components/stzh-ratio.js +1 -1
  529. package/dist/components/stzh-readspeaker.js +5 -5
  530. package/dist/components/stzh-richtext.js +1 -1
  531. package/dist/components/stzh-row.js +1 -1
  532. package/dist/components/stzh-saptcha.js +8 -8
  533. package/dist/components/stzh-scrollup.js +1 -1
  534. package/dist/components/stzh-search.js +17 -17
  535. package/dist/components/stzh-section.js +2 -2
  536. package/dist/components/stzh-share.js +1 -1
  537. package/dist/components/stzh-show.js +1 -1
  538. package/dist/components/stzh-sitemap.js +9 -9
  539. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  540. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  541. package/dist/components/stzh-skiplink.js +1 -1
  542. package/dist/components/stzh-socialmediastream-item.js +1 -1
  543. package/dist/components/stzh-socialmediastream.js +6 -6
  544. package/dist/components/stzh-sortable.js +1 -1
  545. package/dist/components/stzh-space.js +1 -1
  546. package/dist/components/stzh-status.js +1 -1
  547. package/dist/components/stzh-stepper-item.js +1 -1
  548. package/dist/components/stzh-stepper.js +5 -5
  549. package/dist/components/stzh-sticky-actions.js +2 -2
  550. package/dist/components/stzh-sticky.js +1 -1
  551. package/dist/components/stzh-table.js +1 -1
  552. package/dist/components/stzh-tag.js +1 -1
  553. package/dist/components/stzh-text.js +1 -1
  554. package/dist/components/stzh-textandimage.js +1 -1
  555. package/dist/components/stzh-timeline-item.js +3 -3
  556. package/dist/components/stzh-timeline.js +1 -1
  557. package/dist/components/stzh-timepicker.js +5 -5
  558. package/dist/components/stzh-toast.js +1 -1
  559. package/dist/components/stzh-toastbar.js +1 -1
  560. package/dist/components/stzh-toggle.js +6 -6
  561. package/dist/components/stzh-tooltip.js +1 -1
  562. package/dist/components/stzh-twocolumns.js +1 -1
  563. package/dist/components/stzh-upload.js +14 -14
  564. package/dist/components/stzh-vbz-carousel.js +1 -1
  565. package/dist/components/stzh-vbz-intro.js +4 -4
  566. package/dist/components/stzh-vbz-linechip.js +1 -1
  567. package/dist/components/stzh-vbz-majorticker.js +6 -6
  568. package/dist/components/stzh-vbz-ticker.js +6 -6
  569. package/dist/components/stzh-visuallyhidden.js +2 -2
  570. package/dist/components/stzh-vspace.js +2 -2
  571. package/dist/components/stzh-youtube.js +6 -6
  572. package/dist/esm/{app-globals-8ffa411d.js → app-globals-9b613e90.js} +2 -2
  573. package/dist/esm/{app-globals-8ffa411d.js.map → app-globals-9b613e90.js.map} +1 -1
  574. package/dist/esm/index-d8813b10.js +6 -2
  575. package/dist/esm/index.js.map +1 -1
  576. package/dist/esm/loader.js +2 -2
  577. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  578. package/dist/esm/stzh-actions_6.entry.js +9 -9
  579. package/dist/esm/stzh-actionset.entry.js +5 -5
  580. package/dist/esm/stzh-amount.entry.js +1 -1
  581. package/dist/esm/stzh-anchornav.entry.js +1 -1
  582. package/dist/esm/stzh-app-nav.entry.js +1 -1
  583. package/dist/esm/stzh-appointments.entry.js +1 -1
  584. package/dist/esm/stzh-audio.entry.js +3 -3
  585. package/dist/esm/stzh-badge_3.entry.js +3 -3
  586. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  587. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  588. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  589. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  590. package/dist/esm/stzh-card.entry.js +4 -4
  591. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  592. package/dist/esm/stzh-carousel.entry.js +2 -2
  593. package/dist/esm/stzh-chart.entry.js +1 -1
  594. package/dist/esm/stzh-checkbox.entry.js +3 -3
  595. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  596. package/dist/esm/stzh-chip.entry.js +1 -1
  597. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  598. package/dist/esm/stzh-chipselect.entry.js +4 -4
  599. package/dist/esm/stzh-clamp.entry.js +2 -2
  600. package/dist/esm/stzh-company-logo.entry.js +1 -1
  601. package/dist/esm/stzh-components.js +2 -2
  602. package/dist/esm/stzh-contact.entry.js +1 -2
  603. package/dist/esm/stzh-contact.entry.js.map +1 -1
  604. package/dist/esm/stzh-content.entry.js +1 -1
  605. package/dist/esm/stzh-cta.entry.js +1 -1
  606. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  607. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  608. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  609. package/dist/esm/stzh-datepicker_3.entry.js +10 -10
  610. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  611. package/dist/esm/stzh-daterange.entry.js +1 -1
  612. package/dist/esm/stzh-details.entry.js +1 -1
  613. package/dist/esm/stzh-dialog.entry.js +5 -5
  614. package/dist/esm/stzh-dialog.entry.js.map +1 -1
  615. package/dist/esm/stzh-dropdown.entry.js +4 -4
  616. package/dist/esm/stzh-figure.entry.js +1 -1
  617. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  618. package/dist/esm/stzh-footer.entry.js +1 -1
  619. package/dist/esm/stzh-gallery.entry.js +1 -1
  620. package/dist/esm/stzh-ghettobox_3.entry.js +3 -3
  621. package/dist/esm/stzh-header_2.entry.js +1 -1
  622. package/dist/esm/stzh-heading.entry.js +1 -1
  623. package/dist/esm/stzh-hr.entry.js +1 -1
  624. package/dist/esm/stzh-hspace.entry.js +2 -2
  625. package/dist/esm/stzh-http-error.entry.js +1 -1
  626. package/dist/esm/stzh-iframe.entry.js +4 -4
  627. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  628. package/dist/esm/stzh-input.entry.js +5 -5
  629. package/dist/esm/stzh-invert.entry.js +1 -1
  630. package/dist/esm/stzh-link.entry.js +1 -1
  631. package/dist/esm/stzh-linklist.entry.js +6 -2
  632. package/dist/esm/stzh-linklist.entry.js.map +1 -1
  633. package/dist/esm/stzh-list_2.entry.js +2 -2
  634. package/dist/esm/stzh-loader_2.entry.js +5 -5
  635. package/dist/esm/stzh-loader_2.entry.js.map +1 -1
  636. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  637. package/dist/esm/stzh-menu_2.entry.js +2 -2
  638. package/dist/esm/stzh-message.entry.js +2 -2
  639. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  640. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  641. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  642. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  643. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  644. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  645. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  646. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  647. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  648. package/dist/esm/stzh-panorama.entry.js +2 -2
  649. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  650. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  651. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  652. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
  653. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +64 -0
  654. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -0
  655. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  656. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  657. package/dist/esm/stzh-pi-teaser.entry.js +9 -25
  658. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  659. package/dist/esm/stzh-poicard.entry.js +1 -1
  660. package/dist/esm/stzh-poilist.entry.js +1 -1
  661. package/dist/esm/stzh-popover.entry.js +1 -1
  662. package/dist/esm/stzh-print_2.entry.js +2 -2
  663. package/dist/esm/stzh-quote.entry.js +1 -1
  664. package/dist/esm/stzh-ratio.entry.js +1 -1
  665. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  666. package/dist/esm/stzh-saptcha.entry.js +2 -2
  667. package/dist/esm/stzh-scrollup.entry.js +1 -1
  668. package/dist/esm/stzh-search.entry.js +2 -2
  669. package/dist/esm/stzh-section.entry.js +2 -2
  670. package/dist/esm/stzh-sitemap.entry.js +1 -1
  671. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  672. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  673. package/dist/esm/stzh-skiplink.entry.js +1 -1
  674. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  675. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  676. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  677. package/dist/esm/stzh-stepper.entry.js +3 -3
  678. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  679. package/dist/esm/stzh-sticky.entry.js +1 -1
  680. package/dist/esm/stzh-table.entry.js +1 -1
  681. package/dist/esm/stzh-text.entry.js +2 -2
  682. package/dist/esm/stzh-textandimage.entry.js +1 -1
  683. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  684. package/dist/esm/stzh-timeline.entry.js +1 -1
  685. package/dist/esm/stzh-timepicker.entry.js +1 -1
  686. package/dist/esm/stzh-toast_2.entry.js +3 -3
  687. package/dist/esm/stzh-toggle.entry.js +3 -3
  688. package/dist/esm/stzh-tooltip.entry.js +1 -1
  689. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  690. package/dist/esm/stzh-upload.entry.js +3 -3
  691. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  692. package/dist/esm/stzh-vspace.entry.js +2 -2
  693. package/dist/esm/stzh-youtube.entry.js +1 -1
  694. package/dist/stzh-components/index.esm.js.map +1 -1
  695. package/dist/stzh-components/{p-787ea476.entry.js → p-00cb988b.entry.js} +2 -2
  696. package/dist/stzh-components/{p-dac817d4.entry.js → p-0422500c.entry.js} +2 -2
  697. package/dist/stzh-components/{p-5149779d.entry.js → p-08dcf795.entry.js} +2 -2
  698. package/dist/stzh-components/{p-6705f73a.entry.js → p-0b54e58b.entry.js} +2 -2
  699. package/dist/stzh-components/p-0c1c23b6.entry.js +2 -0
  700. package/dist/stzh-components/{p-7fcdf0da.entry.js.map → p-0c1c23b6.entry.js.map} +1 -1
  701. package/dist/stzh-components/{p-822fd427.entry.js → p-0c340dcf.entry.js} +2 -2
  702. package/dist/stzh-components/{p-5f236e09.entry.js → p-0cb8c27c.entry.js} +2 -2
  703. package/dist/stzh-components/{p-58df488a.entry.js → p-0d2af671.entry.js} +2 -2
  704. package/dist/stzh-components/{p-88b60580.entry.js → p-1145c68c.entry.js} +2 -2
  705. package/dist/stzh-components/{p-cdfc3629.entry.js → p-12e3c92b.entry.js} +2 -2
  706. package/dist/stzh-components/p-140c21d2.entry.js +2 -0
  707. package/dist/stzh-components/{p-c27082b1.entry.js.map → p-140c21d2.entry.js.map} +1 -1
  708. package/dist/stzh-components/{p-81234cb3.entry.js → p-15a01b5b.entry.js} +2 -2
  709. package/dist/stzh-components/{p-0dd8bb75.entry.js → p-1bbd32d5.entry.js} +2 -2
  710. package/dist/stzh-components/{p-bfac05d9.entry.js → p-1bc80799.entry.js} +2 -2
  711. package/dist/stzh-components/{p-86134534.entry.js → p-1c858aa2.entry.js} +2 -2
  712. package/dist/stzh-components/{p-59f90fb0.entry.js → p-268a1fd3.entry.js} +2 -2
  713. package/dist/stzh-components/{p-0eb6375d.entry.js → p-27a50935.entry.js} +2 -2
  714. package/dist/stzh-components/{p-bec35e8a.entry.js → p-27e51cbb.entry.js} +2 -2
  715. package/dist/stzh-components/{p-10e8dd7d.entry.js → p-286c9d1c.entry.js} +2 -2
  716. package/dist/stzh-components/p-286c9d1c.entry.js.map +1 -0
  717. package/dist/stzh-components/{p-1f383f92.entry.js → p-287a6647.entry.js} +2 -2
  718. package/dist/stzh-components/{p-5f37f146.entry.js → p-296cf6eb.entry.js} +2 -2
  719. package/dist/stzh-components/{p-05ac8cf5.entry.js → p-2e8cca5f.entry.js} +2 -2
  720. package/dist/stzh-components/{p-91b425d3.entry.js → p-3745bbac.entry.js} +2 -2
  721. package/dist/stzh-components/{p-c5de2eae.entry.js → p-38a9f136.entry.js} +2 -2
  722. package/dist/stzh-components/{p-4883b247.entry.js → p-3b278a40.entry.js} +2 -2
  723. package/dist/stzh-components/{p-a92f593a.entry.js → p-44240b20.entry.js} +2 -2
  724. package/dist/stzh-components/{p-5d4e0dd0.entry.js → p-4538072a.entry.js} +2 -2
  725. package/dist/stzh-components/{p-bf786c3d.entry.js → p-46258bab.entry.js} +2 -2
  726. package/dist/stzh-components/{p-89dc75cb.entry.js → p-46554876.entry.js} +2 -2
  727. package/dist/stzh-components/{p-7bb25462.entry.js → p-4760e8fa.entry.js} +2 -2
  728. package/dist/stzh-components/{p-4524b189.entry.js → p-488de0c8.entry.js} +2 -2
  729. package/dist/stzh-components/{p-802da9eb.entry.js → p-48e7e24c.entry.js} +2 -2
  730. package/dist/stzh-components/p-48fb1f25.entry.js +2 -0
  731. package/dist/stzh-components/{p-ddc0dc04.entry.js.map → p-48fb1f25.entry.js.map} +1 -1
  732. package/dist/stzh-components/{p-060b4bf0.entry.js → p-4cbc6aaa.entry.js} +2 -2
  733. package/dist/stzh-components/{p-5e15683f.entry.js → p-56538913.entry.js} +2 -2
  734. package/dist/stzh-components/p-568ae693.entry.js +2 -0
  735. package/dist/stzh-components/p-568ae693.entry.js.map +1 -0
  736. package/dist/stzh-components/{p-0cf1a45d.entry.js → p-5b30efeb.entry.js} +2 -2
  737. package/dist/stzh-components/{p-1450f777.entry.js → p-5da60d60.entry.js} +2 -2
  738. package/dist/stzh-components/{p-36783a19.entry.js → p-5e0d522c.entry.js} +2 -2
  739. package/dist/stzh-components/{p-560c82e5.entry.js → p-60599b7d.entry.js} +2 -2
  740. package/dist/stzh-components/{p-a634e4a3.entry.js → p-609a9d4a.entry.js} +2 -2
  741. package/dist/stzh-components/p-609a9d4a.entry.js.map +1 -0
  742. package/dist/stzh-components/{p-cb70b81e.entry.js → p-62febcab.entry.js} +2 -2
  743. package/dist/stzh-components/{p-1416149e.entry.js → p-6345a81b.entry.js} +2 -2
  744. package/dist/stzh-components/{p-dd1d8a38.entry.js → p-65f98e78.entry.js} +2 -2
  745. package/dist/stzh-components/{p-f3d3f975.entry.js → p-670b579b.entry.js} +2 -2
  746. package/dist/stzh-components/{p-f50cd7ba.entry.js → p-6a9a7903.entry.js} +2 -2
  747. package/dist/stzh-components/{p-01b910be.entry.js → p-7016efd0.entry.js} +2 -2
  748. package/dist/stzh-components/{p-07a64a81.entry.js → p-70251e01.entry.js} +3 -3
  749. package/dist/stzh-components/{p-242f8853.entry.js → p-70753f8e.entry.js} +2 -2
  750. package/dist/stzh-components/{p-83eee7d8.entry.js → p-7499bdb7.entry.js} +2 -2
  751. package/dist/stzh-components/{p-1ef9b4aa.entry.js → p-7897b99c.entry.js} +2 -2
  752. package/dist/stzh-components/{p-813765e0.entry.js → p-7ddf3d51.entry.js} +2 -2
  753. package/dist/stzh-components/{p-7a0e995b.entry.js → p-7ec6c8e7.entry.js} +2 -2
  754. package/dist/stzh-components/{p-5afa5c60.entry.js → p-7f29fab9.entry.js} +2 -2
  755. package/dist/stzh-components/{p-a0ec5681.entry.js → p-838a40cd.entry.js} +2 -2
  756. package/dist/stzh-components/{p-4a05919e.entry.js → p-841118e5.entry.js} +2 -2
  757. package/dist/stzh-components/{p-4a05919e.entry.js.map → p-841118e5.entry.js.map} +1 -1
  758. package/dist/stzh-components/{p-e73168b1.entry.js → p-875a572e.entry.js} +2 -2
  759. package/dist/stzh-components/{p-1791b2b3.entry.js → p-8b41f6fa.entry.js} +2 -2
  760. package/dist/stzh-components/{p-c7d7d854.entry.js → p-90bf38bb.entry.js} +2 -2
  761. package/dist/stzh-components/p-913cc4d4.entry.js +2 -0
  762. package/dist/stzh-components/p-913cc4d4.entry.js.map +1 -0
  763. package/dist/stzh-components/{p-072ee314.entry.js → p-9697d5b9.entry.js} +2 -2
  764. package/dist/stzh-components/p-9abad95b.entry.js +2 -0
  765. package/dist/stzh-components/p-9abad95b.entry.js.map +1 -0
  766. package/dist/stzh-components/{p-d3d1a284.entry.js → p-a10a167c.entry.js} +2 -2
  767. package/dist/stzh-components/p-a42eb9ff.entry.js +2 -0
  768. package/dist/stzh-components/p-a42eb9ff.entry.js.map +1 -0
  769. package/dist/stzh-components/{p-97c16051.entry.js → p-a58b97fc.entry.js} +2 -2
  770. package/dist/stzh-components/{p-c4c3cd03.entry.js → p-a74ed640.entry.js} +2 -2
  771. package/dist/stzh-components/{p-be5c3c5f.entry.js → p-a996b9af.entry.js} +2 -2
  772. package/dist/stzh-components/{p-9429dd63.entry.js → p-a9c4e972.entry.js} +2 -2
  773. package/dist/stzh-components/{p-640bd513.entry.js → p-ad9d3926.entry.js} +2 -2
  774. package/dist/stzh-components/p-adc9fb2b.entry.js +2 -0
  775. package/dist/stzh-components/{p-8dccb0a9.entry.js.map → p-adc9fb2b.entry.js.map} +1 -1
  776. package/dist/stzh-components/{p-b5361fa5.entry.js → p-b11487ec.entry.js} +2 -2
  777. package/dist/stzh-components/{p-a60e9919.entry.js → p-b9354960.entry.js} +2 -2
  778. package/dist/stzh-components/{p-368d97c2.entry.js → p-bb1d4410.entry.js} +2 -2
  779. package/dist/stzh-components/{p-c4a656ba.entry.js → p-bd92bc55.entry.js} +2 -2
  780. package/dist/stzh-components/p-c023e0ce.js +2 -0
  781. package/dist/stzh-components/{p-f47de487.js.map → p-c023e0ce.js.map} +1 -1
  782. package/dist/stzh-components/{p-8629e109.entry.js → p-c0c7ebbc.entry.js} +2 -2
  783. package/dist/stzh-components/{p-513cbed7.entry.js → p-c3ddf161.entry.js} +2 -2
  784. package/dist/stzh-components/{p-852bb820.entry.js → p-c475f153.entry.js} +2 -2
  785. package/dist/stzh-components/{p-70739292.entry.js → p-c47d9a87.entry.js} +2 -2
  786. package/dist/stzh-components/{p-aef0879b.entry.js → p-c9195859.entry.js} +2 -2
  787. package/dist/stzh-components/{p-0aa2bf6d.entry.js → p-ce1a02f6.entry.js} +2 -2
  788. package/dist/stzh-components/{p-0c9776ca.entry.js → p-d17e7d90.entry.js} +2 -2
  789. package/dist/stzh-components/{p-4e67373b.entry.js → p-d29ff5f4.entry.js} +2 -2
  790. package/dist/stzh-components/{p-84f8a7c4.entry.js → p-d37d10b5.entry.js} +2 -2
  791. package/dist/stzh-components/p-d37d10b5.entry.js.map +1 -0
  792. package/dist/stzh-components/{p-523cd861.entry.js → p-d38c0e15.entry.js} +2 -2
  793. package/dist/stzh-components/{p-603eb9db.entry.js → p-d3b51ee5.entry.js} +2 -2
  794. package/dist/stzh-components/{p-f52539cd.entry.js → p-d57e8dd4.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b424108f.entry.js → p-d687ec3c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-decc15e9.entry.js → p-d73ba86d.entry.js} +2 -2
  797. package/dist/stzh-components/p-d73ba86d.entry.js.map +1 -0
  798. package/dist/stzh-components/{p-09ccae77.entry.js → p-d82079be.entry.js} +2 -2
  799. package/dist/stzh-components/{p-d8d5bcf0.entry.js → p-d956a33d.entry.js} +2 -2
  800. package/dist/stzh-components/{p-005493d4.entry.js → p-d9dda5eb.entry.js} +2 -2
  801. package/dist/stzh-components/{p-a64a1cfb.entry.js → p-dc40dd2a.entry.js} +2 -2
  802. package/dist/stzh-components/{p-5e81bc87.entry.js → p-dca76ae3.entry.js} +2 -2
  803. package/dist/stzh-components/{p-c4fe3a90.entry.js → p-dcba6464.entry.js} +2 -2
  804. package/dist/stzh-components/{p-b2bd3ab6.entry.js → p-e01d37b9.entry.js} +2 -2
  805. package/dist/stzh-components/{p-52157928.entry.js → p-e054a79d.entry.js} +2 -2
  806. package/dist/stzh-components/{p-7c3ad9ad.entry.js → p-e05db400.entry.js} +2 -2
  807. package/dist/stzh-components/{p-f87cac36.entry.js → p-e513785b.entry.js} +2 -2
  808. package/dist/stzh-components/{p-6201ff22.entry.js → p-e9b37425.entry.js} +2 -2
  809. package/dist/stzh-components/{p-87b49bad.entry.js → p-ec0c1d40.entry.js} +2 -2
  810. package/dist/stzh-components/{p-14d4ccf8.entry.js → p-f0defcda.entry.js} +2 -2
  811. package/dist/stzh-components/{p-f76e4062.entry.js → p-f12cc836.entry.js} +2 -2
  812. package/dist/stzh-components/{p-cfaa0150.entry.js → p-f1340147.entry.js} +2 -2
  813. package/dist/stzh-components/{p-484ab936.entry.js → p-f76bc9ba.entry.js} +2 -2
  814. package/dist/stzh-components/{p-05c5f234.entry.js → p-f86de9e1.entry.js} +2 -2
  815. package/dist/stzh-components/{p-2b99717a.entry.js → p-faddaae7.entry.js} +2 -2
  816. package/dist/stzh-components/{p-592d0768.entry.js → p-fe64fe26.entry.js} +2 -2
  817. package/dist/stzh-components/stzh-components.esm.js +1 -1
  818. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  819. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +0 -2
  820. package/dist/types/components/CMS/stzh-linklist/stzh-linklist.d.ts +5 -1
  821. package/dist/types/components/CMS/stzh-pi-teaser/stzh-pi-teaser.d.ts +0 -7
  822. package/dist/types/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.d.ts +4 -1
  823. package/dist/types/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.d.ts +44 -0
  824. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +1 -1
  825. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +1 -1
  826. package/dist/types/components.d.ts +128 -42
  827. package/dist/types/index.d.ts +5 -0
  828. package/dist/vscode-data.json +92 -45
  829. package/package.json +3 -3
  830. package/dist/components/p-503bdd56.js.map +0 -1
  831. package/dist/components/p-9ac321e4.js.map +0 -1
  832. package/dist/components/p-9c59e8f6.js.map +0 -1
  833. package/dist/components/p-c22c1bb9.js +0 -102
  834. package/dist/components/p-c22c1bb9.js.map +0 -1
  835. package/dist/stzh-components/p-07f2765c.entry.js +0 -2
  836. package/dist/stzh-components/p-07f2765c.entry.js.map +0 -1
  837. package/dist/stzh-components/p-10e8dd7d.entry.js.map +0 -1
  838. package/dist/stzh-components/p-177fe44b.entry.js +0 -2
  839. package/dist/stzh-components/p-177fe44b.entry.js.map +0 -1
  840. package/dist/stzh-components/p-7fcdf0da.entry.js +0 -2
  841. package/dist/stzh-components/p-84f8a7c4.entry.js.map +0 -1
  842. package/dist/stzh-components/p-8dccb0a9.entry.js +0 -2
  843. package/dist/stzh-components/p-a469d79d.entry.js +0 -2
  844. package/dist/stzh-components/p-a469d79d.entry.js.map +0 -1
  845. package/dist/stzh-components/p-a634e4a3.entry.js.map +0 -1
  846. package/dist/stzh-components/p-c27082b1.entry.js +0 -2
  847. package/dist/stzh-components/p-ddc0dc04.entry.js +0 -2
  848. package/dist/stzh-components/p-decc15e9.entry.js.map +0 -1
  849. package/dist/stzh-components/p-f47de487.js +0 -2
  850. /package/dist/stzh-components/{p-787ea476.entry.js.map → p-00cb988b.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-dac817d4.entry.js.map → p-0422500c.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-5149779d.entry.js.map → p-08dcf795.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-6705f73a.entry.js.map → p-0b54e58b.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-822fd427.entry.js.map → p-0c340dcf.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-5f236e09.entry.js.map → p-0cb8c27c.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-58df488a.entry.js.map → p-0d2af671.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-88b60580.entry.js.map → p-1145c68c.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-cdfc3629.entry.js.map → p-12e3c92b.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-81234cb3.entry.js.map → p-15a01b5b.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-0dd8bb75.entry.js.map → p-1bbd32d5.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-bfac05d9.entry.js.map → p-1bc80799.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-86134534.entry.js.map → p-1c858aa2.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-59f90fb0.entry.js.map → p-268a1fd3.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-0eb6375d.entry.js.map → p-27a50935.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-bec35e8a.entry.js.map → p-27e51cbb.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-1f383f92.entry.js.map → p-287a6647.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-5f37f146.entry.js.map → p-296cf6eb.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-05ac8cf5.entry.js.map → p-2e8cca5f.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-91b425d3.entry.js.map → p-3745bbac.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-c5de2eae.entry.js.map → p-38a9f136.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-4883b247.entry.js.map → p-3b278a40.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-a92f593a.entry.js.map → p-44240b20.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-5d4e0dd0.entry.js.map → p-4538072a.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-bf786c3d.entry.js.map → p-46258bab.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-89dc75cb.entry.js.map → p-46554876.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-7bb25462.entry.js.map → p-4760e8fa.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-4524b189.entry.js.map → p-488de0c8.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-802da9eb.entry.js.map → p-48e7e24c.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-060b4bf0.entry.js.map → p-4cbc6aaa.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-5e15683f.entry.js.map → p-56538913.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-0cf1a45d.entry.js.map → p-5b30efeb.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-1450f777.entry.js.map → p-5da60d60.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-36783a19.entry.js.map → p-5e0d522c.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-560c82e5.entry.js.map → p-60599b7d.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-cb70b81e.entry.js.map → p-62febcab.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-1416149e.entry.js.map → p-6345a81b.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-dd1d8a38.entry.js.map → p-65f98e78.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-f3d3f975.entry.js.map → p-670b579b.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-f50cd7ba.entry.js.map → p-6a9a7903.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-01b910be.entry.js.map → p-7016efd0.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-07a64a81.entry.js.map → p-70251e01.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-242f8853.entry.js.map → p-70753f8e.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-83eee7d8.entry.js.map → p-7499bdb7.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-1ef9b4aa.entry.js.map → p-7897b99c.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-813765e0.entry.js.map → p-7ddf3d51.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-7a0e995b.entry.js.map → p-7ec6c8e7.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5afa5c60.entry.js.map → p-7f29fab9.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-a0ec5681.entry.js.map → p-838a40cd.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-e73168b1.entry.js.map → p-875a572e.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-1791b2b3.entry.js.map → p-8b41f6fa.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-c7d7d854.entry.js.map → p-90bf38bb.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-072ee314.entry.js.map → p-9697d5b9.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-d3d1a284.entry.js.map → p-a10a167c.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-97c16051.entry.js.map → p-a58b97fc.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-c4c3cd03.entry.js.map → p-a74ed640.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-be5c3c5f.entry.js.map → p-a996b9af.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-9429dd63.entry.js.map → p-a9c4e972.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-640bd513.entry.js.map → p-ad9d3926.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-b5361fa5.entry.js.map → p-b11487ec.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-a60e9919.entry.js.map → p-b9354960.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-368d97c2.entry.js.map → p-bb1d4410.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-c4a656ba.entry.js.map → p-bd92bc55.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-8629e109.entry.js.map → p-c0c7ebbc.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-513cbed7.entry.js.map → p-c3ddf161.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-852bb820.entry.js.map → p-c475f153.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-70739292.entry.js.map → p-c47d9a87.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-aef0879b.entry.js.map → p-c9195859.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-0aa2bf6d.entry.js.map → p-ce1a02f6.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-0c9776ca.entry.js.map → p-d17e7d90.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-4e67373b.entry.js.map → p-d29ff5f4.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-523cd861.entry.js.map → p-d38c0e15.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-603eb9db.entry.js.map → p-d3b51ee5.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-f52539cd.entry.js.map → p-d57e8dd4.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-b424108f.entry.js.map → p-d687ec3c.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-09ccae77.entry.js.map → p-d82079be.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-d8d5bcf0.entry.js.map → p-d956a33d.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-005493d4.entry.js.map → p-d9dda5eb.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-a64a1cfb.entry.js.map → p-dc40dd2a.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-5e81bc87.entry.js.map → p-dca76ae3.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-c4fe3a90.entry.js.map → p-dcba6464.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-b2bd3ab6.entry.js.map → p-e01d37b9.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-52157928.entry.js.map → p-e054a79d.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-7c3ad9ad.entry.js.map → p-e05db400.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-f87cac36.entry.js.map → p-e513785b.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-6201ff22.entry.js.map → p-e9b37425.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-87b49bad.entry.js.map → p-ec0c1d40.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-14d4ccf8.entry.js.map → p-f0defcda.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-f76e4062.entry.js.map → p-f12cc836.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-cfaa0150.entry.js.map → p-f1340147.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-484ab936.entry.js.map → p-f76bc9ba.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-05c5f234.entry.js.map → p-f86de9e1.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-2b99717a.entry.js.map → p-faddaae7.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-592d0768.entry.js.map → p-fe64fe26.entry.js.map} +0 -0
@@ -15,7 +15,7 @@ const StzhContainer = /*@__PURE__*/ proxyCustomElement(class StzhContainer exten
15
15
  "stzh-container--has-no-margin": this.noMargin,
16
16
  // [`stzh-container--size-${this.size}`]: !!this.size,
17
17
  };
18
- return (h(Host, { key: 'bfbbfa4d7ebe7f553cc14cc9d453582f5d8ef083' }, h("div", { key: 'f7648c8137df212852875d0685d136ca500c6bd8', class: classes }, h("slot", { key: '428fb8a30bed21c3ad5df95476ee8ff9a1336012' }))));
18
+ return (h(Host, { key: 'b3f0d265d9fc1069d992c0c40f09ad03b6d4562c' }, h("div", { key: '7f29efabddd07aa2c088ed5efc6e56571ccf4e76', class: classes }, h("slot", { key: '1c89ecf1b493a19a0f150ed4b6f07b4a06ba1e08' }))));
19
19
  }
20
20
  static get style() { return StzhContainerStyle0; }
21
21
  }, [6, "stzh-container", {
@@ -37,4 +37,4 @@ function defineCustomElement() {
37
37
 
38
38
  export { StzhContainer as S, defineCustomElement as d };
39
39
 
40
- //# sourceMappingURL=p-683460a5.js.map
40
+ //# sourceMappingURL=p-479db6c6.js.map
@@ -1 +1 @@
1
- {"file":"p-683460a5.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,owGAAowG,CAAC;AAC9xG,4BAAe,gBAAgB;;MCSlB,aAAa;;;;wBAKI,KAAK;;IAEjC,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,gBAAgB,EAAE,IAAI;YACtB,+BAA+B,EAAE,IAAI,CAAC,QAAQ;;SAE/C,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-container/stzh-container.scss?tag=stzh-container&encapsulation=scoped","src/components/stzh-container/stzh-container.tsx"],"sourcesContent":[":host {\n ::slotted(*) {\n stzh-header {\n margin-left: -$containerMargin;\n margin-right: -$containerMargin;\n\n @include mq($from: small) {\n margin-left: -$containerMarginSmall;\n margin-right: -$containerMarginSmall;\n }\n\n @include mq($from: medium) {\n margin-left: -$containerMarginMedium;\n margin-right: -$containerMarginMedium;\n }\n\n @include mq($from: large) {\n margin-left: -$containerMarginLarge;\n margin-right: -$containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-left: calc(\n (100vw - #{$containerMaxWidth} - var(--stzh-scrollbar-width, 0px)) /\n -2\n );\n margin-right: calc(\n (100vw - #{$containerMaxWidth} - var(--stzh-scrollbar-width, 0px)) /\n -2\n );\n }\n }\n\n stzh-banner,\n stzh-ghettobox,\n stzh-pagetitle,\n stzh-pagetitle-home,\n stzh-container,\n stzh-homepage-service-highlights,\n stzh-homepage-search,\n stzh-vbz-carousel,\n stzh-message[type=\"page-message\"] {\n position: relative;\n left: 50%;\n right: 50%;\n margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n width: calc(100vw - var(--stzh-scrollbar-width));\n max-width: calc(100vw - var(--stzh-scrollbar-width));\n }\n\n // stzh-section[variant=\"highlight\"] {\n // --padding-left: #{$containerMargin};\n // --padding-right: #{$containerMargin};\n\n // @include mq($from: small) {\n // --padding-left: #{$containerMarginSmall};\n // --padding-right: #{$containerMarginSmall};\n // }\n\n // @include mq($from: medium) {\n // --padding-left: #{$containerMarginMedium};\n // --padding-right: #{$containerMarginMedium};\n // }\n\n // @include mq($from: large) {\n // --padding-left: #{space('xlarge')};\n // --padding-right: #{space('xlarge')};\n // }\n\n // @include mq($to: large) {\n // position: relative;\n // left: 50%;\n // right: 50%;\n // margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // width: calc(100vw - var(--stzh-scrollbar-width));\n // max-width: calc(100vw - var(--stzh-scrollbar-width));\n // }\n // }\n\n // stzh-row stzh-section[variant=\"highlight\"] {\n // @include spaceCurve('--padding-left', 'small');\n // @include spaceCurve('--padding-right', 'small');\n\n // @include mq($to: large) {\n // left: initial;\n // right: initial;\n // margin-left: initial;\n // margin-right: initial;\n // width: initial;\n // max-width: initial;\n // }\n // }\n }\n}\n\n.stzh-container {\n @include container;\n\n // &--size-big {\n // @include container($size: \"big\");\n // }\n\n &--has-no-margin {\n margin-left: auto;\n margin-right: auto;\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-container\",\n styleUrl: \"stzh-container.scss\",\n scoped: true,\n})\nexport class StzhContainer {\n /** Size variant */\n // @Prop() size: \"default\" | \"big\" = \"default\";\n\n /** Whether to prevent side margins */\n @Prop() noMargin: boolean = false;\n\n render() {\n const classes = {\n \"stzh-container\": true,\n \"stzh-container--has-no-margin\": this.noMargin,\n // [`stzh-container--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-479db6c6.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,owGAAowG,CAAC;AAC9xG,4BAAe,gBAAgB;;MCSlB,aAAa;;;;wBAKI,KAAK;;IAEjC,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,gBAAgB,EAAE,IAAI;YACtB,+BAA+B,EAAE,IAAI,CAAC,QAAQ;;SAE/C,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-container/stzh-container.scss?tag=stzh-container&encapsulation=scoped","src/components/stzh-container/stzh-container.tsx"],"sourcesContent":[":host {\n ::slotted(*) {\n stzh-header {\n margin-left: -$containerMargin;\n margin-right: -$containerMargin;\n\n @include mq($from: small) {\n margin-left: -$containerMarginSmall;\n margin-right: -$containerMarginSmall;\n }\n\n @include mq($from: medium) {\n margin-left: -$containerMarginMedium;\n margin-right: -$containerMarginMedium;\n }\n\n @include mq($from: large) {\n margin-left: -$containerMarginLarge;\n margin-right: -$containerMarginLarge;\n }\n\n @include mq($from: ultra) {\n margin-left: calc(\n (100vw - #{$containerMaxWidth} - var(--stzh-scrollbar-width, 0px)) /\n -2\n );\n margin-right: calc(\n (100vw - #{$containerMaxWidth} - var(--stzh-scrollbar-width, 0px)) /\n -2\n );\n }\n }\n\n stzh-banner,\n stzh-ghettobox,\n stzh-pagetitle,\n stzh-pagetitle-home,\n stzh-container,\n stzh-homepage-service-highlights,\n stzh-homepage-search,\n stzh-vbz-carousel,\n stzh-message[type=\"page-message\"] {\n position: relative;\n left: 50%;\n right: 50%;\n margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n width: calc(100vw - var(--stzh-scrollbar-width));\n max-width: calc(100vw - var(--stzh-scrollbar-width));\n }\n\n // stzh-section[variant=\"highlight\"] {\n // --padding-left: #{$containerMargin};\n // --padding-right: #{$containerMargin};\n\n // @include mq($from: small) {\n // --padding-left: #{$containerMarginSmall};\n // --padding-right: #{$containerMarginSmall};\n // }\n\n // @include mq($from: medium) {\n // --padding-left: #{$containerMarginMedium};\n // --padding-right: #{$containerMarginMedium};\n // }\n\n // @include mq($from: large) {\n // --padding-left: #{space('xlarge')};\n // --padding-right: #{space('xlarge')};\n // }\n\n // @include mq($to: large) {\n // position: relative;\n // left: 50%;\n // right: 50%;\n // margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // width: calc(100vw - var(--stzh-scrollbar-width));\n // max-width: calc(100vw - var(--stzh-scrollbar-width));\n // }\n // }\n\n // stzh-row stzh-section[variant=\"highlight\"] {\n // @include spaceCurve('--padding-left', 'small');\n // @include spaceCurve('--padding-right', 'small');\n\n // @include mq($to: large) {\n // left: initial;\n // right: initial;\n // margin-left: initial;\n // margin-right: initial;\n // width: initial;\n // max-width: initial;\n // }\n // }\n }\n}\n\n.stzh-container {\n @include container;\n\n // &--size-big {\n // @include container($size: \"big\");\n // }\n\n &--has-no-margin {\n margin-left: auto;\n margin-right: auto;\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-container\",\n styleUrl: \"stzh-container.scss\",\n scoped: true,\n})\nexport class StzhContainer {\n /** Size variant */\n // @Prop() size: \"default\" | \"big\" = \"default\";\n\n /** Whether to prevent side margins */\n @Prop() noMargin: boolean = false;\n\n render() {\n const classes = {\n \"stzh-container\": true,\n \"stzh-container--has-no-margin\": this.noMargin,\n // [`stzh-container--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,13 +1,13 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, 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$8 } from './p-17efbc57.js';
4
- import { d as defineCustomElement$7 } from './p-e42121d1.js';
5
- import { d as defineCustomElement$6 } from './p-5a8587ab.js';
6
- import { d as defineCustomElement$5 } from './p-33ac52bc.js';
7
- import { d as defineCustomElement$4 } from './p-25ff5360.js';
8
- import { d as defineCustomElement$3 } from './p-6268e18b.js';
9
- import { d as defineCustomElement$2 } from './p-9a31aa56.js';
10
- import { d as defineCustomElement$1 } from './p-1449a24c.js';
3
+ import { d as defineCustomElement$8 } from './p-dd1c0c0c.js';
4
+ import { d as defineCustomElement$7 } from './p-4a78990f.js';
5
+ import { d as defineCustomElement$6 } from './p-7c4e756c.js';
6
+ import { d as defineCustomElement$5 } from './p-e5cf7853.js';
7
+ import { d as defineCustomElement$4 } from './p-26edabbb.js';
8
+ import { d as defineCustomElement$3 } from './p-963d59bf.js';
9
+ import { d as defineCustomElement$2 } from './p-63c4d8c4.js';
10
+ import { d as defineCustomElement$1 } from './p-613937f1.js';
11
11
 
12
12
  const stzhActionsetCss = ".sc-stzh-actionset-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-actionset-h,[stzh-hidden].sc-stzh-actionset-h{display:none}.sc-stzh-actionset-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::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-actionset-h .has-focus.sc-stzh-actionset{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-actionset-h .stzh-fylingfocus-focused.sc-stzh-actionset{outline-style:none !important}.sc-stzh-actionset-h .stzh-fylingfocus-focused.sc-stzh-actionset::-moz-focus-inner{border:0 !important}.stzh-actionset__actions.sc-stzh-actionset{display:flex;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:flex;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover-wrapper.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover-wrapper.sc-stzh-actionset{opacity:1}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto}@media screen and (min-width: 900px){.stzh-actionset--overflow.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{flex-direction:column;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{flex-direction:column;align-items:stretch}}@media screen and (min-width: 600px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover-wrapper.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover-wrapper.sc-stzh-actionset{display:none}}";
13
13
  const StzhActionsetStyle0 = stzhActionsetCss;
@@ -131,18 +131,18 @@ const StzhActionset = /*@__PURE__*/ proxyCustomElement(class StzhActionset exten
131
131
  "stzh-actionset--has-collapsed-items": this.actionsCollapsed.length > 0,
132
132
  [`stzh-actionset--${this.variant}`]: !!this.variant,
133
133
  };
134
- const Action = (action, disableTabbing) => (h("stzh-button", { key: 'd0e49e31ca8762d5faf49bcfd1facb75119625cb', a11yTabindex: disableTabbing ? "-1" : null, class: {
134
+ const Action = (action, disableTabbing) => (h("stzh-button", { key: 'f2856fc3a86cdf886789ae26f8f3d6534ad6fad9', a11yTabindex: disableTabbing ? "-1" : null, class: {
135
135
  "stzh-actionset__action": true,
136
136
  "is-button": true,
137
137
  }, label: action.label, icon: action.icon, iconPosition: action.iconPosition, iconOnly: action.iconOnly, badge: action.badge, variant: action.variant ? action.variant : this.variant === "stack" ? "secondary" : "tertiary", size: action.size ? action.size : this.variant === "stack" ? "small" : "tiny", badgePosition: "icon", onClick: e => {
138
138
  this.actionClick(action, e);
139
139
  } }));
140
- return (h(Host, { key: '7ba29f5a2431146d73b47f3fe4c9caa8df008125', "has-collapsed-items": this.actionsCollapsed.length > 0 }, h("div", { key: '1808d68add46e4677dd0b1372912ed4249a49578', class: classes }, h("div", { key: '7d56d17280f57189a38a8357a6f532c2b826d37e', class: "stzh-actionset__actions", role: "group" }, h("div", { key: '9e554e61ab1ae3cae499c238b635c251cb26b1b1', ref: el => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&
141
- (action.tooltipContent ? (h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))) : (Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))))), h("div", { key: '62abf51b40d7caa44a55b5f791a0122ac28f4bd9', class: "stzh-actionset__action-popover-wrapper" }, h("stzh-popover", { key: '3d164466f363a0b199fcd46a8875490c7d1802a4', label: this.variant === "stack"
140
+ return (h(Host, { key: '6b08b0b6a6eeab602f1cd8e5f83836d7f8713384', "has-collapsed-items": this.actionsCollapsed.length > 0 }, h("div", { key: 'acdef4783a48d197895dc971dbbf7e4d8f05301f', class: classes }, h("div", { key: 'eb446afb198afb2ced0be517dd2d11d0e5e55bab', class: "stzh-actionset__actions", role: "group" }, h("div", { key: '589562030a56efee2e0f6d0ce84fc774a0183554', ref: el => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&
141
+ (action.tooltipContent ? (h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))) : (Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))))), h("div", { key: '2045f6c0a5ef152a08c1e3517a242ab6f737884c', class: "stzh-actionset__action-popover-wrapper" }, h("stzh-popover", { key: '354dd56ed1cab651fb0a95b46c43da86cb89e2ab', label: this.variant === "stack"
142
142
  ? this.localization.furtherActions
143
143
  : !this.isMedium
144
144
  ? this.localization.actions
145
- : "", strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, h("stzh-button", { key: '49189e2c861711d01895bf4c7a12cb4ec583fbd8', fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
145
+ : "", strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, h("stzh-button", { key: 'a39acd31895565f1bb1511e349256cc42ccb5f23', fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
146
146
  ? this.popoverButtonVariant
147
147
  : this.variant === "stack"
148
148
  ? "secondary"
@@ -150,7 +150,7 @@ const StzhActionset = /*@__PURE__*/ proxyCustomElement(class StzhActionset exten
150
150
  ? this.localization.furtherActions
151
151
  : !this.isMedium
152
152
  ? this.localization.actions
153
- : "", a11yLabel: this.variant === "overflow" && this.localization.actions }), h("stzh-menu", { key: '59b28eb2e8bad618e7be4f256ca73e36338c031d', slot: "content" }, this.actionsCollapsed.map(action => (h("stzh-menu-item", {
153
+ : "", a11yLabel: this.variant === "overflow" && this.localization.actions }), h("stzh-menu", { key: '19a1969d884d34faa9fc3a24dc0816dc545dc5de', slot: "content" }, this.actionsCollapsed.map(action => (h("stzh-menu-item", {
154
154
  // class="hide-medium show-when-collapsed"
155
155
  icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: e => {
156
156
  this.actionClick(action, e);
@@ -232,4 +232,4 @@ function defineCustomElement() {
232
232
 
233
233
  export { StzhActionset as S, defineCustomElement as d };
234
234
 
235
- //# sourceMappingURL=p-c65c361a.js.map
235
+ //# sourceMappingURL=p-486bf53e.js.map
@@ -1 +1 @@
1
- {"file":"p-c65c361a.js","mappings":";;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,g4FAAg4F,CAAC;AAC15F,4BAAe,gBAAgB;;MCgBlB,aAAa;;;;;QAsBhB,aAAQ,GAAwB,EAAE,CAAC;QAyBnC,gBAAW,GAAG,CAAC,MAAyB,EAAE,aAAyB;YACzE,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;gBACxB,SAAS,EAAE,gBAAgB;gBAC3B,MAAM;gBACN,aAAa;aACd,CAAC,CAAC;SACJ,CAAC;QAEM,WAAM,GAAG;YACf,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC;YACtC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC;YAExC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,OAAO;aACR;YAED,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;gBACvC,KAAK,EAAE,IAAI;gBACX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;YAEE,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,SAAS,EAAE,MAAM,CAAC,SAAS,EAC3B,OAAO,EAAE,CAAC;gBACR,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;aAC7B;WAEA,MAAM,CAAC,KAAK,CACE,CAClB,CAAC,CACQ,CACC,CACX,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-actionset/stzh-actionset.scss?tag=stzh-actionset&encapsulation=scoped","src/components/stzh-actionset/stzh-actionset.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-actionset {\n &__actions {\n display: flex;\n align-items: center;\n }\n\n &__actions-wrapper {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n }\n\n &__action {\n &:not(:last-child) {\n margin-right: space(\"xsmall\");\n }\n }\n\n &__action-popover-wrapper {\n opacity: 0;\n }\n\n &--has-collapsed-items &__action-popover-wrapper {\n opacity: 1;\n }\n\n &--has-collapsed-items &__action-popover {\n --width: auto;\n }\n\n /* Overflow variant */\n\n &--overflow &__action {\n @include mq($from: medium) {\n --white-space: nowrap;\n }\n }\n\n /* Stack variant */\n\n &--stack &__actions {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__actions-wrapper {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__action {\n @include mq($from: small) {\n --white-space: nowrap;\n }\n\n &:not(:last-child) {\n @include mq($to: small) {\n margin-bottom: space(\"xsmall\");\n margin-right: 0;\n }\n }\n }\n\n &--stack &__action-popover-wrapper {\n @include mq($to: small) {\n margin-top: space(\"xsmall\");\n }\n }\n\n // Hide more action popover on small if it has no collapsed items\n\n &--stack:not(#{&}--has-collapsed-items) &__action-popover-wrapper {\n @include mq($to: small) {\n display: none;\n }\n }\n}\n","import { Component, Host, Prop, h, Element, Watch, Event, EventEmitter, State } from \"@stencil/core\";\n\nimport { StzhActionsetItem, StzhActionsetItemClickEvent } from \"../../index\";\n\nimport { StzhActionsetLocalizedText } from \"./stzh-actionset.localization\";\n\nimport { media, addMediaChangeListener, removeMediaChangeListener } from \"../../utils/media-utils\";\n\nimport { Placement } from \"@floating-ui/dom\";\n\n/**\n */\n@Component({\n tag: \"stzh-actionset\",\n styleUrl: \"stzh-actionset.scss\",\n scoped: true,\n})\nexport class StzhActionset {\n /** Translation strings */\n @Prop() localization: StzhActionsetLocalizedText;\n\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"stack\" | \"overflow\" = \"stack\";\n\n /** Button variant of popover button (button thats holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonVariant: \"\" | \"default\" | \"secondary\" | \"tertiary\" = \"\";\n\n /** Button size of popover button (button that holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonSize: \"\" | \"default\" | \"small\" | \"tiny\" = \"\";\n\n /** Popover placement of button that holds collapsed actions */\n @Prop({ reflect: true }) popoverPlacement: Placement = \"bottom-end\";\n\n /**\n * Card header actions.\n * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:\n * `[{\"id\":\"action-1\", \"icon\": \"alarm-bell\", \"label\": \"Lorem\"}, {\"id\":\"action-2\", \"icon\": \"mail\", \"label\": \"Lorem\"}]`\n */\n @Prop() actions: StzhActionsetItem[] | string = [];\n private _actions: StzhActionsetItem[] = [];\n\n /** Header action click event */\n @Event() stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;\n\n @Element() element: HTMLStzhActionsetElement;\n\n @Watch(\"actions\")\n actionsWatcher(newValue: StzhActionsetItem[] | string) {\n if (typeof newValue === \"string\") {\n this._actions = JSON.parse(newValue);\n } else {\n this._actions = newValue;\n }\n }\n\n @State() actionsCollapsed: StzhActionsetItem[] = [];\n @State() dynamicActions: boolean;\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n\n private actionsElement: HTMLElement;\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private actionClick = (action: StzhActionsetItem, originalEvent: MouseEvent) => {\n this.stzhActionClick.emit({\n component: \"stzh-actionset\",\n action,\n originalEvent,\n });\n };\n\n private update = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n\n if (!this.actionsElement) {\n return;\n }\n\n Object.assign(this.actionsElement.style, {\n width: null,\n height: null,\n });\n\n let newActionsVisible = 0;\n\n if ((this.variant === \"overflow\" && this.isMedium) || (this.variant === \"stack\" && this.isSmall)) {\n this.dynamicActions = true;\n\n let newActionsHeight = 0;\n let newActionsWidth = 0;\n\n // update height and width\n Array.from(this.actionsElement.children).forEach((child: HTMLElement) => {\n // check which item is visible and\n if (child.offsetTop === 0) {\n newActionsVisible++;\n\n const { width, height } = child.getBoundingClientRect();\n\n const style = getComputedStyle(child);\n const marginLeft = parseInt(style.marginLeft);\n const marginRight = parseInt(style.marginRight);\n const marginTop = parseInt(style.marginTop);\n const marginBottom = parseInt(style.marginBottom);\n\n const childWidth = width + marginLeft + marginRight;\n const childHeight = height + marginTop + marginBottom;\n\n if (newActionsHeight < childHeight) {\n newActionsHeight = childHeight;\n }\n\n newActionsWidth = newActionsWidth + childWidth;\n }\n });\n\n Object.assign(this.actionsElement.style, {\n width: `${newActionsWidth}px`,\n height: `${newActionsHeight}px`,\n });\n } else {\n this.dynamicActions = false;\n\n if (this.variant === \"overflow\") {\n newActionsVisible = 0;\n } else if (this.variant === \"stack\") {\n newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;\n }\n }\n\n this.actionsCollapsed = this._actions.slice(newActionsVisible);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.update);\n };\n\n private mediaChangeHandler = () => {\n this.actionsCollapsed = [];\n requestAnimationFrame(this.update);\n };\n\n async componentWillLoad() {\n this.actionsWatcher(this.actions);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"actionset\");\n }\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad() {\n this.update();\n }\n\n render() {\n const classes = {\n \"stzh-actionset\": true,\n // \"stzh-actionset--has-dynamic-actions\": this.dynamicActions,\n \"stzh-actionset--has-collapsed-items\": this.actionsCollapsed.length > 0,\n [`stzh-actionset--${this.variant}`]: !!this.variant,\n };\n\n const Action = (action: StzhActionsetItem, disableTabbing: boolean) => (\n <stzh-button\n a11yTabindex={disableTabbing ? \"-1\" : null}\n class={{\n \"stzh-actionset__action\": true,\n \"is-button\": true,\n }}\n label={action.label}\n icon={action.icon}\n iconPosition={action.iconPosition}\n iconOnly={action.iconOnly}\n badge={action.badge}\n variant={action.variant ? action.variant : this.variant === \"stack\" ? \"secondary\" : \"tertiary\"}\n size={action.size ? action.size : this.variant === \"stack\" ? \"small\" : \"tiny\"}\n badgePosition=\"icon\"\n onClick={e => {\n this.actionClick(action, e);\n }}\n ></stzh-button>\n );\n\n return (\n <Host has-collapsed-items={this.actionsCollapsed.length > 0}>\n <div class={classes}>\n <div class=\"stzh-actionset__actions\" role=\"group\">\n <div ref={el => (this.actionsElement = el as HTMLElement)} class=\"stzh-actionset__actions-wrapper\">\n {this._actions.map(\n action =>\n (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&\n (action.tooltipContent ? (\n <stzh-tooltip strategy=\"fixed\" content={action.tooltipContent}>\n {Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)}\n </stzh-tooltip>\n ) : (\n Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)\n )),\n )}\n </div>\n\n <div class=\"stzh-actionset__action-popover-wrapper\">\n <stzh-popover\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n strategy=\"fixed\"\n placement={this.popoverPlacement}\n class=\"stzh-actionset__action-popover\"\n >\n <stzh-button\n fullwidth\n disabled={this.actionsCollapsed.length === 0}\n class=\"stzh-actionset__action is-further\"\n variant={\n this.popoverButtonVariant !== \"\"\n ? this.popoverButtonVariant\n : this.variant === \"stack\"\n ? \"secondary\"\n : \"tertiary\"\n }\n size={\n this.popoverButtonSize !== \"\" ? this.popoverButtonSize : this.variant === \"stack\" ? \"small\" : \"tiny\"\n }\n icon={this.variant === \"stack\" ? \"angle-down\" : \"more-vertical\"}\n iconOnly={this.variant === \"overflow\" && this.isMedium}\n iconPosition=\"right\"\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n a11yLabel={this.variant === \"overflow\" && this.localization.actions}\n ></stzh-button>\n <stzh-menu slot=\"content\">\n {this.actionsCollapsed.map(action => (\n <stzh-menu-item\n // class=\"hide-medium show-when-collapsed\"\n icon={action.icon}\n badge={action.badge}\n badgeEmpty={action.badgeEmpty}\n badgeType={action.badgeType}\n onClick={e => {\n this.actionClick(action, e);\n }}\n >\n {action.label}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-486bf53e.js","mappings":";;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,g4FAAg4F,CAAC;AAC15F,4BAAe,gBAAgB;;MCgBlB,aAAa;;;;;QAsBhB,aAAQ,GAAwB,EAAE,CAAC;QAyBnC,gBAAW,GAAG,CAAC,MAAyB,EAAE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,eAAe,EAC/D,QAAQ,EAAE,IAAI,CAAC,OAAO,KAAK,UAAU,IAAI,IAAI,CAAC,QAAQ,EACtD,YAAY,EAAC,OAAO,EACpB,KAAK,EACH,IAAI,CAAC,OAAO,KAAK,OAAO;kBACpB,IAAI,CAAC,YAAY,CAAC,cAAc;kBAChC,CAAC,IAAI,CAAC,QAAQ;sBACZ,IAAI,CAAC,YAAY,CAAC,OAAO;sBACzB,EAAE,EAEV,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,GACtD,EACf,kEAAW,IAAI,EAAC,SAAS,IACtB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,KAC/B;;YAEE,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,SAAS,EAAE,MAAM,CAAC,SAAS,EAC3B,OAAO,EAAE,CAAC;gBACR,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;aAC7B;WAEA,MAAM,CAAC,KAAK,CACE,CAClB,CAAC,CACQ,CACC,CACX,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-actionset/stzh-actionset.scss?tag=stzh-actionset&encapsulation=scoped","src/components/stzh-actionset/stzh-actionset.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-actionset {\n &__actions {\n display: flex;\n align-items: center;\n }\n\n &__actions-wrapper {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n }\n\n &__action {\n &:not(:last-child) {\n margin-right: space(\"xsmall\");\n }\n }\n\n &__action-popover-wrapper {\n opacity: 0;\n }\n\n &--has-collapsed-items &__action-popover-wrapper {\n opacity: 1;\n }\n\n &--has-collapsed-items &__action-popover {\n --width: auto;\n }\n\n /* Overflow variant */\n\n &--overflow &__action {\n @include mq($from: medium) {\n --white-space: nowrap;\n }\n }\n\n /* Stack variant */\n\n &--stack &__actions {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__actions-wrapper {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__action {\n @include mq($from: small) {\n --white-space: nowrap;\n }\n\n &:not(:last-child) {\n @include mq($to: small) {\n margin-bottom: space(\"xsmall\");\n margin-right: 0;\n }\n }\n }\n\n &--stack &__action-popover-wrapper {\n @include mq($to: small) {\n margin-top: space(\"xsmall\");\n }\n }\n\n // Hide more action popover on small if it has no collapsed items\n\n &--stack:not(#{&}--has-collapsed-items) &__action-popover-wrapper {\n @include mq($to: small) {\n display: none;\n }\n }\n}\n","import { Component, Host, Prop, h, Element, Watch, Event, EventEmitter, State } from \"@stencil/core\";\n\nimport { StzhActionsetItem, StzhActionsetItemClickEvent } from \"../../index\";\n\nimport { StzhActionsetLocalizedText } from \"./stzh-actionset.localization\";\n\nimport { media, addMediaChangeListener, removeMediaChangeListener } from \"../../utils/media-utils\";\n\nimport { Placement } from \"@floating-ui/dom\";\n\n/**\n */\n@Component({\n tag: \"stzh-actionset\",\n styleUrl: \"stzh-actionset.scss\",\n scoped: true,\n})\nexport class StzhActionset {\n /** Translation strings */\n @Prop() localization: StzhActionsetLocalizedText;\n\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"stack\" | \"overflow\" = \"stack\";\n\n /** Button variant of popover button (button thats holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonVariant: \"\" | \"default\" | \"secondary\" | \"tertiary\" = \"\";\n\n /** Button size of popover button (button that holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonSize: \"\" | \"default\" | \"small\" | \"tiny\" = \"\";\n\n /** Popover placement of button that holds collapsed actions */\n @Prop({ reflect: true }) popoverPlacement: Placement = \"bottom-end\";\n\n /**\n * Card header actions.\n * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:\n * `[{\"id\":\"action-1\", \"icon\": \"alarm-bell\", \"label\": \"Lorem\"}, {\"id\":\"action-2\", \"icon\": \"mail\", \"label\": \"Lorem\"}]`\n */\n @Prop() actions: StzhActionsetItem[] | string = [];\n private _actions: StzhActionsetItem[] = [];\n\n /** Header action click event */\n @Event() stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;\n\n @Element() element: HTMLStzhActionsetElement;\n\n @Watch(\"actions\")\n actionsWatcher(newValue: StzhActionsetItem[] | string) {\n if (typeof newValue === \"string\") {\n this._actions = JSON.parse(newValue);\n } else {\n this._actions = newValue;\n }\n }\n\n @State() actionsCollapsed: StzhActionsetItem[] = [];\n @State() dynamicActions: boolean;\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n\n private actionsElement: HTMLElement;\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private actionClick = (action: StzhActionsetItem, originalEvent: MouseEvent) => {\n this.stzhActionClick.emit({\n component: \"stzh-actionset\",\n action,\n originalEvent,\n });\n };\n\n private update = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n\n if (!this.actionsElement) {\n return;\n }\n\n Object.assign(this.actionsElement.style, {\n width: null,\n height: null,\n });\n\n let newActionsVisible = 0;\n\n if ((this.variant === \"overflow\" && this.isMedium) || (this.variant === \"stack\" && this.isSmall)) {\n this.dynamicActions = true;\n\n let newActionsHeight = 0;\n let newActionsWidth = 0;\n\n // update height and width\n Array.from(this.actionsElement.children).forEach((child: HTMLElement) => {\n // check which item is visible and\n if (child.offsetTop === 0) {\n newActionsVisible++;\n\n const { width, height } = child.getBoundingClientRect();\n\n const style = getComputedStyle(child);\n const marginLeft = parseInt(style.marginLeft);\n const marginRight = parseInt(style.marginRight);\n const marginTop = parseInt(style.marginTop);\n const marginBottom = parseInt(style.marginBottom);\n\n const childWidth = width + marginLeft + marginRight;\n const childHeight = height + marginTop + marginBottom;\n\n if (newActionsHeight < childHeight) {\n newActionsHeight = childHeight;\n }\n\n newActionsWidth = newActionsWidth + childWidth;\n }\n });\n\n Object.assign(this.actionsElement.style, {\n width: `${newActionsWidth}px`,\n height: `${newActionsHeight}px`,\n });\n } else {\n this.dynamicActions = false;\n\n if (this.variant === \"overflow\") {\n newActionsVisible = 0;\n } else if (this.variant === \"stack\") {\n newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;\n }\n }\n\n this.actionsCollapsed = this._actions.slice(newActionsVisible);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.update);\n };\n\n private mediaChangeHandler = () => {\n this.actionsCollapsed = [];\n requestAnimationFrame(this.update);\n };\n\n async componentWillLoad() {\n this.actionsWatcher(this.actions);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"actionset\");\n }\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad() {\n this.update();\n }\n\n render() {\n const classes = {\n \"stzh-actionset\": true,\n // \"stzh-actionset--has-dynamic-actions\": this.dynamicActions,\n \"stzh-actionset--has-collapsed-items\": this.actionsCollapsed.length > 0,\n [`stzh-actionset--${this.variant}`]: !!this.variant,\n };\n\n const Action = (action: StzhActionsetItem, disableTabbing: boolean) => (\n <stzh-button\n a11yTabindex={disableTabbing ? \"-1\" : null}\n class={{\n \"stzh-actionset__action\": true,\n \"is-button\": true,\n }}\n label={action.label}\n icon={action.icon}\n iconPosition={action.iconPosition}\n iconOnly={action.iconOnly}\n badge={action.badge}\n variant={action.variant ? action.variant : this.variant === \"stack\" ? \"secondary\" : \"tertiary\"}\n size={action.size ? action.size : this.variant === \"stack\" ? \"small\" : \"tiny\"}\n badgePosition=\"icon\"\n onClick={e => {\n this.actionClick(action, e);\n }}\n ></stzh-button>\n );\n\n return (\n <Host has-collapsed-items={this.actionsCollapsed.length > 0}>\n <div class={classes}>\n <div class=\"stzh-actionset__actions\" role=\"group\">\n <div ref={el => (this.actionsElement = el as HTMLElement)} class=\"stzh-actionset__actions-wrapper\">\n {this._actions.map(\n action =>\n (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&\n (action.tooltipContent ? (\n <stzh-tooltip strategy=\"fixed\" content={action.tooltipContent}>\n {Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)}\n </stzh-tooltip>\n ) : (\n Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)\n )),\n )}\n </div>\n\n <div class=\"stzh-actionset__action-popover-wrapper\">\n <stzh-popover\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n strategy=\"fixed\"\n placement={this.popoverPlacement}\n class=\"stzh-actionset__action-popover\"\n >\n <stzh-button\n fullwidth\n disabled={this.actionsCollapsed.length === 0}\n class=\"stzh-actionset__action is-further\"\n variant={\n this.popoverButtonVariant !== \"\"\n ? this.popoverButtonVariant\n : this.variant === \"stack\"\n ? \"secondary\"\n : \"tertiary\"\n }\n size={\n this.popoverButtonSize !== \"\" ? this.popoverButtonSize : this.variant === \"stack\" ? \"small\" : \"tiny\"\n }\n icon={this.variant === \"stack\" ? \"angle-down\" : \"more-vertical\"}\n iconOnly={this.variant === \"overflow\" && this.isMedium}\n iconPosition=\"right\"\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n a11yLabel={this.variant === \"overflow\" && this.localization.actions}\n ></stzh-button>\n <stzh-menu slot=\"content\">\n {this.actionsCollapsed.map(action => (\n <stzh-menu-item\n // class=\"hide-medium show-when-collapsed\"\n icon={action.icon}\n badge={action.badge}\n badgeEmpty={action.badgeEmpty}\n badgeType={action.badgeType}\n onClick={e => {\n this.actionClick(action, e);\n }}\n >\n {action.label}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>\n </div>\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-17efbc57.js';
4
- import { d as defineCustomElement$1 } from './p-5a8587ab.js';
3
+ import { d as defineCustomElement$2 } from './p-dd1c0c0c.js';
4
+ import { d as defineCustomElement$1 } from './p-7c4e756c.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: '79df9e7e527e6ad6a131169214c87494269d866a', 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: '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)))));
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-e42121d1.js.map
247
+ //# sourceMappingURL=p-4a78990f.js.map
@@ -1 +1 @@
1
- {"file":"p-e42121d1.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,2tpBAA2tpB,CAAC;AAClvpB,yBAAe,aAAa;;MCuBf,UAAU;;;;;;;;QAsKb,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;YAClC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;gBACnB,SAAS,EAAE,aAAa;gBACxB,aAAa,EAAE,KAAK;gBACpB,KAAK,EAAE,IAA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OAAO,EAAE,IAAI,CAAC,OAAO,GACrB,EACD,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACrB,KAER,cACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,MAAM,GAAG,EAAuB,CAAC,EAClD,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,sBAChB,IAAI,CAAC,eAAe,IAAI,IAAI,mBAC/B,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,mBACxF,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,mBACxF,IAAI,CAAC,YAAY,IAAI,IAAI,kBAC1B,IAAI,CAAC,WAAW,IAAI,IAAI,EACtC,EAAE,EAAE,IAAI,CAAC,QAAQ,EACjB,SAAS,EAAE,IAAI,CAAC,eAAe,EAC/B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,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-button/stzh-button.scss?tag=stzh-button&encapsulation=scoped","src/components/stzh-button/stzh-button.tsx"],"sourcesContent":["/**\n * @prop --height: Height of button\n * @prop --padding-top: Padding top of button\n * @prop --padding-bottom: Padding bottom of button\n * @prop --padding-left: Padding left of button\n * @prop --padding-right: Padding right of button\n * @prop --border-radius: Border radius of button\n * @prop --color: Color of button\n * @prop --background-color: Background color of button\n * @prop --border-color: Border color of button\n * @prop --icon-size: Size of icon next to button\n * @prop --hover-color: Hover color of button\n * @prop --hover-background-color: Hover background color of button\n * @prop --hover-border-color: Hover border color of button\n * @prop --white-space: White space behaviour of button\n *\n * @prop --stzh-form-input-height: **Global**: Height of fields & buttons\n * @prop --stzh-form-input-small-height: **Global**: Height of fields & buttons when small variant is used\n * @prop --stzh-form-input-tiny-height: **Global**: Height of fields & buttons when tiny variant is used\n */\n\n@mixin button--size-default() {\n --height: #{$formInputHeight};\n --padding-top: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n --icon-size: #{iconSize(\"medium\")};\n --icon-toggle-size: 14.5px;\n\n &:where([icon-only]:not([icon-only=\"false\"])) {\n --icon-size: #{iconSize(\"large\")};\n }\n}\n\n@mixin button--size-small() {\n --height: #{$formInputHeightSmall};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n@mixin button--size-tiny() {\n --height: #{$formInputHeightTiny};\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n --padding-top: calc(#{space(\"xxsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xxsmall\")} - var(--border-width));\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n:host {\n @include button--size-default;\n --color: var(--stzh-button-color, #{$colorWhite});\n --background-color: var(--stzh-button-background-color, #{$colorPrimary70});\n --border-width: 0px;\n --border-color: transparent;\n --border-radius: 0px;\n --icon-text-margin: #{space(\"xsmall\")};\n --icon-toggle-color: currentColor;\n --badge-icon-text-margin: calc(var(--icon-text-margin) + #{space(\"xxsmall\")});\n --white-space: var(--stzh-button-white-space, normal);\n --box-shadow: none;\n --cursor: pointer;\n\n --hover-color: var(--stzh-button-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-button-hover-background-color,\n #{$colorSecondary60}\n );\n --hover-border-color: transparent;\n\n display: inline-flex;\n width: auto;\n min-width: var(--height);\n min-height: var(--height);\n pointer-events: var(--stzh-button-pointer-events, auto);\n\n @media print {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n &[icon-only]:not([icon-only=\"false\"]) {\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: 0;\n --padding-right: 0;\n\n width: var(--height);\n height: var(--height);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n flex: 0 0 100%;\n }\n\n &[rounded]:not([rounded=\"false\"]) {\n --border-radius: var(--height);\n }\n\n &[no-padding-left]:not([no-padding-left=\"false\"]) {\n --padding-left: 0px;\n }\n\n &[no-padding-right]:not([no-padding-right=\"false\"]) {\n --padding-right: 0px;\n }\n\n &[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-secondary-background-color,\n #{$colorSecondary30}\n );\n\n --hover-color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n }\n\n &[variant=\"tertiary\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-tertiary-background-color,\n transparent\n );\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n }\n\n &[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: transparent;\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(--background-color);\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-button-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-active-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[active][variant=\"secondary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n }\n\n &[active][variant=\"tertiary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n }\n\n &[active][variant=\"tertiary-plain\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: transparent;\n }\n\n &[disabled]:not([disabled=\"false\"]),\n &[a11y-disabled]:not([a11y-disabled=\"false\"]) {\n --color: var(--stzh-button-disabled-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-disabled-background-color,\n #{$colorGrey70}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"secondary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-secondary-disabled-background-color,\n #{$colorGrey20}\n );\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"input\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"input\"] {\n --color: var(--stzh-button-input-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-input-disabled-background-color,\n #{$colorGrey20}\n );\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary\"],\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary-plain\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-button-tertiary-disabled-background-color,\n transparent\n );\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include button--size-small;\n}\n\n:host(:where([size=\"tiny\"])) {\n @include button--size-tiny;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include button--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include button--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"tiny\"])) {\n @include button--size-tiny;\n }\n }\n}\n\n@keyframes stzh-button-effect-cta {\n 0%,\n 20%,\n 50%,\n 80%,\n 100% {\n transform: translateX(0);\n }\n\n 40% {\n transform: translateX(-8px);\n }\n\n 60% {\n transform: translateX(-4px);\n }\n}\n\n.stzh-button {\n @include font(\"heavy\");\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n position: relative;\n z-index: 0;\n overflow: visible;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n color: var(--color);\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 background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n border-style: solid;\n border-width: var(--border-width);\n border-color: var(--border-color);\n cursor: var(--cursor);\n text-decoration-line: none;\n width: 100%;\n min-height: 100%;\n margin: 0;\n border-radius: var(--border-radius);\n text-align: left;\n box-shadow: var(--box-shadow);\n\n &:hover {\n border-color: var(--hover-border-color);\n background-color: var(--hover-background-color);\n color: var(--hover-color);\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__inner {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n }\n\n &__icon-wrapper,\n &__toggle-icon-wrapper {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n width: auto;\n height: 1em;\n }\n\n &__toggle-icon-wrapper {\n width: var(--icon-size);\n height: var(--icon-size);\n }\n\n &__toggle-icon {\n position: relative;\n display: block;\n width: var(--icon-toggle-size);\n height: var(--icon-toggle-size);\n\n &::before,\n &::after {\n position: absolute;\n top: 50%;\n left: 50%;\n content: \"\";\n display: block;\n width: var(--icon-toggle-size);\n height: 2px;\n transition-property: transform, background-color;\n transition-duration: 500ms;\n transform-origin: top left;\n background-color: var(--icon-toggle-color);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n\n &::before {\n transform: rotate(180deg) translate(-50%, -50%);\n }\n\n &::after {\n transform: rotate(90deg) translate(-50%, -50%);\n }\n }\n\n &__text {\n @include wordWrap;\n white-space: var(--white-space);\n text-align: center;\n }\n\n &--not-hyphenated &__text {\n hyphens: none;\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: var(--icon-text-margin);\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &__input {\n @include visuallyhiddenInput;\n }\n\n &__mark {\n @include radio__mark();\n width: 20px;\n height: 20px;\n margin-right: space(\"xsmall\");\n border-color: currentColor;\n }\n\n &__check {\n @include radio__check();\n }\n\n /* Hover / Focus / Checked / Disabled of Radio Type */\n\n &__input:checked:hover ~ &__inner &__mark &__check,\n &__input:checked:focus ~ &__inner &__mark &__check {\n color: $colorSecondary60;\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__inner &__mark,\n &__input:checked:hover ~ &__inner &__mark,\n &__input:checked:focus ~ &__inner &__mark {\n border-color: $colorSecondary60;\n }\n\n &__input:focus ~ &__inner &__mark,\n &__input:checked ~ &__inner &__mark {\n border-color: $colorPrimary;\n }\n\n &__input:checked ~ &__inner &__mark &__check {\n opacity: 1;\n }\n\n &--is-disabled &__input ~ &__inner &__mark &__check {\n color: $formDisabledColor;\n }\n\n &--is-disabled &__input ~ &__inner &__mark {\n border-color: $formDisabledBorderColor;\n }\n\n &--is-disabled &__mark {\n background-color: $formDisabledBackgroundColor;\n }\n\n /* Is expanded */\n\n &--is-expanded &__toggle-icon {\n &::before,\n &::after {\n transform: rotate(0) translate(-50%, -50%);\n }\n }\n\n /* Badge positioning variants */\n\n &--badge-position-button &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-button &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon &__icon-wrapper {\n position: relative;\n }\n\n &--badge-position-icon#{&}--has-icon &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"small\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__icon-wrapper:not(:empty)\n + &__text:not(:empty),\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__text:not(:empty)\n + &__icon-wrapper:not(:empty) {\n margin-left: var(--badge-icon-text-margin);\n }\n\n /* Variant if button only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Effect */\n\n &--effect-cta:hover &__icon-wrapper {\n animation: stzh-button-effect-cta 1s;\n }\n\n /* Alignment variants */\n\n &--align-left &__inner {\n justify-content: flex-start;\n }\n\n &--align-right &__inner {\n justify-content: flex-end;\n }\n\n &--align-center &__inner {\n justify-content: center;\n }\n\n &--align-space-between &__inner {\n justify-content: space-between;\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n\n /* Default */\n\n &--default.has-focus {\n outline: var(--stzh-flyingfocus-color) solid 3px;\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Listen, Prop } from \"@stencil/core\";\n\nimport {\n StzhBadgeType,\n StzhButtonBlurEvent,\n StzhButtonChangeEvent,\n StzhButtonClickEvent,\n StzhButtonFocusEvent,\n StzhButtonSize,\n StzhButtonVariant,\n StzhLocaleComponent,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for label/text content\n * @slot icon - Slot for icon element\n */\n@Component({\n tag: \"stzh-button\",\n styleUrl: \"stzh-button.scss\",\n scoped: true,\n})\nexport class StzhButton {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Display a badge aligned to button or icons */\n @Prop() badge: string = \"\";\n\n /** Disable hyphenation for text inside button */\n @Prop() noHyphenation: boolean = false;\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"button\" = \"button\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Whether the button is rounded */\n @Prop({ reflect: true }) rounded: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhButtonSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhButtonSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhButtonSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhButtonSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhButtonSize;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: StzhButtonVariant = \"default\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Icon Position */\n @Prop({ reflect: true }) iconPosition: \"left\" | \"right\" = \"left\";\n\n /** Checked status (if type is radio) */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset, if type is radio) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** The name of the input element (if type is button or radio) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element (if type is button or radio) */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** Type of the button */\n @Prop() type: \"button\" | \"submit\" | \"reset\" | \"radio\" = \"button\";\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether to disable the button on click or not */\n @Prop() disableOnClick: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Effect/Animation used */\n @Prop() effect: \"default\" | \"cta\" = \"default\";\n\n /** Whether only an icon is used inside the button */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Whether padding left should be removed */\n @Prop({ reflect: true }) noPaddingLeft: boolean = false;\n\n /** Whether padding right should be removed */\n @Prop({ reflect: true }) noPaddingRight: boolean = false;\n\n /** Access key of button (usually a number e.g. 1) */\n @Prop() buttonAccesskey: string;\n\n /** ID of button element */\n @Prop() buttonId: string;\n\n /** Whether to show toggle icon (show minus when a11yExpanded=true, otherwise plus) */\n @Prop({ reflect: true }) showToggleIcon: boolean = false;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Aria expanded of link/button */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /** Aria disabled of link/button */\n @Prop({ reflect: true, attribute: \"a11y-disabled\" }) a11yDisabled: boolean;\n\n /** Aria controls of link/button */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: string;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: 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: HTMLStzhButtonElement;\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 /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhButtonFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhButtonBlurEvent>;\n\n /** Change event (only called if type is radio) */\n @Event() stzhChange: EventEmitter<StzhButtonChangeEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhButtonClickEvent>;\n\n private button: HTMLButtonElement | HTMLAnchorElement | HTMLLabelElement;\n private input: HTMLInputElement;\n private text: HTMLDivElement;\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 this.stzhChange.emit({\n component: \"stzh-button\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.button.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-button\",\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-button\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n if (this.disabled) {\n event.stopPropagation();\n event.preventDefault();\n } else {\n if (this.disableOnClick) {\n this.disabled = true;\n }\n this.stzhClick.emit({\n component: \"stzh-button\",\n originalEvent: event,\n href: this.href,\n });\n }\n };\n\n private renderIcon(iconUsed: boolean): HTMLInputElement {\n return (\n <div class=\"stzh-button__icon-wrapper\">\n {this.icon && <stzh-icon class=\"stzh-button__icon\" name={this.icon}></stzh-icon>}\n {!this.icon && this.showToggleIcon && (\n <div class=\"stzh-button__toggle-icon-wrapper\">\n <div class=\"stzh-button__toggle-icon\"></div>\n </div>\n )}\n {!this.icon && !this.showToggleIcon && <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && this.badgePosition === \"icon\" && iconUsed && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n );\n }\n\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"stzh-button__text\" ref={el => (this.text = el as HTMLDivElement)}>\n {this.rel && this.rel.includes(\"external\") && (\n <div class=\"stzh-button__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-button__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n {this.label ? this.label : <slot></slot>}\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-button__inner\">\n {this.type === \"radio\" && (\n <div class=\"stzh-button__mark\">\n <div class=\"stzh-button__check\"></div>\n </div>\n )}\n {this.iconPosition === \"left\" && this.renderIcon(iconUsed)}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon(iconUsed)}\n </div>\n {(this.badge || this.badgeEmpty) && (this.badgePosition === \"button\" || !iconUsed) && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentWillLoad() {\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, \"button\");\n }\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.button?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-button\": true,\n \"stzh-button--has-icon\": iconUsed,\n \"stzh-button--has-icon-only\": this.iconOnly,\n \"stzh-button--has-badge\": !!this.badge,\n \"stzh-button--is-rounded\": this.rounded,\n \"stzh-button--is-fullwidth\": this.fullwidth,\n \"stzh-button--is-disabled\": this.disabled || this.a11yDisabled,\n \"stzh-button--is-active\": this.active,\n \"stzh-button--is-expanded\": this.a11yExpanded,\n \"stzh-button--not-hyphenated\": this.noHyphenation,\n [`stzh-button--effect-${this.effect}`]: !!this.effect,\n [`stzh-button--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-button--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-button--type-${this.type}`]: !!this.type,\n [`stzh-button--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.button = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n rel={this.rel}\n download={this.download}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : this.type === \"radio\" ? (\n <label ref={el => (this.button = el as HTMLLabelElement)} class={classes} onClick={this.onClick}>\n <input\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n class=\"stzh-button__input\"\n name={this.name}\n value={this.value}\n defaultChecked={this.defaultChecked}\n checked={this.checked}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n onInput={this.onInput}\n />\n {this.renderInner(iconUsed)}\n </label>\n ) : (\n <button\n ref={el => (this.button = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\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C,EAAE,EAAE,IAAI,CAAC,QAAQ,EACjB,SAAS,EAAE,IAAI,CAAC,eAAe,EAC/B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,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-button/stzh-button.scss?tag=stzh-button&encapsulation=scoped","src/components/stzh-button/stzh-button.tsx"],"sourcesContent":["/**\n * @prop --height: Height of button\n * @prop --padding-top: Padding top of button\n * @prop --padding-bottom: Padding bottom of button\n * @prop --padding-left: Padding left of button\n * @prop --padding-right: Padding right of button\n * @prop --border-radius: Border radius of button\n * @prop --color: Color of button\n * @prop --background-color: Background color of button\n * @prop --border-color: Border color of button\n * @prop --icon-size: Size of icon next to button\n * @prop --hover-color: Hover color of button\n * @prop --hover-background-color: Hover background color of button\n * @prop --hover-border-color: Hover border color of button\n * @prop --white-space: White space behaviour of button\n *\n * @prop --stzh-form-input-height: **Global**: Height of fields & buttons\n * @prop --stzh-form-input-small-height: **Global**: Height of fields & buttons when small variant is used\n * @prop --stzh-form-input-tiny-height: **Global**: Height of fields & buttons when tiny variant is used\n */\n\n@mixin button--size-default() {\n --height: #{$formInputHeight};\n --padding-top: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n --icon-size: #{iconSize(\"medium\")};\n --icon-toggle-size: 14.5px;\n\n &:where([icon-only]:not([icon-only=\"false\"])) {\n --icon-size: #{iconSize(\"large\")};\n }\n}\n\n@mixin button--size-small() {\n --height: #{$formInputHeightSmall};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n@mixin button--size-tiny() {\n --height: #{$formInputHeightTiny};\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n --padding-top: calc(#{space(\"xxsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xxsmall\")} - var(--border-width));\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n:host {\n @include button--size-default;\n --color: var(--stzh-button-color, #{$colorWhite});\n --background-color: var(--stzh-button-background-color, #{$colorPrimary70});\n --border-width: 0px;\n --border-color: transparent;\n --border-radius: 0px;\n --icon-text-margin: #{space(\"xsmall\")};\n --icon-toggle-color: currentColor;\n --badge-icon-text-margin: calc(var(--icon-text-margin) + #{space(\"xxsmall\")});\n --white-space: var(--stzh-button-white-space, normal);\n --box-shadow: none;\n --cursor: pointer;\n\n --hover-color: var(--stzh-button-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-button-hover-background-color,\n #{$colorSecondary60}\n );\n --hover-border-color: transparent;\n\n display: inline-flex;\n width: auto;\n min-width: var(--height);\n min-height: var(--height);\n pointer-events: var(--stzh-button-pointer-events, auto);\n\n @media print {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n &[icon-only]:not([icon-only=\"false\"]) {\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: 0;\n --padding-right: 0;\n\n width: var(--height);\n height: var(--height);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n flex: 0 0 100%;\n }\n\n &[rounded]:not([rounded=\"false\"]) {\n --border-radius: var(--height);\n }\n\n &[no-padding-left]:not([no-padding-left=\"false\"]) {\n --padding-left: 0px;\n }\n\n &[no-padding-right]:not([no-padding-right=\"false\"]) {\n --padding-right: 0px;\n }\n\n &[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-secondary-background-color,\n #{$colorSecondary30}\n );\n\n --hover-color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n }\n\n &[variant=\"tertiary\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-tertiary-background-color,\n transparent\n );\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n }\n\n &[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: transparent;\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(--background-color);\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-button-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-active-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[active][variant=\"secondary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n }\n\n &[active][variant=\"tertiary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n }\n\n &[active][variant=\"tertiary-plain\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: transparent;\n }\n\n &[disabled]:not([disabled=\"false\"]),\n &[a11y-disabled]:not([a11y-disabled=\"false\"]) {\n --color: var(--stzh-button-disabled-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-disabled-background-color,\n #{$colorGrey70}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"secondary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-secondary-disabled-background-color,\n #{$colorGrey20}\n );\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"input\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"input\"] {\n --color: var(--stzh-button-input-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-input-disabled-background-color,\n #{$colorGrey20}\n );\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary\"],\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary-plain\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-button-tertiary-disabled-background-color,\n transparent\n );\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include button--size-small;\n}\n\n:host(:where([size=\"tiny\"])) {\n @include button--size-tiny;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include button--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include button--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"tiny\"])) {\n @include button--size-tiny;\n }\n }\n}\n\n@keyframes stzh-button-effect-cta {\n 0%,\n 20%,\n 50%,\n 80%,\n 100% {\n transform: translateX(0);\n }\n\n 40% {\n transform: translateX(-8px);\n }\n\n 60% {\n transform: translateX(-4px);\n }\n}\n\n.stzh-button {\n @include font(\"heavy\");\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n position: relative;\n z-index: 0;\n overflow: visible;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n color: var(--color);\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 background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n border-style: solid;\n border-width: var(--border-width);\n border-color: var(--border-color);\n cursor: var(--cursor);\n text-decoration-line: none;\n width: 100%;\n min-height: 100%;\n margin: 0;\n border-radius: var(--border-radius);\n text-align: left;\n box-shadow: var(--box-shadow);\n\n &:hover {\n border-color: var(--hover-border-color);\n background-color: var(--hover-background-color);\n color: var(--hover-color);\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__inner {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n }\n\n &__icon-wrapper,\n &__toggle-icon-wrapper {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n width: auto;\n height: 1em;\n }\n\n &__toggle-icon-wrapper {\n width: var(--icon-size);\n height: var(--icon-size);\n }\n\n &__toggle-icon {\n position: relative;\n display: block;\n width: var(--icon-toggle-size);\n height: var(--icon-toggle-size);\n\n &::before,\n &::after {\n position: absolute;\n top: 50%;\n left: 50%;\n content: \"\";\n display: block;\n width: var(--icon-toggle-size);\n height: 2px;\n transition-property: transform, background-color;\n transition-duration: 500ms;\n transform-origin: top left;\n background-color: var(--icon-toggle-color);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n\n &::before {\n transform: rotate(180deg) translate(-50%, -50%);\n }\n\n &::after {\n transform: rotate(90deg) translate(-50%, -50%);\n }\n }\n\n &__text {\n @include wordWrap;\n white-space: var(--white-space);\n text-align: center;\n }\n\n &--not-hyphenated &__text {\n hyphens: none;\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: var(--icon-text-margin);\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &__input {\n @include visuallyhiddenInput;\n }\n\n &__mark {\n @include radio__mark();\n width: 20px;\n height: 20px;\n margin-right: space(\"xsmall\");\n border-color: currentColor;\n }\n\n &__check {\n @include radio__check();\n }\n\n /* Hover / Focus / Checked / Disabled of Radio Type */\n\n &__input:checked:hover ~ &__inner &__mark &__check,\n &__input:checked:focus ~ &__inner &__mark &__check {\n color: $colorSecondary60;\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__inner &__mark,\n &__input:checked:hover ~ &__inner &__mark,\n &__input:checked:focus ~ &__inner &__mark {\n border-color: $colorSecondary60;\n }\n\n &__input:focus ~ &__inner &__mark,\n &__input:checked ~ &__inner &__mark {\n border-color: $colorPrimary;\n }\n\n &__input:checked ~ &__inner &__mark &__check {\n opacity: 1;\n }\n\n &--is-disabled &__input ~ &__inner &__mark &__check {\n color: $formDisabledColor;\n }\n\n &--is-disabled &__input ~ &__inner &__mark {\n border-color: $formDisabledBorderColor;\n }\n\n &--is-disabled &__mark {\n background-color: $formDisabledBackgroundColor;\n }\n\n /* Is expanded */\n\n &--is-expanded &__toggle-icon {\n &::before,\n &::after {\n transform: rotate(0) translate(-50%, -50%);\n }\n }\n\n /* Badge positioning variants */\n\n &--badge-position-button &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-button &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon &__icon-wrapper {\n position: relative;\n }\n\n &--badge-position-icon#{&}--has-icon &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"small\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__icon-wrapper:not(:empty)\n + &__text:not(:empty),\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__text:not(:empty)\n + &__icon-wrapper:not(:empty) {\n margin-left: var(--badge-icon-text-margin);\n }\n\n /* Variant if button only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Effect */\n\n &--effect-cta:hover &__icon-wrapper {\n animation: stzh-button-effect-cta 1s;\n }\n\n /* Alignment variants */\n\n &--align-left &__inner {\n justify-content: flex-start;\n }\n\n &--align-right &__inner {\n justify-content: flex-end;\n }\n\n &--align-center &__inner {\n justify-content: center;\n }\n\n &--align-space-between &__inner {\n justify-content: space-between;\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n\n /* Default */\n\n &--default.has-focus {\n outline: var(--stzh-flyingfocus-color) solid 3px;\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Listen, Prop } from \"@stencil/core\";\n\nimport {\n StzhBadgeType,\n StzhButtonBlurEvent,\n StzhButtonChangeEvent,\n StzhButtonClickEvent,\n StzhButtonFocusEvent,\n StzhButtonSize,\n StzhButtonVariant,\n StzhLocaleComponent,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for label/text content\n * @slot icon - Slot for icon element\n */\n@Component({\n tag: \"stzh-button\",\n styleUrl: \"stzh-button.scss\",\n scoped: true,\n})\nexport class StzhButton {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Display a badge aligned to button or icons */\n @Prop() badge: string = \"\";\n\n /** Disable hyphenation for text inside button */\n @Prop() noHyphenation: boolean = false;\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"button\" = \"button\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Whether the button is rounded */\n @Prop({ reflect: true }) rounded: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhButtonSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhButtonSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhButtonSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhButtonSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhButtonSize;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: StzhButtonVariant = \"default\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Icon Position */\n @Prop({ reflect: true }) iconPosition: \"left\" | \"right\" = \"left\";\n\n /** Checked status (if type is radio) */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset, if type is radio) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** The name of the input element (if type is button or radio) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element (if type is button or radio) */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** Type of the button */\n @Prop() type: \"button\" | \"submit\" | \"reset\" | \"radio\" = \"button\";\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether to disable the button on click or not */\n @Prop() disableOnClick: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Effect/Animation used */\n @Prop() effect: \"default\" | \"cta\" = \"default\";\n\n /** Whether only an icon is used inside the button */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Whether padding left should be removed */\n @Prop({ reflect: true }) noPaddingLeft: boolean = false;\n\n /** Whether padding right should be removed */\n @Prop({ reflect: true }) noPaddingRight: boolean = false;\n\n /** Access key of button (usually a number e.g. 1) */\n @Prop() buttonAccesskey: string;\n\n /** ID of button element */\n @Prop() buttonId: string;\n\n /** Whether to show toggle icon (show minus when a11yExpanded=true, otherwise plus) */\n @Prop({ reflect: true }) showToggleIcon: boolean = false;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Aria expanded of link/button */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /** Aria disabled of link/button */\n @Prop({ reflect: true, attribute: \"a11y-disabled\" }) a11yDisabled: boolean;\n\n /** Aria controls of link/button */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: string;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: 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: HTMLStzhButtonElement;\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 /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhButtonFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhButtonBlurEvent>;\n\n /** Change event (only called if type is radio) */\n @Event() stzhChange: EventEmitter<StzhButtonChangeEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhButtonClickEvent>;\n\n private button: HTMLButtonElement | HTMLAnchorElement | HTMLLabelElement;\n private input: HTMLInputElement;\n private text: HTMLDivElement;\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 this.stzhChange.emit({\n component: \"stzh-button\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.button.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-button\",\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-button\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n if (this.disabled) {\n event.stopPropagation();\n event.preventDefault();\n } else {\n if (this.disableOnClick) {\n this.disabled = true;\n }\n this.stzhClick.emit({\n component: \"stzh-button\",\n originalEvent: event,\n href: this.href,\n });\n }\n };\n\n private renderIcon(iconUsed: boolean): HTMLInputElement {\n return (\n <div class=\"stzh-button__icon-wrapper\">\n {this.icon && <stzh-icon class=\"stzh-button__icon\" name={this.icon}></stzh-icon>}\n {!this.icon && this.showToggleIcon && (\n <div class=\"stzh-button__toggle-icon-wrapper\">\n <div class=\"stzh-button__toggle-icon\"></div>\n </div>\n )}\n {!this.icon && !this.showToggleIcon && <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && this.badgePosition === \"icon\" && iconUsed && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n );\n }\n\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"stzh-button__text\" ref={el => (this.text = el as HTMLDivElement)}>\n {this.rel && this.rel.includes(\"external\") && (\n <div class=\"stzh-button__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-button__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n {this.label ? this.label : <slot></slot>}\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-button__inner\">\n {this.type === \"radio\" && (\n <div class=\"stzh-button__mark\">\n <div class=\"stzh-button__check\"></div>\n </div>\n )}\n {this.iconPosition === \"left\" && this.renderIcon(iconUsed)}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon(iconUsed)}\n </div>\n {(this.badge || this.badgeEmpty) && (this.badgePosition === \"button\" || !iconUsed) && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentWillLoad() {\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, \"button\");\n }\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.button?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-button\": true,\n \"stzh-button--has-icon\": iconUsed,\n \"stzh-button--has-icon-only\": this.iconOnly,\n \"stzh-button--has-badge\": !!this.badge,\n \"stzh-button--is-rounded\": this.rounded,\n \"stzh-button--is-fullwidth\": this.fullwidth,\n \"stzh-button--is-disabled\": this.disabled || this.a11yDisabled,\n \"stzh-button--is-active\": this.active,\n \"stzh-button--is-expanded\": this.a11yExpanded,\n \"stzh-button--not-hyphenated\": this.noHyphenation,\n [`stzh-button--effect-${this.effect}`]: !!this.effect,\n [`stzh-button--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-button--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-button--type-${this.type}`]: !!this.type,\n [`stzh-button--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.button = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n rel={this.rel}\n download={this.download}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : this.type === \"radio\" ? (\n <label ref={el => (this.button = el as HTMLLabelElement)} class={classes} onClick={this.onClick}>\n <input\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n class=\"stzh-button__input\"\n name={this.name}\n value={this.value}\n defaultChecked={this.defaultChecked}\n checked={this.checked}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n onInput={this.onInput}\n />\n {this.renderInner(iconUsed)}\n </label>\n ) : (\n <button\n ref={el => (this.button = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\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,12 +1,12 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, 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$7 } from './p-17efbc57.js';
4
- import { d as defineCustomElement$6 } from './p-e42121d1.js';
5
- import { d as defineCustomElement$5 } from './p-7889ebb0.js';
6
- import { d as defineCustomElement$4 } from './p-5a8587ab.js';
7
- import { d as defineCustomElement$3 } from './p-f70f31d6.js';
8
- import { d as defineCustomElement$2 } from './p-9a31aa56.js';
9
- import { d as defineCustomElement$1 } from './p-1449a24c.js';
3
+ import { d as defineCustomElement$7 } from './p-dd1c0c0c.js';
4
+ import { d as defineCustomElement$6 } from './p-4a78990f.js';
5
+ import { d as defineCustomElement$5 } from './p-fdc914f5.js';
6
+ import { d as defineCustomElement$4 } from './p-7c4e756c.js';
7
+ import { d as defineCustomElement$3 } from './p-72101ea0.js';
8
+ import { d as defineCustomElement$2 } from './p-63c4d8c4.js';
9
+ import { d as defineCustomElement$1 } from './p-613937f1.js';
10
10
 
11
11
  const stzhDatalistCss = ".sc-stzh-datalist-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-datalist-h,[stzh-hidden].sc-stzh-datalist-h{display:none}.sc-stzh-datalist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datalist-h *.sc-stzh-datalist,.sc-stzh-datalist-h *.sc-stzh-datalist::before,.sc-stzh-datalist-h *.sc-stzh-datalist::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-datalist-h .has-focus.sc-stzh-datalist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datalist-h .stzh-fylingfocus-focused.sc-stzh-datalist{outline-style:none !important}.sc-stzh-datalist-h .stzh-fylingfocus-focused.sc-stzh-datalist::-moz-focus-inner{border:0 !important}.sc-stzh-datalist-h{--columns:1;--columns-gap:var(--stzh-grid-gutter);--list-display:grid;--list-margin-right:calc(var(--columns-gap) / -1);--list-grid-template-columns:repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto var(--columns-gap)\n );--full-grid-column:1 / 5;--nested-margin-left:var(--stzh-datalist-nested-margin-left, 0px);--details-content-width:var(--stzh-datalist-details-content-width, 100%);--grid-template-areas:var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n );--grid-template-columns:var(\n --stzh-datalist-grid-template-columns,\n repeat(4, minmax(0, 1fr))\n );margin-left:var(--nested-margin-left)}@media screen and (min-width: 600px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-small);--grid-template-areas:var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n )}}@media screen and (min-width: 900px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-medium);--grid-template-areas:var(\n --stzh-datalist-grid-template-areas,\n \"list list list list list list list list\"\n );--grid-template-columns:var(\n --stzh-datalist-grid-template-columns,\n repeat(8, minmax(0, 1fr))\n )}}@media screen and (min-width: 1260px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-ultra)}}.sc-stzh-datalist-h.sc-stzh-datalist-s>.layout_column>*:not([class*=cq-]),.sc-stzh-datalist-h .sc-stzh-datalist-s>.layout_column>*:not([class*=cq-]),.sc-stzh-datalist-h.sc-stzh-datalist-s>*:not([class*=cq-]),.sc-stzh-datalist-h .sc-stzh-datalist-s>*:not([class*=cq-]){display:contents}[is-direction=horizontal].sc-stzh-datalist-h{--list-grid-template-columns:repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );--full-grid-column:1 / 6}[is-direction=horizontal].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([meta=\"\"]))),[is-direction=horizontal].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([status-label=\"\"]))){--list-grid-template-columns:repeat(\n var(--columns),\n auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n )}[variant=table].sc-stzh-datalist-h{--list-grid-template-columns:repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );--full-grid-column:1 / 7}[variant=table].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([meta=\"\"]))),[variant=table].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([status-label=\"\"]))){--list-grid-template-columns:repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n )}[vertical-gap=small].sc-stzh-datalist-h .stzh-datalist__list.sc-stzh-datalist{grid-template-rows:auto}@media screen and (max-width: 899px){[vertical-gap=small].sc-stzh-datalist-h .stzh-datalist__list.sc-stzh-datalist{row-gap:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px){[vertical-gap=small].sc-stzh-datalist-h .stzh-datalist__list.sc-stzh-datalist{row-gap:var(--stzh-space-xxsmall)}}.sc-stzh-datalist-h:has([class*=cq-]){--stzh-datalist-item-wrapper-display:flex;--list-display:block;--list-margin-right:0}.stzh-datalist.sc-stzh-datalist{--stzh-datalist-nested-margin-left:var(--stzh-space-large);--stzh-details-content-grid-column:var(--full-grid-column);--stzh-details-content-padding-right:var(--columns-gap);--stzh-details-content-width:var(--details-content-width);column-gap:var(--stzh-grid-gutter);display:grid;grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns)}@media screen and (min-width: 600px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-datalist__wrapper.sc-stzh-datalist{grid-area:list;overflow:visible}.stzh-datalist__list.sc-stzh-datalist{display:var(--list-display);border-collapse:collapse;grid-template-columns:var(--list-grid-template-columns);align-items:stretch;margin-right:var(--list-margin-right)}.stzh-datalist--has-multiple-columns.sc-stzh-datalist{--stzh-datalist-item-nested-display:none}@media screen and (max-width: 599px){.stzh-datalist--table.stzh-datalist--big-label.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{--list-display:flex;flex-direction:column;gap:var(--stzh-space-xxxsmall)}}";
12
12
  const StzhDatalistStyle0 = stzhDatalistCss;
@@ -130,9 +130,9 @@ const StzhDatalist = /*@__PURE__*/ proxyCustomElement(class StzhDatalist extends
130
130
  [`stzh-datalist--${this.variant}`]: !!this.variant,
131
131
  [`stzh-datalist--vertical-gap-${this.verticalGap}`]: !!this.verticalGap,
132
132
  };
133
- return (h(Host, { key: 'd768800802edb0be7dd7a8fc62dcb5ff7aabc5f1', "is-direction": this.currentDirection, "vertical-gap": this.verticalGap, style: {
133
+ return (h(Host, { key: '4bf3e479ebc2475f3b3a8cc2d6148e55045c4e90', "is-direction": this.currentDirection, "vertical-gap": this.verticalGap, style: {
134
134
  "--columns": this.currentColumns ? this.currentColumns.toString() : null,
135
- } }, h("div", { key: '0f4062b23b58c31f13a409a85d173c7c2564355f', class: classes }, h("div", { key: '30393662fdf0298526eeb9ccb8f01a657fa9b601', class: "stzh-datalist__wrapper" }, h("div", { key: 'e30e6ea7f985ed0a3325296c3bbb00c16fcd4702', class: "stzh-datalist__list", role: "list" }, this._items.map(item => (h("stzh-datalist-item", Object.assign({}, item, { hasNested: !!item.items }), item.items && item.items.length > 0 && h("stzh-datalist", { items: item.items })))), h("slot", { key: '78f77987b95ecfa8fb555779ec39f57dbde8a64c' }))))));
135
+ } }, h("div", { key: '24f8ef03a70d3e51a97d99e2ba1a1f527e75a6a1', class: classes }, h("div", { key: 'c10441156bdf62397277ead9517696476ea45d80', class: "stzh-datalist__wrapper" }, h("div", { key: 'd73f0d6f0ab7e23bdef75e10108d315482964164', class: "stzh-datalist__list", role: "list" }, this._items.map(item => (h("stzh-datalist-item", Object.assign({}, item, { hasNested: !!item.items }), item.items && item.items.length > 0 && h("stzh-datalist", { items: item.items })))), h("slot", { key: 'f1d18daff813b2cec89912ca36c213fc49afe91c' }))))));
136
136
  }
137
137
  get element() { return this; }
138
138
  static get watchers() { return {
@@ -242,4 +242,4 @@ function defineCustomElement() {
242
242
 
243
243
  export { StzhDatalist as S, defineCustomElement as d };
244
244
 
245
- //# sourceMappingURL=p-7f251b60.js.map
245
+ //# sourceMappingURL=p-506a00fc.js.map