@oiz/stzh-components 4.12.0 → 4.12.1-beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (835) hide show
  1. package/dist/cjs/{index-B_-bUbew.js → index-N0ol04NL.js} +3 -3
  2. package/dist/cjs/{index-B_-bUbew.js.map → index-N0ol04NL.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  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 +2 -2
  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-BPIouoN2.js → stzh-input-description-Dbubu75V.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-BPIouoN2.js.map → stzh-input-description-Dbubu75V.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +42 -8
  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 +1 -1
  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-input/stzh-input.js +43 -7
  138. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  139. package/dist/components/index.js +2 -2
  140. package/dist/components/{p-C5GxUCJA.js → p-5iYOoBns.js} +3 -3
  141. package/dist/components/{p-C5GxUCJA.js.map → p-5iYOoBns.js.map} +1 -1
  142. package/dist/components/{p-B4QrfbDx.js → p-8vUD5Pvs.js} +52 -16
  143. package/dist/components/p-8vUD5Pvs.js.map +1 -0
  144. package/dist/components/{p-Dbk6dw-_.js → p-B-Td5eEF.js} +3 -3
  145. package/dist/components/{p-Dbk6dw-_.js.map → p-B-Td5eEF.js.map} +1 -1
  146. package/dist/components/{p-DFSLatAY.js → p-B0HsC5lT.js} +3 -3
  147. package/dist/components/{p-DFSLatAY.js.map → p-B0HsC5lT.js.map} +1 -1
  148. package/dist/components/{p-ADyL1d9w.js → p-B2I6UGb-.js} +3 -3
  149. package/dist/components/{p-ADyL1d9w.js.map → p-B2I6UGb-.js.map} +1 -1
  150. package/dist/components/{p-6eURMZzo.js → p-B5bRe2QR.js} +3 -3
  151. package/dist/components/{p-6eURMZzo.js.map → p-B5bRe2QR.js.map} +1 -1
  152. package/dist/components/{p-YtvrJDZu.js → p-B6XvNGiA.js} +6 -6
  153. package/dist/components/{p-YtvrJDZu.js.map → p-B6XvNGiA.js.map} +1 -1
  154. package/dist/components/{p-Ci1SNC6M.js → p-B9l_iEm8.js} +3 -3
  155. package/dist/components/{p-Ci1SNC6M.js.map → p-B9l_iEm8.js.map} +1 -1
  156. package/dist/components/{p-Dn5XQ8Jt.js → p-BA-k3iZ-.js} +5 -5
  157. package/dist/components/{p-Dn5XQ8Jt.js.map → p-BA-k3iZ-.js.map} +1 -1
  158. package/dist/components/{p-4qepo_hh.js → p-BHnUxFJO.js} +3 -3
  159. package/dist/components/{p-4qepo_hh.js.map → p-BHnUxFJO.js.map} +1 -1
  160. package/dist/components/{p-B0PAD47I.js → p-BKzN4XU2.js} +4 -4
  161. package/dist/components/{p-B0PAD47I.js.map → p-BKzN4XU2.js.map} +1 -1
  162. package/dist/components/{p-ClqJSCas.js → p-BS1D_VQu.js} +4 -4
  163. package/dist/components/{p-ClqJSCas.js.map → p-BS1D_VQu.js.map} +1 -1
  164. package/dist/components/{p-DZquFVcX.js → p-BSx9yT8P.js} +3 -3
  165. package/dist/components/{p-DZquFVcX.js.map → p-BSx9yT8P.js.map} +1 -1
  166. package/dist/components/{p-BqQxOwe5.js → p-BWt1OlCP.js} +5 -5
  167. package/dist/components/{p-BqQxOwe5.js.map → p-BWt1OlCP.js.map} +1 -1
  168. package/dist/components/{p-BoTHhkPJ.js → p-BcfJQ2iG.js} +9 -9
  169. package/dist/components/{p-BoTHhkPJ.js.map → p-BcfJQ2iG.js.map} +1 -1
  170. package/dist/components/{p-D8g_X4vx.js → p-BopctUFy.js} +7 -7
  171. package/dist/components/{p-D8g_X4vx.js.map → p-BopctUFy.js.map} +1 -1
  172. package/dist/components/{p-CNIvCFmS.js → p-Bouerm1u.js} +5 -5
  173. package/dist/components/{p-CNIvCFmS.js.map → p-Bouerm1u.js.map} +1 -1
  174. package/dist/components/{p-BgQmHniF.js → p-BphPIp_9.js} +6 -6
  175. package/dist/components/{p-BgQmHniF.js.map → p-BphPIp_9.js.map} +1 -1
  176. package/dist/components/{p-BRImIyGj.js → p-Bq8KQiri.js} +3 -3
  177. package/dist/components/{p-BRImIyGj.js.map → p-Bq8KQiri.js.map} +1 -1
  178. package/dist/components/{p-H7Lh2Bgs.js → p-C4RWomy3.js} +3 -3
  179. package/dist/components/{p-H7Lh2Bgs.js.map → p-C4RWomy3.js.map} +1 -1
  180. package/dist/components/{p-B1hAnOW_.js → p-C4ew4BWF.js} +7 -7
  181. package/dist/components/{p-B1hAnOW_.js.map → p-C4ew4BWF.js.map} +1 -1
  182. package/dist/components/{p-EnVb6m-B.js → p-C7Wum7Zf.js} +3 -3
  183. package/dist/components/{p-EnVb6m-B.js.map → p-C7Wum7Zf.js.map} +1 -1
  184. package/dist/components/{p-DropTKrS.js → p-C8p_ftK9.js} +3 -3
  185. package/dist/components/{p-DropTKrS.js.map → p-C8p_ftK9.js.map} +1 -1
  186. package/dist/components/{p-BHaqxQEc.js → p-C9g8C0mi.js} +4 -4
  187. package/dist/components/{p-BHaqxQEc.js.map → p-C9g8C0mi.js.map} +1 -1
  188. package/dist/components/{p-Cj1zS9Yk.js → p-CK7gMyRU.js} +3 -3
  189. package/dist/components/{p-Cj1zS9Yk.js.map → p-CK7gMyRU.js.map} +1 -1
  190. package/dist/components/{p-CwEhkBGD.js → p-CLC2TbXk.js} +7 -7
  191. package/dist/components/{p-CwEhkBGD.js.map → p-CLC2TbXk.js.map} +1 -1
  192. package/dist/components/{p-C7ZmIU6n.js → p-CPrTAi5M.js} +3 -3
  193. package/dist/components/{p-C7ZmIU6n.js.map → p-CPrTAi5M.js.map} +1 -1
  194. package/dist/components/{p-BfZiNeqm.js → p-CVwbuuw7.js} +8 -8
  195. package/dist/components/{p-BfZiNeqm.js.map → p-CVwbuuw7.js.map} +1 -1
  196. package/dist/components/{p-Bo_lYzLZ.js → p-Cb-REzD8.js} +7 -7
  197. package/dist/components/{p-Bo_lYzLZ.js.map → p-Cb-REzD8.js.map} +1 -1
  198. package/dist/components/{p-DBjA2pn_.js → p-CdY_9ADR.js} +3 -3
  199. package/dist/components/{p-DBjA2pn_.js.map → p-CdY_9ADR.js.map} +1 -1
  200. package/dist/components/{p-CVdrbqL8.js → p-Cg0FICEV.js} +12 -12
  201. package/dist/components/{p-CVdrbqL8.js.map → p-Cg0FICEV.js.map} +1 -1
  202. package/dist/components/{p-DxJkSvpK.js → p-CjdErtj_.js} +7 -7
  203. package/dist/components/{p-DxJkSvpK.js.map → p-CjdErtj_.js.map} +1 -1
  204. package/dist/components/{p-BPVsYhNs.js → p-CnJ7i4Ge.js} +3 -3
  205. package/dist/components/{p-BPVsYhNs.js.map → p-CnJ7i4Ge.js.map} +1 -1
  206. package/dist/components/{p-D2BM3CAF.js → p-Cq0yCqAz.js} +4 -4
  207. package/dist/components/{p-D2BM3CAF.js.map → p-Cq0yCqAz.js.map} +1 -1
  208. package/dist/components/{p-DPifMYh1.js → p-CtfINZeC.js} +3 -3
  209. package/dist/components/{p-DPifMYh1.js.map → p-CtfINZeC.js.map} +1 -1
  210. package/dist/components/{p-Ms692OrL.js → p-CzWLgw4z.js} +11 -11
  211. package/dist/components/{p-Ms692OrL.js.map → p-CzWLgw4z.js.map} +1 -1
  212. package/dist/components/{p-t0MQMh96.js → p-CzvAx4N0.js} +3 -3
  213. package/dist/components/{p-t0MQMh96.js.map → p-CzvAx4N0.js.map} +1 -1
  214. package/dist/components/{p-DvMakgGn.js → p-D6v9nUys.js} +6 -6
  215. package/dist/components/{p-DvMakgGn.js.map → p-D6v9nUys.js.map} +1 -1
  216. package/dist/components/{p-DG3_bl_f.js → p-DGZVtVjz.js} +4 -4
  217. package/dist/components/{p-DG3_bl_f.js.map → p-DGZVtVjz.js.map} +1 -1
  218. package/dist/components/{p-qxq3j0na.js → p-DMh6Sy1I.js} +9 -9
  219. package/dist/components/{p-qxq3j0na.js.map → p-DMh6Sy1I.js.map} +1 -1
  220. package/dist/components/{p-BeuQJv8J.js → p-DONIQb7T.js} +4 -4
  221. package/dist/components/{p-BeuQJv8J.js.map → p-DONIQb7T.js.map} +1 -1
  222. package/dist/components/{p-ChMGYfCJ.js → p-DOs1ZWHT.js} +7 -7
  223. package/dist/components/{p-ChMGYfCJ.js.map → p-DOs1ZWHT.js.map} +1 -1
  224. package/dist/components/{p-CU8kKUrp.js → p-DWVF3j-K.js} +3 -3
  225. package/dist/components/{p-CU8kKUrp.js.map → p-DWVF3j-K.js.map} +1 -1
  226. package/dist/components/{p-By3HNKZ9.js → p-DX6blqyR.js} +7 -7
  227. package/dist/components/{p-By3HNKZ9.js.map → p-DX6blqyR.js.map} +1 -1
  228. package/dist/components/{p-X46RDuY9.js → p-DajXzNIS.js} +3 -3
  229. package/dist/components/{p-X46RDuY9.js.map → p-DajXzNIS.js.map} +1 -1
  230. package/dist/components/{p-D82evlE7.js → p-DbtxIjHJ.js} +12 -12
  231. package/dist/components/{p-D82evlE7.js.map → p-DbtxIjHJ.js.map} +1 -1
  232. package/dist/components/{p-B5tB8aym.js → p-DcQjVFab.js} +3 -3
  233. package/dist/components/{p-B5tB8aym.js.map → p-DcQjVFab.js.map} +1 -1
  234. package/dist/components/{p-CXSupSpi.js → p-DehXKx39.js} +7 -7
  235. package/dist/components/{p-CXSupSpi.js.map → p-DehXKx39.js.map} +1 -1
  236. package/dist/components/{p-COskn4RU.js → p-Di88jQY_.js} +10 -10
  237. package/dist/components/{p-COskn4RU.js.map → p-Di88jQY_.js.map} +1 -1
  238. package/dist/components/{p-Crjc0_Pz.js → p-DjTm4fFR.js} +3 -3
  239. package/dist/components/{p-Crjc0_Pz.js.map → p-DjTm4fFR.js.map} +1 -1
  240. package/dist/components/{p-XSFDlYKx.js → p-DmE9OpGH.js} +3 -3
  241. package/dist/components/{p-XSFDlYKx.js.map → p-DmE9OpGH.js.map} +1 -1
  242. package/dist/components/{p-C_cxk9RY.js → p-Dn5GUbNz.js} +7 -7
  243. package/dist/components/{p-C_cxk9RY.js.map → p-Dn5GUbNz.js.map} +1 -1
  244. package/dist/components/{p-DnmvEKvQ.js → p-DsHYayb4.js} +5 -5
  245. package/dist/components/{p-DnmvEKvQ.js.map → p-DsHYayb4.js.map} +1 -1
  246. package/dist/components/{p-DW10PQbf.js → p-DvQXjdsB.js} +4 -4
  247. package/dist/components/{p-DW10PQbf.js.map → p-DvQXjdsB.js.map} +1 -1
  248. package/dist/components/{p-xXoQzT_3.js → p-H9Yh6P94.js} +11 -11
  249. package/dist/components/{p-xXoQzT_3.js.map → p-H9Yh6P94.js.map} +1 -1
  250. package/dist/components/{p-pctV0Gj2.js → p-KSZ8qiZE.js} +10 -10
  251. package/dist/components/{p-pctV0Gj2.js.map → p-KSZ8qiZE.js.map} +1 -1
  252. package/dist/components/{p-CQ5Rgo2v.js → p-RMVTGhIS.js} +8 -8
  253. package/dist/components/{p-CQ5Rgo2v.js.map → p-RMVTGhIS.js.map} +1 -1
  254. package/dist/components/{p-CFlL5zCd.js → p-SGLayYK3.js} +3 -3
  255. package/dist/components/{p-CFlL5zCd.js.map → p-SGLayYK3.js.map} +1 -1
  256. package/dist/components/{p-wdknGSf8.js → p-SyDKOxzb.js} +3 -3
  257. package/dist/components/{p-wdknGSf8.js.map → p-SyDKOxzb.js.map} +1 -1
  258. package/dist/components/{p-DhT_Fmme.js → p-UU-uJ6rm.js} +6 -6
  259. package/dist/components/{p-DhT_Fmme.js.map → p-UU-uJ6rm.js.map} +1 -1
  260. package/dist/components/{p-C_jdtWlT.js → p-VpVgAuYa.js} +3 -3
  261. package/dist/components/{p-C_jdtWlT.js.map → p-VpVgAuYa.js.map} +1 -1
  262. package/dist/components/{p-D0B30t54.js → p-XSAPGv74.js} +3 -3
  263. package/dist/components/{p-D0B30t54.js.map → p-XSAPGv74.js.map} +1 -1
  264. package/dist/components/{p-8HdKT3_D.js → p-dZ-dwebM.js} +11 -11
  265. package/dist/components/{p-8HdKT3_D.js.map → p-dZ-dwebM.js.map} +1 -1
  266. package/dist/components/{p-BPjfBYp8.js → p-nQojTf6Q.js} +3 -3
  267. package/dist/components/{p-BPjfBYp8.js.map → p-nQojTf6Q.js.map} +1 -1
  268. package/dist/components/{p-BCKlDT10.js → p-o34Djtsg.js} +6 -6
  269. package/dist/components/{p-BCKlDT10.js.map → p-o34Djtsg.js.map} +1 -1
  270. package/dist/components/{p-xhu94bYw.js → p-pWmESorT.js} +3 -3
  271. package/dist/components/{p-xhu94bYw.js.map → p-pWmESorT.js.map} +1 -1
  272. package/dist/components/{p-BmkW_Y9y.js → p-ulFcx8BE.js} +5 -5
  273. package/dist/components/{p-BmkW_Y9y.js.map → p-ulFcx8BE.js.map} +1 -1
  274. package/dist/components/{p-CK65LG9N.js → p-zoQGoMI3.js} +3 -3
  275. package/dist/components/{p-CK65LG9N.js.map → p-zoQGoMI3.js.map} +1 -1
  276. package/dist/components/stzh-accordion-item.js +1 -1
  277. package/dist/components/stzh-accordion.js +1 -1
  278. package/dist/components/stzh-actions.js +1 -1
  279. package/dist/components/stzh-actionset.js +1 -1
  280. package/dist/components/stzh-amount.js +9 -9
  281. package/dist/components/stzh-anchornav.js +5 -5
  282. package/dist/components/stzh-app-nav.js +1 -1
  283. package/dist/components/stzh-appointments.js +13 -13
  284. package/dist/components/stzh-archivelist.js +7 -7
  285. package/dist/components/stzh-audio.js +5 -5
  286. package/dist/components/stzh-badge.js +1 -1
  287. package/dist/components/stzh-banner.js +4 -4
  288. package/dist/components/stzh-breadcrumb.js +1 -1
  289. package/dist/components/stzh-button.js +1 -1
  290. package/dist/components/stzh-buttongroup.js +1 -1
  291. package/dist/components/stzh-calendar.js +1 -1
  292. package/dist/components/stzh-card-navigation.js +2 -2
  293. package/dist/components/stzh-card-searchresult.js +14 -14
  294. package/dist/components/stzh-card-superteaser.js +14 -14
  295. package/dist/components/stzh-card.js +1 -1
  296. package/dist/components/stzh-cardlist.js +1 -1
  297. package/dist/components/stzh-carousel.js +1 -1
  298. package/dist/components/stzh-cell.js +1 -1
  299. package/dist/components/stzh-chart.js +1 -1
  300. package/dist/components/stzh-checkbox.js +1 -1
  301. package/dist/components/stzh-checkboxgroup.js +5 -5
  302. package/dist/components/stzh-chip.js +1 -1
  303. package/dist/components/stzh-chipgroup.js +1 -1
  304. package/dist/components/stzh-chipselect.js +1 -1
  305. package/dist/components/stzh-clamp.js +1 -1
  306. package/dist/components/stzh-company-logo.js +1 -1
  307. package/dist/components/stzh-contact-cv.js +4 -4
  308. package/dist/components/stzh-contact.js +10 -10
  309. package/dist/components/stzh-container.js +1 -1
  310. package/dist/components/stzh-content.js +1 -1
  311. package/dist/components/stzh-cspace.js +1 -1
  312. package/dist/components/stzh-cta.js +3 -3
  313. package/dist/components/stzh-datalist-item.js +1 -1
  314. package/dist/components/stzh-datalist.js +1 -1
  315. package/dist/components/stzh-datamessagelist-item.js +11 -11
  316. package/dist/components/stzh-datamessagelist.js +1 -1
  317. package/dist/components/stzh-datatable.js +17 -17
  318. package/dist/components/stzh-datepicker.js +1 -1
  319. package/dist/components/stzh-daterange.js +4 -4
  320. package/dist/components/stzh-details.js +1 -1
  321. package/dist/components/stzh-dialog.js +1 -1
  322. package/dist/components/stzh-disturber.js +4 -4
  323. package/dist/components/stzh-dropdown.js +1 -1
  324. package/dist/components/stzh-editor.js +4 -4
  325. package/dist/components/stzh-eventdata.js +1 -1
  326. package/dist/components/stzh-eventinfo.js +5 -5
  327. package/dist/components/stzh-feedreader-item.js +2 -2
  328. package/dist/components/stzh-feedreader.js +8 -8
  329. package/dist/components/stzh-fieldset.js +1 -1
  330. package/dist/components/stzh-figure.js +1 -1
  331. package/dist/components/stzh-flyingfocus.js +1 -1
  332. package/dist/components/stzh-footer.js +4 -4
  333. package/dist/components/stzh-gallery.js +8 -8
  334. package/dist/components/stzh-geo-ref-data.js +24 -24
  335. package/dist/components/stzh-ghettobox.js +4 -4
  336. package/dist/components/stzh-header.js +1 -1
  337. package/dist/components/stzh-heading.js +1 -1
  338. package/dist/components/stzh-homepage-search.js +2 -2
  339. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  340. package/dist/components/stzh-hr.js +1 -1
  341. package/dist/components/stzh-hspace.js +1 -1
  342. package/dist/components/stzh-http-error.js +7 -7
  343. package/dist/components/stzh-icon.js +1 -1
  344. package/dist/components/stzh-iframe.js +1 -1
  345. package/dist/components/stzh-imagecomparison.js +2 -2
  346. package/dist/components/stzh-input.js +1 -1
  347. package/dist/components/stzh-invert.js +1 -1
  348. package/dist/components/stzh-link.js +1 -1
  349. package/dist/components/stzh-linklist.js +10 -10
  350. package/dist/components/stzh-list-item.js +1 -1
  351. package/dist/components/stzh-list.js +1 -1
  352. package/dist/components/stzh-loader.js +1 -1
  353. package/dist/components/stzh-loadingbar.js +1 -1
  354. package/dist/components/stzh-menu-item.js +1 -1
  355. package/dist/components/stzh-menu.js +1 -1
  356. package/dist/components/stzh-message.js +1 -1
  357. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  358. package/dist/components/stzh-monthyearpicker.js +5 -5
  359. package/dist/components/stzh-offline-indicator.js +6 -6
  360. package/dist/components/stzh-olmap.js +1 -1
  361. package/dist/components/stzh-overlay.js +1 -1
  362. package/dist/components/stzh-page-skiplinks.js +1 -1
  363. package/dist/components/stzh-pagebottom.js +8 -8
  364. package/dist/components/stzh-pagecontent.js +1 -1
  365. package/dist/components/stzh-pagetitle-hero.js +1 -1
  366. package/dist/components/stzh-pagetitle-home.js +2 -2
  367. package/dist/components/stzh-pagetitle.js +2 -2
  368. package/dist/components/stzh-pagination.js +1 -1
  369. package/dist/components/stzh-panorama.js +11 -11
  370. package/dist/components/stzh-pi-content-navigation.js +3 -3
  371. package/dist/components/stzh-pi-menu.js +3 -3
  372. package/dist/components/stzh-pi-pagetitle.js +2 -2
  373. package/dist/components/stzh-pi-quote.js +1 -1
  374. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  375. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  376. package/dist/components/stzh-pi-teaser.js +2 -2
  377. package/dist/components/stzh-pkzh-qr.js +20 -20
  378. package/dist/components/stzh-popover.js +1 -1
  379. package/dist/components/stzh-print.js +1 -1
  380. package/dist/components/stzh-quote.js +1 -1
  381. package/dist/components/stzh-radio.js +1 -1
  382. package/dist/components/stzh-radiogroup.js +1 -1
  383. package/dist/components/stzh-rating.js +5 -5
  384. package/dist/components/stzh-ratio.js +1 -1
  385. package/dist/components/stzh-readspeaker.js +4 -4
  386. package/dist/components/stzh-richtext.js +2 -2
  387. package/dist/components/stzh-row.js +1 -1
  388. package/dist/components/stzh-saptcha.js +7 -7
  389. package/dist/components/stzh-scrollup.js +1 -1
  390. package/dist/components/stzh-search.js +16 -16
  391. package/dist/components/stzh-section.js +1 -1
  392. package/dist/components/stzh-share.js +1 -1
  393. package/dist/components/stzh-show.js +1 -1
  394. package/dist/components/stzh-sitemap.js +9 -9
  395. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  396. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  397. package/dist/components/stzh-skiplink.js +1 -1
  398. package/dist/components/stzh-socialmediastream-item.js +1 -1
  399. package/dist/components/stzh-socialmediastream.js +6 -6
  400. package/dist/components/stzh-sortable.js +1 -1
  401. package/dist/components/stzh-space.js +1 -1
  402. package/dist/components/stzh-status.js +1 -1
  403. package/dist/components/stzh-stepper-item.js +1 -1
  404. package/dist/components/stzh-stepper.js +3 -3
  405. package/dist/components/stzh-sticky-actions.js +2 -2
  406. package/dist/components/stzh-sticky.js +1 -1
  407. package/dist/components/stzh-table.js +1 -1
  408. package/dist/components/stzh-tag.js +1 -1
  409. package/dist/components/stzh-text.js +1 -1
  410. package/dist/components/stzh-textandimage.js +1 -1
  411. package/dist/components/stzh-timeline-item.js +3 -3
  412. package/dist/components/stzh-timeline.js +1 -1
  413. package/dist/components/stzh-timepicker.js +5 -5
  414. package/dist/components/stzh-toast.js +1 -1
  415. package/dist/components/stzh-toastbar.js +1 -1
  416. package/dist/components/stzh-toggle.js +5 -5
  417. package/dist/components/stzh-tooltip.js +1 -1
  418. package/dist/components/stzh-twocolumns.js +1 -1
  419. package/dist/components/stzh-upload.js +13 -13
  420. package/dist/components/stzh-vbz-carousel.js +2 -2
  421. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  422. package/dist/components/stzh-vbz-intro.js +5 -5
  423. package/dist/components/stzh-vbz-linechip.js +1 -1
  424. package/dist/components/stzh-vbz-majorticker.js +7 -7
  425. package/dist/components/stzh-vbz-ticker.js +7 -7
  426. package/dist/components/stzh-visuallyhidden.js +1 -1
  427. package/dist/components/stzh-vspace.js +1 -1
  428. package/dist/components/stzh-youtube.js +6 -6
  429. package/dist/esm/{index-CMm0FVAs.js → index-BDy81lpO.js} +3 -3
  430. package/dist/esm/{index-CMm0FVAs.js.map → index-BDy81lpO.js.map} +1 -1
  431. package/dist/esm/loader.js +3 -3
  432. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  433. package/dist/esm/stzh-actions_6.entry.js +1 -1
  434. package/dist/esm/stzh-actionset.entry.js +1 -1
  435. package/dist/esm/stzh-amount.entry.js +1 -1
  436. package/dist/esm/stzh-anchornav.entry.js +1 -1
  437. package/dist/esm/stzh-app-nav.entry.js +1 -1
  438. package/dist/esm/stzh-appointments.entry.js +1 -1
  439. package/dist/esm/stzh-archivelist.entry.js +1 -1
  440. package/dist/esm/stzh-audio.entry.js +1 -1
  441. package/dist/esm/stzh-badge_3.entry.js +1 -1
  442. package/dist/esm/stzh-banner.entry.js +1 -1
  443. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  444. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  445. package/dist/esm/stzh-calendar.entry.js +1 -1
  446. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  447. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  448. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  449. package/dist/esm/stzh-card_2.entry.js +1 -1
  450. package/dist/esm/stzh-carousel.entry.js +1 -1
  451. package/dist/esm/stzh-chart.entry.js +1 -1
  452. package/dist/esm/stzh-checkbox.entry.js +2 -2
  453. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  454. package/dist/esm/stzh-chip_2.entry.js +2 -2
  455. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  456. package/dist/esm/stzh-clamp.entry.js +1 -1
  457. package/dist/esm/stzh-company-logo.entry.js +1 -1
  458. package/dist/esm/stzh-components.js +3 -3
  459. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  460. package/dist/esm/stzh-contact.entry.js +1 -1
  461. package/dist/esm/stzh-container_2.entry.js +1 -1
  462. package/dist/esm/stzh-content.entry.js +1 -1
  463. package/dist/esm/stzh-cta.entry.js +1 -1
  464. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  465. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  466. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  467. package/dist/esm/stzh-datatable.entry.js +1 -1
  468. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  469. package/dist/esm/stzh-daterange.entry.js +1 -1
  470. package/dist/esm/stzh-details.entry.js +1 -1
  471. package/dist/esm/stzh-dialog.entry.js +1 -1
  472. package/dist/esm/stzh-disturber.entry.js +1 -1
  473. package/dist/esm/stzh-dropdown.entry.js +2 -2
  474. package/dist/esm/stzh-editor.entry.js +1 -1
  475. package/dist/esm/stzh-eventdata.entry.js +1 -1
  476. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  477. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  478. package/dist/esm/stzh-feedreader.entry.js +1 -1
  479. package/dist/esm/stzh-figure.entry.js +1 -1
  480. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  481. package/dist/esm/stzh-footer.entry.js +1 -1
  482. package/dist/esm/stzh-gallery.entry.js +1 -1
  483. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  484. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  485. package/dist/esm/stzh-header_3.entry.js +1 -1
  486. package/dist/esm/stzh-heading.entry.js +1 -1
  487. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  488. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  489. package/dist/esm/stzh-hr.entry.js +1 -1
  490. package/dist/esm/stzh-hspace.entry.js +1 -1
  491. package/dist/esm/stzh-http-error.entry.js +1 -1
  492. package/dist/esm/stzh-iframe.entry.js +1 -1
  493. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  494. package/dist/esm/{stzh-input-description-DucOXgIp.js → stzh-input-description-D2d54L27.js} +3 -3
  495. package/dist/esm/{stzh-input-description-DucOXgIp.js.map → stzh-input-description-D2d54L27.js.map} +1 -1
  496. package/dist/esm/stzh-input.entry.js +42 -8
  497. package/dist/esm/stzh-input.entry.js.map +1 -1
  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 +1 -1
  506. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  507. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  508. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  509. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  510. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  511. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  512. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  513. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  514. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  515. package/dist/esm/stzh-panorama.entry.js +1 -1
  516. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  517. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  518. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  519. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  520. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  521. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  522. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  523. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  524. package/dist/esm/stzh-popover.entry.js +1 -1
  525. package/dist/esm/stzh-print_2.entry.js +1 -1
  526. package/dist/esm/stzh-quote.entry.js +1 -1
  527. package/dist/esm/stzh-rating.entry.js +2 -2
  528. package/dist/esm/stzh-ratio.entry.js +1 -1
  529. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  530. package/dist/esm/stzh-richtext.entry.js +1 -1
  531. package/dist/esm/stzh-saptcha.entry.js +1 -1
  532. package/dist/esm/stzh-scrollup.entry.js +1 -1
  533. package/dist/esm/stzh-search.entry.js +1 -1
  534. package/dist/esm/stzh-section.entry.js +1 -1
  535. package/dist/esm/stzh-show.entry.js +1 -1
  536. package/dist/esm/stzh-sitemap.entry.js +1 -1
  537. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  538. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  539. package/dist/esm/stzh-skiplink.entry.js +1 -1
  540. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  541. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  542. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  543. package/dist/esm/stzh-stepper.entry.js +1 -1
  544. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  545. package/dist/esm/stzh-sticky.entry.js +1 -1
  546. package/dist/esm/stzh-table.entry.js +1 -1
  547. package/dist/esm/stzh-text.entry.js +1 -1
  548. package/dist/esm/stzh-textandimage.entry.js +1 -1
  549. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  550. package/dist/esm/stzh-timeline.entry.js +1 -1
  551. package/dist/esm/stzh-timepicker.entry.js +1 -1
  552. package/dist/esm/stzh-toast_2.entry.js +1 -1
  553. package/dist/esm/stzh-toggle.entry.js +2 -2
  554. package/dist/esm/stzh-tooltip.entry.js +1 -1
  555. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  556. package/dist/esm/stzh-upload.entry.js +2 -2
  557. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  558. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  559. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  560. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  561. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  562. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  563. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  564. package/dist/esm/stzh-vspace.entry.js +1 -1
  565. package/dist/esm/stzh-youtube.entry.js +1 -1
  566. package/dist/stzh-components/{p-e429839d.entry.js → p-01cb747a.entry.js} +2 -2
  567. package/dist/stzh-components/{p-6601cd26.entry.js → p-0747c17b.entry.js} +2 -2
  568. package/dist/stzh-components/{p-3d14531a.entry.js → p-07639e2e.entry.js} +2 -2
  569. package/dist/stzh-components/{p-26018e74.entry.js → p-09219622.entry.js} +2 -2
  570. package/dist/stzh-components/{p-89bcc6b2.entry.js → p-0a1eb5fd.entry.js} +2 -2
  571. package/dist/stzh-components/{p-1dfa8f3b.entry.js → p-0cac70a3.entry.js} +2 -2
  572. package/dist/stzh-components/{p-44373262.entry.js → p-0dc95d03.entry.js} +2 -2
  573. package/dist/stzh-components/{p-0240b59e.entry.js → p-0df1be19.entry.js} +2 -2
  574. package/dist/stzh-components/{p-dd10da2d.entry.js → p-0e3d6349.entry.js} +2 -2
  575. package/dist/stzh-components/{p-44788824.entry.js → p-0e45d2de.entry.js} +2 -2
  576. package/dist/stzh-components/{p-322fa1b3.entry.js → p-0f6a6d68.entry.js} +2 -2
  577. package/dist/stzh-components/{p-7736cb04.entry.js → p-0fe0982a.entry.js} +2 -2
  578. package/dist/stzh-components/{p-a3f4d2cb.entry.js → p-120fc2f7.entry.js} +2 -2
  579. package/dist/stzh-components/{p-969e7b46.entry.js → p-158b16e0.entry.js} +2 -2
  580. package/dist/stzh-components/{p-e706c0cf.entry.js → p-17c76b7f.entry.js} +2 -2
  581. package/dist/stzh-components/{p-42b2ec0a.entry.js → p-1b39c90b.entry.js} +4 -4
  582. package/dist/stzh-components/{p-70dffd1b.entry.js → p-1c3942a6.entry.js} +2 -2
  583. package/dist/stzh-components/{p-360fd13b.entry.js → p-1db6f565.entry.js} +2 -2
  584. package/dist/stzh-components/{p-9df5d649.entry.js → p-1f1aac25.entry.js} +2 -2
  585. package/dist/stzh-components/{p-675ccc4c.entry.js → p-233a253c.entry.js} +2 -2
  586. package/dist/stzh-components/{p-f9c144a2.entry.js → p-25df4336.entry.js} +2 -2
  587. package/dist/stzh-components/{p-8414eb16.entry.js → p-2683a93d.entry.js} +2 -2
  588. package/dist/stzh-components/{p-f65f388a.entry.js → p-2e1efcc9.entry.js} +2 -2
  589. package/dist/stzh-components/{p-0e8c5ac6.entry.js → p-32258f20.entry.js} +2 -2
  590. package/dist/stzh-components/{p-04f85b2e.entry.js → p-32cd07f2.entry.js} +2 -2
  591. package/dist/stzh-components/{p-58312f4d.entry.js → p-33c80dea.entry.js} +2 -2
  592. package/dist/stzh-components/{p-4cea4286.entry.js → p-375f8787.entry.js} +2 -2
  593. package/dist/stzh-components/{p-34793cbf.entry.js → p-3816c34e.entry.js} +2 -2
  594. package/dist/stzh-components/{p-e87b2f64.entry.js → p-38a9cabf.entry.js} +2 -2
  595. package/dist/stzh-components/{p-4405a8e0.entry.js → p-39217901.entry.js} +2 -2
  596. package/dist/stzh-components/{p-1270ee3a.entry.js → p-3c861eb0.entry.js} +2 -2
  597. package/dist/stzh-components/{p-bb429652.entry.js → p-42f4c28d.entry.js} +2 -2
  598. package/dist/stzh-components/p-42f4c28d.entry.js.map +1 -0
  599. package/dist/stzh-components/{p-b5edc83e.entry.js → p-44df0e58.entry.js} +2 -2
  600. package/dist/stzh-components/{p-00e2d17a.entry.js → p-45452a45.entry.js} +2 -2
  601. package/dist/stzh-components/{p-af6ef7ac.entry.js → p-46c5b453.entry.js} +2 -2
  602. package/dist/stzh-components/{p-35753ac7.entry.js → p-4dfa25ec.entry.js} +2 -2
  603. package/dist/stzh-components/{p-3be730a8.entry.js → p-5198a930.entry.js} +2 -2
  604. package/dist/stzh-components/{p-40067908.entry.js → p-52d757b2.entry.js} +2 -2
  605. package/dist/stzh-components/{p-0c8b277e.entry.js → p-539bb440.entry.js} +2 -2
  606. package/dist/stzh-components/{p-6d67cb35.entry.js → p-54d92856.entry.js} +2 -2
  607. package/dist/stzh-components/{p-60621e3d.entry.js → p-561fd23e.entry.js} +2 -2
  608. package/dist/stzh-components/{p-642ab0db.entry.js → p-58d6b294.entry.js} +2 -2
  609. package/dist/stzh-components/{p-8fa38751.entry.js → p-59da8df1.entry.js} +2 -2
  610. package/dist/stzh-components/{p-84b54d90.entry.js → p-5b7298a4.entry.js} +2 -2
  611. package/dist/stzh-components/{p-a931fa9f.entry.js → p-5ebd56ff.entry.js} +2 -2
  612. package/dist/stzh-components/{p-da655787.entry.js → p-5f862749.entry.js} +2 -2
  613. package/dist/stzh-components/{p-3085e0d2.entry.js → p-645c7fba.entry.js} +3 -3
  614. package/dist/stzh-components/{p-90c5fd7d.entry.js → p-64c9a8f7.entry.js} +2 -2
  615. package/dist/stzh-components/{p-d8c930d4.entry.js → p-65a6428c.entry.js} +2 -2
  616. package/dist/stzh-components/{p-eb838ad2.entry.js → p-65e3833f.entry.js} +2 -2
  617. package/dist/stzh-components/{p-4c67ddc8.entry.js → p-67b2d82d.entry.js} +2 -2
  618. package/dist/stzh-components/{p-a237a4a4.entry.js → p-67e2ea65.entry.js} +2 -2
  619. package/dist/stzh-components/{p-eccbfe1b.entry.js → p-68692aca.entry.js} +2 -2
  620. package/dist/stzh-components/{p-c061f237.entry.js → p-69f5276e.entry.js} +2 -2
  621. package/dist/stzh-components/{p-b4066295.entry.js → p-6aa53daf.entry.js} +2 -2
  622. package/dist/stzh-components/{p-08de2f2c.entry.js → p-6c3de48d.entry.js} +2 -2
  623. package/dist/stzh-components/{p-6e94ba42.entry.js → p-6e6064a5.entry.js} +2 -2
  624. package/dist/stzh-components/{p-cc47f873.entry.js → p-70b10351.entry.js} +2 -2
  625. package/dist/stzh-components/{p-e8ba39b1.entry.js → p-74494120.entry.js} +2 -2
  626. package/dist/stzh-components/{p-f165d700.entry.js → p-752e3cd8.entry.js} +2 -2
  627. package/dist/stzh-components/{p-055e1e41.entry.js → p-759099e2.entry.js} +2 -2
  628. package/dist/stzh-components/{p-cb81c92d.entry.js → p-75dad6c7.entry.js} +2 -2
  629. package/dist/stzh-components/{p-96d0f65f.entry.js → p-75ffb877.entry.js} +2 -2
  630. package/dist/stzh-components/{p-66a1e9f6.entry.js → p-78f63571.entry.js} +2 -2
  631. package/dist/stzh-components/{p-2c4ede3e.entry.js → p-79823ee9.entry.js} +2 -2
  632. package/dist/stzh-components/{p-6e29d589.entry.js → p-7a1296d4.entry.js} +2 -2
  633. package/dist/stzh-components/{p-c85e3ca1.entry.js → p-7bb32473.entry.js} +2 -2
  634. package/dist/stzh-components/{p-c10ea736.entry.js → p-7da86126.entry.js} +2 -2
  635. package/dist/stzh-components/{p-bccb08fd.entry.js → p-7f825eff.entry.js} +2 -2
  636. package/dist/stzh-components/{p-08b79d77.entry.js → p-82d1f2f4.entry.js} +2 -2
  637. package/dist/stzh-components/{p-dd35246f.entry.js → p-856faa3f.entry.js} +2 -2
  638. package/dist/stzh-components/{p-e33fc3e9.entry.js → p-85ac6d83.entry.js} +2 -2
  639. package/dist/stzh-components/{p-e00bebe9.entry.js → p-85cb6ac3.entry.js} +2 -2
  640. package/dist/stzh-components/{p-e7a93596.entry.js → p-8735dc17.entry.js} +2 -2
  641. package/dist/stzh-components/{p-4d6ed393.entry.js → p-8a9f9b42.entry.js} +2 -2
  642. package/dist/stzh-components/{p-d69812a2.entry.js → p-8bc9e95b.entry.js} +2 -2
  643. package/dist/stzh-components/{p-7a4c23e9.entry.js → p-8d558e1d.entry.js} +2 -2
  644. package/dist/stzh-components/{p-6fa4ace3.entry.js → p-8e34c9c9.entry.js} +2 -2
  645. package/dist/stzh-components/{p-bc0009d4.entry.js → p-8e4ecd25.entry.js} +2 -2
  646. package/dist/stzh-components/{p-bff79590.entry.js → p-8f956678.entry.js} +2 -2
  647. package/dist/stzh-components/{p-74e52594.entry.js → p-92d54e6a.entry.js} +2 -2
  648. package/dist/stzh-components/{p-394e34df.entry.js → p-931abfe7.entry.js} +2 -2
  649. package/dist/stzh-components/{p-fbffd77a.entry.js → p-9337582a.entry.js} +2 -2
  650. package/dist/stzh-components/{p-1675e276.entry.js → p-94eed7e7.entry.js} +2 -2
  651. package/dist/stzh-components/{p-b448c54f.entry.js → p-963b4a81.entry.js} +2 -2
  652. package/dist/stzh-components/{p-76b599be.entry.js → p-968ef9db.entry.js} +2 -2
  653. package/dist/stzh-components/{p-a1179d75.entry.js → p-97a89608.entry.js} +2 -2
  654. package/dist/stzh-components/{p-204059c3.entry.js → p-9957d575.entry.js} +2 -2
  655. package/dist/stzh-components/{p-d9aecb49.entry.js → p-9c4e1649.entry.js} +2 -2
  656. package/dist/stzh-components/p-BDy81lpO.js +3 -0
  657. package/dist/stzh-components/{p-CMm0FVAs.js.map → p-BDy81lpO.js.map} +1 -1
  658. package/dist/stzh-components/{p-BRSls9kT.js → p-D4oTGvdl.js} +2 -2
  659. package/dist/stzh-components/{p-BRSls9kT.js.map → p-D4oTGvdl.js.map} +1 -1
  660. package/dist/stzh-components/{p-2e4ab9aa.entry.js → p-ae8fe7f0.entry.js} +2 -2
  661. package/dist/stzh-components/{p-0405ead1.entry.js → p-aed15ee1.entry.js} +2 -2
  662. package/dist/stzh-components/{p-67e6100a.entry.js → p-aef3c5ac.entry.js} +2 -2
  663. package/dist/stzh-components/{p-6351689e.entry.js → p-b2fcc490.entry.js} +2 -2
  664. package/dist/stzh-components/{p-ce188d34.entry.js → p-b663c8f6.entry.js} +2 -2
  665. package/dist/stzh-components/{p-da79325e.entry.js → p-bb16873e.entry.js} +2 -2
  666. package/dist/stzh-components/{p-9c7b454d.entry.js → p-bc622b2a.entry.js} +2 -2
  667. package/dist/stzh-components/{p-e77a9009.entry.js → p-bfa62b65.entry.js} +2 -2
  668. package/dist/stzh-components/{p-4a84f27b.entry.js → p-c0b4f81f.entry.js} +2 -2
  669. package/dist/stzh-components/{p-3ecb1140.entry.js → p-c471680d.entry.js} +2 -2
  670. package/dist/stzh-components/{p-8bcaf427.entry.js → p-c5986c0b.entry.js} +2 -2
  671. package/dist/stzh-components/{p-d2a9c527.entry.js → p-c9972340.entry.js} +5 -5
  672. package/dist/stzh-components/{p-6f5e8f7a.entry.js → p-cc579b5c.entry.js} +2 -2
  673. package/dist/stzh-components/{p-6ca32b16.entry.js → p-cd10adbb.entry.js} +2 -2
  674. package/dist/stzh-components/{p-de99b5f6.entry.js → p-cd9b9eac.entry.js} +2 -2
  675. package/dist/stzh-components/{p-8c0991fc.entry.js → p-d1a50145.entry.js} +2 -2
  676. package/dist/stzh-components/{p-60ce6463.entry.js → p-d215409f.entry.js} +2 -2
  677. package/dist/stzh-components/{p-5a04072c.entry.js → p-d3209381.entry.js} +2 -2
  678. package/dist/stzh-components/{p-e0aa37e0.entry.js → p-d3969952.entry.js} +3 -3
  679. package/dist/stzh-components/{p-d5ff4faf.entry.js → p-d9ceb9a1.entry.js} +2 -2
  680. package/dist/stzh-components/{p-ecf7ca7e.entry.js → p-dbe53670.entry.js} +2 -2
  681. package/dist/stzh-components/{p-14b76262.entry.js → p-dd01dcf6.entry.js} +2 -2
  682. package/dist/stzh-components/{p-9a4ab562.entry.js → p-deb499e2.entry.js} +2 -2
  683. package/dist/stzh-components/{p-1f1f72fc.entry.js → p-deb5310a.entry.js} +2 -2
  684. package/dist/stzh-components/{p-c3606f68.entry.js → p-e27591a6.entry.js} +2 -2
  685. package/dist/stzh-components/{p-288720eb.entry.js → p-e281a715.entry.js} +3 -3
  686. package/dist/stzh-components/{p-521adcd2.entry.js → p-e2f97240.entry.js} +2 -2
  687. package/dist/stzh-components/{p-9f165ba8.entry.js → p-e51cd413.entry.js} +2 -2
  688. package/dist/stzh-components/{p-575a3271.entry.js → p-e6626ed6.entry.js} +2 -2
  689. package/dist/stzh-components/{p-45147ac4.entry.js → p-e84a2d9e.entry.js} +2 -2
  690. package/dist/stzh-components/{p-3ac95132.entry.js → p-e92a11b6.entry.js} +2 -2
  691. package/dist/stzh-components/{p-4f3cdc12.entry.js → p-e93dbde4.entry.js} +2 -2
  692. package/dist/stzh-components/{p-6950ec4c.entry.js → p-f18c1bc6.entry.js} +2 -2
  693. package/dist/stzh-components/{p-9d593788.entry.js → p-f1a64a00.entry.js} +2 -2
  694. package/dist/stzh-components/{p-8251123e.entry.js → p-f1e336dc.entry.js} +2 -2
  695. package/dist/stzh-components/{p-b1e688a5.entry.js → p-f301a05c.entry.js} +2 -2
  696. package/dist/stzh-components/{p-7ad41098.entry.js → p-f3276383.entry.js} +2 -2
  697. package/dist/stzh-components/{p-6b61a982.entry.js → p-f4243fa8.entry.js} +2 -2
  698. package/dist/stzh-components/{p-ee807638.entry.js → p-f442969e.entry.js} +2 -2
  699. package/dist/stzh-components/{p-47aceb74.entry.js → p-fc96a153.entry.js} +2 -2
  700. package/dist/stzh-components/{p-99c1ca23.entry.js → p-fd0e8627.entry.js} +2 -2
  701. package/dist/stzh-components/stzh-components.esm.js +1 -1
  702. package/dist/types/components/stzh-input/stzh-input.d.ts +7 -0
  703. package/package.json +1 -1
  704. package/dist/components/p-B4QrfbDx.js.map +0 -1
  705. package/dist/stzh-components/p-CMm0FVAs.js +0 -3
  706. package/dist/stzh-components/p-bb429652.entry.js.map +0 -1
  707. /package/dist/stzh-components/{p-e429839d.entry.js.map → p-01cb747a.entry.js.map} +0 -0
  708. /package/dist/stzh-components/{p-6601cd26.entry.js.map → p-0747c17b.entry.js.map} +0 -0
  709. /package/dist/stzh-components/{p-3d14531a.entry.js.map → p-07639e2e.entry.js.map} +0 -0
  710. /package/dist/stzh-components/{p-26018e74.entry.js.map → p-09219622.entry.js.map} +0 -0
  711. /package/dist/stzh-components/{p-89bcc6b2.entry.js.map → p-0a1eb5fd.entry.js.map} +0 -0
  712. /package/dist/stzh-components/{p-1dfa8f3b.entry.js.map → p-0cac70a3.entry.js.map} +0 -0
  713. /package/dist/stzh-components/{p-44373262.entry.js.map → p-0dc95d03.entry.js.map} +0 -0
  714. /package/dist/stzh-components/{p-0240b59e.entry.js.map → p-0df1be19.entry.js.map} +0 -0
  715. /package/dist/stzh-components/{p-dd10da2d.entry.js.map → p-0e3d6349.entry.js.map} +0 -0
  716. /package/dist/stzh-components/{p-44788824.entry.js.map → p-0e45d2de.entry.js.map} +0 -0
  717. /package/dist/stzh-components/{p-322fa1b3.entry.js.map → p-0f6a6d68.entry.js.map} +0 -0
  718. /package/dist/stzh-components/{p-7736cb04.entry.js.map → p-0fe0982a.entry.js.map} +0 -0
  719. /package/dist/stzh-components/{p-a3f4d2cb.entry.js.map → p-120fc2f7.entry.js.map} +0 -0
  720. /package/dist/stzh-components/{p-969e7b46.entry.js.map → p-158b16e0.entry.js.map} +0 -0
  721. /package/dist/stzh-components/{p-e706c0cf.entry.js.map → p-17c76b7f.entry.js.map} +0 -0
  722. /package/dist/stzh-components/{p-42b2ec0a.entry.js.map → p-1b39c90b.entry.js.map} +0 -0
  723. /package/dist/stzh-components/{p-70dffd1b.entry.js.map → p-1c3942a6.entry.js.map} +0 -0
  724. /package/dist/stzh-components/{p-360fd13b.entry.js.map → p-1db6f565.entry.js.map} +0 -0
  725. /package/dist/stzh-components/{p-9df5d649.entry.js.map → p-1f1aac25.entry.js.map} +0 -0
  726. /package/dist/stzh-components/{p-675ccc4c.entry.js.map → p-233a253c.entry.js.map} +0 -0
  727. /package/dist/stzh-components/{p-f9c144a2.entry.js.map → p-25df4336.entry.js.map} +0 -0
  728. /package/dist/stzh-components/{p-8414eb16.entry.js.map → p-2683a93d.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-f65f388a.entry.js.map → p-2e1efcc9.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-0e8c5ac6.entry.js.map → p-32258f20.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-04f85b2e.entry.js.map → p-32cd07f2.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-58312f4d.entry.js.map → p-33c80dea.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-4cea4286.entry.js.map → p-375f8787.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-34793cbf.entry.js.map → p-3816c34e.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-e87b2f64.entry.js.map → p-38a9cabf.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-4405a8e0.entry.js.map → p-39217901.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-1270ee3a.entry.js.map → p-3c861eb0.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-b5edc83e.entry.js.map → p-44df0e58.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-00e2d17a.entry.js.map → p-45452a45.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-af6ef7ac.entry.js.map → p-46c5b453.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-35753ac7.entry.js.map → p-4dfa25ec.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-3be730a8.entry.js.map → p-5198a930.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-40067908.entry.js.map → p-52d757b2.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-0c8b277e.entry.js.map → p-539bb440.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-6d67cb35.entry.js.map → p-54d92856.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-60621e3d.entry.js.map → p-561fd23e.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-642ab0db.entry.js.map → p-58d6b294.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-8fa38751.entry.js.map → p-59da8df1.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-84b54d90.entry.js.map → p-5b7298a4.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-a931fa9f.entry.js.map → p-5ebd56ff.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-da655787.entry.js.map → p-5f862749.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-3085e0d2.entry.js.map → p-645c7fba.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-90c5fd7d.entry.js.map → p-64c9a8f7.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-d8c930d4.entry.js.map → p-65a6428c.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-eb838ad2.entry.js.map → p-65e3833f.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-4c67ddc8.entry.js.map → p-67b2d82d.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-a237a4a4.entry.js.map → p-67e2ea65.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-eccbfe1b.entry.js.map → p-68692aca.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-c061f237.entry.js.map → p-69f5276e.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-b4066295.entry.js.map → p-6aa53daf.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-08de2f2c.entry.js.map → p-6c3de48d.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-6e94ba42.entry.js.map → p-6e6064a5.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-cc47f873.entry.js.map → p-70b10351.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-e8ba39b1.entry.js.map → p-74494120.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-f165d700.entry.js.map → p-752e3cd8.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-055e1e41.entry.js.map → p-759099e2.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-cb81c92d.entry.js.map → p-75dad6c7.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-96d0f65f.entry.js.map → p-75ffb877.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-66a1e9f6.entry.js.map → p-78f63571.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-2c4ede3e.entry.js.map → p-79823ee9.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-6e29d589.entry.js.map → p-7a1296d4.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-c85e3ca1.entry.js.map → p-7bb32473.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-c10ea736.entry.js.map → p-7da86126.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-bccb08fd.entry.js.map → p-7f825eff.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-08b79d77.entry.js.map → p-82d1f2f4.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-dd35246f.entry.js.map → p-856faa3f.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-e33fc3e9.entry.js.map → p-85ac6d83.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-e00bebe9.entry.js.map → p-85cb6ac3.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-e7a93596.entry.js.map → p-8735dc17.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-4d6ed393.entry.js.map → p-8a9f9b42.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-d69812a2.entry.js.map → p-8bc9e95b.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-7a4c23e9.entry.js.map → p-8d558e1d.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-6fa4ace3.entry.js.map → p-8e34c9c9.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-bc0009d4.entry.js.map → p-8e4ecd25.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-bff79590.entry.js.map → p-8f956678.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-74e52594.entry.js.map → p-92d54e6a.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-394e34df.entry.js.map → p-931abfe7.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-fbffd77a.entry.js.map → p-9337582a.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-1675e276.entry.js.map → p-94eed7e7.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-b448c54f.entry.js.map → p-963b4a81.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-76b599be.entry.js.map → p-968ef9db.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-a1179d75.entry.js.map → p-97a89608.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-204059c3.entry.js.map → p-9957d575.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-d9aecb49.entry.js.map → p-9c4e1649.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-2e4ab9aa.entry.js.map → p-ae8fe7f0.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-0405ead1.entry.js.map → p-aed15ee1.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-67e6100a.entry.js.map → p-aef3c5ac.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-6351689e.entry.js.map → p-b2fcc490.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-ce188d34.entry.js.map → p-b663c8f6.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-da79325e.entry.js.map → p-bb16873e.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-9c7b454d.entry.js.map → p-bc622b2a.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-e77a9009.entry.js.map → p-bfa62b65.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-4a84f27b.entry.js.map → p-c0b4f81f.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-3ecb1140.entry.js.map → p-c471680d.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-8bcaf427.entry.js.map → p-c5986c0b.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-d2a9c527.entry.js.map → p-c9972340.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-6f5e8f7a.entry.js.map → p-cc579b5c.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-6ca32b16.entry.js.map → p-cd10adbb.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-de99b5f6.entry.js.map → p-cd9b9eac.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-8c0991fc.entry.js.map → p-d1a50145.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-60ce6463.entry.js.map → p-d215409f.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-5a04072c.entry.js.map → p-d3209381.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-e0aa37e0.entry.js.map → p-d3969952.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-d5ff4faf.entry.js.map → p-d9ceb9a1.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-ecf7ca7e.entry.js.map → p-dbe53670.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-14b76262.entry.js.map → p-dd01dcf6.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-9a4ab562.entry.js.map → p-deb499e2.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-1f1f72fc.entry.js.map → p-deb5310a.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-c3606f68.entry.js.map → p-e27591a6.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-288720eb.entry.js.map → p-e281a715.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-521adcd2.entry.js.map → p-e2f97240.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-9f165ba8.entry.js.map → p-e51cd413.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-575a3271.entry.js.map → p-e6626ed6.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-45147ac4.entry.js.map → p-e84a2d9e.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-3ac95132.entry.js.map → p-e92a11b6.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-4f3cdc12.entry.js.map → p-e93dbde4.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-6950ec4c.entry.js.map → p-f18c1bc6.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-9d593788.entry.js.map → p-f1a64a00.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-8251123e.entry.js.map → p-f1e336dc.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-b1e688a5.entry.js.map → p-f301a05c.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-7ad41098.entry.js.map → p-f3276383.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-6b61a982.entry.js.map → p-f4243fa8.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-ee807638.entry.js.map → p-f442969e.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-47aceb74.entry.js.map → p-fc96a153.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-99c1ca23.entry.js.map → p-fd0e8627.entry.js.map} +0 -0
@@ -1 +1 @@
1
-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tag=stzh-fieldset&encapsulation=scoped","src/components/stzh-fieldset/stzh-fieldset.tsx"],"sourcesContent":[":host {\n // default spacing for form and layout elements\n ::slotted(.layout_column > .stzh-fieldset-row > .stzh-fieldset-row),\n ::slotted(.stzh-fieldset-row > .stzh-fieldset-row),\n ::slotted(.layout_column > .stzh-fieldset-row),\n ::slotted(.stzh-fieldset-row),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-input),\n ::slotted(.stzh-fieldset-row > stzh-input),\n ::slotted(stzh-input),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-datepicker),\n ::slotted(.stzh-fieldset-row > stzh-datepicker),\n ::slotted(stzh-datepicker),\n ::slotted(.stzh-fieldset-row > stzh-dropdown),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-dropdown),\n ::slotted(stzh-dropdown),\n ::slotted(.stzh-fieldset-row > stzh-fieldset),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-fieldset),\n ::slotted(stzh-fieldset),\n ::slotted(.stzh-fieldset-row > stzh-upload),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-upload),\n ::slotted(stzh-upload),\n ::slotted(.stzh-fieldset-row > stzh-checkbox),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-checkbox),\n ::slotted(stzh-checkbox),\n ::slotted(.stzh-fieldset-row > stzh-checkboxgroup),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-checkboxgroup),\n ::slotted(stzh-checkboxgroup),\n ::slotted(.stzh-fieldset-row > stzh-radio),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-radio),\n ::slotted(stzh-radio),\n ::slotted(.stzh-fieldset-row > stzh-radiogroup),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-radiogroup),\n ::slotted(stzh-radiogroup),\n ::slotted(.stzh-fieldset-row > stzh-row),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-row),\n ::slotted(stzh-row),\n ::slotted(.stzh-fieldset-row > stzh-vspace),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-vspace),\n ::slotted(stzh-vspace),\n ::slotted(.stzh-fieldset-row > stzh-hspace),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-hspace),\n ::slotted(stzh-hspace),\n ::slotted(.stzh-fieldset-row > stzh-text),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-text),\n ::slotted(stzh-text) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n @include mq($to: medium) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(.stzh-fieldset-row > stzh-fieldset),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-fieldset),\n ::slotted(stzh-fieldset) {\n @include spaceCurve(\"margin-top\", \"regular\");\n\n .stzh-fieldset__legend {\n @include fontCurve(\"p1\", \"heading\");\n }\n }\n\n & > .section > stzh-chipgroup,\n & > stzh-chipgroup,\n & > .section > stzh-chipselect,\n & > stzh-chipselect {\n margin-bottom: space(\"xlarge\");\n }\n\n ::slotted(.stzh-fieldset-row > stzh-daterange),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-daterange),\n ::slotted(stzh-daterange) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n @include mq($to: medium) {\n margin-bottom: calc(\n #{$fieldsetDescriptionMinHeight} + #{spaceCurveValue(\"tiny\")}\n );\n }\n }\n\n ::slotted(.stzh-fieldset-row > stzh-message),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-message),\n ::slotted(stzh-message) {\n @include spaceCurve(\"margin-bottom\", \"large\");\n }\n\n ::slotted(.stzh-fieldset-row > stzh-actions),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-actions),\n ::slotted(stzh-actions) {\n @include spaceCurve(\"margin-top\", \"medium\");\n @include spaceCurve(\"margin-bottom\", \"big\");\n }\n\n ::slotted(*) {\n stzh-checkboxgroup stzh-checkbox,\n stzh-radiogroup stzh-radio {\n --stzh-description-min-height: none;\n }\n }\n\n ::slotted(.stzh-fieldset-row > :last-child),\n ::slotted(.layout_column > .stzh-fieldset-row > :last-child),\n ::slotted(:last-child),\n ::slotted(.layout_column > .stzh-fieldset-row:has(cq) > :nth-last-child(2)),\n ::slotted(.stzh-fieldset-row:has(cq) > :nth-last-child(2)) {\n margin-bottom: 0;\n }\n\n ::slotted(stzh-row) {\n @include mq($to: small) {\n margin-bottom: 0;\n }\n @include mq($from: small, $to: medium) {\n margin-bottom: 0;\n }\n }\n\n /* Slotted cells and rows */\n\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-radiogroup) {\n @include mq($to: large) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-radiogroup) {\n @include mq($to: medium) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radiogroup) {\n @include mq($from: small, $to: medium) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radiogroup) {\n @include mq($to: small) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-radiogroup) {\n @include mq($to: large) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-radiogroup) {\n @include mq($to: medium) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radiogroup) {\n @include mq($from: small, $to: medium) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radiogroup) {\n @include mq($to: small) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n}\n\n.stzh-fieldset {\n //--stzh-row-row-gap: #{space('xsmall')};\n --stzh-description-min-height: #{$fieldsetDescriptionMinHeight};\n\n margin: 0;\n padding: 0;\n border: none;\n min-inline-size: auto;\n\n &__wrapper {\n display: grid;\n }\n\n &__legend {\n @include font(\"title\");\n @include fontCurve(\"h4\");\n color: $colorPrimary70;\n padding: 0;\n margin-bottom: space(\"large\");\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n}\n","import { Component, Host, Prop, h } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for any (mostly form) elements\n */\n@Component({\n tag: \"stzh-fieldset\",\n styleUrl: \"stzh-fieldset.scss\",\n scoped: true,\n})\nexport class StzhFieldset {\n /** Legend describing the field group inside the fieldset */\n @Prop() legend: string = \"\";\n\n /** Hide legend to show only for screenreaders */\n @Prop() hideLegend: boolean = false;\n\n /** Heading level inside legend */\n @Prop() legendLevel: \"\" | \"1\" | \"2\" | \"3\" | \"4\" = \"\";\n\n /** Type of curve to overwrite the curve inherited from `level` attribute (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop() legendCurve: Font.Curves | \"auto\" = \"auto\";\n\n render() {\n const classes = {\n \"stzh-fieldset\": true,\n \"stzh-fieldset--hide-legend\": this.hideLegend,\n };\n\n return (\n <Host>\n <fieldset class={classes}>\n {this.legend && (\n <legend class=\"stzh-fieldset__legend\">\n {this.legendLevel ? (\n <stzh-heading level={this.legendLevel} curve={this.legendCurve}>\n {this.legend}\n </stzh-heading>\n ) : (\n this.legend\n )}\n </legend>\n )}\n <div class=\"stzh-fieldset__wrapper\">\n <slot></slot>\n </div>\n </fieldset>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-BS1D_VQu.js","mappings":";;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,y1wGAAy1wG,CAAC;;MCY52wG,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAGnB,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAW,CAAA,WAAA,GAA+B,EAAE;;AAG5C,QAAA,IAAW,CAAA,WAAA,GAAyB,MAAM;AA6BnD;IA3BC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,eAAe,EAAE,IAAI;YACrB,4BAA4B,EAAE,IAAI,CAAC,UAAU;SAC9C;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAU,CAAA,UAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACrB,IAAI,CAAC,MAAM,KACV,CAAQ,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAClC,IAAI,CAAC,WAAW,IACf,CAAc,CAAA,cAAA,EAAA,EAAA,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,EAC3D,EAAA,IAAI,CAAC,MAAM,CACC,KAEf,IAAI,CAAC,MAAM,CACZ,CACM,CACV,EACD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,wBAAwB,EAAA,EACjC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACG,CACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-fieldset/stzh-fieldset.scss?tag=stzh-fieldset&encapsulation=scoped","src/components/stzh-fieldset/stzh-fieldset.tsx"],"sourcesContent":[":host {\n // default spacing for form and layout elements\n ::slotted(.layout_column > .stzh-fieldset-row > .stzh-fieldset-row),\n ::slotted(.stzh-fieldset-row > .stzh-fieldset-row),\n ::slotted(.layout_column > .stzh-fieldset-row),\n ::slotted(.stzh-fieldset-row),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-input),\n ::slotted(.stzh-fieldset-row > stzh-input),\n ::slotted(stzh-input),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-datepicker),\n ::slotted(.stzh-fieldset-row > stzh-datepicker),\n ::slotted(stzh-datepicker),\n ::slotted(.stzh-fieldset-row > stzh-dropdown),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-dropdown),\n ::slotted(stzh-dropdown),\n ::slotted(.stzh-fieldset-row > stzh-fieldset),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-fieldset),\n ::slotted(stzh-fieldset),\n ::slotted(.stzh-fieldset-row > stzh-upload),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-upload),\n ::slotted(stzh-upload),\n ::slotted(.stzh-fieldset-row > stzh-checkbox),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-checkbox),\n ::slotted(stzh-checkbox),\n ::slotted(.stzh-fieldset-row > stzh-checkboxgroup),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-checkboxgroup),\n ::slotted(stzh-checkboxgroup),\n ::slotted(.stzh-fieldset-row > stzh-radio),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-radio),\n ::slotted(stzh-radio),\n ::slotted(.stzh-fieldset-row > stzh-radiogroup),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-radiogroup),\n ::slotted(stzh-radiogroup),\n ::slotted(.stzh-fieldset-row > stzh-row),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-row),\n ::slotted(stzh-row),\n ::slotted(.stzh-fieldset-row > stzh-vspace),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-vspace),\n ::slotted(stzh-vspace),\n ::slotted(.stzh-fieldset-row > stzh-hspace),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-hspace),\n ::slotted(stzh-hspace),\n ::slotted(.stzh-fieldset-row > stzh-text),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-text),\n ::slotted(stzh-text) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n @include mq($to: medium) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(.stzh-fieldset-row > stzh-fieldset),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-fieldset),\n ::slotted(stzh-fieldset) {\n @include spaceCurve(\"margin-top\", \"regular\");\n\n .stzh-fieldset__legend {\n @include fontCurve(\"p1\", \"heading\");\n }\n }\n\n & > .section > stzh-chipgroup,\n & > stzh-chipgroup,\n & > .section > stzh-chipselect,\n & > stzh-chipselect {\n margin-bottom: space(\"xlarge\");\n }\n\n ::slotted(.stzh-fieldset-row > stzh-daterange),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-daterange),\n ::slotted(stzh-daterange) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n @include mq($to: medium) {\n margin-bottom: calc(\n #{$fieldsetDescriptionMinHeight} + #{spaceCurveValue(\"tiny\")}\n );\n }\n }\n\n ::slotted(.stzh-fieldset-row > stzh-message),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-message),\n ::slotted(stzh-message) {\n @include spaceCurve(\"margin-bottom\", \"large\");\n }\n\n ::slotted(.stzh-fieldset-row > stzh-actions),\n ::slotted(.layout_column > .stzh-fieldset-row > stzh-actions),\n ::slotted(stzh-actions) {\n @include spaceCurve(\"margin-top\", \"medium\");\n @include spaceCurve(\"margin-bottom\", \"big\");\n }\n\n ::slotted(*) {\n stzh-checkboxgroup stzh-checkbox,\n stzh-radiogroup stzh-radio {\n --stzh-description-min-height: none;\n }\n }\n\n ::slotted(.stzh-fieldset-row > :last-child),\n ::slotted(.layout_column > .stzh-fieldset-row > :last-child),\n ::slotted(:last-child),\n ::slotted(.layout_column > .stzh-fieldset-row:has(cq) > :nth-last-child(2)),\n ::slotted(.stzh-fieldset-row:has(cq) > :nth-last-child(2)) {\n margin-bottom: 0;\n }\n\n ::slotted(stzh-row) {\n @include mq($to: small) {\n margin-bottom: 0;\n }\n @include mq($from: small, $to: medium) {\n margin-bottom: 0;\n }\n }\n\n /* Slotted cells and rows */\n\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-large] > stzh-radiogroup) {\n @include mq($to: large) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-medium] > stzh-radiogroup) {\n @include mq($to: medium) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radiogroup) {\n @include mq($from: small, $to: medium) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-input),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-datepicker),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-upload),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkbox),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-checkboxgroup),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-dropdown),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radio),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-amount),\n ::slotted(stzh-row > stzh-cell[span-small] > stzh-radiogroup) {\n @include mq($to: small) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-large] > stzh-cell > stzh-radiogroup) {\n @include mq($to: large) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-medium] > stzh-cell > stzh-radiogroup) {\n @include mq($to: medium) {\n @include spaceCurve(\"margin-bottom\", \"tiny\");\n }\n }\n\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radiogroup) {\n @include mq($from: small, $to: medium) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-input),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-datepicker),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-upload),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkbox),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-checkboxgroup),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-dropdown),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radio),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-amount),\n ::slotted(stzh-row[span-small] > stzh-cell > stzh-radiogroup) {\n @include mq($to: small) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n}\n\n.stzh-fieldset {\n //--stzh-row-row-gap: #{space('xsmall')};\n --stzh-description-min-height: #{$fieldsetDescriptionMinHeight};\n\n margin: 0;\n padding: 0;\n border: none;\n min-inline-size: auto;\n\n &__wrapper {\n display: grid;\n }\n\n &__legend {\n @include font(\"title\");\n @include fontCurve(\"h4\");\n color: $colorPrimary70;\n padding: 0;\n margin-bottom: space(\"large\");\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n}\n","import { Component, Host, Prop, h } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for any (mostly form) elements\n */\n@Component({\n tag: \"stzh-fieldset\",\n styleUrl: \"stzh-fieldset.scss\",\n scoped: true,\n})\nexport class StzhFieldset {\n /** Legend describing the field group inside the fieldset */\n @Prop() legend: string = \"\";\n\n /** Hide legend to show only for screenreaders */\n @Prop() hideLegend: boolean = false;\n\n /** Heading level inside legend */\n @Prop() legendLevel: \"\" | \"1\" | \"2\" | \"3\" | \"4\" = \"\";\n\n /** Type of curve to overwrite the curve inherited from `level` attribute (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop() legendCurve: Font.Curves | \"auto\" = \"auto\";\n\n render() {\n const classes = {\n \"stzh-fieldset\": true,\n \"stzh-fieldset--hide-legend\": this.hideLegend,\n };\n\n return (\n <Host>\n <fieldset class={classes}>\n {this.legend && (\n <legend class=\"stzh-fieldset__legend\">\n {this.legendLevel ? (\n <stzh-heading level={this.legendLevel} curve={this.legendCurve}>\n {this.legend}\n </stzh-heading>\n ) : (\n this.legend\n )}\n </legend>\n )}\n <div class=\"stzh-fieldset__wrapper\">\n <slot></slot>\n </div>\n </fieldset>\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-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
 
3
3
  const stzhBadgeCss = () => `.sc-stzh-badge-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-badge-h,[stzh-hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::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-badge-h .has-focus.sc-stzh-badge{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-badge-h .stzh-fylingfocus-focused.sc-stzh-badge{outline-style:none !important}.sc-stzh-badge-h .stzh-fylingfocus-focused.sc-stzh-badge::-moz-focus-inner{border:0 !important}.sc-stzh-badge-h{--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey90);display:inline-flex}[type=success].sc-stzh-badge-h{--background-color:var(--stzh-color-success70)}[type=warning].sc-stzh-badge-h{--color:var(--stzh-color-black);--background-color:var(--stzh-color-warning60)}[type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error60)}[type=info].sc-stzh-badge-h{--background-color:var(--stzh-color-primary70)}[filled][type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error70)}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);box-sizing:content-box;display:inline-flex;justify-content:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--background-color);color:var(--color);text-transform:uppercase}.stzh-badge.sc-stzh-badge:empty{width:0.625rem;height:0.625rem;padding:0}@media (forced-colors: active){.stzh-badge.sc-stzh-badge{--color:CanvasText;--outline-color:CanvasText;outline:0.125rem solid var(--outline-color);outline-offset:-0.125rem}.stzh-badge.sc-stzh-badge:empty{--outline-color:SelectedItem;outline-width:0.3125rem;outline-offset:-0.3125rem}}`;
4
4
 
@@ -40,6 +40,6 @@ function defineCustomElement() {
40
40
  }
41
41
 
42
42
  export { StzhBadge as S, defineCustomElement as d };
43
- //# sourceMappingURL=p-DZquFVcX.js.map
43
+ //# sourceMappingURL=p-BSx9yT8P.js.map
44
44
 
45
- //# sourceMappingURL=p-DZquFVcX.js.map
45
+ //# sourceMappingURL=p-BSx9yT8P.js.map
@@ -1 +1 @@
1
- {"file":"p-DZquFVcX.js","mappings":";;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC,o3EAAo3E,CAAC;;MCYp4E,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAkB,SAAS;AAczD;IAZC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,YAAY,EAAE,IAAI;YAClB,CAAC,CAAA,iBAAA,EAAoB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAC/C;QAED,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,EAAA,EACxB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAA,EAAG,IAAI,CAAC,KAAK,IAAI,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CAAO,CACnD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-badge/stzh-badge.scss?tag=stzh-badge&encapsulation=scoped","src/components/stzh-badge/stzh-badge.tsx"],"sourcesContent":[":host {\n --color: #{$colorWhite};\n --background-color: #{$colorGrey90};\n display: inline-flex;\n\n &[type=\"success\"] {\n --background-color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorBlack};\n --background-color: #{$colorWarning60};\n }\n\n &[type=\"error\"] {\n --background-color: #{$colorError60};\n }\n\n &[type=\"info\"] {\n --background-color: #{$colorPrimary70};\n }\n\n &[filled][type=\"error\"] {\n --background-color: #{$colorError70};\n }\n}\n\n.stzh-badge {\n @include badge;\n\n @media (forced-colors: active) {\n --color: CanvasText;\n --outline-color: CanvasText;\n\n outline: 2px solid var(--outline-color);\n outline-offset: -2px;\n\n &:empty {\n --outline-color: SelectedItem;\n\n outline-width: 5px;\n outline-offset: -5px;\n }\n }\n}\n","import { Component, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhBadgeType } from \"../../index\";\n\n/**\n * @slot - Slot badge content\n */\n@Component({\n tag: \"stzh-badge\",\n styleUrl: \"stzh-badge.scss\",\n scoped: true,\n})\nexport class StzhBadge {\n /** Text content of the badge */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhBadgeType = \"default\";\n\n render() {\n const classes = {\n \"stzh-badge\": true,\n [`stzh-badge--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host filled={!!this.label}>\n <div class={classes}>{this.label || <slot></slot>}</div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-BSx9yT8P.js","mappings":";;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC,o3EAAo3E,CAAC;;MCYp4E,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAkB,SAAS;AAczD;IAZC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,YAAY,EAAE,IAAI;YAClB,CAAC,CAAA,iBAAA,EAAoB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAC/C;QAED,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,EAAA,EACxB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAA,EAAG,IAAI,CAAC,KAAK,IAAI,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CAAO,CACnD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-badge/stzh-badge.scss?tag=stzh-badge&encapsulation=scoped","src/components/stzh-badge/stzh-badge.tsx"],"sourcesContent":[":host {\n --color: #{$colorWhite};\n --background-color: #{$colorGrey90};\n display: inline-flex;\n\n &[type=\"success\"] {\n --background-color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorBlack};\n --background-color: #{$colorWarning60};\n }\n\n &[type=\"error\"] {\n --background-color: #{$colorError60};\n }\n\n &[type=\"info\"] {\n --background-color: #{$colorPrimary70};\n }\n\n &[filled][type=\"error\"] {\n --background-color: #{$colorError70};\n }\n}\n\n.stzh-badge {\n @include badge;\n\n @media (forced-colors: active) {\n --color: CanvasText;\n --outline-color: CanvasText;\n\n outline: 2px solid var(--outline-color);\n outline-offset: -2px;\n\n &:empty {\n --outline-color: SelectedItem;\n\n outline-width: 5px;\n outline-offset: -5px;\n }\n }\n}\n","import { Component, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhBadgeType } from \"../../index\";\n\n/**\n * @slot - Slot badge content\n */\n@Component({\n tag: \"stzh-badge\",\n styleUrl: \"stzh-badge.scss\",\n scoped: true,\n})\nexport class StzhBadge {\n /** Text content of the badge */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhBadgeType = \"default\";\n\n render() {\n const classes = {\n \"stzh-badge\": true,\n [`stzh-badge--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host filled={!!this.label}>\n <div class={classes}>{this.label || <slot></slot>}</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-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
  import { h as hasSlot } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$2 } from './p-DZquFVcX.js';
4
- import { d as defineCustomElement$1 } from './p-EnVb6m-B.js';
3
+ import { d as defineCustomElement$2 } from './p-BSx9yT8P.js';
4
+ import { d as defineCustomElement$1 } from './p-C7Wum7Zf.js';
5
5
 
6
6
  const stzhMenuItemCss = () => `.sc-stzh-menu-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h,[stzh-hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-menu-item-h .has-focus.sc-stzh-menu-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item{outline-style:none !important}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item::-moz-focus-inner{border:0 !important}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-black);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--hover-color:var(--stzh-popover-item-hover-color, var(--stzh-color-black));--hover-background-color:var(--stzh-popover-item-hover-bg, var(--stzh-color-grey20))}@media (forced-colors: active){.sc-stzh-menu-item-h:where(:has(button)){--color:ButtonText;--hover-color:Highlight;--hover-background-color:transparent}}[size=large].sc-stzh-menu-item-h{--icon-size:var(--stzh-icon-size);--height:var(--stzh-menu-large-item-height);--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge)}[variant=secondary].sc-stzh-menu-item-h{--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-secondary30)}@media (forced-colors: active){[variant=secondary].sc-stzh-menu-item-h:where(:has(button)){--color:ButtonText;--hover-color:Highlight;--hover-background-color:transparent}}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-grey20)}@media (forced-colors: active){[active].sc-stzh-menu-item-h:not([active=false]){--color:SelectedItemText;--background-color:SelectedItem;--hover-color:SelectedItemText;--hover-background-color:SelectedItem}}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10)}@media (forced-colors: active){[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:GrayText;--background-color:Gray;--hover-color:GrayText;--hover-background-color:Gray}}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;display:flex;gap:var(--stzh-space-small);align-items:center;justify-content:stretch;appearance:none;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}@media (forced-colors: active){.stzh-menu-item.sc-stzh-menu-item{transition:none}}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{--stzh-icon-size:var(--icon-size);position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__text-wrapper.sc-stzh-menu-item{display:flex;gap:var(--stzh-space-xsmall)}.stzh-menu-item__counter.sc-stzh-menu-item{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (forced-colors: active){.stzh-menu-item__text.sc-stzh-menu-item{forced-color-adjust:preserve-parent-color}}.stzh-menu-item--size-large.sc-stzh-menu-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);gap:var(--stzh-space-medium)}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}`;
7
7
 
@@ -141,6 +141,6 @@ function defineCustomElement() {
141
141
  }
142
142
 
143
143
  export { StzhMenuItem as S, defineCustomElement as d };
144
- //# sourceMappingURL=p-BqQxOwe5.js.map
144
+ //# sourceMappingURL=p-BWt1OlCP.js.map
145
145
 
146
- //# sourceMappingURL=p-BqQxOwe5.js.map
146
+ //# sourceMappingURL=p-BWt1OlCP.js.map
@@ -1 +1 @@
1
- {"file":"p-BqQxOwe5.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;AA0BnB,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAE/B,QAAA,IAAW,CAAA,WAAA,GAAG,MAAK;AACzB,YAAA,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;AACxB,gBAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;;AAGvB,YAAA,IAAI,CAAC,cAAc,GAAG,KAAK;AAC7B,SAAC;AAEO,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,KAAiB,KAAI;AACtC,YAAA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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
+ {"file":"p-BWt1OlCP.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,QAA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,EACtC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,OAAO,gBACF,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,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,11 +1,11 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
  import { a as addWordBreakToLinks } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$6 } from './p-DZquFVcX.js';
4
- import { d as defineCustomElement$5 } from './p-BmkW_Y9y.js';
5
- import { d as defineCustomElement$4 } from './p-EnVb6m-B.js';
6
- import { d as defineCustomElement$3 } from './p-xhu94bYw.js';
7
- import { d as defineCustomElement$2 } from './p-C5GxUCJA.js';
8
- import { d as defineCustomElement$1 } from './p-DnmvEKvQ.js';
3
+ import { d as defineCustomElement$6 } from './p-BSx9yT8P.js';
4
+ import { d as defineCustomElement$5 } from './p-ulFcx8BE.js';
5
+ import { d as defineCustomElement$4 } from './p-C7Wum7Zf.js';
6
+ import { d as defineCustomElement$3 } from './p-pWmESorT.js';
7
+ import { d as defineCustomElement$2 } from './p-5iYOoBns.js';
8
+ import { d as defineCustomElement$1 } from './p-DsHYayb4.js';
9
9
 
10
10
  const stzhDatalistItemCss = () => `.sc-stzh-datalist-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datalist-item-h,[stzh-hidden].sc-stzh-datalist-item-h{display:none}.sc-stzh-datalist-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datalist-item-h *.sc-stzh-datalist-item,.sc-stzh-datalist-item-h *.sc-stzh-datalist-item::before,.sc-stzh-datalist-item-h *.sc-stzh-datalist-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datalist-item-h .has-focus.sc-stzh-datalist-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datalist-item-h .stzh-fylingfocus-focused.sc-stzh-datalist-item{outline-style:none !important}.sc-stzh-datalist-item-h .stzh-fylingfocus-focused.sc-stzh-datalist-item::-moz-focus-inner{border:0 !important}.sc-stzh-datalist-item-h{--value-font-family:var(--stzh-font-family-medium);--value-font-weight:var(--stzh-font-weight-medium);--value-color:inherit;--action-display:flex;--leading-icon-color:var(--stzh-color-grey90);--nested-display:var(--stzh-datalist-item-nested-display, block);--wrapper-display:var(--stzh-datalist-item-wrapper-display, contents);--vertical-wrapper-padding:var(
11
11
  --stzh-datalist-item-vertical-wrapper-padding,
@@ -283,6 +283,6 @@ function defineCustomElement() {
283
283
  }
284
284
 
285
285
  export { StzhDatalistItem as S, defineCustomElement as d };
286
- //# sourceMappingURL=p-BoTHhkPJ.js.map
286
+ //# sourceMappingURL=p-BcfJQ2iG.js.map
287
287
 
288
- //# sourceMappingURL=p-BoTHhkPJ.js.map
288
+ //# sourceMappingURL=p-BcfJQ2iG.js.map
@@ -1 +1 @@
1
- {"file":"p-BoTHhkPJ.js","mappings":";;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC;AACA;AACA,kuYAAkuY,CAAC;;ACanuY,IAAI,mBAAmB,GAAG,CAAC;MAYd,gBAAgB,iBAAAA,kBAAA,CAAA,MAAA,gBAAA,SAAAC,CAAA,CAAA;AAL7B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AA4BU,QAAA,IAAY,CAAA,YAAA,GAAqB,OAAO;;AAYxC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;;AAM9B,QAAA,IAAgB,CAAA,gBAAA,GAAW,EAAE;;AAG7B,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;;AAGX,QAAA,IAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-datalist-item/stzh-datalist-item.scss?tag=stzh-datalist-item&encapsulation=scoped","src/components/stzh-datalist-item/stzh-datalist-item.tsx"],"sourcesContent":[":host {\n --value-font-family: var(--stzh-font-family-medium);\n --value-font-weight: var(--stzh-font-weight-medium);\n --value-color: inherit;\n --action-display: flex;\n --leading-icon-color: #{$colorGrey90};\n --nested-display: var(--stzh-datalist-item-nested-display, block);\n --wrapper-display: var(--stzh-datalist-item-wrapper-display, contents);\n --vertical-wrapper-padding: var(\n --stzh-datalist-item-vertical-wrapper-padding,\n #{space(\"xsmall\")}\n );\n --text-overflow: clip;\n --white-space: normal;\n --overflow: visible;\n --width: initial;\n --max-width: initial;\n\n display: contents;\n\n &[href]:not([href=\"\"]),\n &[a11y-expanded],\n &[a11y-controls] {\n --value-color: #{$linkColor};\n --value-hover-color: #{$linkHoverColor};\n }\n}\n\n:host(.value-truncate) {\n --text-overflow: ellipsis;\n --white-space: nowrap;\n --overflow: hidden;\n --max-width: 100%;\n}\n\n.stzh-datalist-item {\n position: relative;\n text-decoration-line: none;\n display: var(--wrapper-display);\n align-items: center;\n\n &__nested {\n display: contents;\n }\n\n &__nested-inner {\n display: var(--nested-display);\n grid-column: var(--full-grid-column);\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__wrapper {\n flex-grow: 1;\n display: grid;\n }\n\n &__leading,\n &__value,\n &__label,\n &__meta,\n &__action-list {\n color: inherit;\n display: flex;\n text-align: left;\n appearance: none;\n font-family: inherit;\n background: transparent;\n border: none;\n padding: 0;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__leading {\n flex-shrink: 0;\n\n &:not(:empty) {\n padding-right: space(\"xsmall\");\n }\n }\n\n &__leading-icon-container {\n color: var(--leading-icon-color);\n transition-property: color, background-color;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__value-wrapper {\n display: flex;\n align-items: center;\n gap: space(\"xsmall\");\n color: var(--value-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__value {\n flex-grow: 1;\n flex-direction: column;\n min-width: 0;\n }\n\n &__value-text {\n --color: initial;\n min-width: 0;\n\n @include fontCurve(\"p1\");\n font-family: var(--value-font-family);\n font-weight: var(--value-font-weight);\n width: auto;\n }\n\n &__label,\n &__meta {\n @include fontCurve(\"caption\");\n }\n\n &__meta {\n justify-content: flex-end;\n }\n\n &__meta-text {\n display: flex;\n gap: space(\"xsmall\");\n color: $colorGrey80;\n }\n\n &__label {\n color: $colorGrey90;\n }\n\n &__action-list {\n display: var(--action-display);\n justify-content: center;\n text-align: center;\n\n &:not(:empty) {\n padding-left: space(\"medium\");\n }\n }\n\n &__action {\n &.is-non-interactive {\n display: flex;\n justify-content: center;\n align-items: center;\n width: $formInputHeightSmall;\n height: $formInputHeightSmall;\n }\n }\n\n &__interactive {\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &__readspeaker {\n width: fit-content;\n --padding-left: 0;\n --padding-right: 0;\n\n @media (forced-colors: active) {\n --padding-left: calc(#{space(\"xlarge\")} - var(--border-width));\n --padding-right: calc(#{space(\"xlarge\")} - var(--border-width));\n }\n }\n\n /* Button variant */\n\n &--is-button &__icon.is-open {\n display: none;\n }\n\n &--is-button#{&}--is-expanded &__icon {\n &.is-closed {\n display: none;\n }\n\n &.is-open {\n display: inline-flex;\n }\n }\n\n /* Interactive variant */\n\n &--is-interactive &__value-text {\n text-decoration-line: underline;\n }\n\n &--is-interactive:hover &__value-wrapper {\n color: var(--value-hover-color);\n }\n\n /* Vertical Variant */\n\n &--direction-vertical &__wrapper {\n flex-grow: inherit;\n }\n\n &--direction-vertical &__leading,\n &--direction-vertical &__wrapper,\n &--direction-vertical &__action-list {\n &:not(:empty) {\n padding-top: var(--vertical-wrapper-padding);\n padding-bottom: var(--vertical-wrapper-padding);\n }\n }\n\n &--direction-vertical &__meta {\n flex-direction: column;\n align-items: flex-start;\n }\n\n &--direction-vertical &__readspeaker {\n @media (forced-colors: active) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n /* Horizontal / Table Variant */\n\n &--direction-horizontal &__leading,\n &--direction-horizontal &__value,\n &--direction-horizontal &__action-list {\n &:not(:empty) {\n padding-top: space(\"xxsmall\");\n padding-bottom: space(\"xxsmall\");\n }\n }\n\n &--direction-horizontal &__meta {\n padding-bottom: space(\"xxsmall\");\n padding-top: calc(#{space(\"xxsmall\")} + 12px);\n }\n\n &--direction-horizontal &__readspeaker {\n padding-bottom: space(\"xxsmall\");\n padding-top: space(\"xxsmall\");\n padding-left: space(\"medium\");\n }\n\n &--direction-horizontal &__meta {\n &:not(:empty) {\n padding-left: space(\"xsmall\");\n }\n }\n\n &--direction-horizontal &__meta-status + &__meta-text {\n margin-left: space(\"xsmall\");\n }\n\n /** Table Variant */\n\n &--table &__label,\n &--table &__meta {\n @include fontSize(\"nano\");\n }\n\n &--table &__label {\n color: $colorGrey80;\n }\n\n &--table &__value-text {\n @include fontSize(\"milli\");\n }\n\n &--table &__leading,\n &--table &__value,\n &--table &__label,\n &--table &__meta,\n &--table &__action-list {\n &:not(:empty) {\n padding-top: space(\"xsmall\");\n padding-bottom: space(\"small\");\n }\n }\n\n &--table &__label:not(:empty) + &__value {\n padding-left: space(\"medium\");\n }\n\n &--table &__meta {\n &:not(:empty) {\n padding-left: space(\"medium\");\n }\n }\n\n /** Big label */\n\n &--table#{&}--big-label &__label {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n color: $colorGrey80;\n }\n\n &--table#{&}--big-label &__leading,\n &--table#{&}--big-label &__value,\n &--table#{&}--big-label &__label,\n &--table#{&}--big-label &__meta,\n &--table#{&}--big-label &__action-list {\n &:not(:empty) {\n padding-top: 0;\n padding-bottom: 0;\n\n @include mq($from: small) {\n padding-top: space(\"xsmall\");\n padding-bottom: space(\"small\");\n }\n }\n }\n\n &--table#{&}--big-label &__label:not(:empty) + &__value {\n padding-left: space(\"medium\");\n\n @include mq($to: small) {\n padding-left: 0;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Prop, State, Watch } from \"@stencil/core\";\n\nimport {\n StzhDatalistBigLabelChangeEvent,\n StzhDatalistDirection,\n StzhDatalistDirectionChangeEvent,\n StzhDatalistItemActionClickEvent,\n StzhDatalistItemClickEvent,\n StzhDatalistVariant,\n StzhDatalistVariantChangeEvent,\n StzhLocaleComponent,\n StzhStatusType,\n} from \"../../index\";\n\nimport { addWordBreakToLinks } from \"../../utils/utils\";\n\nlet datalistItemCounter = 0;\n\n/**\n * @slot - Slot for nested datalist\n * @slot value - Slot for value (or use value property instead)\n * @slot readspeaker - Slot for readspeaker\n */\n@Component({\n tag: \"stzh-datalist-item\",\n styleUrl: \"stzh-datalist-item.scss\",\n scoped: true,\n})\nexport class StzhDatalistItem {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Link */\n @Prop({ reflect: true }) href: string;\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** Target (if href is used) */\n @Prop() target: string;\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** Leading icon */\n @Prop() leadingIcon: string;\n\n /** Icon of action button (if href is used, will only be for presentation) */\n @Prop() icon: string;\n\n /** Icon position */\n @Prop() iconPosition: \"left\" | \"right\" = \"right\";\n\n /** Overwrite aria-label of action button (default aria label is `label` and `value`). */\n @Prop() iconLabel: string;\n\n /** Tooltip content of action button. Overwrites aria-label (set by default or `iconLabel`) of action button. */\n @Prop() iconTooltip: string;\n\n /** Href of action button */\n @Prop() iconHref: string;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Value (or use value slot instead) */\n @Prop() value: string = \"\";\n\n /** Whether value should be truncated or not */\n @Prop() valueTruncate: boolean = false;\n\n /** Accessible label for screen readers for the interactive element (link or button). If not set, the default accessible name is derived from the item's content (label, value). */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Readspeaker label */\n @Prop() readspeakerLabel: string = \"\";\n\n /** Readspeaker link */\n @Prop() readspeakerHref: string = \"\";\n\n /** Meta */\n @Prop({ reflect: true }) meta: string | string[] = \"\";\n private _meta: string[] = [];\n\n /** Status Label */\n @Prop({ reflect: true }) statusLabel: string = \"\";\n\n /** Status Type */\n @Prop() statusType: StzhStatusType = \"default\";\n\n /**\n * Expanded state of the content referenced by `a11yControls`.\n * Use this when the item acts as a disclosure trigger, for example to show or hide related content.\n * Setting this makes the main interactive element behave like a button trigger instead of a plain row or link.\n */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /**\n * Id of the element controlled by the main interactive element.\n * Use this when the item toggles or reveals related content and usually together with `a11yExpanded`.\n * Setting this makes the main interactive element behave like a button trigger instead of a plain row or link.\n */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Whether the item has child items (only used internally by stzh-datalist). */\n @Prop() hasNested: boolean = false;\n\n /** Item action click event */\n @Event() stzhItemActionClick: EventEmitter<StzhDatalistItemActionClickEvent>;\n\n /** Item click event */\n @Event() stzhClick: EventEmitter<StzhDatalistItemClickEvent>;\n\n @Element() element: HTMLStzhDatalistItemElement;\n\n @Watch(\"meta\")\n metaWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._meta = JSON.parse(newValue);\n } catch (ex) {\n this._meta = newValue === \"\" ? [] : [newValue];\n }\n } else {\n this._meta = newValue;\n }\n }\n\n @Watch(\"rel\")\n externalWatcher() {\n this.external = this.rel && this.rel.includes(\"external\");\n }\n\n @Watch(\"href\")\n hrefWatcher() {\n this.isPhone = this.href && (this.href.startsWith(\"tel:\") || this.href.startsWith(\"fax:\"));\n }\n\n @State() direction: StzhDatalistDirection = \"vertical\";\n @State() variant: StzhDatalistVariant = \"default\";\n @State() bigLabel: boolean = false;\n\n private external: boolean = false;\n private isPhone: boolean = false;\n private datalist: HTMLStzhDatalistElement;\n private datalistItemId: string;\n\n private onActionClick = (originalEvent: MouseEvent) => {\n this.stzhItemActionClick.emit({\n component: \"stzh-datalist-item\",\n originalEvent,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-datalist-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private handleDirectionChange = (event: CustomEvent<StzhDatalistDirectionChangeEvent>) => {\n this.direction = event.detail.value;\n };\n\n private handleVariantChange = (event: CustomEvent<StzhDatalistVariantChangeEvent>) => {\n this.variant = event.detail.value;\n };\n\n private handleBigLabelChange = (event: CustomEvent<StzhDatalistBigLabelChangeEvent>) => {\n this.bigLabel = event.detail.value;\n };\n\n private addWordBreakToLinks() {\n const links = Array.from(this.element?.getElementsByClassName(\"stzh-datalist-item__value-text\") || []);\n addWordBreakToLinks(links as HTMLElement[]);\n }\n\n private getDefaultActionButtonLabel(): string | null {\n const defaultLabel = [this.label, this.value].filter(Boolean).join(\", \");\n return defaultLabel || null;\n }\n\n private getActionButtonA11yLabel(isPrimaryActionButton: boolean): string | null {\n if (this.iconTooltip) {\n return null;\n }\n\n if (isPrimaryActionButton && this.a11yLabel) {\n return this.a11yLabel;\n }\n\n return this.iconLabel || this.getDefaultActionButtonLabel();\n }\n\n private renderInner(isButton: boolean, hasActionButton: boolean): DocumentFragment {\n const Item = isButton ? \"button\" : this.href ? \"a\" : \"div\";\n const mainInteractiveAriaLabel = Item !== \"div\" ? this.a11yLabel || null : null;\n const mainInteractiveAriaLabelledby =\n Item !== \"div\" && !this.a11yLabel\n ? `${this.variant === \"table\" ? `${this.datalistItemId}-label` : \"\"} ${this.datalistItemId}-value ${\n this.datalistItemId\n }-meta`\n : null;\n\n const Icon = () => (\n <Fragment>\n {(this.href || this.icon) && !hasActionButton && !isButton && (\n <div class=\"stzh-datalist-item__label-icon\">\n <stzh-icon\n class=\"stzh-datalist-item__icon\"\n name={this.icon ? this.icon : this.isPhone ? \"phone\" : this.external && \"external-link\"}\n ></stzh-icon>\n </div>\n )}\n\n {isButton && (\n <div class=\"stzh-datalist-item__label-icon\">\n <stzh-icon class=\"stzh-datalist-item__icon is-closed\" name={this.icon ? this.icon : \"plus\"}></stzh-icon>\n <stzh-icon class=\"stzh-datalist-item__icon is-open\" name={this.icon ? this.icon : \"minus\"}></stzh-icon>\n </div>\n )}\n </Fragment>\n );\n\n return (\n <Fragment>\n {this.variant === \"table\" && (\n <Item\n aria-hidden={this.label ? null : \"true\"}\n tabindex=\"-1\"\n id={`${this.datalistItemId}-label`}\n class={{\n \"stzh-datalist-item__label\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n onClick={this.onClick}\n >\n {this.label}\n </Item>\n )}\n\n <Item\n id={`${this.datalistItemId}-value`}\n class={{\n \"stzh-datalist-item__value\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n aria-label={mainInteractiveAriaLabel}\n aria-labelledby={mainInteractiveAriaLabelledby}\n aria-controls={this.a11yControls || null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n onClick={this.onClick}\n >\n {this.variant === \"default\" && <div class=\"stzh-datalist-item__label\">{this.label}</div>}\n\n {this.external && (\n <div class=\"stzh-datalist-item__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && (\n <div class=\"stzh-datalist-item__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>\n )}\n\n <div class=\"stzh-datalist-item__value-wrapper\">\n {this.iconPosition === \"left\" && <Icon></Icon>}\n {this.value ? (\n <stzh-text curve=\"none\" class=\"stzh-datalist-item__value-text\">\n {this.value}\n </stzh-text>\n ) : (\n <stzh-text curve=\"none\" class=\"stzh-datalist-item__value-text\">\n <slot name=\"value\"></slot>\n </stzh-text>\n )}\n {this.iconPosition === \"right\" && <Icon></Icon>}\n </div>\n </Item>\n\n <Item\n aria-hidden={this.statusLabel || this._meta.length > 0 ? null : \"true\"}\n tabindex=\"-1\"\n id={`${this.datalistItemId}-meta`}\n class={{\n \"stzh-datalist-item__meta\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n onClick={this.onClick}\n >\n {this.statusLabel && (\n <stzh-status\n class=\"stzh-datalist-item__meta-status\"\n label={this.statusLabel}\n type={this.statusType}\n ></stzh-status>\n )}\n {this._meta.length > 0 && (\n <span class=\"stzh-datalist-item__meta-text\">\n {this._meta.map((meta, index) => (\n <Fragment>\n <span class=\"stzh-datalist-item__meta-text-inner\">{meta}</span>\n {index + 1 !== this._meta.length && <span class=\"stzh-datalist-item__meta-separator\">|</span>}\n </Fragment>\n ))}\n </span>\n )}\n </Item>\n\n {this.readspeakerHref && this.readspeakerLabel && (\n <stzh-button\n class=\"stzh-datalist-item__readspeaker\"\n variant=\"tertiary-plain\"\n icon-position=\"right\"\n icon=\"volume-medium\"\n size=\"small\"\n href={this.readspeakerHref}\n target=\"_blank\"\n >\n {this.readspeakerLabel}\n </stzh-button>\n )}\n </Fragment>\n );\n }\n\n private renderLeadingIcon(isButton: boolean): HTMLElement {\n const Item = isButton ? \"button\" : this.href ? \"a\" : \"div\";\n\n return (\n <Item\n role=\"presentation\"\n aria-hidden=\"true\"\n tabindex=\"-1\"\n class={{\n \"stzh-datalist-item__leading\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n onClick={this.onClick}\n >\n {this.leadingIcon && (\n <div class=\"stzh-datalist-item__leading-icon-container\">\n <stzh-icon class=\"stzh-datalist-item__leading-icon\" name={this.leadingIcon}></stzh-icon>\n </div>\n )}\n </Item>\n );\n }\n\n async componentDidLoad() {\n // execute connectedCallbck again, because sometimes has problem rendering\n this.connectedCallback();\n this.addWordBreakToLinks();\n }\n\n async componentWillLoad() {\n this.datalistItemId = `stzh-datalist-item-${datalistItemCounter++}`;\n this.metaWatcher(this.meta);\n this.externalWatcher();\n this.hrefWatcher();\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"datalist-item\");\n }\n }\n\n async connectedCallback() {\n this.datalist = this.element.closest(\"stzh-datalist\");\n\n if (this.datalist) {\n this.variant = this.datalist.variant;\n this.bigLabel = this.datalist.bigLabel;\n this.direction = await this.datalist.getCurrentDirection();\n\n this.datalist?.addEventListener(\"stzhDirectionChange\", this.handleDirectionChange);\n this.datalist?.addEventListener(\"stzhVariantChange\", this.handleVariantChange);\n this.datalist?.addEventListener(\"stzhBigLabelChange\", this.handleBigLabelChange);\n }\n }\n\n disconnectedCallback() {\n if (this.datalist) {\n this.datalist?.removeEventListener(\"stzhDirectionChange\", this.handleDirectionChange);\n this.datalist?.removeEventListener(\"stzhVariantChange\", this.handleVariantChange);\n this.datalist?.removeEventListener(\"stzhBigLabelChange\", this.handleBigLabelChange);\n this.datalist = null;\n }\n }\n\n render() {\n const isButton = typeof this.a11yExpanded !== \"undefined\" || typeof this.a11yControls !== \"undefined\";\n\n const hasActionButton = !!((!this.href || this.iconHref || this.iconTooltip) && this.icon);\n const isPrimaryActionButton = hasActionButton && !this.href && !isButton;\n\n const classes = {\n \"stzh-datalist-item\": true,\n \"stzh-datalist-item--is-interactive\": !!this.href || isButton,\n \"stzh-datalist-item--is-link\": !!this.href,\n \"stzh-datalist-item--is-button\": isButton,\n \"stzh-datalist-item--is-expanded\": this.a11yExpanded,\n \"stzh-datalist-item--big-label\": this.bigLabel,\n [`stzh-datalist-item--direction-${this.direction}`]: !!this.direction && this.variant === \"default\",\n [`stzh-datalist-item--${this.variant}`]: !!this.variant,\n };\n\n let ActionItem = isButton ? \"button\" : hasActionButton ? \"div\" : \"a\";\n\n const ActionButton = () => {\n return (\n <stzh-button\n class={{\n \"stzh-datalist-item__action\": true,\n \"is-button\": true,\n }}\n variant=\"tertiary\"\n size=\"small\"\n a11y-label={this.getActionButtonA11yLabel(isPrimaryActionButton)}\n iconOnly={true}\n href={this.iconHref}\n icon={this.icon}\n onClick={this.onActionClick}\n ></stzh-button>\n );\n };\n\n return (\n <Host role=\"listitem\" class={{ \"value-truncate\": this.valueTruncate }}>\n <div class={classes}>\n {this.direction === \"horizontal\" || this.variant === \"table\" ? (\n <Fragment>\n {this.renderLeadingIcon(isButton)}\n {this.renderInner(isButton, hasActionButton)}\n </Fragment>\n ) : (\n <Fragment>\n {this.renderLeadingIcon(isButton)}\n <div class=\"stzh-datalist-item__wrapper\">{this.renderInner(isButton, hasActionButton)}</div>\n </Fragment>\n )}\n <ActionItem\n role={hasActionButton ? null : \"presentation\"}\n aria-hidden={hasActionButton ? null : \"true\"}\n tabindex=\"-1\"\n class={{\n \"stzh-datalist-item__action-list\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href && !this.iconHref,\n }}\n href={!this.iconHref ? this.href : null}\n rel={!this.iconHref ? this.rel : null}\n target={!this.iconHref ? this.target : null}\n download={!this.iconHref ? this.download : null}\n >\n {hasActionButton &&\n (this.iconTooltip ? (\n <stzh-tooltip content={this.iconTooltip}>{ActionButton()}</stzh-tooltip>\n ) : (\n ActionButton()\n ))}\n </ActionItem>\n\n <div class=\"stzh-datalist-item__spacer\"></div>\n </div>\n {this.hasNested && (\n <div class=\"stzh-datalist-item__nested\">\n <div class=\"stzh-datalist-item__nested-inner\">\n <slot></slot>\n </div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-BcfJQ2iG.js","mappings":";;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC;AACA;AACA,kuYAAkuY,CAAC;;ACanuY,IAAI,mBAAmB,GAAG,CAAC;MAYd,gBAAgB,iBAAAA,kBAAA,CAAA,MAAA,gBAAA,SAAAC,CAAA,CAAA;AAL7B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;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Eb,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,4BAA4B,EAAA,CAAO,CAC1C,EACL,IAAI,CAAC,SAAS,KACb,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,4BAA4B,EAAA,EACrC,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,kCAAkC,EAAA,EAC3C,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CACT,CACF,CACP,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-datalist-item/stzh-datalist-item.scss?tag=stzh-datalist-item&encapsulation=scoped","src/components/stzh-datalist-item/stzh-datalist-item.tsx"],"sourcesContent":[":host {\n --value-font-family: var(--stzh-font-family-medium);\n --value-font-weight: var(--stzh-font-weight-medium);\n --value-color: inherit;\n --action-display: flex;\n --leading-icon-color: #{$colorGrey90};\n --nested-display: var(--stzh-datalist-item-nested-display, block);\n --wrapper-display: var(--stzh-datalist-item-wrapper-display, contents);\n --vertical-wrapper-padding: var(\n --stzh-datalist-item-vertical-wrapper-padding,\n #{space(\"xsmall\")}\n );\n --text-overflow: clip;\n --white-space: normal;\n --overflow: visible;\n --width: initial;\n --max-width: initial;\n\n display: contents;\n\n &[href]:not([href=\"\"]),\n &[a11y-expanded],\n &[a11y-controls] {\n --value-color: #{$linkColor};\n --value-hover-color: #{$linkHoverColor};\n }\n}\n\n:host(.value-truncate) {\n --text-overflow: ellipsis;\n --white-space: nowrap;\n --overflow: hidden;\n --max-width: 100%;\n}\n\n.stzh-datalist-item {\n position: relative;\n text-decoration-line: none;\n display: var(--wrapper-display);\n align-items: center;\n\n &__nested {\n display: contents;\n }\n\n &__nested-inner {\n display: var(--nested-display);\n grid-column: var(--full-grid-column);\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__wrapper {\n flex-grow: 1;\n display: grid;\n }\n\n &__leading,\n &__value,\n &__label,\n &__meta,\n &__action-list {\n color: inherit;\n display: flex;\n text-align: left;\n appearance: none;\n font-family: inherit;\n background: transparent;\n border: none;\n padding: 0;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__leading {\n flex-shrink: 0;\n\n &:not(:empty) {\n padding-right: space(\"xsmall\");\n }\n }\n\n &__leading-icon-container {\n color: var(--leading-icon-color);\n transition-property: color, background-color;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__value-wrapper {\n display: flex;\n align-items: center;\n gap: space(\"xsmall\");\n color: var(--value-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__value {\n flex-grow: 1;\n flex-direction: column;\n min-width: 0;\n }\n\n &__value-text {\n --color: initial;\n min-width: 0;\n\n @include fontCurve(\"p1\");\n font-family: var(--value-font-family);\n font-weight: var(--value-font-weight);\n width: auto;\n }\n\n &__label,\n &__meta {\n @include fontCurve(\"caption\");\n }\n\n &__meta {\n justify-content: flex-end;\n }\n\n &__meta-text {\n display: flex;\n gap: space(\"xsmall\");\n color: $colorGrey80;\n }\n\n &__label {\n color: $colorGrey90;\n }\n\n &__action-list {\n display: var(--action-display);\n justify-content: center;\n text-align: center;\n\n &:not(:empty) {\n padding-left: space(\"medium\");\n }\n }\n\n &__action {\n &.is-non-interactive {\n display: flex;\n justify-content: center;\n align-items: center;\n width: $formInputHeightSmall;\n height: $formInputHeightSmall;\n }\n }\n\n &__interactive {\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &__readspeaker {\n width: fit-content;\n --padding-left: 0;\n --padding-right: 0;\n\n @media (forced-colors: active) {\n --padding-left: calc(#{space(\"xlarge\")} - var(--border-width));\n --padding-right: calc(#{space(\"xlarge\")} - var(--border-width));\n }\n }\n\n /* Button variant */\n\n &--is-button &__icon.is-open {\n display: none;\n }\n\n &--is-button#{&}--is-expanded &__icon {\n &.is-closed {\n display: none;\n }\n\n &.is-open {\n display: inline-flex;\n }\n }\n\n /* Interactive variant */\n\n &--is-interactive &__value-text {\n text-decoration-line: underline;\n }\n\n &--is-interactive:hover &__value-wrapper {\n color: var(--value-hover-color);\n }\n\n /* Vertical Variant */\n\n &--direction-vertical &__wrapper {\n flex-grow: inherit;\n }\n\n &--direction-vertical &__leading,\n &--direction-vertical &__wrapper,\n &--direction-vertical &__action-list {\n &:not(:empty) {\n padding-top: var(--vertical-wrapper-padding);\n padding-bottom: var(--vertical-wrapper-padding);\n }\n }\n\n &--direction-vertical &__meta {\n flex-direction: column;\n align-items: flex-start;\n }\n\n &--direction-vertical &__readspeaker {\n @media (forced-colors: active) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n /* Horizontal / Table Variant */\n\n &--direction-horizontal &__leading,\n &--direction-horizontal &__value,\n &--direction-horizontal &__action-list {\n &:not(:empty) {\n padding-top: space(\"xxsmall\");\n padding-bottom: space(\"xxsmall\");\n }\n }\n\n &--direction-horizontal &__meta {\n padding-bottom: space(\"xxsmall\");\n padding-top: calc(#{space(\"xxsmall\")} + 12px);\n }\n\n &--direction-horizontal &__readspeaker {\n padding-bottom: space(\"xxsmall\");\n padding-top: space(\"xxsmall\");\n padding-left: space(\"medium\");\n }\n\n &--direction-horizontal &__meta {\n &:not(:empty) {\n padding-left: space(\"xsmall\");\n }\n }\n\n &--direction-horizontal &__meta-status + &__meta-text {\n margin-left: space(\"xsmall\");\n }\n\n /** Table Variant */\n\n &--table &__label,\n &--table &__meta {\n @include fontSize(\"nano\");\n }\n\n &--table &__label {\n color: $colorGrey80;\n }\n\n &--table &__value-text {\n @include fontSize(\"milli\");\n }\n\n &--table &__leading,\n &--table &__value,\n &--table &__label,\n &--table &__meta,\n &--table &__action-list {\n &:not(:empty) {\n padding-top: space(\"xsmall\");\n padding-bottom: space(\"small\");\n }\n }\n\n &--table &__label:not(:empty) + &__value {\n padding-left: space(\"medium\");\n }\n\n &--table &__meta {\n &:not(:empty) {\n padding-left: space(\"medium\");\n }\n }\n\n /** Big label */\n\n &--table#{&}--big-label &__label {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n color: $colorGrey80;\n }\n\n &--table#{&}--big-label &__leading,\n &--table#{&}--big-label &__value,\n &--table#{&}--big-label &__label,\n &--table#{&}--big-label &__meta,\n &--table#{&}--big-label &__action-list {\n &:not(:empty) {\n padding-top: 0;\n padding-bottom: 0;\n\n @include mq($from: small) {\n padding-top: space(\"xsmall\");\n padding-bottom: space(\"small\");\n }\n }\n }\n\n &--table#{&}--big-label &__label:not(:empty) + &__value {\n padding-left: space(\"medium\");\n\n @include mq($to: small) {\n padding-left: 0;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Prop, State, Watch } from \"@stencil/core\";\n\nimport {\n StzhDatalistBigLabelChangeEvent,\n StzhDatalistDirection,\n StzhDatalistDirectionChangeEvent,\n StzhDatalistItemActionClickEvent,\n StzhDatalistItemClickEvent,\n StzhDatalistVariant,\n StzhDatalistVariantChangeEvent,\n StzhLocaleComponent,\n StzhStatusType,\n} from \"../../index\";\n\nimport { addWordBreakToLinks } from \"../../utils/utils\";\n\nlet datalistItemCounter = 0;\n\n/**\n * @slot - Slot for nested datalist\n * @slot value - Slot for value (or use value property instead)\n * @slot readspeaker - Slot for readspeaker\n */\n@Component({\n tag: \"stzh-datalist-item\",\n styleUrl: \"stzh-datalist-item.scss\",\n scoped: true,\n})\nexport class StzhDatalistItem {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Link */\n @Prop({ reflect: true }) href: string;\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** Target (if href is used) */\n @Prop() target: string;\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** Leading icon */\n @Prop() leadingIcon: string;\n\n /** Icon of action button (if href is used, will only be for presentation) */\n @Prop() icon: string;\n\n /** Icon position */\n @Prop() iconPosition: \"left\" | \"right\" = \"right\";\n\n /** Overwrite aria-label of action button (default aria label is `label` and `value`). */\n @Prop() iconLabel: string;\n\n /** Tooltip content of action button. Overwrites aria-label (set by default or `iconLabel`) of action button. */\n @Prop() iconTooltip: string;\n\n /** Href of action button */\n @Prop() iconHref: string;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Value (or use value slot instead) */\n @Prop() value: string = \"\";\n\n /** Whether value should be truncated or not */\n @Prop() valueTruncate: boolean = false;\n\n /** Accessible label for screen readers for the interactive element (link or button). If not set, the default accessible name is derived from the item's content (label, value). */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Readspeaker label */\n @Prop() readspeakerLabel: string = \"\";\n\n /** Readspeaker link */\n @Prop() readspeakerHref: string = \"\";\n\n /** Meta */\n @Prop({ reflect: true }) meta: string | string[] = \"\";\n private _meta: string[] = [];\n\n /** Status Label */\n @Prop({ reflect: true }) statusLabel: string = \"\";\n\n /** Status Type */\n @Prop() statusType: StzhStatusType = \"default\";\n\n /**\n * Expanded state of the content referenced by `a11yControls`.\n * Use this when the item acts as a disclosure trigger, for example to show or hide related content.\n * Setting this makes the main interactive element behave like a button trigger instead of a plain row or link.\n */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /**\n * Id of the element controlled by the main interactive element.\n * Use this when the item toggles or reveals related content and usually together with `a11yExpanded`.\n * Setting this makes the main interactive element behave like a button trigger instead of a plain row or link.\n */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Whether the item has child items (only used internally by stzh-datalist). */\n @Prop() hasNested: boolean = false;\n\n /** Item action click event */\n @Event() stzhItemActionClick: EventEmitter<StzhDatalistItemActionClickEvent>;\n\n /** Item click event */\n @Event() stzhClick: EventEmitter<StzhDatalistItemClickEvent>;\n\n @Element() element: HTMLStzhDatalistItemElement;\n\n @Watch(\"meta\")\n metaWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._meta = JSON.parse(newValue);\n } catch (ex) {\n this._meta = newValue === \"\" ? [] : [newValue];\n }\n } else {\n this._meta = newValue;\n }\n }\n\n @Watch(\"rel\")\n externalWatcher() {\n this.external = this.rel && this.rel.includes(\"external\");\n }\n\n @Watch(\"href\")\n hrefWatcher() {\n this.isPhone = this.href && (this.href.startsWith(\"tel:\") || this.href.startsWith(\"fax:\"));\n }\n\n @State() direction: StzhDatalistDirection = \"vertical\";\n @State() variant: StzhDatalistVariant = \"default\";\n @State() bigLabel: boolean = false;\n\n private external: boolean = false;\n private isPhone: boolean = false;\n private datalist: HTMLStzhDatalistElement;\n private datalistItemId: string;\n\n private onActionClick = (originalEvent: MouseEvent) => {\n this.stzhItemActionClick.emit({\n component: \"stzh-datalist-item\",\n originalEvent,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-datalist-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private handleDirectionChange = (event: CustomEvent<StzhDatalistDirectionChangeEvent>) => {\n this.direction = event.detail.value;\n };\n\n private handleVariantChange = (event: CustomEvent<StzhDatalistVariantChangeEvent>) => {\n this.variant = event.detail.value;\n };\n\n private handleBigLabelChange = (event: CustomEvent<StzhDatalistBigLabelChangeEvent>) => {\n this.bigLabel = event.detail.value;\n };\n\n private addWordBreakToLinks() {\n const links = Array.from(this.element?.getElementsByClassName(\"stzh-datalist-item__value-text\") || []);\n addWordBreakToLinks(links as HTMLElement[]);\n }\n\n private getDefaultActionButtonLabel(): string | null {\n const defaultLabel = [this.label, this.value].filter(Boolean).join(\", \");\n return defaultLabel || null;\n }\n\n private getActionButtonA11yLabel(isPrimaryActionButton: boolean): string | null {\n if (this.iconTooltip) {\n return null;\n }\n\n if (isPrimaryActionButton && this.a11yLabel) {\n return this.a11yLabel;\n }\n\n return this.iconLabel || this.getDefaultActionButtonLabel();\n }\n\n private renderInner(isButton: boolean, hasActionButton: boolean): DocumentFragment {\n const Item = isButton ? \"button\" : this.href ? \"a\" : \"div\";\n const mainInteractiveAriaLabel = Item !== \"div\" ? this.a11yLabel || null : null;\n const mainInteractiveAriaLabelledby =\n Item !== \"div\" && !this.a11yLabel\n ? `${this.variant === \"table\" ? `${this.datalistItemId}-label` : \"\"} ${this.datalistItemId}-value ${\n this.datalistItemId\n }-meta`\n : null;\n\n const Icon = () => (\n <Fragment>\n {(this.href || this.icon) && !hasActionButton && !isButton && (\n <div class=\"stzh-datalist-item__label-icon\">\n <stzh-icon\n class=\"stzh-datalist-item__icon\"\n name={this.icon ? this.icon : this.isPhone ? \"phone\" : this.external && \"external-link\"}\n ></stzh-icon>\n </div>\n )}\n\n {isButton && (\n <div class=\"stzh-datalist-item__label-icon\">\n <stzh-icon class=\"stzh-datalist-item__icon is-closed\" name={this.icon ? this.icon : \"plus\"}></stzh-icon>\n <stzh-icon class=\"stzh-datalist-item__icon is-open\" name={this.icon ? this.icon : \"minus\"}></stzh-icon>\n </div>\n )}\n </Fragment>\n );\n\n return (\n <Fragment>\n {this.variant === \"table\" && (\n <Item\n aria-hidden={this.label ? null : \"true\"}\n tabindex=\"-1\"\n id={`${this.datalistItemId}-label`}\n class={{\n \"stzh-datalist-item__label\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n onClick={this.onClick}\n >\n {this.label}\n </Item>\n )}\n\n <Item\n id={`${this.datalistItemId}-value`}\n class={{\n \"stzh-datalist-item__value\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n aria-label={mainInteractiveAriaLabel}\n aria-labelledby={mainInteractiveAriaLabelledby}\n aria-controls={this.a11yControls || null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n onClick={this.onClick}\n >\n {this.variant === \"default\" && <div class=\"stzh-datalist-item__label\">{this.label}</div>}\n\n {this.external && (\n <div class=\"stzh-datalist-item__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && (\n <div class=\"stzh-datalist-item__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>\n )}\n\n <div class=\"stzh-datalist-item__value-wrapper\">\n {this.iconPosition === \"left\" && <Icon></Icon>}\n {this.value ? (\n <stzh-text curve=\"none\" class=\"stzh-datalist-item__value-text\">\n {this.value}\n </stzh-text>\n ) : (\n <stzh-text curve=\"none\" class=\"stzh-datalist-item__value-text\">\n <slot name=\"value\"></slot>\n </stzh-text>\n )}\n {this.iconPosition === \"right\" && <Icon></Icon>}\n </div>\n </Item>\n\n <Item\n aria-hidden={this.statusLabel || this._meta.length > 0 ? null : \"true\"}\n tabindex=\"-1\"\n id={`${this.datalistItemId}-meta`}\n class={{\n \"stzh-datalist-item__meta\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n onClick={this.onClick}\n >\n {this.statusLabel && (\n <stzh-status\n class=\"stzh-datalist-item__meta-status\"\n label={this.statusLabel}\n type={this.statusType}\n ></stzh-status>\n )}\n {this._meta.length > 0 && (\n <span class=\"stzh-datalist-item__meta-text\">\n {this._meta.map((meta, index) => (\n <Fragment>\n <span class=\"stzh-datalist-item__meta-text-inner\">{meta}</span>\n {index + 1 !== this._meta.length && <span class=\"stzh-datalist-item__meta-separator\">|</span>}\n </Fragment>\n ))}\n </span>\n )}\n </Item>\n\n {this.readspeakerHref && this.readspeakerLabel && (\n <stzh-button\n class=\"stzh-datalist-item__readspeaker\"\n variant=\"tertiary-plain\"\n icon-position=\"right\"\n icon=\"volume-medium\"\n size=\"small\"\n href={this.readspeakerHref}\n target=\"_blank\"\n >\n {this.readspeakerLabel}\n </stzh-button>\n )}\n </Fragment>\n );\n }\n\n private renderLeadingIcon(isButton: boolean): HTMLElement {\n const Item = isButton ? \"button\" : this.href ? \"a\" : \"div\";\n\n return (\n <Item\n role=\"presentation\"\n aria-hidden=\"true\"\n tabindex=\"-1\"\n class={{\n \"stzh-datalist-item__leading\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href,\n }}\n href={this.href}\n rel={this.rel}\n target={this.target}\n download={this.download}\n onClick={this.onClick}\n >\n {this.leadingIcon && (\n <div class=\"stzh-datalist-item__leading-icon-container\">\n <stzh-icon class=\"stzh-datalist-item__leading-icon\" name={this.leadingIcon}></stzh-icon>\n </div>\n )}\n </Item>\n );\n }\n\n async componentDidLoad() {\n // execute connectedCallbck again, because sometimes has problem rendering\n this.connectedCallback();\n this.addWordBreakToLinks();\n }\n\n async componentWillLoad() {\n this.datalistItemId = `stzh-datalist-item-${datalistItemCounter++}`;\n this.metaWatcher(this.meta);\n this.externalWatcher();\n this.hrefWatcher();\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"datalist-item\");\n }\n }\n\n async connectedCallback() {\n this.datalist = this.element.closest(\"stzh-datalist\");\n\n if (this.datalist) {\n this.variant = this.datalist.variant;\n this.bigLabel = this.datalist.bigLabel;\n this.direction = await this.datalist.getCurrentDirection();\n\n this.datalist?.addEventListener(\"stzhDirectionChange\", this.handleDirectionChange);\n this.datalist?.addEventListener(\"stzhVariantChange\", this.handleVariantChange);\n this.datalist?.addEventListener(\"stzhBigLabelChange\", this.handleBigLabelChange);\n }\n }\n\n disconnectedCallback() {\n if (this.datalist) {\n this.datalist?.removeEventListener(\"stzhDirectionChange\", this.handleDirectionChange);\n this.datalist?.removeEventListener(\"stzhVariantChange\", this.handleVariantChange);\n this.datalist?.removeEventListener(\"stzhBigLabelChange\", this.handleBigLabelChange);\n this.datalist = null;\n }\n }\n\n render() {\n const isButton = typeof this.a11yExpanded !== \"undefined\" || typeof this.a11yControls !== \"undefined\";\n\n const hasActionButton = !!((!this.href || this.iconHref || this.iconTooltip) && this.icon);\n const isPrimaryActionButton = hasActionButton && !this.href && !isButton;\n\n const classes = {\n \"stzh-datalist-item\": true,\n \"stzh-datalist-item--is-interactive\": !!this.href || isButton,\n \"stzh-datalist-item--is-link\": !!this.href,\n \"stzh-datalist-item--is-button\": isButton,\n \"stzh-datalist-item--is-expanded\": this.a11yExpanded,\n \"stzh-datalist-item--big-label\": this.bigLabel,\n [`stzh-datalist-item--direction-${this.direction}`]: !!this.direction && this.variant === \"default\",\n [`stzh-datalist-item--${this.variant}`]: !!this.variant,\n };\n\n let ActionItem = isButton ? \"button\" : hasActionButton ? \"div\" : \"a\";\n\n const ActionButton = () => {\n return (\n <stzh-button\n class={{\n \"stzh-datalist-item__action\": true,\n \"is-button\": true,\n }}\n variant=\"tertiary\"\n size=\"small\"\n a11y-label={this.getActionButtonA11yLabel(isPrimaryActionButton)}\n iconOnly={true}\n href={this.iconHref}\n icon={this.icon}\n onClick={this.onActionClick}\n ></stzh-button>\n );\n };\n\n return (\n <Host role=\"listitem\" class={{ \"value-truncate\": this.valueTruncate }}>\n <div class={classes}>\n {this.direction === \"horizontal\" || this.variant === \"table\" ? (\n <Fragment>\n {this.renderLeadingIcon(isButton)}\n {this.renderInner(isButton, hasActionButton)}\n </Fragment>\n ) : (\n <Fragment>\n {this.renderLeadingIcon(isButton)}\n <div class=\"stzh-datalist-item__wrapper\">{this.renderInner(isButton, hasActionButton)}</div>\n </Fragment>\n )}\n <ActionItem\n role={hasActionButton ? null : \"presentation\"}\n aria-hidden={hasActionButton ? null : \"true\"}\n tabindex=\"-1\"\n class={{\n \"stzh-datalist-item__action-list\": true,\n \"is-button\": isButton,\n \"is-link\": !!this.href && !this.iconHref,\n }}\n href={!this.iconHref ? this.href : null}\n rel={!this.iconHref ? this.rel : null}\n target={!this.iconHref ? this.target : null}\n download={!this.iconHref ? this.download : null}\n >\n {hasActionButton &&\n (this.iconTooltip ? (\n <stzh-tooltip content={this.iconTooltip}>{ActionButton()}</stzh-tooltip>\n ) : (\n ActionButton()\n ))}\n </ActionItem>\n\n <div class=\"stzh-datalist-item__spacer\"></div>\n </div>\n {this.hasNested && (\n <div class=\"stzh-datalist-item__nested\">\n <div class=\"stzh-datalist-item__nested-inner\">\n <slot></slot>\n </div>\n </div>\n )}\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-X46RDuY9.js';
2
- import { d as defineCustomElement$4 } from './p-DZquFVcX.js';
3
- import { d as defineCustomElement$3 } from './p-DhT_Fmme.js';
4
- import { d as defineCustomElement$2 } from './p-EnVb6m-B.js';
5
- import { d as defineCustomElement$1 } from './p-Dn5XQ8Jt.js';
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';
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-D8g_X4vx.js.map
171
+ //# sourceMappingURL=p-BopctUFy.js.map
172
172
 
173
- //# sourceMappingURL=p-D8g_X4vx.js.map
173
+ //# sourceMappingURL=p-BopctUFy.js.map
@@ -1 +1 @@
1
- {"file":"p-D8g_X4vx.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,CA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E,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":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"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,9 +1,9 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-X46RDuY9.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
2
  import { w as waitForEvent } from './p--SdF31O7.js';
3
3
  import { s as stopAnimations, a as animateTo, b as shimKeyframesAutoValues } from './p-BOO84wnP.js';
4
4
  import { h as hasSlot } from './p-CN5apKPb.js';
5
- import { d as defineCustomElement$2 } from './p-DZquFVcX.js';
6
- import { d as defineCustomElement$1 } from './p-EnVb6m-B.js';
5
+ import { d as defineCustomElement$2 } from './p-BSx9yT8P.js';
6
+ import { d as defineCustomElement$1 } from './p-C7Wum7Zf.js';
7
7
 
8
8
  const stzhAccordionItemCss = () => `: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{--trigger-size:1.125rem;--trigger-color:currentColor;--content-background:var(--stzh-accordion-content-background);--icon-size:var(--stzh-icon-size);--border-width:0px;--button-border-color:transparent;--button-color:var(--stzh-accordion-button-color, var(--stzh-color-primary70));--button-background-color:var(
9
9
  --stzh-accordion-button-background-color,
@@ -334,6 +334,6 @@ function defineCustomElement() {
334
334
  }
335
335
 
336
336
  export { StzhAccordionItem as S, defineCustomElement as d };
337
- //# sourceMappingURL=p-CNIvCFmS.js.map
337
+ //# sourceMappingURL=p-Bouerm1u.js.map
338
338
 
339
- //# sourceMappingURL=p-CNIvCFmS.js.map
339
+ //# sourceMappingURL=p-Bouerm1u.js.map