@oiz/stzh-components 4.12.1-beta1 → 4.12.2

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 (900) hide show
  1. package/dist/cjs/{index-N0ol04NL.js → index-D-_ltZeJ.js} +3 -3
  2. package/dist/cjs/{index-N0ol04NL.js.map → index-D-_ltZeJ.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +2 -2
  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 +2 -2
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +2 -2
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
  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 +2 -2
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +36 -6
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +3 -3
  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 +2 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js +2 -2
  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 +2 -2
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +2 -2
  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 +2 -2
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +36 -6
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-details.cjs.entry.js +2 -2
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +3 -3
  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 +2 -2
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +2 -2
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +2 -2
  51. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  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 +2 -2
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +2 -2
  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 +2 -2
  61. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  66. package/dist/cjs/{stzh-input-description-Dbubu75V.js → stzh-input-description-BCu4biHD.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-Dbubu75V.js.map → stzh-input-description-BCu4biHD.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +31 -36
  69. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-link.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +2 -2
  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 +2 -2
  76. package/dist/cjs/stzh-message.cjs.entry.js +4 -4
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +2 -2
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +2 -2
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +2 -2
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
  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 +2 -2
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +2 -2
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  97. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-rating.cjs.entry.js +37 -9
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  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 +2 -2
  104. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  105. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  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 +2 -2
  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 +2 -2
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +2 -2
  117. package/dist/cjs/stzh-table.cjs.entry.js +2 -2
  118. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +2 -2
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +2 -2
  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 +2 -2
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +36 -7
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +2 -2
  127. package/dist/cjs/stzh-upload.cjs.entry.js +37 -8
  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 +2 -2
  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/cjs/{utils-BtvTjHH2.js → utils-CjJm84Uq.js} +59 -2
  138. package/dist/cjs/utils-CjJm84Uq.js.map +1 -0
  139. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +40 -4
  140. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  141. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +12 -0
  142. package/dist/collection/components/stzh-input/stzh-input.js +29 -34
  143. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  144. package/dist/collection/components/stzh-input/stzh-input.stories.js +32 -9
  145. package/dist/collection/components/stzh-message/stzh-message.js +5 -5
  146. package/dist/collection/components/stzh-message/stzh-message.js.map +1 -1
  147. package/dist/collection/components/stzh-message/stzh-message.stories.js +127 -2
  148. package/dist/collection/components/stzh-radio/stzh-radio.js +40 -4
  149. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  150. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +13 -1
  151. package/dist/collection/components/stzh-rating/stzh-rating.js +39 -9
  152. package/dist/collection/components/stzh-rating/stzh-rating.js.map +1 -1
  153. package/dist/collection/components/stzh-rating/stzh-rating.stories.js +11 -0
  154. package/dist/collection/components/stzh-toggle/stzh-toggle.js +40 -5
  155. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  156. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +15 -0
  157. package/dist/collection/components/stzh-upload/stzh-upload.js +37 -6
  158. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  159. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +9 -0
  160. package/dist/collection/utils/utils.js +56 -0
  161. package/dist/collection/utils/utils.js.map +1 -1
  162. package/dist/components/index.js +2 -2
  163. package/dist/components/{p-5iYOoBns.js → p-4Vt8Vqot.js} +3 -3
  164. package/dist/components/{p-5iYOoBns.js.map → p-4Vt8Vqot.js.map} +1 -1
  165. package/dist/components/{p-H9Yh6P94.js → p-6cYGuE14.js} +12 -12
  166. package/dist/components/{p-H9Yh6P94.js.map → p-6cYGuE14.js.map} +1 -1
  167. package/dist/components/{p-CzvAx4N0.js → p-AIPoMvau.js} +3 -3
  168. package/dist/components/{p-CzvAx4N0.js.map → p-AIPoMvau.js.map} +1 -1
  169. package/dist/components/{p-8vUD5Pvs.js → p-B44NYxqN.js} +38 -43
  170. package/dist/components/p-B44NYxqN.js.map +1 -0
  171. package/dist/components/{p-BcfJQ2iG.js → p-BB0rFoJE.js} +10 -10
  172. package/dist/components/{p-BcfJQ2iG.js.map → p-BB0rFoJE.js.map} +1 -1
  173. package/dist/components/{p-DajXzNIS.js → p-BBg6OWDc.js} +3 -3
  174. package/dist/components/{p-DajXzNIS.js.map → p-BBg6OWDc.js.map} +1 -1
  175. package/dist/components/{p-B9l_iEm8.js → p-BDTpabg7.js} +3 -3
  176. package/dist/components/{p-B9l_iEm8.js.map → p-BDTpabg7.js.map} +1 -1
  177. package/dist/components/{p-ulFcx8BE.js → p-BK6Q89R0.js} +6 -6
  178. package/dist/components/{p-ulFcx8BE.js.map → p-BK6Q89R0.js.map} +1 -1
  179. package/dist/components/{p-CLC2TbXk.js → p-BTNpLREK.js} +8 -8
  180. package/dist/components/{p-CLC2TbXk.js.map → p-BTNpLREK.js.map} +1 -1
  181. package/dist/components/{p-B6XvNGiA.js → p-BYIlBCuU.js} +7 -7
  182. package/dist/components/{p-B6XvNGiA.js.map → p-BYIlBCuU.js.map} +1 -1
  183. package/dist/components/{p-dZ-dwebM.js → p-BaU8F8yT.js} +12 -12
  184. package/dist/components/{p-dZ-dwebM.js.map → p-BaU8F8yT.js.map} +1 -1
  185. package/dist/components/{p-Cq0yCqAz.js → p-BbXrDPd7.js} +4 -4
  186. package/dist/components/{p-Cq0yCqAz.js.map → p-BbXrDPd7.js.map} +1 -1
  187. package/dist/components/{p-Cg0FICEV.js → p-Bc9gWpUe.js} +13 -13
  188. package/dist/components/{p-Cg0FICEV.js.map → p-Bc9gWpUe.js.map} +1 -1
  189. package/dist/components/{p-zoQGoMI3.js → p-BdtE_fpY.js} +3 -3
  190. package/dist/components/{p-zoQGoMI3.js.map → p-BdtE_fpY.js.map} +1 -1
  191. package/dist/components/{p-D6v9nUys.js → p-BeN1KWYK.js} +6 -6
  192. package/dist/components/{p-D6v9nUys.js.map → p-BeN1KWYK.js.map} +1 -1
  193. package/dist/components/{p-C4RWomy3.js → p-Bg2ganSs.js} +3 -3
  194. package/dist/components/{p-C4RWomy3.js.map → p-Bg2ganSs.js.map} +1 -1
  195. package/dist/components/{p-UU-uJ6rm.js → p-BiFb4c_S.js} +6 -6
  196. package/dist/components/{p-UU-uJ6rm.js.map → p-BiFb4c_S.js.map} +1 -1
  197. package/dist/components/{p-DWVF3j-K.js → p-BiZ4OWbq.js} +3 -3
  198. package/dist/components/{p-DWVF3j-K.js.map → p-BiZ4OWbq.js.map} +1 -1
  199. package/dist/components/{p-nQojTf6Q.js → p-BmG3hFM8.js} +3 -3
  200. package/dist/components/{p-nQojTf6Q.js.map → p-BmG3hFM8.js.map} +1 -1
  201. package/dist/components/{p-BphPIp_9.js → p-BsRNqz_b.js} +6 -6
  202. package/dist/components/{p-BphPIp_9.js.map → p-BsRNqz_b.js.map} +1 -1
  203. package/dist/components/{p-DOs1ZWHT.js → p-Bsor2Gp2.js} +8 -8
  204. package/dist/components/{p-DOs1ZWHT.js.map → p-Bsor2Gp2.js.map} +1 -1
  205. package/dist/components/{p-B5bRe2QR.js → p-C0lp0Fm8.js} +3 -3
  206. package/dist/components/{p-B5bRe2QR.js.map → p-C0lp0Fm8.js.map} +1 -1
  207. package/dist/components/{p-C9g8C0mi.js → p-C3-tTDZG.js} +4 -4
  208. package/dist/components/{p-C9g8C0mi.js.map → p-C3-tTDZG.js.map} +1 -1
  209. package/dist/components/{p-CtfINZeC.js → p-C3YgJPrk.js} +3 -3
  210. package/dist/components/{p-CtfINZeC.js.map → p-C3YgJPrk.js.map} +1 -1
  211. package/dist/components/{p-Di88jQY_.js → p-CKLwcqdK.js} +10 -10
  212. package/dist/components/{p-Di88jQY_.js.map → p-CKLwcqdK.js.map} +1 -1
  213. package/dist/components/{p-C4ew4BWF.js → p-CPdCE2fo.js} +7 -7
  214. package/dist/components/{p-C4ew4BWF.js.map → p-CPdCE2fo.js.map} +1 -1
  215. package/dist/components/{p-C7Wum7Zf.js → p-CRo_30JG.js} +3 -3
  216. package/dist/components/{p-C7Wum7Zf.js.map → p-CRo_30JG.js.map} +1 -1
  217. package/dist/components/{p-C8p_ftK9.js → p-CSqS_CuA.js} +3 -3
  218. package/dist/components/{p-C8p_ftK9.js.map → p-CSqS_CuA.js.map} +1 -1
  219. package/dist/components/{p-BHnUxFJO.js → p-CUN47AJ6.js} +4 -4
  220. package/dist/components/{p-BHnUxFJO.js.map → p-CUN47AJ6.js.map} +1 -1
  221. package/dist/components/{p-DjTm4fFR.js → p-CUfKtr7R.js} +3 -3
  222. package/dist/components/{p-DjTm4fFR.js.map → p-CUfKtr7R.js.map} +1 -1
  223. package/dist/components/{p-DmE9OpGH.js → p-CVHui8fR.js} +4 -4
  224. package/dist/components/{p-DmE9OpGH.js.map → p-CVHui8fR.js.map} +1 -1
  225. package/dist/components/{p-Bouerm1u.js → p-CWliRPVy.js} +6 -6
  226. package/dist/components/{p-Bouerm1u.js.map → p-CWliRPVy.js.map} +1 -1
  227. package/dist/components/{p-SGLayYK3.js → p-CX72zNNm.js} +3 -3
  228. package/dist/components/{p-SGLayYK3.js.map → p-CX72zNNm.js.map} +1 -1
  229. package/dist/components/{p-o34Djtsg.js → p-CXhl6EKC.js} +6 -6
  230. package/dist/components/{p-o34Djtsg.js.map → p-CXhl6EKC.js.map} +1 -1
  231. package/dist/components/{p-DONIQb7T.js → p-ChcKhy4e.js} +4 -4
  232. package/dist/components/{p-DONIQb7T.js.map → p-ChcKhy4e.js.map} +1 -1
  233. package/dist/components/{p-SyDKOxzb.js → p-CriJMdWt.js} +3 -3
  234. package/dist/components/{p-SyDKOxzb.js.map → p-CriJMdWt.js.map} +1 -1
  235. package/dist/components/{p-CK7gMyRU.js → p-CuR6yL1b.js} +3 -3
  236. package/dist/components/{p-CK7gMyRU.js.map → p-CuR6yL1b.js.map} +1 -1
  237. package/dist/components/{p-DMh6Sy1I.js → p-Cy--N6et.js} +9 -9
  238. package/dist/components/{p-DMh6Sy1I.js.map → p-Cy--N6et.js.map} +1 -1
  239. package/dist/components/{p-CPrTAi5M.js → p-D2yGNkLU.js} +4 -4
  240. package/dist/components/{p-CPrTAi5M.js.map → p-D2yGNkLU.js.map} +1 -1
  241. package/dist/components/{p-DbtxIjHJ.js → p-D4c33pwr.js} +13 -13
  242. package/dist/components/{p-DbtxIjHJ.js.map → p-D4c33pwr.js.map} +1 -1
  243. package/dist/components/{p-CN5apKPb.js → p-DBHUqFOB.js} +59 -3
  244. package/dist/components/p-DBHUqFOB.js.map +1 -0
  245. package/dist/components/{p-B2I6UGb-.js → p-DDAHV4ye.js} +4 -4
  246. package/dist/components/{p-B2I6UGb-.js.map → p-DDAHV4ye.js.map} +1 -1
  247. package/dist/components/{p-BSx9yT8P.js → p-DEfzwFSm.js} +3 -3
  248. package/dist/components/{p-BSx9yT8P.js.map → p-DEfzwFSm.js.map} +1 -1
  249. package/dist/components/{p-B-Td5eEF.js → p-DFEhv2Xw.js} +3 -3
  250. package/dist/components/{p-B-Td5eEF.js.map → p-DFEhv2Xw.js.map} +1 -1
  251. package/dist/components/{p-CzWLgw4z.js → p-DL-zsyu2.js} +11 -11
  252. package/dist/components/{p-CzWLgw4z.js.map → p-DL-zsyu2.js.map} +1 -1
  253. package/dist/components/{p-DGZVtVjz.js → p-DLBRj3YX.js} +4 -4
  254. package/dist/components/{p-DGZVtVjz.js.map → p-DLBRj3YX.js.map} +1 -1
  255. package/dist/components/{p-BWt1OlCP.js → p-DOnc5uKa.js} +6 -6
  256. package/dist/components/{p-BWt1OlCP.js.map → p-DOnc5uKa.js.map} +1 -1
  257. package/dist/components/{p-XSAPGv74.js → p-DPyihiYB.js} +4 -4
  258. package/dist/components/{p-XSAPGv74.js.map → p-DPyihiYB.js.map} +1 -1
  259. package/dist/components/{p-DvQXjdsB.js → p-DT0ux3Yn.js} +5 -5
  260. package/dist/components/{p-DvQXjdsB.js.map → p-DT0ux3Yn.js.map} +1 -1
  261. package/dist/components/{p-DsHYayb4.js → p-DT8WI_DQ.js} +6 -6
  262. package/dist/components/{p-DsHYayb4.js.map → p-DT8WI_DQ.js.map} +1 -1
  263. package/dist/components/{p-DcQjVFab.js → p-DTs8UJec.js} +4 -4
  264. package/dist/components/{p-DcQjVFab.js.map → p-DTs8UJec.js.map} +1 -1
  265. package/dist/components/{p-DX6blqyR.js → p-DXesblGY.js} +7 -7
  266. package/dist/components/{p-DX6blqyR.js.map → p-DXesblGY.js.map} +1 -1
  267. package/dist/components/{p-BKzN4XU2.js → p-DaIlRoxA.js} +4 -4
  268. package/dist/components/{p-BKzN4XU2.js.map → p-DaIlRoxA.js.map} +1 -1
  269. package/dist/components/{p-RMVTGhIS.js → p-Deiikj-l.js} +8 -8
  270. package/dist/components/{p-RMVTGhIS.js.map → p-Deiikj-l.js.map} +1 -1
  271. package/dist/components/{p-CnJ7i4Ge.js → p-DmRzqkUn.js} +4 -4
  272. package/dist/components/{p-CnJ7i4Ge.js.map → p-DmRzqkUn.js.map} +1 -1
  273. package/dist/components/{p-Dn5GUbNz.js → p-Dp2_qh2g.js} +44 -12
  274. package/dist/components/p-Dp2_qh2g.js.map +1 -0
  275. package/dist/components/{p-BA-k3iZ-.js → p-DrLVNdlm.js} +6 -6
  276. package/dist/components/{p-BA-k3iZ-.js.map → p-DrLVNdlm.js.map} +1 -1
  277. package/dist/components/{p-CjdErtj_.js → p-EWvxAi6Y.js} +44 -12
  278. package/dist/components/p-EWvxAi6Y.js.map +1 -0
  279. package/dist/components/{p-BopctUFy.js → p-JcCSKOtR.js} +7 -7
  280. package/dist/components/{p-BopctUFy.js.map → p-JcCSKOtR.js.map} +1 -1
  281. package/dist/components/{p-KSZ8qiZE.js → p-KKaagY0f.js} +10 -10
  282. package/dist/components/{p-KSZ8qiZE.js.map → p-KKaagY0f.js.map} +1 -1
  283. package/dist/components/{p-DehXKx39.js → p-R8ubFYun.js} +10 -10
  284. package/dist/components/{p-DehXKx39.js.map → p-R8ubFYun.js.map} +1 -1
  285. package/dist/components/{p-CVwbuuw7.js → p-RJIRkyt1.js} +9 -9
  286. package/dist/components/{p-CVwbuuw7.js.map → p-RJIRkyt1.js.map} +1 -1
  287. package/dist/components/{p-Bq8KQiri.js → p-SW8QhG6M.js} +3 -3
  288. package/dist/components/{p-Bq8KQiri.js.map → p-SW8QhG6M.js.map} +1 -1
  289. package/dist/components/{p-pWmESorT.js → p-dgzFBTky.js} +3 -3
  290. package/dist/components/{p-pWmESorT.js.map → p-dgzFBTky.js.map} +1 -1
  291. package/dist/components/{p-CdY_9ADR.js → p-i5bFTONl.js} +3 -3
  292. package/dist/components/{p-CdY_9ADR.js.map → p-i5bFTONl.js.map} +1 -1
  293. package/dist/components/{p-VpVgAuYa.js → p-rjZPG2L3.js} +3 -3
  294. package/dist/components/{p-VpVgAuYa.js.map → p-rjZPG2L3.js.map} +1 -1
  295. package/dist/components/{p-BS1D_VQu.js → p-wa6O8ip3.js} +4 -4
  296. package/dist/components/{p-BS1D_VQu.js.map → p-wa6O8ip3.js.map} +1 -1
  297. package/dist/components/{p-B0HsC5lT.js → p-xKyBBmWw.js} +3 -3
  298. package/dist/components/{p-B0HsC5lT.js.map → p-xKyBBmWw.js.map} +1 -1
  299. package/dist/components/{p-Cb-REzD8.js → p-xa5yO3I6.js} +8 -8
  300. package/dist/components/{p-Cb-REzD8.js.map → p-xa5yO3I6.js.map} +1 -1
  301. package/dist/components/stzh-accordion-item.js +1 -1
  302. package/dist/components/stzh-accordion.js +1 -1
  303. package/dist/components/stzh-actions.js +1 -1
  304. package/dist/components/stzh-actionset.js +1 -1
  305. package/dist/components/stzh-amount.js +9 -9
  306. package/dist/components/stzh-anchornav.js +5 -5
  307. package/dist/components/stzh-app-nav.js +1 -1
  308. package/dist/components/stzh-appointments.js +14 -14
  309. package/dist/components/stzh-archivelist.js +7 -7
  310. package/dist/components/stzh-audio.js +6 -6
  311. package/dist/components/stzh-badge.js +1 -1
  312. package/dist/components/stzh-banner.js +4 -4
  313. package/dist/components/stzh-breadcrumb.js +1 -1
  314. package/dist/components/stzh-button.js +1 -1
  315. package/dist/components/stzh-buttongroup.js +1 -1
  316. package/dist/components/stzh-calendar.js +1 -1
  317. package/dist/components/stzh-card-navigation.js +3 -3
  318. package/dist/components/stzh-card-searchresult.js +15 -15
  319. package/dist/components/stzh-card-superteaser.js +15 -15
  320. package/dist/components/stzh-card.js +1 -1
  321. package/dist/components/stzh-cardlist.js +1 -1
  322. package/dist/components/stzh-carousel.js +1 -1
  323. package/dist/components/stzh-cell.js +1 -1
  324. package/dist/components/stzh-chart.js +1 -1
  325. package/dist/components/stzh-checkbox.js +1 -1
  326. package/dist/components/stzh-checkboxgroup.js +6 -6
  327. package/dist/components/stzh-chip.js +1 -1
  328. package/dist/components/stzh-chipgroup.js +1 -1
  329. package/dist/components/stzh-chipselect.js +1 -1
  330. package/dist/components/stzh-clamp.js +1 -1
  331. package/dist/components/stzh-company-logo.js +1 -1
  332. package/dist/components/stzh-contact-cv.js +5 -5
  333. package/dist/components/stzh-contact.js +11 -11
  334. package/dist/components/stzh-container.js +1 -1
  335. package/dist/components/stzh-content.js +1 -1
  336. package/dist/components/stzh-cspace.js +1 -1
  337. package/dist/components/stzh-cta.js +4 -4
  338. package/dist/components/stzh-datalist-item.js +1 -1
  339. package/dist/components/stzh-datalist.js +1 -1
  340. package/dist/components/stzh-datamessagelist-item.js +11 -11
  341. package/dist/components/stzh-datamessagelist.js +1 -1
  342. package/dist/components/stzh-datatable.js +18 -18
  343. package/dist/components/stzh-datepicker.js +1 -1
  344. package/dist/components/stzh-daterange.js +5 -5
  345. package/dist/components/stzh-details.js +1 -1
  346. package/dist/components/stzh-dialog.js +1 -1
  347. package/dist/components/stzh-disturber.js +5 -5
  348. package/dist/components/stzh-dropdown.js +1 -1
  349. package/dist/components/stzh-editor.js +4 -4
  350. package/dist/components/stzh-eventdata.js +1 -1
  351. package/dist/components/stzh-eventinfo.js +6 -6
  352. package/dist/components/stzh-feedreader-item.js +3 -3
  353. package/dist/components/stzh-feedreader.js +9 -9
  354. package/dist/components/stzh-fieldset.js +1 -1
  355. package/dist/components/stzh-figure.js +1 -1
  356. package/dist/components/stzh-flyingfocus.js +1 -1
  357. package/dist/components/stzh-footer.js +5 -5
  358. package/dist/components/stzh-gallery.js +8 -8
  359. package/dist/components/stzh-geo-ref-data.js +24 -24
  360. package/dist/components/stzh-ghettobox.js +5 -5
  361. package/dist/components/stzh-header.js +1 -1
  362. package/dist/components/stzh-heading.js +1 -1
  363. package/dist/components/stzh-homepage-search.js +2 -2
  364. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  365. package/dist/components/stzh-hr.js +1 -1
  366. package/dist/components/stzh-hspace.js +1 -1
  367. package/dist/components/stzh-http-error.js +7 -7
  368. package/dist/components/stzh-icon.js +1 -1
  369. package/dist/components/stzh-iframe.js +1 -1
  370. package/dist/components/stzh-imagecomparison.js +2 -2
  371. package/dist/components/stzh-input.js +1 -1
  372. package/dist/components/stzh-invert.js +1 -1
  373. package/dist/components/stzh-link.js +1 -1
  374. package/dist/components/stzh-linklist.js +11 -11
  375. package/dist/components/stzh-list-item.js +1 -1
  376. package/dist/components/stzh-list.js +1 -1
  377. package/dist/components/stzh-loader.js +1 -1
  378. package/dist/components/stzh-loadingbar.js +1 -1
  379. package/dist/components/stzh-menu-item.js +1 -1
  380. package/dist/components/stzh-menu.js +1 -1
  381. package/dist/components/stzh-message.js +1 -1
  382. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  383. package/dist/components/stzh-monthyearpicker.js +5 -5
  384. package/dist/components/stzh-offline-indicator.js +6 -6
  385. package/dist/components/stzh-olmap.js +1 -1
  386. package/dist/components/stzh-overlay.js +1 -1
  387. package/dist/components/stzh-page-skiplinks.js +1 -1
  388. package/dist/components/stzh-pagebottom.js +8 -8
  389. package/dist/components/stzh-pagecontent.js +2 -2
  390. package/dist/components/stzh-pagetitle-hero.js +2 -2
  391. package/dist/components/stzh-pagetitle-home.js +3 -3
  392. package/dist/components/stzh-pagetitle.js +3 -3
  393. package/dist/components/stzh-pagination.js +1 -1
  394. package/dist/components/stzh-panorama.js +11 -11
  395. package/dist/components/stzh-pi-content-navigation.js +4 -4
  396. package/dist/components/stzh-pi-menu.js +3 -3
  397. package/dist/components/stzh-pi-pagetitle.js +3 -3
  398. package/dist/components/stzh-pi-quote.js +1 -1
  399. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  400. package/dist/components/stzh-pi-teaser-layout.js +3 -3
  401. package/dist/components/stzh-pi-teaser.js +3 -3
  402. package/dist/components/stzh-pkzh-qr.js +20 -20
  403. package/dist/components/stzh-popover.js +1 -1
  404. package/dist/components/stzh-print.js +1 -1
  405. package/dist/components/stzh-quote.js +1 -1
  406. package/dist/components/stzh-radio.js +1 -1
  407. package/dist/components/stzh-radiogroup.js +1 -1
  408. package/dist/components/stzh-rating.js +42 -12
  409. package/dist/components/stzh-rating.js.map +1 -1
  410. package/dist/components/stzh-ratio.js +1 -1
  411. package/dist/components/stzh-readspeaker.js +5 -5
  412. package/dist/components/stzh-richtext.js +2 -2
  413. package/dist/components/stzh-row.js +1 -1
  414. package/dist/components/stzh-saptcha.js +7 -7
  415. package/dist/components/stzh-scrollup.js +2 -2
  416. package/dist/components/stzh-search.js +17 -17
  417. package/dist/components/stzh-section.js +2 -2
  418. package/dist/components/stzh-share.js +1 -1
  419. package/dist/components/stzh-show.js +1 -1
  420. package/dist/components/stzh-sitemap.js +9 -9
  421. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  422. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  423. package/dist/components/stzh-skiplink.js +1 -1
  424. package/dist/components/stzh-socialmediastream-item.js +1 -1
  425. package/dist/components/stzh-socialmediastream.js +7 -7
  426. package/dist/components/stzh-sortable.js +1 -1
  427. package/dist/components/stzh-space.js +1 -1
  428. package/dist/components/stzh-status.js +1 -1
  429. package/dist/components/stzh-stepper-item.js +1 -1
  430. package/dist/components/stzh-stepper.js +3 -3
  431. package/dist/components/stzh-sticky-actions.js +3 -3
  432. package/dist/components/stzh-sticky.js +1 -1
  433. package/dist/components/stzh-table.js +2 -2
  434. package/dist/components/stzh-tag.js +1 -1
  435. package/dist/components/stzh-text.js +1 -1
  436. package/dist/components/stzh-textandimage.js +2 -2
  437. package/dist/components/stzh-timeline-item.js +4 -4
  438. package/dist/components/stzh-timeline.js +1 -1
  439. package/dist/components/stzh-timepicker.js +5 -5
  440. package/dist/components/stzh-toast.js +1 -1
  441. package/dist/components/stzh-toastbar.js +1 -1
  442. package/dist/components/stzh-toggle.js +42 -11
  443. package/dist/components/stzh-toggle.js.map +1 -1
  444. package/dist/components/stzh-tooltip.js +1 -1
  445. package/dist/components/stzh-twocolumns.js +2 -2
  446. package/dist/components/stzh-upload.js +50 -19
  447. package/dist/components/stzh-upload.js.map +1 -1
  448. package/dist/components/stzh-vbz-carousel.js +2 -2
  449. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  450. package/dist/components/stzh-vbz-intro.js +6 -6
  451. package/dist/components/stzh-vbz-linechip.js +1 -1
  452. package/dist/components/stzh-vbz-majorticker.js +8 -8
  453. package/dist/components/stzh-vbz-ticker.js +7 -7
  454. package/dist/components/stzh-visuallyhidden.js +1 -1
  455. package/dist/components/stzh-vspace.js +1 -1
  456. package/dist/components/stzh-youtube.js +6 -6
  457. package/dist/esm/{index-BDy81lpO.js → index-BMrO_esM.js} +3 -3
  458. package/dist/esm/{index-BDy81lpO.js.map → index-BMrO_esM.js.map} +1 -1
  459. package/dist/esm/loader.js +3 -3
  460. package/dist/esm/stzh-accordion_3.entry.js +2 -2
  461. package/dist/esm/stzh-actions_6.entry.js +2 -2
  462. package/dist/esm/stzh-actionset.entry.js +1 -1
  463. package/dist/esm/stzh-amount.entry.js +1 -1
  464. package/dist/esm/stzh-anchornav.entry.js +1 -1
  465. package/dist/esm/stzh-app-nav.entry.js +1 -1
  466. package/dist/esm/stzh-appointments.entry.js +2 -2
  467. package/dist/esm/stzh-archivelist.entry.js +1 -1
  468. package/dist/esm/stzh-audio.entry.js +2 -2
  469. package/dist/esm/stzh-badge_3.entry.js +2 -2
  470. package/dist/esm/stzh-banner.entry.js +1 -1
  471. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  472. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  473. package/dist/esm/stzh-calendar.entry.js +1 -1
  474. package/dist/esm/stzh-card-navigation.entry.js +2 -2
  475. package/dist/esm/stzh-card-searchresult.entry.js +2 -2
  476. package/dist/esm/stzh-card-superteaser.entry.js +2 -2
  477. package/dist/esm/stzh-card_2.entry.js +2 -2
  478. package/dist/esm/stzh-carousel.entry.js +2 -2
  479. package/dist/esm/stzh-chart.entry.js +1 -1
  480. package/dist/esm/stzh-checkbox.entry.js +36 -6
  481. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  482. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  483. package/dist/esm/stzh-chip_2.entry.js +3 -3
  484. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  485. package/dist/esm/stzh-clamp.entry.js +1 -1
  486. package/dist/esm/stzh-company-logo.entry.js +1 -1
  487. package/dist/esm/stzh-components.js +3 -3
  488. package/dist/esm/stzh-contact-cv.entry.js +2 -2
  489. package/dist/esm/stzh-contact.entry.js +2 -2
  490. package/dist/esm/stzh-container_2.entry.js +1 -1
  491. package/dist/esm/stzh-content.entry.js +1 -1
  492. package/dist/esm/stzh-cta.entry.js +2 -2
  493. package/dist/esm/stzh-datalist_3.entry.js +2 -2
  494. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  495. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  496. package/dist/esm/stzh-datatable.entry.js +2 -2
  497. package/dist/esm/stzh-datepicker_3.entry.js +36 -6
  498. package/dist/esm/stzh-daterange.entry.js +2 -2
  499. package/dist/esm/stzh-details.entry.js +2 -2
  500. package/dist/esm/stzh-dialog.entry.js +2 -2
  501. package/dist/esm/stzh-disturber.entry.js +2 -2
  502. package/dist/esm/stzh-dropdown.entry.js +3 -3
  503. package/dist/esm/stzh-editor.entry.js +1 -1
  504. package/dist/esm/stzh-eventdata.entry.js +1 -1
  505. package/dist/esm/stzh-eventinfo.entry.js +2 -2
  506. package/dist/esm/stzh-feedreader-item.entry.js +2 -2
  507. package/dist/esm/stzh-feedreader.entry.js +2 -2
  508. package/dist/esm/stzh-figure.entry.js +2 -2
  509. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  510. package/dist/esm/stzh-footer.entry.js +2 -2
  511. package/dist/esm/stzh-gallery.entry.js +1 -1
  512. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  513. package/dist/esm/stzh-ghettobox.entry.js +2 -2
  514. package/dist/esm/stzh-header_3.entry.js +2 -2
  515. package/dist/esm/stzh-heading.entry.js +1 -1
  516. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  517. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  518. package/dist/esm/stzh-hr.entry.js +1 -1
  519. package/dist/esm/stzh-hspace.entry.js +1 -1
  520. package/dist/esm/stzh-http-error.entry.js +1 -1
  521. package/dist/esm/stzh-iframe.entry.js +1 -1
  522. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  523. package/dist/esm/{stzh-input-description-D2d54L27.js → stzh-input-description-F6xJmR4b.js} +3 -3
  524. package/dist/esm/{stzh-input-description-D2d54L27.js.map → stzh-input-description-F6xJmR4b.js.map} +1 -1
  525. package/dist/esm/stzh-input.entry.js +31 -36
  526. package/dist/esm/stzh-input.entry.js.map +1 -1
  527. package/dist/esm/stzh-invert.entry.js +1 -1
  528. package/dist/esm/stzh-link.entry.js +2 -2
  529. package/dist/esm/stzh-linklist.entry.js +2 -2
  530. package/dist/esm/stzh-list_2.entry.js +1 -1
  531. package/dist/esm/stzh-loader.entry.js +1 -1
  532. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  533. package/dist/esm/stzh-menu_2.entry.js +2 -2
  534. package/dist/esm/stzh-message.entry.js +4 -4
  535. package/dist/esm/stzh-message.entry.js.map +1 -1
  536. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  537. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  538. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  539. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  540. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  541. package/dist/esm/stzh-pagecontent.entry.js +2 -2
  542. package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
  543. package/dist/esm/stzh-pagetitle-home.entry.js +2 -2
  544. package/dist/esm/stzh-pagetitle.entry.js +2 -2
  545. package/dist/esm/stzh-panorama.entry.js +1 -1
  546. package/dist/esm/stzh-pi-content-navigation.entry.js +2 -2
  547. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  548. package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
  549. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  550. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  551. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  552. package/dist/esm/stzh-pi-teaser.entry.js +2 -2
  553. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  554. package/dist/esm/stzh-popover.entry.js +2 -2
  555. package/dist/esm/stzh-print_2.entry.js +2 -2
  556. package/dist/esm/stzh-quote.entry.js +1 -1
  557. package/dist/esm/stzh-rating.entry.js +37 -9
  558. package/dist/esm/stzh-rating.entry.js.map +1 -1
  559. package/dist/esm/stzh-ratio.entry.js +1 -1
  560. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  561. package/dist/esm/stzh-richtext.entry.js +1 -1
  562. package/dist/esm/stzh-saptcha.entry.js +1 -1
  563. package/dist/esm/stzh-scrollup.entry.js +2 -2
  564. package/dist/esm/stzh-search.entry.js +2 -2
  565. package/dist/esm/stzh-section.entry.js +2 -2
  566. package/dist/esm/stzh-show.entry.js +1 -1
  567. package/dist/esm/stzh-sitemap.entry.js +1 -1
  568. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  569. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  570. package/dist/esm/stzh-skiplink.entry.js +1 -1
  571. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  572. package/dist/esm/stzh-socialmediastream.entry.js +2 -2
  573. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  574. package/dist/esm/stzh-stepper.entry.js +1 -1
  575. package/dist/esm/stzh-sticky-actions.entry.js +2 -2
  576. package/dist/esm/stzh-sticky.entry.js +2 -2
  577. package/dist/esm/stzh-table.entry.js +2 -2
  578. package/dist/esm/stzh-text.entry.js +1 -1
  579. package/dist/esm/stzh-textandimage.entry.js +2 -2
  580. package/dist/esm/stzh-timeline-item.entry.js +2 -2
  581. package/dist/esm/stzh-timeline.entry.js +1 -1
  582. package/dist/esm/stzh-timepicker.entry.js +1 -1
  583. package/dist/esm/stzh-toast_2.entry.js +2 -2
  584. package/dist/esm/stzh-toggle.entry.js +36 -7
  585. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  586. package/dist/esm/stzh-tooltip.entry.js +2 -2
  587. package/dist/esm/stzh-twocolumns.entry.js +2 -2
  588. package/dist/esm/stzh-upload.entry.js +37 -8
  589. package/dist/esm/stzh-upload.entry.js.map +1 -1
  590. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  591. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  592. package/dist/esm/stzh-vbz-intro.entry.js +2 -2
  593. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  594. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  595. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  596. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  597. package/dist/esm/stzh-vspace.entry.js +1 -1
  598. package/dist/esm/stzh-youtube.entry.js +1 -1
  599. package/dist/esm/{utils-BnOofzDv.js → utils-CnvjJ2wY.js} +59 -3
  600. package/dist/esm/utils-CnvjJ2wY.js.map +1 -0
  601. package/dist/stzh-components/{p-D4oTGvdl.js → p--ooR_PU_.js} +2 -2
  602. package/dist/stzh-components/{p-D4oTGvdl.js.map → p--ooR_PU_.js.map} +1 -1
  603. package/dist/stzh-components/{p-f3276383.entry.js → p-00353dba.entry.js} +2 -2
  604. package/dist/stzh-components/{p-59da8df1.entry.js → p-01b57dff.entry.js} +2 -2
  605. package/dist/stzh-components/{p-65e3833f.entry.js → p-08c26fa4.entry.js} +2 -2
  606. package/dist/stzh-components/{p-561fd23e.entry.js → p-0bcce878.entry.js} +2 -2
  607. package/dist/stzh-components/{p-5f862749.entry.js → p-0d71a712.entry.js} +2 -2
  608. package/dist/stzh-components/{p-8e4ecd25.entry.js → p-102abd6c.entry.js} +2 -2
  609. package/dist/stzh-components/p-11375541.entry.js +2 -0
  610. package/dist/stzh-components/{p-deb5310a.entry.js.map → p-11375541.entry.js.map} +1 -1
  611. package/dist/stzh-components/{p-f1e336dc.entry.js → p-117d79b0.entry.js} +2 -2
  612. package/dist/stzh-components/{p-f1a64a00.entry.js → p-11984d87.entry.js} +2 -2
  613. package/dist/stzh-components/{p-7da86126.entry.js → p-15818fb6.entry.js} +2 -2
  614. package/dist/stzh-components/{p-1b39c90b.entry.js → p-182be2cb.entry.js} +6 -6
  615. package/dist/stzh-components/{p-e2f97240.entry.js → p-19425494.entry.js} +2 -2
  616. package/dist/stzh-components/{p-f442969e.entry.js → p-1c0d8bd1.entry.js} +2 -2
  617. package/dist/stzh-components/{p-1f1aac25.entry.js → p-1c10554c.entry.js} +2 -2
  618. package/dist/stzh-components/{p-e51cd413.entry.js → p-1da17a3f.entry.js} +2 -2
  619. package/dist/stzh-components/p-1e895ec3.entry.js +2 -0
  620. package/dist/stzh-components/p-1e895ec3.entry.js.map +1 -0
  621. package/dist/stzh-components/{p-74494120.entry.js → p-21d6ad19.entry.js} +2 -2
  622. package/dist/stzh-components/{p-931abfe7.entry.js → p-223813c2.entry.js} +2 -2
  623. package/dist/stzh-components/{p-54d92856.entry.js → p-2a02f828.entry.js} +2 -2
  624. package/dist/stzh-components/{p-0cac70a3.entry.js → p-2a127cc2.entry.js} +2 -2
  625. package/dist/stzh-components/{p-5b7298a4.entry.js → p-2a398b2e.entry.js} +2 -2
  626. package/dist/stzh-components/{p-75ffb877.entry.js → p-2b767b1b.entry.js} +2 -2
  627. package/dist/stzh-components/{p-dbe53670.entry.js → p-2c7792b4.entry.js} +2 -2
  628. package/dist/stzh-components/{p-1c3942a6.entry.js → p-2ddaf03b.entry.js} +2 -2
  629. package/dist/stzh-components/{p-fc96a153.entry.js → p-301c1aa1.entry.js} +2 -2
  630. package/dist/stzh-components/{p-f18c1bc6.entry.js → p-3066d7ac.entry.js} +2 -2
  631. package/dist/stzh-components/{p-ae8fe7f0.entry.js → p-32c6e24a.entry.js} +2 -2
  632. package/dist/stzh-components/{p-645c7fba.entry.js → p-34e31715.entry.js} +3 -3
  633. package/dist/stzh-components/{p-75dad6c7.entry.js → p-357943a8.entry.js} +2 -2
  634. package/dist/stzh-components/{p-9337582a.entry.js → p-39d6dad5.entry.js} +2 -2
  635. package/dist/stzh-components/{p-fd0e8627.entry.js → p-3b764057.entry.js} +2 -2
  636. package/dist/stzh-components/{p-0e3d6349.entry.js → p-3efa45ca.entry.js} +2 -2
  637. package/dist/stzh-components/{p-c471680d.entry.js → p-3f5f0aaf.entry.js} +2 -2
  638. package/dist/stzh-components/{p-2683a93d.entry.js → p-44b7bd82.entry.js} +2 -2
  639. package/dist/stzh-components/{p-8d558e1d.entry.js → p-490d880f.entry.js} +2 -2
  640. package/dist/stzh-components/{p-1db6f565.entry.js → p-49717f35.entry.js} +2 -2
  641. package/dist/stzh-components/{p-7f825eff.entry.js → p-4cc1d883.entry.js} +2 -2
  642. package/dist/stzh-components/{p-e92a11b6.entry.js → p-4e26f1e1.entry.js} +2 -2
  643. package/dist/stzh-components/{p-2e1efcc9.entry.js → p-51069c51.entry.js} +2 -2
  644. package/dist/stzh-components/{p-deb499e2.entry.js → p-51f6f724.entry.js} +2 -2
  645. package/dist/stzh-components/{p-0e45d2de.entry.js → p-56216434.entry.js} +2 -2
  646. package/dist/stzh-components/{p-46c5b453.entry.js → p-5eff4877.entry.js} +2 -2
  647. package/dist/stzh-components/{p-85ac6d83.entry.js → p-61bf5c59.entry.js} +2 -2
  648. package/dist/stzh-components/{p-bfa62b65.entry.js → p-66aa2138.entry.js} +2 -2
  649. package/dist/stzh-components/{p-759099e2.entry.js → p-66b8f10b.entry.js} +2 -2
  650. package/dist/stzh-components/{p-8f956678.entry.js → p-683a19bb.entry.js} +2 -2
  651. package/dist/stzh-components/{p-e281a715.entry.js → p-684d4d18.entry.js} +3 -3
  652. package/dist/stzh-components/p-687cae2d.entry.js +2 -0
  653. package/dist/stzh-components/p-687cae2d.entry.js.map +1 -0
  654. package/dist/stzh-components/{p-3c861eb0.entry.js → p-6add6579.entry.js} +2 -2
  655. package/dist/stzh-components/{p-7a1296d4.entry.js → p-6af8d5cb.entry.js} +2 -2
  656. package/dist/stzh-components/{p-69f5276e.entry.js → p-6b450966.entry.js} +2 -2
  657. package/dist/stzh-components/{p-b663c8f6.entry.js → p-6c6e664c.entry.js} +2 -2
  658. package/dist/stzh-components/{p-d3209381.entry.js → p-6e23fc8e.entry.js} +2 -2
  659. package/dist/stzh-components/{p-9957d575.entry.js → p-6ec9e3dc.entry.js} +2 -2
  660. package/dist/stzh-components/{p-70b10351.entry.js → p-7368a3bd.entry.js} +2 -2
  661. package/dist/stzh-components/{p-aef3c5ac.entry.js → p-77ab7971.entry.js} +2 -2
  662. package/dist/stzh-components/{p-e27591a6.entry.js → p-7898ab3c.entry.js} +2 -2
  663. package/dist/stzh-components/{p-aed15ee1.entry.js → p-7a8d05c2.entry.js} +2 -2
  664. package/dist/stzh-components/{p-f301a05c.entry.js → p-7b070e13.entry.js} +2 -2
  665. package/dist/stzh-components/{p-07639e2e.entry.js → p-7dc226b0.entry.js} +2 -2
  666. package/dist/stzh-components/{p-c0b4f81f.entry.js → p-7fef5a6d.entry.js} +2 -2
  667. package/dist/stzh-components/{p-b2fcc490.entry.js → p-80c514e1.entry.js} +2 -2
  668. package/dist/stzh-components/{p-82d1f2f4.entry.js → p-833bd793.entry.js} +2 -2
  669. package/dist/stzh-components/{p-6c3de48d.entry.js → p-8550b2d8.entry.js} +2 -2
  670. package/dist/stzh-components/{p-cd9b9eac.entry.js → p-85b5bdbd.entry.js} +2 -2
  671. package/dist/stzh-components/{p-65a6428c.entry.js → p-873bec1c.entry.js} +2 -2
  672. package/dist/stzh-components/{p-44df0e58.entry.js → p-89c070b8.entry.js} +2 -2
  673. package/dist/stzh-components/{p-8bc9e95b.entry.js → p-90c4a686.entry.js} +2 -2
  674. package/dist/stzh-components/{p-e93dbde4.entry.js → p-90db31fb.entry.js} +2 -2
  675. package/dist/stzh-components/{p-33c80dea.entry.js → p-91083053.entry.js} +2 -2
  676. package/dist/stzh-components/p-95b9d704.entry.js +2 -0
  677. package/dist/stzh-components/p-95b9d704.entry.js.map +1 -0
  678. package/dist/stzh-components/{p-52d757b2.entry.js → p-97be25ae.entry.js} +2 -2
  679. package/dist/stzh-components/{p-94eed7e7.entry.js → p-9a732268.entry.js} +2 -2
  680. package/dist/stzh-components/{p-39217901.entry.js → p-9b164561.entry.js} +2 -2
  681. package/dist/stzh-components/{p-8735dc17.entry.js → p-9bd07097.entry.js} +2 -2
  682. package/dist/stzh-components/{p-92d54e6a.entry.js → p-9d3dcadd.entry.js} +2 -2
  683. package/dist/stzh-components/{p-f4243fa8.entry.js → p-9db9d368.entry.js} +2 -2
  684. package/dist/stzh-components/p-BMrO_esM.js +3 -0
  685. package/dist/stzh-components/{p-BDy81lpO.js.map → p-BMrO_esM.js.map} +1 -1
  686. package/dist/stzh-components/p-DhuTERdU.js +2 -0
  687. package/dist/stzh-components/p-DhuTERdU.js.map +1 -0
  688. package/dist/stzh-components/{p-dd01dcf6.entry.js → p-a2313acc.entry.js} +2 -2
  689. package/dist/stzh-components/{p-d3969952.entry.js → p-a466bef7.entry.js} +3 -3
  690. package/dist/stzh-components/{p-0fe0982a.entry.js → p-a6073abd.entry.js} +2 -2
  691. package/dist/stzh-components/{p-c5986c0b.entry.js → p-a924e049.entry.js} +2 -2
  692. package/dist/stzh-components/{p-58d6b294.entry.js → p-ab14b19a.entry.js} +2 -2
  693. package/dist/stzh-components/{p-25df4336.entry.js → p-ad11c427.entry.js} +2 -2
  694. package/dist/stzh-components/{p-85cb6ac3.entry.js → p-ad5b037d.entry.js} +2 -2
  695. package/dist/stzh-components/{p-09219622.entry.js → p-afbf7bd5.entry.js} +2 -2
  696. package/dist/stzh-components/p-b0f5c226.entry.js +2 -0
  697. package/dist/stzh-components/p-b0f5c226.entry.js.map +1 -0
  698. package/dist/stzh-components/{p-233a253c.entry.js → p-b322c0cd.entry.js} +2 -2
  699. package/dist/stzh-components/{p-e6626ed6.entry.js → p-b401f555.entry.js} +2 -2
  700. package/dist/stzh-components/{p-c9972340.entry.js → p-b6518908.entry.js} +6 -6
  701. package/dist/stzh-components/{p-97a89608.entry.js → p-b67a197e.entry.js} +2 -2
  702. package/dist/stzh-components/{p-5198a930.entry.js → p-b91a1fb5.entry.js} +2 -2
  703. package/dist/stzh-components/{p-8e34c9c9.entry.js → p-b936ffdb.entry.js} +2 -2
  704. package/dist/stzh-components/{p-64c9a8f7.entry.js → p-b93a07a9.entry.js} +2 -2
  705. package/dist/stzh-components/{p-bc622b2a.entry.js → p-b9c11320.entry.js} +2 -2
  706. package/dist/stzh-components/{p-539bb440.entry.js → p-b9d617d4.entry.js} +2 -2
  707. package/dist/stzh-components/{p-158b16e0.entry.js → p-bc49448d.entry.js} +2 -2
  708. package/dist/stzh-components/{p-45452a45.entry.js → p-c1ccb40f.entry.js} +2 -2
  709. package/dist/stzh-components/{p-d1a50145.entry.js → p-c359686c.entry.js} +2 -2
  710. package/dist/stzh-components/{p-d9ceb9a1.entry.js → p-c6ae1a73.entry.js} +2 -2
  711. package/dist/stzh-components/{p-3816c34e.entry.js → p-c8332abd.entry.js} +2 -2
  712. package/dist/stzh-components/{p-0df1be19.entry.js → p-ca39f17b.entry.js} +2 -2
  713. package/dist/stzh-components/{p-0a1eb5fd.entry.js → p-cba7e887.entry.js} +2 -2
  714. package/dist/stzh-components/{p-cc579b5c.entry.js → p-d0c780be.entry.js} +2 -2
  715. package/dist/stzh-components/{p-6aa53daf.entry.js → p-d10a459c.entry.js} +2 -2
  716. package/dist/stzh-components/{p-9c4e1649.entry.js → p-d10e2ff4.entry.js} +2 -2
  717. package/dist/stzh-components/{p-0dc95d03.entry.js → p-d319b8db.entry.js} +2 -2
  718. package/dist/stzh-components/{p-5ebd56ff.entry.js → p-d3ae51da.entry.js} +2 -2
  719. package/dist/stzh-components/{p-8a9f9b42.entry.js → p-d57711e5.entry.js} +2 -2
  720. package/dist/stzh-components/{p-7bb32473.entry.js → p-d591892c.entry.js} +2 -2
  721. package/dist/stzh-components/{p-968ef9db.entry.js → p-d8cacb50.entry.js} +2 -2
  722. package/dist/stzh-components/{p-32258f20.entry.js → p-d971957a.entry.js} +2 -2
  723. package/dist/stzh-components/{p-6e6064a5.entry.js → p-defa4f14.entry.js} +2 -2
  724. package/dist/stzh-components/p-e04fe921.entry.js +2 -0
  725. package/dist/stzh-components/p-e04fe921.entry.js.map +1 -0
  726. package/dist/stzh-components/{p-752e3cd8.entry.js → p-e6d33dfe.entry.js} +2 -2
  727. package/dist/stzh-components/{p-bb16873e.entry.js → p-e7c05a67.entry.js} +2 -2
  728. package/dist/stzh-components/{p-0747c17b.entry.js → p-e85f497a.entry.js} +2 -2
  729. package/dist/stzh-components/{p-38a9cabf.entry.js → p-e88b56a4.entry.js} +2 -2
  730. package/dist/stzh-components/{p-e84a2d9e.entry.js → p-ea2a37fa.entry.js} +2 -2
  731. package/dist/stzh-components/{p-67b2d82d.entry.js → p-ec4dc01c.entry.js} +2 -2
  732. package/dist/stzh-components/{p-32cd07f2.entry.js → p-ec958f98.entry.js} +2 -2
  733. package/dist/stzh-components/{p-120fc2f7.entry.js → p-ed66b150.entry.js} +2 -2
  734. package/dist/stzh-components/{p-78f63571.entry.js → p-eec61b75.entry.js} +2 -2
  735. package/dist/stzh-components/{p-68692aca.entry.js → p-f1fcc0d8.entry.js} +2 -2
  736. package/dist/stzh-components/{p-67e2ea65.entry.js → p-f31d01ea.entry.js} +2 -2
  737. package/dist/stzh-components/{p-79823ee9.entry.js → p-f76c80da.entry.js} +2 -2
  738. package/dist/stzh-components/{p-375f8787.entry.js → p-fce7bd0a.entry.js} +2 -2
  739. package/dist/stzh-components/{p-cd10adbb.entry.js → p-fd92dbe7.entry.js} +2 -2
  740. package/dist/stzh-components/p-fdb2fa88.entry.js +2 -0
  741. package/dist/stzh-components/p-fdb2fa88.entry.js.map +1 -0
  742. package/dist/stzh-components/{p-4dfa25ec.entry.js → p-fdca724c.entry.js} +2 -2
  743. package/dist/stzh-components/{p-01cb747a.entry.js → p-fe2e3916.entry.js} +2 -2
  744. package/dist/stzh-components/stzh-components.esm.js +1 -1
  745. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +18 -0
  746. package/dist/types/components/stzh-input/stzh-input.d.ts +15 -4
  747. package/dist/types/components/stzh-message/stzh-message.d.ts +2 -2
  748. package/dist/types/components/stzh-radio/stzh-radio.d.ts +18 -0
  749. package/dist/types/components/stzh-rating/stzh-rating.d.ts +18 -0
  750. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +18 -0
  751. package/dist/types/components/stzh-upload/stzh-upload.d.ts +18 -0
  752. package/dist/types/components.d.ts +4 -4
  753. package/dist/types/utils/utils.d.ts +13 -0
  754. package/dist/vscode-data.json +1 -1
  755. package/package.json +1 -1
  756. package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
  757. package/dist/components/p-8vUD5Pvs.js.map +0 -1
  758. package/dist/components/p-CN5apKPb.js.map +0 -1
  759. package/dist/components/p-CjdErtj_.js.map +0 -1
  760. package/dist/components/p-Dn5GUbNz.js.map +0 -1
  761. package/dist/esm/utils-BnOofzDv.js.map +0 -1
  762. package/dist/stzh-components/p--MYN2wgX.js +0 -2
  763. package/dist/stzh-components/p--MYN2wgX.js.map +0 -1
  764. package/dist/stzh-components/p-0f6a6d68.entry.js +0 -2
  765. package/dist/stzh-components/p-0f6a6d68.entry.js.map +0 -1
  766. package/dist/stzh-components/p-17c76b7f.entry.js +0 -2
  767. package/dist/stzh-components/p-17c76b7f.entry.js.map +0 -1
  768. package/dist/stzh-components/p-42f4c28d.entry.js +0 -2
  769. package/dist/stzh-components/p-42f4c28d.entry.js.map +0 -1
  770. package/dist/stzh-components/p-856faa3f.entry.js +0 -2
  771. package/dist/stzh-components/p-856faa3f.entry.js.map +0 -1
  772. package/dist/stzh-components/p-963b4a81.entry.js +0 -2
  773. package/dist/stzh-components/p-963b4a81.entry.js.map +0 -1
  774. package/dist/stzh-components/p-BDy81lpO.js +0 -3
  775. package/dist/stzh-components/p-d215409f.entry.js +0 -2
  776. package/dist/stzh-components/p-d215409f.entry.js.map +0 -1
  777. package/dist/stzh-components/p-deb5310a.entry.js +0 -2
  778. /package/dist/stzh-components/{p-f3276383.entry.js.map → p-00353dba.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-59da8df1.entry.js.map → p-01b57dff.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-65e3833f.entry.js.map → p-08c26fa4.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-561fd23e.entry.js.map → p-0bcce878.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-5f862749.entry.js.map → p-0d71a712.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-8e4ecd25.entry.js.map → p-102abd6c.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-f1e336dc.entry.js.map → p-117d79b0.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-f1a64a00.entry.js.map → p-11984d87.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-7da86126.entry.js.map → p-15818fb6.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-1b39c90b.entry.js.map → p-182be2cb.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-e2f97240.entry.js.map → p-19425494.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-f442969e.entry.js.map → p-1c0d8bd1.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-1f1aac25.entry.js.map → p-1c10554c.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-e51cd413.entry.js.map → p-1da17a3f.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-74494120.entry.js.map → p-21d6ad19.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-931abfe7.entry.js.map → p-223813c2.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-54d92856.entry.js.map → p-2a02f828.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-0cac70a3.entry.js.map → p-2a127cc2.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-5b7298a4.entry.js.map → p-2a398b2e.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-75ffb877.entry.js.map → p-2b767b1b.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-dbe53670.entry.js.map → p-2c7792b4.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-1c3942a6.entry.js.map → p-2ddaf03b.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-fc96a153.entry.js.map → p-301c1aa1.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-f18c1bc6.entry.js.map → p-3066d7ac.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-ae8fe7f0.entry.js.map → p-32c6e24a.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-645c7fba.entry.js.map → p-34e31715.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-75dad6c7.entry.js.map → p-357943a8.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-9337582a.entry.js.map → p-39d6dad5.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-fd0e8627.entry.js.map → p-3b764057.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-0e3d6349.entry.js.map → p-3efa45ca.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-c471680d.entry.js.map → p-3f5f0aaf.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-2683a93d.entry.js.map → p-44b7bd82.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-8d558e1d.entry.js.map → p-490d880f.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-1db6f565.entry.js.map → p-49717f35.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-7f825eff.entry.js.map → p-4cc1d883.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-e92a11b6.entry.js.map → p-4e26f1e1.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-2e1efcc9.entry.js.map → p-51069c51.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-deb499e2.entry.js.map → p-51f6f724.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-0e45d2de.entry.js.map → p-56216434.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-46c5b453.entry.js.map → p-5eff4877.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-85ac6d83.entry.js.map → p-61bf5c59.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-bfa62b65.entry.js.map → p-66aa2138.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-759099e2.entry.js.map → p-66b8f10b.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-8f956678.entry.js.map → p-683a19bb.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-e281a715.entry.js.map → p-684d4d18.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-3c861eb0.entry.js.map → p-6add6579.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-7a1296d4.entry.js.map → p-6af8d5cb.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-69f5276e.entry.js.map → p-6b450966.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-b663c8f6.entry.js.map → p-6c6e664c.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-d3209381.entry.js.map → p-6e23fc8e.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-9957d575.entry.js.map → p-6ec9e3dc.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-70b10351.entry.js.map → p-7368a3bd.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-aef3c5ac.entry.js.map → p-77ab7971.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-e27591a6.entry.js.map → p-7898ab3c.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-aed15ee1.entry.js.map → p-7a8d05c2.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-f301a05c.entry.js.map → p-7b070e13.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-07639e2e.entry.js.map → p-7dc226b0.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-c0b4f81f.entry.js.map → p-7fef5a6d.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-b2fcc490.entry.js.map → p-80c514e1.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-82d1f2f4.entry.js.map → p-833bd793.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-6c3de48d.entry.js.map → p-8550b2d8.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-cd9b9eac.entry.js.map → p-85b5bdbd.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-65a6428c.entry.js.map → p-873bec1c.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-44df0e58.entry.js.map → p-89c070b8.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-8bc9e95b.entry.js.map → p-90c4a686.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-e93dbde4.entry.js.map → p-90db31fb.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-33c80dea.entry.js.map → p-91083053.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-52d757b2.entry.js.map → p-97be25ae.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-94eed7e7.entry.js.map → p-9a732268.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-39217901.entry.js.map → p-9b164561.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-8735dc17.entry.js.map → p-9bd07097.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-92d54e6a.entry.js.map → p-9d3dcadd.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-f4243fa8.entry.js.map → p-9db9d368.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-dd01dcf6.entry.js.map → p-a2313acc.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-d3969952.entry.js.map → p-a466bef7.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-0fe0982a.entry.js.map → p-a6073abd.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-c5986c0b.entry.js.map → p-a924e049.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-58d6b294.entry.js.map → p-ab14b19a.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-25df4336.entry.js.map → p-ad11c427.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-85cb6ac3.entry.js.map → p-ad5b037d.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-09219622.entry.js.map → p-afbf7bd5.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-233a253c.entry.js.map → p-b322c0cd.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-e6626ed6.entry.js.map → p-b401f555.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-c9972340.entry.js.map → p-b6518908.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-97a89608.entry.js.map → p-b67a197e.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-5198a930.entry.js.map → p-b91a1fb5.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-8e34c9c9.entry.js.map → p-b936ffdb.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-64c9a8f7.entry.js.map → p-b93a07a9.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-bc622b2a.entry.js.map → p-b9c11320.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-539bb440.entry.js.map → p-b9d617d4.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-158b16e0.entry.js.map → p-bc49448d.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-45452a45.entry.js.map → p-c1ccb40f.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-d1a50145.entry.js.map → p-c359686c.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-d9ceb9a1.entry.js.map → p-c6ae1a73.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-3816c34e.entry.js.map → p-c8332abd.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-0df1be19.entry.js.map → p-ca39f17b.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-0a1eb5fd.entry.js.map → p-cba7e887.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-cc579b5c.entry.js.map → p-d0c780be.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-6aa53daf.entry.js.map → p-d10a459c.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-9c4e1649.entry.js.map → p-d10e2ff4.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-0dc95d03.entry.js.map → p-d319b8db.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-5ebd56ff.entry.js.map → p-d3ae51da.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-8a9f9b42.entry.js.map → p-d57711e5.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-7bb32473.entry.js.map → p-d591892c.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-968ef9db.entry.js.map → p-d8cacb50.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-32258f20.entry.js.map → p-d971957a.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-6e6064a5.entry.js.map → p-defa4f14.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-752e3cd8.entry.js.map → p-e6d33dfe.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-bb16873e.entry.js.map → p-e7c05a67.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-0747c17b.entry.js.map → p-e85f497a.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-38a9cabf.entry.js.map → p-e88b56a4.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-e84a2d9e.entry.js.map → p-ea2a37fa.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-67b2d82d.entry.js.map → p-ec4dc01c.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-32cd07f2.entry.js.map → p-ec958f98.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-120fc2f7.entry.js.map → p-ed66b150.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-78f63571.entry.js.map → p-eec61b75.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-68692aca.entry.js.map → p-f1fcc0d8.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-67e2ea65.entry.js.map → p-f31d01ea.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-79823ee9.entry.js.map → p-f76c80da.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-375f8787.entry.js.map → p-fce7bd0a.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-cd10adbb.entry.js.map → p-fd92dbe7.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-4dfa25ec.entry.js.map → p-fdca724c.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-01cb747a.entry.js.map → p-fe2e3916.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-BBg6OWDc.js';
2
2
 
3
3
  const stzhRatioCss = () => `: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{--background-color:var(--stzh-ratio-background-color);--ratio:16 /
4
4
  9;--max-height:inherit;--overflow:inherit}:host ::slotted(*){position:absolute;width:100%;height:100%;inset:0;object-fit:cover}:host ::slotted(.stzh-card-searchresult__image-placeholder){display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--placeholder-image-color)}:host([fit=contain]) ::slotted(*){object-fit:contain}:host([portrait]:not([portrait=false])){--ratio:9 /
@@ -58,6 +58,6 @@ function defineCustomElement() {
58
58
  }
59
59
 
60
60
  export { StzhRatio as S, defineCustomElement as d };
61
- //# sourceMappingURL=p-CzvAx4N0.js.map
61
+ //# sourceMappingURL=p-AIPoMvau.js.map
62
62
 
63
- //# sourceMappingURL=p-CzvAx4N0.js.map
63
+ //# sourceMappingURL=p-AIPoMvau.js.map
@@ -1 +1 @@
1
- {"file":"p-CzvAx4N0.js","mappings":";;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA,0pMAA0pM,CAAC;;MCU9oM,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAE5B,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAW,CAAA,WAAA,GAA6B,SAAS;;AAEjD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAGhD,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAG,CAAA,GAAA,GAAwB,OAAO;AAkB5D;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,YAAY,EAAE,IAAI;SACnB;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,OAAO,EAAQ,CAAA,EAC1B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-ratio/stzh-ratio.scss?tag=stzh-ratio&encapsulation=shadow","src/components/stzh-ratio/stzh-ratio.tsx"],"sourcesContent":["@use \"sass:map\";\n@use \"sass:list\";\n\n/**\n * @prop --ratio: Ratio (e.g. 16 / 9)\n * @prop --background-color: Background color of ratio area\n * @prop --max-height: Max height of the ratio, useful when viewport is huge\n * @prop --overflow: In combination with max height you might wanna hide overflow\n *\n * @prop --stzh-ratio-background-color: **Global**: Background color of ratios\n */\n\n:host {\n --background-color: #{$ratioBackgroundColor};\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 1)} /\n #{list.nth(map.get($ratios, $ratioDefault), 2)};\n --max-height: inherit;\n --overflow: inherit;\n\n ::slotted(*) {\n position: absolute;\n width: 100%;\n height: 100%;\n inset: 0;\n object-fit: cover;\n }\n\n ::slotted(.stzh-card-searchresult__image-placeholder) {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n color: var(--placeholder-image-color);\n }\n}\n\n:host([fit=\"contain\"]) ::slotted(*) {\n object-fit: contain;\n}\n\n/* Ratio variants */\n\n:host([portrait]:not([portrait=\"false\"])) {\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 2)} /\n #{list.nth(map.get($ratios, $ratioDefault), 1)};\n}\n\n@mixin ratioProps($breakpoint: null) {\n @each $ratio, $value in $ratios {\n $firstNr: list.nth($value, 1);\n $secondNr: list.nth($value, 2);\n\n @if $breakpoint {\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"]) {\n @include mq($from: $breakpoint) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n }\n\n :host(\n [ratio-#{$breakpoint}=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])\n ) {\n @include mq($from: $breakpoint) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n } @else {\n :host([ratio=\"#{$ratio}\"]) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n\n :host([ratio=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n }\n}\n\n@include ratioProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include ratioProps($breakpoint);\n}\n\n.stzh-ratio {\n position: relative;\n width: 100%;\n aspect-ratio: var(--stzh-ratio, var(--ratio));\n background: var(--background-color);\n max-height: var(--max-height);\n overflow: var(--overflow);\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for e.g. image or video\n */\n@Component({\n tag: \"stzh-ratio\",\n styleUrl: \"stzh-ratio.scss\",\n shadow: true,\n})\nexport class StzhRatio {\n /** Aspect ratio */\n @Prop({ reflect: true }) ratio: Layout.Ratio = \"16:9\";\n /** Aspect ratio above small breakpoint */\n @Prop({ reflect: true }) ratioSmall: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above medium breakpoint */\n @Prop({ reflect: true }) ratioMedium: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above large breakpoint */\n @Prop({ reflect: true }) ratioLarge: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above ultra breakpoint */\n @Prop({ reflect: true }) ratioUltra: Layout.Ratio | \"inherit\" = \"inherit\";\n\n /** Whether aspect ratio is in portrait mode */\n @Prop({ reflect: true }) portrait: boolean = false;\n\n /** Fit mode */\n @Prop({ reflect: true }) fit: \"cover\" | \"contain\" = \"cover\";\n\n @Element() element: HTMLStzhRatioElement;\n\n render() {\n const classes = {\n \"stzh-ratio\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot name=\"image\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-AIPoMvau.js","mappings":";;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA,0pMAA0pM,CAAC;;MCU9oM,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAE5B,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAW,CAAA,WAAA,GAA6B,SAAS;;AAEjD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAGhD,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAG,CAAA,GAAA,GAAwB,OAAO;AAkB5D;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,YAAY,EAAE,IAAI;SACnB;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,OAAO,EAAQ,CAAA,EAC1B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-ratio/stzh-ratio.scss?tag=stzh-ratio&encapsulation=shadow","src/components/stzh-ratio/stzh-ratio.tsx"],"sourcesContent":["@use \"sass:map\";\n@use \"sass:list\";\n\n/**\n * @prop --ratio: Ratio (e.g. 16 / 9)\n * @prop --background-color: Background color of ratio area\n * @prop --max-height: Max height of the ratio, useful when viewport is huge\n * @prop --overflow: In combination with max height you might wanna hide overflow\n *\n * @prop --stzh-ratio-background-color: **Global**: Background color of ratios\n */\n\n:host {\n --background-color: #{$ratioBackgroundColor};\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 1)} /\n #{list.nth(map.get($ratios, $ratioDefault), 2)};\n --max-height: inherit;\n --overflow: inherit;\n\n ::slotted(*) {\n position: absolute;\n width: 100%;\n height: 100%;\n inset: 0;\n object-fit: cover;\n }\n\n ::slotted(.stzh-card-searchresult__image-placeholder) {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n color: var(--placeholder-image-color);\n }\n}\n\n:host([fit=\"contain\"]) ::slotted(*) {\n object-fit: contain;\n}\n\n/* Ratio variants */\n\n:host([portrait]:not([portrait=\"false\"])) {\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 2)} /\n #{list.nth(map.get($ratios, $ratioDefault), 1)};\n}\n\n@mixin ratioProps($breakpoint: null) {\n @each $ratio, $value in $ratios {\n $firstNr: list.nth($value, 1);\n $secondNr: list.nth($value, 2);\n\n @if $breakpoint {\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"]) {\n @include mq($from: $breakpoint) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n }\n\n :host(\n [ratio-#{$breakpoint}=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])\n ) {\n @include mq($from: $breakpoint) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n } @else {\n :host([ratio=\"#{$ratio}\"]) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n\n :host([ratio=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n }\n}\n\n@include ratioProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include ratioProps($breakpoint);\n}\n\n.stzh-ratio {\n position: relative;\n width: 100%;\n aspect-ratio: var(--stzh-ratio, var(--ratio));\n background: var(--background-color);\n max-height: var(--max-height);\n overflow: var(--overflow);\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for e.g. image or video\n */\n@Component({\n tag: \"stzh-ratio\",\n styleUrl: \"stzh-ratio.scss\",\n shadow: true,\n})\nexport class StzhRatio {\n /** Aspect ratio */\n @Prop({ reflect: true }) ratio: Layout.Ratio = \"16:9\";\n /** Aspect ratio above small breakpoint */\n @Prop({ reflect: true }) ratioSmall: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above medium breakpoint */\n @Prop({ reflect: true }) ratioMedium: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above large breakpoint */\n @Prop({ reflect: true }) ratioLarge: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above ultra breakpoint */\n @Prop({ reflect: true }) ratioUltra: Layout.Ratio | \"inherit\" = \"inherit\";\n\n /** Whether aspect ratio is in portrait mode */\n @Prop({ reflect: true }) portrait: boolean = false;\n\n /** Fit mode */\n @Prop({ reflect: true }) fit: \"cover\" | \"contain\" = \"cover\";\n\n @Element() element: HTMLStzhRatioElement;\n\n render() {\n const classes = {\n \"stzh-ratio\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot name=\"image\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +1,11 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DajXzNIS.js';
2
- import { h as hasSlot } from './p-CN5apKPb.js';
3
- import { S as StzhInputDescription } from './p-nQojTf6Q.js';
4
- import { d as defineCustomElement$5 } from './p-BSx9yT8P.js';
5
- import { d as defineCustomElement$4 } from './p-ulFcx8BE.js';
6
- import { d as defineCustomElement$3 } from './p-C7Wum7Zf.js';
7
- import { d as defineCustomElement$2 } from './p-DvQXjdsB.js';
8
- import { d as defineCustomElement$1 } from './p-5iYOoBns.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-BBg6OWDc.js';
2
+ import { a as hasDefaultSlotContent, h as hasSlot } from './p-DBHUqFOB.js';
3
+ import { S as StzhInputDescription } from './p-BmG3hFM8.js';
4
+ import { d as defineCustomElement$5 } from './p-DEfzwFSm.js';
5
+ import { d as defineCustomElement$4 } from './p-BK6Q89R0.js';
6
+ import { d as defineCustomElement$3 } from './p-CRo_30JG.js';
7
+ import { d as defineCustomElement$2 } from './p-DT0ux3Yn.js';
8
+ import { d as defineCustomElement$1 } from './p-4Vt8Vqot.js';
9
9
 
10
10
  const stzhInputCss = () => `.sc-stzh-input-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-input-h,[stzh-hidden].sc-stzh-input-h{display:none}.sc-stzh-input-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::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-input-h .has-focus.sc-stzh-input{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input{outline-style:none !important}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input::-moz-focus-inner{border:0 !important}.sc-stzh-input-h{--text-align:left;--color:var(--stzh-input-color, var(--stzh-color-secondary60));--border-color:var(--stzh-color-grey70);--border-radius:var(--stzh-form-input-border-radius);--background-color:var(--stzh-color-white);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--height:var(--stzh-form-input-height);--input-width:100%;--label-color:var(--stzh-input-label-color, var(--stzh-color-primary));--placeholder-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey80);--hover-color:var(--stzh-input-hover-color, var(--stzh-color-secondary60));--hover-border-color:var(
11
11
  --stzh-input-hover-border-color,
@@ -64,19 +64,19 @@ const StzhInput = /*@__PURE__*/ proxyCustomElement(class StzhInput extends H {
64
64
  this.size = "default";
65
65
  /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
66
66
  this.a11yDescribedby = "";
67
+ /**
68
+ * Whether the component has meaningful default-slot content.
69
+ * Becomes obsolete with the implementation of PDESI-1908.
70
+ */
67
71
  this.hasDefaultSlot = false;
72
+ /**
73
+ * Indicates whether default-slot content detection has run at least once.
74
+ * Used to avoid rendering state-dependent markup before the slot content
75
+ * has been evaluated.
76
+ * Becomes obsolete with the implementation of PDESI-1908.
77
+ */
68
78
  this.hasResolvedDefaultSlot = false;
69
79
  this.focusedByInput = false;
70
- /** Updates default-slot state after initial render and later slot content changes. */
71
- this.updateDefaultSlotState = () => {
72
- const hasDefaultSlot = this.hasDefaultLabelContent();
73
- if (this.hasDefaultSlot !== hasDefaultSlot) {
74
- this.hasDefaultSlot = hasDefaultSlot;
75
- }
76
- if (!this.hasResolvedDefaultSlot) {
77
- this.hasResolvedDefaultSlot = true;
78
- }
79
- };
80
80
  this.onClearClick = async (event) => {
81
81
  this.value = "";
82
82
  this.input.focus();
@@ -156,6 +156,19 @@ const StzhInput = /*@__PURE__*/ proxyCustomElement(class StzhInput extends H {
156
156
  originalEvent: event,
157
157
  });
158
158
  };
159
+ /**
160
+ * Re-evaluates default-slot content and updates the related render state.
161
+ * Becomes obsolete with implementation of PDESI-1908.
162
+ */
163
+ this.updateDefaultSlotState = () => {
164
+ const hasDefaultSlot = hasDefaultSlotContent(this.element, ["stzh-input"]);
165
+ if (this.hasDefaultSlot !== hasDefaultSlot) {
166
+ this.hasDefaultSlot = hasDefaultSlot;
167
+ }
168
+ if (!this.hasResolvedDefaultSlot) {
169
+ this.hasResolvedDefaultSlot = true;
170
+ }
171
+ };
159
172
  }
160
173
  resetListener(event) {
161
174
  if (event.target.contains(this.element)) {
@@ -194,24 +207,6 @@ const StzhInput = /*@__PURE__*/ proxyCustomElement(class StzhInput extends H {
194
207
  throw new Error(`Type ${newValue} not supported`);
195
208
  }
196
209
  }
197
- /** Detects default-slot label content, including Stencil's scoped-slot fallback nodes. */
198
- hasDefaultLabelContent() {
199
- if (hasSlot(this.element)) {
200
- return true;
201
- }
202
- return Array.from(this.element.childNodes).some(node => {
203
- var _a, _b;
204
- const slotNode = (_a = node["s-nr"]) !== null && _a !== void 0 ? _a : node;
205
- if (slotNode.nodeType === Node.TEXT_NODE) {
206
- return ((_b = slotNode.textContent) !== null && _b !== void 0 ? _b : "").trim() !== "";
207
- }
208
- if (slotNode.nodeType === Node.ELEMENT_NODE) {
209
- const element = slotNode;
210
- return !element.hasAttribute("slot") && !element.classList.contains("stzh-input");
211
- }
212
- return false;
213
- });
214
- }
215
210
  waitForNextRender() {
216
211
  return new Promise(resolve => (this.renderPromiseResolve = resolve));
217
212
  }
@@ -268,18 +263,18 @@ const StzhInput = /*@__PURE__*/ proxyCustomElement(class StzhInput extends H {
268
263
  [`stzh-input--size-${this.size}`]: !!this.size,
269
264
  [`stzh-input--type-${this.type}`]: !!this.type,
270
265
  };
271
- return (h(Host, { key: 'd195c45d4e0040fa255c91f43adfb94941ec2c63', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus, "is-filled": this.filled }, h("div", { key: '02d3ea7c524107257e3e488cdf310dc34fa3857a', class: classes }, labelWrapperUsed && (h("div", { key: '9b4017101f0818c295d9fd781128e10a82b78be7', class: "stzh-input__label-wrapper" }, h("label", { key: 'd94b948c1e96e5bdfa8884bcb0cda7130e6bddb3', class: {
266
+ return (h(Host, { key: 'edcd8b17d9a523b18ec3dc3fd8e7616a792bb1c4', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus, "is-filled": this.filled }, h("div", { key: '9cb9427ab5db441a4e26b80a389a527032d36a9f', class: classes }, labelWrapperUsed && (h("div", { key: '53bc2d5cea8f5a4e9f738ba973cd53e229864f04', class: "stzh-input__label-wrapper" }, h("label", { key: '73d80f001275d4f2eead5e9c97f10d0a4d6b3021', class: {
272
267
  "stzh-input__label": true,
273
268
  "no-label-truncate": this.noLabelTruncate,
274
- }, htmlFor: this.inputId }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: 'dd99a584802120e48ece9ed57355dabfba286074', class: "stzh-input__marker" }, h("span", { key: 'e52060306a2b697cbb235cdff8f559f0f4786fff', class: "stzh-input__marker-symbol", "aria-hidden": "true" }, this.required
269
+ }, htmlFor: this.inputId }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: 'd842519268ef41d93e4822963a80464bb52d81ba', class: "stzh-input__marker" }, h("span", { key: '9f9733c50f43d439398beda36b470c415effda56', class: "stzh-input__marker-symbol", "aria-hidden": "true" }, this.required
275
270
  ? this.localization.$globals.requiredFieldMarker
276
- : this.localization.$globals.optionalFieldMarker), h("span", { key: 'f629992a20c86974922b20dc7f8c8a671981bc17', class: "stzh-input__marker-text" }, this.required
271
+ : this.localization.$globals.optionalFieldMarker), h("span", { key: 'a6677f03b473f76df2874e577c6ea5fa262e9b86', class: "stzh-input__marker-text" }, this.required
277
272
  ? this.localization.$globals.requiredFieldText
278
- : this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: 'dab2b867e4c4843496c3d641d05e33e53522172c', classPrefix: "stzh-input", id: `${this.inputId}-description-long`, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false })))), h("div", { key: 'f27b1b23cac724928519b024d50e8760d2c28e83', class: "stzh-input__field-wrapper" }, this.multiline ? this.renderTextarea() : this.renderInput(), this.clearable || this.type === "search" || this.type === "password" ? ((!this.clearable || this.disabled || this.readonly || !this.filled) && this.type === "search" ? (h("stzh-icon", { class: "stzh-input__button-right", name: "search" })) : this.type === "password" ? (h("stzh-button", { class: "stzh-input__button-right", icon: this.showPassword ? "view-hidden" : "view", size: this.size, iconOnly: true, onClick: this.onTogglePasswordVisibilityClick, disabled: this.disabled || this.readonly, a11yLabel: this.type === "password"
273
+ : this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: '58c5653a9a53c6f617833a3fae920cdebaf1f988', classPrefix: "stzh-input", id: `${this.inputId}-description-long`, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false })))), h("div", { key: '910fb2dfae4791492c3085dbfd4e5de012c7a063', class: "stzh-input__field-wrapper" }, this.multiline ? this.renderTextarea() : this.renderInput(), this.clearable || this.type === "search" || this.type === "password" ? ((!this.clearable || this.disabled || this.readonly || !this.filled) && this.type === "search" ? (h("stzh-icon", { class: "stzh-input__button-right", name: "search" })) : this.type === "password" ? (h("stzh-button", { class: "stzh-input__button-right", icon: this.showPassword ? "view-hidden" : "view", size: this.size, iconOnly: true, onClick: this.onTogglePasswordVisibilityClick, disabled: this.disabled || this.readonly, a11yLabel: this.type === "password"
279
274
  ? this.showPassword
280
275
  ? this.localization.$globals.passwordToggleButtonHideLabel
281
276
  : this.localization.$globals.passwordToggleButtonShowLabel
282
- : undefined })) : this.filled ? (h("stzh-button", { class: "stzh-input__button-right", icon: "close", size: this.size, iconOnly: true, onClick: this.onClearClick, a11yLabel: this.localization.$globals.clearButtonLabel, "aria-controls": this.inputId, a11yTabindex: "-1", "aria-hidden": this.clearable ? "true" : undefined })) : (h("slot", { name: "button-right" }))) : (h("slot", { name: "button-right" }))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '1d377f724be2b431c8177fd66bb2a2b43b7d425d', classPrefix: "stzh-input", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
277
+ : undefined })) : this.filled ? (h("stzh-button", { class: "stzh-input__button-right", icon: "close", size: this.size, iconOnly: true, onClick: this.onClearClick, a11yLabel: this.localization.$globals.clearButtonLabel, "aria-controls": this.inputId, a11yTabindex: "-1", "aria-hidden": this.clearable ? "true" : undefined })) : (h("slot", { name: "button-right" }))) : (h("slot", { name: "button-right" }))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '0150eaf57c9e266cc8234c76a21f98e4904e95b3', classPrefix: "stzh-input", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
283
278
  }
284
279
  get element() { return this; }
285
280
  static get watchers() { return {
@@ -369,6 +364,6 @@ function defineCustomElement() {
369
364
  }
370
365
 
371
366
  export { StzhInput as S, defineCustomElement as d };
372
- //# sourceMappingURL=p-8vUD5Pvs.js.map
367
+ //# sourceMappingURL=p-B44NYxqN.js.map
373
368
 
374
- //# sourceMappingURL=p-8vUD5Pvs.js.map
369
+ //# sourceMappingURL=p-B44NYxqN.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-B44NYxqN.js","mappings":";;;;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA;AACA,w2gBAAw2gB,CAAC;;ACIz2gB,IAAI,YAAY,GAAG,CAAC;MAeP,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;;AAUU,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAMT,QAAA,IAAI,CAAA,IAAA,GAC3B,MAAM;;AAGA,QAAA,IAAI,CAAA,IAAA,GAAW,CAAC;;AASC,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAG1B,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;;AAY7B,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAY,CAAA,YAAA,GAAW,EAAE;;AAkBzB,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AAQlD;;;AAGG;AACK,QAAA,IAAY,CAAA,YAAA,GAAW,IAAI;;AAG3B,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAG/B,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAe,CAAA,eAAA,GAAY,KAAK;;AAGhC,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAGX,QA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,IAAI,CAAC,WAAW,EAC7B,mBAAmB,EAAE,KAAK,EAAA,CAC1B,CACH,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-input/stzh-input.scss?tag=stzh-input&encapsulation=scoped","src/components/stzh-input/stzh-input.tsx"],"sourcesContent":["/**\n * @prop --text-align: Text align of field\n * @prop --input-width: Width of of field\n * @prop --padding-top: Padding top of field\n * @prop --padding-bottom: Padding bottom of field\n * @prop --padding-left: Padding left of field\n * @prop --padding-right: Padding right of field\n *\n * @prop --stzh-form-input-height: **Global**: Height of fields & buttons\n * @prop --stzh-form-input-small-height: **Global**: Height of fields & buttons when small variant is used\n * @prop --stzh-form-input-tiny-height: **Global**: Height of fields & buttons when tiny variant is used\n */\n\n:host {\n --text-align: left;\n --color: var(--stzh-input-color, #{$formColor});\n --border-color: #{$formBorderColor};\n --border-radius: #{$formInputBorderRadius};\n --background-color: #{$formBackgroundColor};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n --height: #{$formInputHeight};\n --input-width: 100%;\n --label-color: var(--stzh-input-label-color, #{$formLabelColor});\n --placeholder-color: #{$formInputPlaceholderColor};\n --button-right-color: #{$colorGrey80};\n\n --hover-color: var(--stzh-input-hover-color, #{$formHoverColor});\n --hover-border-color: var(\n --stzh-input-hover-border-color,\n #{$formHoverBorderColor}\n );\n --hover-background-color: #{$formHoverBackgroundColor};\n --hover-button-right-color: #{$colorPrimary70};\n\n --focus-color: #{$formFocusColor};\n --focus-border-color: #{$formFocusBorderColor};\n --focus-background-color: #{$formFocusBackgroundColor};\n --focus-button-right-color: #{$colorPrimary70};\n\n --text-selection-background-color: #{$colorSecondary30};\n\n width: 100%;\n\n &[type=\"hidden\"] {\n position: absolute;\n top: -9999px;\n left: -9999px;\n visibility: hidden;\n }\n\n &[size=\"small\"] {\n --height: #{$formInputHeightSmall};\n }\n\n /* Filled */\n\n &[is-filled]:not([is-filled=\"false\"]) {\n --button-right-color: #{$colorPrimary70};\n --hover-button-right-color: #{$colorPrimary70};\n --focus-button-right-color: #{$formFocusColor};\n }\n\n /* Invalid */\n\n &[is-invalid] {\n --color: #{$colorError60};\n --border-color: #{$colorError60};\n --background-color: #{$colorWhite};\n --label-color: #{$colorError60};\n --placeholder-color: #{$colorError60};\n --button-right-color: #{$colorError60};\n\n --hover-color: #{$colorError60};\n --hover-border-color: #{$colorError60};\n --hover-background-color: #{$colorWhite};\n --hover-button-right-color: #{$colorError60};\n\n --focus-color: #{$colorError60};\n --focus-border-color: #{$colorError60};\n --focus-background-color: #{$colorWhite};\n --focus-button-right-color: #{$colorError60};\n }\n\n &[readonly]:not([readonly=\"false\"]),\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$formDisabledColor};\n --border-color: #{$formDisabledBorderColor};\n --background-color: #{$formDisabledBackgroundColor};\n --label-color: #{$formDisabledColor};\n --placeholder-color: #{$formDisabledColor};\n --description-color: #{$formDisabledColor};\n --button-right-color: #{$colorGrey70};\n\n --hover-color: #{$formDisabledColor};\n --hover-border-color: #{$formDisabledBorderColor};\n --hover-background-color: #{$formDisabledBackgroundColor};\n --hover-button-right-color: #{$colorGrey70};\n\n --focus-color: #{$formDisabledColor};\n --focus-border-color: #{$formDisabledBorderColor};\n --focus-background-color: #{$formDisabledBackgroundColor};\n --focus-button-right-color: #{$colorGrey70};\n }\n\n /* Internal (Hover / Focus) */\n\n &:is(:has(.stzh-input__input:hover)) {\n --button-right-color: var(--hover-button-right-color);\n }\n\n &:is(:has(.stzh-input__input:focus)) {\n --button-right-color: var(--focus-button-right-color);\n }\n}\n\n:host ::slotted([slot=\"button-right\"]),\n.stzh-input__button-right {\n position: absolute;\n top: 0;\n right: 0;\n}\n\n:host ::slotted(stzh-popover[slot=\"button-right\"]),\n:host ::slotted([slot=\"button-right\"]) stzh-popover {\n display: block;\n}\n\n:host ::slotted(stzh-button[slot=\"button-right\"]),\n:host\n ::slotted(stzh-button[slot=\"button-right\"][disabled]:not([disabled=\"false\"])),\n:host\n ::slotted(stzh-popover[slot=\"button-right\"])\n .stzh-popover__trigger\n stzh-button,\n:host\n ::slotted(stzh-popover[slot=\"button-right\"])\n .stzh-popover__trigger\n stzh-button[disabled]:not([disabled=\"false\"]),\n:host\n ::slotted(stzh-tooltip[slot=\"button-right\"])\n .stzh-tooltip__trigger\n stzh-button,\n:host\n ::slotted(stzh-tooltip[slot=\"button-right\"])\n .stzh-tooltip__trigger\n stzh-button[disabled]:not([disabled=\"false\"]),\n.stzh-input__button-right,\n.stzh-input__button-right[disabled]:not([disabled=\"false\"]) {\n --x: 0; // Strangely, at least one statement is necessary, so that the media query below is also written\n\n @media (forced-colors: none) {\n --color: var(--button-right-color);\n --border-color: transparent;\n --background-color: transparent;\n\n --hover-color: var(--button-right-color);\n --hover-border-color: transparent;\n --hover-background-color: transparent;\n }\n}\n\n// :host ::slotted(stzh-button[slot=\"button-right\"][disabled]:not([disabled=\"false\"])),\n// :host ::slotted([slot=\"button-right\"]) stzh-button[disabled]:not([disabled=\"false\"]),\n// .stzh-input__button-right[disabled]:not([disabled=\"false\"]) {\n// --hover-color: #{$colorGrey80};\n// }\n\n:host\n ::slotted(\n stzh-button[slot=\"button-right\"][size=\"default\"][icon-only]:not(\n [icon-only=\"false\"]\n )\n ),\n:host\n ::slotted(stzh-popover[slot=\"button-right\"])\n .stzh-popover__trigger\n stzh-button[icon-only][size=\"default\"]:not([icon-only=\"false\"]),\n:host\n ::slotted(stzh-tooltip[slot=\"button-right\"])\n .stzh-tooltip__trigger\n stzh-button[icon-only][size=\"default\"]:not([icon-only=\"false\"]),\n.stzh-input__button-right[size=\"default\"][icon-only]:not([icon-only=\"false\"]) {\n --icon-size: #{iconSize(\"medium\")};\n}\n\n:host([clearable]:not([clearable=\"false\"])[is-filled]:not([is-filled=\"false\"]))\n .stzh-input__button-right {\n opacity: 0;\n visibility: hidden;\n pointer-events: none;\n}\n\n:host([clearable]:not([clearable=\"false\"])[is-filled]:not([is-filled=\"false\"]))\n .stzh-input__field-wrapper:hover\n .stzh-input__button-right,\n:host([clearable]:not([clearable=\"false\"])[is-filled]:not([is-filled=\"false\"]))\n .stzh-input__input:focus\n + .stzh-input__button-right {\n opacity: 1;\n visibility: visible;\n pointer-events: auto;\n}\n\n.stzh-input {\n @include input-description;\n\n ::selection {\n background: var(--text-selection-background-color);\n }\n\n &__field-wrapper {\n position: relative;\n display: flex;\n width: var(--input-width);\n }\n\n &__input {\n @include font;\n @include fontSize(\"milli\");\n border: 2px solid var(--border-color);\n transition-property: color, border-color, background-color;\n transition-duration: $baseTransitionAnimationSpeed;\n border-radius: var(--border-radius);\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 margin: 0;\n width: 100%;\n color: var(--color);\n background-color: var(--background-color);\n appearance: none;\n text-align: var(--text-align);\n\n @include placeholder {\n color: var(--placeholder-color);\n }\n\n &:hover {\n color: var(--hover-color);\n border-color: var(--hover-border-color);\n background-color: var(--hover-background-color);\n }\n\n &:focus {\n color: var(--focus-color);\n border-color: var(--focus-border-color);\n background-color: var(--focus-background-color);\n }\n\n // prevent ugly autofill background color in chrome\n &:-webkit-autofill {\n background-clip: text;\n }\n\n // show ellipsis for placeholders that are too long\n &:placeholder-shown {\n text-overflow: ellipsis;\n }\n\n // hide search clear icon on chrome\n &[type=\"search\"]::-webkit-search-decoration,\n &[type=\"search\"]::-webkit-search-cancel-button,\n &[type=\"search\"]::-webkit-search-results-button,\n &[type=\"search\"]::-webkit-search-results-decoration {\n -webkit-appearance: none;\n }\n\n /* Normal inputs */\n\n &--input {\n height: var(--height);\n }\n\n /* Textarea */\n &--textarea {\n min-height: var(--height);\n resize: vertical;\n }\n }\n\n &__label-wrapper {\n display: flex;\n align-items: center;\n gap: space(\"xsmall\");\n margin-bottom: space(\"xxxsmall\");\n width: 100%;\n min-width: 0;\n min-height: auto;\n }\n\n &__label {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n @include truncate;\n display: block;\n color: var(--label-color);\n min-width: 0;\n flex: 0 1 auto;\n max-width: 100%;\n margin-bottom: 0;\n // position: absolute;\n // top: calc(#{$formInputHeight} / 2);\n // // padding-left (medium) + border-left\n // left: calc(#{space('medium')} + 1px);\n // max-width: calc(100% - #{space('medium')} * 2);\n // transform: translateY(-50%);\n // transition: all $baseTransitionAnimationSpeed;\n // pointer-events: none;\n\n &.no-label-truncate {\n @include resetTruncate;\n white-space: normal;\n overflow: visible;\n text-overflow: clip;\n }\n\n &:empty {\n display: none;\n }\n }\n\n // &::before {\n // content: '';\n // display: none;\n // background: $colorWhite;\n // position: absolute;\n // width: 100%;\n // z-index: -1;\n // left: 0;\n // top: 50%;\n // // prevent white line not fully overlaping border of input\n // margin-top: -0.5px;\n // height: 2px;\n // }\n &__label:not(.no-label-truncate) {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n &__label.no-label-truncate {\n max-width: none;\n white-space: normal;\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Clearable / Search input / Password */\n &__label-wrapper > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label-wrapper &__error,\n &__label-wrapper &__description-text {\n display: none;\n }\n\n &__label-wrapper &__description {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label-wrapper &__description-long {\n display: inline-flex;\n align-items: flex-start;\n }\n\n &__label-wrapper &__description-long-popover,\n &__label-wrapper &__description-long-button {\n height: 20px;\n line-height: 1;\n }\n\n &__label-wrapper &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n }\n\n &__label-wrapper stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n\n &__description-wrapper {\n flex: 0 0 auto;\n }\n\n &--type-password#{&}--is-not-filled &__button-right,\n &--type-password#{&}--is-readonly &__button-right,\n &--type-password#{&}--is-disabled &__button-right,\n &--type-search#{&}--is-not-clearable &__button-right,\n &--type-search#{&}--is-not-filled &__button-right,\n &--type-search#{&}--is-readonly &__button-right,\n &--type-search#{&}--is-disabled &__button-right {\n pointer-events: none;\n }\n\n &--type-search &__button-right {\n width: var(--height);\n height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n\n @media (forced-colors: active) {\n transition: none;\n color: ButtonBorder;\n }\n }\n\n &--type-search:hover &__button-right {\n @media (forced-colors: active) {\n color: Highlight;\n }\n }\n\n /* Styles for floating label */\n\n // &:not(#{&}--is-readonly):not(#{&}--is-disabled) &__input:focus + &__label,\n // &--has-fixed-label &__label,\n // &--is-filled &__label,\n // &--is-readonly &__label,\n // &--is-disabled &__label,\n // &--is-invalid &__label {\n // display: block;\n // top: 0;\n // // padding-left (input field medium) - padding-left\n // left: calc(#{space('medium')} - #{space('xxsmall')});\n // height: 20px; // dividable by two (so before element is always positioned correctly)\n // line-height: 20px;\n // padding: 0 space('xxsmall');\n // max-width: calc(100% - #{space('small')} * 2);\n // pointer-events: all;\n\n // &:not(:empty)::before {\n // display: block;\n // }\n // }\n\n /* Button Right Variant */\n\n &--has-button-right &__input {\n // distance to icon + icon button width\n padding-right: var(--height);\n }\n\n // &--has-button-right &__label {\n // // 100% - ((padding left of normal variant + border 1px) * 2) - icon button width\n // max-width: calc(100% - (#{space('medium')} + 1px) * 2 - #{$formInputHeight});\n // }\n\n // &--has-button-right#{&}:not(#{&}--is-readonly):not(#{&}--is-disabled) &__input:focus + &__label,\n // &--has-button-right#{&}--has-fixed-label &__label,\n // &--has-button-right#{&}--is-filled &__label,\n // &--has-button-right#{&}--is-readonly &__label,\n // &--has-button-right#{&}--is-disabled &__label,\n // &--has-button-right#{&}--is-invalid &__label {\n // // 100% - left distance to text + 1px border + padding label right side - icon button width\n // max-width: calc(100% - #{space('medium')} - #{space('xxsmall')} - 1px + #{space('xxsmall')} - #{$formInputHeight});\n // }\n\n /* Size variants */\n\n &--size-small &__input {\n @include fontSize(\"micro\");\n }\n\n // &--size-small &__label {\n // top: calc(#{$formInputHeightSmall} / 2);\n // }\n\n // &--size-small#{&}:not(#{&}--is-readonly):not(#{&}--is-disabled) &__input:focus + &__label,\n // &--size-small#{&}--has-fixed-label &__label,\n // &--size-small#{&}--is-filled &__label,\n // &--size-small#{&}--is-readonly &__label,\n // &--size-small#{&}--is-disabled &__label,\n // &--size-small#{&}--is-invalid &__label {\n // top: 0;\n // }\n\n // &--size-small#{&}--has-button-right &__label {\n // max-width: calc(100% - (#{space('medium')} + 1px) * 2 - #{$formInputHeightSmall});\n // }\n\n // &--size-small#{&}--has-button-right#{&}:not(#{&}--is-readonly):not(#{&}--is-disabled) &__input:focus + &__label,\n // &--size-small#{&}--has-button-right#{&}--has-fixed-label &__label,\n // &--size-small#{&}--has-button-right#{&}--is-filled &__label,\n // &--size-small#{&}--has-button-right#{&}--is-readonly &__label,\n // &--size-small#{&}--has-button-right#{&}--is-disabled &__label,\n // &--size-small#{&}--has-button-right#{&}--is-invalid &__label {\n // max-width: calc(100% - #{space('medium')} - #{space('xxsmall')} - 1px + #{space('xsmall')} - #{$formInputHeightSmall});\n // }\n\n /* Spin button */\n\n &:not(#{&}--has-spin) &__input {\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n appearance: none;\n margin: 0;\n }\n\n &[type=\"number\"] {\n appearance: textfield;\n }\n }\n\n /* Hidden label */\n\n &--has-label-hidden &__label {\n @include visuallyhidden;\n }\n\n /* Readonly / Disabled */\n\n &--is-readonly &__input,\n &--is-disabled &__input,\n &--is-readonly &__label,\n &--is-disabled &__label {\n cursor: not-allowed;\n }\n // &--is-readonly &__label,\n // &--is-disabled &__label {\n // &::before {\n // background: transparent;\n // }\n // }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhInputBlurEvent, StzhInputChangedEvent, StzhInputChangeEvent, StzhInputFocusEvent } from \"../../index\";\nimport { hasDefaultSlotContent, hasSlot } from \"../../utils/utils\";\n\nimport { StzhInputLocalizedText } from \"./stzh-input.localization\";\nimport { StzhInputDescription } from \"./stzh-input-description\";\n\nlet inputCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n * @slot button-right - Slot for right button\n */\n@Component({\n tag: \"stzh-input\",\n styleUrl: \"stzh-input.scss\",\n scoped: true,\n})\nexport class StzhInput {\n /** Translation strings */\n @Prop() localization: StzhInputLocalizedText;\n\n /** Whether the input is a textarea or an input field */\n @Prop() multiline: boolean = false;\n\n /** Rows attribute if input element is textarea */\n @Prop() rows: number;\n\n /** If input field, this defines the type (if `search`, a search icon will be displayed) */\n @Prop({ reflect: true }) type: \"text\" | \"search\" | \"password\" | \"email\" | \"url\" | \"tel\" | \"number\" | \"hidden\" =\n \"text\";\n\n /** If input type is number, this will be the step size */\n @Prop() step: number = 1;\n\n /** If input type is number, this will be the minimum step number */\n @Prop() min: number;\n\n /** If input type is number, this will be the maximum step number */\n @Prop() max: number;\n\n /** If input type is number and this property is true, this will show the spin buttons on hover/focus */\n @Prop({ reflect: true }) showSpin: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether clearable button is showing when input field has value and is enabled (button-right slot not usable anymore when true) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Minimum of characters */\n @Prop() minlength: number;\n\n /** Maxlength of characters */\n @Prop() maxlength: number;\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string;\n\n /** The value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /**\n * Specify inputmode.\n * See [MDN](https://developer.mozilla.org/de/docs/Web/HTML/Global_attributes/inputmode) for possible values\n */\n @Prop() inputmode: string;\n\n /**\n * Specify what the user agent has to provide as automated assistance.\n * See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for possible values\n */\n @Prop() autocomplete: string = \"on\";\n\n /** Whether autocomplete should be turned off */\n @Prop() noAutocomplete: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label should be truncated or not */\n @Prop() noLabelTruncate: boolean = false;\n\n /** Whether label should be visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Whether the input is filled or not */\n @State() filled: boolean;\n\n /** Whether to show the password or not */\n @State() showPassword: boolean;\n\n /**\n * Whether the component has meaningful default-slot content.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasDefaultSlot: boolean = false;\n\n /**\n * Indicates whether default-slot content detection has run at least once.\n * Used to avoid rendering state-dependent markup before the slot content\n * has been evaluated.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhInputElement;\n\n /** Input change event */\n @Event() stzhChange: EventEmitter<StzhInputChangeEvent>;\n\n /** Input changed event */\n @Event() stzhChanged: EventEmitter<StzhInputChangedEvent>;\n\n /** Input focus event */\n @Event() stzhFocus: EventEmitter<StzhInputFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhInputBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n this.filled = newValue !== \"\";\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"type\")\n typeWatcher(newValue: string) {\n const types = [\"text\", \"search\", \"password\", \"email\", \"url\", \"tel\", \"number\", \"hidden\"];\n\n if (!this.multiline && !types.includes(newValue)) {\n throw new Error(`Type ${newValue} not supported`);\n }\n }\n\n private input: HTMLInputElement | HTMLTextAreaElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n private onClearClick = async (event: MouseEvent) => {\n this.value = \"\";\n this.input.focus();\n\n await this.waitForNextRender();\n\n this.stzhChange.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n\n this.stzhChanged.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onTogglePasswordVisibilityClick = async () => {\n this.showPassword = !this.showPassword;\n };\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n // we also update value, since render doesn't get executed sometimes\n this.input.value = this.defaultValue;\n\n // TODO: check if we need own reset event or trigger the change event\n // (custom browser behaviour doesn't send change event, when reset is executed)\n // this.stzhChange.emit({\n // component: \"stzh-input\",\n // originalEvent: event,\n // value: this.value\n // });\n };\n\n private onInput = (event: InputEvent) => {\n this.value = this.input.value;\n\n this.stzhChange.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onChange = (event: InputEvent) => {\n this.value = this.input.value;\n\n this.stzhChanged.emit({\n component: \"stzh-input\",\n originalEvent: event,\n value: this.value,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-input\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n // fixes weird bug where autofill selection doesn't get removed\n this.input.value = this.input.value;\n\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-input\",\n originalEvent: event,\n });\n };\n\n private renderTextarea(): HTMLTextAreaElement {\n return (\n <textarea\n class=\"stzh-input__input stzh-input__input--textarea\"\n ref={el => (this.input = el as HTMLTextAreaElement)}\n id={this.inputId}\n name={this.name}\n value={this.value}\n rows={this.rows}\n disabled={this.disabled}\n readonly={this.readonly}\n minlength={this.minlength}\n maxlength={this.maxlength}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n onChange={this.onChange}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n ></textarea>\n );\n }\n\n private renderInput(): HTMLInputElement {\n return (\n <input\n class=\"stzh-input__input stzh-input__input--input\"\n ref={el => (this.input = el as HTMLInputElement)}\n id={this.inputId}\n type={this.showPassword ? \"text\" : this.type}\n name={this.name}\n value={this.value}\n defaultValue={this.defaultValue}\n min={this.min}\n max={this.max}\n step={this.step}\n inputmode={this.inputmode}\n disabled={this.disabled}\n readonly={this.readonly}\n minlength={this.minlength}\n maxlength={this.maxlength}\n autocomplete={this.noAutocomplete ? \"off\" : this.autocomplete}\n aria-autocomplete={this.noAutocomplete ? \"none\" : undefined}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n onChange={this.onChange}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n );\n }\n\n /**\n * Re-evaluates default-slot content and updates the related render state.\n * Becomes obsolete with implementation of PDESI-1908.\n */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = hasDefaultSlotContent(this.element, [\"stzh-input\"]);\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n }\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-input-${inputCounter++}`;\n this.typeWatcher(this.type);\n this.valueWatcher(this.value);\n this.errorWatcher(this.error);\n\n this.defaultValue = this.defaultValue || this.value;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"input\");\n }\n }\n\n render() {\n const buttonRightSlotUsed = hasSlot(this.element, \"button-right\");\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-input\": true,\n \"stzh-input--has-button-right\":\n buttonRightSlotUsed ||\n this.type === \"search\" ||\n (this.clearable && this.filled && !this.readonly && !this.disabled),\n \"stzh-input--has-description\": descriptionUsed,\n \"stzh-input--has-description-long\": descriptionLongUsed,\n \"stzh-input--has-error\": errorUsed,\n \"stzh-input--has-spin\": this.showSpin,\n \"stzh-input--is-invalid\": this.invalid || errorUsed,\n \"stzh-input--is-disabled\": this.disabled,\n \"stzh-input--is-readonly\": this.readonly,\n \"stzh-input--is-required\": this.required,\n \"stzh-input--is-filled\": this.filled,\n \"stzh-input--is-not-filled\": !this.filled,\n \"stzh-input--is-clearable\": this.clearable,\n \"stzh-input--is-not-clearable\": !this.clearable,\n \"stzh-input--has-label-hidden\": this.labelHidden,\n [`stzh-input--size-${this.size}`]: !!this.size,\n [`stzh-input--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host\n is-invalid={this.invalid || errorUsed}\n tabindex={this.disabled ? null : \"-1\"}\n onFocus={this.onRootFocus}\n is-filled={this.filled}\n >\n <div class={classes}>\n {labelWrapperUsed && (\n <div class=\"stzh-input__label-wrapper\">\n <label\n class={{\n \"stzh-input__label\": true,\n \"no-label-truncate\": this.noLabelTruncate,\n }}\n htmlFor={this.inputId}\n >\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-input__marker\">\n <span class=\"stzh-input__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-input__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-input\"\n id={`${this.inputId}-description-long`}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n )}\n <div class=\"stzh-input__field-wrapper\">\n {this.multiline ? this.renderTextarea() : this.renderInput()}\n {this.clearable || this.type === \"search\" || this.type === \"password\" ? (\n (!this.clearable || this.disabled || this.readonly || !this.filled) && this.type === \"search\" ? (\n <stzh-icon class=\"stzh-input__button-right\" name=\"search\"></stzh-icon>\n ) : this.type === \"password\" ? (\n <stzh-button\n class=\"stzh-input__button-right\"\n icon={this.showPassword ? \"view-hidden\" : \"view\"}\n size={this.size}\n iconOnly={true}\n onClick={this.onTogglePasswordVisibilityClick}\n disabled={this.disabled || this.readonly}\n a11yLabel={\n this.type === \"password\"\n ? this.showPassword\n ? this.localization.$globals.passwordToggleButtonHideLabel\n : this.localization.$globals.passwordToggleButtonShowLabel\n : undefined\n }\n ></stzh-button>\n ) : this.filled ? (\n <stzh-button\n class=\"stzh-input__button-right\"\n icon=\"close\"\n size={this.size}\n iconOnly={true}\n onClick={this.onClearClick}\n a11yLabel={this.localization.$globals.clearButtonLabel}\n aria-controls={this.inputId}\n a11yTabindex=\"-1\"\n aria-hidden={this.clearable ? \"true\" : undefined}\n ></stzh-button>\n ) : (\n <slot name=\"button-right\"></slot>\n )\n ) : (\n <slot name=\"button-right\"></slot>\n )}\n </div>\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-input\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\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-DajXzNIS.js';
2
- import { a as addWordBreakToLinks } from './p-CN5apKPb.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';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-BBg6OWDc.js';
2
+ import { b as addWordBreakToLinks } from './p-DBHUqFOB.js';
3
+ import { d as defineCustomElement$6 } from './p-DEfzwFSm.js';
4
+ import { d as defineCustomElement$5 } from './p-BK6Q89R0.js';
5
+ import { d as defineCustomElement$4 } from './p-CRo_30JG.js';
6
+ import { d as defineCustomElement$3 } from './p-dgzFBTky.js';
7
+ import { d as defineCustomElement$2 } from './p-4Vt8Vqot.js';
8
+ import { d as defineCustomElement$1 } from './p-DT8WI_DQ.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-BcfJQ2iG.js.map
286
+ //# sourceMappingURL=p-BB0rFoJE.js.map
287
287
 
288
- //# sourceMappingURL=p-BcfJQ2iG.js.map
288
+ //# sourceMappingURL=p-BB0rFoJE.js.map
@@ -1 +1 @@
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;;;;;;;;AA4BU,QAAA,IAAY,CAAA,YAAA,GAAqB,OAAO;;AAYxC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAa,CAA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,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
+ {"file":"p-BB0rFoJE.js","mappings":";;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACnC;AACA;AACA,kuYAAkuY,CAAC;;ACanuY,IAAI,mB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,IACf,CAAc,CAAA,cAAA,EAAA,EAAA,OAAO,EAAE,IAAI,CAAC,WAAW,IAAG,YAAY,EAAE,CAAgB,KAExE,YAAY,EAAE,CACf,CAAC,CACO,EAEb,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,5 +1,5 @@
1
1
  const name = "@oiz/stzh-components";
2
- const version = "4.12.1-beta1";
2
+ const version = "4.12.2";
3
3
 
4
4
  const packageName = name.substring(name.indexOf('/')+1);
5
5
  // let focused = false;
@@ -2374,6 +2374,6 @@ function transformTag(tag) {
2374
2374
  }
2375
2375
 
2376
2376
  export { Fragment as F, H, getAssetPath as a, setNonce as b, setPlatformOptions as c, createEvent as d, Host as e, forceUpdate as f, globalScripts as g, h, readTask as i, proxyCustomElement as p, render as r, setAssetPath as s, transformTag as t, writeTask as w };
2377
- //# sourceMappingURL=p-DajXzNIS.js.map
2377
+ //# sourceMappingURL=p-BBg6OWDc.js.map
2378
2378
 
2379
- //# sourceMappingURL=p-DajXzNIS.js.map
2379
+ //# sourceMappingURL=p-BBg6OWDc.js.map