@oiz/stzh-components 4.12.1-beta1 → 4.12.1

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 (836) hide show
  1. package/dist/cjs/{index-N0ol04NL.js → index-Cj3dPOnE.js} +3 -3
  2. package/dist/cjs/{index-N0ol04NL.js.map → index-Cj3dPOnE.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-components.cjs.js +1 -1
  31. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  46. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  66. package/dist/cjs/{stzh-input-description-Dbubu75V.js → stzh-input-description-IeBc75qD.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-Dbubu75V.js.map → stzh-input-description-IeBc75qD.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  69. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-message.cjs.entry.js +4 -4
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  137. package/dist/collection/components/stzh-message/stzh-message.js +5 -5
  138. package/dist/collection/components/stzh-message/stzh-message.js.map +1 -1
  139. package/dist/collection/components/stzh-message/stzh-message.stories.js +127 -2
  140. package/dist/components/index.js +2 -2
  141. package/dist/components/{p-DajXzNIS.js → p-5QD-jnDI.js} +3 -3
  142. package/dist/components/{p-DajXzNIS.js.map → p-5QD-jnDI.js.map} +1 -1
  143. package/dist/components/{p-C8p_ftK9.js → p-AGCnIH-Q.js} +3 -3
  144. package/dist/components/{p-C8p_ftK9.js.map → p-AGCnIH-Q.js.map} +1 -1
  145. package/dist/components/{p-B2I6UGb-.js → p-B1ilR8O2.js} +3 -3
  146. package/dist/components/{p-B2I6UGb-.js.map → p-B1ilR8O2.js.map} +1 -1
  147. package/dist/components/{p-B-Td5eEF.js → p-B3K72yyt.js} +3 -3
  148. package/dist/components/{p-B-Td5eEF.js.map → p-B3K72yyt.js.map} +1 -1
  149. package/dist/components/{p-SyDKOxzb.js → p-B4rimZ__.js} +3 -3
  150. package/dist/components/{p-SyDKOxzb.js.map → p-B4rimZ__.js.map} +1 -1
  151. package/dist/components/{p-ulFcx8BE.js → p-B7_vqC4s.js} +5 -5
  152. package/dist/components/{p-ulFcx8BE.js.map → p-B7_vqC4s.js.map} +1 -1
  153. package/dist/components/{p-Cq0yCqAz.js → p-BErZsbTE.js} +4 -4
  154. package/dist/components/{p-Cq0yCqAz.js.map → p-BErZsbTE.js.map} +1 -1
  155. package/dist/components/{p-CnJ7i4Ge.js → p-BJXTTK_V.js} +3 -3
  156. package/dist/components/{p-CnJ7i4Ge.js.map → p-BJXTTK_V.js.map} +1 -1
  157. package/dist/components/{p-VpVgAuYa.js → p-BKIlDLNH.js} +3 -3
  158. package/dist/components/{p-VpVgAuYa.js.map → p-BKIlDLNH.js.map} +1 -1
  159. package/dist/components/{p-DvQXjdsB.js → p-BNRtW-oE.js} +4 -4
  160. package/dist/components/{p-DvQXjdsB.js.map → p-BNRtW-oE.js.map} +1 -1
  161. package/dist/components/{p-B0HsC5lT.js → p-BOLjzZGE.js} +3 -3
  162. package/dist/components/{p-B0HsC5lT.js.map → p-BOLjzZGE.js.map} +1 -1
  163. package/dist/components/{p-XSAPGv74.js → p-BQkPv0M-.js} +3 -3
  164. package/dist/components/{p-XSAPGv74.js.map → p-BQkPv0M-.js.map} +1 -1
  165. package/dist/components/{p-o34Djtsg.js → p-BROnohFy.js} +6 -6
  166. package/dist/components/{p-o34Djtsg.js.map → p-BROnohFy.js.map} +1 -1
  167. package/dist/components/{p-CLC2TbXk.js → p-BVyHe4zB.js} +7 -7
  168. package/dist/components/{p-CLC2TbXk.js.map → p-BVyHe4zB.js.map} +1 -1
  169. package/dist/components/{p-DOs1ZWHT.js → p-BW2gjhHd.js} +7 -7
  170. package/dist/components/{p-DOs1ZWHT.js.map → p-BW2gjhHd.js.map} +1 -1
  171. package/dist/components/{p-DMh6Sy1I.js → p-BaMZCxiX.js} +9 -9
  172. package/dist/components/{p-DMh6Sy1I.js.map → p-BaMZCxiX.js.map} +1 -1
  173. package/dist/components/{p-dZ-dwebM.js → p-BdnKcZer.js} +11 -11
  174. package/dist/components/{p-dZ-dwebM.js.map → p-BdnKcZer.js.map} +1 -1
  175. package/dist/components/{p-B9l_iEm8.js → p-Bh1lCPM9.js} +3 -3
  176. package/dist/components/{p-B9l_iEm8.js.map → p-Bh1lCPM9.js.map} +1 -1
  177. package/dist/components/{p-CjdErtj_.js → p-BmZW5NzL.js} +7 -7
  178. package/dist/components/{p-CjdErtj_.js.map → p-BmZW5NzL.js.map} +1 -1
  179. package/dist/components/{p-DsHYayb4.js → p-Bnxt1olk.js} +5 -5
  180. package/dist/components/{p-DsHYayb4.js.map → p-Bnxt1olk.js.map} +1 -1
  181. package/dist/components/{p-H9Yh6P94.js → p-C3JKH-3Y.js} +11 -11
  182. package/dist/components/{p-H9Yh6P94.js.map → p-C3JKH-3Y.js.map} +1 -1
  183. package/dist/components/{p-RMVTGhIS.js → p-C7bl96a5.js} +8 -8
  184. package/dist/components/{p-RMVTGhIS.js.map → p-C7bl96a5.js.map} +1 -1
  185. package/dist/components/{p-CdY_9ADR.js → p-C9VQ8n2k.js} +3 -3
  186. package/dist/components/{p-CdY_9ADR.js.map → p-C9VQ8n2k.js.map} +1 -1
  187. package/dist/components/{p-DbtxIjHJ.js → p-CB6SGGWh.js} +12 -12
  188. package/dist/components/{p-DbtxIjHJ.js.map → p-CB6SGGWh.js.map} +1 -1
  189. package/dist/components/{p-zoQGoMI3.js → p-CC0Gv1-E.js} +3 -3
  190. package/dist/components/{p-zoQGoMI3.js.map → p-CC0Gv1-E.js.map} +1 -1
  191. package/dist/components/{p-BphPIp_9.js → p-CFzhqAe_.js} +6 -6
  192. package/dist/components/{p-BphPIp_9.js.map → p-CFzhqAe_.js.map} +1 -1
  193. package/dist/components/{p-C9g8C0mi.js → p-CHL7PZWx.js} +4 -4
  194. package/dist/components/{p-C9g8C0mi.js.map → p-CHL7PZWx.js.map} +1 -1
  195. package/dist/components/{p-C4RWomy3.js → p-CLg_b_CM.js} +3 -3
  196. package/dist/components/{p-C4RWomy3.js.map → p-CLg_b_CM.js.map} +1 -1
  197. package/dist/components/{p-DGZVtVjz.js → p-COE06LBm.js} +4 -4
  198. package/dist/components/{p-DGZVtVjz.js.map → p-COE06LBm.js.map} +1 -1
  199. package/dist/components/{p-CPrTAi5M.js → p-CUg-9OV-.js} +3 -3
  200. package/dist/components/{p-CPrTAi5M.js.map → p-CUg-9OV-.js.map} +1 -1
  201. package/dist/components/{p-DX6blqyR.js → p-CXxKSOOe.js} +7 -7
  202. package/dist/components/{p-DX6blqyR.js.map → p-CXxKSOOe.js.map} +1 -1
  203. package/dist/components/{p-C4ew4BWF.js → p-C_jR89kU.js} +7 -7
  204. package/dist/components/{p-C4ew4BWF.js.map → p-C_jR89kU.js.map} +1 -1
  205. package/dist/components/{p-Cb-REzD8.js → p-CaNZTZoV.js} +7 -7
  206. package/dist/components/{p-Cb-REzD8.js.map → p-CaNZTZoV.js.map} +1 -1
  207. package/dist/components/{p-CzWLgw4z.js → p-CfeU7ZQ3.js} +11 -11
  208. package/dist/components/{p-CzWLgw4z.js.map → p-CfeU7ZQ3.js.map} +1 -1
  209. package/dist/components/{p-CzvAx4N0.js → p-Chfmq0ty.js} +3 -3
  210. package/dist/components/{p-CzvAx4N0.js.map → p-Chfmq0ty.js.map} +1 -1
  211. package/dist/components/{p-BWt1OlCP.js → p-CjzcK4cD.js} +5 -5
  212. package/dist/components/{p-BWt1OlCP.js.map → p-CjzcK4cD.js.map} +1 -1
  213. package/dist/components/{p-CtfINZeC.js → p-CnS9iJUS.js} +3 -3
  214. package/dist/components/{p-CtfINZeC.js.map → p-CnS9iJUS.js.map} +1 -1
  215. package/dist/components/{p-5iYOoBns.js → p-CqIeGIYq.js} +3 -3
  216. package/dist/components/{p-5iYOoBns.js.map → p-CqIeGIYq.js.map} +1 -1
  217. package/dist/components/{p-pWmESorT.js → p-Cqgkebne.js} +3 -3
  218. package/dist/components/{p-pWmESorT.js.map → p-Cqgkebne.js.map} +1 -1
  219. package/dist/components/{p-BA-k3iZ-.js → p-D1qHu5Qi.js} +5 -5
  220. package/dist/components/{p-BA-k3iZ-.js.map → p-D1qHu5Qi.js.map} +1 -1
  221. package/dist/components/{p-BHnUxFJO.js → p-D4BnQdqZ.js} +3 -3
  222. package/dist/components/{p-BHnUxFJO.js.map → p-D4BnQdqZ.js.map} +1 -1
  223. package/dist/components/{p-BopctUFy.js → p-D7YAOnX0.js} +7 -7
  224. package/dist/components/{p-BopctUFy.js.map → p-D7YAOnX0.js.map} +1 -1
  225. package/dist/components/{p-B5bRe2QR.js → p-DF6aCFVH.js} +3 -3
  226. package/dist/components/{p-B5bRe2QR.js.map → p-DF6aCFVH.js.map} +1 -1
  227. package/dist/components/{p-DONIQb7T.js → p-DFNN4tQ9.js} +4 -4
  228. package/dist/components/{p-DONIQb7T.js.map → p-DFNN4tQ9.js.map} +1 -1
  229. package/dist/components/{p-Dn5GUbNz.js → p-DStLZwaI.js} +7 -7
  230. package/dist/components/{p-Dn5GUbNz.js.map → p-DStLZwaI.js.map} +1 -1
  231. package/dist/components/{p-DWVF3j-K.js → p-DX8rme7W.js} +3 -3
  232. package/dist/components/{p-DWVF3j-K.js.map → p-DX8rme7W.js.map} +1 -1
  233. package/dist/components/{p-C7Wum7Zf.js → p-DZ_hOgVb.js} +3 -3
  234. package/dist/components/{p-C7Wum7Zf.js.map → p-DZ_hOgVb.js.map} +1 -1
  235. package/dist/components/{p-D6v9nUys.js → p-DfpWfXtU.js} +6 -6
  236. package/dist/components/{p-D6v9nUys.js.map → p-DfpWfXtU.js.map} +1 -1
  237. package/dist/components/{p-DmE9OpGH.js → p-DgsPcRuX.js} +3 -3
  238. package/dist/components/{p-DmE9OpGH.js.map → p-DgsPcRuX.js.map} +1 -1
  239. package/dist/components/{p-8vUD5Pvs.js → p-G6s0H-yQ.js} +9 -9
  240. package/dist/components/{p-8vUD5Pvs.js.map → p-G6s0H-yQ.js.map} +1 -1
  241. package/dist/components/{p-Bouerm1u.js → p-HFkl_vzF.js} +5 -5
  242. package/dist/components/{p-Bouerm1u.js.map → p-HFkl_vzF.js.map} +1 -1
  243. package/dist/components/{p-DjTm4fFR.js → p-IifQDlUC.js} +3 -3
  244. package/dist/components/{p-DjTm4fFR.js.map → p-IifQDlUC.js.map} +1 -1
  245. package/dist/components/{p-BcfJQ2iG.js → p-LMO8z7aY.js} +9 -9
  246. package/dist/components/{p-BcfJQ2iG.js.map → p-LMO8z7aY.js.map} +1 -1
  247. package/dist/components/{p-DehXKx39.js → p-Nj7vgfBU.js} +10 -10
  248. package/dist/components/{p-DehXKx39.js.map → p-Nj7vgfBU.js.map} +1 -1
  249. package/dist/components/{p-DcQjVFab.js → p-RtvhBPkV.js} +3 -3
  250. package/dist/components/{p-DcQjVFab.js.map → p-RtvhBPkV.js.map} +1 -1
  251. package/dist/components/{p-KSZ8qiZE.js → p-RvRbhcRQ.js} +10 -10
  252. package/dist/components/{p-KSZ8qiZE.js.map → p-RvRbhcRQ.js.map} +1 -1
  253. package/dist/components/{p-Di88jQY_.js → p-U00jMEtY.js} +10 -10
  254. package/dist/components/{p-Di88jQY_.js.map → p-U00jMEtY.js.map} +1 -1
  255. package/dist/components/{p-BSx9yT8P.js → p-Yktwo3G-.js} +3 -3
  256. package/dist/components/{p-BSx9yT8P.js.map → p-Yktwo3G-.js.map} +1 -1
  257. package/dist/components/{p-Cg0FICEV.js → p-a_AFmDN-.js} +12 -12
  258. package/dist/components/{p-Cg0FICEV.js.map → p-a_AFmDN-.js.map} +1 -1
  259. package/dist/components/{p-CVwbuuw7.js → p-cNHNXCvC.js} +8 -8
  260. package/dist/components/{p-CVwbuuw7.js.map → p-cNHNXCvC.js.map} +1 -1
  261. package/dist/components/{p-Bq8KQiri.js → p-gRw8yRKG.js} +3 -3
  262. package/dist/components/{p-Bq8KQiri.js.map → p-gRw8yRKG.js.map} +1 -1
  263. package/dist/components/{p-BS1D_VQu.js → p-hX8escCp.js} +4 -4
  264. package/dist/components/{p-BS1D_VQu.js.map → p-hX8escCp.js.map} +1 -1
  265. package/dist/components/{p-BKzN4XU2.js → p-jcnUY7bc.js} +4 -4
  266. package/dist/components/{p-BKzN4XU2.js.map → p-jcnUY7bc.js.map} +1 -1
  267. package/dist/components/{p-CK7gMyRU.js → p-p0_NS-tW.js} +3 -3
  268. package/dist/components/{p-CK7gMyRU.js.map → p-p0_NS-tW.js.map} +1 -1
  269. package/dist/components/{p-UU-uJ6rm.js → p-ts8WMMWF.js} +6 -6
  270. package/dist/components/{p-UU-uJ6rm.js.map → p-ts8WMMWF.js.map} +1 -1
  271. package/dist/components/{p-B6XvNGiA.js → p-uzlslKFU.js} +6 -6
  272. package/dist/components/{p-B6XvNGiA.js.map → p-uzlslKFU.js.map} +1 -1
  273. package/dist/components/{p-nQojTf6Q.js → p-x2lzAuxg.js} +3 -3
  274. package/dist/components/{p-nQojTf6Q.js.map → p-x2lzAuxg.js.map} +1 -1
  275. package/dist/components/{p-SGLayYK3.js → p-zn9oE-TU.js} +3 -3
  276. package/dist/components/{p-SGLayYK3.js.map → p-zn9oE-TU.js.map} +1 -1
  277. package/dist/components/stzh-accordion-item.js +1 -1
  278. package/dist/components/stzh-accordion.js +1 -1
  279. package/dist/components/stzh-actions.js +1 -1
  280. package/dist/components/stzh-actionset.js +1 -1
  281. package/dist/components/stzh-amount.js +9 -9
  282. package/dist/components/stzh-anchornav.js +5 -5
  283. package/dist/components/stzh-app-nav.js +1 -1
  284. package/dist/components/stzh-appointments.js +13 -13
  285. package/dist/components/stzh-archivelist.js +7 -7
  286. package/dist/components/stzh-audio.js +5 -5
  287. package/dist/components/stzh-badge.js +1 -1
  288. package/dist/components/stzh-banner.js +4 -4
  289. package/dist/components/stzh-breadcrumb.js +1 -1
  290. package/dist/components/stzh-button.js +1 -1
  291. package/dist/components/stzh-buttongroup.js +1 -1
  292. package/dist/components/stzh-calendar.js +1 -1
  293. package/dist/components/stzh-card-navigation.js +2 -2
  294. package/dist/components/stzh-card-searchresult.js +14 -14
  295. package/dist/components/stzh-card-superteaser.js +14 -14
  296. package/dist/components/stzh-card.js +1 -1
  297. package/dist/components/stzh-cardlist.js +1 -1
  298. package/dist/components/stzh-carousel.js +1 -1
  299. package/dist/components/stzh-cell.js +1 -1
  300. package/dist/components/stzh-chart.js +1 -1
  301. package/dist/components/stzh-checkbox.js +1 -1
  302. package/dist/components/stzh-checkboxgroup.js +5 -5
  303. package/dist/components/stzh-chip.js +1 -1
  304. package/dist/components/stzh-chipgroup.js +1 -1
  305. package/dist/components/stzh-chipselect.js +1 -1
  306. package/dist/components/stzh-clamp.js +1 -1
  307. package/dist/components/stzh-company-logo.js +1 -1
  308. package/dist/components/stzh-contact-cv.js +4 -4
  309. package/dist/components/stzh-contact.js +10 -10
  310. package/dist/components/stzh-container.js +1 -1
  311. package/dist/components/stzh-content.js +1 -1
  312. package/dist/components/stzh-cspace.js +1 -1
  313. package/dist/components/stzh-cta.js +3 -3
  314. package/dist/components/stzh-datalist-item.js +1 -1
  315. package/dist/components/stzh-datalist.js +1 -1
  316. package/dist/components/stzh-datamessagelist-item.js +11 -11
  317. package/dist/components/stzh-datamessagelist.js +1 -1
  318. package/dist/components/stzh-datatable.js +17 -17
  319. package/dist/components/stzh-datepicker.js +1 -1
  320. package/dist/components/stzh-daterange.js +4 -4
  321. package/dist/components/stzh-details.js +1 -1
  322. package/dist/components/stzh-dialog.js +1 -1
  323. package/dist/components/stzh-disturber.js +4 -4
  324. package/dist/components/stzh-dropdown.js +1 -1
  325. package/dist/components/stzh-editor.js +4 -4
  326. package/dist/components/stzh-eventdata.js +1 -1
  327. package/dist/components/stzh-eventinfo.js +5 -5
  328. package/dist/components/stzh-feedreader-item.js +2 -2
  329. package/dist/components/stzh-feedreader.js +8 -8
  330. package/dist/components/stzh-fieldset.js +1 -1
  331. package/dist/components/stzh-figure.js +1 -1
  332. package/dist/components/stzh-flyingfocus.js +1 -1
  333. package/dist/components/stzh-footer.js +4 -4
  334. package/dist/components/stzh-gallery.js +8 -8
  335. package/dist/components/stzh-geo-ref-data.js +24 -24
  336. package/dist/components/stzh-ghettobox.js +4 -4
  337. package/dist/components/stzh-header.js +1 -1
  338. package/dist/components/stzh-heading.js +1 -1
  339. package/dist/components/stzh-homepage-search.js +2 -2
  340. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  341. package/dist/components/stzh-hr.js +1 -1
  342. package/dist/components/stzh-hspace.js +1 -1
  343. package/dist/components/stzh-http-error.js +7 -7
  344. package/dist/components/stzh-icon.js +1 -1
  345. package/dist/components/stzh-iframe.js +1 -1
  346. package/dist/components/stzh-imagecomparison.js +2 -2
  347. package/dist/components/stzh-input.js +1 -1
  348. package/dist/components/stzh-invert.js +1 -1
  349. package/dist/components/stzh-link.js +1 -1
  350. package/dist/components/stzh-linklist.js +10 -10
  351. package/dist/components/stzh-list-item.js +1 -1
  352. package/dist/components/stzh-list.js +1 -1
  353. package/dist/components/stzh-loader.js +1 -1
  354. package/dist/components/stzh-loadingbar.js +1 -1
  355. package/dist/components/stzh-menu-item.js +1 -1
  356. package/dist/components/stzh-menu.js +1 -1
  357. package/dist/components/stzh-message.js +1 -1
  358. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  359. package/dist/components/stzh-monthyearpicker.js +5 -5
  360. package/dist/components/stzh-offline-indicator.js +6 -6
  361. package/dist/components/stzh-olmap.js +1 -1
  362. package/dist/components/stzh-overlay.js +1 -1
  363. package/dist/components/stzh-page-skiplinks.js +1 -1
  364. package/dist/components/stzh-pagebottom.js +8 -8
  365. package/dist/components/stzh-pagecontent.js +1 -1
  366. package/dist/components/stzh-pagetitle-hero.js +1 -1
  367. package/dist/components/stzh-pagetitle-home.js +2 -2
  368. package/dist/components/stzh-pagetitle.js +2 -2
  369. package/dist/components/stzh-pagination.js +1 -1
  370. package/dist/components/stzh-panorama.js +11 -11
  371. package/dist/components/stzh-pi-content-navigation.js +3 -3
  372. package/dist/components/stzh-pi-menu.js +3 -3
  373. package/dist/components/stzh-pi-pagetitle.js +2 -2
  374. package/dist/components/stzh-pi-quote.js +1 -1
  375. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  376. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  377. package/dist/components/stzh-pi-teaser.js +2 -2
  378. package/dist/components/stzh-pkzh-qr.js +20 -20
  379. package/dist/components/stzh-popover.js +1 -1
  380. package/dist/components/stzh-print.js +1 -1
  381. package/dist/components/stzh-quote.js +1 -1
  382. package/dist/components/stzh-radio.js +1 -1
  383. package/dist/components/stzh-radiogroup.js +1 -1
  384. package/dist/components/stzh-rating.js +5 -5
  385. package/dist/components/stzh-ratio.js +1 -1
  386. package/dist/components/stzh-readspeaker.js +4 -4
  387. package/dist/components/stzh-richtext.js +2 -2
  388. package/dist/components/stzh-row.js +1 -1
  389. package/dist/components/stzh-saptcha.js +7 -7
  390. package/dist/components/stzh-scrollup.js +1 -1
  391. package/dist/components/stzh-search.js +16 -16
  392. package/dist/components/stzh-section.js +1 -1
  393. package/dist/components/stzh-share.js +1 -1
  394. package/dist/components/stzh-show.js +1 -1
  395. package/dist/components/stzh-sitemap.js +9 -9
  396. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  397. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  398. package/dist/components/stzh-skiplink.js +1 -1
  399. package/dist/components/stzh-socialmediastream-item.js +1 -1
  400. package/dist/components/stzh-socialmediastream.js +6 -6
  401. package/dist/components/stzh-sortable.js +1 -1
  402. package/dist/components/stzh-space.js +1 -1
  403. package/dist/components/stzh-status.js +1 -1
  404. package/dist/components/stzh-stepper-item.js +1 -1
  405. package/dist/components/stzh-stepper.js +3 -3
  406. package/dist/components/stzh-sticky-actions.js +2 -2
  407. package/dist/components/stzh-sticky.js +1 -1
  408. package/dist/components/stzh-table.js +1 -1
  409. package/dist/components/stzh-tag.js +1 -1
  410. package/dist/components/stzh-text.js +1 -1
  411. package/dist/components/stzh-textandimage.js +1 -1
  412. package/dist/components/stzh-timeline-item.js +3 -3
  413. package/dist/components/stzh-timeline.js +1 -1
  414. package/dist/components/stzh-timepicker.js +5 -5
  415. package/dist/components/stzh-toast.js +1 -1
  416. package/dist/components/stzh-toastbar.js +1 -1
  417. package/dist/components/stzh-toggle.js +5 -5
  418. package/dist/components/stzh-tooltip.js +1 -1
  419. package/dist/components/stzh-twocolumns.js +1 -1
  420. package/dist/components/stzh-upload.js +13 -13
  421. package/dist/components/stzh-vbz-carousel.js +2 -2
  422. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  423. package/dist/components/stzh-vbz-intro.js +5 -5
  424. package/dist/components/stzh-vbz-linechip.js +1 -1
  425. package/dist/components/stzh-vbz-majorticker.js +7 -7
  426. package/dist/components/stzh-vbz-ticker.js +7 -7
  427. package/dist/components/stzh-visuallyhidden.js +1 -1
  428. package/dist/components/stzh-vspace.js +1 -1
  429. package/dist/components/stzh-youtube.js +6 -6
  430. package/dist/esm/{index-BDy81lpO.js → index-Qb46gVIp.js} +3 -3
  431. package/dist/esm/{index-BDy81lpO.js.map → index-Qb46gVIp.js.map} +1 -1
  432. package/dist/esm/loader.js +2 -2
  433. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  434. package/dist/esm/stzh-actions_6.entry.js +1 -1
  435. package/dist/esm/stzh-actionset.entry.js +1 -1
  436. package/dist/esm/stzh-amount.entry.js +1 -1
  437. package/dist/esm/stzh-anchornav.entry.js +1 -1
  438. package/dist/esm/stzh-app-nav.entry.js +1 -1
  439. package/dist/esm/stzh-appointments.entry.js +1 -1
  440. package/dist/esm/stzh-archivelist.entry.js +1 -1
  441. package/dist/esm/stzh-audio.entry.js +1 -1
  442. package/dist/esm/stzh-badge_3.entry.js +1 -1
  443. package/dist/esm/stzh-banner.entry.js +1 -1
  444. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  445. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  446. package/dist/esm/stzh-calendar.entry.js +1 -1
  447. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  448. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  449. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  450. package/dist/esm/stzh-card_2.entry.js +1 -1
  451. package/dist/esm/stzh-carousel.entry.js +1 -1
  452. package/dist/esm/stzh-chart.entry.js +1 -1
  453. package/dist/esm/stzh-checkbox.entry.js +2 -2
  454. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  455. package/dist/esm/stzh-chip_2.entry.js +2 -2
  456. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  457. package/dist/esm/stzh-clamp.entry.js +1 -1
  458. package/dist/esm/stzh-company-logo.entry.js +1 -1
  459. package/dist/esm/stzh-components.js +2 -2
  460. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  461. package/dist/esm/stzh-contact.entry.js +1 -1
  462. package/dist/esm/stzh-container_2.entry.js +1 -1
  463. package/dist/esm/stzh-content.entry.js +1 -1
  464. package/dist/esm/stzh-cta.entry.js +1 -1
  465. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  466. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  467. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  468. package/dist/esm/stzh-datatable.entry.js +1 -1
  469. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  470. package/dist/esm/stzh-daterange.entry.js +1 -1
  471. package/dist/esm/stzh-details.entry.js +1 -1
  472. package/dist/esm/stzh-dialog.entry.js +1 -1
  473. package/dist/esm/stzh-disturber.entry.js +1 -1
  474. package/dist/esm/stzh-dropdown.entry.js +2 -2
  475. package/dist/esm/stzh-editor.entry.js +1 -1
  476. package/dist/esm/stzh-eventdata.entry.js +1 -1
  477. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  478. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  479. package/dist/esm/stzh-feedreader.entry.js +1 -1
  480. package/dist/esm/stzh-figure.entry.js +1 -1
  481. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  482. package/dist/esm/stzh-footer.entry.js +1 -1
  483. package/dist/esm/stzh-gallery.entry.js +1 -1
  484. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  485. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  486. package/dist/esm/stzh-header_3.entry.js +1 -1
  487. package/dist/esm/stzh-heading.entry.js +1 -1
  488. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  489. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  490. package/dist/esm/stzh-hr.entry.js +1 -1
  491. package/dist/esm/stzh-hspace.entry.js +1 -1
  492. package/dist/esm/stzh-http-error.entry.js +1 -1
  493. package/dist/esm/stzh-iframe.entry.js +1 -1
  494. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  495. package/dist/esm/{stzh-input-description-D2d54L27.js → stzh-input-description-CkiDnZXP.js} +3 -3
  496. package/dist/esm/{stzh-input-description-D2d54L27.js.map → stzh-input-description-CkiDnZXP.js.map} +1 -1
  497. package/dist/esm/stzh-input.entry.js +2 -2
  498. package/dist/esm/stzh-invert.entry.js +1 -1
  499. package/dist/esm/stzh-link.entry.js +1 -1
  500. package/dist/esm/stzh-linklist.entry.js +1 -1
  501. package/dist/esm/stzh-list_2.entry.js +1 -1
  502. package/dist/esm/stzh-loader.entry.js +1 -1
  503. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  504. package/dist/esm/stzh-menu_2.entry.js +1 -1
  505. package/dist/esm/stzh-message.entry.js +4 -4
  506. package/dist/esm/stzh-message.entry.js.map +1 -1
  507. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  508. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  509. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  510. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  511. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  512. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  513. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  514. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  515. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  516. package/dist/esm/stzh-panorama.entry.js +1 -1
  517. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  518. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  519. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  520. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  521. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  522. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  523. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  524. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  525. package/dist/esm/stzh-popover.entry.js +1 -1
  526. package/dist/esm/stzh-print_2.entry.js +1 -1
  527. package/dist/esm/stzh-quote.entry.js +1 -1
  528. package/dist/esm/stzh-rating.entry.js +2 -2
  529. package/dist/esm/stzh-ratio.entry.js +1 -1
  530. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  531. package/dist/esm/stzh-richtext.entry.js +1 -1
  532. package/dist/esm/stzh-saptcha.entry.js +1 -1
  533. package/dist/esm/stzh-scrollup.entry.js +1 -1
  534. package/dist/esm/stzh-search.entry.js +1 -1
  535. package/dist/esm/stzh-section.entry.js +1 -1
  536. package/dist/esm/stzh-show.entry.js +1 -1
  537. package/dist/esm/stzh-sitemap.entry.js +1 -1
  538. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  539. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  540. package/dist/esm/stzh-skiplink.entry.js +1 -1
  541. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  542. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  543. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  544. package/dist/esm/stzh-stepper.entry.js +1 -1
  545. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  546. package/dist/esm/stzh-sticky.entry.js +1 -1
  547. package/dist/esm/stzh-table.entry.js +1 -1
  548. package/dist/esm/stzh-text.entry.js +1 -1
  549. package/dist/esm/stzh-textandimage.entry.js +1 -1
  550. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  551. package/dist/esm/stzh-timeline.entry.js +1 -1
  552. package/dist/esm/stzh-timepicker.entry.js +1 -1
  553. package/dist/esm/stzh-toast_2.entry.js +1 -1
  554. package/dist/esm/stzh-toggle.entry.js +2 -2
  555. package/dist/esm/stzh-tooltip.entry.js +1 -1
  556. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  557. package/dist/esm/stzh-upload.entry.js +2 -2
  558. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  559. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  560. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  561. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  562. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  563. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  564. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  565. package/dist/esm/stzh-vspace.entry.js +1 -1
  566. package/dist/esm/stzh-youtube.entry.js +1 -1
  567. package/dist/stzh-components/{p-69f5276e.entry.js → p-0134136f.entry.js} +2 -2
  568. package/dist/stzh-components/{p-2e1efcc9.entry.js → p-02cb3aae.entry.js} +2 -2
  569. package/dist/stzh-components/{p-9957d575.entry.js → p-033c3b6b.entry.js} +2 -2
  570. package/dist/stzh-components/{p-f442969e.entry.js → p-055e9962.entry.js} +2 -2
  571. package/dist/stzh-components/{p-6aa53daf.entry.js → p-0795bbcd.entry.js} +2 -2
  572. package/dist/stzh-components/{p-b663c8f6.entry.js → p-09f28398.entry.js} +2 -2
  573. package/dist/stzh-components/{p-32cd07f2.entry.js → p-0cd89ab9.entry.js} +2 -2
  574. package/dist/stzh-components/{p-1f1aac25.entry.js → p-0cf712e6.entry.js} +2 -2
  575. package/dist/stzh-components/{p-1db6f565.entry.js → p-0dd74312.entry.js} +2 -2
  576. package/dist/stzh-components/{p-0dc95d03.entry.js → p-0ed4cd7e.entry.js} +2 -2
  577. package/dist/stzh-components/{p-0a1eb5fd.entry.js → p-1021e488.entry.js} +2 -2
  578. package/dist/stzh-components/{p-158b16e0.entry.js → p-10c5d519.entry.js} +2 -2
  579. package/dist/stzh-components/{p-45452a45.entry.js → p-1341927f.entry.js} +2 -2
  580. package/dist/stzh-components/{p-67b2d82d.entry.js → p-14d86c1d.entry.js} +2 -2
  581. package/dist/stzh-components/{p-d215409f.entry.js → p-18237cd2.entry.js} +2 -2
  582. package/dist/stzh-components/{p-bfa62b65.entry.js → p-19cc2896.entry.js} +2 -2
  583. package/dist/stzh-components/{p-120fc2f7.entry.js → p-1b92110f.entry.js} +2 -2
  584. package/dist/stzh-components/{p-f1a64a00.entry.js → p-1bb272ca.entry.js} +2 -2
  585. package/dist/stzh-components/{p-0df1be19.entry.js → p-20735c80.entry.js} +2 -2
  586. package/dist/stzh-components/{p-78f63571.entry.js → p-216a9cc6.entry.js} +2 -2
  587. package/dist/stzh-components/{p-1c3942a6.entry.js → p-234bf6bf.entry.js} +2 -2
  588. package/dist/stzh-components/{p-d3209381.entry.js → p-23cdc8a4.entry.js} +2 -2
  589. package/dist/stzh-components/{p-85cb6ac3.entry.js → p-2940951b.entry.js} +2 -2
  590. package/dist/stzh-components/{p-8e4ecd25.entry.js → p-2baa284a.entry.js} +2 -2
  591. package/dist/stzh-components/{p-233a253c.entry.js → p-2c30f74d.entry.js} +2 -2
  592. package/dist/stzh-components/{p-7f825eff.entry.js → p-2d09b8b3.entry.js} +2 -2
  593. package/dist/stzh-components/{p-0e3d6349.entry.js → p-3084c3a5.entry.js} +2 -2
  594. package/dist/stzh-components/{p-968ef9db.entry.js → p-326b55a2.entry.js} +2 -2
  595. package/dist/stzh-components/{p-e93dbde4.entry.js → p-32a41205.entry.js} +2 -2
  596. package/dist/stzh-components/{p-d3969952.entry.js → p-37aae8ac.entry.js} +3 -3
  597. package/dist/stzh-components/{p-645c7fba.entry.js → p-390766ab.entry.js} +3 -3
  598. package/dist/stzh-components/{p-2683a93d.entry.js → p-3edfb735.entry.js} +2 -2
  599. package/dist/stzh-components/{p-65a6428c.entry.js → p-414a3145.entry.js} +2 -2
  600. package/dist/stzh-components/{p-65e3833f.entry.js → p-42628b3a.entry.js} +2 -2
  601. package/dist/stzh-components/{p-f3276383.entry.js → p-42707a5b.entry.js} +2 -2
  602. package/dist/stzh-components/{p-0747c17b.entry.js → p-42e5eb19.entry.js} +2 -2
  603. package/dist/stzh-components/{p-c5986c0b.entry.js → p-43882380.entry.js} +2 -2
  604. package/dist/stzh-components/{p-375f8787.entry.js → p-4640481a.entry.js} +2 -2
  605. package/dist/stzh-components/{p-94eed7e7.entry.js → p-4b928978.entry.js} +2 -2
  606. package/dist/stzh-components/{p-8bc9e95b.entry.js → p-4eefbac4.entry.js} +2 -2
  607. package/dist/stzh-components/{p-59da8df1.entry.js → p-51d869eb.entry.js} +2 -2
  608. package/dist/stzh-components/{p-f301a05c.entry.js → p-5204cd86.entry.js} +2 -2
  609. package/dist/stzh-components/{p-5b7298a4.entry.js → p-58882212.entry.js} +2 -2
  610. package/dist/stzh-components/{p-32258f20.entry.js → p-5f86ac2c.entry.js} +2 -2
  611. package/dist/stzh-components/{p-ae8fe7f0.entry.js → p-60c3106c.entry.js} +2 -2
  612. package/dist/stzh-components/{p-0f6a6d68.entry.js → p-61aa75b0.entry.js} +2 -2
  613. package/dist/stzh-components/{p-931abfe7.entry.js → p-61c9ed2d.entry.js} +2 -2
  614. package/dist/stzh-components/{p-6e6064a5.entry.js → p-61d59943.entry.js} +2 -2
  615. package/dist/stzh-components/{p-561fd23e.entry.js → p-62ffe60a.entry.js} +2 -2
  616. package/dist/stzh-components/{p-d1a50145.entry.js → p-647a80da.entry.js} +2 -2
  617. package/dist/stzh-components/{p-752e3cd8.entry.js → p-64b3d4c2.entry.js} +2 -2
  618. package/dist/stzh-components/{p-17c76b7f.entry.js → p-6a798b0a.entry.js} +2 -2
  619. package/dist/stzh-components/{p-75ffb877.entry.js → p-6c517443.entry.js} +2 -2
  620. package/dist/stzh-components/{p-67e2ea65.entry.js → p-6ca9c23c.entry.js} +2 -2
  621. package/dist/stzh-components/{p-46c5b453.entry.js → p-6cd6392a.entry.js} +2 -2
  622. package/dist/stzh-components/{p-9c4e1649.entry.js → p-6ecf3d10.entry.js} +2 -2
  623. package/dist/stzh-components/{p-0e45d2de.entry.js → p-70b8ed74.entry.js} +2 -2
  624. package/dist/stzh-components/{p-5ebd56ff.entry.js → p-71291933.entry.js} +2 -2
  625. package/dist/stzh-components/{p-e51cd413.entry.js → p-73a79275.entry.js} +2 -2
  626. package/dist/stzh-components/{p-f18c1bc6.entry.js → p-745161ef.entry.js} +2 -2
  627. package/dist/stzh-components/{p-0cac70a3.entry.js → p-7635b6f5.entry.js} +2 -2
  628. package/dist/stzh-components/{p-38a9cabf.entry.js → p-7960db96.entry.js} +2 -2
  629. package/dist/stzh-components/{p-e6626ed6.entry.js → p-7a726c47.entry.js} +2 -2
  630. package/dist/stzh-components/{p-92d54e6a.entry.js → p-7aca0e23.entry.js} +2 -2
  631. package/dist/stzh-components/{p-fc96a153.entry.js → p-7f6e2c50.entry.js} +2 -2
  632. package/dist/stzh-components/{p-0fe0982a.entry.js → p-7fc9372f.entry.js} +2 -2
  633. package/dist/stzh-components/{p-b2fcc490.entry.js → p-80503011.entry.js} +2 -2
  634. package/dist/stzh-components/{p-fd0e8627.entry.js → p-83a059a0.entry.js} +2 -2
  635. package/dist/stzh-components/{p-68692aca.entry.js → p-86ffdc58.entry.js} +2 -2
  636. package/dist/stzh-components/{p-39217901.entry.js → p-90807e9e.entry.js} +2 -2
  637. package/dist/stzh-components/{p-8735dc17.entry.js → p-923deb7b.entry.js} +2 -2
  638. package/dist/stzh-components/{p-e92a11b6.entry.js → p-93afea50.entry.js} +2 -2
  639. package/dist/stzh-components/{p-aed15ee1.entry.js → p-94f25b97.entry.js} +2 -2
  640. package/dist/stzh-components/{p-33c80dea.entry.js → p-96c7ceb0.entry.js} +2 -2
  641. package/dist/stzh-components/{p-aef3c5ac.entry.js → p-99b23557.entry.js} +2 -2
  642. package/dist/stzh-components/{p-dbe53670.entry.js → p-9f3bbad2.entry.js} +2 -2
  643. package/dist/stzh-components/{p-D4oTGvdl.js → p-Be8ir2AL.js} +2 -2
  644. package/dist/stzh-components/{p-D4oTGvdl.js.map → p-Be8ir2AL.js.map} +1 -1
  645. package/dist/stzh-components/p-Qb46gVIp.js +3 -0
  646. package/dist/stzh-components/{p-BDy81lpO.js.map → p-Qb46gVIp.js.map} +1 -1
  647. package/dist/stzh-components/{p-deb5310a.entry.js → p-a1e07163.entry.js} +2 -2
  648. package/dist/stzh-components/{p-4dfa25ec.entry.js → p-a29de908.entry.js} +2 -2
  649. package/dist/stzh-components/{p-d9ceb9a1.entry.js → p-a41ed36a.entry.js} +2 -2
  650. package/dist/stzh-components/{p-f1e336dc.entry.js → p-a6209841.entry.js} +2 -2
  651. package/dist/stzh-components/{p-cd9b9eac.entry.js → p-a711447d.entry.js} +2 -2
  652. package/dist/stzh-components/{p-5f862749.entry.js → p-a7bed4b7.entry.js} +2 -2
  653. package/dist/stzh-components/{p-cc579b5c.entry.js → p-a85ed304.entry.js} +2 -2
  654. package/dist/stzh-components/{p-8a9f9b42.entry.js → p-a96614ae.entry.js} +2 -2
  655. package/dist/stzh-components/{p-e27591a6.entry.js → p-ac647202.entry.js} +2 -2
  656. package/dist/stzh-components/{p-c0b4f81f.entry.js → p-aee4a2ae.entry.js} +2 -2
  657. package/dist/stzh-components/{p-1b39c90b.entry.js → p-af4ea4bc.entry.js} +6 -6
  658. package/dist/stzh-components/{p-52d757b2.entry.js → p-af59c189.entry.js} +2 -2
  659. package/dist/stzh-components/{p-01cb747a.entry.js → p-b47d51d7.entry.js} +2 -2
  660. package/dist/stzh-components/{p-75dad6c7.entry.js → p-b4d3dd64.entry.js} +2 -2
  661. package/dist/stzh-components/{p-963b4a81.entry.js → p-b6d762b2.entry.js} +2 -2
  662. package/dist/stzh-components/{p-07639e2e.entry.js → p-b7b21a8c.entry.js} +2 -2
  663. package/dist/stzh-components/{p-c9972340.entry.js → p-b8f44c79.entry.js} +5 -5
  664. package/dist/stzh-components/{p-82d1f2f4.entry.js → p-bae8c063.entry.js} +2 -2
  665. package/dist/stzh-components/{p-58d6b294.entry.js → p-bc3af3b4.entry.js} +2 -2
  666. package/dist/stzh-components/{p-70b10351.entry.js → p-bd256924.entry.js} +2 -2
  667. package/dist/stzh-components/{p-6c3de48d.entry.js → p-c297a620.entry.js} +2 -2
  668. package/dist/stzh-components/{p-7a1296d4.entry.js → p-c5157043.entry.js} +2 -2
  669. package/dist/stzh-components/{p-e84a2d9e.entry.js → p-c52c1aef.entry.js} +2 -2
  670. package/dist/stzh-components/{p-74494120.entry.js → p-cbef543b.entry.js} +2 -2
  671. package/dist/stzh-components/{p-97a89608.entry.js → p-ced452d5.entry.js} +2 -2
  672. package/dist/stzh-components/{p-3816c34e.entry.js → p-cf40ac5b.entry.js} +2 -2
  673. package/dist/stzh-components/{p-42f4c28d.entry.js → p-d21526d5.entry.js} +2 -2
  674. package/dist/stzh-components/{p-25df4336.entry.js → p-d2acf05b.entry.js} +2 -2
  675. package/dist/stzh-components/{p-c471680d.entry.js → p-d434e9ef.entry.js} +2 -2
  676. package/dist/stzh-components/{p-7bb32473.entry.js → p-d7470d02.entry.js} +2 -2
  677. package/dist/stzh-components/{p-539bb440.entry.js → p-d7668a3b.entry.js} +2 -2
  678. package/dist/stzh-components/{p-e2f97240.entry.js → p-d7ce73a1.entry.js} +2 -2
  679. package/dist/stzh-components/{p-deb499e2.entry.js → p-d80119b5.entry.js} +2 -2
  680. package/dist/stzh-components/{p-54d92856.entry.js → p-d94cc86b.entry.js} +2 -2
  681. package/dist/stzh-components/{p-dd01dcf6.entry.js → p-d9d0a469.entry.js} +2 -2
  682. package/dist/stzh-components/{p-f4243fa8.entry.js → p-dc72b0de.entry.js} +2 -2
  683. package/dist/stzh-components/{p-64c9a8f7.entry.js → p-dfb3d918.entry.js} +2 -2
  684. package/dist/stzh-components/{p-79823ee9.entry.js → p-e19b6d8c.entry.js} +2 -2
  685. package/dist/stzh-components/{p-3c861eb0.entry.js → p-e236ee82.entry.js} +2 -2
  686. package/dist/stzh-components/{p-5198a930.entry.js → p-e5675129.entry.js} +2 -2
  687. package/dist/stzh-components/{p-44df0e58.entry.js → p-e7e813f8.entry.js} +2 -2
  688. package/dist/stzh-components/{p-bb16873e.entry.js → p-e8b7bf12.entry.js} +2 -2
  689. package/dist/stzh-components/{p-85ac6d83.entry.js → p-e8e9ceff.entry.js} +2 -2
  690. package/dist/stzh-components/{p-e281a715.entry.js → p-e947cbc0.entry.js} +3 -3
  691. package/dist/stzh-components/{p-8f956678.entry.js → p-e95ee8a4.entry.js} +2 -2
  692. package/dist/stzh-components/{p-759099e2.entry.js → p-ec817cb2.entry.js} +2 -2
  693. package/dist/stzh-components/{p-9337582a.entry.js → p-ecd3be50.entry.js} +2 -2
  694. package/dist/stzh-components/{p-cd10adbb.entry.js → p-ed8062c2.entry.js} +2 -2
  695. package/dist/stzh-components/{p-7da86126.entry.js → p-edffd239.entry.js} +2 -2
  696. package/dist/stzh-components/{p-09219622.entry.js → p-ef8e4a95.entry.js} +2 -2
  697. package/dist/stzh-components/{p-8d558e1d.entry.js → p-f51d4bbe.entry.js} +2 -2
  698. package/dist/stzh-components/{p-856faa3f.entry.js → p-facf3e9e.entry.js} +2 -2
  699. package/dist/stzh-components/{p-8e34c9c9.entry.js → p-fb25534f.entry.js} +2 -2
  700. package/dist/stzh-components/{p-bc622b2a.entry.js → p-ff03f780.entry.js} +2 -2
  701. package/dist/stzh-components/stzh-components.esm.js +1 -1
  702. package/dist/types/components/stzh-message/stzh-message.d.ts +2 -2
  703. package/dist/types/components.d.ts +2 -2
  704. package/dist/vscode-data.json +1 -1
  705. package/package.json +1 -1
  706. package/dist/stzh-components/p-BDy81lpO.js +0 -3
  707. /package/dist/stzh-components/{p-69f5276e.entry.js.map → p-0134136f.entry.js.map} +0 -0
  708. /package/dist/stzh-components/{p-2e1efcc9.entry.js.map → p-02cb3aae.entry.js.map} +0 -0
  709. /package/dist/stzh-components/{p-9957d575.entry.js.map → p-033c3b6b.entry.js.map} +0 -0
  710. /package/dist/stzh-components/{p-f442969e.entry.js.map → p-055e9962.entry.js.map} +0 -0
  711. /package/dist/stzh-components/{p-6aa53daf.entry.js.map → p-0795bbcd.entry.js.map} +0 -0
  712. /package/dist/stzh-components/{p-b663c8f6.entry.js.map → p-09f28398.entry.js.map} +0 -0
  713. /package/dist/stzh-components/{p-32cd07f2.entry.js.map → p-0cd89ab9.entry.js.map} +0 -0
  714. /package/dist/stzh-components/{p-1f1aac25.entry.js.map → p-0cf712e6.entry.js.map} +0 -0
  715. /package/dist/stzh-components/{p-1db6f565.entry.js.map → p-0dd74312.entry.js.map} +0 -0
  716. /package/dist/stzh-components/{p-0dc95d03.entry.js.map → p-0ed4cd7e.entry.js.map} +0 -0
  717. /package/dist/stzh-components/{p-0a1eb5fd.entry.js.map → p-1021e488.entry.js.map} +0 -0
  718. /package/dist/stzh-components/{p-158b16e0.entry.js.map → p-10c5d519.entry.js.map} +0 -0
  719. /package/dist/stzh-components/{p-45452a45.entry.js.map → p-1341927f.entry.js.map} +0 -0
  720. /package/dist/stzh-components/{p-67b2d82d.entry.js.map → p-14d86c1d.entry.js.map} +0 -0
  721. /package/dist/stzh-components/{p-d215409f.entry.js.map → p-18237cd2.entry.js.map} +0 -0
  722. /package/dist/stzh-components/{p-bfa62b65.entry.js.map → p-19cc2896.entry.js.map} +0 -0
  723. /package/dist/stzh-components/{p-120fc2f7.entry.js.map → p-1b92110f.entry.js.map} +0 -0
  724. /package/dist/stzh-components/{p-f1a64a00.entry.js.map → p-1bb272ca.entry.js.map} +0 -0
  725. /package/dist/stzh-components/{p-0df1be19.entry.js.map → p-20735c80.entry.js.map} +0 -0
  726. /package/dist/stzh-components/{p-78f63571.entry.js.map → p-216a9cc6.entry.js.map} +0 -0
  727. /package/dist/stzh-components/{p-1c3942a6.entry.js.map → p-234bf6bf.entry.js.map} +0 -0
  728. /package/dist/stzh-components/{p-d3209381.entry.js.map → p-23cdc8a4.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-85cb6ac3.entry.js.map → p-2940951b.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-8e4ecd25.entry.js.map → p-2baa284a.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-233a253c.entry.js.map → p-2c30f74d.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-7f825eff.entry.js.map → p-2d09b8b3.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-0e3d6349.entry.js.map → p-3084c3a5.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-968ef9db.entry.js.map → p-326b55a2.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-e93dbde4.entry.js.map → p-32a41205.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-d3969952.entry.js.map → p-37aae8ac.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-645c7fba.entry.js.map → p-390766ab.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-2683a93d.entry.js.map → p-3edfb735.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-65a6428c.entry.js.map → p-414a3145.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-65e3833f.entry.js.map → p-42628b3a.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-f3276383.entry.js.map → p-42707a5b.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-0747c17b.entry.js.map → p-42e5eb19.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-c5986c0b.entry.js.map → p-43882380.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-375f8787.entry.js.map → p-4640481a.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-94eed7e7.entry.js.map → p-4b928978.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-8bc9e95b.entry.js.map → p-4eefbac4.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-59da8df1.entry.js.map → p-51d869eb.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-f301a05c.entry.js.map → p-5204cd86.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-5b7298a4.entry.js.map → p-58882212.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-32258f20.entry.js.map → p-5f86ac2c.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-ae8fe7f0.entry.js.map → p-60c3106c.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-0f6a6d68.entry.js.map → p-61aa75b0.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-931abfe7.entry.js.map → p-61c9ed2d.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-6e6064a5.entry.js.map → p-61d59943.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-561fd23e.entry.js.map → p-62ffe60a.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-d1a50145.entry.js.map → p-647a80da.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-752e3cd8.entry.js.map → p-64b3d4c2.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-17c76b7f.entry.js.map → p-6a798b0a.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-75ffb877.entry.js.map → p-6c517443.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-67e2ea65.entry.js.map → p-6ca9c23c.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-46c5b453.entry.js.map → p-6cd6392a.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-9c4e1649.entry.js.map → p-6ecf3d10.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-0e45d2de.entry.js.map → p-70b8ed74.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-5ebd56ff.entry.js.map → p-71291933.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-e51cd413.entry.js.map → p-73a79275.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-f18c1bc6.entry.js.map → p-745161ef.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-0cac70a3.entry.js.map → p-7635b6f5.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-38a9cabf.entry.js.map → p-7960db96.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-e6626ed6.entry.js.map → p-7a726c47.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-92d54e6a.entry.js.map → p-7aca0e23.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-fc96a153.entry.js.map → p-7f6e2c50.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-0fe0982a.entry.js.map → p-7fc9372f.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-b2fcc490.entry.js.map → p-80503011.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-fd0e8627.entry.js.map → p-83a059a0.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-68692aca.entry.js.map → p-86ffdc58.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-39217901.entry.js.map → p-90807e9e.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-8735dc17.entry.js.map → p-923deb7b.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-e92a11b6.entry.js.map → p-93afea50.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-aed15ee1.entry.js.map → p-94f25b97.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-33c80dea.entry.js.map → p-96c7ceb0.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-aef3c5ac.entry.js.map → p-99b23557.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-dbe53670.entry.js.map → p-9f3bbad2.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-deb5310a.entry.js.map → p-a1e07163.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-4dfa25ec.entry.js.map → p-a29de908.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-d9ceb9a1.entry.js.map → p-a41ed36a.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-f1e336dc.entry.js.map → p-a6209841.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-cd9b9eac.entry.js.map → p-a711447d.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-5f862749.entry.js.map → p-a7bed4b7.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-cc579b5c.entry.js.map → p-a85ed304.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-8a9f9b42.entry.js.map → p-a96614ae.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-e27591a6.entry.js.map → p-ac647202.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-c0b4f81f.entry.js.map → p-aee4a2ae.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-1b39c90b.entry.js.map → p-af4ea4bc.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-52d757b2.entry.js.map → p-af59c189.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-01cb747a.entry.js.map → p-b47d51d7.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-75dad6c7.entry.js.map → p-b4d3dd64.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-963b4a81.entry.js.map → p-b6d762b2.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-07639e2e.entry.js.map → p-b7b21a8c.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-c9972340.entry.js.map → p-b8f44c79.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-82d1f2f4.entry.js.map → p-bae8c063.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-58d6b294.entry.js.map → p-bc3af3b4.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-70b10351.entry.js.map → p-bd256924.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-6c3de48d.entry.js.map → p-c297a620.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-7a1296d4.entry.js.map → p-c5157043.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-e84a2d9e.entry.js.map → p-c52c1aef.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-74494120.entry.js.map → p-cbef543b.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-97a89608.entry.js.map → p-ced452d5.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-3816c34e.entry.js.map → p-cf40ac5b.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-42f4c28d.entry.js.map → p-d21526d5.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-25df4336.entry.js.map → p-d2acf05b.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-c471680d.entry.js.map → p-d434e9ef.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-7bb32473.entry.js.map → p-d7470d02.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-539bb440.entry.js.map → p-d7668a3b.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-e2f97240.entry.js.map → p-d7ce73a1.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-deb499e2.entry.js.map → p-d80119b5.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-54d92856.entry.js.map → p-d94cc86b.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-dd01dcf6.entry.js.map → p-d9d0a469.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-f4243fa8.entry.js.map → p-dc72b0de.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-64c9a8f7.entry.js.map → p-dfb3d918.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-79823ee9.entry.js.map → p-e19b6d8c.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-3c861eb0.entry.js.map → p-e236ee82.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-5198a930.entry.js.map → p-e5675129.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-44df0e58.entry.js.map → p-e7e813f8.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-bb16873e.entry.js.map → p-e8b7bf12.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-85ac6d83.entry.js.map → p-e8e9ceff.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-e281a715.entry.js.map → p-e947cbc0.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-8f956678.entry.js.map → p-e95ee8a4.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-759099e2.entry.js.map → p-ec817cb2.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-9337582a.entry.js.map → p-ecd3be50.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-cd10adbb.entry.js.map → p-ed8062c2.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-7da86126.entry.js.map → p-edffd239.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-09219622.entry.js.map → p-ef8e4a95.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-8d558e1d.entry.js.map → p-f51d4bbe.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-856faa3f.entry.js.map → p-facf3e9e.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-8e34c9c9.entry.js.map → p-fb25534f.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-bc622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ACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n\n @media (forced-colors: active) {\n --color: SelectedItemText;\n --background-color: SelectedItem;\n --hover-color: SelectedItemText;\n --hover-background-color: SelectedItem;\n }\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n\n @media (forced-colors: active) {\n --color: GrayText;\n --background-color: Gray;\n --hover-color: GrayText;\n --hover-background-color: Gray;\n }\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CjzcK4cD.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,0hKAA0hK,CAAC;;MCsB7iK,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAAoB,SAAS;;AAGpC,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAM/C,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAS,CAAA,SAAA,GAAkB,SAAS;;AAGpC,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGxC,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;AA0Bn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nB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACzB,KAEJ,CACE,CAAA,QAAA,EAAA,EAAA,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n\n @media (forced-colors: active) {\n --color: SelectedItemText;\n --background-color: SelectedItem;\n --hover-color: SelectedItemText;\n --hover-background-color: SelectedItem;\n }\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n\n @media (forced-colors: active) {\n --color: GrayText;\n --background-color: Gray;\n --hover-color: GrayText;\n --hover-background-color: Gray;\n }\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
2
  import { a as api } from './p-Cpg2gH_9.js';
3
3
 
4
4
  const stzhShowCss = () => `: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{--show-display:contents;--hide-display:none;--current-display:var(--hide-display);display:var(--current-display)}:host([mikro]){--current-display:var(--show-display)}:host([mikro=false]){--current-display:var(--hide-display)}@media screen and (min-width: 600px){:host([small]){--current-display:var(--show-display)}}@media screen and (min-width: 600px){:host([small=false]){--current-display:var(--hide-display)}}@media screen and (min-width: 900px){:host([medium]){--current-display:var(--show-display)}}@media screen and (min-width: 900px){:host([medium=false]){--current-display:var(--hide-display)}}@media screen and (min-width: 1260px){:host([large]){--current-display:var(--show-display)}}@media screen and (min-width: 1260px){:host([large=false]){--current-display:var(--hide-display)}}@media screen and (min-width: 1600px){:host([ultra]){--current-display:var(--show-display)}}@media screen and (min-width: 1600px){:host([ultra=false]){--current-display:var(--hide-display)}}`;
@@ -95,6 +95,6 @@ function defineCustomElement() {
95
95
  }
96
96
 
97
97
  export { StzhShow as S, defineCustomElement as d };
98
- //# sourceMappingURL=p-CtfINZeC.js.map
98
+ //# sourceMappingURL=p-CnS9iJUS.js.map
99
99
 
100
- //# sourceMappingURL=p-CtfINZeC.js.map
100
+ //# sourceMappingURL=p-CnS9iJUS.js.map
@@ -1 +1 @@
1
- {"file":"p-CtfINZeC.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,MAAM,CA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AG,IAAI;;;AAIzB,QAAA,IAAI,CAAC,cAAc,GAAG,cAAc;;AAItC,IAAA,mBAAmB,CAAC,QAAuB,EAAA;AACzC,QAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAChC,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI;;aACpD;AACL,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ;;;IAQjC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC;AAC3C,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC;;IAG7C,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE;QAE1B,QACE,CAAC,CAAA,IAAI,qDACH,MAAM,EACJ,CAAC,IAAI,CAAC,aAAa,IAAI,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE;AAC9D,iBAAC,IAAI,CAAC,aAAa,IAAI,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;AAC/D,gBAAA,IAAI,CAAC,cAAc,EAAA,EAGrB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","Cookie"],"sources":["src/components/stzh-show/stzh-show.scss?tag=stzh-show&encapsulation=shadow","src/components/stzh-show/stzh-show.tsx"],"sourcesContent":["/**\n * @prop --show-display: Display value that is used when content is shown (default `block`)\n * @prop --hide-display: Display value that is used when content is hidden (default `none`)\n * @prop --current-display: Current display value (readonly)\n */\n\n:host {\n --show-display: contents;\n --hide-display: none;\n --current-display: var(--hide-display);\n\n display: var(--current-display);\n}\n\n/* Mikro */\n\n:host([mikro]) {\n --current-display: var(--show-display);\n}\n\n:host([mikro=\"false\"]) {\n --current-display: var(--hide-display);\n}\n\n/* Small */\n\n:host([small]) {\n @include mq($from: small) {\n --current-display: var(--show-display);\n }\n}\n\n:host([small=\"false\"]) {\n @include mq($from: small) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Medium */\n\n:host([medium]) {\n @include mq($from: medium) {\n --current-display: var(--show-display);\n }\n}\n\n:host([medium=\"false\"]) {\n @include mq($from: medium) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Large */\n\n:host([large]) {\n @include mq($from: large) {\n --current-display: var(--show-display);\n }\n}\n\n:host([large=\"false\"]) {\n @include mq($from: large) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Ultra */\n\n:host([ultra]) {\n @include mq($from: ultra) {\n --current-display: var(--show-display);\n }\n}\n\n:host([ultra=\"false\"]) {\n @include mq($from: ultra) {\n --current-display: var(--hide-display);\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhBannerCloseEvent, StzhGhettoboxCloseEvent, StzhMessageCloseEvent } from \"../../index\";\n\nimport Cookie from \"js-cookie\";\n\nconst KEY_PREFIX_CLOSE = \"stzh-components-show-close\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true,\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Show from date */\n @Prop() showFromDate: Date | string;\n private _showFromDate: Date;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n /**\n * Close cookie name key.\n * Component will check for the cookie (stzh-components-show-close-{name})\n * and if not empty (component inside already closed before) will hide show.\n * Will also compare with showFromDate if given, to make sure cookie was set after showFromDate (otherwise will show again).\n */\n @Prop() closeKey: string = \"\";\n\n @Listen(\"stzhClose\")\n closeWatcher(event: CustomEvent<StzhBannerCloseEvent | StzhMessageCloseEvent | StzhGhettoboxCloseEvent>) {\n if ([\"stzh-banner\", \"stzh-message\", \"stzh-ghettobox\"].includes(event.detail.component)) {\n if (this.closeKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE}-${this.closeKey}`, Date.now().toString());\n }\n }\n }\n\n @Watch(\"showFromDate\")\n showFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._showFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._showFromDate = newValue;\n }\n\n let closedByCookie = false;\n\n if (this.closeKey) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE}-${this.closeKey}`);\n\n if (timeClosed && (!this._showFromDate || Number(timeClosed) >= this._showFromDate.getTime())) {\n closedByCookie = true;\n }\n }\n\n this.closedByCookie = closedByCookie;\n }\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n private closedByCookie: boolean = false;\n\n componentWillLoad() {\n this.showFromDateWatcher(this.showFromDate);\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n const timeNow = Date.now();\n\n return (\n <Host\n hidden={\n (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||\n (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||\n this.closedByCookie\n }\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CnS9iJUS.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,k3DAAk3D,CAAC;;ACM94D,MAAM,gBAAgB,GAAG,4BAA4B;MAUxC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAA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AO,QAAQ,KAAK,QAAQ,EAAE;AAChC,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI;;aACpD;AACL,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ;;;IAQjC,iBAAiB,GAAA;AACf,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC;AAC3C,QAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC;;IAG7C,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE;QAE1B,QACE,CAAC,CAAA,IAAI,qDACH,MAAM,EACJ,CAAC,IAAI,CAAC,aAAa,IAAI,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE;AAC9D,iBAAC,IAAI,CAAC,aAAa,IAAI,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;AAC/D,gBAAA,IAAI,CAAC,cAAc,EAAA,EAGrB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","Cookie"],"sources":["src/components/stzh-show/stzh-show.scss?tag=stzh-show&encapsulation=shadow","src/components/stzh-show/stzh-show.tsx"],"sourcesContent":["/**\n * @prop --show-display: Display value that is used when content is shown (default `block`)\n * @prop --hide-display: Display value that is used when content is hidden (default `none`)\n * @prop --current-display: Current display value (readonly)\n */\n\n:host {\n --show-display: contents;\n --hide-display: none;\n --current-display: var(--hide-display);\n\n display: var(--current-display);\n}\n\n/* Mikro */\n\n:host([mikro]) {\n --current-display: var(--show-display);\n}\n\n:host([mikro=\"false\"]) {\n --current-display: var(--hide-display);\n}\n\n/* Small */\n\n:host([small]) {\n @include mq($from: small) {\n --current-display: var(--show-display);\n }\n}\n\n:host([small=\"false\"]) {\n @include mq($from: small) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Medium */\n\n:host([medium]) {\n @include mq($from: medium) {\n --current-display: var(--show-display);\n }\n}\n\n:host([medium=\"false\"]) {\n @include mq($from: medium) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Large */\n\n:host([large]) {\n @include mq($from: large) {\n --current-display: var(--show-display);\n }\n}\n\n:host([large=\"false\"]) {\n @include mq($from: large) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Ultra */\n\n:host([ultra]) {\n @include mq($from: ultra) {\n --current-display: var(--show-display);\n }\n}\n\n:host([ultra=\"false\"]) {\n @include mq($from: ultra) {\n --current-display: var(--hide-display);\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhBannerCloseEvent, StzhGhettoboxCloseEvent, StzhMessageCloseEvent } from \"../../index\";\n\nimport Cookie from \"js-cookie\";\n\nconst KEY_PREFIX_CLOSE = \"stzh-components-show-close\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true,\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Show from date */\n @Prop() showFromDate: Date | string;\n private _showFromDate: Date;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n /**\n * Close cookie name key.\n * Component will check for the cookie (stzh-components-show-close-{name})\n * and if not empty (component inside already closed before) will hide show.\n * Will also compare with showFromDate if given, to make sure cookie was set after showFromDate (otherwise will show again).\n */\n @Prop() closeKey: string = \"\";\n\n @Listen(\"stzhClose\")\n closeWatcher(event: CustomEvent<StzhBannerCloseEvent | StzhMessageCloseEvent | StzhGhettoboxCloseEvent>) {\n if ([\"stzh-banner\", \"stzh-message\", \"stzh-ghettobox\"].includes(event.detail.component)) {\n if (this.closeKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE}-${this.closeKey}`, Date.now().toString());\n }\n }\n }\n\n @Watch(\"showFromDate\")\n showFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._showFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._showFromDate = newValue;\n }\n\n let closedByCookie = false;\n\n if (this.closeKey) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE}-${this.closeKey}`);\n\n if (timeClosed && (!this._showFromDate || Number(timeClosed) >= this._showFromDate.getTime())) {\n closedByCookie = true;\n }\n }\n\n this.closedByCookie = closedByCookie;\n }\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n private closedByCookie: boolean = false;\n\n componentWillLoad() {\n this.showFromDateWatcher(this.showFromDate);\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n const timeNow = Date.now();\n\n return (\n <Host\n hidden={\n (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||\n (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||\n this.closedByCookie\n }\n >\n <slot></slot>\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-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
2
 
3
3
  const stzhTextCss = () => `.sc-stzh-text-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-text-h,[stzh-hidden].sc-stzh-text-h{display:none}.sc-stzh-text-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-text-h *.sc-stzh-text,.sc-stzh-text-h *.sc-stzh-text::before,.sc-stzh-text-h *.sc-stzh-text::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-text-h .has-focus.sc-stzh-text{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-text-h .stzh-fylingfocus-focused.sc-stzh-text{outline-style:none !important}.sc-stzh-text-h .stzh-fylingfocus-focused.sc-stzh-text::-moz-focus-inner{border:0 !important}.sc-stzh-text-h{--icon-size:1.25em;--icon-vertical-align:text-bottom;--color:var(--stzh-base-color);--display:var(--stzh-text-display, block);width:100%;color:var(--color);--grid-template-areas:var(
4
4
  --stzh-text-grid-template-areas,
@@ -82,6 +82,6 @@ function defineCustomElement() {
82
82
  }
83
83
 
84
84
  export { StzhText as S, defineCustomElement as d };
85
- //# sourceMappingURL=p-5iYOoBns.js.map
85
+ //# sourceMappingURL=p-CqIeGIYq.js.map
86
86
 
87
- //# sourceMappingURL=p-5iYOoBns.js.map
87
+ //# sourceMappingURL=p-CqIeGIYq.js.map
@@ -1 +1 @@
1
- {"file":"p-5iYOoBns.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6/qCAA6/qC,CAAC;;MCFj/qC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAI,CAAA,IAAA,GAAe,SAAS;;AAGX,QAAA,I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,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;AAC9D,aAAA,EAAA,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAQ,CACrB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-text/stzh-text.scss?tag=stzh-text&encapsulation=scoped","src/components/stzh-text/stzh-text.tsx"],"sourcesContent":["/**\n * @prop --color: Text color (also `color` can be overwritten)\n * @prop --icon-size: Icon size\n * @prop --icon-vertical-align: Icon vertical alignment\n *\n * @prop --stzh-base-color: **Global**: Text color\n * @prop --stzh-base-lead-color: **Global**: Lead text color\n */\n\n:host {\n --icon-size: 1.25em;\n --icon-vertical-align: text-bottom;\n --color: #{$baseColor};\n --display: var(--stzh-text-display, block);\n\n width: 100%;\n color: var(--color);\n\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumns}\n );\n\n @include mq($from: small) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n ::slotted(*:first-child) {\n margin-top: 0 !important;\n }\n\n ::slotted(*:last-child) {\n margin-bottom: 0 !important;\n }\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n\n @media (hover: none) {\n color: inherit;\n }\n }\n }\n\n ::slotted(b),\n ::slotted(strong),\n ::slotted(* b),\n ::slotted(* strong) {\n @include font(\"heavy\");\n }\n\n ::slotted(i),\n ::slotted(em),\n ::slotted(* i),\n ::slotted(* em) {\n @include font;\n }\n\n &[lead]:not([lead=\"false\"]) {\n --color: #{$baseLeadColor};\n }\n\n &[color=\"primary\"] {\n --color: #{$colorPrimary70};\n }\n\n &[color=\"secondary\"] {\n --color: #{$colorSecondary60};\n }\n\n &[color=\"info\"] {\n --color: #{$textInfoColor};\n }\n\n &[color=\"inherit\"] {\n --color: initial;\n }\n}\n\n.stzh-text {\n --stzh-icon-size: var(--icon-size);\n --stzh-icon-vertical-align: var(--icon-vertical-align);\n\n --stzh-list-font-size: \"\";\n --stzh-list-line-height: \"\";\n --stzh-list-letter-spacing: \"\";\n\n // default font styling without attributes\n @include fontCurve($textFontCurveDefault);\n @include gridGutter;\n display: var(--display);\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n color: var(--color);\n\n &__text {\n grid-area: text;\n display: flex;\n }\n\n &__icon {\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: 0.25em;\n }\n }\n\n &__text-inner {\n flex-grow: 1;\n }\n\n /* Lead variant */\n\n &--is-lead {\n @include font(\"heavy\");\n @include fontCurve(\"lead\", \"lead\");\n }\n\n /* Font variants */\n\n @each $font, $value in $fonts {\n &--font-#{$font} {\n @include font($font);\n }\n }\n\n /* Curve variants */\n\n &--curve-none {\n font-size: inherit;\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName);\n }\n }\n\n /* Size variants when consumer wants to overwrite predefined font curves */\n\n @each $size, $value in $fontSizes {\n &--size-#{$size} {\n @include fontSize($size);\n }\n }\n\n @each $breakpoint, $size in $breakpoints {\n @each $size, $value in $fontSizes {\n &--size-#{$breakpoint}-#{$size} {\n @include mq($from: $breakpoint) {\n @include fontSize($size);\n }\n }\n }\n }\n}\n\n.stzh-text__text-inner {\n text-overflow: var(--text-overflow, clip);\n white-space: var(--white-space, normal);\n overflow: var(--overflow, visible);\n width: var(--width, initial);\n max-width: var(--max-width, initial);\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for text and icons\n * @slot icon - Slot for icon that should be on left side of the text (not inline)\n */\n@Component({\n tag: \"stzh-text\",\n styleUrl: \"stzh-text.scss\",\n scoped: true,\n})\nexport class StzhText {\n /** Font used */\n @Prop() font: Font.Fonts = \"default\";\n\n /** Type of curve (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves = \"default\";\n\n /** Whether if text is lead text */\n @Prop({ reflect: true }) lead: boolean = false;\n\n /** Color used */\n @Prop({ reflect: true }) color: \"default\" | \"primary\" | \"secondary\" | \"info\" | \"inherit\" = \"default\";\n\n /** Manually overwrite font size applied by curve attribute (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() size: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above small breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeSmall: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above medium breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeMedium: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above large breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeLarge: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above ultra breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeUltra: Font.Sizes | \"inherit\" = \"inherit\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-text\": true,\n \"stzh-text--is-lead\": this.lead,\n [`stzh-text--font-${this.font}`]: !!this.font,\n [`stzh-text--curve-${this.curve}`]: !!this.curve,\n [`stzh-text--size-${this.size}`]: !!this.size,\n [`stzh-text--size-small-${this.sizeSmall}`]: !!this.sizeSmall,\n [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,\n [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,\n [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,\n }}\n >\n <div class=\"stzh-text__text\">\n <div class=\"stzh-text__icon\">\n <slot name=\"icon\"></slot>\n </div>\n <div class=\"stzh-text__text-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CqIeGIYq.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6/qCAA6/qC,CAAC;;MCFj/qC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAI,CAAA,IAAA,GAAe,SAAS;;AAGX,QAAA,IAAK,CAAA,KAAA,GAAgB,SAAS;;AAG9B,QAAA,IAAI,CAAA,IAAA,GAAY,KAA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,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAQ,CACrB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-text/stzh-text.scss?tag=stzh-text&encapsulation=scoped","src/components/stzh-text/stzh-text.tsx"],"sourcesContent":["/**\n * @prop --color: Text color (also `color` can be overwritten)\n * @prop --icon-size: Icon size\n * @prop --icon-vertical-align: Icon vertical alignment\n *\n * @prop --stzh-base-color: **Global**: Text color\n * @prop --stzh-base-lead-color: **Global**: Lead text color\n */\n\n:host {\n --icon-size: 1.25em;\n --icon-vertical-align: text-bottom;\n --color: #{$baseColor};\n --display: var(--stzh-text-display, block);\n\n width: 100%;\n color: var(--color);\n\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumns}\n );\n\n @include mq($from: small) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n ::slotted(*:first-child) {\n margin-top: 0 !important;\n }\n\n ::slotted(*:last-child) {\n margin-bottom: 0 !important;\n }\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n\n @media (hover: none) {\n color: inherit;\n }\n }\n }\n\n ::slotted(b),\n ::slotted(strong),\n ::slotted(* b),\n ::slotted(* strong) {\n @include font(\"heavy\");\n }\n\n ::slotted(i),\n ::slotted(em),\n ::slotted(* i),\n ::slotted(* em) {\n @include font;\n }\n\n &[lead]:not([lead=\"false\"]) {\n --color: #{$baseLeadColor};\n }\n\n &[color=\"primary\"] {\n --color: #{$colorPrimary70};\n }\n\n &[color=\"secondary\"] {\n --color: #{$colorSecondary60};\n }\n\n &[color=\"info\"] {\n --color: #{$textInfoColor};\n }\n\n &[color=\"inherit\"] {\n --color: initial;\n }\n}\n\n.stzh-text {\n --stzh-icon-size: var(--icon-size);\n --stzh-icon-vertical-align: var(--icon-vertical-align);\n\n --stzh-list-font-size: \"\";\n --stzh-list-line-height: \"\";\n --stzh-list-letter-spacing: \"\";\n\n // default font styling without attributes\n @include fontCurve($textFontCurveDefault);\n @include gridGutter;\n display: var(--display);\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n color: var(--color);\n\n &__text {\n grid-area: text;\n display: flex;\n }\n\n &__icon {\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: 0.25em;\n }\n }\n\n &__text-inner {\n flex-grow: 1;\n }\n\n /* Lead variant */\n\n &--is-lead {\n @include font(\"heavy\");\n @include fontCurve(\"lead\", \"lead\");\n }\n\n /* Font variants */\n\n @each $font, $value in $fonts {\n &--font-#{$font} {\n @include font($font);\n }\n }\n\n /* Curve variants */\n\n &--curve-none {\n font-size: inherit;\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName);\n }\n }\n\n /* Size variants when consumer wants to overwrite predefined font curves */\n\n @each $size, $value in $fontSizes {\n &--size-#{$size} {\n @include fontSize($size);\n }\n }\n\n @each $breakpoint, $size in $breakpoints {\n @each $size, $value in $fontSizes {\n &--size-#{$breakpoint}-#{$size} {\n @include mq($from: $breakpoint) {\n @include fontSize($size);\n }\n }\n }\n }\n}\n\n.stzh-text__text-inner {\n text-overflow: var(--text-overflow, clip);\n white-space: var(--white-space, normal);\n overflow: var(--overflow, visible);\n width: var(--width, initial);\n max-width: var(--max-width, initial);\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for text and icons\n * @slot icon - Slot for icon that should be on left side of the text (not inline)\n */\n@Component({\n tag: \"stzh-text\",\n styleUrl: \"stzh-text.scss\",\n scoped: true,\n})\nexport class StzhText {\n /** Font used */\n @Prop() font: Font.Fonts = \"default\";\n\n /** Type of curve (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves = \"default\";\n\n /** Whether if text is lead text */\n @Prop({ reflect: true }) lead: boolean = false;\n\n /** Color used */\n @Prop({ reflect: true }) color: \"default\" | \"primary\" | \"secondary\" | \"info\" | \"inherit\" = \"default\";\n\n /** Manually overwrite font size applied by curve attribute (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() size: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above small breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeSmall: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above medium breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeMedium: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above large breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeLarge: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above ultra breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeUltra: Font.Sizes | \"inherit\" = \"inherit\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-text\": true,\n \"stzh-text--is-lead\": this.lead,\n [`stzh-text--font-${this.font}`]: !!this.font,\n [`stzh-text--curve-${this.curve}`]: !!this.curve,\n [`stzh-text--size-${this.size}`]: !!this.size,\n [`stzh-text--size-small-${this.sizeSmall}`]: !!this.sizeSmall,\n [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,\n [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,\n [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,\n }}\n >\n <div class=\"stzh-text__text\">\n <div class=\"stzh-text__icon\">\n <slot name=\"icon\"></slot>\n </div>\n <div class=\"stzh-text__text-inner\">\n <slot></slot>\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-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
2
 
3
3
  const stzhStatusCss = () => `.sc-stzh-status-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-status-h,[stzh-hidden].sc-stzh-status-h{display:none}.sc-stzh-status-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-status-h *.sc-stzh-status,.sc-stzh-status-h *.sc-stzh-status::before,.sc-stzh-status-h *.sc-stzh-status::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-status-h .has-focus.sc-stzh-status{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-status-h .stzh-fylingfocus-focused.sc-stzh-status{outline-style:none !important}.sc-stzh-status-h .stzh-fylingfocus-focused.sc-stzh-status::-moz-focus-inner{border:0 !important}.sc-stzh-status-h{--bar-height:0.25rem;--color:var(--stzh-base-color);--min-width:none}[with-loadingbar].sc-stzh-status-h:not([with-loadingbar=false]){--min-width:10rem}[type=success].sc-stzh-status-h{--color:var(--stzh-color-success70)}[type=warning].sc-stzh-status-h{--color:var(--stzh-color-warning90)}[type=error].sc-stzh-status-h{--color:var(--stzh-color-error70)}[type=info].sc-stzh-status-h{--color:var(--stzh-color-midnightblue70)}.stzh-status.sc-stzh-status{min-width:var(--min-width);color:var(--color)}.stzh-status__dot.sc-stzh-status{border-radius:50%;width:0.75rem;height:0.75rem;background-color:currentColor;margin-right:var(--stzh-space-xxsmall)}@media (forced-colors: active){.stzh-status__dot.sc-stzh-status{forced-color-adjust:preserve-parent-color}}.stzh-status__bar.sc-stzh-status{display:block;height:var(--bar-height);border-radius:0.75rem;background-color:var(--stzh-color-old-grey13);margin-top:var(--stzh-space-xxsmall)}@media (forced-colors: active){.stzh-status__bar.sc-stzh-status{--bar-height:0.375rem;border-radius:0;outline:0.125rem solid CanvasText;outline-offset:-0.125rem}}.stzh-status__bar-inner.sc-stzh-status{position:relative;display:block;height:100%;width:0;border-radius:0.75rem;background:currentColor}@media (forced-colors: active){.stzh-status__bar-inner.sc-stzh-status{border-radius:0;outline:0.125rem solid SelectedItem;outline-offset:-0.125rem;background-color:SelectedItem}}.stzh-status__text.sc-stzh-status{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:flex;align-items:center}`;
4
4
 
@@ -49,6 +49,6 @@ function defineCustomElement() {
49
49
  }
50
50
 
51
51
  export { StzhStatus as S, defineCustomElement as d };
52
- //# sourceMappingURL=p-pWmESorT.js.map
52
+ //# sourceMappingURL=p-Cqgkebne.js.map
53
53
 
54
- //# sourceMappingURL=p-pWmESorT.js.map
54
+ //# sourceMappingURL=p-Cqgkebne.js.map
@@ -1 +1 @@
1
- {"file":"p-pWmESorT.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,gpFAAgpF,CAAC;;MCWjqF,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAO,CAAA,OAAA,GAAW,CAAC;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAGhD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAmB,SAAS;AA+B1D;IA3BC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,aAAa,EAAE,IAAI;YACnB,CAAC,CAAA,kBAAA,EAAqB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC3B,CAAC,IAAI,CAAC,cAAc,IAAI,4DAAK,KAAK,EAAC,kBAAkB,EAAO,CAAA,EAC5D,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,oBAAoB,EAAA,EAAE,IAAI,CAAC,KAAK,CAAO,CAC7D,EACL,IAAI,CAAC,cAAc,KAClB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAG,CAAA,CAAA;AAC1B,aAAA,EAAA,CACI,CACH,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","src/components/stzh-status/stzh-status.tsx"],"sourcesContent":["/**\n * @prop --color: Status color text\n */\n\n:host {\n --bar-height: 4px;\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning90};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError70};\n }\n\n &[type=\"info\"] {\n --color: #{$colorMidnightblue70};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__bar {\n display: block;\n height: var(--bar-height);\n border-radius: 12px;\n background-color: $colorOldGrey13;\n margin-top: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n --bar-height: 6px;\n border-radius: 0;\n outline: 2px solid CanvasText;\n outline-offset: -2px;\n }\n }\n\n &__bar-inner {\n position: relative;\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n\n @media (forced-colors: active) {\n border-radius: 0;\n outline: 2px solid SelectedItem;\n outline-offset: -2px;\n background-color: SelectedItem;\n }\n }\n\n &__text {\n @include fontSize(\"micro\");\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { StzhStatusType } from \"../../index\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true,\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhStatusType = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n {!this.withLoadingbar && <div class=\"stzh-status__dot\"></div>}\n {this.label && <div class=\"stzh-status__label\">{this.label}</div>}\n </div>\n {this.withLoadingbar && (\n <div class=\"stzh-status__bar\">\n <div\n class=\"stzh-status__bar-inner\"\n style={{\n width: `${this.percent}%`,\n }}\n ></div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-Cqgkebne.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,gpFAAgpF,CAAC;;MCWjqF,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAO,CAAA,OAAA,GAAW,CAAC;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAGhD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAmB,SAAS;AA+B1D;IA3BC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,aAAa,EAAE,IAAI;YACnB,CAAC,CAAA,kBAAA,EAAqB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC3B,CAAC,IAAI,CAAC,cAAc,IAAI,4DAAK,KAAK,EAAC,kBAAkB,EAAO,CAAA,EAC5D,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,oBAAoB,EAAA,EAAE,IAAI,CAAC,KAAK,CAAO,CAC7D,EACL,IAAI,CAAC,cAAc,KAClB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAG,CAAA,CAAA;AAC1B,aAAA,EAAA,CACI,CACH,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","src/components/stzh-status/stzh-status.tsx"],"sourcesContent":["/**\n * @prop --color: Status color text\n */\n\n:host {\n --bar-height: 4px;\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning90};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError70};\n }\n\n &[type=\"info\"] {\n --color: #{$colorMidnightblue70};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__bar {\n display: block;\n height: var(--bar-height);\n border-radius: 12px;\n background-color: $colorOldGrey13;\n margin-top: space(\"xxsmall\");\n\n @media (forced-colors: active) {\n --bar-height: 6px;\n border-radius: 0;\n outline: 2px solid CanvasText;\n outline-offset: -2px;\n }\n }\n\n &__bar-inner {\n position: relative;\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n\n @media (forced-colors: active) {\n border-radius: 0;\n outline: 2px solid SelectedItem;\n outline-offset: -2px;\n background-color: SelectedItem;\n }\n }\n\n &__text {\n @include fontSize(\"micro\");\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { StzhStatusType } from \"../../index\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true,\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhStatusType = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n {!this.withLoadingbar && <div class=\"stzh-status__dot\"></div>}\n {this.label && <div class=\"stzh-status__label\">{this.label}</div>}\n </div>\n {this.withLoadingbar && (\n <div class=\"stzh-status__bar\">\n <div\n class=\"stzh-status__bar-inner\"\n style={{\n width: `${this.percent}%`,\n }}\n ></div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -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-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
2
  import { a as addWordBreakToLinks, h as hasSlot } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$2 } from './p-BSx9yT8P.js';
4
- import { d as defineCustomElement$1 } from './p-C7Wum7Zf.js';
3
+ import { d as defineCustomElement$2 } from './p-Yktwo3G-.js';
4
+ import { d as defineCustomElement$1 } from './p-DZ_hOgVb.js';
5
5
 
6
6
  const stzhLinkCss = () => `.sc-stzh-link-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-link-h,[stzh-hidden].sc-stzh-link-h{display:none}.sc-stzh-link-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-link-h *.sc-stzh-link,.sc-stzh-link-h *.sc-stzh-link::before,.sc-stzh-link-h *.sc-stzh-link::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-link-h .has-focus.sc-stzh-link{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-link-h .stzh-fylingfocus-focused.sc-stzh-link{outline-style:none !important}.sc-stzh-link-h .stzh-fylingfocus-focused.sc-stzh-link::-moz-focus-inner{border:0 !important}.sc-stzh-link-h{--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--letter-spacing:normal}@media screen and (min-width: 900px){.sc-stzh-link-h{--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal}}.sc-stzh-link-h{--color:var(--stzh-link-color);--text-decoration-line:var(--stzh-link-text-decoration-line);--icon-wrapper-height:var(--stzh-link-icon-wrapper-height);--icon-size:var(--stzh-link-icon-size);--height:var(--stzh-link-height, 40px);--hover-color:var(--stzh-link-hover-color);--hover-text-decoration-line:var(--stzh-link-hover-text-decoration-line)}@media screen and (min-width: 900px){.sc-stzh-link-h{--height:var(--stzh-link-height, auto)}}.sc-stzh-link-h{color:var(--color);display:inline-grid;width:auto;min-height:var(--height);pointer-events:var(--stzh-link-pointer-events, auto)}[height=auto].sc-stzh-link-h{--height:var(--stzh-link-auto-height, auto)}[fullwidth].sc-stzh-link-h:not([fullwidth=false]){width:100%;display:grid}[variant=secondary].sc-stzh-link-h{--color:var(--stzh-link-secondary-color);--hover-color:var(--stzh-link-secondary-hover-color)}[variant=back].sc-stzh-link-h{--text-decoration-line:none;--hover-color:var(--color)}[active].sc-stzh-link-h:not([active=false]){--color:var(--hover-color)}[disabled].sc-stzh-link-h:not([disabled=false]){--color:var(--stzh-color-grey60);--hover-color:var(--stzh-color-grey60)}.sc-stzh-link-h:where([size=small]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal}.sc-stzh-link-h:where([size=inherit]){--font-size:inherit;--line-height:inherit;--letter-spacing:inherit}.stzh-link.sc-stzh-link{font-size:var(--font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);font-family:inherit;position:relative;display:flex;align-items:center;justify-content:stretch;appearance:none;border:none;color:var(--color);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer;width:100%;-webkit-text-decoration-line:none;text-decoration-line:none;background-color:transparent;padding:0;border-radius:var(--stzh-button-border-radius);text-align:left}@media (forced-colors: active){.stzh-link.sc-stzh-link{transition:none}}.stzh-link.sc-stzh-link:hover{color:var(--hover-color)}@media (hover: none){.stzh-link.sc-stzh-link:hover{color:inherit}}.stzh-link.sc-stzh-link:hover .stzh-link__text.sc-stzh-link{-webkit-text-decoration-line:var(--hover-text-decoration-line);text-decoration-line:var(--hover-text-decoration-line)}.stzh-link__vhidden.sc-stzh-link{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-link__inner.sc-stzh-link{display:flex;align-items:center;justify-content:center;flex-grow:1}.stzh-link__icon-wrapper.sc-stzh-link{--stzh-icon-size:var(--icon-size);display:none;align-items:center;justify-content:center;flex-shrink:0;width:auto;height:var(--icon-wrapper-height)}.stzh-link__text.sc-stzh-link{--stzh-base-color:initial;-webkit-text-decoration-line:var(--text-decoration-line);text-decoration-line:var(--text-decoration-line)}.stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-link__badge.sc-stzh-link{position:absolute;z-index:1;top:0;right:0}.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{display:inline-flex}.stzh-link--has-icon-only.sc-stzh-link .stzh-link__text.sc-stzh-link{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-link--badge-position-link.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:static}.stzh-link__badge.sc-stzh-link,.stzh-link--badge-position-link.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xxsmall) * -1);right:calc(var(--stzh-space-large) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:relative}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link+.stzh-link__text.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-small)}.stzh-link--align-left.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:flex-start}.stzh-link--align-right.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:flex-end}.stzh-link--align-center.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:center}.stzh-link--align-space-between.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:space-between}.stzh-link--is-disabled.sc-stzh-link{cursor:not-allowed}@media (forced-colors: active){.stzh-link--no-href.sc-stzh-link{--color:ButtonText;--hover-color:Highlight}}`;
7
7
 
@@ -202,6 +202,6 @@ function defineCustomElement() {
202
202
  }
203
203
 
204
204
  export { StzhLink as S, defineCustomElement as d };
205
- //# sourceMappingURL=p-BA-k3iZ-.js.map
205
+ //# sourceMappingURL=p-D1qHu5Qi.js.map
206
206
 
207
- //# sourceMappingURL=p-BA-k3iZ-.js.map
207
+ //# sourceMappingURL=p-D1qHu5Qi.js.map
@@ -1 +1 @@
1
- {"file":"p-BA-k3iZ-.js","mappings":";;;;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,glMAAglM,CAAC;;MCgB/lM,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAUU,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGA,QAAA,IAAY,CAAA,YAAA,GAAqB,MAAM;;AAGvC,QAAA,IAAM,CAAA,MAAA,GAAuB,SAAS;;AAGtC,QAAA,IAAI,C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ACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-link/stzh-link.scss?tag=stzh-link&encapsulation=scoped","src/components/stzh-link/stzh-link.tsx"],"sourcesContent":["/**\n * @prop --color: Color of link\n * @prop --hover-color: Hover color of link\n * @prop --text-decoration-line: Text decoration of link\n * @prop --hover-text-decoration-line: Hover text decoration of link\n * @prop --icon-size: Size of icon next to link\n * @prop --min-height: Min height of link\n *\n * @prop --stzh-link-color: **Global**: Color of link\n * @prop --stzh-link-hover-color: **Global**: Hover color of link\n * @prop --stzh-link-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-hover-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-icon-size: **Global**: Size of icon next to link\n * @prop --stzh-link-text-decoration-thickness: **Global**: Text decoration thickness\n * @prop --stzh-link-text-decoration-skip-ink: **Global**: Whether to skip ink in text decoration\n * @prop --stzh-link-text-underline-offset: **Global**: Text underline offset\n */\n\n@mixin link--size-default() {\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --letter-spacing: normal;\n\n @include mq($from: medium) {\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n }\n}\n\n@mixin link--size-small() {\n --font-size: var(--stzh-font-micro-font-size);\n --line-height: var(--stzh-font-micro-text-line-height);\n --letter-spacing: normal;\n}\n\n@mixin link--size-inherit() {\n --font-size: inherit;\n --line-height: inherit;\n --letter-spacing: inherit;\n}\n\n:host {\n @include link--size-default;\n --color: #{$linkColor};\n --text-decoration-line: #{$linkTextDecorationLine};\n --icon-wrapper-height: #{$linkIconWrapperHeight};\n --icon-size: #{$linkIconSize};\n --height: var(--stzh-link-height, 40px);\n\n --hover-color: #{$linkHoverColor};\n --hover-text-decoration-line: #{$linkHoverTextDecorationLine};\n\n @include mq($from: medium) {\n --height: var(--stzh-link-height, auto);\n }\n\n color: var(--color);\n display: inline-grid;\n width: auto;\n min-height: var(--height);\n pointer-events: var(--stzh-link-pointer-events, auto);\n\n &[height=\"auto\"] {\n --height: var(--stzh-link-auto-height, auto);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n }\n\n &[variant=\"secondary\"] {\n --color: #{$linkSecondaryColor};\n --hover-color: #{$linkSecondaryHoverColor};\n }\n\n &[variant=\"back\"] {\n --text-decoration-line: none;\n --hover-color: var(--color);\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--hover-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey60};\n --hover-color: #{$colorGrey60};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include link--size-small;\n}\n\n:host(:where([size=\"inherit\"])) {\n @include link--size-inherit;\n}\n\n//@each $breakpoint, $size in $breakpoints {\n// @include mq($from: $breakpoint) {\n// :host(:where([size-#{$breakpoint}=\"default\"])) {\n// @include link--size-default;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"small\"])) {\n// @include link--size-small;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"inherit\"])) {\n// @include link--size-inherit;\n// }\n// }\n//}\n\n.stzh-link {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n font-family: inherit;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n border: none;\n color: var(--color);\n transition: color $baseTransitionAnimationSpeed;\n cursor: pointer;\n width: 100%;\n text-decoration-line: none;\n background-color: transparent;\n padding: 0;\n border-radius: $buttonBorderRadius;\n text-align: left;\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &:hover {\n color: var(--hover-color);\n\n @media (hover: none) {\n color: inherit;\n }\n }\n\n &:hover &__text {\n text-decoration-line: var(--hover-text-decoration-line);\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 --stzh-icon-size: var(--icon-size);\n\n display: none;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: var(--icon-wrapper-height);\n }\n\n &__text {\n --stzh-base-color: initial;\n\n text-decoration-line: var(--text-decoration-line);\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: space(\"xxsmall\");\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &--has-icon &__icon-wrapper {\n display: inline-flex;\n }\n\n /* Variant if link only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Badge positioning variants */\n\n &--badge-position-link &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-link &__badge {\n top: calc(#{space(\"xxsmall\")} * -1);\n right: calc(#{space(\"large\")} * -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\n + &__text:not(:empty) {\n margin-left: space(\"small\");\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 &--no-href {\n @media (forced-colors: active) {\n --color: ButtonText;\n --hover-color: Highlight;\n }\n }\n}\n","import { Component, Host, Fragment, Element, h, Prop, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhLinkFocusEvent, StzhLinkBlurEvent, StzhLinkSize, StzhBadgeType, StzhLinkClickEvent } from \"../../index\";\n\nimport { StzhLinkLocalizedText } from \"./stzh-link.localization\";\nimport { hasSlot, addWordBreakToLinks } from \"../../utils/utils\";\n\n/**\n * @slot icon - Slot for icon element\n * @slot - Slot for label/text content\n */\n@Component({\n tag: \"stzh-link\",\n styleUrl: \"stzh-link.scss\",\n scoped: true,\n})\nexport class StzhLink {\n /** Translation strings */\n @Prop() localization: StzhLinkLocalizedText;\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 /** Height variant (none prevent setting min-height for mikro and small breakpoint) */\n @Prop({ reflect: true }) height: \"default\" | \"auto\" = \"default\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhLinkSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhLinkSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhLinkSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhLinkSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhLinkSize;\n\n /** href attribute of the 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, if used as button (if no href used) */\n @Prop() type: \"button\" | \"submit\" | \"reset\" = \"button\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: \"default\" | \"secondary\" | \"back\" = \"default\";\n\n /** Whether the link is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Badge text */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"link\" = \"icon\";\n\n /** Disabled status */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Active status */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Whether only an icon is used inside the link */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Access key of link (usually a number e.g. 1) */\n @Prop() linkAccesskey: string;\n\n /** ID of link element */\n @Prop() linkId: string;\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 /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: 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: HTMLStzhLinkElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhLinkClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhLinkFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhLinkBlurEvent>;\n\n private link: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n private focusedByInput: boolean = false;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"link\");\n }\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.link.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-link\",\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-link\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-link\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private addWordBreakToLinks() {\n const links = Array.from(this.element?.getElementsByClassName(\"stzh-link\") || []);\n addWordBreakToLinks(links as HTMLElement[]);\n }\n\n private renderIcon(): HTMLInputElement {\n return (\n <div class=\"stzh-link__icon-wrapper\">\n {this.icon ? <stzh-icon class=\"stzh-link__icon\" name={this.icon}></stzh-icon> : <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-link__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-link__text\">\n {this.rel?.includes(\"external\") && (\n <div class=\"stzh-link__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-link__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n <div ref={el => (this.text = el as HTMLDivElement)}>{this.label ? this.label : <slot></slot>}</div>\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-link__inner\">\n {this.iconPosition === \"left\" && this.renderIcon()}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon()}\n </div>\n {(this.badge || this.badgeEmpty) && !iconUsed && (\n <stzh-badge class=\"stzh-link__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentDidLoad() {\n this.addWordBreakToLinks();\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.link?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-link\": true,\n \"stzh-link--has-icon\": iconUsed,\n \"stzh-link--has-icon-only\": this.iconOnly,\n \"stzh-link--has-badge\": !!this.badge,\n \"stzh-link--is-fullwidth\": this.fullwidth,\n \"stzh-link--is-disabled\": this.disabled,\n \"stzh-link--is-active\": this.active,\n [`stzh-link--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-link--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-link--${this.href ? \"has\" : \"no\"}-href`]: true,\n [`stzh-link--${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.link = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n download={this.download}\n rel={this.rel}\n target={this.target}\n class={classes}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\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 onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.link = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n disabled={this.disabled}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\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 onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D1qHu5Qi.js","mappings":";;;;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,glMAAglM,CAAC;;MCgB/lM,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAUU,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGA,QAAA,IAAY,CAAA,YAAA,GAAqB,MAAM;;AAGvC,QAAA,IAAM,CAAA,MAAA,GAAuB,SAAS;;AAGtC,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAe/C,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAMjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAMnB,QAAA,IAAI,CAAA,IAAA,GAAkC,QAAQ;;AAG7B,QAAA,IAAO,CAAA,OAAA,GAAqC,SAAS;;AAGrD,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAG1B,QAAA,IAAS,CAAA,SAAA,GAA8D,SAAS;;AAGjG,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAS,CAAA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,cACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,GAAG,EAAuB,CAAC,EAChD,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,EAAE,EAAE,IAAI,CAAC,MAAM,EACf,SAAS,EAAE,IAAI,CAAC,aAAa,EAC7B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAA,YAAA,EACf,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,EAAA,eAAA,EACxF,IAAI,CAAC,YAAY,IAAI,IAAI,EAAA,cAAA,EAC1B,IAAI,CAAC,WAAW,IAAI,IAAI,EACtC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAA,EAElB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-link/stzh-link.scss?tag=stzh-link&encapsulation=scoped","src/components/stzh-link/stzh-link.tsx"],"sourcesContent":["/**\n * @prop --color: Color of link\n * @prop --hover-color: Hover color of link\n * @prop --text-decoration-line: Text decoration of link\n * @prop --hover-text-decoration-line: Hover text decoration of link\n * @prop --icon-size: Size of icon next to link\n * @prop --min-height: Min height of link\n *\n * @prop --stzh-link-color: **Global**: Color of link\n * @prop --stzh-link-hover-color: **Global**: Hover color of link\n * @prop --stzh-link-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-hover-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-icon-size: **Global**: Size of icon next to link\n * @prop --stzh-link-text-decoration-thickness: **Global**: Text decoration thickness\n * @prop --stzh-link-text-decoration-skip-ink: **Global**: Whether to skip ink in text decoration\n * @prop --stzh-link-text-underline-offset: **Global**: Text underline offset\n */\n\n@mixin link--size-default() {\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --letter-spacing: normal;\n\n @include mq($from: medium) {\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n }\n}\n\n@mixin link--size-small() {\n --font-size: var(--stzh-font-micro-font-size);\n --line-height: var(--stzh-font-micro-text-line-height);\n --letter-spacing: normal;\n}\n\n@mixin link--size-inherit() {\n --font-size: inherit;\n --line-height: inherit;\n --letter-spacing: inherit;\n}\n\n:host {\n @include link--size-default;\n --color: #{$linkColor};\n --text-decoration-line: #{$linkTextDecorationLine};\n --icon-wrapper-height: #{$linkIconWrapperHeight};\n --icon-size: #{$linkIconSize};\n --height: var(--stzh-link-height, 40px);\n\n --hover-color: #{$linkHoverColor};\n --hover-text-decoration-line: #{$linkHoverTextDecorationLine};\n\n @include mq($from: medium) {\n --height: var(--stzh-link-height, auto);\n }\n\n color: var(--color);\n display: inline-grid;\n width: auto;\n min-height: var(--height);\n pointer-events: var(--stzh-link-pointer-events, auto);\n\n &[height=\"auto\"] {\n --height: var(--stzh-link-auto-height, auto);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n }\n\n &[variant=\"secondary\"] {\n --color: #{$linkSecondaryColor};\n --hover-color: #{$linkSecondaryHoverColor};\n }\n\n &[variant=\"back\"] {\n --text-decoration-line: none;\n --hover-color: var(--color);\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--hover-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey60};\n --hover-color: #{$colorGrey60};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include link--size-small;\n}\n\n:host(:where([size=\"inherit\"])) {\n @include link--size-inherit;\n}\n\n//@each $breakpoint, $size in $breakpoints {\n// @include mq($from: $breakpoint) {\n// :host(:where([size-#{$breakpoint}=\"default\"])) {\n// @include link--size-default;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"small\"])) {\n// @include link--size-small;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"inherit\"])) {\n// @include link--size-inherit;\n// }\n// }\n//}\n\n.stzh-link {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n font-family: inherit;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n border: none;\n color: var(--color);\n transition: color $baseTransitionAnimationSpeed;\n cursor: pointer;\n width: 100%;\n text-decoration-line: none;\n background-color: transparent;\n padding: 0;\n border-radius: $buttonBorderRadius;\n text-align: left;\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &:hover {\n color: var(--hover-color);\n\n @media (hover: none) {\n color: inherit;\n }\n }\n\n &:hover &__text {\n text-decoration-line: var(--hover-text-decoration-line);\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 --stzh-icon-size: var(--icon-size);\n\n display: none;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: var(--icon-wrapper-height);\n }\n\n &__text {\n --stzh-base-color: initial;\n\n text-decoration-line: var(--text-decoration-line);\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: space(\"xxsmall\");\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &--has-icon &__icon-wrapper {\n display: inline-flex;\n }\n\n /* Variant if link only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Badge positioning variants */\n\n &--badge-position-link &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-link &__badge {\n top: calc(#{space(\"xxsmall\")} * -1);\n right: calc(#{space(\"large\")} * -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\n + &__text:not(:empty) {\n margin-left: space(\"small\");\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 &--no-href {\n @media (forced-colors: active) {\n --color: ButtonText;\n --hover-color: Highlight;\n }\n }\n}\n","import { Component, Host, Fragment, Element, h, Prop, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhLinkFocusEvent, StzhLinkBlurEvent, StzhLinkSize, StzhBadgeType, StzhLinkClickEvent } from \"../../index\";\n\nimport { StzhLinkLocalizedText } from \"./stzh-link.localization\";\nimport { hasSlot, addWordBreakToLinks } from \"../../utils/utils\";\n\n/**\n * @slot icon - Slot for icon element\n * @slot - Slot for label/text content\n */\n@Component({\n tag: \"stzh-link\",\n styleUrl: \"stzh-link.scss\",\n scoped: true,\n})\nexport class StzhLink {\n /** Translation strings */\n @Prop() localization: StzhLinkLocalizedText;\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 /** Height variant (none prevent setting min-height for mikro and small breakpoint) */\n @Prop({ reflect: true }) height: \"default\" | \"auto\" = \"default\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhLinkSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhLinkSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhLinkSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhLinkSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhLinkSize;\n\n /** href attribute of the 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, if used as button (if no href used) */\n @Prop() type: \"button\" | \"submit\" | \"reset\" = \"button\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: \"default\" | \"secondary\" | \"back\" = \"default\";\n\n /** Whether the link is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Badge text */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"link\" = \"icon\";\n\n /** Disabled status */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Active status */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Whether only an icon is used inside the link */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Access key of link (usually a number e.g. 1) */\n @Prop() linkAccesskey: string;\n\n /** ID of link element */\n @Prop() linkId: string;\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 /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: 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: HTMLStzhLinkElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhLinkClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhLinkFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhLinkBlurEvent>;\n\n private link: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n private focusedByInput: boolean = false;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"link\");\n }\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.link.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-link\",\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-link\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-link\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private addWordBreakToLinks() {\n const links = Array.from(this.element?.getElementsByClassName(\"stzh-link\") || []);\n addWordBreakToLinks(links as HTMLElement[]);\n }\n\n private renderIcon(): HTMLInputElement {\n return (\n <div class=\"stzh-link__icon-wrapper\">\n {this.icon ? <stzh-icon class=\"stzh-link__icon\" name={this.icon}></stzh-icon> : <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-link__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-link__text\">\n {this.rel?.includes(\"external\") && (\n <div class=\"stzh-link__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-link__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n <div ref={el => (this.text = el as HTMLDivElement)}>{this.label ? this.label : <slot></slot>}</div>\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-link__inner\">\n {this.iconPosition === \"left\" && this.renderIcon()}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon()}\n </div>\n {(this.badge || this.badgeEmpty) && !iconUsed && (\n <stzh-badge class=\"stzh-link__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentDidLoad() {\n this.addWordBreakToLinks();\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.link?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-link\": true,\n \"stzh-link--has-icon\": iconUsed,\n \"stzh-link--has-icon-only\": this.iconOnly,\n \"stzh-link--has-badge\": !!this.badge,\n \"stzh-link--is-fullwidth\": this.fullwidth,\n \"stzh-link--is-disabled\": this.disabled,\n \"stzh-link--is-active\": this.active,\n [`stzh-link--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-link--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-link--${this.href ? \"has\" : \"no\"}-href`]: true,\n [`stzh-link--${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.link = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n download={this.download}\n rel={this.rel}\n target={this.target}\n class={classes}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\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 onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.link = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n disabled={this.disabled}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\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 onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\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-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
2
  import { s as setPropsIfNull } from './p-CN5apKPb.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-BHnUxFJO.js.map
74
+ //# sourceMappingURL=p-D4BnQdqZ.js.map
75
75
 
76
- //# sourceMappingURL=p-BHnUxFJO.js.map
76
+ //# sourceMappingURL=p-D4BnQdqZ.js.map
@@ -1 +1 @@
1
- {"file":"p-BHnUxFJO.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,GAAY,KAAK;AAM9C,QAAA,IAAI,CAAA,IAAA,GAAG,MAAK;YAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACpD,+DAA+D,CAChE;YAED,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACnD,6DAA6D,CAC9D;AAED,YAAA,gBAAgB,CAAC,OAAO,CAAC,MAAM,IAAG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,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-D4BnQdqZ.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,GAAY,KAAK;AAM9C,QAAA,IAAI,CAAA,IAAA,GAAG,MAAK;YAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACpD,+DAA+D,CAChE;YAED,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACnD,6DAA6D,CAC9D;AAED,YAAA,gBAAgB,CAAC,OAAO,CAAC,MAAM,IAAG;gBAChC,cAAc,CAAC,MAAM,EAAE;AACrB,oBAAA,OAAO,EAAE,WAAW;AACI,iBAAA,CAAC;AAC7B,aAAC,CAAC;AAEF,YAAA,eAAe,CAAC,OAAO,CAAC,MAAM,IAAG;gBAC/B,cAAc,CAAC,MAAM,EAAE;AACrB,oBAAA,OAAO,EAAE,UAAU;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BAAuB,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,8 +1,8 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
- import { d as defineCustomElement$4 } from './p-BSx9yT8P.js';
3
- import { d as defineCustomElement$3 } from './p-UU-uJ6rm.js';
4
- import { d as defineCustomElement$2 } from './p-C7Wum7Zf.js';
5
- import { d as defineCustomElement$1 } from './p-BA-k3iZ-.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
+ import { d as defineCustomElement$4 } from './p-Yktwo3G-.js';
3
+ import { d as defineCustomElement$3 } from './p-ts8WMMWF.js';
4
+ import { d as defineCustomElement$2 } from './p-DZ_hOgVb.js';
5
+ import { d as defineCustomElement$1 } from './p-D1qHu5Qi.js';
6
6
 
7
7
  const stzhTagCss = () => `.sc-stzh-tag-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-tag-h,[stzh-hidden].sc-stzh-tag-h{display:none}.sc-stzh-tag-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-tag-h *.sc-stzh-tag,.sc-stzh-tag-h *.sc-stzh-tag::before,.sc-stzh-tag-h *.sc-stzh-tag::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-tag-h .has-focus.sc-stzh-tag{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-tag-h .stzh-fylingfocus-focused.sc-stzh-tag{outline-style:none !important}.sc-stzh-tag-h .stzh-fylingfocus-focused.sc-stzh-tag::-moz-focus-inner{border:0 !important}.sc-stzh-tag-h{--color:var(--stzh-tag-color, var(--stzh-color-secondary60));--height:1.5rem;--padding-top:0;--padding-bottom:0;--padding-left:calc(var(--stzh-space-small) - var(--border-width));--padding-right:calc(var(--stzh-space-small) - var(--border-width));--border-width:0px;--background-color:var(--stzh-tag-background-color, var(--stzh-color-grey20));--hover-color:var(--stzh-tag-hover-color, var(--stzh-color-secondary60));--hover-background-color:var(
8
8
  --stzh-tag-hover-background-color,
@@ -168,6 +168,6 @@ function defineCustomElement() {
168
168
  }
169
169
 
170
170
  export { StzhTag as S, defineCustomElement as d };
171
- //# sourceMappingURL=p-BopctUFy.js.map
171
+ //# sourceMappingURL=p-D7YAOnX0.js.map
172
172
 
173
- //# sourceMappingURL=p-BopctUFy.js.map
173
+ //# sourceMappingURL=p-D7YAOnX0.js.map
@@ -1 +1 @@
1
- {"file":"p-BopctUFy.js","mappings":";;;;;;AAAA,MAAM,UAAU,GAAG,MAAM,CAAC;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,koFAAkoF,CAAC;;MCHtnF,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AALpB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAG/B,QAA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f,KAEN,CAAC,CAAA,GAAG,IACF,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,GAAG,GAAG,EAAwC,CAAC,EAChE,KAAK,EAAE;AACL,gBAAA,kBAAkB,EAAE,IAAI;gBACxB,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,IAAI;gBAC/C,SAAS,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI;AAC/C,aAAA,EACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,YAAY,EACf,YAAA,EAAA,IAAI,CAAC,SAAS,IAAI,IAAI,EAChB,kBAAA,EAAA,IAAI,CAAC,eAAe,IAAI,IAAI,EAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAElB,EAAA,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-tag/stzh-tag.scss?tag=stzh-tag&encapsulation=scoped","src/components/stzh-tag/stzh-tag.tsx"],"sourcesContent":["/**\n * @prop --height: Height of tag\n * @prop --padding-top: Padding top of tag\n * @prop --padding-bottom: Padding bottom of tag\n * @prop --padding-left: Padding left of tag\n * @prop --padding-right: Padding right of tag\n * @prop --border-width: Border width of tag\n * @prop --color: Color of tag\n * @prop --background-color: Background color of tag\n * @prop --hover-color: Hover color of tag\n * @prop --hover-background-color: Hover background color of tag\n */\n\n@mixin tag--forced-colors-default() {\n --border-width: 2px;\n\n --color: CanvasText;\n --border-color: CanvasText;\n --background-color: Canvas;\n\n --hover-color: CanvasText;\n --hover-border-color: CanvasText;\n --hover-background-color: Canvas;\n}\n\n@mixin tag--forced-colors-button() {\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 tag--forced-colors-link() {\n --border-width: 2px;\n\n --color: LinkText;\n --border-color: LinkText;\n --background-color: Canvas;\n\n --hover-color: LinkText;\n --hover-border-color: LinkText;\n --hover-background-color: Canvas;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: Canvas;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: Canvas;\n}\n\n:host {\n --color: var(--stzh-tag-color, #{$colorSecondary60});\n --height: 24px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: calc(#{space(\"small\")} - var(--border-width));\n --padding-right: calc(#{space(\"small\")} - var(--border-width));\n --border-width: 0px;\n --background-color: var(--stzh-tag-background-color, #{$colorGrey20});\n\n --hover-color: var(--stzh-tag-hover-color, #{$colorSecondary60});\n --hover-background-color: var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );\n\n display: inline-flex;\n\n &[size=\"large\"] {\n --height: 32px;\n }\n\n &[size=\"default\"][type=\"secondary\"] {\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[type=\"secondary\"] {\n --color: var(--stzh-tag-secondary-color, #{$colorWhite});\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n --hover-color: var(--stzh-tag-secondary-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n );\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-tag-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-tag-disabled-background-color,\n #{$colorGrey20}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n}\n\n.stzh-tag {\n position: relative;\n\n &__button {\n @include fontSize(\"nano\");\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n appearance: none;\n border: var(--border-width) solid transparent;\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n\n @media (forced-colors: active) {\n transition: none;\n }\n }\n\n &__label {\n text-align: left;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__button:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n /* Size */\n\n &--size-large &__button {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n }\n\n /* Non-Interactive */\n &--not-interactive {\n @media (forced-colors: active) {\n @include tag--forced-colors-default;\n }\n }\n\n /* Interactive & Button */\n &--is-interactive#{&}--no-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-button;\n }\n }\n\n /* Interactive & Link */\n &--is-interactive#{&}--has-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-link;\n }\n }\n\n /* Disabled */\n &--is-disabled &__button {\n cursor: not-allowed;\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Fragment } from \"@stencil/core\";\n\nimport { StzhTagType, StzhTagSize, StzhTagClickEvent, StzhTagFocusEvent, StzhTagBlurEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-tag\",\n styleUrl: \"stzh-tag.scss\",\n scoped: true,\n})\nexport class StzhTag {\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the tag should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether tag is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhTagType = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhTagSize = \"default\";\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\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 link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: 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 /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhTagElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhTagClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhTagFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhTagBlurEvent>;\n\n private tag: HTMLButtonElement | HTMLAnchorElement | HTMLDivElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n if (!this.nonInteractive) {\n this.tag?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n }\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <stzh-clamp lines={1} class=\"stzh-tag__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n </stzh-clamp>\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tag.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-tag\",\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-tag\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n render() {\n const classes = {\n \"stzh-tag\": true,\n \"stzh-tag--is-disabled\": this.disabled,\n [`stzh-tag--size-${this.size}`]: !!this.size,\n [`stzh-tag--${this.type}`]: !!this.type,\n [`stzh-tag--${this.href ? \"has\" : \"no\"}-href`]: true,\n [`stzh-tag--${this.nonInteractive ? \"not\" : \"is\"}-interactive`]: true,\n };\n\n const Tag = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.href ? (\n <Tag\n ref={el => (this.tag = el as HTMLAnchorElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n ) : (\n <Tag\n ref={el => (this.tag = el as HTMLButtonElement | HTMLDivElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D7YAOnX0.js","mappings":";;;;;;AAAA,MAAM,UAAU,GAAG,MAAM,CAAC;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,koFAAkoF,CAAC;;MCHtnF,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AALpB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAG/B,QAAA,IAAI,CAAA,IAAA,GAAgB,SAAS;;AAG7B,QAAA,IAAI,CAAA,IAAA,GAAgB,SAAS;;AAG7B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAST,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;AA6B7D,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAoB/B,QAAA,IAAW,CAAA,WAAA,GAAG,MAAK;AACzB,YAAA,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;AACxB,gBAAA,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE;;AAGlB,YAAA,IAAI,CAAC,cAAc,GAAG,KAAK;AAC7B,SAAC;AAEO,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,KAAiB,KAAI;AACtC,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI;AAE1B,YAAA,MAAM,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I,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAElB,EAAA,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-tag/stzh-tag.scss?tag=stzh-tag&encapsulation=scoped","src/components/stzh-tag/stzh-tag.tsx"],"sourcesContent":["/**\n * @prop --height: Height of tag\n * @prop --padding-top: Padding top of tag\n * @prop --padding-bottom: Padding bottom of tag\n * @prop --padding-left: Padding left of tag\n * @prop --padding-right: Padding right of tag\n * @prop --border-width: Border width of tag\n * @prop --color: Color of tag\n * @prop --background-color: Background color of tag\n * @prop --hover-color: Hover color of tag\n * @prop --hover-background-color: Hover background color of tag\n */\n\n@mixin tag--forced-colors-default() {\n --border-width: 2px;\n\n --color: CanvasText;\n --border-color: CanvasText;\n --background-color: Canvas;\n\n --hover-color: CanvasText;\n --hover-border-color: CanvasText;\n --hover-background-color: Canvas;\n}\n\n@mixin tag--forced-colors-button() {\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 tag--forced-colors-link() {\n --border-width: 2px;\n\n --color: LinkText;\n --border-color: LinkText;\n --background-color: Canvas;\n\n --hover-color: LinkText;\n --hover-border-color: LinkText;\n --hover-background-color: Canvas;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: Canvas;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: Canvas;\n}\n\n:host {\n --color: var(--stzh-tag-color, #{$colorSecondary60});\n --height: 24px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: calc(#{space(\"small\")} - var(--border-width));\n --padding-right: calc(#{space(\"small\")} - var(--border-width));\n --border-width: 0px;\n --background-color: var(--stzh-tag-background-color, #{$colorGrey20});\n\n --hover-color: var(--stzh-tag-hover-color, #{$colorSecondary60});\n --hover-background-color: var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );\n\n display: inline-flex;\n\n &[size=\"large\"] {\n --height: 32px;\n }\n\n &[size=\"default\"][type=\"secondary\"] {\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[type=\"secondary\"] {\n --color: var(--stzh-tag-secondary-color, #{$colorWhite});\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n --hover-color: var(--stzh-tag-secondary-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n );\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-tag-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-tag-disabled-background-color,\n #{$colorGrey20}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n}\n\n.stzh-tag {\n position: relative;\n\n &__button {\n @include fontSize(\"nano\");\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n appearance: none;\n border: var(--border-width) solid transparent;\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n\n @media (forced-colors: active) {\n transition: none;\n }\n }\n\n &__label {\n text-align: left;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__button:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n /* Size */\n\n &--size-large &__button {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n }\n\n /* Non-Interactive */\n &--not-interactive {\n @media (forced-colors: active) {\n @include tag--forced-colors-default;\n }\n }\n\n /* Interactive & Button */\n &--is-interactive#{&}--no-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-button;\n }\n }\n\n /* Interactive & Link */\n &--is-interactive#{&}--has-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-link;\n }\n }\n\n /* Disabled */\n &--is-disabled &__button {\n cursor: not-allowed;\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Fragment } from \"@stencil/core\";\n\nimport { StzhTagType, StzhTagSize, StzhTagClickEvent, StzhTagFocusEvent, StzhTagBlurEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-tag\",\n styleUrl: \"stzh-tag.scss\",\n scoped: true,\n})\nexport class StzhTag {\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the tag should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether tag is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhTagType = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhTagSize = \"default\";\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\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 link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: 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 /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhTagElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhTagClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhTagFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhTagBlurEvent>;\n\n private tag: HTMLButtonElement | HTMLAnchorElement | HTMLDivElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n if (!this.nonInteractive) {\n this.tag?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n }\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <stzh-clamp lines={1} class=\"stzh-tag__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n </stzh-clamp>\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tag.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-tag\",\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-tag\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n render() {\n const classes = {\n \"stzh-tag\": true,\n \"stzh-tag--is-disabled\": this.disabled,\n [`stzh-tag--size-${this.size}`]: !!this.size,\n [`stzh-tag--${this.type}`]: !!this.type,\n [`stzh-tag--${this.href ? \"has\" : \"no\"}-href`]: true,\n [`stzh-tag--${this.nonInteractive ? \"not\" : \"is\"}-interactive`]: true,\n };\n\n const Tag = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.href ? (\n <Tag\n ref={el => (this.tag = el as HTMLAnchorElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n ) : (\n <Tag\n ref={el => (this.tag = el as HTMLButtonElement | HTMLDivElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n )}\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-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
2
 
3
3
  const stzhPiTeaserLayoutItemCss = () => `@charset "UTF-8";
4
4
 
@@ -521,6 +521,6 @@ function defineCustomElement() {
521
521
  }
522
522
 
523
523
  export { StzhPiTeaserLayoutItem as S, defineCustomElement as d };
524
- //# sourceMappingURL=p-B5bRe2QR.js.map
524
+ //# sourceMappingURL=p-DF6aCFVH.js.map
525
525
 
526
- //# sourceMappingURL=p-B5bRe2QR.js.map
526
+ //# sourceMappingURL=p-DF6aCFVH.js.map