@oiz/stzh-components 4.13.0-beta2 → 4.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (876) hide show
  1. package/dist/cjs/{index-C2NolCUV.js → index-C_TLdBpH.js} +3 -3
  2. package/dist/cjs/{index-C2NolCUV.js.map → index-C_TLdBpH.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-navigation.cjs.entry.js +3 -3
  20. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -5
  21. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-components.cjs.js +1 -1
  32. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  47. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +141 -48
  57. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-header_3.cjs.entry.js +2 -2
  59. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  67. package/dist/cjs/{stzh-input-description-Cg6hcgtH.js → stzh-input-description-DyEt2kgK.js} +3 -3
  68. package/dist/cjs/{stzh-input-description-Cg6hcgtH.js.map → stzh-input-description-DyEt2kgK.js.map} +1 -1
  69. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-search.cjs.entry.js +3 -4
  106. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  128. package/dist/cjs/stzh-upload.cjs.entry.js +10 -13
  129. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  137. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  138. package/dist/cjs/utils-CdKceirv.js.map +1 -1
  139. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.css +4 -1
  140. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +179 -46
  141. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  142. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -3
  143. package/dist/collection/components/CMS/stzh-search/stzh-search.js.map +1 -1
  144. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +4 -0
  145. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  146. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
  147. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -4
  148. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -1
  149. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.stories.js +2 -1
  150. package/dist/collection/components/stzh-header/stzh-header.css +1 -0
  151. package/dist/collection/components/stzh-upload/stzh-upload.js +10 -13
  152. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  153. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +5 -5
  154. package/dist/collection/index.js.map +1 -1
  155. package/dist/collection/utils/utils.js.map +1 -1
  156. package/dist/components/index.js +2 -2
  157. package/dist/components/{p-Z-Jqp34a.js → p-2zoJg-p3.js} +3 -3
  158. package/dist/components/{p-Z-Jqp34a.js.map → p-2zoJg-p3.js.map} +1 -1
  159. package/dist/components/{p-DEPpXTKe.js → p-3vRDG1kG.js} +6 -6
  160. package/dist/components/{p-DEPpXTKe.js.map → p-3vRDG1kG.js.map} +1 -1
  161. package/dist/components/{p-CQxbVj7f.js → p-ANAbTBvv.js} +4 -4
  162. package/dist/components/{p-CQxbVj7f.js.map → p-ANAbTBvv.js.map} +1 -1
  163. package/dist/components/{p-ugjxp2cX.js → p-B1bpRji0.js} +7 -7
  164. package/dist/components/{p-ugjxp2cX.js.map → p-B1bpRji0.js.map} +1 -1
  165. package/dist/components/{p-CJHyHIqZ.js → p-BFvfQqwV.js} +4 -4
  166. package/dist/components/{p-CJHyHIqZ.js.map → p-BFvfQqwV.js.map} +1 -1
  167. package/dist/components/{p-CpOGdrbL.js → p-BIaHkub8.js} +12 -12
  168. package/dist/components/{p-CpOGdrbL.js.map → p-BIaHkub8.js.map} +1 -1
  169. package/dist/components/{p-cy07BSqU.js → p-BJZwsXr4.js} +4 -4
  170. package/dist/components/{p-cy07BSqU.js.map → p-BJZwsXr4.js.map} +1 -1
  171. package/dist/components/{p-Dux-ObXr.js → p-BL7NQ4Wt.js} +8 -8
  172. package/dist/components/{p-Dux-ObXr.js.map → p-BL7NQ4Wt.js.map} +1 -1
  173. package/dist/components/{p-DOYdpl1Q.js → p-BLo-sQFo.js} +7 -7
  174. package/dist/components/{p-DOYdpl1Q.js.map → p-BLo-sQFo.js.map} +1 -1
  175. package/dist/components/{p-ui-6TPA5.js → p-BMY0OZYH.js} +3 -3
  176. package/dist/components/{p-ui-6TPA5.js.map → p-BMY0OZYH.js.map} +1 -1
  177. package/dist/components/{p-CWotAi0D.js → p-BWWR7g-q.js} +8 -8
  178. package/dist/components/{p-CWotAi0D.js.map → p-BWWR7g-q.js.map} +1 -1
  179. package/dist/components/{p-BFYM0d9U.js → p-BYV94voK.js} +10 -10
  180. package/dist/components/{p-BFYM0d9U.js.map → p-BYV94voK.js.map} +1 -1
  181. package/dist/components/{p-v5danKU8.js → p-BaQRAFeH.js} +3 -3
  182. package/dist/components/{p-v5danKU8.js.map → p-BaQRAFeH.js.map} +1 -1
  183. package/dist/components/{p-Ckr8PPUF.js → p-Bdugfjv9.js} +3 -3
  184. package/dist/components/{p-Ckr8PPUF.js.map → p-Bdugfjv9.js.map} +1 -1
  185. package/dist/components/{p-CSvDDg8y.js → p-BmPPlJXz.js} +7 -7
  186. package/dist/components/{p-CSvDDg8y.js.map → p-BmPPlJXz.js.map} +1 -1
  187. package/dist/components/{p-DGA4Wbkr.js → p-BpON_oEB.js} +4 -4
  188. package/dist/components/{p-DGA4Wbkr.js.map → p-BpON_oEB.js.map} +1 -1
  189. package/dist/components/{p-BYd7Ux_3.js → p-Bt50TX2f.js} +3 -3
  190. package/dist/components/{p-BYd7Ux_3.js.map → p-Bt50TX2f.js.map} +1 -1
  191. package/dist/components/{p-ClSK_zhJ.js → p-BuDWT42k.js} +9 -9
  192. package/dist/components/{p-ClSK_zhJ.js.map → p-BuDWT42k.js.map} +1 -1
  193. package/dist/components/{p-Cx8-DmKZ.js → p-BuHcaeKS.js} +3 -3
  194. package/dist/components/{p-Cx8-DmKZ.js.map → p-BuHcaeKS.js.map} +1 -1
  195. package/dist/components/{p-U9-oC6Mf.js → p-BvV59h_6.js} +5 -5
  196. package/dist/components/{p-U9-oC6Mf.js.map → p-BvV59h_6.js.map} +1 -1
  197. package/dist/components/{p-XxEa8k1C.js → p-C-FXBCzT.js} +3 -3
  198. package/dist/components/{p-XxEa8k1C.js.map → p-C-FXBCzT.js.map} +1 -1
  199. package/dist/components/{p-kwBmMJ76.js → p-C1U0z0e7.js} +3 -3
  200. package/dist/components/{p-kwBmMJ76.js.map → p-C1U0z0e7.js.map} +1 -1
  201. package/dist/components/{p-DztW1SL5.js → p-C32EvZGw.js} +3 -3
  202. package/dist/components/{p-DztW1SL5.js.map → p-C32EvZGw.js.map} +1 -1
  203. package/dist/components/{p-4LLNW_Sp.js → p-C32XvIgd.js} +11 -11
  204. package/dist/components/{p-4LLNW_Sp.js.map → p-C32XvIgd.js.map} +1 -1
  205. package/dist/components/{p-Bqs0ypNa.js → p-C4ug0GfL.js} +9 -9
  206. package/dist/components/{p-Bqs0ypNa.js.map → p-C4ug0GfL.js.map} +1 -1
  207. package/dist/components/{p-B2fPjAf_.js → p-C7BDblTx.js} +5 -5
  208. package/dist/components/{p-B2fPjAf_.js.map → p-C7BDblTx.js.map} +1 -1
  209. package/dist/components/{p-DlTXAowj.js → p-C8jnkCGM.js} +5 -5
  210. package/dist/components/{p-DlTXAowj.js.map → p-C8jnkCGM.js.map} +1 -1
  211. package/dist/components/{p-B3JZYmt1.js → p-CCOQ6qgQ.js} +3 -3
  212. package/dist/components/{p-B3JZYmt1.js.map → p-CCOQ6qgQ.js.map} +1 -1
  213. package/dist/components/{p-CpKjrb_A.js → p-CMftdbTV.js} +6 -6
  214. package/dist/components/{p-CpKjrb_A.js.map → p-CMftdbTV.js.map} +1 -1
  215. package/dist/components/{p-DVhyRqBV.js → p-CNa8Iilq.js} +12 -12
  216. package/dist/components/p-CNa8Iilq.js.map +1 -0
  217. package/dist/components/{p-BCp-ZKc2.js → p-CZLauz36.js} +3 -3
  218. package/dist/components/{p-BCp-ZKc2.js.map → p-CZLauz36.js.map} +1 -1
  219. package/dist/components/{p-D9laE83Y.js → p-CmKF84b9.js} +3 -3
  220. package/dist/components/{p-D9laE83Y.js.map → p-CmKF84b9.js.map} +1 -1
  221. package/dist/components/{p-ClDAVBRJ.js → p-CokSxwg4.js} +3 -3
  222. package/dist/components/{p-ClDAVBRJ.js.map → p-CokSxwg4.js.map} +1 -1
  223. package/dist/components/{p-BDSDx_II.js → p-CpKHaF5R.js} +4 -4
  224. package/dist/components/{p-BDSDx_II.js.map → p-CpKHaF5R.js.map} +1 -1
  225. package/dist/components/{p-DSXTn_9y.js → p-CuGNlsAf.js} +3 -3
  226. package/dist/components/{p-DSXTn_9y.js.map → p-CuGNlsAf.js.map} +1 -1
  227. package/dist/components/{p-Dlsh0TmW.js → p-CvaREbqQ.js} +3 -3
  228. package/dist/components/{p-Dlsh0TmW.js.map → p-CvaREbqQ.js.map} +1 -1
  229. package/dist/components/{p-XwB7D2_o.js → p-D0sPQTAC.js} +5 -5
  230. package/dist/components/{p-XwB7D2_o.js.map → p-D0sPQTAC.js.map} +1 -1
  231. package/dist/components/{p-RUuCBZnE.js → p-D1u4OrAq.js} +11 -11
  232. package/dist/components/{p-RUuCBZnE.js.map → p-D1u4OrAq.js.map} +1 -1
  233. package/dist/components/{p-CDAjRg5y.js → p-D4_fDMz3.js} +3 -3
  234. package/dist/components/{p-CDAjRg5y.js.map → p-D4_fDMz3.js.map} +1 -1
  235. package/dist/components/{p--kTA8A3t.js → p-D7fY08-O.js} +3 -3
  236. package/dist/components/{p--kTA8A3t.js.map → p-D7fY08-O.js.map} +1 -1
  237. package/dist/components/{p-B4t4nDXO.js → p-DBcnovVn.js} +3 -3
  238. package/dist/components/{p-B4t4nDXO.js.map → p-DBcnovVn.js.map} +1 -1
  239. package/dist/components/{p-Cgv50ptD.js → p-DCZZ334-.js} +3 -3
  240. package/dist/components/{p-Cgv50ptD.js.map → p-DCZZ334-.js.map} +1 -1
  241. package/dist/components/{p-1M-KfXKI.js → p-DD1Dj29b.js} +10 -10
  242. package/dist/components/{p-1M-KfXKI.js.map → p-DD1Dj29b.js.map} +1 -1
  243. package/dist/components/{p-BjSC2u-6.js → p-DGzfPovV.js} +12 -12
  244. package/dist/components/{p-BjSC2u-6.js.map → p-DGzfPovV.js.map} +1 -1
  245. package/dist/components/{p-D3KrekDF.js → p-DIVs83nG.js} +4 -4
  246. package/dist/components/{p-D3KrekDF.js.map → p-DIVs83nG.js.map} +1 -1
  247. package/dist/components/{p-BwN_bjZw.js → p-DIwMTsdI.js} +7 -7
  248. package/dist/components/{p-BwN_bjZw.js.map → p-DIwMTsdI.js.map} +1 -1
  249. package/dist/components/{p-BSNY3NLD.js → p-DOX7Sb67.js} +3 -3
  250. package/dist/components/{p-BSNY3NLD.js.map → p-DOX7Sb67.js.map} +1 -1
  251. package/dist/components/{p-CfR3hrmj.js → p-DPhtvGYL.js} +3 -3
  252. package/dist/components/{p-CfR3hrmj.js.map → p-DPhtvGYL.js.map} +1 -1
  253. package/dist/components/{p-DS7dnwKT.js → p-DSZQskyr.js} +7 -7
  254. package/dist/components/{p-DS7dnwKT.js.map → p-DSZQskyr.js.map} +1 -1
  255. package/dist/components/p-Dk-EHN3E.js.map +1 -1
  256. package/dist/components/{p-CdBgMdny.js → p-DktieKZA.js} +3 -3
  257. package/dist/components/{p-CdBgMdny.js.map → p-DktieKZA.js.map} +1 -1
  258. package/dist/components/{p-CiYdGxRQ.js → p-DpaVUmTK.js} +6 -6
  259. package/dist/components/{p-CiYdGxRQ.js.map → p-DpaVUmTK.js.map} +1 -1
  260. package/dist/components/{p-Cm4H5jKM.js → p-DtcaCKDY.js} +9 -9
  261. package/dist/components/{p-Cm4H5jKM.js.map → p-DtcaCKDY.js.map} +1 -1
  262. package/dist/components/{p-DnWtkvjB.js → p-He3WFr8N.js} +4 -4
  263. package/dist/components/{p-DnWtkvjB.js.map → p-He3WFr8N.js.map} +1 -1
  264. package/dist/components/{p-BlwiU4CG.js → p-J0-1oo_k.js} +3 -3
  265. package/dist/components/{p-BlwiU4CG.js.map → p-J0-1oo_k.js.map} +1 -1
  266. package/dist/components/{p-DMzDq9Qk.js → p-V5mJZCwR.js} +3 -3
  267. package/dist/components/{p-DMzDq9Qk.js.map → p-V5mJZCwR.js.map} +1 -1
  268. package/dist/components/{p-BsVAjQYR.js → p-W_HkMjDQ.js} +3 -3
  269. package/dist/components/{p-BsVAjQYR.js.map → p-W_HkMjDQ.js.map} +1 -1
  270. package/dist/components/{p-CPeJeUa-.js → p-btZjsbp7.js} +7 -7
  271. package/dist/components/{p-CPeJeUa-.js.map → p-btZjsbp7.js.map} +1 -1
  272. package/dist/components/{p-DAWriA57.js → p-cK7enpxN.js} +3 -3
  273. package/dist/components/{p-DAWriA57.js.map → p-cK7enpxN.js.map} +1 -1
  274. package/dist/components/{p-D5scUQED.js → p-fBN1fT9G.js} +7 -7
  275. package/dist/components/{p-D5scUQED.js.map → p-fBN1fT9G.js.map} +1 -1
  276. package/dist/components/{p-BLPv4qvK.js → p-g99SJmS9.js} +5 -5
  277. package/dist/components/{p-BLPv4qvK.js.map → p-g99SJmS9.js.map} +1 -1
  278. package/dist/components/{p-C8Pvb9FC.js → p-gOxHUQnX.js} +3 -3
  279. package/dist/components/{p-C8Pvb9FC.js.map → p-gOxHUQnX.js.map} +1 -1
  280. package/dist/components/{p-qCrKVPwN.js → p-jnLGVWPm.js} +7 -7
  281. package/dist/components/{p-qCrKVPwN.js.map → p-jnLGVWPm.js.map} +1 -1
  282. package/dist/components/{p-Cl1gEXQY.js → p-ndh9Y2u_.js} +3 -3
  283. package/dist/components/{p-Cl1gEXQY.js.map → p-ndh9Y2u_.js.map} +1 -1
  284. package/dist/components/{p-B85c63Jz.js → p-sEXM48gh.js} +7 -7
  285. package/dist/components/{p-B85c63Jz.js.map → p-sEXM48gh.js.map} +1 -1
  286. package/dist/components/{p-CBGywK9s.js → p-t-mFwf-h.js} +3 -3
  287. package/dist/components/{p-CBGywK9s.js.map → p-t-mFwf-h.js.map} +1 -1
  288. package/dist/components/p-uD4ilJut.js.map +1 -1
  289. package/dist/components/{p-BEN2QXaH.js → p-v8Ik0RFs.js} +3 -3
  290. package/dist/components/{p-BEN2QXaH.js.map → p-v8Ik0RFs.js.map} +1 -1
  291. package/dist/components/{p-DdYpx2_6.js → p-xZPbfH7_.js} +6 -6
  292. package/dist/components/{p-DdYpx2_6.js.map → p-xZPbfH7_.js.map} +1 -1
  293. package/dist/components/{p-BHr9Alht.js → p-zbNc4ZBN.js} +6 -6
  294. package/dist/components/{p-BHr9Alht.js.map → p-zbNc4ZBN.js.map} +1 -1
  295. package/dist/components/stzh-accordion-item.js +1 -1
  296. package/dist/components/stzh-accordion.js +1 -1
  297. package/dist/components/stzh-actions.js +1 -1
  298. package/dist/components/stzh-actionset.js +1 -1
  299. package/dist/components/stzh-amount.js +9 -9
  300. package/dist/components/stzh-anchornav.js +5 -5
  301. package/dist/components/stzh-app-nav.js +1 -1
  302. package/dist/components/stzh-appointments.js +13 -13
  303. package/dist/components/stzh-archivelist.js +7 -7
  304. package/dist/components/stzh-audio.js +5 -5
  305. package/dist/components/stzh-badge.js +1 -1
  306. package/dist/components/stzh-banner.js +4 -4
  307. package/dist/components/stzh-breadcrumb.js +1 -1
  308. package/dist/components/stzh-button.js +1 -1
  309. package/dist/components/stzh-buttongroup.js +1 -1
  310. package/dist/components/stzh-calendar.js +1 -1
  311. package/dist/components/stzh-card-navigation.js +4 -4
  312. package/dist/components/stzh-card-navigation.js.map +1 -1
  313. package/dist/components/stzh-card-searchresult.js +15 -18
  314. package/dist/components/stzh-card-searchresult.js.map +1 -1
  315. package/dist/components/stzh-card-superteaser.js +14 -14
  316. package/dist/components/stzh-card.js +1 -1
  317. package/dist/components/stzh-cardlist.js +1 -1
  318. package/dist/components/stzh-carousel.js +1 -1
  319. package/dist/components/stzh-cell.js +1 -1
  320. package/dist/components/stzh-chart.js +1 -1
  321. package/dist/components/stzh-checkbox.js +1 -1
  322. package/dist/components/stzh-checkboxgroup.js +5 -5
  323. package/dist/components/stzh-chip.js +1 -1
  324. package/dist/components/stzh-chipgroup.js +1 -1
  325. package/dist/components/stzh-chipselect.js +1 -1
  326. package/dist/components/stzh-clamp.js +1 -1
  327. package/dist/components/stzh-company-logo.js +1 -1
  328. package/dist/components/stzh-contact-cv.js +4 -4
  329. package/dist/components/stzh-contact.js +10 -10
  330. package/dist/components/stzh-container.js +1 -1
  331. package/dist/components/stzh-content.js +1 -1
  332. package/dist/components/stzh-cspace.js +1 -1
  333. package/dist/components/stzh-cta.js +3 -3
  334. package/dist/components/stzh-datalist-item.js +1 -1
  335. package/dist/components/stzh-datalist.js +1 -1
  336. package/dist/components/stzh-datamessagelist-item.js +11 -11
  337. package/dist/components/stzh-datamessagelist.js +1 -1
  338. package/dist/components/stzh-datatable.js +17 -17
  339. package/dist/components/stzh-datepicker.js +1 -1
  340. package/dist/components/stzh-daterange.js +4 -4
  341. package/dist/components/stzh-details.js +1 -1
  342. package/dist/components/stzh-dialog.js +1 -1
  343. package/dist/components/stzh-disturber.js +4 -4
  344. package/dist/components/stzh-dropdown.js +1 -1
  345. package/dist/components/stzh-editor.js +4 -4
  346. package/dist/components/stzh-eventdata.js +1 -1
  347. package/dist/components/stzh-eventinfo.js +5 -5
  348. package/dist/components/stzh-feedreader-item.js +2 -2
  349. package/dist/components/stzh-feedreader.js +8 -8
  350. package/dist/components/stzh-fieldset.js +1 -1
  351. package/dist/components/stzh-figure.js +1 -1
  352. package/dist/components/stzh-flyingfocus.js +1 -1
  353. package/dist/components/stzh-footer.js +4 -4
  354. package/dist/components/stzh-gallery.js +8 -8
  355. package/dist/components/stzh-geo-ref-data.js +164 -71
  356. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  357. package/dist/components/stzh-ghettobox.js +4 -4
  358. package/dist/components/stzh-header.js +1 -1
  359. package/dist/components/stzh-heading.js +1 -1
  360. package/dist/components/stzh-homepage-search.js +2 -2
  361. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  362. package/dist/components/stzh-hr.js +1 -1
  363. package/dist/components/stzh-hspace.js +1 -1
  364. package/dist/components/stzh-http-error.js +6 -6
  365. package/dist/components/stzh-icon.js +1 -1
  366. package/dist/components/stzh-iframe.js +1 -1
  367. package/dist/components/stzh-imagecomparison.js +2 -2
  368. package/dist/components/stzh-input.js +1 -1
  369. package/dist/components/stzh-invert.js +1 -1
  370. package/dist/components/stzh-link.js +1 -1
  371. package/dist/components/stzh-linklist.js +10 -10
  372. package/dist/components/stzh-list-item.js +1 -1
  373. package/dist/components/stzh-list.js +1 -1
  374. package/dist/components/stzh-loader.js +1 -1
  375. package/dist/components/stzh-loadingbar.js +1 -1
  376. package/dist/components/stzh-menu-item.js +1 -1
  377. package/dist/components/stzh-menu.js +1 -1
  378. package/dist/components/stzh-message.js +1 -1
  379. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  380. package/dist/components/stzh-monthyearpicker.js +5 -5
  381. package/dist/components/stzh-offline-indicator.js +6 -6
  382. package/dist/components/stzh-olmap.js +1 -1
  383. package/dist/components/stzh-overlay.js +1 -1
  384. package/dist/components/stzh-page-skiplinks.js +1 -1
  385. package/dist/components/stzh-pagebottom.js +8 -8
  386. package/dist/components/stzh-pagecontent.js +1 -1
  387. package/dist/components/stzh-pagetitle-hero.js +1 -1
  388. package/dist/components/stzh-pagetitle-home.js +2 -2
  389. package/dist/components/stzh-pagetitle.js +2 -2
  390. package/dist/components/stzh-pagination.js +1 -1
  391. package/dist/components/stzh-panorama.js +11 -11
  392. package/dist/components/stzh-pi-content-navigation.js +3 -3
  393. package/dist/components/stzh-pi-menu.js +3 -3
  394. package/dist/components/stzh-pi-pagetitle.js +2 -2
  395. package/dist/components/stzh-pi-quote.js +1 -1
  396. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  397. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  398. package/dist/components/stzh-pi-teaser.js +2 -2
  399. package/dist/components/stzh-pkzh-qr.js +20 -20
  400. package/dist/components/stzh-popover.js +1 -1
  401. package/dist/components/stzh-print.js +1 -1
  402. package/dist/components/stzh-quote.js +1 -1
  403. package/dist/components/stzh-radio.js +1 -1
  404. package/dist/components/stzh-radiogroup.js +1 -1
  405. package/dist/components/stzh-rating.js +5 -5
  406. package/dist/components/stzh-ratio.js +1 -1
  407. package/dist/components/stzh-readspeaker.js +4 -4
  408. package/dist/components/stzh-richtext.js +2 -2
  409. package/dist/components/stzh-row.js +1 -1
  410. package/dist/components/stzh-saptcha.js +7 -7
  411. package/dist/components/stzh-scrollup.js +1 -1
  412. package/dist/components/stzh-search.js +18 -19
  413. package/dist/components/stzh-search.js.map +1 -1
  414. package/dist/components/stzh-section.js +1 -1
  415. package/dist/components/stzh-share.js +1 -1
  416. package/dist/components/stzh-show.js +1 -1
  417. package/dist/components/stzh-sitemap.js +9 -9
  418. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  419. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  420. package/dist/components/stzh-skiplink.js +1 -1
  421. package/dist/components/stzh-socialmediastream-item.js +1 -1
  422. package/dist/components/stzh-socialmediastream.js +6 -6
  423. package/dist/components/stzh-sortable.js +1 -1
  424. package/dist/components/stzh-space.js +1 -1
  425. package/dist/components/stzh-status.js +1 -1
  426. package/dist/components/stzh-stepper-item.js +1 -1
  427. package/dist/components/stzh-stepper.js +3 -3
  428. package/dist/components/stzh-sticky-actions.js +2 -2
  429. package/dist/components/stzh-sticky.js +1 -1
  430. package/dist/components/stzh-table.js +1 -1
  431. package/dist/components/stzh-tag.js +1 -1
  432. package/dist/components/stzh-text.js +1 -1
  433. package/dist/components/stzh-textandimage.js +1 -1
  434. package/dist/components/stzh-timeline-item.js +3 -3
  435. package/dist/components/stzh-timeline.js +1 -1
  436. package/dist/components/stzh-timepicker.js +5 -5
  437. package/dist/components/stzh-toast.js +1 -1
  438. package/dist/components/stzh-toastbar.js +1 -1
  439. package/dist/components/stzh-toggle.js +5 -5
  440. package/dist/components/stzh-tooltip.js +1 -1
  441. package/dist/components/stzh-twocolumns.js +1 -1
  442. package/dist/components/stzh-upload.js +21 -24
  443. package/dist/components/stzh-upload.js.map +1 -1
  444. package/dist/components/stzh-vbz-carousel.js +2 -2
  445. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  446. package/dist/components/stzh-vbz-intro.js +5 -5
  447. package/dist/components/stzh-vbz-linechip.js +1 -1
  448. package/dist/components/stzh-vbz-majorticker.js +7 -7
  449. package/dist/components/stzh-vbz-ticker.js +7 -7
  450. package/dist/components/stzh-visuallyhidden.js +1 -1
  451. package/dist/components/stzh-vspace.js +1 -1
  452. package/dist/components/stzh-youtube.js +6 -6
  453. package/dist/esm/{index-C0D5-aI8.js → index-BeYTS5to.js} +3 -3
  454. package/dist/esm/{index-C0D5-aI8.js.map → index-BeYTS5to.js.map} +1 -1
  455. package/dist/esm/index.js.map +1 -1
  456. package/dist/esm/loader.js +2 -2
  457. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  458. package/dist/esm/stzh-actions_6.entry.js +1 -1
  459. package/dist/esm/stzh-actionset.entry.js +1 -1
  460. package/dist/esm/stzh-amount.entry.js +1 -1
  461. package/dist/esm/stzh-anchornav.entry.js +1 -1
  462. package/dist/esm/stzh-app-nav.entry.js +1 -1
  463. package/dist/esm/stzh-appointments.entry.js +1 -1
  464. package/dist/esm/stzh-archivelist.entry.js +1 -1
  465. package/dist/esm/stzh-audio.entry.js +1 -1
  466. package/dist/esm/stzh-badge_3.entry.js +1 -1
  467. package/dist/esm/stzh-banner.entry.js +1 -1
  468. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  469. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  470. package/dist/esm/stzh-calendar.entry.js +1 -1
  471. package/dist/esm/stzh-card-navigation.entry.js +3 -3
  472. package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
  473. package/dist/esm/stzh-card-searchresult.entry.js +2 -5
  474. package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
  475. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  476. package/dist/esm/stzh-card_2.entry.js +1 -1
  477. package/dist/esm/stzh-carousel.entry.js +1 -1
  478. package/dist/esm/stzh-chart.entry.js +1 -1
  479. package/dist/esm/stzh-checkbox.entry.js +2 -2
  480. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  481. package/dist/esm/stzh-chip_2.entry.js +2 -2
  482. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  483. package/dist/esm/stzh-clamp.entry.js +1 -1
  484. package/dist/esm/stzh-company-logo.entry.js +1 -1
  485. package/dist/esm/stzh-components.js +2 -2
  486. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  487. package/dist/esm/stzh-contact.entry.js +1 -1
  488. package/dist/esm/stzh-container_2.entry.js +1 -1
  489. package/dist/esm/stzh-content.entry.js +1 -1
  490. package/dist/esm/stzh-cta.entry.js +1 -1
  491. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  492. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  493. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  494. package/dist/esm/stzh-datatable.entry.js +1 -1
  495. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  496. package/dist/esm/stzh-daterange.entry.js +1 -1
  497. package/dist/esm/stzh-details.entry.js +1 -1
  498. package/dist/esm/stzh-dialog.entry.js +1 -1
  499. package/dist/esm/stzh-disturber.entry.js +1 -1
  500. package/dist/esm/stzh-dropdown.entry.js +2 -2
  501. package/dist/esm/stzh-editor.entry.js +1 -1
  502. package/dist/esm/stzh-eventdata.entry.js +1 -1
  503. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  504. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  505. package/dist/esm/stzh-feedreader.entry.js +1 -1
  506. package/dist/esm/stzh-figure.entry.js +1 -1
  507. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  508. package/dist/esm/stzh-footer.entry.js +1 -1
  509. package/dist/esm/stzh-gallery.entry.js +1 -1
  510. package/dist/esm/stzh-geo-ref-data.entry.js +141 -48
  511. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  512. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  513. package/dist/esm/stzh-header_3.entry.js +2 -2
  514. package/dist/esm/stzh-heading.entry.js +1 -1
  515. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  516. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  517. package/dist/esm/stzh-hr.entry.js +1 -1
  518. package/dist/esm/stzh-hspace.entry.js +1 -1
  519. package/dist/esm/stzh-http-error.entry.js +1 -1
  520. package/dist/esm/stzh-iframe.entry.js +1 -1
  521. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  522. package/dist/esm/{stzh-input-description-D5t-ZID5.js → stzh-input-description-0t9Kfy0T.js} +3 -3
  523. package/dist/esm/{stzh-input-description-D5t-ZID5.js.map → stzh-input-description-0t9Kfy0T.js.map} +1 -1
  524. package/dist/esm/stzh-input.entry.js +2 -2
  525. package/dist/esm/stzh-invert.entry.js +1 -1
  526. package/dist/esm/stzh-link.entry.js +1 -1
  527. package/dist/esm/stzh-linklist.entry.js +1 -1
  528. package/dist/esm/stzh-list_2.entry.js +1 -1
  529. package/dist/esm/stzh-loader.entry.js +1 -1
  530. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  531. package/dist/esm/stzh-menu_2.entry.js +1 -1
  532. package/dist/esm/stzh-message.entry.js +1 -1
  533. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  534. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  535. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  536. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  537. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  538. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  539. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  540. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  541. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  542. package/dist/esm/stzh-panorama.entry.js +1 -1
  543. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  544. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  545. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  546. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  547. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  548. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  549. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  550. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  551. package/dist/esm/stzh-popover.entry.js +1 -1
  552. package/dist/esm/stzh-print_2.entry.js +1 -1
  553. package/dist/esm/stzh-quote.entry.js +1 -1
  554. package/dist/esm/stzh-rating.entry.js +2 -2
  555. package/dist/esm/stzh-ratio.entry.js +1 -1
  556. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  557. package/dist/esm/stzh-richtext.entry.js +1 -1
  558. package/dist/esm/stzh-saptcha.entry.js +1 -1
  559. package/dist/esm/stzh-scrollup.entry.js +1 -1
  560. package/dist/esm/stzh-search.entry.js +3 -4
  561. package/dist/esm/stzh-search.entry.js.map +1 -1
  562. package/dist/esm/stzh-section.entry.js +1 -1
  563. package/dist/esm/stzh-show.entry.js +1 -1
  564. package/dist/esm/stzh-sitemap.entry.js +1 -1
  565. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  566. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  567. package/dist/esm/stzh-skiplink.entry.js +1 -1
  568. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  569. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  570. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  571. package/dist/esm/stzh-stepper.entry.js +1 -1
  572. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  573. package/dist/esm/stzh-sticky.entry.js +1 -1
  574. package/dist/esm/stzh-table.entry.js +1 -1
  575. package/dist/esm/stzh-text.entry.js +1 -1
  576. package/dist/esm/stzh-textandimage.entry.js +1 -1
  577. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  578. package/dist/esm/stzh-timeline.entry.js +1 -1
  579. package/dist/esm/stzh-timepicker.entry.js +1 -1
  580. package/dist/esm/stzh-toast_2.entry.js +1 -1
  581. package/dist/esm/stzh-toggle.entry.js +2 -2
  582. package/dist/esm/stzh-tooltip.entry.js +1 -1
  583. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  584. package/dist/esm/stzh-upload.entry.js +10 -13
  585. package/dist/esm/stzh-upload.entry.js.map +1 -1
  586. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  587. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  588. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  589. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  590. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  591. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  592. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  593. package/dist/esm/stzh-vspace.entry.js +1 -1
  594. package/dist/esm/stzh-youtube.entry.js +1 -1
  595. package/dist/esm/utils-frVeoxnJ.js.map +1 -1
  596. package/dist/stzh-components/index.esm.js.map +1 -1
  597. package/dist/stzh-components/{p-9a1dfabf.entry.js → p-007d78fd.entry.js} +2 -2
  598. package/dist/stzh-components/{p-592e08c6.entry.js → p-01b9df5a.entry.js} +2 -2
  599. package/dist/stzh-components/{p-79569a33.entry.js → p-0272e760.entry.js} +2 -2
  600. package/dist/stzh-components/{p-623ace6f.entry.js → p-050f441a.entry.js} +2 -2
  601. package/dist/stzh-components/{p-7d7e0fa4.entry.js → p-079fa397.entry.js} +2 -2
  602. package/dist/stzh-components/{p-d59d7878.entry.js → p-07ca6ef5.entry.js} +2 -2
  603. package/dist/stzh-components/{p-06c333b7.entry.js → p-0ba43e0e.entry.js} +2 -2
  604. package/dist/stzh-components/{p-231bfe4b.entry.js → p-0bd6f315.entry.js} +2 -2
  605. package/dist/stzh-components/{p-2c6c0ca3.entry.js → p-0c101756.entry.js} +2 -2
  606. package/dist/stzh-components/{p-17c4821c.entry.js → p-0cd15846.entry.js} +2 -2
  607. package/dist/stzh-components/{p-2c58f5e2.entry.js → p-0ed4de93.entry.js} +2 -2
  608. package/dist/stzh-components/{p-2c58f5e2.entry.js.map → p-0ed4de93.entry.js.map} +1 -1
  609. package/dist/stzh-components/{p-8d3790b7.entry.js → p-0f368190.entry.js} +2 -2
  610. package/dist/stzh-components/{p-e7f532e6.entry.js → p-12eadfb2.entry.js} +2 -2
  611. package/dist/stzh-components/p-16eba7e0.entry.js +2 -0
  612. package/dist/stzh-components/p-16eba7e0.entry.js.map +1 -0
  613. package/dist/stzh-components/{p-680e12d1.entry.js → p-178bc5d2.entry.js} +2 -2
  614. package/dist/stzh-components/p-179808aa.entry.js +2 -0
  615. package/dist/stzh-components/{p-7c5a2338.entry.js.map → p-179808aa.entry.js.map} +1 -1
  616. package/dist/stzh-components/{p-86330790.entry.js → p-1daff421.entry.js} +2 -2
  617. package/dist/stzh-components/{p-345f3e53.entry.js → p-1e915c27.entry.js} +2 -2
  618. package/dist/stzh-components/{p-0f3dda10.entry.js → p-21176939.entry.js} +2 -2
  619. package/dist/stzh-components/{p-570b6510.entry.js → p-28262897.entry.js} +2 -2
  620. package/dist/stzh-components/{p-2d5cfd07.entry.js → p-294ae00a.entry.js} +2 -2
  621. package/dist/stzh-components/{p-bf82166a.entry.js → p-2abdc589.entry.js} +2 -2
  622. package/dist/stzh-components/{p-9e51a76e.entry.js → p-2b7819e0.entry.js} +2 -2
  623. package/dist/stzh-components/{p-03f2a37f.entry.js → p-2d363f85.entry.js} +2 -2
  624. package/dist/stzh-components/{p-639eeb42.entry.js → p-2d8cbf4e.entry.js} +2 -2
  625. package/dist/stzh-components/{p-10862d51.entry.js → p-2f088786.entry.js} +2 -2
  626. package/dist/stzh-components/{p-e516022f.entry.js → p-33026551.entry.js} +2 -2
  627. package/dist/stzh-components/{p-d9c9814d.entry.js → p-33b2e102.entry.js} +2 -2
  628. package/dist/stzh-components/{p-ffdc6928.entry.js → p-3410fae9.entry.js} +2 -2
  629. package/dist/stzh-components/{p-ad398a72.entry.js → p-38c02dd0.entry.js} +2 -2
  630. package/dist/stzh-components/{p-d30c7ed4.entry.js → p-392e2499.entry.js} +2 -2
  631. package/dist/stzh-components/{p-87f2b8c0.entry.js → p-398f9f2c.entry.js} +2 -2
  632. package/dist/stzh-components/{p-ccd8940d.entry.js → p-39c858e3.entry.js} +2 -2
  633. package/dist/stzh-components/{p-f255971f.entry.js → p-3cdf3cac.entry.js} +2 -2
  634. package/dist/stzh-components/{p-ad4499aa.entry.js → p-3e7b5f48.entry.js} +2 -2
  635. package/dist/stzh-components/{p-5c7c5e8c.entry.js → p-3f3099c4.entry.js} +2 -2
  636. package/dist/stzh-components/{p-f567548a.entry.js → p-4246f35f.entry.js} +2 -2
  637. package/dist/stzh-components/{p-fcfa49af.entry.js → p-4725630b.entry.js} +2 -2
  638. package/dist/stzh-components/{p-9071fb49.entry.js → p-47e2552e.entry.js} +2 -2
  639. package/dist/stzh-components/{p-2ba09061.entry.js → p-48029431.entry.js} +2 -2
  640. package/dist/stzh-components/{p-ddfe3210.entry.js → p-4ac15f88.entry.js} +2 -2
  641. package/dist/stzh-components/{p-9196f9cc.entry.js → p-4c92941f.entry.js} +2 -2
  642. package/dist/stzh-components/{p-5a9ce779.entry.js → p-4d29e961.entry.js} +2 -2
  643. package/dist/stzh-components/{p-fe1535cb.entry.js → p-4fb33342.entry.js} +2 -2
  644. package/dist/stzh-components/{p-a11b455f.entry.js → p-50ad83ad.entry.js} +2 -2
  645. package/dist/stzh-components/{p-e03b0af3.entry.js → p-5258a535.entry.js} +2 -2
  646. package/dist/stzh-components/{p-f5f251f7.entry.js → p-532fe029.entry.js} +2 -2
  647. package/dist/stzh-components/{p-9588d15c.entry.js → p-543f0d52.entry.js} +2 -2
  648. package/dist/stzh-components/{p-a7ab234b.entry.js → p-5623ef6e.entry.js} +3 -3
  649. package/dist/stzh-components/{p-993b3333.entry.js → p-5836638b.entry.js} +2 -2
  650. package/dist/stzh-components/{p-e629e988.entry.js → p-58dbc135.entry.js} +2 -2
  651. package/dist/stzh-components/{p-27518af8.entry.js → p-59ad749b.entry.js} +2 -2
  652. package/dist/stzh-components/{p-f7de1da9.entry.js → p-5a7cdf2a.entry.js} +2 -2
  653. package/dist/stzh-components/{p-18812afb.entry.js → p-5e966b72.entry.js} +2 -2
  654. package/dist/stzh-components/{p-e1fb882b.entry.js → p-6056a756.entry.js} +2 -2
  655. package/dist/stzh-components/{p-f8b7af04.entry.js → p-65b004ba.entry.js} +2 -2
  656. package/dist/stzh-components/{p-9968ec76.entry.js → p-67bdcbf8.entry.js} +2 -2
  657. package/dist/stzh-components/{p-dd02b5c8.entry.js → p-6811e5ba.entry.js} +2 -2
  658. package/dist/stzh-components/{p-6eaa5a4d.entry.js → p-697e0d0e.entry.js} +2 -2
  659. package/dist/stzh-components/{p-2a95283e.entry.js → p-698094f1.entry.js} +2 -2
  660. package/dist/stzh-components/{p-86bb5e78.entry.js → p-69e26703.entry.js} +2 -2
  661. package/dist/stzh-components/{p-18781028.entry.js → p-69f1e77d.entry.js} +2 -2
  662. package/dist/stzh-components/{p-80e03036.entry.js → p-76ff58a9.entry.js} +2 -2
  663. package/dist/stzh-components/{p-68288481.entry.js → p-77fba478.entry.js} +2 -2
  664. package/dist/stzh-components/{p-f4004540.entry.js → p-7a51979e.entry.js} +2 -2
  665. package/dist/stzh-components/{p-ba7dc8ca.entry.js → p-7b1e5fc8.entry.js} +2 -2
  666. package/dist/stzh-components/{p-8392896e.entry.js → p-7cadab67.entry.js} +2 -2
  667. package/dist/stzh-components/{p-8392896e.entry.js.map → p-7cadab67.entry.js.map} +1 -1
  668. package/dist/stzh-components/{p-450d721f.entry.js → p-7ea65881.entry.js} +2 -2
  669. package/dist/stzh-components/{p-2c527126.entry.js → p-80b1fb1b.entry.js} +2 -2
  670. package/dist/stzh-components/{p-3f7b3650.entry.js → p-82014825.entry.js} +2 -2
  671. package/dist/stzh-components/{p-1e2e9b15.entry.js → p-837e98aa.entry.js} +2 -2
  672. package/dist/stzh-components/{p-807f386c.entry.js → p-848f2de3.entry.js} +2 -2
  673. package/dist/stzh-components/{p-db291d1c.entry.js → p-866099a2.entry.js} +2 -2
  674. package/dist/stzh-components/{p-db291d1c.entry.js.map → p-866099a2.entry.js.map} +1 -1
  675. package/dist/stzh-components/{p-284ac2d4.entry.js → p-899e4fc6.entry.js} +2 -2
  676. package/dist/stzh-components/{p-a3966c32.entry.js → p-8c8adb13.entry.js} +2 -2
  677. package/dist/stzh-components/{p-dc376105.entry.js → p-8ea28390.entry.js} +2 -2
  678. package/dist/stzh-components/{p-8de18936.entry.js → p-90d7442c.entry.js} +2 -2
  679. package/dist/stzh-components/{p-8a76f229.entry.js → p-929a434b.entry.js} +2 -2
  680. package/dist/stzh-components/p-929a434b.entry.js.map +1 -0
  681. package/dist/stzh-components/{p-59c05b01.entry.js → p-94bb66f5.entry.js} +2 -2
  682. package/dist/stzh-components/{p-0fd6e998.entry.js → p-9560e915.entry.js} +2 -2
  683. package/dist/stzh-components/{p-998fa12c.entry.js → p-95649307.entry.js} +2 -2
  684. package/dist/stzh-components/{p-bc01628b.entry.js → p-96e99e96.entry.js} +2 -2
  685. package/dist/stzh-components/p-96e99e96.entry.js.map +1 -0
  686. package/dist/stzh-components/{p-0818bf2a.entry.js → p-96eb42b2.entry.js} +2 -2
  687. package/dist/stzh-components/{p-94f2ba62.entry.js → p-97826448.entry.js} +2 -2
  688. package/dist/stzh-components/{p-5436f321.entry.js → p-9a4c0452.entry.js} +2 -2
  689. package/dist/stzh-components/{p-9e0fa964.entry.js → p-9c9c6c85.entry.js} +2 -2
  690. package/dist/stzh-components/{p-c449ba91.entry.js → p-9e41c979.entry.js} +2 -2
  691. package/dist/stzh-components/{p-2f72a9f5.entry.js → p-9ef1f8b2.entry.js} +2 -2
  692. package/dist/stzh-components/{p-e4f509a5.entry.js → p-9fc3c818.entry.js} +2 -2
  693. package/dist/stzh-components/p-BeYTS5to.js +3 -0
  694. package/dist/stzh-components/{p-C0D5-aI8.js.map → p-BeYTS5to.js.map} +1 -1
  695. package/dist/stzh-components/p-CBLSoWgI.js.map +1 -1
  696. package/dist/stzh-components/p-DOMoFgs-.js +2 -0
  697. package/dist/stzh-components/{p-2ReM0tCv.js.map → p-DOMoFgs-.js.map} +1 -1
  698. package/dist/stzh-components/{p-9c4bbf46.entry.js → p-a00f95c7.entry.js} +2 -2
  699. package/dist/stzh-components/{p-394442ee.entry.js → p-a1e9cfba.entry.js} +2 -2
  700. package/dist/stzh-components/{p-b48a80c1.entry.js → p-a34a8bdb.entry.js} +2 -2
  701. package/dist/stzh-components/{p-735d22f9.entry.js → p-a5137c14.entry.js} +2 -2
  702. package/dist/stzh-components/{p-1a6674eb.entry.js → p-a51eb5f2.entry.js} +5 -5
  703. package/dist/stzh-components/{p-4eb84867.entry.js → p-ac89ceda.entry.js} +3 -3
  704. package/dist/stzh-components/{p-2b843780.entry.js → p-b081df80.entry.js} +2 -2
  705. package/dist/stzh-components/{p-b2bb1103.entry.js → p-b0a79de1.entry.js} +2 -2
  706. package/dist/stzh-components/{p-309af29f.entry.js → p-b45a6e9e.entry.js} +2 -2
  707. package/dist/stzh-components/{p-1fabbb71.entry.js → p-b7592873.entry.js} +4 -4
  708. package/dist/stzh-components/{p-9f1866fc.entry.js → p-b7809776.entry.js} +2 -2
  709. package/dist/stzh-components/{p-5e91c34f.entry.js → p-ba487e20.entry.js} +2 -2
  710. package/dist/stzh-components/{p-3b2a793f.entry.js → p-bb6aa8f0.entry.js} +2 -2
  711. package/dist/stzh-components/{p-b571d3f3.entry.js → p-bf19e49a.entry.js} +2 -2
  712. package/dist/stzh-components/{p-988871ea.entry.js → p-c273fb23.entry.js} +2 -2
  713. package/dist/stzh-components/{p-6b3e826c.entry.js → p-c43f9396.entry.js} +2 -2
  714. package/dist/stzh-components/{p-81e540c9.entry.js → p-c8be55a4.entry.js} +2 -2
  715. package/dist/stzh-components/{p-35ee9f0e.entry.js → p-c9424d22.entry.js} +2 -2
  716. package/dist/stzh-components/{p-0c994613.entry.js → p-cbdc5cdb.entry.js} +2 -2
  717. package/dist/stzh-components/{p-a6bfa44c.entry.js → p-cbf31673.entry.js} +2 -2
  718. package/dist/stzh-components/{p-9e2662a6.entry.js → p-ce29376e.entry.js} +2 -2
  719. package/dist/stzh-components/{p-d12f7c51.entry.js → p-d2523c79.entry.js} +2 -2
  720. package/dist/stzh-components/{p-768f882b.entry.js → p-d6a64579.entry.js} +2 -2
  721. package/dist/stzh-components/{p-5a7d0e04.entry.js → p-d7766318.entry.js} +2 -2
  722. package/dist/stzh-components/{p-71c5050c.entry.js → p-d77a3842.entry.js} +2 -2
  723. package/dist/stzh-components/{p-ff57ec6d.entry.js → p-de177989.entry.js} +2 -2
  724. package/dist/stzh-components/{p-14155476.entry.js → p-df920ace.entry.js} +2 -2
  725. package/dist/stzh-components/{p-078878df.entry.js → p-e2b57066.entry.js} +2 -2
  726. package/dist/stzh-components/{p-a44e24b1.entry.js → p-e8ee43d3.entry.js} +2 -2
  727. package/dist/stzh-components/{p-71df251a.entry.js → p-ee883e3c.entry.js} +2 -2
  728. package/dist/stzh-components/{p-7d98a3d2.entry.js → p-ef2cdb7d.entry.js} +2 -2
  729. package/dist/stzh-components/{p-870b8ed1.entry.js → p-ef9b3719.entry.js} +2 -2
  730. package/dist/stzh-components/{p-3fc6b297.entry.js → p-eff01eb7.entry.js} +2 -2
  731. package/dist/stzh-components/{p-319c2a3f.entry.js → p-f80d382c.entry.js} +2 -2
  732. package/dist/stzh-components/{p-26347752.entry.js → p-f84eee88.entry.js} +2 -2
  733. package/dist/stzh-components/{p-131a937d.entry.js → p-f8bd13e7.entry.js} +2 -2
  734. package/dist/stzh-components/{p-daecb2b6.entry.js → p-f9f34a81.entry.js} +2 -2
  735. package/dist/stzh-components/{p-83fa3d09.entry.js → p-fc50ba7f.entry.js} +2 -2
  736. package/dist/stzh-components/{p-96e3957c.entry.js → p-fda334f4.entry.js} +3 -3
  737. package/dist/stzh-components/{p-8693799a.entry.js → p-fda9e8f6.entry.js} +2 -2
  738. package/dist/stzh-components/{p-54f27a08.entry.js → p-fe6e907a.entry.js} +2 -2
  739. package/dist/stzh-components/stzh-components.esm.js +1 -1
  740. package/dist/types/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +17 -1
  741. package/dist/types/components/stzh-upload/stzh-upload.d.ts +1 -4
  742. package/dist/types/components.d.ts +13 -6
  743. package/dist/types/index.d.ts +8 -0
  744. package/dist/vscode-data.json +1 -1
  745. package/package.json +8 -7
  746. package/dist/components/p-DVhyRqBV.js.map +0 -1
  747. package/dist/stzh-components/p-2ReM0tCv.js +0 -2
  748. package/dist/stzh-components/p-7c5a2338.entry.js +0 -2
  749. package/dist/stzh-components/p-8a76f229.entry.js.map +0 -1
  750. package/dist/stzh-components/p-9e2e97a3.entry.js +0 -2
  751. package/dist/stzh-components/p-9e2e97a3.entry.js.map +0 -1
  752. package/dist/stzh-components/p-C0D5-aI8.js +0 -3
  753. package/dist/stzh-components/p-bc01628b.entry.js.map +0 -1
  754. /package/dist/stzh-components/{p-9a1dfabf.entry.js.map → p-007d78fd.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-592e08c6.entry.js.map → p-01b9df5a.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-79569a33.entry.js.map → p-0272e760.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-623ace6f.entry.js.map → p-050f441a.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-7d7e0fa4.entry.js.map → p-079fa397.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-d59d7878.entry.js.map → p-07ca6ef5.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-06c333b7.entry.js.map → p-0ba43e0e.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-231bfe4b.entry.js.map → p-0bd6f315.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-2c6c0ca3.entry.js.map → p-0c101756.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-17c4821c.entry.js.map → p-0cd15846.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-8d3790b7.entry.js.map → p-0f368190.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-e7f532e6.entry.js.map → p-12eadfb2.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-680e12d1.entry.js.map → p-178bc5d2.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-86330790.entry.js.map → p-1daff421.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-345f3e53.entry.js.map → p-1e915c27.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-0f3dda10.entry.js.map → p-21176939.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-570b6510.entry.js.map → p-28262897.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-2d5cfd07.entry.js.map → p-294ae00a.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-bf82166a.entry.js.map → p-2abdc589.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-9e51a76e.entry.js.map → p-2b7819e0.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-03f2a37f.entry.js.map → p-2d363f85.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-639eeb42.entry.js.map → p-2d8cbf4e.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-10862d51.entry.js.map → p-2f088786.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-e516022f.entry.js.map → p-33026551.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-d9c9814d.entry.js.map → p-33b2e102.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-ffdc6928.entry.js.map → p-3410fae9.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-ad398a72.entry.js.map → p-38c02dd0.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-d30c7ed4.entry.js.map → p-392e2499.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-87f2b8c0.entry.js.map → p-398f9f2c.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-ccd8940d.entry.js.map → p-39c858e3.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-f255971f.entry.js.map → p-3cdf3cac.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-ad4499aa.entry.js.map → p-3e7b5f48.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-5c7c5e8c.entry.js.map → p-3f3099c4.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-f567548a.entry.js.map → p-4246f35f.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-fcfa49af.entry.js.map → p-4725630b.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-9071fb49.entry.js.map → p-47e2552e.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-2ba09061.entry.js.map → p-48029431.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-ddfe3210.entry.js.map → p-4ac15f88.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-9196f9cc.entry.js.map → p-4c92941f.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-5a9ce779.entry.js.map → p-4d29e961.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-fe1535cb.entry.js.map → p-4fb33342.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-a11b455f.entry.js.map → p-50ad83ad.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-e03b0af3.entry.js.map → p-5258a535.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-f5f251f7.entry.js.map → p-532fe029.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-9588d15c.entry.js.map → p-543f0d52.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-a7ab234b.entry.js.map → p-5623ef6e.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-993b3333.entry.js.map → p-5836638b.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-e629e988.entry.js.map → p-58dbc135.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-27518af8.entry.js.map → p-59ad749b.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-f7de1da9.entry.js.map → p-5a7cdf2a.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-18812afb.entry.js.map → p-5e966b72.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-e1fb882b.entry.js.map → p-6056a756.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-f8b7af04.entry.js.map → p-65b004ba.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-9968ec76.entry.js.map → p-67bdcbf8.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-dd02b5c8.entry.js.map → p-6811e5ba.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-6eaa5a4d.entry.js.map → p-697e0d0e.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-2a95283e.entry.js.map → p-698094f1.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-86bb5e78.entry.js.map → p-69e26703.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-18781028.entry.js.map → p-69f1e77d.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-80e03036.entry.js.map → p-76ff58a9.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-68288481.entry.js.map → p-77fba478.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-f4004540.entry.js.map → p-7a51979e.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-ba7dc8ca.entry.js.map → p-7b1e5fc8.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-450d721f.entry.js.map → p-7ea65881.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-2c527126.entry.js.map → p-80b1fb1b.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-3f7b3650.entry.js.map → p-82014825.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-1e2e9b15.entry.js.map → p-837e98aa.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-807f386c.entry.js.map → p-848f2de3.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-284ac2d4.entry.js.map → p-899e4fc6.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-a3966c32.entry.js.map → p-8c8adb13.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-dc376105.entry.js.map → p-8ea28390.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-8de18936.entry.js.map → p-90d7442c.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-59c05b01.entry.js.map → p-94bb66f5.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-0fd6e998.entry.js.map → p-9560e915.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-998fa12c.entry.js.map → p-95649307.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-0818bf2a.entry.js.map → p-96eb42b2.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-94f2ba62.entry.js.map → p-97826448.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-5436f321.entry.js.map → p-9a4c0452.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-9e0fa964.entry.js.map → p-9c9c6c85.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-c449ba91.entry.js.map → p-9e41c979.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-2f72a9f5.entry.js.map → p-9ef1f8b2.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-e4f509a5.entry.js.map → p-9fc3c818.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-9c4bbf46.entry.js.map → p-a00f95c7.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-394442ee.entry.js.map → p-a1e9cfba.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-b48a80c1.entry.js.map → p-a34a8bdb.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-735d22f9.entry.js.map → p-a5137c14.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-1a6674eb.entry.js.map → p-a51eb5f2.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-4eb84867.entry.js.map → p-ac89ceda.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-2b843780.entry.js.map → p-b081df80.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-b2bb1103.entry.js.map → p-b0a79de1.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-309af29f.entry.js.map → p-b45a6e9e.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-1fabbb71.entry.js.map → p-b7592873.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-9f1866fc.entry.js.map → p-b7809776.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-5e91c34f.entry.js.map → p-ba487e20.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-3b2a793f.entry.js.map → p-bb6aa8f0.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-b571d3f3.entry.js.map → p-bf19e49a.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-988871ea.entry.js.map → p-c273fb23.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-6b3e826c.entry.js.map → p-c43f9396.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-81e540c9.entry.js.map → p-c8be55a4.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-35ee9f0e.entry.js.map → p-c9424d22.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-0c994613.entry.js.map → p-cbdc5cdb.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-a6bfa44c.entry.js.map → p-cbf31673.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-9e2662a6.entry.js.map → p-ce29376e.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-d12f7c51.entry.js.map → p-d2523c79.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-768f882b.entry.js.map → p-d6a64579.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-5a7d0e04.entry.js.map → p-d7766318.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-71c5050c.entry.js.map → p-d77a3842.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-ff57ec6d.entry.js.map → p-de177989.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-14155476.entry.js.map → p-df920ace.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-078878df.entry.js.map → p-e2b57066.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-a44e24b1.entry.js.map → p-e8ee43d3.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-71df251a.entry.js.map → p-ee883e3c.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-7d98a3d2.entry.js.map → p-ef2cdb7d.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-870b8ed1.entry.js.map → p-ef9b3719.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-3fc6b297.entry.js.map → p-eff01eb7.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-319c2a3f.entry.js.map → p-f80d382c.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-26347752.entry.js.map → p-f84eee88.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-131a937d.entry.js.map → p-f8bd13e7.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-daecb2b6.entry.js.map → p-f9f34a81.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-83fa3d09.entry.js.map → p-fc50ba7f.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-96e3957c.entry.js.map → p-fda334f4.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-8693799a.entry.js.map → p-fda9e8f6.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-54f27a08.entry.js.map → p-fe6e907a.entry.js.map} +0 -0
@@ -1,7 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-C1U0z0e7.js';
2
2
  import { h as hasSlot } from './p-Dk-EHN3E.js';
3
- import { d as defineCustomElement$2 } from './p-Cl1gEXQY.js';
4
- import { d as defineCustomElement$1 } from './p-DSXTn_9y.js';
3
+ import { d as defineCustomElement$2 } from './p-ndh9Y2u_.js';
4
+ import { d as defineCustomElement$1 } from './p-CuGNlsAf.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:calc(var(--stzh-space-xlarge) - var(--border-width));--padding-right:calc(var(--stzh-space-xlarge) - var(--border-width));--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([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}.sc-stzh-button-h{--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(
7
7
  --stzh-button-hover-background-color,
@@ -291,6 +291,6 @@ function defineCustomElement() {
291
291
  }
292
292
 
293
293
  export { StzhButton as S, defineCustomElement as d };
294
- //# sourceMappingURL=p-XwB7D2_o.js.map
294
+ //# sourceMappingURL=p-D0sPQTAC.js.map
295
295
 
296
- //# sourceMappingURL=p-XwB7D2_o.js.map
296
+ //# sourceMappingURL=p-D0sPQTAC.js.map
@@ -1 +1 @@
1
- {"file":"p-XwB7D2_o.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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AAI,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,EAAA,YAAA,EACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAAA,kBAAA,EAChB,IAAI,CAAC,eAAe,IAAI,IAAI,EAAA,eAAA,EAC/B,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,EACxF,eAAA,EAAA,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,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"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: calc(#{space(\"xlarge\")} - var(--border-width));\n --padding-right: calc(#{space(\"xlarge\")} - var(--border-width));\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: calc(#{space(\"large\")} - var(--border-width));\n --padding-right: calc(#{space(\"large\")} - 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@mixin button--size-tiny() {\n --height: #{$formInputHeightTiny};\n --padding-left: calc(#{space(\"medium\")} - var(--border-width));\n --padding-right: calc(#{space(\"medium\")} - var(--border-width));\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@mixin button--forced-colors-default() {\n --border-width: 2px;\n\n --color: ButtonText;\n --border-color: ButtonBorder;\n --background-color: ButtonFace;\n\n --hover-color: HighlightText;\n --hover-border-color: Highlight;\n --hover-background-color: Highlight;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: transparent;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: transparent;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\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 @media (forced-colors: active) {\n transition: none;\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 @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\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($color: $colorPrimary70);\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 @media (forced-colors: active) {\n color: Highlight;\n }\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 @media (forced-colors: active) {\n border-color: Highlight;\n }\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 @media (forced-colors: active) {\n color: GrayText;\n }\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 @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\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
+ {"file":"p-D0sPQTAC.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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,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,EAAA,YAAA,EACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAAA,kBAAA,EAChB,IAAI,CAAC,eAAe,IAAI,IAAI,EAAA,eAAA,EAC/B,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,EACxF,eAAA,EAAA,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,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"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: calc(#{space(\"xlarge\")} - var(--border-width));\n --padding-right: calc(#{space(\"xlarge\")} - var(--border-width));\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: calc(#{space(\"large\")} - var(--border-width));\n --padding-right: calc(#{space(\"large\")} - 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@mixin button--size-tiny() {\n --height: #{$formInputHeightTiny};\n --padding-left: calc(#{space(\"medium\")} - var(--border-width));\n --padding-right: calc(#{space(\"medium\")} - var(--border-width));\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@mixin button--forced-colors-default() {\n --border-width: 2px;\n\n --color: ButtonText;\n --border-color: ButtonBorder;\n --background-color: ButtonFace;\n\n --hover-color: HighlightText;\n --hover-border-color: Highlight;\n --hover-background-color: Highlight;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: transparent;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: transparent;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\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 @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\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 @media (forced-colors: active) {\n @include button--forced-colors-disabled;\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 @media (forced-colors: active) {\n transition: none;\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 @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\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($color: $colorPrimary70);\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 @media (forced-colors: active) {\n color: Highlight;\n }\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 @media (forced-colors: active) {\n border-color: Highlight;\n }\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 @media (forced-colors: active) {\n color: GrayText;\n }\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 @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\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,13 +1,13 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
2
2
  import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './p-CUGRmgip.js';
3
- import { d as defineCustomElement$8 } from './p-Cl1gEXQY.js';
4
- import { d as defineCustomElement$7 } from './p-XwB7D2_o.js';
5
- import { d as defineCustomElement$6 } from './p-DSXTn_9y.js';
6
- import { d as defineCustomElement$5 } from './p-BEN2QXaH.js';
7
- import { d as defineCustomElement$4 } from './p-B2fPjAf_.js';
8
- import { d as defineCustomElement$3 } from './p-cy07BSqU.js';
9
- import { d as defineCustomElement$2 } from './p-v5danKU8.js';
10
- import { d as defineCustomElement$1 } from './p-BLPv4qvK.js';
3
+ import { d as defineCustomElement$8 } from './p-ndh9Y2u_.js';
4
+ import { d as defineCustomElement$7 } from './p-D0sPQTAC.js';
5
+ import { d as defineCustomElement$6 } from './p-CuGNlsAf.js';
6
+ import { d as defineCustomElement$5 } from './p-v8Ik0RFs.js';
7
+ import { d as defineCustomElement$4 } from './p-C7BDblTx.js';
8
+ import { d as defineCustomElement$3 } from './p-BJZwsXr4.js';
9
+ import { d as defineCustomElement$2 } from './p-BaQRAFeH.js';
10
+ import { d as defineCustomElement$1 } from './p-g99SJmS9.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
 
@@ -237,6 +237,6 @@ function defineCustomElement() {
237
237
  }
238
238
 
239
239
  export { StzhActionset as S, defineCustomElement as d };
240
- //# sourceMappingURL=p-RUuCBZnE.js.map
240
+ //# sourceMappingURL=p-D1u4OrAq.js.map
241
241
 
242
- //# sourceMappingURL=p-RUuCBZnE.js.map
242
+ //# sourceMappingURL=p-D1u4OrAq.js.map
@@ -1 +1 @@
1
- {"file":"p-RUuCBZnE.js","mappings":";;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,83FAA83F,CAAC;;MCiBl5F,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAU2B,QAAA,IAAO,CAAA,OAAA,GAAyB,OAAO;;AAGvC,QAAA,IAAoB,CAAA,oBAAA,GAA8C,EAAE;;AAGpE,QAAA,IAAiB,CAAA,iBAAA,GAAsC,EAAE;;AAGzD,QAAA,IAAgB,CAAA,gBAAA,GAAc,YAAY;AAEnE;;;;AAIG;AACK,QAAA,IAAO,CAAA,OAAA,GAAiC,EAAE;AAC1C,QAAA,IAAQ,CAAA,QAAA,GAAwB,EAAE;AAgBjC,QAAA,IAAgB,CAAA,gBAAA,GAAwB,EAAE;QAS3C,IAAA,CAAA,WAAW,GAAG,CAAC,MAAyB,EAAE,aAAyB,KAAI;AAC7E,YAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;AACxB,gBAAA,SAAS,EAAE,gBAAgB;gBAC3B,MAAM;gBACN,aAAa;AACd,aAAA,CAAC;AACJ,SAAC;AAEO,QAAA,IAAM,CAAA,MAAA,GAAG,MAAK;YACpB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO;YACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO;AAEvC,YAAA,IAAI,CAAC,IAAI,CAAC,cAAc,E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O,GAAG,MAAM,EAEtG,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,OAAO,GAAG,YAAY,GAAG,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;AACf,kBAAE,IAAI,CAAC,YAAY,CAAC;AACpB,kBAAE,CAAC,IAAI,CAAC;AACN,sBAAE,IAAI,CAAC,YAAY,CAAC;sBAClB,EAAE,EAEV,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EACtD,CAAA,EACf,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAW,IAAI,EAAC,SAAS,EAAA,EACtB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,KAC/B,CAAA,CAAA,gBAAA,EAAA;;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,IAAG;AACX,gBAAA,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;;AAG5B,SAAA,EAAA,MAAM,CAAC,KAAK,CACE,CAClB,CAAC,CACQ,CACC,CACX,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"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-D1u4OrAq.js","mappings":";;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,83FAA83F,CAAC;;MCiBl5F,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAU2B,QAAA,IAAO,CAAA,OAAA,GAAyB,OAAO;;AAGvC,QAAA,IAAoB,CAAA,oBAAA,GAA8C,EAAE;;AAGpE,QAAA,IAAiB,CAAA,iBAAA,GAAsC,EAAE;;AAGzD,QAAA,IAAgB,CAAA,gBAAA,GAAc,YAAY;AAEnE;;;;AAIG;AACK,QAAA,IAAO,CAAA,OAAA,GAAiC,EAAE;AAC1C,QAAA,IAAQ,CAAA,QAAA,GAAwB,EAAE;AAgBjC,QAAA,IAAgB,CAAA,gBAAA,GAAwB,EAAE;QAS3C,IAAA,CAAA,WAAW,GAAG,CAAC,MAAyB,EAAE,aAAyB,KAAI;AAC7E,YAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;AACxB,gBAAA,SAAS,EAAE,gBAAgB;gBAC3B,MAAM;gBACN,aAAa;AACd,aAAA,CAAC;AACJ,SAAC;AAEO,QAAA,IAAM,CAAA,MAAA,GAAG,MAAK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ement"],"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,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
2
2
  import { s as setPropsIfNull } from './p-Dk-EHN3E.js';
3
3
 
4
4
  const stzhActionsCss = () => `:host{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}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host ::slotted([slot=primary]),:host ::slotted([slot=secondary]),:host ::slotted([slot=tertiary]){flex-grow:1;margin:calc(var(--stzh-space-medium) / 2)}@media screen and (min-width: 600px){:host[space-between=true] ::slotted([slot=tertiary]){flex-grow:inherit}}.stzh-actions__actions{display:flex;flex-direction:column-reverse;margin:calc(var(--stzh-space-medium) / -2)}@media screen and (min-width: 600px){.stzh-actions__actions{flex-direction:row}}.stzh-actions__primary-actions,.stzh-actions__secondary-actions,.stzh-actions__tertiary-actions{display:flex}.stzh-actions__wrapper{display:contents}@media screen and (max-width: 599px){.stzh-actions--process .stzh-actions__wrapper{display:flex;flex-wrap:wrap}}.stzh-actions--process .stzh-actions__actions{justify-content:flex-end}@media screen and (max-width: 599px){.stzh-actions--process .stzh-actions__primary-actions,.stzh-actions--process .stzh-actions__secondary-actions{flex-grow:1}}@media screen and (min-width: 600px){.stzh-actions--process .stzh-actions__tertiary-actions{margin-right:auto}}.stzh-actions--search .stzh-actions__actions{justify-content:flex-end}.stzh-actions{}.stzh-actions--space-between .stzh-actions__actions{justify-content:space-between}@media screen and (min-width: 600px){.stzh-actions--space-between .stzh-actions__actions{flex-direction:column}}@media screen and (min-width: 900px){.stzh-actions--space-between .stzh-actions__actions{flex-direction:row}}@media screen and (min-width: 600px){.stzh-actions--space-between .stzh-actions__wrapper{display:flex;justify-content:flex-end}}`;
@@ -71,6 +71,6 @@ function defineCustomElement() {
71
71
  }
72
72
 
73
73
  export { StzhActions as S, defineCustomElement as d };
74
- //# sourceMappingURL=p-CDAjRg5y.js.map
74
+ //# sourceMappingURL=p-D4_fDMz3.js.map
75
75
 
76
- //# sourceMappingURL=p-CDAjRg5y.js.map
76
+ //# sourceMappingURL=p-D4_fDMz3.js.map
@@ -1 +1 @@
1
- {"file":"p-CDAjRg5y.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,MA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IAAI,CAAC,YAAY;YAChD,CAAC,CAAA,cAAA,EAAiB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SAClD;AAED,QAAA,QACE,CAAC,CAAA,IAAI,EAAgB,EAAA,GAAA,EAAA,0CAAA,EAAA,eAAA,EAAA,IAAI,CAAC,YAAY,EAAA,EACpC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO,EAAA,EAC7C,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gCAAgC,EAAA,EACzC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,UAAU,EAAA,CAAQ,CACzB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iCAAiC,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,WAAW,EAAA,CAAQ,CAC1B,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,+BAA+B,EAAA,EACxC,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAQ,CAAA,CACxB,CACF,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-actions/stzh-actions.scss?tag=stzh-actions&encapsulation=shadow","src/components/stzh-actions/stzh-actions.tsx"],"sourcesContent":[":host {\n ::slotted([slot=\"primary\"]),\n ::slotted([slot=\"secondary\"]),\n ::slotted([slot=\"tertiary\"]) {\n flex-grow: 1;\n margin: calc(#{space(\"medium\")} / 2);\n }\n\n &[space-between=\"true\"] ::slotted([slot=\"tertiary\"]) {\n @include mq($from: small) {\n flex-grow: inherit;\n }\n }\n}\n\n.stzh-actions {\n &__actions {\n display: flex;\n flex-direction: column-reverse;\n margin: calc(#{space(\"medium\")} / -2);\n\n @include mq($from: small) {\n flex-direction: row;\n }\n }\n\n &__primary-actions,\n &__secondary-actions,\n &__tertiary-actions {\n display: flex;\n }\n\n &__wrapper {\n display: contents;\n }\n\n // &--dialog &__actions {\n // justify-content: flex-end;\n // }\n\n &--process &__wrapper {\n @include mq($to: small) {\n display: flex;\n flex-wrap: wrap;\n }\n }\n\n &--process &__actions {\n justify-content: flex-end;\n }\n\n &--process &__primary-actions,\n &--process &__secondary-actions {\n @include mq($to: small) {\n flex-grow: 1;\n }\n }\n\n &--process &__tertiary-actions {\n @include mq($from: small) {\n margin-right: auto;\n }\n }\n\n &--search &__actions {\n justify-content: flex-end;\n }\n\n /* space between */\n &--space-between &__actions {\n justify-content: space-between;\n\n @include mq($from: small) {\n flex-direction: column;\n }\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &--space-between &__wrapper {\n @include mq($from: small) {\n display: flex;\n justify-content: flex-end;\n }\n }\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot primary - Slot for primary button\n * @slot secondary - Slot for secondary button\n * @slot tertiary - Slot for tertiary button\n */\n@Component({\n tag: \"stzh-actions\",\n styleUrl: \"stzh-actions.scss\",\n shadow: true,\n})\nexport class StzhActions {\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"form\" | \"dialog\" | \"process\" | \"search\" = \"form\";\n\n /** Whether to split tertiary and primary/secondary from each other (left and right). */\n @Prop({ reflect: true }) spaceBetween: boolean = false;\n\n @Element() element: HTMLStzhActionsElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const secondaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"secondary\"], [slot=\"secondary\"] stzh-button',\n );\n\n const tertiaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"tertiary\"], [slot=\"tertiary\"] stzh-button',\n );\n\n secondaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"secondary\",\n } as HTMLStzhButtonElement);\n });\n\n tertiaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-actions\": true,\n \"stzh-actions--space-between\": this.spaceBetween,\n [`stzh-actions--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host space-between={this.spaceBetween}>\n <div class={classes}>\n <div class=\"stzh-actions__actions\" role=\"group\">\n <div class=\"stzh-actions__tertiary-actions\">\n <slot name=\"tertiary\"></slot>\n </div>\n <div class=\"stzh-actions__wrapper\">\n <div class=\"stzh-actions__secondary-actions\">\n <slot name=\"secondary\"></slot>\n </div>\n <div class=\"stzh-actions__primary-actions\">\n <slot name=\"primary\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D4_fDMz3.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,u7EAAu7E,CAAC;;MCcz8E,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AALxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA6C,MAAM;;AAG1D,QAAA,IAAY,CAAA,YAAA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AC,YAAY,EAAA,EACpC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO,EAAA,EAC7C,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gCAAgC,EAAA,EACzC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,UAAU,EAAA,CAAQ,CACzB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iCAAiC,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,WAAW,EAAA,CAAQ,CAC1B,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,+BAA+B,EAAA,EACxC,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAQ,CAAA,CACxB,CACF,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-actions/stzh-actions.scss?tag=stzh-actions&encapsulation=shadow","src/components/stzh-actions/stzh-actions.tsx"],"sourcesContent":[":host {\n ::slotted([slot=\"primary\"]),\n ::slotted([slot=\"secondary\"]),\n ::slotted([slot=\"tertiary\"]) {\n flex-grow: 1;\n margin: calc(#{space(\"medium\")} / 2);\n }\n\n &[space-between=\"true\"] ::slotted([slot=\"tertiary\"]) {\n @include mq($from: small) {\n flex-grow: inherit;\n }\n }\n}\n\n.stzh-actions {\n &__actions {\n display: flex;\n flex-direction: column-reverse;\n margin: calc(#{space(\"medium\")} / -2);\n\n @include mq($from: small) {\n flex-direction: row;\n }\n }\n\n &__primary-actions,\n &__secondary-actions,\n &__tertiary-actions {\n display: flex;\n }\n\n &__wrapper {\n display: contents;\n }\n\n // &--dialog &__actions {\n // justify-content: flex-end;\n // }\n\n &--process &__wrapper {\n @include mq($to: small) {\n display: flex;\n flex-wrap: wrap;\n }\n }\n\n &--process &__actions {\n justify-content: flex-end;\n }\n\n &--process &__primary-actions,\n &--process &__secondary-actions {\n @include mq($to: small) {\n flex-grow: 1;\n }\n }\n\n &--process &__tertiary-actions {\n @include mq($from: small) {\n margin-right: auto;\n }\n }\n\n &--search &__actions {\n justify-content: flex-end;\n }\n\n /* space between */\n &--space-between &__actions {\n justify-content: space-between;\n\n @include mq($from: small) {\n flex-direction: column;\n }\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &--space-between &__wrapper {\n @include mq($from: small) {\n display: flex;\n justify-content: flex-end;\n }\n }\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot primary - Slot for primary button\n * @slot secondary - Slot for secondary button\n * @slot tertiary - Slot for tertiary button\n */\n@Component({\n tag: \"stzh-actions\",\n styleUrl: \"stzh-actions.scss\",\n shadow: true,\n})\nexport class StzhActions {\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"form\" | \"dialog\" | \"process\" | \"search\" = \"form\";\n\n /** Whether to split tertiary and primary/secondary from each other (left and right). */\n @Prop({ reflect: true }) spaceBetween: boolean = false;\n\n @Element() element: HTMLStzhActionsElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const secondaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"secondary\"], [slot=\"secondary\"] stzh-button',\n );\n\n const tertiaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"tertiary\"], [slot=\"tertiary\"] stzh-button',\n );\n\n secondaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"secondary\",\n } as HTMLStzhButtonElement);\n });\n\n tertiaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-actions\": true,\n \"stzh-actions--space-between\": this.spaceBetween,\n [`stzh-actions--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host space-between={this.spaceBetween}>\n <div class={classes}>\n <div class=\"stzh-actions__actions\" role=\"group\">\n <div class=\"stzh-actions__tertiary-actions\">\n <slot name=\"tertiary\"></slot>\n </div>\n <div class=\"stzh-actions__wrapper\">\n <div class=\"stzh-actions__secondary-actions\">\n <slot name=\"secondary\"></slot>\n </div>\n <div class=\"stzh-actions__primary-actions\">\n <slot name=\"primary\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
2
2
 
3
3
  const stzhListCss = () => `@charset "UTF-8";:host{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}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{--font-size:var(--stzh-list-font-size, var(--stzh-font-milli-font-size));--line-height:var(
4
4
  --stzh-list-line-height,
@@ -45,6 +45,6 @@ function defineCustomElement() {
45
45
  }
46
46
 
47
47
  export { StzhList as S, defineCustomElement as d };
48
- //# sourceMappingURL=p--kTA8A3t.js.map
48
+ //# sourceMappingURL=p-D7fY08-O.js.map
49
49
 
50
- //# sourceMappingURL=p--kTA8A3t.js.map
50
+ //# sourceMappingURL=p-D7fY08-O.js.map
@@ -1 +1 @@
1
- {"file":"p--kTA8A3t.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA,m4BAAm4B,CAAC;;MCIv3B,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA0C,WAAW;AAkBtF;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,WAAW,EAAE,IAAI;YACjB,CAAC,CAAA,WAAA,EAAc,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SAC/C;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,EAAA,EAC9B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list/stzh-list.scss?tag=stzh-list&encapsulation=shadow","src/components/stzh-list/stzh-list.tsx"],"sourcesContent":[":host {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-milli-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-milli-text-line-height)\n );\n --letter-spacing: var(--stzh-list-letter-spacing, normal);\n\n @include mq($from: medium) {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-centi-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-centi-text-line-height)\n );\n }\n\n counter-reset: li-counter;\n\n ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n counter-increment: li-counter;\n position: relative;\n }\n}\n\n:host([variant=\"unordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n\n &::before {\n content: \"–\"; // old one: \\2014\n }\n}\n\n:host([variant=\"ordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"large\")} + #{space(\"small\")});\n\n &::before {\n content: counter(li-counter) \". \";\n }\n}\n\n:host([variant=\"checklist\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: visible;\n\n padding-left: calc(#{iconSize(\"medium\")} + #{space(\"small\")});\n}\n\n.stzh-list {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-list-item`\n */\n@Component({\n tag: \"stzh-list\",\n styleUrl: \"stzh-list.scss\",\n shadow: true,\n})\nexport class StzhList {\n /** Variant */\n @Prop({ reflect: true }) variant: \"unordered\" | \"ordered\" | \"checklist\" = \"unordered\";\n\n @Element() element: HTMLStzhListElement;\n\n render() {\n const classes = {\n \"stzh-list\": true,\n [`stzh-list--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div class={classes} role=\"list\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D7fY08-O.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA,m4BAAm4B,CAAC;;MCIv3B,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA0C,WAAW;AAkBtF;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,WAAW,EAAE,IAAI;YACjB,CAAC,CAAA,WAAA,EAAc,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SAC/C;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,EAAA,EAC9B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list/stzh-list.scss?tag=stzh-list&encapsulation=shadow","src/components/stzh-list/stzh-list.tsx"],"sourcesContent":[":host {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-milli-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-milli-text-line-height)\n );\n --letter-spacing: var(--stzh-list-letter-spacing, normal);\n\n @include mq($from: medium) {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-centi-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-centi-text-line-height)\n );\n }\n\n counter-reset: li-counter;\n\n ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n counter-increment: li-counter;\n position: relative;\n }\n}\n\n:host([variant=\"unordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n\n &::before {\n content: \"–\"; // old one: \\2014\n }\n}\n\n:host([variant=\"ordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"large\")} + #{space(\"small\")});\n\n &::before {\n content: counter(li-counter) \". \";\n }\n}\n\n:host([variant=\"checklist\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: visible;\n\n padding-left: calc(#{iconSize(\"medium\")} + #{space(\"small\")});\n}\n\n.stzh-list {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-list-item`\n */\n@Component({\n tag: \"stzh-list\",\n styleUrl: \"stzh-list.scss\",\n shadow: true,\n})\nexport class StzhList {\n /** Variant */\n @Prop({ reflect: true }) variant: \"unordered\" | \"ordered\" | \"checklist\" = \"unordered\";\n\n @Element() element: HTMLStzhListElement;\n\n render() {\n const classes = {\n \"stzh-list\": true,\n [`stzh-list--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div class={classes} role=\"list\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-kwBmMJ76.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
2
2
  import { i as isStzhElement } from './p-Dk-EHN3E.js';
3
3
  import { a as addMediaChangeListener, r as removeMediaChangeListener, m as media } from './p-CUGRmgip.js';
4
4
 
@@ -676,6 +676,6 @@ function defineCustomElement() {
676
676
  }
677
677
 
678
678
  export { StzhCarousel as S, defineCustomElement as d };
679
- //# sourceMappingURL=p-B4t4nDXO.js.map
679
+ //# sourceMappingURL=p-DBcnovVn.js.map
680
680
 
681
- //# sourceMappingURL=p-B4t4nDXO.js.map
681
+ //# sourceMappingURL=p-DBcnovVn.js.map