@oiz/stzh-components 4.9.0-beta1 → 4.9.0-beta2

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 (853) hide show
  1. package/dist/cjs/{index-B1AnnVyD.js → index-ZDnQuJKJ.js} +3 -3
  2. package/dist/cjs/{index-B1AnnVyD.js.map → index-ZDnQuJKJ.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-bathstatus-item.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-card.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-chipselect.cjs.entry.js +2 -2
  32. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-components.cjs.js +1 -1
  35. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  49. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  68. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  69. package/dist/cjs/{stzh-input-description-DUIHfkS1.js → stzh-input-description-CGaPpBjl.js} +3 -3
  70. package/dist/cjs/{stzh-input-description-DUIHfkS1.js.map → stzh-input-description-CGaPpBjl.js.map} +1 -1
  71. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-loader_2.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  104. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  131. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  137. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  138. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  139. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  140. package/dist/components/index.js +2 -2
  141. package/dist/components/{p-CC4Dh4-o.js → p-3U-NdhlS.js} +3 -3
  142. package/dist/components/{p-CC4Dh4-o.js.map → p-3U-NdhlS.js.map} +1 -1
  143. package/dist/components/{p-CjCLL-I7.js → p-7HhYf4z_.js} +5 -5
  144. package/dist/components/{p-CjCLL-I7.js.map → p-7HhYf4z_.js.map} +1 -1
  145. package/dist/components/{p-BWv9b23X.js → p-7uUMNca0.js} +8 -8
  146. package/dist/components/{p-BWv9b23X.js.map → p-7uUMNca0.js.map} +1 -1
  147. package/dist/components/{p-ByG7pKq-.js → p-B8Wx8Azy.js} +9 -9
  148. package/dist/components/{p-ByG7pKq-.js.map → p-B8Wx8Azy.js.map} +1 -1
  149. package/dist/components/{p-DpMBxcBL.js → p-B9BPpRCW.js} +3 -3
  150. package/dist/components/{p-DpMBxcBL.js.map → p-B9BPpRCW.js.map} +1 -1
  151. package/dist/components/{p-DpaugPDn.js → p-BDEju9Yt.js} +6 -6
  152. package/dist/components/{p-DpaugPDn.js.map → p-BDEju9Yt.js.map} +1 -1
  153. package/dist/components/{p-DxU6RgbQ.js → p-BEpu-eX2.js} +3 -3
  154. package/dist/components/{p-DxU6RgbQ.js.map → p-BEpu-eX2.js.map} +1 -1
  155. package/dist/components/{p-BkSUMWyq.js → p-BMKAa5cH.js} +3 -3
  156. package/dist/components/{p-BkSUMWyq.js.map → p-BMKAa5cH.js.map} +1 -1
  157. package/dist/components/{p-BV3gXOYs.js → p-BN-54ren.js} +3 -3
  158. package/dist/components/{p-BV3gXOYs.js.map → p-BN-54ren.js.map} +1 -1
  159. package/dist/components/{p-B_Cs1tAp.js → p-BQMsQk8o.js} +4 -4
  160. package/dist/components/{p-B_Cs1tAp.js.map → p-BQMsQk8o.js.map} +1 -1
  161. package/dist/components/{p-BYoc43vB.js → p-BQziPN_6.js} +4 -4
  162. package/dist/components/{p-BYoc43vB.js.map → p-BQziPN_6.js.map} +1 -1
  163. package/dist/components/{p-NjuIpMSt.js → p-BRUI-vLQ.js} +3 -3
  164. package/dist/components/{p-NjuIpMSt.js.map → p-BRUI-vLQ.js.map} +1 -1
  165. package/dist/components/{p-CRHNeJCO.js → p-BRbEuDtS.js} +5 -5
  166. package/dist/components/{p-CRHNeJCO.js.map → p-BRbEuDtS.js.map} +1 -1
  167. package/dist/components/{p-CHbUaAZJ.js → p-BTwmO0VT.js} +7 -7
  168. package/dist/components/{p-CHbUaAZJ.js.map → p-BTwmO0VT.js.map} +1 -1
  169. package/dist/components/{p-Cz5bXTUE.js → p-BU4OH8Cm.js} +3 -3
  170. package/dist/components/{p-Cz5bXTUE.js.map → p-BU4OH8Cm.js.map} +1 -1
  171. package/dist/components/{p-MTG7y9yt.js → p-BaT57zfB.js} +3 -3
  172. package/dist/components/{p-MTG7y9yt.js.map → p-BaT57zfB.js.map} +1 -1
  173. package/dist/components/{p-CvYSwyKT.js → p-BbKUQwKe.js} +10 -10
  174. package/dist/components/{p-CvYSwyKT.js.map → p-BbKUQwKe.js.map} +1 -1
  175. package/dist/components/{p-CT0yhj7Q.js → p-BiHSbtfS.js} +6 -6
  176. package/dist/components/{p-CT0yhj7Q.js.map → p-BiHSbtfS.js.map} +1 -1
  177. package/dist/components/{p-odzDMRFV.js → p-BmUD2Rtq.js} +7 -7
  178. package/dist/components/{p-odzDMRFV.js.map → p-BmUD2Rtq.js.map} +1 -1
  179. package/dist/components/{p-CSI9qrCF.js → p-BoY1qD-1.js} +4 -4
  180. package/dist/components/{p-CSI9qrCF.js.map → p-BoY1qD-1.js.map} +1 -1
  181. package/dist/components/{p-h1DW_P4d.js → p-Bt0qFgc0.js} +3 -3
  182. package/dist/components/{p-h1DW_P4d.js.map → p-Bt0qFgc0.js.map} +1 -1
  183. package/dist/components/{p-By320y5w.js → p-BtU8igAM.js} +5 -5
  184. package/dist/components/{p-By320y5w.js.map → p-BtU8igAM.js.map} +1 -1
  185. package/dist/components/{p-BTdpB4Zw.js → p-Bu43XylS.js} +11 -11
  186. package/dist/components/{p-BTdpB4Zw.js.map → p-Bu43XylS.js.map} +1 -1
  187. package/dist/components/{p-BmcTBZ4w.js → p-C-L1Esh9.js} +7 -7
  188. package/dist/components/{p-BmcTBZ4w.js.map → p-C-L1Esh9.js.map} +1 -1
  189. package/dist/components/{p-BpikYN__.js → p-C1ciJM24.js} +4 -4
  190. package/dist/components/{p-BpikYN__.js.map → p-C1ciJM24.js.map} +1 -1
  191. package/dist/components/{p-DP5h4DrO.js → p-C3DzudRE.js} +3 -3
  192. package/dist/components/{p-DP5h4DrO.js.map → p-C3DzudRE.js.map} +1 -1
  193. package/dist/components/{p-B03GEdxi.js → p-C6jXw99A.js} +5 -5
  194. package/dist/components/{p-B03GEdxi.js.map → p-C6jXw99A.js.map} +1 -1
  195. package/dist/components/{p-CLPciip7.js → p-C720-Qcv.js} +6 -6
  196. package/dist/components/{p-CLPciip7.js.map → p-C720-Qcv.js.map} +1 -1
  197. package/dist/components/{p-Dl68nHQ4.js → p-CBzSNCOV.js} +8 -8
  198. package/dist/components/{p-Dl68nHQ4.js.map → p-CBzSNCOV.js.map} +1 -1
  199. package/dist/components/{p-BzmOLwGs.js → p-CNMtTiHH.js} +11 -11
  200. package/dist/components/{p-BzmOLwGs.js.map → p-CNMtTiHH.js.map} +1 -1
  201. package/dist/components/{p-HG0ASPyV.js → p-CP2-kI_R.js} +7 -7
  202. package/dist/components/{p-HG0ASPyV.js.map → p-CP2-kI_R.js.map} +1 -1
  203. package/dist/components/{p-D53CUUFG.js → p-CPlP1yak.js} +4 -4
  204. package/dist/components/{p-D53CUUFG.js.map → p-CPlP1yak.js.map} +1 -1
  205. package/dist/components/{p-BTTrqHii.js → p-CQY455PH.js} +3 -3
  206. package/dist/components/{p-BTTrqHii.js.map → p-CQY455PH.js.map} +1 -1
  207. package/dist/components/{p-B0BEoXX-.js → p-CSdJ0c_y.js} +3 -3
  208. package/dist/components/{p-B0BEoXX-.js.map → p-CSdJ0c_y.js.map} +1 -1
  209. package/dist/components/{p-Dq7hTryw.js → p-CVGsVbS2.js} +5 -5
  210. package/dist/components/{p-Dq7hTryw.js.map → p-CVGsVbS2.js.map} +1 -1
  211. package/dist/components/{p-BjFuK5Cg.js → p-CViAWrjM.js} +6 -6
  212. package/dist/components/{p-BjFuK5Cg.js.map → p-CViAWrjM.js.map} +1 -1
  213. package/dist/components/{p-STM9yk6n.js → p-CYfVlAWz.js} +3 -3
  214. package/dist/components/{p-STM9yk6n.js.map → p-CYfVlAWz.js.map} +1 -1
  215. package/dist/components/{p-CINbevfY.js → p-CZ9COAW6.js} +9 -9
  216. package/dist/components/{p-CINbevfY.js.map → p-CZ9COAW6.js.map} +1 -1
  217. package/dist/components/{p-C_3CKklN.js → p-Cg5cOcyj.js} +10 -10
  218. package/dist/components/{p-C_3CKklN.js.map → p-Cg5cOcyj.js.map} +1 -1
  219. package/dist/components/{p-BHivTAEt.js → p-CgEDyVYF.js} +6 -6
  220. package/dist/components/{p-BHivTAEt.js.map → p-CgEDyVYF.js.map} +1 -1
  221. package/dist/components/{p-DMjCwvkK.js → p-CpC8d13f.js} +4 -4
  222. package/dist/components/{p-DMjCwvkK.js.map → p-CpC8d13f.js.map} +1 -1
  223. package/dist/components/{p-DdSOIotl.js → p-CrOCg7cY.js} +3 -3
  224. package/dist/components/{p-DdSOIotl.js.map → p-CrOCg7cY.js.map} +1 -1
  225. package/dist/components/{p-BhUIUprI.js → p-Crh1tumf.js} +3 -3
  226. package/dist/components/{p-BhUIUprI.js.map → p-Crh1tumf.js.map} +1 -1
  227. package/dist/components/{p-Dy6aMLTk.js → p-CyqeVaHe.js} +3 -3
  228. package/dist/components/{p-Dy6aMLTk.js.map → p-CyqeVaHe.js.map} +1 -1
  229. package/dist/components/{p-Db3dTAjX.js → p-Cz-ha88J.js} +3 -3
  230. package/dist/components/{p-Db3dTAjX.js.map → p-Cz-ha88J.js.map} +1 -1
  231. package/dist/components/{p-Ckx_XN2b.js → p-Cz6mFejk.js} +7 -7
  232. package/dist/components/{p-Ckx_XN2b.js.map → p-Cz6mFejk.js.map} +1 -1
  233. package/dist/components/{p-DPl0jRNn.js → p-D3atNlwG.js} +6 -6
  234. package/dist/components/{p-DPl0jRNn.js.map → p-D3atNlwG.js.map} +1 -1
  235. package/dist/components/{p-BoZ-WMaA.js → p-DAQn1MfT.js} +7 -7
  236. package/dist/components/{p-BoZ-WMaA.js.map → p-DAQn1MfT.js.map} +1 -1
  237. package/dist/components/{p-NuLYh9v8.js → p-DAS4ghWk.js} +3 -3
  238. package/dist/components/{p-NuLYh9v8.js.map → p-DAS4ghWk.js.map} +1 -1
  239. package/dist/components/{p-DVfh3n9p.js → p-DCVNNXGS.js} +3 -3
  240. package/dist/components/{p-DVfh3n9p.js.map → p-DCVNNXGS.js.map} +1 -1
  241. package/dist/components/{p-CBiro8cO.js → p-DIv8fnep.js} +11 -11
  242. package/dist/components/{p-CBiro8cO.js.map → p-DIv8fnep.js.map} +1 -1
  243. package/dist/components/{p-CX7La9YT.js → p-DLNSei6L.js} +6 -6
  244. package/dist/components/{p-CX7La9YT.js.map → p-DLNSei6L.js.map} +1 -1
  245. package/dist/components/{p-Dftrh_v1.js → p-DM5rcQ-w.js} +3 -3
  246. package/dist/components/{p-Dftrh_v1.js.map → p-DM5rcQ-w.js.map} +1 -1
  247. package/dist/components/{p-hEo-NNbg.js → p-DTDpjDcx.js} +3 -3
  248. package/dist/components/{p-hEo-NNbg.js.map → p-DTDpjDcx.js.map} +1 -1
  249. package/dist/components/{p-C9KJACfk.js → p-DU--O-Ux.js} +3 -3
  250. package/dist/components/{p-C9KJACfk.js.map → p-DU--O-Ux.js.map} +1 -1
  251. package/dist/components/{p-B9k7_JfE.js → p-Dh7_Sdlv.js} +9 -9
  252. package/dist/components/{p-B9k7_JfE.js.map → p-Dh7_Sdlv.js.map} +1 -1
  253. package/dist/components/{p-BfrG27hV.js → p-Dh_U3nwg.js} +3 -3
  254. package/dist/components/{p-BfrG27hV.js.map → p-Dh_U3nwg.js.map} +1 -1
  255. package/dist/components/{p-Cixernsl.js → p-DnmPakAT.js} +3 -3
  256. package/dist/components/{p-Cixernsl.js.map → p-DnmPakAT.js.map} +1 -1
  257. package/dist/components/{p-iNq1mg21.js → p-Dq2SboPL.js} +3 -3
  258. package/dist/components/{p-iNq1mg21.js.map → p-Dq2SboPL.js.map} +1 -1
  259. package/dist/components/{p-DBjtuv79.js → p-DyTuVM4Q.js} +3 -3
  260. package/dist/components/{p-DBjtuv79.js.map → p-DyTuVM4Q.js.map} +1 -1
  261. package/dist/components/{p-fgVZM2q9.js → p-IMP7pC7p.js} +3 -3
  262. package/dist/components/{p-fgVZM2q9.js.map → p-IMP7pC7p.js.map} +1 -1
  263. package/dist/components/{p-CXHanLHE.js → p-NdWtZ3BI.js} +3 -3
  264. package/dist/components/{p-CXHanLHE.js.map → p-NdWtZ3BI.js.map} +1 -1
  265. package/dist/components/{p-bDDguSJm.js → p-UI7DWEQU.js} +6 -6
  266. package/dist/components/{p-bDDguSJm.js.map → p-UI7DWEQU.js.map} +1 -1
  267. package/dist/components/{p-C2SNvLLA.js → p-UQ9WK7Rh.js} +11 -11
  268. package/dist/components/{p-C2SNvLLA.js.map → p-UQ9WK7Rh.js.map} +1 -1
  269. package/dist/components/{p-CfAUMN2e.js → p-Ut4hhOsi.js} +3 -3
  270. package/dist/components/{p-CfAUMN2e.js.map → p-Ut4hhOsi.js.map} +1 -1
  271. package/dist/components/{p-UIEh92A-.js → p-UxkgJCcT.js} +4 -4
  272. package/dist/components/{p-UIEh92A-.js.map → p-UxkgJCcT.js.map} +1 -1
  273. package/dist/components/{p-Cu372_F2.js → p-ZGKugKIn.js} +7 -7
  274. package/dist/components/{p-Cu372_F2.js.map → p-ZGKugKIn.js.map} +1 -1
  275. package/dist/components/{p-BPN989sW.js → p-bZ2GVa1M.js} +10 -10
  276. package/dist/components/{p-BPN989sW.js.map → p-bZ2GVa1M.js.map} +1 -1
  277. package/dist/components/{p-DYyjPwj_.js → p-iO0Ga3pa.js} +3 -3
  278. package/dist/components/{p-DYyjPwj_.js.map → p-iO0Ga3pa.js.map} +1 -1
  279. package/dist/components/{p-oJvlrN5O.js → p-tNg83_1b.js} +7 -7
  280. package/dist/components/{p-oJvlrN5O.js.map → p-tNg83_1b.js.map} +1 -1
  281. package/dist/components/{p-DjlN9Zgs.js → p-wQt2FhiW.js} +4 -4
  282. package/dist/components/{p-DjlN9Zgs.js.map → p-wQt2FhiW.js.map} +1 -1
  283. package/dist/components/{p-DYP_2rVj.js → p-zyIpkMEg.js} +12 -12
  284. package/dist/components/{p-DYP_2rVj.js.map → p-zyIpkMEg.js.map} +1 -1
  285. package/dist/components/stzh-accordion-item.js +1 -1
  286. package/dist/components/stzh-accordion.js +1 -1
  287. package/dist/components/stzh-actions.js +1 -1
  288. package/dist/components/stzh-actionset.js +1 -1
  289. package/dist/components/stzh-amount.js +9 -9
  290. package/dist/components/stzh-anchornav.js +5 -5
  291. package/dist/components/stzh-app-nav.js +1 -1
  292. package/dist/components/stzh-appointments.js +13 -13
  293. package/dist/components/stzh-archivelist.js +7 -7
  294. package/dist/components/stzh-audio.js +5 -5
  295. package/dist/components/stzh-badge.js +1 -1
  296. package/dist/components/stzh-banner.js +4 -4
  297. package/dist/components/stzh-bathstatus-item.js +1 -1
  298. package/dist/components/stzh-bathstatus-list.js +7 -7
  299. package/dist/components/stzh-breadcrumb.js +1 -1
  300. package/dist/components/stzh-button.js +1 -1
  301. package/dist/components/stzh-buttongroup.js +1 -1
  302. package/dist/components/stzh-calendar.js +1 -1
  303. package/dist/components/stzh-card-navigation.js +2 -2
  304. package/dist/components/stzh-card-searchresult.js +14 -14
  305. package/dist/components/stzh-card-superteaser.js +14 -14
  306. package/dist/components/stzh-card.js +1 -1
  307. package/dist/components/stzh-cardlist.js +1 -1
  308. package/dist/components/stzh-carousel.js +1 -1
  309. package/dist/components/stzh-cell.js +1 -1
  310. package/dist/components/stzh-chart.js +1 -1
  311. package/dist/components/stzh-checkbox.js +1 -1
  312. package/dist/components/stzh-checkboxgroup.js +5 -5
  313. package/dist/components/stzh-chip.js +1 -1
  314. package/dist/components/stzh-chipgroup.js +1 -1
  315. package/dist/components/stzh-chipselect.js +1 -1
  316. package/dist/components/stzh-clamp.js +1 -1
  317. package/dist/components/stzh-company-logo.js +1 -1
  318. package/dist/components/stzh-contact-cv.js +4 -4
  319. package/dist/components/stzh-contact.js +10 -10
  320. package/dist/components/stzh-container.js +1 -1
  321. package/dist/components/stzh-content.js +1 -1
  322. package/dist/components/stzh-cspace.js +1 -1
  323. package/dist/components/stzh-cta.js +3 -3
  324. package/dist/components/stzh-datalist-item.js +1 -1
  325. package/dist/components/stzh-datalist.js +1 -1
  326. package/dist/components/stzh-datamessagelist-item.js +11 -11
  327. package/dist/components/stzh-datamessagelist.js +1 -1
  328. package/dist/components/stzh-datatable.js +17 -17
  329. package/dist/components/stzh-datepicker.js +1 -1
  330. package/dist/components/stzh-daterange.js +4 -4
  331. package/dist/components/stzh-details.js +1 -1
  332. package/dist/components/stzh-dialog.js +1 -1
  333. package/dist/components/stzh-disturber.js +4 -4
  334. package/dist/components/stzh-dropdown.js +1 -1
  335. package/dist/components/stzh-editor.js +4 -4
  336. package/dist/components/stzh-eventdata.js +1 -1
  337. package/dist/components/stzh-eventinfo.js +5 -5
  338. package/dist/components/stzh-feedreader-item.js +2 -2
  339. package/dist/components/stzh-feedreader.js +8 -8
  340. package/dist/components/stzh-fieldset.js +1 -1
  341. package/dist/components/stzh-figure.js +1 -1
  342. package/dist/components/stzh-flyingfocus.js +1 -1
  343. package/dist/components/stzh-footer.js +4 -4
  344. package/dist/components/stzh-gallery.js +8 -8
  345. package/dist/components/stzh-geo-ref-data.js +23 -23
  346. package/dist/components/stzh-ghettobox.js +1 -1
  347. package/dist/components/stzh-header.js +1 -1
  348. package/dist/components/stzh-heading.js +1 -1
  349. package/dist/components/stzh-homepage-search.js +2 -2
  350. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  351. package/dist/components/stzh-hr.js +1 -1
  352. package/dist/components/stzh-hspace.js +1 -1
  353. package/dist/components/stzh-http-error.js +7 -7
  354. package/dist/components/stzh-icon.js +1 -1
  355. package/dist/components/stzh-iframe.js +1 -1
  356. package/dist/components/stzh-imagecomparison.js +2 -2
  357. package/dist/components/stzh-input.js +1 -1
  358. package/dist/components/stzh-invert.js +1 -1
  359. package/dist/components/stzh-link.js +1 -1
  360. package/dist/components/stzh-linklist.js +10 -10
  361. package/dist/components/stzh-list-item.js +1 -1
  362. package/dist/components/stzh-list.js +1 -1
  363. package/dist/components/stzh-loader.js +1 -1
  364. package/dist/components/stzh-loadingbar.js +1 -1
  365. package/dist/components/stzh-menu-item.js +1 -1
  366. package/dist/components/stzh-menu.js +1 -1
  367. package/dist/components/stzh-message.js +1 -1
  368. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  369. package/dist/components/stzh-monthyearpicker.js +5 -5
  370. package/dist/components/stzh-offline-indicator.js +6 -6
  371. package/dist/components/stzh-olmap.js +1 -1
  372. package/dist/components/stzh-overlay.js +1 -1
  373. package/dist/components/stzh-page-skiplinks.js +1 -1
  374. package/dist/components/stzh-pagebottom.js +8 -8
  375. package/dist/components/stzh-pagecontent.js +1 -1
  376. package/dist/components/stzh-pagetitle-hero.js +1 -1
  377. package/dist/components/stzh-pagetitle-home.js +2 -2
  378. package/dist/components/stzh-pagetitle.js +2 -2
  379. package/dist/components/stzh-pagination.js +1 -1
  380. package/dist/components/stzh-panorama.js +11 -11
  381. package/dist/components/stzh-pi-content-navigation.js +3 -3
  382. package/dist/components/stzh-pi-menu.js +3 -3
  383. package/dist/components/stzh-pi-pagetitle.js +2 -2
  384. package/dist/components/stzh-pi-quote.js +1 -1
  385. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  386. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  387. package/dist/components/stzh-pi-teaser.js +2 -2
  388. package/dist/components/stzh-pkzh-qr.js +20 -20
  389. package/dist/components/stzh-poicard.js +1 -1
  390. package/dist/components/stzh-poilist.js +18 -18
  391. package/dist/components/stzh-popover.js +1 -1
  392. package/dist/components/stzh-print.js +1 -1
  393. package/dist/components/stzh-quote.js +1 -1
  394. package/dist/components/stzh-radio.js +1 -1
  395. package/dist/components/stzh-radiogroup.js +1 -1
  396. package/dist/components/stzh-rating.js +5 -5
  397. package/dist/components/stzh-ratio.js +1 -1
  398. package/dist/components/stzh-readspeaker.js +4 -4
  399. package/dist/components/stzh-richtext.js +1 -1
  400. package/dist/components/stzh-row.js +1 -1
  401. package/dist/components/stzh-saptcha.js +7 -7
  402. package/dist/components/stzh-scrollup.js +1 -1
  403. package/dist/components/stzh-search.js +16 -16
  404. package/dist/components/stzh-section.js +1 -1
  405. package/dist/components/stzh-share.js +1 -1
  406. package/dist/components/stzh-show.js +1 -1
  407. package/dist/components/stzh-sitemap.js +9 -9
  408. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  409. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  410. package/dist/components/stzh-skiplink.js +1 -1
  411. package/dist/components/stzh-socialmediastream-item.js +1 -1
  412. package/dist/components/stzh-socialmediastream.js +6 -6
  413. package/dist/components/stzh-sortable.js +1 -1
  414. package/dist/components/stzh-space.js +1 -1
  415. package/dist/components/stzh-status.js +1 -1
  416. package/dist/components/stzh-stepper-item.js +1 -1
  417. package/dist/components/stzh-stepper.js +3 -3
  418. package/dist/components/stzh-sticky-actions.js +2 -2
  419. package/dist/components/stzh-sticky.js +1 -1
  420. package/dist/components/stzh-table.js +1 -1
  421. package/dist/components/stzh-tag.js +1 -1
  422. package/dist/components/stzh-text.js +1 -1
  423. package/dist/components/stzh-textandimage.js +1 -1
  424. package/dist/components/stzh-timeline-item.js +3 -3
  425. package/dist/components/stzh-timeline.js +1 -1
  426. package/dist/components/stzh-timepicker.js +5 -5
  427. package/dist/components/stzh-toast.js +1 -1
  428. package/dist/components/stzh-toastbar.js +1 -1
  429. package/dist/components/stzh-toggle.js +5 -5
  430. package/dist/components/stzh-tooltip.js +1 -1
  431. package/dist/components/stzh-twocolumns.js +1 -1
  432. package/dist/components/stzh-upload.js +13 -13
  433. package/dist/components/stzh-vbz-carousel.js +2 -2
  434. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  435. package/dist/components/stzh-vbz-intro.js +5 -5
  436. package/dist/components/stzh-vbz-linechip.js +1 -1
  437. package/dist/components/stzh-vbz-majorticker.js +7 -7
  438. package/dist/components/stzh-vbz-ticker.js +7 -7
  439. package/dist/components/stzh-visuallyhidden.js +1 -1
  440. package/dist/components/stzh-vspace.js +1 -1
  441. package/dist/components/stzh-youtube.js +6 -6
  442. package/dist/esm/{index-DoqzRCll.js → index-DesQCrfi.js} +3 -3
  443. package/dist/esm/{index-DoqzRCll.js.map → index-DesQCrfi.js.map} +1 -1
  444. package/dist/esm/loader.js +2 -2
  445. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  446. package/dist/esm/stzh-actions_6.entry.js +1 -1
  447. package/dist/esm/stzh-actionset.entry.js +1 -1
  448. package/dist/esm/stzh-amount.entry.js +1 -1
  449. package/dist/esm/stzh-anchornav.entry.js +1 -1
  450. package/dist/esm/stzh-app-nav.entry.js +1 -1
  451. package/dist/esm/stzh-appointments.entry.js +1 -1
  452. package/dist/esm/stzh-archivelist.entry.js +1 -1
  453. package/dist/esm/stzh-audio.entry.js +1 -1
  454. package/dist/esm/stzh-badge_3.entry.js +1 -1
  455. package/dist/esm/stzh-banner.entry.js +1 -1
  456. package/dist/esm/stzh-bathstatus-item.entry.js +1 -1
  457. package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
  458. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  459. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  460. package/dist/esm/stzh-calendar.entry.js +1 -1
  461. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  462. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  463. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  464. package/dist/esm/stzh-card.entry.js +1 -1
  465. package/dist/esm/stzh-cardlist_3.entry.js +1 -1
  466. package/dist/esm/stzh-carousel.entry.js +1 -1
  467. package/dist/esm/stzh-chart.entry.js +1 -1
  468. package/dist/esm/stzh-checkbox.entry.js +2 -2
  469. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  470. package/dist/esm/stzh-chip.entry.js +1 -1
  471. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  472. package/dist/esm/stzh-chipselect.entry.js +2 -2
  473. package/dist/esm/stzh-clamp.entry.js +1 -1
  474. package/dist/esm/stzh-company-logo.entry.js +1 -1
  475. package/dist/esm/stzh-components.js +2 -2
  476. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  477. package/dist/esm/stzh-contact.entry.js +1 -1
  478. package/dist/esm/stzh-content.entry.js +1 -1
  479. package/dist/esm/stzh-cta.entry.js +1 -1
  480. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  481. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  482. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  483. package/dist/esm/stzh-datatable.entry.js +1 -1
  484. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  485. package/dist/esm/stzh-daterange.entry.js +1 -1
  486. package/dist/esm/stzh-details.entry.js +1 -1
  487. package/dist/esm/stzh-dialog.entry.js +1 -1
  488. package/dist/esm/stzh-disturber.entry.js +1 -1
  489. package/dist/esm/stzh-dropdown.entry.js +2 -2
  490. package/dist/esm/stzh-editor.entry.js +1 -1
  491. package/dist/esm/stzh-eventdata.entry.js +1 -1
  492. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  493. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  494. package/dist/esm/stzh-feedreader.entry.js +1 -1
  495. package/dist/esm/stzh-figure.entry.js +1 -1
  496. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  497. package/dist/esm/stzh-footer.entry.js +1 -1
  498. package/dist/esm/stzh-gallery.entry.js +1 -1
  499. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  500. package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
  501. package/dist/esm/stzh-header_2.entry.js +1 -1
  502. package/dist/esm/stzh-heading.entry.js +1 -1
  503. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  504. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  505. package/dist/esm/stzh-hr.entry.js +1 -1
  506. package/dist/esm/stzh-hspace.entry.js +1 -1
  507. package/dist/esm/stzh-http-error.entry.js +1 -1
  508. package/dist/esm/stzh-iframe.entry.js +1 -1
  509. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  510. package/dist/esm/{stzh-input-description-BxTGm-7X.js → stzh-input-description-B2muC0HR.js} +3 -3
  511. package/dist/esm/{stzh-input-description-BxTGm-7X.js.map → stzh-input-description-B2muC0HR.js.map} +1 -1
  512. package/dist/esm/stzh-input.entry.js +2 -2
  513. package/dist/esm/stzh-invert.entry.js +1 -1
  514. package/dist/esm/stzh-link.entry.js +1 -1
  515. package/dist/esm/stzh-linklist.entry.js +1 -1
  516. package/dist/esm/stzh-list_2.entry.js +1 -1
  517. package/dist/esm/stzh-loader_2.entry.js +1 -1
  518. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  519. package/dist/esm/stzh-menu_2.entry.js +1 -1
  520. package/dist/esm/stzh-message.entry.js +1 -1
  521. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  522. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  523. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  524. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  525. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  526. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  527. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  528. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  529. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  530. package/dist/esm/stzh-panorama.entry.js +1 -1
  531. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  532. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  533. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  534. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  535. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  536. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  537. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  538. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  539. package/dist/esm/stzh-poicard.entry.js +1 -1
  540. package/dist/esm/stzh-poilist.entry.js +1 -1
  541. package/dist/esm/stzh-popover.entry.js +1 -1
  542. package/dist/esm/stzh-print_2.entry.js +1 -1
  543. package/dist/esm/stzh-quote.entry.js +1 -1
  544. package/dist/esm/stzh-rating.entry.js +2 -2
  545. package/dist/esm/stzh-ratio.entry.js +1 -1
  546. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  547. package/dist/esm/stzh-saptcha.entry.js +1 -1
  548. package/dist/esm/stzh-scrollup.entry.js +1 -1
  549. package/dist/esm/stzh-search.entry.js +1 -1
  550. package/dist/esm/stzh-section.entry.js +1 -1
  551. package/dist/esm/stzh-sitemap.entry.js +1 -1
  552. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  553. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  554. package/dist/esm/stzh-skiplink.entry.js +1 -1
  555. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  556. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  557. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  558. package/dist/esm/stzh-stepper.entry.js +1 -1
  559. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  560. package/dist/esm/stzh-sticky.entry.js +1 -1
  561. package/dist/esm/stzh-table.entry.js +1 -1
  562. package/dist/esm/stzh-text.entry.js +1 -1
  563. package/dist/esm/stzh-textandimage.entry.js +1 -1
  564. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  565. package/dist/esm/stzh-timeline.entry.js +1 -1
  566. package/dist/esm/stzh-timepicker.entry.js +1 -1
  567. package/dist/esm/stzh-toast_2.entry.js +1 -1
  568. package/dist/esm/stzh-toggle.entry.js +2 -2
  569. package/dist/esm/stzh-tooltip.entry.js +1 -1
  570. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  571. package/dist/esm/stzh-upload.entry.js +2 -2
  572. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  573. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  574. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  575. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  576. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  577. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  578. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  579. package/dist/esm/stzh-vspace.entry.js +1 -1
  580. package/dist/esm/stzh-youtube.entry.js +1 -1
  581. package/dist/stzh-components/{p-8bf42c5e.entry.js → p-084b9cdd.entry.js} +6 -6
  582. package/dist/stzh-components/{p-4881f4a4.entry.js → p-08efb2fb.entry.js} +2 -2
  583. package/dist/stzh-components/{p-24ba9512.entry.js → p-0e1a0f73.entry.js} +2 -2
  584. package/dist/stzh-components/{p-bbf97f2f.entry.js → p-0e4fdc3c.entry.js} +2 -2
  585. package/dist/stzh-components/{p-aced6431.entry.js → p-114eb1c8.entry.js} +2 -2
  586. package/dist/stzh-components/{p-9f8c7572.entry.js → p-11f8205b.entry.js} +2 -2
  587. package/dist/stzh-components/{p-72ed12b6.entry.js → p-1284b27f.entry.js} +2 -2
  588. package/dist/stzh-components/{p-8dcccf47.entry.js → p-1412c776.entry.js} +2 -2
  589. package/dist/stzh-components/{p-62d1b9df.entry.js → p-1599a3aa.entry.js} +2 -2
  590. package/dist/stzh-components/{p-4b9bd602.entry.js → p-1a094f09.entry.js} +2 -2
  591. package/dist/stzh-components/{p-b96d4415.entry.js → p-1b5786df.entry.js} +2 -2
  592. package/dist/stzh-components/{p-9271cab2.entry.js → p-221df142.entry.js} +2 -2
  593. package/dist/stzh-components/{p-c9631718.entry.js → p-22eb16c8.entry.js} +2 -2
  594. package/dist/stzh-components/{p-bace2905.entry.js → p-250f9ffa.entry.js} +2 -2
  595. package/dist/stzh-components/{p-2b94734d.entry.js → p-2585770a.entry.js} +2 -2
  596. package/dist/stzh-components/{p-7b7cf176.entry.js → p-2736ea2b.entry.js} +2 -2
  597. package/dist/stzh-components/{p-4c532831.entry.js → p-2adc1b7e.entry.js} +2 -2
  598. package/dist/stzh-components/{p-81bbcc64.entry.js → p-2dc03663.entry.js} +2 -2
  599. package/dist/stzh-components/{p-be211e65.entry.js → p-30b90219.entry.js} +2 -2
  600. package/dist/stzh-components/{p-b1b155bd.entry.js → p-30cfc3b7.entry.js} +2 -2
  601. package/dist/stzh-components/{p-59e0d395.entry.js → p-315d9ed9.entry.js} +2 -2
  602. package/dist/stzh-components/{p-e1643a87.entry.js → p-31ca74fa.entry.js} +2 -2
  603. package/dist/stzh-components/{p-4f56a1b0.entry.js → p-3242ae36.entry.js} +2 -2
  604. package/dist/stzh-components/{p-5ae6729e.entry.js → p-348f6385.entry.js} +2 -2
  605. package/dist/stzh-components/{p-10eeb008.entry.js → p-34d452cc.entry.js} +2 -2
  606. package/dist/stzh-components/{p-f2387926.entry.js → p-353f35fb.entry.js} +2 -2
  607. package/dist/stzh-components/{p-4063f674.entry.js → p-36d88163.entry.js} +2 -2
  608. package/dist/stzh-components/{p-65b21231.entry.js → p-36ee1a3d.entry.js} +2 -2
  609. package/dist/stzh-components/{p-929f71f8.entry.js → p-38a1e3c5.entry.js} +2 -2
  610. package/dist/stzh-components/{p-82f4b7d3.entry.js → p-38a47c95.entry.js} +2 -2
  611. package/dist/stzh-components/{p-d1a46403.entry.js → p-392592da.entry.js} +2 -2
  612. package/dist/stzh-components/{p-aff8bae5.entry.js → p-3b891522.entry.js} +2 -2
  613. package/dist/stzh-components/{p-7e841cd3.entry.js → p-3c059c3f.entry.js} +2 -2
  614. package/dist/stzh-components/{p-6872b692.entry.js → p-3c60f148.entry.js} +2 -2
  615. package/dist/stzh-components/{p-c01e2eae.entry.js → p-3d31d8f9.entry.js} +2 -2
  616. package/dist/stzh-components/{p-de4a0758.entry.js → p-3e55b338.entry.js} +2 -2
  617. package/dist/stzh-components/{p-0b9c6261.entry.js → p-3e764c0f.entry.js} +2 -2
  618. package/dist/stzh-components/{p-9be60aad.entry.js → p-3ed1d1c9.entry.js} +2 -2
  619. package/dist/stzh-components/{p-2f00d21e.entry.js → p-41e45f16.entry.js} +2 -2
  620. package/dist/stzh-components/{p-be967a9f.entry.js → p-44a38608.entry.js} +2 -2
  621. package/dist/stzh-components/{p-04d637e3.entry.js → p-4622ab8b.entry.js} +3 -3
  622. package/dist/stzh-components/{p-af164986.entry.js → p-46963b10.entry.js} +2 -2
  623. package/dist/stzh-components/{p-0a0f0397.entry.js → p-48bd3e87.entry.js} +2 -2
  624. package/dist/stzh-components/{p-0d2341af.entry.js → p-4949d3f3.entry.js} +2 -2
  625. package/dist/stzh-components/{p-c5ea6041.entry.js → p-4de6381b.entry.js} +2 -2
  626. package/dist/stzh-components/{p-bb86e1a8.entry.js → p-4dfd34dd.entry.js} +2 -2
  627. package/dist/stzh-components/{p-612b035d.entry.js → p-4eb79797.entry.js} +2 -2
  628. package/dist/stzh-components/{p-c9ff2d8d.entry.js → p-4ef4838b.entry.js} +2 -2
  629. package/dist/stzh-components/{p-95b797a6.entry.js → p-5022f5ae.entry.js} +2 -2
  630. package/dist/stzh-components/{p-f23d544c.entry.js → p-5191a957.entry.js} +2 -2
  631. package/dist/stzh-components/{p-0ab649a1.entry.js → p-5b1f1510.entry.js} +2 -2
  632. package/dist/stzh-components/{p-66675e42.entry.js → p-5bbc5c2d.entry.js} +2 -2
  633. package/dist/stzh-components/{p-3b06e8a5.entry.js → p-5f92e771.entry.js} +2 -2
  634. package/dist/stzh-components/{p-3efc19a6.entry.js → p-609ad786.entry.js} +2 -2
  635. package/dist/stzh-components/{p-1ef44f2c.entry.js → p-628b716b.entry.js} +2 -2
  636. package/dist/stzh-components/{p-a91070a9.entry.js → p-63602e47.entry.js} +2 -2
  637. package/dist/stzh-components/{p-f465346f.entry.js → p-6633c83d.entry.js} +7 -7
  638. package/dist/stzh-components/{p-3f4c7fa2.entry.js → p-6867beb2.entry.js} +2 -2
  639. package/dist/stzh-components/{p-a555738e.entry.js → p-6b74f2f3.entry.js} +2 -2
  640. package/dist/stzh-components/{p-e8258c3c.entry.js → p-6cc8c31a.entry.js} +2 -2
  641. package/dist/stzh-components/{p-70bf09cf.entry.js → p-6d0e28b0.entry.js} +2 -2
  642. package/dist/stzh-components/{p-07133528.entry.js → p-6e1ef0ec.entry.js} +2 -2
  643. package/dist/stzh-components/{p-22ba9599.entry.js → p-7046fef8.entry.js} +2 -2
  644. package/dist/stzh-components/{p-5548a12e.entry.js → p-73a1c1f7.entry.js} +2 -2
  645. package/dist/stzh-components/{p-7f729840.entry.js → p-73d5c827.entry.js} +2 -2
  646. package/dist/stzh-components/{p-cfde4072.entry.js → p-7e785f95.entry.js} +2 -2
  647. package/dist/stzh-components/{p-ab72a019.entry.js → p-836ed145.entry.js} +2 -2
  648. package/dist/stzh-components/{p-411c5b3e.entry.js → p-83855aaf.entry.js} +2 -2
  649. package/dist/stzh-components/{p-35909942.entry.js → p-88b7a476.entry.js} +2 -2
  650. package/dist/stzh-components/{p-b1b4192b.entry.js → p-89295005.entry.js} +2 -2
  651. package/dist/stzh-components/{p-a46f2c7a.entry.js → p-8adb8b10.entry.js} +2 -2
  652. package/dist/stzh-components/{p-ecde4f2a.entry.js → p-8b8f4b5c.entry.js} +2 -2
  653. package/dist/stzh-components/{p-97ab8b17.entry.js → p-8c90bc4b.entry.js} +2 -2
  654. package/dist/stzh-components/{p-1ac2b32d.entry.js → p-8f5e606d.entry.js} +2 -2
  655. package/dist/stzh-components/{p-e9ded330.entry.js → p-90fb2952.entry.js} +2 -2
  656. package/dist/stzh-components/{p-9f829362.entry.js → p-9425707d.entry.js} +2 -2
  657. package/dist/stzh-components/{p-6bb94e83.entry.js → p-94942d87.entry.js} +2 -2
  658. package/dist/stzh-components/{p-ed464528.entry.js → p-9606c1b3.entry.js} +2 -2
  659. package/dist/stzh-components/{p-97dbfca2.entry.js → p-99c6d6af.entry.js} +2 -2
  660. package/dist/stzh-components/{p-DqUxAqjK.js → p-DUHakWnr.js} +2 -2
  661. package/dist/stzh-components/{p-DqUxAqjK.js.map → p-DUHakWnr.js.map} +1 -1
  662. package/dist/stzh-components/{p-DoqzRCll.js → p-DesQCrfi.js} +2 -2
  663. package/dist/stzh-components/{p-DoqzRCll.js.map → p-DesQCrfi.js.map} +1 -1
  664. package/dist/stzh-components/{p-78ada1ac.entry.js → p-a33ac43e.entry.js} +2 -2
  665. package/dist/stzh-components/{p-736a67fb.entry.js → p-a3dc9c36.entry.js} +2 -2
  666. package/dist/stzh-components/{p-de1b3632.entry.js → p-a628ad78.entry.js} +2 -2
  667. package/dist/stzh-components/{p-1c32ddc4.entry.js → p-a6522800.entry.js} +3 -3
  668. package/dist/stzh-components/{p-b420e4a9.entry.js → p-a70a0080.entry.js} +2 -2
  669. package/dist/stzh-components/{p-f0b34342.entry.js → p-a8876eda.entry.js} +2 -2
  670. package/dist/stzh-components/{p-2c62d63e.entry.js → p-aa8fe13a.entry.js} +2 -2
  671. package/dist/stzh-components/{p-dcdc56e3.entry.js → p-ab120fe4.entry.js} +2 -2
  672. package/dist/stzh-components/{p-835e1f7e.entry.js → p-abd7cbc6.entry.js} +2 -2
  673. package/dist/stzh-components/{p-4be30d1e.entry.js → p-abddf10c.entry.js} +2 -2
  674. package/dist/stzh-components/{p-299e942c.entry.js → p-abe3645d.entry.js} +2 -2
  675. package/dist/stzh-components/{p-5b149201.entry.js → p-b2aabeb7.entry.js} +2 -2
  676. package/dist/stzh-components/{p-86724e03.entry.js → p-b31949eb.entry.js} +2 -2
  677. package/dist/stzh-components/{p-70f02b9d.entry.js → p-b38b3c4c.entry.js} +2 -2
  678. package/dist/stzh-components/{p-e84fb60e.entry.js → p-b4d78249.entry.js} +2 -2
  679. package/dist/stzh-components/{p-e349c85c.entry.js → p-b4da4cc2.entry.js} +2 -2
  680. package/dist/stzh-components/{p-3899c59a.entry.js → p-b56daf65.entry.js} +2 -2
  681. package/dist/stzh-components/{p-aa65a574.entry.js → p-b5c20b76.entry.js} +2 -2
  682. package/dist/stzh-components/{p-95abfdd2.entry.js → p-b989f72d.entry.js} +2 -2
  683. package/dist/stzh-components/{p-b87e3d8c.entry.js → p-c28f9c40.entry.js} +2 -2
  684. package/dist/stzh-components/{p-86878fb4.entry.js → p-c4d0f525.entry.js} +2 -2
  685. package/dist/stzh-components/{p-3ecf1bfa.entry.js → p-c4fbcf5c.entry.js} +2 -2
  686. package/dist/stzh-components/{p-90ba9833.entry.js → p-c596173d.entry.js} +2 -2
  687. package/dist/stzh-components/{p-199f81cb.entry.js → p-c63e07fc.entry.js} +3 -3
  688. package/dist/stzh-components/{p-e987c48d.entry.js → p-c8c34164.entry.js} +2 -2
  689. package/dist/stzh-components/{p-7e4162d3.entry.js → p-c9993af0.entry.js} +2 -2
  690. package/dist/stzh-components/{p-b57819b1.entry.js → p-c9f2e23a.entry.js} +2 -2
  691. package/dist/stzh-components/{p-c044afc4.entry.js → p-cc6e6867.entry.js} +2 -2
  692. package/dist/stzh-components/{p-0a75b78d.entry.js → p-cd12e7bd.entry.js} +2 -2
  693. package/dist/stzh-components/{p-879adfe1.entry.js → p-d1747317.entry.js} +2 -2
  694. package/dist/stzh-components/{p-df00eb27.entry.js → p-d1cca86f.entry.js} +2 -2
  695. package/dist/stzh-components/{p-38e54f8d.entry.js → p-d37c5c73.entry.js} +2 -2
  696. package/dist/stzh-components/{p-284a25bb.entry.js → p-d5b7addc.entry.js} +2 -2
  697. package/dist/stzh-components/{p-6bbd35f6.entry.js → p-d6b7946f.entry.js} +2 -2
  698. package/dist/stzh-components/{p-be2df244.entry.js → p-e12d2d60.entry.js} +2 -2
  699. package/dist/stzh-components/{p-ccaa0310.entry.js → p-e233cf06.entry.js} +2 -2
  700. package/dist/stzh-components/{p-7a00c965.entry.js → p-e49ed519.entry.js} +2 -2
  701. package/dist/stzh-components/{p-f60b115c.entry.js → p-e61966c4.entry.js} +2 -2
  702. package/dist/stzh-components/{p-95023bf9.entry.js → p-e8a4ddd6.entry.js} +2 -2
  703. package/dist/stzh-components/p-e905055b.entry.js +2 -0
  704. package/dist/stzh-components/{p-2fec568d.entry.js.map → p-e905055b.entry.js.map} +1 -1
  705. package/dist/stzh-components/{p-0bca0131.entry.js → p-e9a85cba.entry.js} +2 -2
  706. package/dist/stzh-components/{p-6b35e954.entry.js → p-ec6a62aa.entry.js} +2 -2
  707. package/dist/stzh-components/{p-07ef4c2a.entry.js → p-ee8190b4.entry.js} +2 -2
  708. package/dist/stzh-components/{p-28de4edc.entry.js → p-f07faa5b.entry.js} +2 -2
  709. package/dist/stzh-components/{p-4f6d4e15.entry.js → p-f1a64d71.entry.js} +2 -2
  710. package/dist/stzh-components/{p-dbd48705.entry.js → p-f2e95ab9.entry.js} +2 -2
  711. package/dist/stzh-components/{p-baef7ef6.entry.js → p-f395be95.entry.js} +2 -2
  712. package/dist/stzh-components/{p-1d44545a.entry.js → p-f7ae52f5.entry.js} +2 -2
  713. package/dist/stzh-components/{p-f6622b8f.entry.js → p-f9966360.entry.js} +2 -2
  714. package/dist/stzh-components/{p-bfacc08e.entry.js → p-f99e3401.entry.js} +2 -2
  715. package/dist/stzh-components/{p-2a262a7c.entry.js → p-fae36aac.entry.js} +2 -2
  716. package/dist/stzh-components/{p-f87d75cd.entry.js → p-fb8f7cec.entry.js} +2 -2
  717. package/dist/stzh-components/{p-82db0fdd.entry.js → p-fc426694.entry.js} +2 -2
  718. package/dist/stzh-components/{p-b91737ee.entry.js → p-ff8a59e7.entry.js} +2 -2
  719. package/dist/stzh-components/stzh-components.esm.js +1 -1
  720. package/package.json +1 -1
  721. package/dist/stzh-components/p-2fec568d.entry.js +0 -2
  722. /package/dist/stzh-components/{p-8bf42c5e.entry.js.map → p-084b9cdd.entry.js.map} +0 -0
  723. /package/dist/stzh-components/{p-4881f4a4.entry.js.map → p-08efb2fb.entry.js.map} +0 -0
  724. /package/dist/stzh-components/{p-24ba9512.entry.js.map → p-0e1a0f73.entry.js.map} +0 -0
  725. /package/dist/stzh-components/{p-bbf97f2f.entry.js.map → p-0e4fdc3c.entry.js.map} +0 -0
  726. /package/dist/stzh-components/{p-aced6431.entry.js.map → p-114eb1c8.entry.js.map} +0 -0
  727. /package/dist/stzh-components/{p-9f8c7572.entry.js.map → p-11f8205b.entry.js.map} +0 -0
  728. /package/dist/stzh-components/{p-72ed12b6.entry.js.map → p-1284b27f.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-8dcccf47.entry.js.map → p-1412c776.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-62d1b9df.entry.js.map → p-1599a3aa.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-4b9bd602.entry.js.map → p-1a094f09.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-b96d4415.entry.js.map → p-1b5786df.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-9271cab2.entry.js.map → p-221df142.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-c9631718.entry.js.map → p-22eb16c8.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-bace2905.entry.js.map → p-250f9ffa.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-2b94734d.entry.js.map → p-2585770a.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-7b7cf176.entry.js.map → p-2736ea2b.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-4c532831.entry.js.map → p-2adc1b7e.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-81bbcc64.entry.js.map → p-2dc03663.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-be211e65.entry.js.map → p-30b90219.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-b1b155bd.entry.js.map → p-30cfc3b7.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-59e0d395.entry.js.map → p-315d9ed9.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-e1643a87.entry.js.map → p-31ca74fa.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-4f56a1b0.entry.js.map → p-3242ae36.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-5ae6729e.entry.js.map → p-348f6385.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-10eeb008.entry.js.map → p-34d452cc.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-f2387926.entry.js.map → p-353f35fb.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-4063f674.entry.js.map → p-36d88163.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-65b21231.entry.js.map → p-36ee1a3d.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-929f71f8.entry.js.map → p-38a1e3c5.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-82f4b7d3.entry.js.map → p-38a47c95.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-d1a46403.entry.js.map → p-392592da.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-aff8bae5.entry.js.map → p-3b891522.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-7e841cd3.entry.js.map → p-3c059c3f.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-6872b692.entry.js.map → p-3c60f148.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-c01e2eae.entry.js.map → p-3d31d8f9.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-de4a0758.entry.js.map → p-3e55b338.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-0b9c6261.entry.js.map → p-3e764c0f.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-9be60aad.entry.js.map → p-3ed1d1c9.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-2f00d21e.entry.js.map → p-41e45f16.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-be967a9f.entry.js.map → p-44a38608.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-04d637e3.entry.js.map → p-4622ab8b.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-af164986.entry.js.map → p-46963b10.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-0a0f0397.entry.js.map → p-48bd3e87.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-0d2341af.entry.js.map → p-4949d3f3.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-c5ea6041.entry.js.map → p-4de6381b.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-bb86e1a8.entry.js.map → p-4dfd34dd.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-612b035d.entry.js.map → p-4eb79797.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-c9ff2d8d.entry.js.map → p-4ef4838b.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-95b797a6.entry.js.map → p-5022f5ae.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-f23d544c.entry.js.map → p-5191a957.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-0ab649a1.entry.js.map → p-5b1f1510.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-66675e42.entry.js.map → p-5bbc5c2d.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-3b06e8a5.entry.js.map → p-5f92e771.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-3efc19a6.entry.js.map → p-609ad786.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-1ef44f2c.entry.js.map → p-628b716b.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-a91070a9.entry.js.map → p-63602e47.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-f465346f.entry.js.map → p-6633c83d.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-3f4c7fa2.entry.js.map → p-6867beb2.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-a555738e.entry.js.map → p-6b74f2f3.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-e8258c3c.entry.js.map → p-6cc8c31a.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-70bf09cf.entry.js.map → p-6d0e28b0.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-07133528.entry.js.map → p-6e1ef0ec.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-22ba9599.entry.js.map → p-7046fef8.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-5548a12e.entry.js.map → p-73a1c1f7.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-7f729840.entry.js.map → p-73d5c827.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-cfde4072.entry.js.map → p-7e785f95.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-ab72a019.entry.js.map → p-836ed145.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-411c5b3e.entry.js.map → p-83855aaf.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-35909942.entry.js.map → p-88b7a476.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-b1b4192b.entry.js.map → p-89295005.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-a46f2c7a.entry.js.map → p-8adb8b10.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-ecde4f2a.entry.js.map → p-8b8f4b5c.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-97ab8b17.entry.js.map → p-8c90bc4b.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-1ac2b32d.entry.js.map → p-8f5e606d.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-e9ded330.entry.js.map → p-90fb2952.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-9f829362.entry.js.map → p-9425707d.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-6bb94e83.entry.js.map → p-94942d87.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-ed464528.entry.js.map → p-9606c1b3.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-97dbfca2.entry.js.map → p-99c6d6af.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-78ada1ac.entry.js.map → p-a33ac43e.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-736a67fb.entry.js.map → p-a3dc9c36.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-de1b3632.entry.js.map → p-a628ad78.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-1c32ddc4.entry.js.map → p-a6522800.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-b420e4a9.entry.js.map → p-a70a0080.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-f0b34342.entry.js.map → p-a8876eda.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-2c62d63e.entry.js.map → p-aa8fe13a.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-dcdc56e3.entry.js.map → p-ab120fe4.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-835e1f7e.entry.js.map → p-abd7cbc6.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-4be30d1e.entry.js.map → p-abddf10c.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-299e942c.entry.js.map → p-abe3645d.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-5b149201.entry.js.map → p-b2aabeb7.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-86724e03.entry.js.map → p-b31949eb.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-70f02b9d.entry.js.map → p-b38b3c4c.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-e84fb60e.entry.js.map → p-b4d78249.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-e349c85c.entry.js.map → p-b4da4cc2.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-3899c59a.entry.js.map → p-b56daf65.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-aa65a574.entry.js.map → p-b5c20b76.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-95abfdd2.entry.js.map → p-b989f72d.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-b87e3d8c.entry.js.map → p-c28f9c40.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-86878fb4.entry.js.map → p-c4d0f525.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-3ecf1bfa.entry.js.map → p-c4fbcf5c.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-90ba9833.entry.js.map → p-c596173d.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-199f81cb.entry.js.map → p-c63e07fc.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-e987c48d.entry.js.map → p-c8c34164.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-7e4162d3.entry.js.map → p-c9993af0.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-b57819b1.entry.js.map → p-c9f2e23a.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-c044afc4.entry.js.map → p-cc6e6867.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-0a75b78d.entry.js.map → p-cd12e7bd.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-879adfe1.entry.js.map → p-d1747317.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-df00eb27.entry.js.map → p-d1cca86f.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-38e54f8d.entry.js.map → p-d37c5c73.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-284a25bb.entry.js.map → p-d5b7addc.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-6bbd35f6.entry.js.map → p-d6b7946f.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-be2df244.entry.js.map → p-e12d2d60.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-ccaa0310.entry.js.map → p-e233cf06.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-7a00c965.entry.js.map → p-e49ed519.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-f60b115c.entry.js.map → p-e61966c4.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-95023bf9.entry.js.map → p-e8a4ddd6.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-0bca0131.entry.js.map → p-e9a85cba.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-6b35e954.entry.js.map → p-ec6a62aa.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-07ef4c2a.entry.js.map → p-ee8190b4.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-28de4edc.entry.js.map → p-f07faa5b.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-4f6d4e15.entry.js.map → p-f1a64d71.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-dbd48705.entry.js.map → p-f2e95ab9.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-baef7ef6.entry.js.map → p-f395be95.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-1d44545a.entry.js.map → p-f7ae52f5.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-f6622b8f.entry.js.map → p-f9966360.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-bfacc08e.entry.js.map → p-f99e3401.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-2a262a7c.entry.js.map → p-fae36aac.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-f87d75cd.entry.js.map → p-fb8f7cec.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-82db0fdd.entry.js.map → p-fc426694.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-b91737ee.entry.js.map → p-ff8a59e7.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-BzmOLwGs.js","mappings":";;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC;AACA;AACA;AACA;AACA;AACA,+jIAA+jI,CAAC;;ACOhkI,IAAI,iBAAiB,GAAG,CAAC;MAcZ,cAAc,iBAAAA,kBAAA,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-chipselect/stzh-chipselect.scss?tag=stzh-chipselect&encapsulation=scoped","src/components/stzh-chipselect/stzh-chipselect.tsx"],"sourcesContent":[":host {\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n &[active]:not([active=\"false\"]) {\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n }\n &[active].is-focused {\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n }\n}\n\n.stzh-chipselect {\n @include input-description;\n\n &__label {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n @include truncate;\n color: $headingColor;\n display: block;\n margin-bottom: space(\"xsmall\");\n\n &:empty {\n display: none;\n }\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &__chips {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n border-radius: $buttonBorderRadius;\n gap: space(\"medium\");\n\n &:focus-within {\n .is-focused[active] {\n --background-color: #{$colorPrimary90};\n\n @include highContrast() {\n --background-color: Canvas;\n }\n }\n }\n }\n\n &__chip {\n &.is-focused:not([active]) {\n --background-color: #{$colorSecondary40};\n\n @include highContrast() {\n --background-color: Highlight;\n }\n }\n }\n\n // &__dropdown {\n // @include mq($from: medium) {\n // display: none;\n // }\n // }\n\n // &__description-wrapper {\n // @include mq($to: medium) {\n // display: none;\n // }\n // }\n\n &--has-error &__error,\n &--has-description &__description {\n margin-top: space(\"xsmall\");\n }\n\n /* Hidden label */\n\n &--has-label-hidden &__label {\n @include visuallyhidden;\n }\n\n /* Disabled */\n\n &--is-disabled &__chips,\n &--is-disabled &__label {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Event, EventEmitter, State, Fragment, Listen } from \"@stencil/core\";\n\nimport {\n StzhChipselectItem,\n StzhChipselectChangeEvent,\n // StzhDropdownChangeEvent\n} from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\n// import { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nlet chipselectCounter = 0;\n\n/**\n * @slot - Slot for `stzh-checkbox` elements\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 */\n@Component({\n tag: \"stzh-chipselect\",\n styleUrl: \"stzh-chipselect.scss\",\n scoped: true,\n})\nexport class StzhChipselect {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** The list of chips */\n @Prop() data: string | StzhChipselectItem[] = [];\n private _data: StzhChipselectItem[] = [];\n // private _dataDropdown: any[] = [];\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Multiple */\n @Prop({ mutable: true }) multiple: boolean = false;\n\n /** Value */\n @Prop({ mutable: true }) value: string | string[] = \"\";\n private _value: string[] = [];\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string | 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 /** Whether all chips are disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\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 @State() activeFocusOptionIndex: number = -1;\n\n @Element() element: HTMLStzhChipselectElement;\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhChipselectChangeEvent>;\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[] | string) {\n if (typeof newValue === \"string\") {\n try {\n const parsedValue = JSON.parse(newValue); // since parsing a number like string (i.e. \"1\") will return a number and parsing a boolean like string (i.e. \"true\") will return a boolean we need to check if the parsed value is indeed an array.\n if (Array.isArray(parsedValue)) {\n this._value = parsedValue;\n } else {\n this._value = newValue ? [newValue] : [];\n }\n } catch (ex) {\n this._value = newValue ? [newValue] : [];\n }\n } else {\n this._value = newValue ? newValue : [];\n }\n }\n\n @Watch(\"data\")\n dataWatcher(newValue: StzhChipselectItem[] | string) {\n if (typeof newValue === \"string\") {\n this._data = JSON.parse(newValue);\n } else {\n this._data = newValue;\n }\n\n this._data.map(dataEntry => {\n if (typeof dataEntry.value !== \"string\") {\n throw new TypeError(\n `${dataEntry.value} is not a string. The data prop only accepts arrays (or stringified arrays), where the value property is a string. Consult the StzhChipselectItem type definition for more information.`,\n );\n }\n });\n // this._dataDropdown = this._data.map((data) => {\n // return {\n // text: data.counter\n // ? `${data.label} (${data.counter})`\n // : data.label,\n // value: data.value\n // }\n // });\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 private id: string;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n\n // this.stzhChange.emit({\n // component: \"stzh-chipselect\",\n // value: this.value\n // });\n };\n\n private handleChipClick = async (data: StzhChipselectItem, index: number) => {\n if (this.multiple) {\n if (data.value === \"\" && this._value.length > 0 && !(this._value.length === 1 && this._value[0] === \"\")) {\n this.value = [];\n } else if (data.value !== \"\") {\n this.value = this._value.includes(data.value)\n ? this._value.filter(value => value !== data.value)\n : [...this._value, data.value];\n }\n } else {\n this.value = data.value;\n }\n\n this.activeFocusOptionIndex = index;\n\n await this.waitForNextRender();\n\n this.stzhChange.emit({\n component: \"stzh-chipselect\",\n value: this.multiple ? this._value : this._value[0],\n });\n };\n\n // private handleDropdownChange = async (event: CustomEvent<StzhDropdownChangeEvent>) => {\n // this.value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n\n // this.activeFocusOptionIndex = this._data.findIndex(data => {\n // return data.value === this.value;\n // });\n\n // await this.waitForNextRender();\n\n // this.stzhChange.emit({\n // component: \"stzh-chipselect\",\n // value: this.value\n // })\n // }\n\n private handleKeydown = (event: KeyboardEvent) => {\n let newActiveIndex: number = null;\n const activeOptionIndex = this.activeFocusOptionIndex;\n\n if (event.key === \"ArrowUp\" || event.key === \"ArrowLeft\") {\n event.preventDefault();\n\n if (activeOptionIndex > 0) {\n newActiveIndex = activeOptionIndex - 1;\n }\n } else if (event.key === \"ArrowDown\" || event.key === \"ArrowRight\") {\n event.preventDefault();\n\n if (activeOptionIndex < this._data.length - 1) {\n newActiveIndex = activeOptionIndex + 1;\n }\n } else if (event.key === \" \" || event.key === \"Enter\") {\n event.preventDefault();\n \n if (activeOptionIndex < 0) {\n return;\n }\n\n if (this.multiple) {\n if (\n this._data[activeOptionIndex].value === \"\" &&\n this._value.length > 0 &&\n !(this._value.length === 1 && this._value[0] === \"\")\n ) {\n this.value = [];\n } else if (this._data[activeOptionIndex].value !== \"\") {\n this.value = this._value.includes(this._data[activeOptionIndex].value)\n ? this._value.filter(value => value !== this._data[activeOptionIndex].value)\n : [...this._value, this._data[activeOptionIndex].value];\n }\n } else {\n this.value = this._data[activeOptionIndex].value;\n }\n this.stzhChange.emit({\n component: \"stzh-chipselect\",\n value: this.value,\n });\n }\n\n if (newActiveIndex !== null) {\n this.activeFocusOptionIndex = newActiveIndex;\n }\n };\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n }\n\n async componentWillLoad() {\n this.id = `stzh-chipselect-${chipselectCounter++}`;\n\n this.dataWatcher(this.data);\n this.errorWatcher(this.error);\n this.valueWatcher(this.value);\n\n this.defaultValue = this.defaultValue || this.value;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"chipselect\");\n }\n }\n\n render() {\n const descriptionUsed = !!this.description;\n const descriptionLongUsed = !!this.descriptionLong;\n const errorUsed = !!this.error;\n\n const hasActive = this.activeFocusOptionIndex >= 0;\n const activeId = hasActive ? `${this.id}-option-${this.activeFocusOptionIndex}` : undefined;\n\n const classes = {\n \"stzh-chipselect\": true,\n \"stzh-chipselect--has-description\": descriptionUsed,\n \"stzh-chipselect--has-description-long\": descriptionLongUsed,\n \"stzh-chipselect--has-error\": errorUsed,\n \"stzh-chipselect--is-invalid\": this.invalid || errorUsed,\n \"stzh-chipselect--is-disabled\": this.disabled,\n \"stzh-chipselect--is-required\": this.required,\n \"stzh-chipselect--has-label-hidden\": this.labelHidden,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed}>\n <div class={classes}>\n {this.multiple ? (\n <Fragment>\n {this._value.map(value => (\n <input type=\"hidden\" name={this.name} value={value} />\n ))}\n </Fragment>\n ) : (\n <input type=\"hidden\" name={this.name} value={this.value} />\n )}\n\n <label class=\"stzh-chipselect__label\" htmlFor={this.id}>\n {this.label ? this.label : <slot></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-chipselect__marker\">\n <span class=\"stzh-chipselect__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-chipselect__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n {this._data.length > 0 && (\n <Fragment>\n <div\n id={this.id}\n class=\"stzh-chipselect__chips\"\n role=\"listbox\"\n tabindex=\"0\"\n aria-multiselectable={this.multiple ? \"true\" : \"false\"}\n aria-activedescendant={activeId}\n aria-describedby={`${this.id}-description ${this.a11yDescribedby}`}\n onKeyDown={this.handleKeydown}\n >\n {this._data.map((data, index) => (\n <stzh-chip\n role=\"option\"\n class={{\n \"stzh-chipselect__chip\": true,\n \"is-focused\": this.activeFocusOptionIndex === index,\n }}\n label={data.label}\n counter={data.counter}\n icon={data.icon}\n type={data.type}\n inverted={data.inverted}\n variant={data.variant}\n size={data.size || \"small\"}\n disabled={this.disabled || data.disabled}\n active={\n this._value.includes(data.value) ||\n (!this.multiple && !data.value && (this._value.length === 0 || this._value[0] === \"\")) ||\n (!data.value &&\n this.multiple &&\n (this._value.length === 0 || (this._value.length === 1 && this._value[0] === \"\")))\n }\n aria-selected={\n this._value.includes(data.value) ||\n (!this.multiple && !data.value && (this._value.length === 0 || this._value[0] === \"\")) ||\n (!data.value &&\n this.multiple &&\n (this._value.length === 0 || (this._value.length === 1 && this._value[0] === \"\")))\n ? \"true\"\n : \"false\"\n }\n id={`${this.id}-option-${index}`}\n a11yTabindex=\"-1\"\n onClick={() => this.handleChipClick(data, index)}\n ></stzh-chip>\n ))}\n </div>\n\n <StzhInputDescription\n classPrefix=\"stzh-chipselect\"\n id={`${this.id}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n\n {/* <stzh-dropdown\n class=\"stzh-chipselect__dropdown\"\n multiple={this.multiple}\n disabled={this.disabled}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n required={this.required}\n invalid={this.invalid}\n items={[this.value]}\n label={this.label}\n labelHidden={this.labelHidden}\n options={this._dataDropdown}\n hideOptional={this.hideOptional}\n onStzhChange={this.handleDropdownChange}\n ></stzh-dropdown> */}\n </Fragment>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CNMtTiHH.js","mappings":";;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC;AACjC;AACA;AACA;AACA;AACA;AACA,+jIAA+jI,CAAC;;ACOhkI,IAAI,iBAAiB,GAAG,CAAC;MAcZ,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;AAL3B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAUU,QAAA,IAAI,CAAA,IAAA,GAAkC,EAAE;AACxC,QAAA,IAAK,CAAA,KAAA,GAAyB,EAAE;;AAOhC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAGX,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAK,CAAA,KAAA,GAAsB,EAAE;AAC9C,QAAA,IAAM,CAAA,MAAA,GAAa,EAAE;;AAGJ,QAAA,IAAY,CAAA,YAAA,GAAsB,EAAE;;AAkBpC,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;;AAGb,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;AAE5D,QAAA,IAAsB,CAA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AO,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC,EACrC,CAAA,CACd,CAAC,CACE,EAEN,CAAC,CAAA,oBAAoB,EACnB,EAAA,GAAA,EAAA,0CAAA,EAAA,WAAW,EAAC,iBAAiB,EAC7B,EAAE,EAAE,CAAG,EAAA,IAAI,CAAC,EAAE,CAAA,YAAA,CAAc,EAC5B,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EACnE,CAAA,CAkBO,CACZ,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-chipselect/stzh-chipselect.scss?tag=stzh-chipselect&encapsulation=scoped","src/components/stzh-chipselect/stzh-chipselect.tsx"],"sourcesContent":[":host {\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n &[active]:not([active=\"false\"]) {\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n }\n &[active].is-focused {\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n }\n}\n\n.stzh-chipselect {\n @include input-description;\n\n &__label {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n @include truncate;\n color: $headingColor;\n display: block;\n margin-bottom: space(\"xsmall\");\n\n &:empty {\n display: none;\n }\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &__chips {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n border-radius: $buttonBorderRadius;\n gap: space(\"medium\");\n\n &:focus-within {\n .is-focused[active] {\n --background-color: #{$colorPrimary90};\n\n @include highContrast() {\n --background-color: Canvas;\n }\n }\n }\n }\n\n &__chip {\n &.is-focused:not([active]) {\n --background-color: #{$colorSecondary40};\n\n @include highContrast() {\n --background-color: Highlight;\n }\n }\n }\n\n // &__dropdown {\n // @include mq($from: medium) {\n // display: none;\n // }\n // }\n\n // &__description-wrapper {\n // @include mq($to: medium) {\n // display: none;\n // }\n // }\n\n &--has-error &__error,\n &--has-description &__description {\n margin-top: space(\"xsmall\");\n }\n\n /* Hidden label */\n\n &--has-label-hidden &__label {\n @include visuallyhidden;\n }\n\n /* Disabled */\n\n &--is-disabled &__chips,\n &--is-disabled &__label {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Event, EventEmitter, State, Fragment, Listen } from \"@stencil/core\";\n\nimport {\n StzhChipselectItem,\n StzhChipselectChangeEvent,\n // StzhDropdownChangeEvent\n} from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\n// import { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nlet chipselectCounter = 0;\n\n/**\n * @slot - Slot for `stzh-checkbox` elements\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 */\n@Component({\n tag: \"stzh-chipselect\",\n styleUrl: \"stzh-chipselect.scss\",\n scoped: true,\n})\nexport class StzhChipselect {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** The list of chips */\n @Prop() data: string | StzhChipselectItem[] = [];\n private _data: StzhChipselectItem[] = [];\n // private _dataDropdown: any[] = [];\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Multiple */\n @Prop({ mutable: true }) multiple: boolean = false;\n\n /** Value */\n @Prop({ mutable: true }) value: string | string[] = \"\";\n private _value: string[] = [];\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string | 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 /** Whether all chips are disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\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 @State() activeFocusOptionIndex: number = -1;\n\n @Element() element: HTMLStzhChipselectElement;\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhChipselectChangeEvent>;\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[] | string) {\n if (typeof newValue === \"string\") {\n try {\n const parsedValue = JSON.parse(newValue); // since parsing a number like string (i.e. \"1\") will return a number and parsing a boolean like string (i.e. \"true\") will return a boolean we need to check if the parsed value is indeed an array.\n if (Array.isArray(parsedValue)) {\n this._value = parsedValue;\n } else {\n this._value = newValue ? [newValue] : [];\n }\n } catch (ex) {\n this._value = newValue ? [newValue] : [];\n }\n } else {\n this._value = newValue ? newValue : [];\n }\n }\n\n @Watch(\"data\")\n dataWatcher(newValue: StzhChipselectItem[] | string) {\n if (typeof newValue === \"string\") {\n this._data = JSON.parse(newValue);\n } else {\n this._data = newValue;\n }\n\n this._data.map(dataEntry => {\n if (typeof dataEntry.value !== \"string\") {\n throw new TypeError(\n `${dataEntry.value} is not a string. The data prop only accepts arrays (or stringified arrays), where the value property is a string. Consult the StzhChipselectItem type definition for more information.`,\n );\n }\n });\n // this._dataDropdown = this._data.map((data) => {\n // return {\n // text: data.counter\n // ? `${data.label} (${data.counter})`\n // : data.label,\n // value: data.value\n // }\n // });\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 private id: string;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n\n // this.stzhChange.emit({\n // component: \"stzh-chipselect\",\n // value: this.value\n // });\n };\n\n private handleChipClick = async (data: StzhChipselectItem, index: number) => {\n if (this.multiple) {\n if (data.value === \"\" && this._value.length > 0 && !(this._value.length === 1 && this._value[0] === \"\")) {\n this.value = [];\n } else if (data.value !== \"\") {\n this.value = this._value.includes(data.value)\n ? this._value.filter(value => value !== data.value)\n : [...this._value, data.value];\n }\n } else {\n this.value = data.value;\n }\n\n this.activeFocusOptionIndex = index;\n\n await this.waitForNextRender();\n\n this.stzhChange.emit({\n component: \"stzh-chipselect\",\n value: this.multiple ? this._value : this._value[0],\n });\n };\n\n // private handleDropdownChange = async (event: CustomEvent<StzhDropdownChangeEvent>) => {\n // this.value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n\n // this.activeFocusOptionIndex = this._data.findIndex(data => {\n // return data.value === this.value;\n // });\n\n // await this.waitForNextRender();\n\n // this.stzhChange.emit({\n // component: \"stzh-chipselect\",\n // value: this.value\n // })\n // }\n\n private handleKeydown = (event: KeyboardEvent) => {\n let newActiveIndex: number = null;\n const activeOptionIndex = this.activeFocusOptionIndex;\n\n if (event.key === \"ArrowUp\" || event.key === \"ArrowLeft\") {\n event.preventDefault();\n\n if (activeOptionIndex > 0) {\n newActiveIndex = activeOptionIndex - 1;\n }\n } else if (event.key === \"ArrowDown\" || event.key === \"ArrowRight\") {\n event.preventDefault();\n\n if (activeOptionIndex < this._data.length - 1) {\n newActiveIndex = activeOptionIndex + 1;\n }\n } else if (event.key === \" \" || event.key === \"Enter\") {\n event.preventDefault();\n \n if (activeOptionIndex < 0) {\n return;\n }\n\n if (this.multiple) {\n if (\n this._data[activeOptionIndex].value === \"\" &&\n this._value.length > 0 &&\n !(this._value.length === 1 && this._value[0] === \"\")\n ) {\n this.value = [];\n } else if (this._data[activeOptionIndex].value !== \"\") {\n this.value = this._value.includes(this._data[activeOptionIndex].value)\n ? this._value.filter(value => value !== this._data[activeOptionIndex].value)\n : [...this._value, this._data[activeOptionIndex].value];\n }\n } else {\n this.value = this._data[activeOptionIndex].value;\n }\n this.stzhChange.emit({\n component: \"stzh-chipselect\",\n value: this.value,\n });\n }\n\n if (newActiveIndex !== null) {\n this.activeFocusOptionIndex = newActiveIndex;\n }\n };\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n }\n\n async componentWillLoad() {\n this.id = `stzh-chipselect-${chipselectCounter++}`;\n\n this.dataWatcher(this.data);\n this.errorWatcher(this.error);\n this.valueWatcher(this.value);\n\n this.defaultValue = this.defaultValue || this.value;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"chipselect\");\n }\n }\n\n render() {\n const descriptionUsed = !!this.description;\n const descriptionLongUsed = !!this.descriptionLong;\n const errorUsed = !!this.error;\n\n const hasActive = this.activeFocusOptionIndex >= 0;\n const activeId = hasActive ? `${this.id}-option-${this.activeFocusOptionIndex}` : undefined;\n\n const classes = {\n \"stzh-chipselect\": true,\n \"stzh-chipselect--has-description\": descriptionUsed,\n \"stzh-chipselect--has-description-long\": descriptionLongUsed,\n \"stzh-chipselect--has-error\": errorUsed,\n \"stzh-chipselect--is-invalid\": this.invalid || errorUsed,\n \"stzh-chipselect--is-disabled\": this.disabled,\n \"stzh-chipselect--is-required\": this.required,\n \"stzh-chipselect--has-label-hidden\": this.labelHidden,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed}>\n <div class={classes}>\n {this.multiple ? (\n <Fragment>\n {this._value.map(value => (\n <input type=\"hidden\" name={this.name} value={value} />\n ))}\n </Fragment>\n ) : (\n <input type=\"hidden\" name={this.name} value={this.value} />\n )}\n\n <label class=\"stzh-chipselect__label\" htmlFor={this.id}>\n {this.label ? this.label : <slot></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-chipselect__marker\">\n <span class=\"stzh-chipselect__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-chipselect__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n {this._data.length > 0 && (\n <Fragment>\n <div\n id={this.id}\n class=\"stzh-chipselect__chips\"\n role=\"listbox\"\n tabindex=\"0\"\n aria-multiselectable={this.multiple ? \"true\" : \"false\"}\n aria-activedescendant={activeId}\n aria-describedby={`${this.id}-description ${this.a11yDescribedby}`}\n onKeyDown={this.handleKeydown}\n >\n {this._data.map((data, index) => (\n <stzh-chip\n role=\"option\"\n class={{\n \"stzh-chipselect__chip\": true,\n \"is-focused\": this.activeFocusOptionIndex === index,\n }}\n label={data.label}\n counter={data.counter}\n icon={data.icon}\n type={data.type}\n inverted={data.inverted}\n variant={data.variant}\n size={data.size || \"small\"}\n disabled={this.disabled || data.disabled}\n active={\n this._value.includes(data.value) ||\n (!this.multiple && !data.value && (this._value.length === 0 || this._value[0] === \"\")) ||\n (!data.value &&\n this.multiple &&\n (this._value.length === 0 || (this._value.length === 1 && this._value[0] === \"\")))\n }\n aria-selected={\n this._value.includes(data.value) ||\n (!this.multiple && !data.value && (this._value.length === 0 || this._value[0] === \"\")) ||\n (!data.value &&\n this.multiple &&\n (this._value.length === 0 || (this._value.length === 1 && this._value[0] === \"\")))\n ? \"true\"\n : \"false\"\n }\n id={`${this.id}-option-${index}`}\n a11yTabindex=\"-1\"\n onClick={() => this.handleChipClick(data, index)}\n ></stzh-chip>\n ))}\n </div>\n\n <StzhInputDescription\n classPrefix=\"stzh-chipselect\"\n id={`${this.id}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n\n {/* <stzh-dropdown\n class=\"stzh-chipselect__dropdown\"\n multiple={this.multiple}\n disabled={this.disabled}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n required={this.required}\n invalid={this.invalid}\n items={[this.value]}\n label={this.label}\n labelHidden={this.labelHidden}\n options={this._dataDropdown}\n hideOptional={this.hideOptional}\n onStzhChange={this.handleDropdownChange}\n ></stzh-dropdown> */}\n </Fragment>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,9 +1,9 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-NuLYh9v8.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
2
2
  import { c as camelCase, h as hasSlot } from './p-CN5apKPb.js';
3
- import { S as StzhInputDescription } from './p-hEo-NNbg.js';
4
- import { d as defineCustomElement$3 } from './p-Cz5bXTUE.js';
5
- import { d as defineCustomElement$2 } from './p-B_Cs1tAp.js';
6
- import { d as defineCustomElement$1 } from './p-BV3gXOYs.js';
3
+ import { S as StzhInputDescription } from './p-DTDpjDcx.js';
4
+ import { d as defineCustomElement$3 } from './p-BU4OH8Cm.js';
5
+ import { d as defineCustomElement$2 } from './p-BQMsQk8o.js';
6
+ import { d as defineCustomElement$1 } from './p-BN-54ren.js';
7
7
 
8
8
  const stzhRadiogroupCss = () => `.sc-stzh-radiogroup-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-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::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-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;
9
9
 
@@ -257,6 +257,6 @@ function defineCustomElement() {
257
257
  }
258
258
 
259
259
  export { StzhRadiogroup as S, defineCustomElement as d };
260
- //# sourceMappingURL=p-HG0ASPyV.js.map
260
+ //# sourceMappingURL=p-CP2-kI_R.js.map
261
261
 
262
- //# sourceMappingURL=p-HG0ASPyV.js.map
262
+ //# sourceMappingURL=p-CP2-kI_R.js.map
@@ -1 +1 @@
1
- {"file":"p-HG0ASPyV.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,21JAA21J,CAAC;;ACU73J,MAAM,cAAc,GAAG,gDAAgD;AAEvE,IAAI,iBAAiB,GAAG,CAAC;MAcZ,cAAc,iBA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,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EACnE,CAAA,CACH,CACQ,CACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n --legend-color: var(--stzh-radio-group-legend-color, #{$headingColor});\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radiogroup {\n @include input-description;\n margin: 0;\n padding: 0;\n border: none;\n\n &__fields {\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n gap: space(\"medium\");\n }\n\n &__legend {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n color: var(--legend-color);\n padding: 0;\n margin-bottom: space(\"xsmall\");\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--is-invalid &__legend,\n &--has-error &__legend {\n color: $colorError60;\n }\n\n &--is-disabled &__legend {\n color: $colorGrey60;\n }\n\n &--direction-horizontal &__fields {\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: space(\"medium\");\n column-gap: space(\"xxlarge\");\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = \"stzh-radio, stzh-button[type=radio], stzh-card\";\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\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 */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true,\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\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 /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\n this.updateCheckedRadioByValue(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(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\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 @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"disabled\") {\n // Only set the disabled if the radio is not already disabled\n if (!radio.disabled) {\n radio.disabled = value;\n }\n } else if (prop === \"name\" || this._preventUpdateProperties.indexOf(prop) === -1) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private get errorUsed(): boolean {\n return hasSlot(this.element, \"error\") || this._error?.length > 0;\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"hide-optional\", true);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n this.updateRadiosProperty(\"invalid\", this.invalid || this.errorUsed);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchRequired(this.required);\n };\n\n componentDidLoad() {\n this.defaultValue = this.defaultValue ? this.defaultValue : this.value;\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radiogroup\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": this.errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid || this.errorUsed,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,\n };\n\n return (\n <Host is-invalid={this.invalid || this.errorUsed}>\n <fieldset class={classes}>\n {this.legend && (\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {!this.hideOptional && (\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </legend>\n )}\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n {(this.errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </fieldset>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CP2-kI_R.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,21JAA21J,CAAC;;ACU73J,MAAM,cAAc,GAAG,gDAAgD;AAE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EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EACnE,CAAA,CACH,CACQ,CACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n --legend-color: var(--stzh-radio-group-legend-color, #{$headingColor});\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radiogroup {\n @include input-description;\n margin: 0;\n padding: 0;\n border: none;\n\n &__fields {\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n gap: space(\"medium\");\n }\n\n &__legend {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n color: var(--legend-color);\n padding: 0;\n margin-bottom: space(\"xsmall\");\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--is-invalid &__legend,\n &--has-error &__legend {\n color: $colorError60;\n }\n\n &--is-disabled &__legend {\n color: $colorGrey60;\n }\n\n &--direction-horizontal &__fields {\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: space(\"medium\");\n column-gap: space(\"xxlarge\");\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = \"stzh-radio, stzh-button[type=radio], stzh-card\";\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\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 */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true,\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\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 /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\n this.updateCheckedRadioByValue(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(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\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 @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"disabled\") {\n // Only set the disabled if the radio is not already disabled\n if (!radio.disabled) {\n radio.disabled = value;\n }\n } else if (prop === \"name\" || this._preventUpdateProperties.indexOf(prop) === -1) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private get errorUsed(): boolean {\n return hasSlot(this.element, \"error\") || this._error?.length > 0;\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"hide-optional\", true);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n this.updateRadiosProperty(\"invalid\", this.invalid || this.errorUsed);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchRequired(this.required);\n };\n\n componentDidLoad() {\n this.defaultValue = this.defaultValue ? this.defaultValue : this.value;\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radiogroup\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": this.errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid || this.errorUsed,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,\n };\n\n return (\n <Host is-invalid={this.invalid || this.errorUsed}>\n <fieldset class={classes}>\n {this.legend && (\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {!this.hideOptional && (\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </legend>\n )}\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n {(this.errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </fieldset>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
- import { p as proxyCustomElement, t as transformTag, H, d as createEvent, h, e as Host } from './p-NuLYh9v8.js';
2
- import { d as defineCustomElement$1 } from './p-DP5h4DrO.js';
1
+ import { p as proxyCustomElement, t as transformTag, H, d as createEvent, h, e as Host } from './p-DAS4ghWk.js';
2
+ import { d as defineCustomElement$1 } from './p-C3DzudRE.js';
3
3
 
4
4
  const stzhAccordionCss = () => `: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{--stzh-section-padding-top:0px;--stzh-section-padding-bottom:0px;--stzh-section-margin-top:0px;--stzh-section-margin-bottom:0px;--margin-left:inherit;--margin-right:inherit}.stzh-accordion{display:grid;gap:var(--stzh-space-xsmall);margin-left:var(--margin-left);margin-right:var(--margin-left)}.stzh-accordion__heading{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-accordion__heading{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-accordion__heading{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-accordion__heading{margin-bottom:var(--stzh-space-xlarge)}}.stzh-accordion{}.stzh-accordion--is-nested{margin-left:calc(var(--stzh-space-medium) * -1)}@media screen and (min-width: 600px){.stzh-accordion--is-nested{margin-left:calc(var(--stzh-space-large) * -1)}}@media screen and (min-width: 900px){.stzh-accordion--is-nested{margin-left:calc(var(--stzh-space-xlarge) * -1)}}@media screen and (min-width: 1260px){.stzh-accordion--is-nested{margin-left:calc(var(--stzh-space-xxlarge) * -1)}}.stzh-accordion--is-nested{margin-right:calc(var(--stzh-space-medium) * -1)}@media screen and (min-width: 600px){.stzh-accordion--is-nested{margin-right:calc(var(--stzh-space-large) * -1)}}@media screen and (min-width: 900px){.stzh-accordion--is-nested{margin-right:calc(var(--stzh-space-xlarge) * -1)}}@media screen and (min-width: 1260px){.stzh-accordion--is-nested{margin-right:calc(var(--stzh-space-xxlarge) * -1)}}`;
5
5
 
@@ -129,6 +129,6 @@ function defineCustomElement() {
129
129
  }
130
130
 
131
131
  export { StzhAccordion as S, defineCustomElement as d };
132
- //# sourceMappingURL=p-D53CUUFG.js.map
132
+ //# sourceMappingURL=p-CPlP1yak.js.map
133
133
 
134
- //# sourceMappingURL=p-D53CUUFG.js.map
134
+ //# sourceMappingURL=p-CPlP1yak.js.map
@@ -1 +1 @@
1
- {"file":"p-D53CUUFG.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,s4EAAs4E,CAAC;;MCY15E,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAAyB,SAAS;;AAGzC,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAGrC,QAAA,IAAW,CAAA,WAAA,GAAY,IAAI;;AAG3B,QAAA,IAAe,CAAA,eAAA,GAAY,IAAI;AAiHxC;AAvGC,IAAA,cAAc,CAAC,QAA8B,EAAA;AAC3C,QAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;AAC1B,YAAA,SAAS,EAAE,gBAAgB;AAC3B,YAAA,KAAK,EAAE,QAAQ;AAChB,SAAA,CAAC;;AAIJ,IAAA,YAAY,CAAC,KAA8C,EAAA;AACzD,QAAA,MAAM,mBAAmB,GAAG,KAAK,C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,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,GAAG,EAAA,EAAE,IAAI,CAAC,OAAO,CAAgB,CACjD,CACP,EACD,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-accordion/stzh-accordion.scss?tag=stzh-accordion&encapsulation=shadow","src/components/stzh-accordion/stzh-accordion.tsx"],"sourcesContent":[":host {\n // disable section paddings and margins\n --stzh-section-padding-top: 0px;\n --stzh-section-padding-bottom: 0px;\n --stzh-section-margin-top: 0px;\n --stzh-section-margin-bottom: 0px;\n\n --margin-left: inherit;\n --margin-right: inherit;\n}\n\n.stzh-accordion {\n display: grid;\n gap: space(\"xsmall\");\n margin-left: var(--margin-left);\n margin-right: var(--margin-left);\n\n &__heading {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n\n /* is nested within another accordion */\n\n &--is-nested {\n @include spaceCurve(\"margin-left\", \"regular\", true);\n @include spaceCurve(\"margin-right\", \"regular\", true);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport { StzhAccordionItemOpenEvent, StzhAccordionVariant, StzhAccordionVariantChangeEvent } from \"../../index\";\n\n/**\n * @slot - Slot for `stzh-accordion-item` elements\n */\n@Component({\n tag: \"stzh-accordion\",\n styleUrl: \"stzh-accordion.scss\",\n shadow: true,\n})\nexport class StzhAccordion {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhAccordionVariant = \"default\";\n\n /** Heading */\n @Prop({ reflect: true }) heading: string = \"\";\n\n /** Whether folds are collapsible */\n @Prop() collapsible: boolean = true;\n\n /** Whether multiple folds can be opened at once */\n @Prop() multiselectable: boolean = true;\n\n @Element() element: HTMLStzhAccordionElement;\n\n /** Variant change event */\n @Event() stzhVariantChange: EventEmitter<StzhAccordionVariantChangeEvent>;\n\n @State() isNested: boolean;\n\n @Watch(\"variant\")\n variantWatcher(newValue: StzhAccordionVariant) {\n this.stzhVariantChange.emit({\n component: \"stzh-accordion\",\n value: newValue,\n });\n }\n\n @Listen(\"stzhOpen\")\n openListener(event: CustomEvent<StzhAccordionItemOpenEvent>) {\n const accordionItemOpened = event.target as HTMLStzhAccordionItemElement;\n const accordionOpened = accordionItemOpened.closest(\"stzh-accordion\");\n\n if (\n this.multiselectable ||\n (event.detail && event.detail.component !== \"stzh-accordion-item\") ||\n accordionOpened !== this.element\n ) {\n return;\n }\n\n const items: HTMLStzhAccordionItemElement[] = Array.from(accordionOpened.querySelectorAll(\"stzh-accordion-item\"));\n items.forEach(item => {\n if (item !== accordionItemOpened) {\n item.hide();\n }\n });\n }\n\n /** Set focus to accordion item */\n @Method()\n async setItemFocus(accordionItem: HTMLStzhAccordionItemElement, action: string) {\n const accordion = accordionItem.closest(\"stzh-accordion\");\n\n if (accordion !== this.element) {\n return;\n }\n\n const items = (\n Array.from(accordion.querySelectorAll(\":scope > stzh-accordion-item\")) as HTMLStzhAccordionItemElement[]\n ).filter(item => !item.disabled);\n\n const currentIndex = items.indexOf(accordionItem);\n\n if ((action === \"prev\" || action === \"next\") && currentIndex === null) {\n action = action === \"prev\" ? \"last\" : \"first\";\n }\n\n if (action === \"prev\" && currentIndex === 0) {\n action = \"last\";\n }\n\n if (action === \"next\" && currentIndex === items.length - 1) {\n action = \"first\";\n }\n\n if (action === \"prev\") {\n items[currentIndex - 1].focus();\n } else if (action === \"next\") {\n items[currentIndex + 1].focus();\n } else if (action === \"last\") {\n items[items.length - 1].focus();\n } else if (action === \"first\") {\n items[0].focus();\n } else {\n accordionItem.focus();\n }\n }\n\n private checkIfNested() {\n let parentElement = this.element.parentElement;\n\n while (parentElement) {\n if (parentElement.tagName.toLowerCase() === \"stzh-accordion\") {\n this.isNested = true;\n break;\n }\n parentElement = parentElement.parentElement;\n }\n }\n\n componentDidLoad() {\n this.checkIfNested();\n }\n\n render() {\n const classes = {\n \"stzh-accordion\": true,\n \"stzh-accordion--is-nested\": this.isNested,\n };\n\n return (\n <Host>\n <div class={classes}>\n {this.heading && (\n <div class=\"stzh-accordion__heading\">\n <stzh-heading level=\"2\">{this.heading}</stzh-heading>\n </div>\n )}\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CPlP1yak.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,s4EAAs4E,CAAC;;MCY15E,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAAyB,SAAS;;AAGzC,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAGrC,QAAA,IAAW,CAAA,WAAA,GAAY,IAAI;;AAG3B,QAAA,IAAe,CAAA,eAAA,GAAY,IAAI;AAiHxC;AAvGC,IAAA,cAAc,CAAC,QAA8B,EAAA;AAC3C,QAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;AAC1B,YAAA,SAAS,EAAE,gBAAgB;AAC3B,YAAA,KAAK,EAAE,QAAQ;AAChB,SAAA,CAAC;;AAIJ,IAAA,YAAY,CAAC,KAA8C,EAAA;AACzD,QAAA,MAAM,mBAAmB,GAAG,KAAK,CAAC,MAAsC;QACxE,MAAM,eAAe,GAAG,mBAAmB,CAAC,OAAO,CAAC,gBAAgB,CAAC;QAErE,IACE,IAAI,CAAC,eAAe;aACnB,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,SAAS,KAAK,qBAAqB,CAAC;AAClE,YAAA,eAAe,KAAK,IAAI,CAAC,OAAO,EAChC;YACA;;AAGF,QAAA,MAAM,KAAK,GAAmC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;AACjH,QAAA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;;AAC1B,aAAA,IAAI,MAAM,KAAK,OAAO,EAAE;AAC7B,YAAA,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE;;aACX;YACL,aAAa,CAAC,KAAK,EAAE;;;IAIjB,aAAa,GAAA;AACnB,QAAA,IAAI,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa;QAE9C,OAAO,aAAa,EAAE;YACpB,IAAI,aAAa,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,gBAAgB,EAAE;AAC5D,gBAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;gBACpB;;AAEF,YAAA,aAAa,GAAG,aAAa,CAAC,aAAa;;;IAI/C,gBAAgB,GAAA;QACd,IAAI,CAAC,aAAa,EAAE;;IAGtB,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,gBAAgB,EAAE,IAAI;YACtB,2BAA2B,EAAE,IAAI,CAAC,QAAQ;SAC3C;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EAChB,IAAI,CAAC,OAAO,KACX,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,yBAAyB,EAAA,EAClC,CAAc,CAAA,cAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,GAAG,EAAA,EAAE,IAAI,CAAC,OAAO,CAAgB,CACjD,CACP,EACD,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-accordion/stzh-accordion.scss?tag=stzh-accordion&encapsulation=shadow","src/components/stzh-accordion/stzh-accordion.tsx"],"sourcesContent":[":host {\n // disable section paddings and margins\n --stzh-section-padding-top: 0px;\n --stzh-section-padding-bottom: 0px;\n --stzh-section-margin-top: 0px;\n --stzh-section-margin-bottom: 0px;\n\n --margin-left: inherit;\n --margin-right: inherit;\n}\n\n.stzh-accordion {\n display: grid;\n gap: space(\"xsmall\");\n margin-left: var(--margin-left);\n margin-right: var(--margin-left);\n\n &__heading {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n\n /* is nested within another accordion */\n\n &--is-nested {\n @include spaceCurve(\"margin-left\", \"regular\", true);\n @include spaceCurve(\"margin-right\", \"regular\", true);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport { StzhAccordionItemOpenEvent, StzhAccordionVariant, StzhAccordionVariantChangeEvent } from \"../../index\";\n\n/**\n * @slot - Slot for `stzh-accordion-item` elements\n */\n@Component({\n tag: \"stzh-accordion\",\n styleUrl: \"stzh-accordion.scss\",\n shadow: true,\n})\nexport class StzhAccordion {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhAccordionVariant = \"default\";\n\n /** Heading */\n @Prop({ reflect: true }) heading: string = \"\";\n\n /** Whether folds are collapsible */\n @Prop() collapsible: boolean = true;\n\n /** Whether multiple folds can be opened at once */\n @Prop() multiselectable: boolean = true;\n\n @Element() element: HTMLStzhAccordionElement;\n\n /** Variant change event */\n @Event() stzhVariantChange: EventEmitter<StzhAccordionVariantChangeEvent>;\n\n @State() isNested: boolean;\n\n @Watch(\"variant\")\n variantWatcher(newValue: StzhAccordionVariant) {\n this.stzhVariantChange.emit({\n component: \"stzh-accordion\",\n value: newValue,\n });\n }\n\n @Listen(\"stzhOpen\")\n openListener(event: CustomEvent<StzhAccordionItemOpenEvent>) {\n const accordionItemOpened = event.target as HTMLStzhAccordionItemElement;\n const accordionOpened = accordionItemOpened.closest(\"stzh-accordion\");\n\n if (\n this.multiselectable ||\n (event.detail && event.detail.component !== \"stzh-accordion-item\") ||\n accordionOpened !== this.element\n ) {\n return;\n }\n\n const items: HTMLStzhAccordionItemElement[] = Array.from(accordionOpened.querySelectorAll(\"stzh-accordion-item\"));\n items.forEach(item => {\n if (item !== accordionItemOpened) {\n item.hide();\n }\n });\n }\n\n /** Set focus to accordion item */\n @Method()\n async setItemFocus(accordionItem: HTMLStzhAccordionItemElement, action: string) {\n const accordion = accordionItem.closest(\"stzh-accordion\");\n\n if (accordion !== this.element) {\n return;\n }\n\n const items = (\n Array.from(accordion.querySelectorAll(\":scope > stzh-accordion-item\")) as HTMLStzhAccordionItemElement[]\n ).filter(item => !item.disabled);\n\n const currentIndex = items.indexOf(accordionItem);\n\n if ((action === \"prev\" || action === \"next\") && currentIndex === null) {\n action = action === \"prev\" ? \"last\" : \"first\";\n }\n\n if (action === \"prev\" && currentIndex === 0) {\n action = \"last\";\n }\n\n if (action === \"next\" && currentIndex === items.length - 1) {\n action = \"first\";\n }\n\n if (action === \"prev\") {\n items[currentIndex - 1].focus();\n } else if (action === \"next\") {\n items[currentIndex + 1].focus();\n } else if (action === \"last\") {\n items[items.length - 1].focus();\n } else if (action === \"first\") {\n items[0].focus();\n } else {\n accordionItem.focus();\n }\n }\n\n private checkIfNested() {\n let parentElement = this.element.parentElement;\n\n while (parentElement) {\n if (parentElement.tagName.toLowerCase() === \"stzh-accordion\") {\n this.isNested = true;\n break;\n }\n parentElement = parentElement.parentElement;\n }\n }\n\n componentDidLoad() {\n this.checkIfNested();\n }\n\n render() {\n const classes = {\n \"stzh-accordion\": true,\n \"stzh-accordion--is-nested\": this.isNested,\n };\n\n return (\n <Host>\n <div class={classes}>\n {this.heading && (\n <div class=\"stzh-accordion__heading\">\n <stzh-heading level=\"2\">{this.heading}</stzh-heading>\n </div>\n )}\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-NuLYh9v8.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
2
2
 
3
3
  const stzhListCss = () => `@charset "UTF-8";:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{--font-size:var(--stzh-list-font-size, var(--stzh-font-milli-font-size));--line-height:var(
4
4
  --stzh-list-line-height,
@@ -45,6 +45,6 @@ function defineCustomElement() {
45
45
  }
46
46
 
47
47
  export { StzhList as S, defineCustomElement as d };
48
- //# sourceMappingURL=p-BTTrqHii.js.map
48
+ //# sourceMappingURL=p-CQY455PH.js.map
49
49
 
50
- //# sourceMappingURL=p-BTTrqHii.js.map
50
+ //# sourceMappingURL=p-CQY455PH.js.map
@@ -1 +1 @@
1
- {"file":"p-BTTrqHii.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA,m4BAAm4B,CAAC;;MCIv3B,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA0C,WAAW;AAkBtF;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,WAAW,EAAE,IAAI;YACjB,CAAC,CAAA,WAAA,EAAc,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SAC/C;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,EAAA,EAC9B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list/stzh-list.scss?tag=stzh-list&encapsulation=shadow","src/components/stzh-list/stzh-list.tsx"],"sourcesContent":[":host {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-milli-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-milli-text-line-height)\n );\n --letter-spacing: var(--stzh-list-letter-spacing, normal);\n\n @include mq($from: medium) {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-centi-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-centi-text-line-height)\n );\n }\n\n counter-reset: li-counter;\n\n ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n counter-increment: li-counter;\n position: relative;\n }\n}\n\n:host([variant=\"unordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n\n &::before {\n content: \"–\"; // old one: \\2014\n }\n}\n\n:host([variant=\"ordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"large\")} + #{space(\"small\")});\n\n &::before {\n content: counter(li-counter) \". \";\n }\n}\n\n:host([variant=\"checklist\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: visible;\n\n padding-left: calc(#{iconSize(\"medium\")} + #{space(\"small\")});\n}\n\n.stzh-list {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-list-item`\n */\n@Component({\n tag: \"stzh-list\",\n styleUrl: \"stzh-list.scss\",\n shadow: true,\n})\nexport class StzhList {\n /** Variant */\n @Prop({ reflect: true }) variant: \"unordered\" | \"ordered\" | \"checklist\" = \"unordered\";\n\n @Element() element: HTMLStzhListElement;\n\n render() {\n const classes = {\n \"stzh-list\": true,\n [`stzh-list--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div class={classes} role=\"list\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CQY455PH.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA,m4BAAm4B,CAAC;;MCIv3B,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA0C,WAAW;AAkBtF;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,WAAW,EAAE,IAAI;YACjB,CAAC,CAAA,WAAA,EAAc,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SAC/C;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,EAAA,EAC9B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list/stzh-list.scss?tag=stzh-list&encapsulation=shadow","src/components/stzh-list/stzh-list.tsx"],"sourcesContent":[":host {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-milli-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-milli-text-line-height)\n );\n --letter-spacing: var(--stzh-list-letter-spacing, normal);\n\n @include mq($from: medium) {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-centi-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-centi-text-line-height)\n );\n }\n\n counter-reset: li-counter;\n\n ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n counter-increment: li-counter;\n position: relative;\n }\n}\n\n:host([variant=\"unordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n\n &::before {\n content: \"–\"; // old one: \\2014\n }\n}\n\n:host([variant=\"ordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"large\")} + #{space(\"small\")});\n\n &::before {\n content: counter(li-counter) \". \";\n }\n}\n\n:host([variant=\"checklist\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: visible;\n\n padding-left: calc(#{iconSize(\"medium\")} + #{space(\"small\")});\n}\n\n.stzh-list {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-list-item`\n */\n@Component({\n tag: \"stzh-list\",\n styleUrl: \"stzh-list.scss\",\n shadow: true,\n})\nexport class StzhList {\n /** Variant */\n @Prop({ reflect: true }) variant: \"unordered\" | \"ordered\" | \"checklist\" = \"unordered\";\n\n @Element() element: HTMLStzhListElement;\n\n render() {\n const classes = {\n \"stzh-list\": true,\n [`stzh-list--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div class={classes} role=\"list\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-NuLYh9v8.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
2
2
 
3
3
  const stzhStatusCss = () => `.sc-stzh-status-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-status-h,[stzh-hidden].sc-stzh-status-h{display:none}.sc-stzh-status-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-status-h *.sc-stzh-status,.sc-stzh-status-h *.sc-stzh-status::before,.sc-stzh-status-h *.sc-stzh-status::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-status-h .has-focus.sc-stzh-status{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-status-h .stzh-fylingfocus-focused.sc-stzh-status{outline-style:none !important}.sc-stzh-status-h .stzh-fylingfocus-focused.sc-stzh-status::-moz-focus-inner{border:0 !important}.sc-stzh-status-h{--color:var(--stzh-base-color);--min-width:none}[with-loadingbar].sc-stzh-status-h:not([with-loadingbar=false]){--min-width:10rem}[type=success].sc-stzh-status-h{--color:var(--stzh-color-success70)}[type=warning].sc-stzh-status-h{--color:var(--stzh-color-warning90)}[type=error].sc-stzh-status-h{--color:var(--stzh-color-error70)}[type=info].sc-stzh-status-h{--color:var(--stzh-color-midnightblue70)}.stzh-status.sc-stzh-status{min-width:var(--min-width);color:var(--color)}.stzh-status__dot.sc-stzh-status{border-radius:50%;width:0.75rem;height:0.75rem;background-color:currentColor;margin-right:var(--stzh-space-xxsmall)}.stzh-status__bar.sc-stzh-status{display:block;height:0.25rem;border-radius:0.75rem;background-color:var(--stzh-color-old-grey13);margin-top:var(--stzh-space-xxsmall)}.stzh-status__bar-inner.sc-stzh-status{display:block;height:100%;width:0;border-radius:0.75rem;background:currentColor}.stzh-status__text.sc-stzh-status{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:flex;align-items:center}`;
4
4
 
@@ -49,6 +49,6 @@ function defineCustomElement() {
49
49
  }
50
50
 
51
51
  export { StzhStatus as S, defineCustomElement as d };
52
- //# sourceMappingURL=p-B0BEoXX-.js.map
52
+ //# sourceMappingURL=p-CSdJ0c_y.js.map
53
53
 
54
- //# sourceMappingURL=p-B0BEoXX-.js.map
54
+ //# sourceMappingURL=p-CSdJ0c_y.js.map
@@ -1 +1 @@
1
- {"file":"p-B0BEoXX-.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,gqEAAgqE,CAAC;;MCWjrE,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAO,CAAA,OAAA,GAAW,CAAC;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAGhD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAmB,SAAS;AA+B1D;IA3BC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,aAAa,EAAE,IAAI;YACnB,CAAC,CAAA,kBAAA,EAAqB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC3B,CAAC,IAAI,CAAC,cAAc,IAAI,4DAAK,KAAK,EAAC,kBAAkB,EAAO,CAAA,EAC5D,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,oBAAoB,EAAA,EAAE,IAAI,CAAC,KAAK,CAAO,CAC7D,EACL,IAAI,CAAC,cAAc,KAClB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAG,CAAA,CAAA;AAC1B,aAAA,EAAA,CACI,CACH,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","src/components/stzh-status/stzh-status.tsx"],"sourcesContent":["/**\n * @prop --color: Status color text\n */\n\n:host {\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning90};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError70};\n }\n\n &[type=\"info\"] {\n --color: #{$colorMidnightblue70};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space(\"xxsmall\");\n }\n\n &__bar {\n display: block;\n height: 4px;\n border-radius: 12px;\n background-color: $colorOldGrey13;\n margin-top: space(\"xxsmall\");\n }\n\n &__bar-inner {\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n }\n\n &__text {\n @include fontSize(\"micro\");\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { StzhStatusType } from \"../../index\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true,\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhStatusType = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n {!this.withLoadingbar && <div class=\"stzh-status__dot\"></div>}\n {this.label && <div class=\"stzh-status__label\">{this.label}</div>}\n </div>\n {this.withLoadingbar && (\n <div class=\"stzh-status__bar\">\n <div\n class=\"stzh-status__bar-inner\"\n style={{\n width: `${this.percent}%`,\n }}\n ></div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CSdJ0c_y.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,gqEAAgqE,CAAC;;MCWjrE,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAOU,QAAA,IAAO,CAAA,OAAA,GAAW,CAAC;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAGhD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAI,CAAA,IAAA,GAAmB,SAAS;AA+B1D;IA3BC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,aAAa,EAAE,IAAI;YACnB,CAAC,CAAA,kBAAA,EAAqB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC3B,CAAC,IAAI,CAAC,cAAc,IAAI,4DAAK,KAAK,EAAC,kBAAkB,EAAO,CAAA,EAC5D,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,oBAAoB,EAAA,EAAE,IAAI,CAAC,KAAK,CAAO,CAC7D,EACL,IAAI,CAAC,cAAc,KAClB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,wBAAwB,EAC9B,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAG,CAAA,CAAA;AAC1B,aAAA,EAAA,CACI,CACH,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","src/components/stzh-status/stzh-status.tsx"],"sourcesContent":["/**\n * @prop --color: Status color text\n */\n\n:host {\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorSuccess70};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning90};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError70};\n }\n\n &[type=\"info\"] {\n --color: #{$colorMidnightblue70};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space(\"xxsmall\");\n }\n\n &__bar {\n display: block;\n height: 4px;\n border-radius: 12px;\n background-color: $colorOldGrey13;\n margin-top: space(\"xxsmall\");\n }\n\n &__bar-inner {\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n }\n\n &__text {\n @include fontSize(\"micro\");\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\nimport { StzhStatusType } from \"../../index\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true,\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhStatusType = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n {!this.withLoadingbar && <div class=\"stzh-status__dot\"></div>}\n {this.label && <div class=\"stzh-status__label\">{this.label}</div>}\n </div>\n {this.withLoadingbar && (\n <div class=\"stzh-status__bar\">\n <div\n class=\"stzh-status__bar-inner\"\n style={{\n width: `${this.percent}%`,\n }}\n ></div>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-NuLYh9v8.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DAS4ghWk.js';
2
2
  import { a as addWordBreakToLinks, h as hasSlot } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$2 } from './p-Db3dTAjX.js';
4
- import { d as defineCustomElement$1 } from './p-Cz5bXTUE.js';
3
+ import { d as defineCustomElement$2 } from './p-Cz-ha88J.js';
4
+ import { d as defineCustomElement$1 } from './p-BU4OH8Cm.js';
5
5
 
6
6
  const stzhLinkCss = () => `@charset "UTF-8";.sc-stzh-link-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-link-h,[stzh-hidden].sc-stzh-link-h{display:none}.sc-stzh-link-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-link-h *.sc-stzh-link,.sc-stzh-link-h *.sc-stzh-link::before,.sc-stzh-link-h *.sc-stzh-link::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-link-h .has-focus.sc-stzh-link{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-link-h .stzh-fylingfocus-focused.sc-stzh-link{outline-style:none !important}.sc-stzh-link-h .stzh-fylingfocus-focused.sc-stzh-link::-moz-focus-inner{border:0 !important}.sc-stzh-link-h{--font-size:var(--stzh-font-milli-font-size);--line-height:var(--stzh-font-milli-text-line-height);--letter-spacing:normal}@media screen and (min-width: 900px){.sc-stzh-link-h{--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal}}.sc-stzh-link-h{--color:var(--stzh-link-color);--text-decoration-line:var(--stzh-link-text-decoration-line);--icon-wrapper-height:var(--stzh-link-icon-wrapper-height);--icon-size:var(--stzh-link-icon-size);--height:var(--stzh-link-height, 40px);--hover-color:var(--stzh-link-hover-color);--hover-text-decoration-line:var(--stzh-link-hover-text-decoration-line)}@media screen and (min-width: 900px){.sc-stzh-link-h{--height:var(--stzh-link-height, auto)}}.sc-stzh-link-h{color:var(--color);display:inline-grid;width:auto;min-height:var(--height);pointer-events:var(--stzh-link-pointer-events, auto)}[height=auto].sc-stzh-link-h{--height:var(--stzh-link-auto-height, auto)}[fullwidth].sc-stzh-link-h:not([fullwidth=false]){width:100%;display:grid}[variant=secondary].sc-stzh-link-h{--color:var(--stzh-link-secondary-color);--hover-color:var(--stzh-link-secondary-hover-color)}[variant=back].sc-stzh-link-h{--text-decoration-line:none;--hover-color:var(--color)}[active].sc-stzh-link-h:not([active=false]){--color:var(--hover-color)}[disabled].sc-stzh-link-h:not([disabled=false]){--color:var(--stzh-color-grey60);--hover-color:var(--stzh-color-grey60)}.sc-stzh-link-h:where([size=small]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal}.sc-stzh-link-h:where([size=inherit]){--font-size:inherit;--line-height:inherit;--letter-spacing:inherit}.stzh-link.sc-stzh-link{font-size:var(--font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);font-family:inherit;position:relative;display:flex;align-items:center;justify-content:stretch;appearance:none;border:none;color:var(--color);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer;width:100%;-webkit-text-decoration-line:none;text-decoration-line:none;background-color:transparent;padding:0;border-radius:var(--stzh-button-border-radius);text-align:left}.stzh-link.sc-stzh-link:hover{color:var(--hover-color)}@media (hover: none){.stzh-link.sc-stzh-link:hover{color:inherit}}.stzh-link.sc-stzh-link:hover .stzh-link__text.sc-stzh-link{-webkit-text-decoration-line:var(--hover-text-decoration-line);text-decoration-line:var(--hover-text-decoration-line)}.stzh-link__vhidden.sc-stzh-link{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-link__inner.sc-stzh-link{display:flex;align-items:center;justify-content:center;flex-grow:1}.stzh-link__icon-wrapper.sc-stzh-link{--stzh-icon-size:var(--icon-size);display:none;align-items:center;justify-content:center;flex-shrink:0;width:auto;height:var(--icon-wrapper-height)}.stzh-link__text.sc-stzh-link{--stzh-base-color:initial;-webkit-text-decoration-line:var(--text-decoration-line);text-decoration-line:var(--text-decoration-line)}.stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-link__badge.sc-stzh-link{position:absolute;z-index:1;top:0;right:0}.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{display:inline-flex}.stzh-link--has-icon-only.sc-stzh-link .stzh-link__text.sc-stzh-link{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-link--badge-position-link.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:static}.stzh-link__badge.sc-stzh-link,.stzh-link--badge-position-link.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xxsmall) * -1);right:calc(var(--stzh-space-large) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:relative}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link+.stzh-link__text.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-small)}.stzh-link--align-left.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:flex-start}.stzh-link--align-right.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:flex-end}.stzh-link--align-center.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:center}.stzh-link--align-space-between.sc-stzh-link .stzh-link__inner.sc-stzh-link{justify-content:space-between}.stzh-link--is-disabled.sc-stzh-link{cursor:not-allowed}`;
7
7
 
@@ -200,6 +200,6 @@ function defineCustomElement() {
200
200
  }
201
201
 
202
202
  export { StzhLink as S, defineCustomElement as d };
203
- //# sourceMappingURL=p-Dq7hTryw.js.map
203
+ //# sourceMappingURL=p-CVGsVbS2.js.map
204
204
 
205
- //# sourceMappingURL=p-Dq7hTryw.js.map
205
+ //# sourceMappingURL=p-CVGsVbS2.js.map
@@ -1 +1 @@
1
- {"file":"p-Dq7hTryw.js","mappings":";;;;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,66LAA66L,CAAC;;MCgB57L,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAUU,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGA,QAAA,IAAY,CAAA,YAAA,GAAqB,MAAM;;AAGvC,QAAA,IAAM,CAAA,MAAA,GAAuB,SAAS;;AAGtC,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAe/C,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAMjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAMnB,QAAA,IAAI,CAAA,IAAA,GAAkC,QAAQ;;AAG7B,QAAA,IAAO,CAAA,OAAA,GAAqC,SAAS;;AAGrD,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAG1B,QAAA,IAAS,CAAA,SAAA,GAA8D,SAAS;;AAGjG,QAAA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IAAI,CAAC,QAAQ,EACvB,EAAE,EAAE,IAAI,CAAC,MAAM,EACf,SAAS,EAAE,IAAI,CAAC,aAAa,EAC7B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAA,YAAA,EACf,IAAI,CAAC,SAAS,IAAI,IAAI,EAAA,kBAAA,EAChB,IAAI,CAAC,eAAe,IAAI,IAAI,EAAA,eAAA,EAC/B,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,EACxF,eAAA,EAAA,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,EAAA,eAAA,EACxF,IAAI,CAAC,YAAY,IAAI,IAAI,EAAA,cAAA,EAC1B,IAAI,CAAC,WAAW,IAAI,IAAI,EACtC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAA,EAElB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-link/stzh-link.scss?tag=stzh-link&encapsulation=scoped","src/components/stzh-link/stzh-link.tsx"],"sourcesContent":["/**\n * @prop --color: Color of link\n * @prop --hover-color: Hover color of link\n * @prop --text-decoration-line: Text decoration of link\n * @prop --hover-text-decoration-line: Hover text decoration of link\n * @prop --icon-size: Size of icon next to link\n * @prop --min-height: Min height of link\n *\n * @prop --stzh-link-color: **Global**: Color of link\n * @prop --stzh-link-hover-color: **Global**: Hover color of link\n * @prop --stzh-link-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-hover-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-icon-size: **Global**: Size of icon next to link\n * @prop --stzh-link-text-decoration-thickness: **Global**: Text decoration thickness\n * @prop --stzh-link-text-decoration-skip-ink: **Global**: Whether to skip ink in text decoration\n * @prop --stzh-link-text-underline-offset: **Global**: Text underline offset\n */\n\n@mixin link--size-default() {\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --letter-spacing: normal;\n\n @include mq($from: medium) {\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n }\n}\n\n@mixin link--size-small() {\n --font-size: var(--stzh-font-micro-font-size);\n --line-height: var(--stzh-font-micro-text-line-height);\n --letter-spacing: normal;\n}\n\n@mixin link--size-inherit() {\n --font-size: inherit;\n --line-height: inherit;\n --letter-spacing: inherit;\n}\n\n:host {\n @include link--size-default;\n --color: #{$linkColor};\n --text-decoration-line: #{$linkTextDecorationLine};\n --icon-wrapper-height: #{$linkIconWrapperHeight};\n --icon-size: #{$linkIconSize};\n --height: var(--stzh-link-height, 40px);\n\n --hover-color: #{$linkHoverColor};\n --hover-text-decoration-line: #{$linkHoverTextDecorationLine};\n\n @include mq($from: medium) {\n --height: var(--stzh-link-height, auto);\n }\n\n color: var(--color);\n display: inline-grid;\n width: auto;\n min-height: var(--height);\n pointer-events: var(--stzh-link-pointer-events, auto);\n\n &[height=\"auto\"] {\n --height: var(--stzh-link-auto-height, auto);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n }\n\n &[variant=\"secondary\"] {\n --color: #{$linkSecondaryColor};\n --hover-color: #{$linkSecondaryHoverColor};\n }\n\n &[variant=\"back\"] {\n --text-decoration-line: none;\n --hover-color: var(--color);\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--hover-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey60};\n --hover-color: #{$colorGrey60};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include link--size-small;\n}\n\n:host(:where([size=\"inherit\"])) {\n @include link--size-inherit;\n}\n\n//@each $breakpoint, $size in $breakpoints {\n// @include mq($from: $breakpoint) {\n// :host(:where([size-#{$breakpoint}=\"default\"])) {\n// @include link--size-default;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"small\"])) {\n// @include link--size-small;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"inherit\"])) {\n// @include link--size-inherit;\n// }\n// }\n//}\n\n.stzh-link {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n font-family: inherit;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n border: none;\n color: var(--color);\n transition: color $baseTransitionAnimationSpeed;\n cursor: pointer;\n width: 100%;\n text-decoration-line: none;\n background-color: transparent;\n padding: 0;\n border-radius: $buttonBorderRadius;\n text-align: left;\n\n &:hover {\n color: var(--hover-color);\n\n @media (hover: none) {\n color: inherit;\n }\n }\n\n &:hover &__text {\n text-decoration-line: var(--hover-text-decoration-line);\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__inner {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n display: none;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: var(--icon-wrapper-height);\n }\n\n &__text {\n --stzh-base-color: initial;\n\n text-decoration-line: var(--text-decoration-line);\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: space(\"xxsmall\");\n }\n\n &__badge  {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &--has-icon &__icon-wrapper {\n display: inline-flex;\n }\n\n /* Variant if link only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Badge positioning variants */\n\n &--badge-position-link &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-link &__badge {\n top: calc(#{space(\"xxsmall\")} * -1);\n right: calc(#{space(\"large\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon &__icon-wrapper {\n position: relative;\n }\n\n &--badge-position-icon#{&}--has-icon &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"small\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__icon-wrapper\n + &__text:not(:empty) {\n margin-left: space(\"small\");\n }\n\n /* Alignment variants */\n\n &--align-left &__inner {\n justify-content: flex-start;\n }\n\n &--align-right &__inner {\n justify-content: flex-end;\n }\n\n &--align-center &__inner {\n justify-content: center;\n }\n\n &--align-space-between &__inner {\n justify-content: space-between;\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, Fragment, Element, h, Prop, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhLinkFocusEvent, StzhLinkBlurEvent, StzhLinkSize, StzhBadgeType, StzhLinkClickEvent } from \"../../index\";\n\nimport { StzhLinkLocalizedText } from \"./stzh-link.localization\";\nimport { hasSlot, addWordBreakToLinks } from \"../../utils/utils\";\n\n/**\n * @slot icon - Slot for icon element\n * @slot - Slot for label/text content\n */\n@Component({\n tag: \"stzh-link\",\n styleUrl: \"stzh-link.scss\",\n scoped: true,\n})\nexport class StzhLink {\n /** Translation strings */\n @Prop() localization: StzhLinkLocalizedText;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Icon Position */\n @Prop({ reflect: true }) iconPosition: \"left\" | \"right\" = \"left\";\n\n /** Height variant (none prevent setting min-height for mikro and small breakpoint) */\n @Prop({ reflect: true }) height: \"default\" | \"auto\" = \"default\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhLinkSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhLinkSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhLinkSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhLinkSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhLinkSize;\n\n /** href attribute of the link */\n @Prop() href: string = \"\";\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string = \"\";\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** type of the button, if used as button (if no href used) */\n @Prop() type: \"button\" | \"submit\" | \"reset\" = \"button\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: \"default\" | \"secondary\" | \"back\" = \"default\";\n\n /** Whether the link is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Badge text */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"link\" = \"icon\";\n\n /** Disabled status */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Active status */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Whether only an icon is used inside the link */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Access key of link (usually a number e.g. 1) */\n @Prop() linkAccesskey: string;\n\n /** ID of link element */\n @Prop() linkId: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Aria expanded of link/button */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /** Aria disabled of link/button */\n @Prop({ reflect: true, attribute: \"a11y-disabled\" }) a11yDisabled: boolean;\n\n /** Aria controls of link/button */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhLinkElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhLinkClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhLinkFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhLinkBlurEvent>;\n\n private link: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n private focusedByInput: boolean = false;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"link\");\n }\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.link.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-link\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-link\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-link\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private addWordBreakToLinks() {\n const links = Array.from(this.element?.getElementsByClassName(\"stzh-link\") || []);\n addWordBreakToLinks(links as HTMLElement[]);\n }\n\n private renderIcon(): HTMLInputElement {\n return (\n <div class=\"stzh-link__icon-wrapper\">\n {this.icon ? <stzh-icon class=\"stzh-link__icon\" name={this.icon}></stzh-icon> : <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-link__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n );\n }\n\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"stzh-link__text\">\n {this.rel && this.rel.includes(\"external\") && (\n <div class=\"stzh-link__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-link__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n <div ref={el => (this.text = el as HTMLDivElement)}>{this.label ? this.label : <slot></slot>}</div>\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-link__inner\">\n {this.iconPosition === \"left\" && this.renderIcon()}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon()}\n </div>\n {(this.badge || this.badgeEmpty) && !iconUsed && (\n <stzh-badge class=\"stzh-link__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentDidLoad() {\n this.addWordBreakToLinks();\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.link?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-link\": true,\n \"stzh-link--has-icon\": iconUsed,\n \"stzh-link--has-icon-only\": this.iconOnly,\n \"stzh-link--has-badge\": !!this.badge,\n \"stzh-link--is-fullwidth\": this.fullwidth,\n \"stzh-link--is-disabled\": this.disabled,\n \"stzh-link--is-active\": this.active,\n [`stzh-link--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-link--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-link--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.link = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n download={this.download}\n rel={this.rel}\n target={this.target}\n class={classes}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.link = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n disabled={this.disabled}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CVGsVbS2.js","mappings":";;;;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,66LAA66L,CAAC;;MCgB57L,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QA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Q,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-link/stzh-link.scss?tag=stzh-link&encapsulation=scoped","src/components/stzh-link/stzh-link.tsx"],"sourcesContent":["/**\n * @prop --color: Color of link\n * @prop --hover-color: Hover color of link\n * @prop --text-decoration-line: Text decoration of link\n * @prop --hover-text-decoration-line: Hover text decoration of link\n * @prop --icon-size: Size of icon next to link\n * @prop --min-height: Min height of link\n *\n * @prop --stzh-link-color: **Global**: Color of link\n * @prop --stzh-link-hover-color: **Global**: Hover color of link\n * @prop --stzh-link-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-hover-text-decoration-line: **Global**: Text decoration of link\n * @prop --stzh-link-icon-size: **Global**: Size of icon next to link\n * @prop --stzh-link-text-decoration-thickness: **Global**: Text decoration thickness\n * @prop --stzh-link-text-decoration-skip-ink: **Global**: Whether to skip ink in text decoration\n * @prop --stzh-link-text-underline-offset: **Global**: Text underline offset\n */\n\n@mixin link--size-default() {\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --letter-spacing: normal;\n\n @include mq($from: medium) {\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n }\n}\n\n@mixin link--size-small() {\n --font-size: var(--stzh-font-micro-font-size);\n --line-height: var(--stzh-font-micro-text-line-height);\n --letter-spacing: normal;\n}\n\n@mixin link--size-inherit() {\n --font-size: inherit;\n --line-height: inherit;\n --letter-spacing: inherit;\n}\n\n:host {\n @include link--size-default;\n --color: #{$linkColor};\n --text-decoration-line: #{$linkTextDecorationLine};\n --icon-wrapper-height: #{$linkIconWrapperHeight};\n --icon-size: #{$linkIconSize};\n --height: var(--stzh-link-height, 40px);\n\n --hover-color: #{$linkHoverColor};\n --hover-text-decoration-line: #{$linkHoverTextDecorationLine};\n\n @include mq($from: medium) {\n --height: var(--stzh-link-height, auto);\n }\n\n color: var(--color);\n display: inline-grid;\n width: auto;\n min-height: var(--height);\n pointer-events: var(--stzh-link-pointer-events, auto);\n\n &[height=\"auto\"] {\n --height: var(--stzh-link-auto-height, auto);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n }\n\n &[variant=\"secondary\"] {\n --color: #{$linkSecondaryColor};\n --hover-color: #{$linkSecondaryHoverColor};\n }\n\n &[variant=\"back\"] {\n --text-decoration-line: none;\n --hover-color: var(--color);\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--hover-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey60};\n --hover-color: #{$colorGrey60};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include link--size-small;\n}\n\n:host(:where([size=\"inherit\"])) {\n @include link--size-inherit;\n}\n\n//@each $breakpoint, $size in $breakpoints {\n// @include mq($from: $breakpoint) {\n// :host(:where([size-#{$breakpoint}=\"default\"])) {\n// @include link--size-default;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"small\"])) {\n// @include link--size-small;\n// }\n//\n// :host(:where([size-#{$breakpoint}=\"inherit\"])) {\n// @include link--size-inherit;\n// }\n// }\n//}\n\n.stzh-link {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n font-family: inherit;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n border: none;\n color: var(--color);\n transition: color $baseTransitionAnimationSpeed;\n cursor: pointer;\n width: 100%;\n text-decoration-line: none;\n background-color: transparent;\n padding: 0;\n border-radius: $buttonBorderRadius;\n text-align: left;\n\n &:hover {\n color: var(--hover-color);\n\n @media (hover: none) {\n color: inherit;\n }\n }\n\n &:hover &__text {\n text-decoration-line: var(--hover-text-decoration-line);\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__inner {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n display: none;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: var(--icon-wrapper-height);\n }\n\n &__text {\n --stzh-base-color: initial;\n\n text-decoration-line: var(--text-decoration-line);\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: space(\"xxsmall\");\n }\n\n &__badge  {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &--has-icon &__icon-wrapper {\n display: inline-flex;\n }\n\n /* Variant if link only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Badge positioning variants */\n\n &--badge-position-link &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-link &__badge {\n top: calc(#{space(\"xxsmall\")} * -1);\n right: calc(#{space(\"large\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon &__icon-wrapper {\n position: relative;\n }\n\n &--badge-position-icon#{&}--has-icon &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"small\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__icon-wrapper\n + &__text:not(:empty) {\n margin-left: space(\"small\");\n }\n\n /* Alignment variants */\n\n &--align-left &__inner {\n justify-content: flex-start;\n }\n\n &--align-right &__inner {\n justify-content: flex-end;\n }\n\n &--align-center &__inner {\n justify-content: center;\n }\n\n &--align-space-between &__inner {\n justify-content: space-between;\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, Fragment, Element, h, Prop, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhLinkFocusEvent, StzhLinkBlurEvent, StzhLinkSize, StzhBadgeType, StzhLinkClickEvent } from \"../../index\";\n\nimport { StzhLinkLocalizedText } from \"./stzh-link.localization\";\nimport { hasSlot, addWordBreakToLinks } from \"../../utils/utils\";\n\n/**\n * @slot icon - Slot for icon element\n * @slot - Slot for label/text content\n */\n@Component({\n tag: \"stzh-link\",\n styleUrl: \"stzh-link.scss\",\n scoped: true,\n})\nexport class StzhLink {\n /** Translation strings */\n @Prop() localization: StzhLinkLocalizedText;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Icon Position */\n @Prop({ reflect: true }) iconPosition: \"left\" | \"right\" = \"left\";\n\n /** Height variant (none prevent setting min-height for mikro and small breakpoint) */\n @Prop({ reflect: true }) height: \"default\" | \"auto\" = \"default\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhLinkSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhLinkSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhLinkSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhLinkSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhLinkSize;\n\n /** href attribute of the link */\n @Prop() href: string = \"\";\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string = \"\";\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** type of the button, if used as button (if no href used) */\n @Prop() type: \"button\" | \"submit\" | \"reset\" = \"button\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: \"default\" | \"secondary\" | \"back\" = \"default\";\n\n /** Whether the link is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Badge text */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"link\" = \"icon\";\n\n /** Disabled status */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Active status */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Whether only an icon is used inside the link */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Access key of link (usually a number e.g. 1) */\n @Prop() linkAccesskey: string;\n\n /** ID of link element */\n @Prop() linkId: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Aria expanded of link/button */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /** Aria disabled of link/button */\n @Prop({ reflect: true, attribute: \"a11y-disabled\" }) a11yDisabled: boolean;\n\n /** Aria controls of link/button */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhLinkElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhLinkClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhLinkFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhLinkBlurEvent>;\n\n private link: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n private focusedByInput: boolean = false;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"link\");\n }\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.link.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-link\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-link\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-link\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private addWordBreakToLinks() {\n const links = Array.from(this.element?.getElementsByClassName(\"stzh-link\") || []);\n addWordBreakToLinks(links as HTMLElement[]);\n }\n\n private renderIcon(): HTMLInputElement {\n return (\n <div class=\"stzh-link__icon-wrapper\">\n {this.icon ? <stzh-icon class=\"stzh-link__icon\" name={this.icon}></stzh-icon> : <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-link__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n );\n }\n\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"stzh-link__text\">\n {this.rel && this.rel.includes(\"external\") && (\n <div class=\"stzh-link__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-link__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n <div ref={el => (this.text = el as HTMLDivElement)}>{this.label ? this.label : <slot></slot>}</div>\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-link__inner\">\n {this.iconPosition === \"left\" && this.renderIcon()}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon()}\n </div>\n {(this.badge || this.badgeEmpty) && !iconUsed && (\n <stzh-badge class=\"stzh-link__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentDidLoad() {\n this.addWordBreakToLinks();\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.link?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-link\": true,\n \"stzh-link--has-icon\": iconUsed,\n \"stzh-link--has-icon-only\": this.iconOnly,\n \"stzh-link--has-badge\": !!this.badge,\n \"stzh-link--is-fullwidth\": this.fullwidth,\n \"stzh-link--is-disabled\": this.disabled,\n \"stzh-link--is-active\": this.active,\n [`stzh-link--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-link--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-link--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.link = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n download={this.download}\n rel={this.rel}\n target={this.target}\n class={classes}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.link = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n disabled={this.disabled}\n id={this.linkId}\n accessKey={this.linkAccesskey}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
- import { p as proxyCustomElement, H, h, F as Fragment, e as Host, t as transformTag } from './p-NuLYh9v8.js';
1
+ import { p as proxyCustomElement, H, h, F as Fragment, e as Host, t as transformTag } from './p-DAS4ghWk.js';
2
2
  import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './p-CUGRmgip.js';
3
- import { d as defineCustomElement$3 } from './p-Db3dTAjX.js';
4
- import { d as defineCustomElement$2 } from './p-Cz5bXTUE.js';
5
- import { d as defineCustomElement$1 } from './p-Dq7hTryw.js';
3
+ import { d as defineCustomElement$3 } from './p-Cz-ha88J.js';
4
+ import { d as defineCustomElement$2 } from './p-BU4OH8Cm.js';
5
+ import { d as defineCustomElement$1 } from './p-CVGsVbS2.js';
6
6
 
7
7
  const stzhBathstatusItemCss = () => `.sc-stzh-bathstatus-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-bathstatus-item-h,[stzh-hidden].sc-stzh-bathstatus-item-h{display:none}.sc-stzh-bathstatus-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-bathstatus-item-h *.sc-stzh-bathstatus-item,.sc-stzh-bathstatus-item-h *.sc-stzh-bathstatus-item::before,.sc-stzh-bathstatus-item-h *.sc-stzh-bathstatus-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-bathstatus-item-h .has-focus.sc-stzh-bathstatus-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-bathstatus-item-h .stzh-fylingfocus-focused.sc-stzh-bathstatus-item{outline-style:none !important}.sc-stzh-bathstatus-item-h .stzh-fylingfocus-focused.sc-stzh-bathstatus-item::-moz-focus-inner{border:0 !important}.stzh-bathstatus-item.sc-stzh-bathstatus-item{background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-xlarge);padding-right:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge);padding-left:var(--stzh-space-large)}.stzh-bathstatus-item__description.sc-stzh-bathstatus-item,.stzh-bathstatus-item-value.sc-stzh-bathstatus-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-bathstatus-item__title.sc-stzh-bathstatus-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}@media screen and (min-width: 900px){.stzh-bathstatus-item__title.sc-stzh-bathstatus-item{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}.stzh-bathstatus-item-container.sc-stzh-bathstatus-item{display:grid;grid-template-columns:max-content 1fr;gap:var(--stzh-space-small) var(--stzh-space-xlarge);align-items:center}.stzh-bathstatus-item-key.sc-stzh-bathstatus-item{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);color:var(--stzh-color-grey70)}.stzh-bathstatus-item--teaser.sc-stzh-bathstatus-item .stzh-bathstatus-item__title.sc-stzh-bathstatus-item{display:none}.stzh-bathstatus-item--teaser.sc-stzh-bathstatus-item .stzh-bathstatus-item__description.sc-stzh-bathstatus-item{margin-bottom:var(--stzh-space-medium)}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item{padding-top:var(--stzh-space-small);padding-right:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-small);padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 900px){.stzh-bathstatus-item--list.sc-stzh-bathstatus-item{padding-top:var(--stzh-space-medium);padding-right:var(--stzh-space-large);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-large)}}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item__description.sc-stzh-bathstatus-item,.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-key.sc-stzh-bathstatus-item,.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-uv-index-prediction.sc-stzh-bathstatus-item{display:none}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-container.sc-stzh-bathstatus-item{grid-template-columns:repeat(4, minmax(0, 1fr))}.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-value.sc-stzh-bathstatus-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}@media screen and (min-width: 900px){.stzh-bathstatus-item--list.sc-stzh-bathstatus-item .stzh-bathstatus-item-value.sc-stzh-bathstatus-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}`;
8
8
 
@@ -113,6 +113,6 @@ function defineCustomElement() {
113
113
  }
114
114
 
115
115
  export { StzhBathstatusItem as S, defineCustomElement as d };
116
- //# sourceMappingURL=p-BjFuK5Cg.js.map
116
+ //# sourceMappingURL=p-CViAWrjM.js.map
117
117
 
118
- //# sourceMappingURL=p-BjFuK5Cg.js.map
118
+ //# sourceMappingURL=p-CViAWrjM.js.map