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

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-ZDnQuJKJ.js → index-B4CkE4NR.js} +3 -3
  2. package/dist/cjs/{index-ZDnQuJKJ.js.map → index-B4CkE4NR.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-CGaPpBjl.js → stzh-input-description-5cckM0rY.js} +3 -3
  70. package/dist/cjs/{stzh-input-description-CGaPpBjl.js.map → stzh-input-description-5cckM0rY.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-Bt0qFgc0.js → p--fLq8aoA.js} +3 -3
  142. package/dist/components/{p-Bt0qFgc0.js.map → p--fLq8aoA.js.map} +1 -1
  143. package/dist/components/{p-CZ9COAW6.js → p-02MiVwEL.js} +9 -9
  144. package/dist/components/{p-CZ9COAW6.js.map → p-02MiVwEL.js.map} +1 -1
  145. package/dist/components/{p-7uUMNca0.js → p-B06iivO6.js} +8 -8
  146. package/dist/components/{p-7uUMNca0.js.map → p-B06iivO6.js.map} +1 -1
  147. package/dist/components/{p-CrOCg7cY.js → p-B1xdvkSy.js} +3 -3
  148. package/dist/components/{p-CrOCg7cY.js.map → p-B1xdvkSy.js.map} +1 -1
  149. package/dist/components/{p-IMP7pC7p.js → p-B6zrbO8N.js} +3 -3
  150. package/dist/components/{p-IMP7pC7p.js.map → p-B6zrbO8N.js.map} +1 -1
  151. package/dist/components/{p-BU4OH8Cm.js → p-B8VeEjIy.js} +3 -3
  152. package/dist/components/{p-BU4OH8Cm.js.map → p-B8VeEjIy.js.map} +1 -1
  153. package/dist/components/{p-CgEDyVYF.js → p-B8oKMYV6.js} +6 -6
  154. package/dist/components/{p-CgEDyVYF.js.map → p-B8oKMYV6.js.map} +1 -1
  155. package/dist/components/{p-Bu43XylS.js → p-BAyjpcR6.js} +11 -11
  156. package/dist/components/{p-Bu43XylS.js.map → p-BAyjpcR6.js.map} +1 -1
  157. package/dist/components/{p-CSdJ0c_y.js → p-BCH90Ynw.js} +3 -3
  158. package/dist/components/{p-CSdJ0c_y.js.map → p-BCH90Ynw.js.map} +1 -1
  159. package/dist/components/{p-DLNSei6L.js → p-BD-4HK9u.js} +6 -6
  160. package/dist/components/{p-DLNSei6L.js.map → p-BD-4HK9u.js.map} +1 -1
  161. package/dist/components/{p-BiHSbtfS.js → p-BDRf5Lg2.js} +6 -6
  162. package/dist/components/{p-BiHSbtfS.js.map → p-BDRf5Lg2.js.map} +1 -1
  163. package/dist/components/{p-BRUI-vLQ.js → p-BDne2rQr.js} +3 -3
  164. package/dist/components/{p-BRUI-vLQ.js.map → p-BDne2rQr.js.map} +1 -1
  165. package/dist/components/{p-BmUD2Rtq.js → p-BEYOjCSk.js} +7 -7
  166. package/dist/components/{p-BmUD2Rtq.js.map → p-BEYOjCSk.js.map} +1 -1
  167. package/dist/components/{p-B8Wx8Azy.js → p-BEe9X8y9.js} +9 -9
  168. package/dist/components/{p-B8Wx8Azy.js.map → p-BEe9X8y9.js.map} +1 -1
  169. package/dist/components/{p-BQMsQk8o.js → p-BIFNWpLw.js} +4 -4
  170. package/dist/components/{p-BQMsQk8o.js.map → p-BIFNWpLw.js.map} +1 -1
  171. package/dist/components/{p-CVGsVbS2.js → p-BK7VtwAc.js} +5 -5
  172. package/dist/components/{p-CVGsVbS2.js.map → p-BK7VtwAc.js.map} +1 -1
  173. package/dist/components/{p-UxkgJCcT.js → p-BLKRUf__.js} +4 -4
  174. package/dist/components/{p-UxkgJCcT.js.map → p-BLKRUf__.js.map} +1 -1
  175. package/dist/components/{p-C6jXw99A.js → p-BVrrMSYA.js} +5 -5
  176. package/dist/components/{p-C6jXw99A.js.map → p-BVrrMSYA.js.map} +1 -1
  177. package/dist/components/{p-ZGKugKIn.js → p-BXtqxo59.js} +7 -7
  178. package/dist/components/{p-ZGKugKIn.js.map → p-BXtqxo59.js.map} +1 -1
  179. package/dist/components/{p-BoY1qD-1.js → p-BZ5HPz2O.js} +4 -4
  180. package/dist/components/{p-BoY1qD-1.js.map → p-BZ5HPz2O.js.map} +1 -1
  181. package/dist/components/{p-BDEju9Yt.js → p-B_rGPnvJ.js} +6 -6
  182. package/dist/components/{p-BDEju9Yt.js.map → p-B_rGPnvJ.js.map} +1 -1
  183. package/dist/components/{p-Cz-ha88J.js → p-BaC_gScF.js} +3 -3
  184. package/dist/components/{p-Cz-ha88J.js.map → p-BaC_gScF.js.map} +1 -1
  185. package/dist/components/{p-CBzSNCOV.js → p-BejcVdkT.js} +8 -8
  186. package/dist/components/{p-CBzSNCOV.js.map → p-BejcVdkT.js.map} +1 -1
  187. package/dist/components/{p-CPlP1yak.js → p-BhSKuf6B.js} +4 -4
  188. package/dist/components/{p-CPlP1yak.js.map → p-BhSKuf6B.js.map} +1 -1
  189. package/dist/components/{p-DCVNNXGS.js → p-BhjRs2Yk.js} +3 -3
  190. package/dist/components/{p-DCVNNXGS.js.map → p-BhjRs2Yk.js.map} +1 -1
  191. package/dist/components/{p-wQt2FhiW.js → p-BwACjusV.js} +4 -4
  192. package/dist/components/{p-wQt2FhiW.js.map → p-BwACjusV.js.map} +1 -1
  193. package/dist/components/{p-BaT57zfB.js → p-BwM7stPL.js} +3 -3
  194. package/dist/components/{p-BaT57zfB.js.map → p-BwM7stPL.js.map} +1 -1
  195. package/dist/components/{p-BN-54ren.js → p-BxhXhWgp.js} +3 -3
  196. package/dist/components/{p-BN-54ren.js.map → p-BxhXhWgp.js.map} +1 -1
  197. package/dist/components/{p-DIv8fnep.js → p-C5idaYXk.js} +11 -11
  198. package/dist/components/{p-DIv8fnep.js.map → p-C5idaYXk.js.map} +1 -1
  199. package/dist/components/{p-Dh_U3nwg.js → p-CC83WXAh.js} +3 -3
  200. package/dist/components/{p-Dh_U3nwg.js.map → p-CC83WXAh.js.map} +1 -1
  201. package/dist/components/{p-DnmPakAT.js → p-CEtAPJ_k.js} +3 -3
  202. package/dist/components/{p-DnmPakAT.js.map → p-CEtAPJ_k.js.map} +1 -1
  203. package/dist/components/{p-DM5rcQ-w.js → p-CJwxLPbQ.js} +3 -3
  204. package/dist/components/{p-DM5rcQ-w.js.map → p-CJwxLPbQ.js.map} +1 -1
  205. package/dist/components/{p-UQ9WK7Rh.js → p-COAWSn9b.js} +11 -11
  206. package/dist/components/{p-UQ9WK7Rh.js.map → p-COAWSn9b.js.map} +1 -1
  207. package/dist/components/{p-Crh1tumf.js → p-C_qr3ErC.js} +3 -3
  208. package/dist/components/{p-Crh1tumf.js.map → p-C_qr3ErC.js.map} +1 -1
  209. package/dist/components/{p-CQY455PH.js → p-CnKiFOEe.js} +3 -3
  210. package/dist/components/{p-CQY455PH.js.map → p-CnKiFOEe.js.map} +1 -1
  211. package/dist/components/{p-Ut4hhOsi.js → p-CybYAebO.js} +3 -3
  212. package/dist/components/{p-Ut4hhOsi.js.map → p-CybYAebO.js.map} +1 -1
  213. package/dist/components/{p-NdWtZ3BI.js → p-CzLvZS-p.js} +3 -3
  214. package/dist/components/{p-NdWtZ3BI.js.map → p-CzLvZS-p.js.map} +1 -1
  215. package/dist/components/{p-CpC8d13f.js → p-D1U50W0f.js} +4 -4
  216. package/dist/components/{p-CpC8d13f.js.map → p-D1U50W0f.js.map} +1 -1
  217. package/dist/components/{p-CViAWrjM.js → p-D471mdkF.js} +6 -6
  218. package/dist/components/{p-CViAWrjM.js.map → p-D471mdkF.js.map} +1 -1
  219. package/dist/components/{p-C720-Qcv.js → p-D71JIHdD.js} +6 -6
  220. package/dist/components/{p-C720-Qcv.js.map → p-D71JIHdD.js.map} +1 -1
  221. package/dist/components/{p-D3atNlwG.js → p-DC-bkkG9.js} +6 -6
  222. package/dist/components/{p-D3atNlwG.js.map → p-DC-bkkG9.js.map} +1 -1
  223. package/dist/components/{p-tNg83_1b.js → p-DEFPf8mR.js} +7 -7
  224. package/dist/components/{p-tNg83_1b.js.map → p-DEFPf8mR.js.map} +1 -1
  225. package/dist/components/{p-BMKAa5cH.js → p-DEZhHL-h.js} +3 -3
  226. package/dist/components/{p-BMKAa5cH.js.map → p-DEZhHL-h.js.map} +1 -1
  227. package/dist/components/{p-B9BPpRCW.js → p-DKnZ6VRK.js} +3 -3
  228. package/dist/components/{p-B9BPpRCW.js.map → p-DKnZ6VRK.js.map} +1 -1
  229. package/dist/components/{p-7HhYf4z_.js → p-DLcXTxK2.js} +5 -5
  230. package/dist/components/{p-7HhYf4z_.js.map → p-DLcXTxK2.js.map} +1 -1
  231. package/dist/components/{p-DAQn1MfT.js → p-DNreIG1a.js} +7 -7
  232. package/dist/components/{p-DAQn1MfT.js.map → p-DNreIG1a.js.map} +1 -1
  233. package/dist/components/{p-BRbEuDtS.js → p-DRWnsFU7.js} +5 -5
  234. package/dist/components/{p-BRbEuDtS.js.map → p-DRWnsFU7.js.map} +1 -1
  235. package/dist/components/{p-Cz6mFejk.js → p-DU4Z1c1a.js} +7 -7
  236. package/dist/components/{p-Cz6mFejk.js.map → p-DU4Z1c1a.js.map} +1 -1
  237. package/dist/components/{p-BTwmO0VT.js → p-DVK5Vk4K.js} +7 -7
  238. package/dist/components/{p-BTwmO0VT.js.map → p-DVK5Vk4K.js.map} +1 -1
  239. package/dist/components/{p-zyIpkMEg.js → p-DWBepkU5.js} +12 -12
  240. package/dist/components/{p-zyIpkMEg.js.map → p-DWBepkU5.js.map} +1 -1
  241. package/dist/components/{p-DU--O-Ux.js → p-DWz6E51A.js} +3 -3
  242. package/dist/components/{p-DU--O-Ux.js.map → p-DWz6E51A.js.map} +1 -1
  243. package/dist/components/{p-Dh7_Sdlv.js → p-DaP2plZo.js} +9 -9
  244. package/dist/components/{p-Dh7_Sdlv.js.map → p-DaP2plZo.js.map} +1 -1
  245. package/dist/components/{p-CYfVlAWz.js → p-DapxeV-_.js} +3 -3
  246. package/dist/components/{p-CYfVlAWz.js.map → p-DapxeV-_.js.map} +1 -1
  247. package/dist/components/{p-C-L1Esh9.js → p-DiYE0hmx.js} +7 -7
  248. package/dist/components/{p-C-L1Esh9.js.map → p-DiYE0hmx.js.map} +1 -1
  249. package/dist/components/{p-CyqeVaHe.js → p-DnM6bnNn.js} +3 -3
  250. package/dist/components/{p-CyqeVaHe.js.map → p-DnM6bnNn.js.map} +1 -1
  251. package/dist/components/{p-Dq2SboPL.js → p-DqoLZtQH.js} +3 -3
  252. package/dist/components/{p-Dq2SboPL.js.map → p-DqoLZtQH.js.map} +1 -1
  253. package/dist/components/{p-3U-NdhlS.js → p-DsRthiVA.js} +3 -3
  254. package/dist/components/{p-3U-NdhlS.js.map → p-DsRthiVA.js.map} +1 -1
  255. package/dist/components/{p-C3DzudRE.js → p-DuR7XqVN.js} +3 -3
  256. package/dist/components/{p-C3DzudRE.js.map → p-DuR7XqVN.js.map} +1 -1
  257. package/dist/components/{p-BEpu-eX2.js → p-DxS-Wcb5.js} +3 -3
  258. package/dist/components/{p-BEpu-eX2.js.map → p-DxS-Wcb5.js.map} +1 -1
  259. package/dist/components/{p-Cg5cOcyj.js → p-KK5mdmv5.js} +10 -10
  260. package/dist/components/{p-Cg5cOcyj.js.map → p-KK5mdmv5.js.map} +1 -1
  261. package/dist/components/{p-CNMtTiHH.js → p-LF71A9MU.js} +11 -11
  262. package/dist/components/{p-CNMtTiHH.js.map → p-LF71A9MU.js.map} +1 -1
  263. package/dist/components/{p-DTDpjDcx.js → p-O_cxMCXX.js} +3 -3
  264. package/dist/components/{p-DTDpjDcx.js.map → p-O_cxMCXX.js.map} +1 -1
  265. package/dist/components/{p-CP2-kI_R.js → p-RLF8-AhP.js} +7 -7
  266. package/dist/components/{p-CP2-kI_R.js.map → p-RLF8-AhP.js.map} +1 -1
  267. package/dist/components/{p-iO0Ga3pa.js → p-StWtWw5n.js} +3 -3
  268. package/dist/components/{p-iO0Ga3pa.js.map → p-StWtWw5n.js.map} +1 -1
  269. package/dist/components/{p-DyTuVM4Q.js → p-VVrfLzf4.js} +3 -3
  270. package/dist/components/{p-DyTuVM4Q.js.map → p-VVrfLzf4.js.map} +1 -1
  271. package/dist/components/{p-C1ciJM24.js → p-d1xd9jdc.js} +4 -4
  272. package/dist/components/{p-C1ciJM24.js.map → p-d1xd9jdc.js.map} +1 -1
  273. package/dist/components/{p-BtU8igAM.js → p-ka1rmhv9.js} +5 -5
  274. package/dist/components/{p-BtU8igAM.js.map → p-ka1rmhv9.js.map} +1 -1
  275. package/dist/components/{p-UI7DWEQU.js → p-osf80Swh.js} +6 -6
  276. package/dist/components/{p-UI7DWEQU.js.map → p-osf80Swh.js.map} +1 -1
  277. package/dist/components/{p-DAS4ghWk.js → p-ptAFQZzh.js} +3 -3
  278. package/dist/components/{p-DAS4ghWk.js.map → p-ptAFQZzh.js.map} +1 -1
  279. package/dist/components/{p-BbKUQwKe.js → p-qOxda2J5.js} +10 -10
  280. package/dist/components/{p-BbKUQwKe.js.map → p-qOxda2J5.js.map} +1 -1
  281. package/dist/components/{p-BQziPN_6.js → p-q_1KOJaD.js} +4 -4
  282. package/dist/components/{p-BQziPN_6.js.map → p-q_1KOJaD.js.map} +1 -1
  283. package/dist/components/{p-bZ2GVa1M.js → p-tt1oL7GC.js} +10 -10
  284. package/dist/components/{p-bZ2GVa1M.js.map → p-tt1oL7GC.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-DesQCrfi.js → index-BThcQvAs.js} +3 -3
  443. package/dist/esm/{index-DesQCrfi.js.map → index-BThcQvAs.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-B2muC0HR.js → stzh-input-description-Bac-s63i.js} +3 -3
  511. package/dist/esm/{stzh-input-description-B2muC0HR.js.map → stzh-input-description-Bac-s63i.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-8c90bc4b.entry.js → p-015465a6.entry.js} +2 -2
  582. package/dist/stzh-components/{p-c9f2e23a.entry.js → p-02a9bda7.entry.js} +2 -2
  583. package/dist/stzh-components/{p-46963b10.entry.js → p-0c09a5ea.entry.js} +2 -2
  584. package/dist/stzh-components/{p-628b716b.entry.js → p-0cb4d20e.entry.js} +2 -2
  585. package/dist/stzh-components/{p-aa8fe13a.entry.js → p-0d536223.entry.js} +2 -2
  586. package/dist/stzh-components/{p-c28f9c40.entry.js → p-0ebada09.entry.js} +2 -2
  587. package/dist/stzh-components/{p-2585770a.entry.js → p-0f34040c.entry.js} +2 -2
  588. package/dist/stzh-components/{p-5f92e771.entry.js → p-11ac7dda.entry.js} +2 -2
  589. package/dist/stzh-components/{p-f2e95ab9.entry.js → p-15cca4eb.entry.js} +2 -2
  590. package/dist/stzh-components/{p-e233cf06.entry.js → p-18e7b302.entry.js} +2 -2
  591. package/dist/stzh-components/{p-9606c1b3.entry.js → p-1a19824e.entry.js} +2 -2
  592. package/dist/stzh-components/{p-0e1a0f73.entry.js → p-1d367570.entry.js} +2 -2
  593. package/dist/stzh-components/{p-a33ac43e.entry.js → p-1e0b3015.entry.js} +2 -2
  594. package/dist/stzh-components/{p-44a38608.entry.js → p-1e34154e.entry.js} +3 -3
  595. package/dist/stzh-components/{p-94942d87.entry.js → p-22dadc90.entry.js} +2 -2
  596. package/dist/stzh-components/{p-c8c34164.entry.js → p-23a41d47.entry.js} +2 -2
  597. package/dist/stzh-components/{p-b4da4cc2.entry.js → p-24d6e7f8.entry.js} +2 -2
  598. package/dist/stzh-components/p-27d43e46.entry.js +2 -0
  599. package/dist/stzh-components/{p-e905055b.entry.js.map → p-27d43e46.entry.js.map} +1 -1
  600. package/dist/stzh-components/{p-b5c20b76.entry.js → p-2855def0.entry.js} +2 -2
  601. package/dist/stzh-components/{p-b989f72d.entry.js → p-2aaa796f.entry.js} +2 -2
  602. package/dist/stzh-components/{p-4949d3f3.entry.js → p-31ae4fdc.entry.js} +2 -2
  603. package/dist/stzh-components/{p-114eb1c8.entry.js → p-33fb9af5.entry.js} +2 -2
  604. package/dist/stzh-components/{p-836ed145.entry.js → p-35349bcc.entry.js} +2 -2
  605. package/dist/stzh-components/{p-d37c5c73.entry.js → p-36879007.entry.js} +2 -2
  606. package/dist/stzh-components/{p-8adb8b10.entry.js → p-39c9ce97.entry.js} +2 -2
  607. package/dist/stzh-components/{p-b2aabeb7.entry.js → p-3a1d0a2a.entry.js} +2 -2
  608. package/dist/stzh-components/{p-4ef4838b.entry.js → p-3d01205e.entry.js} +2 -2
  609. package/dist/stzh-components/{p-38a1e3c5.entry.js → p-3eca41f3.entry.js} +2 -2
  610. package/dist/stzh-components/{p-e12d2d60.entry.js → p-45035652.entry.js} +2 -2
  611. package/dist/stzh-components/{p-6633c83d.entry.js → p-45585dc6.entry.js} +7 -7
  612. package/dist/stzh-components/{p-e8a4ddd6.entry.js → p-46b1e62c.entry.js} +2 -2
  613. package/dist/stzh-components/{p-1412c776.entry.js → p-46ce6f35.entry.js} +2 -2
  614. package/dist/stzh-components/{p-3d31d8f9.entry.js → p-485af89b.entry.js} +2 -2
  615. package/dist/stzh-components/{p-63602e47.entry.js → p-4978fb04.entry.js} +2 -2
  616. package/dist/stzh-components/{p-f07faa5b.entry.js → p-4e39e368.entry.js} +2 -2
  617. package/dist/stzh-components/{p-a3dc9c36.entry.js → p-4ee4e4df.entry.js} +2 -2
  618. package/dist/stzh-components/{p-5b1f1510.entry.js → p-53097c52.entry.js} +2 -2
  619. package/dist/stzh-components/{p-2dc03663.entry.js → p-534dc12a.entry.js} +2 -2
  620. package/dist/stzh-components/{p-fb8f7cec.entry.js → p-5354f149.entry.js} +2 -2
  621. package/dist/stzh-components/{p-6b74f2f3.entry.js → p-53bad197.entry.js} +2 -2
  622. package/dist/stzh-components/{p-48bd3e87.entry.js → p-553d1220.entry.js} +2 -2
  623. package/dist/stzh-components/{p-a8876eda.entry.js → p-56fa5c59.entry.js} +2 -2
  624. package/dist/stzh-components/{p-ff8a59e7.entry.js → p-57d11809.entry.js} +2 -2
  625. package/dist/stzh-components/{p-38a47c95.entry.js → p-5a04714a.entry.js} +2 -2
  626. package/dist/stzh-components/{p-b31949eb.entry.js → p-5d737462.entry.js} +2 -2
  627. package/dist/stzh-components/{p-d6b7946f.entry.js → p-644c03c8.entry.js} +2 -2
  628. package/dist/stzh-components/{p-36ee1a3d.entry.js → p-657850dc.entry.js} +2 -2
  629. package/dist/stzh-components/{p-4622ab8b.entry.js → p-670f2981.entry.js} +3 -3
  630. package/dist/stzh-components/{p-11f8205b.entry.js → p-69b462ec.entry.js} +2 -2
  631. package/dist/stzh-components/{p-2736ea2b.entry.js → p-6c673cae.entry.js} +2 -2
  632. package/dist/stzh-components/{p-348f6385.entry.js → p-6dad1d33.entry.js} +2 -2
  633. package/dist/stzh-components/{p-1284b27f.entry.js → p-6e4d223c.entry.js} +2 -2
  634. package/dist/stzh-components/{p-8f5e606d.entry.js → p-6eaa638a.entry.js} +2 -2
  635. package/dist/stzh-components/{p-f9966360.entry.js → p-6f17a3dd.entry.js} +2 -2
  636. package/dist/stzh-components/{p-88b7a476.entry.js → p-73a53336.entry.js} +2 -2
  637. package/dist/stzh-components/{p-c9993af0.entry.js → p-774408d8.entry.js} +2 -2
  638. package/dist/stzh-components/{p-2adc1b7e.entry.js → p-7a079a4f.entry.js} +2 -2
  639. package/dist/stzh-components/{p-30cfc3b7.entry.js → p-7c0d8b58.entry.js} +2 -2
  640. package/dist/stzh-components/{p-73d5c827.entry.js → p-7d8f07bb.entry.js} +2 -2
  641. package/dist/stzh-components/{p-5bbc5c2d.entry.js → p-7e2a5f95.entry.js} +2 -2
  642. package/dist/stzh-components/{p-4de6381b.entry.js → p-7ee21a5f.entry.js} +2 -2
  643. package/dist/stzh-components/{p-cd12e7bd.entry.js → p-80495d40.entry.js} +2 -2
  644. package/dist/stzh-components/{p-0e4fdc3c.entry.js → p-81c99ba6.entry.js} +2 -2
  645. package/dist/stzh-components/{p-1599a3aa.entry.js → p-823a4ae0.entry.js} +2 -2
  646. package/dist/stzh-components/{p-3ed1d1c9.entry.js → p-84a0ae66.entry.js} +2 -2
  647. package/dist/stzh-components/{p-b56daf65.entry.js → p-84ac735b.entry.js} +2 -2
  648. package/dist/stzh-components/{p-34d452cc.entry.js → p-865bcfe6.entry.js} +2 -2
  649. package/dist/stzh-components/{p-73a1c1f7.entry.js → p-87c5e317.entry.js} +2 -2
  650. package/dist/stzh-components/{p-c4d0f525.entry.js → p-8c5e28e0.entry.js} +2 -2
  651. package/dist/stzh-components/{p-6867beb2.entry.js → p-8cb0a739.entry.js} +2 -2
  652. package/dist/stzh-components/{p-89295005.entry.js → p-8cd1458e.entry.js} +2 -2
  653. package/dist/stzh-components/{p-d1cca86f.entry.js → p-8dde1e14.entry.js} +2 -2
  654. package/dist/stzh-components/{p-36d88163.entry.js → p-8e2907cf.entry.js} +2 -2
  655. package/dist/stzh-components/{p-1a094f09.entry.js → p-8e40a02d.entry.js} +2 -2
  656. package/dist/stzh-components/{p-c4fbcf5c.entry.js → p-8eb9e6e4.entry.js} +2 -2
  657. package/dist/stzh-components/{p-e49ed519.entry.js → p-8f433f34.entry.js} +2 -2
  658. package/dist/stzh-components/{p-abe3645d.entry.js → p-9003dadd.entry.js} +2 -2
  659. package/dist/stzh-components/{p-fc426694.entry.js → p-9294464b.entry.js} +2 -2
  660. package/dist/stzh-components/{p-f1a64d71.entry.js → p-96209700.entry.js} +2 -2
  661. package/dist/stzh-components/{p-7e785f95.entry.js → p-9a63883c.entry.js} +2 -2
  662. package/dist/stzh-components/{p-30b90219.entry.js → p-9ac7f3f5.entry.js} +2 -2
  663. package/dist/stzh-components/{p-b4d78249.entry.js → p-9c6caf5a.entry.js} +2 -2
  664. package/dist/stzh-components/{p-353f35fb.entry.js → p-9e7a1402.entry.js} +2 -2
  665. package/dist/stzh-components/{p-a6522800.entry.js → p-9f9d40a9.entry.js} +3 -3
  666. package/dist/stzh-components/{p-DesQCrfi.js → p-BThcQvAs.js} +2 -2
  667. package/dist/stzh-components/{p-DesQCrfi.js.map → p-BThcQvAs.js.map} +1 -1
  668. package/dist/stzh-components/{p-DUHakWnr.js → p-DYsAWX7o.js} +2 -2
  669. package/dist/stzh-components/{p-DUHakWnr.js.map → p-DYsAWX7o.js.map} +1 -1
  670. package/dist/stzh-components/{p-3c60f148.entry.js → p-a14af5ec.entry.js} +2 -2
  671. package/dist/stzh-components/{p-b38b3c4c.entry.js → p-a24d6846.entry.js} +2 -2
  672. package/dist/stzh-components/{p-a70a0080.entry.js → p-a58c382e.entry.js} +2 -2
  673. package/dist/stzh-components/{p-22eb16c8.entry.js → p-a614ead6.entry.js} +2 -2
  674. package/dist/stzh-components/{p-c63e07fc.entry.js → p-a6dddbf1.entry.js} +3 -3
  675. package/dist/stzh-components/{p-6d0e28b0.entry.js → p-ab039060.entry.js} +2 -2
  676. package/dist/stzh-components/{p-e9a85cba.entry.js → p-b0631dbd.entry.js} +2 -2
  677. package/dist/stzh-components/{p-3c059c3f.entry.js → p-b344a1ad.entry.js} +2 -2
  678. package/dist/stzh-components/{p-4eb79797.entry.js → p-b63f46e0.entry.js} +2 -2
  679. package/dist/stzh-components/{p-392592da.entry.js → p-b81b301b.entry.js} +2 -2
  680. package/dist/stzh-components/{p-6e1ef0ec.entry.js → p-b89fd80b.entry.js} +2 -2
  681. package/dist/stzh-components/{p-3b891522.entry.js → p-ba410b7a.entry.js} +2 -2
  682. package/dist/stzh-components/{p-08efb2fb.entry.js → p-bebb6973.entry.js} +2 -2
  683. package/dist/stzh-components/{p-d1747317.entry.js → p-bf8e55a9.entry.js} +2 -2
  684. package/dist/stzh-components/{p-6cc8c31a.entry.js → p-bfc88af7.entry.js} +2 -2
  685. package/dist/stzh-components/{p-250f9ffa.entry.js → p-c4c71d7f.entry.js} +2 -2
  686. package/dist/stzh-components/{p-c596173d.entry.js → p-cd1a26ff.entry.js} +2 -2
  687. package/dist/stzh-components/{p-5022f5ae.entry.js → p-d07d91c1.entry.js} +2 -2
  688. package/dist/stzh-components/{p-3e55b338.entry.js → p-d0f6c3f5.entry.js} +2 -2
  689. package/dist/stzh-components/{p-084b9cdd.entry.js → p-d10ff45f.entry.js} +2 -2
  690. package/dist/stzh-components/{p-abd7cbc6.entry.js → p-d13fb319.entry.js} +2 -2
  691. package/dist/stzh-components/{p-315d9ed9.entry.js → p-d15817fe.entry.js} +2 -2
  692. package/dist/stzh-components/{p-90fb2952.entry.js → p-d5e35933.entry.js} +2 -2
  693. package/dist/stzh-components/{p-609ad786.entry.js → p-d85a47f1.entry.js} +2 -2
  694. package/dist/stzh-components/{p-e61966c4.entry.js → p-da9475aa.entry.js} +2 -2
  695. package/dist/stzh-components/{p-f395be95.entry.js → p-dc609bab.entry.js} +2 -2
  696. package/dist/stzh-components/{p-31ca74fa.entry.js → p-de8ad578.entry.js} +2 -2
  697. package/dist/stzh-components/{p-f99e3401.entry.js → p-df5034a2.entry.js} +2 -2
  698. package/dist/stzh-components/{p-ec6a62aa.entry.js → p-e30a72e4.entry.js} +2 -2
  699. package/dist/stzh-components/{p-d5b7addc.entry.js → p-e4d0b7c6.entry.js} +2 -2
  700. package/dist/stzh-components/{p-cc6e6867.entry.js → p-e65425be.entry.js} +2 -2
  701. package/dist/stzh-components/{p-1b5786df.entry.js → p-e6f14f33.entry.js} +2 -2
  702. package/dist/stzh-components/{p-8b8f4b5c.entry.js → p-e7ea2434.entry.js} +2 -2
  703. package/dist/stzh-components/{p-a628ad78.entry.js → p-e89f1709.entry.js} +2 -2
  704. package/dist/stzh-components/{p-99c6d6af.entry.js → p-e902f133.entry.js} +2 -2
  705. package/dist/stzh-components/{p-221df142.entry.js → p-ea6bbf7f.entry.js} +2 -2
  706. package/dist/stzh-components/{p-3e764c0f.entry.js → p-ebbc1a65.entry.js} +2 -2
  707. package/dist/stzh-components/{p-fae36aac.entry.js → p-ebee4436.entry.js} +2 -2
  708. package/dist/stzh-components/{p-ee8190b4.entry.js → p-ed59015f.entry.js} +2 -2
  709. package/dist/stzh-components/{p-7046fef8.entry.js → p-eeb4aa80.entry.js} +2 -2
  710. package/dist/stzh-components/{p-3242ae36.entry.js → p-f08d0b8e.entry.js} +2 -2
  711. package/dist/stzh-components/{p-abddf10c.entry.js → p-f3c2ef63.entry.js} +2 -2
  712. package/dist/stzh-components/{p-83855aaf.entry.js → p-f44771d5.entry.js} +2 -2
  713. package/dist/stzh-components/{p-5191a957.entry.js → p-f5f7ca91.entry.js} +2 -2
  714. package/dist/stzh-components/{p-ab120fe4.entry.js → p-f741e2c1.entry.js} +2 -2
  715. package/dist/stzh-components/{p-41e45f16.entry.js → p-f781da2b.entry.js} +2 -2
  716. package/dist/stzh-components/{p-4dfd34dd.entry.js → p-fa0eb466.entry.js} +2 -2
  717. package/dist/stzh-components/{p-9425707d.entry.js → p-fb370837.entry.js} +2 -2
  718. package/dist/stzh-components/{p-f7ae52f5.entry.js → p-ffb05715.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-e905055b.entry.js +0 -2
  722. /package/dist/stzh-components/{p-8c90bc4b.entry.js.map → p-015465a6.entry.js.map} +0 -0
  723. /package/dist/stzh-components/{p-c9f2e23a.entry.js.map → p-02a9bda7.entry.js.map} +0 -0
  724. /package/dist/stzh-components/{p-46963b10.entry.js.map → p-0c09a5ea.entry.js.map} +0 -0
  725. /package/dist/stzh-components/{p-628b716b.entry.js.map → p-0cb4d20e.entry.js.map} +0 -0
  726. /package/dist/stzh-components/{p-aa8fe13a.entry.js.map → p-0d536223.entry.js.map} +0 -0
  727. /package/dist/stzh-components/{p-c28f9c40.entry.js.map → p-0ebada09.entry.js.map} +0 -0
  728. /package/dist/stzh-components/{p-2585770a.entry.js.map → p-0f34040c.entry.js.map} +0 -0
  729. /package/dist/stzh-components/{p-5f92e771.entry.js.map → p-11ac7dda.entry.js.map} +0 -0
  730. /package/dist/stzh-components/{p-f2e95ab9.entry.js.map → p-15cca4eb.entry.js.map} +0 -0
  731. /package/dist/stzh-components/{p-e233cf06.entry.js.map → p-18e7b302.entry.js.map} +0 -0
  732. /package/dist/stzh-components/{p-9606c1b3.entry.js.map → p-1a19824e.entry.js.map} +0 -0
  733. /package/dist/stzh-components/{p-0e1a0f73.entry.js.map → p-1d367570.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-a33ac43e.entry.js.map → p-1e0b3015.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-44a38608.entry.js.map → p-1e34154e.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-94942d87.entry.js.map → p-22dadc90.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-c8c34164.entry.js.map → p-23a41d47.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-b4da4cc2.entry.js.map → p-24d6e7f8.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-b5c20b76.entry.js.map → p-2855def0.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-b989f72d.entry.js.map → p-2aaa796f.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-4949d3f3.entry.js.map → p-31ae4fdc.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-114eb1c8.entry.js.map → p-33fb9af5.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-836ed145.entry.js.map → p-35349bcc.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-d37c5c73.entry.js.map → p-36879007.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-8adb8b10.entry.js.map → p-39c9ce97.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-b2aabeb7.entry.js.map → p-3a1d0a2a.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-4ef4838b.entry.js.map → p-3d01205e.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-38a1e3c5.entry.js.map → p-3eca41f3.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-e12d2d60.entry.js.map → p-45035652.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-6633c83d.entry.js.map → p-45585dc6.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-e8a4ddd6.entry.js.map → p-46b1e62c.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-1412c776.entry.js.map → p-46ce6f35.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-3d31d8f9.entry.js.map → p-485af89b.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-63602e47.entry.js.map → p-4978fb04.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-f07faa5b.entry.js.map → p-4e39e368.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-a3dc9c36.entry.js.map → p-4ee4e4df.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-5b1f1510.entry.js.map → p-53097c52.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-2dc03663.entry.js.map → p-534dc12a.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-fb8f7cec.entry.js.map → p-5354f149.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-6b74f2f3.entry.js.map → p-53bad197.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-48bd3e87.entry.js.map → p-553d1220.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-a8876eda.entry.js.map → p-56fa5c59.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-ff8a59e7.entry.js.map → p-57d11809.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-38a47c95.entry.js.map → p-5a04714a.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-b31949eb.entry.js.map → p-5d737462.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-d6b7946f.entry.js.map → p-644c03c8.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-36ee1a3d.entry.js.map → p-657850dc.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-4622ab8b.entry.js.map → p-670f2981.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-11f8205b.entry.js.map → p-69b462ec.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-2736ea2b.entry.js.map → p-6c673cae.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-348f6385.entry.js.map → p-6dad1d33.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-1284b27f.entry.js.map → p-6e4d223c.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-8f5e606d.entry.js.map → p-6eaa638a.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-f9966360.entry.js.map → p-6f17a3dd.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-88b7a476.entry.js.map → p-73a53336.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-c9993af0.entry.js.map → p-774408d8.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-2adc1b7e.entry.js.map → p-7a079a4f.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-30cfc3b7.entry.js.map → p-7c0d8b58.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-73d5c827.entry.js.map → p-7d8f07bb.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-5bbc5c2d.entry.js.map → p-7e2a5f95.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-4de6381b.entry.js.map → p-7ee21a5f.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-cd12e7bd.entry.js.map → p-80495d40.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-0e4fdc3c.entry.js.map → p-81c99ba6.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-1599a3aa.entry.js.map → p-823a4ae0.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-3ed1d1c9.entry.js.map → p-84a0ae66.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-b56daf65.entry.js.map → p-84ac735b.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-34d452cc.entry.js.map → p-865bcfe6.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-73a1c1f7.entry.js.map → p-87c5e317.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-c4d0f525.entry.js.map → p-8c5e28e0.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-6867beb2.entry.js.map → p-8cb0a739.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-89295005.entry.js.map → p-8cd1458e.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-d1cca86f.entry.js.map → p-8dde1e14.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-36d88163.entry.js.map → p-8e2907cf.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-1a094f09.entry.js.map → p-8e40a02d.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-c4fbcf5c.entry.js.map → p-8eb9e6e4.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-e49ed519.entry.js.map → p-8f433f34.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-abe3645d.entry.js.map → p-9003dadd.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-fc426694.entry.js.map → p-9294464b.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-f1a64d71.entry.js.map → p-96209700.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-7e785f95.entry.js.map → p-9a63883c.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-30b90219.entry.js.map → p-9ac7f3f5.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-b4d78249.entry.js.map → p-9c6caf5a.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-353f35fb.entry.js.map → p-9e7a1402.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-a6522800.entry.js.map → p-9f9d40a9.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-3c60f148.entry.js.map → p-a14af5ec.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-b38b3c4c.entry.js.map → p-a24d6846.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-a70a0080.entry.js.map → p-a58c382e.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-22eb16c8.entry.js.map → p-a614ead6.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-c63e07fc.entry.js.map → p-a6dddbf1.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-6d0e28b0.entry.js.map → p-ab039060.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-e9a85cba.entry.js.map → p-b0631dbd.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-3c059c3f.entry.js.map → p-b344a1ad.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-4eb79797.entry.js.map → p-b63f46e0.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-392592da.entry.js.map → p-b81b301b.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-6e1ef0ec.entry.js.map → p-b89fd80b.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-3b891522.entry.js.map → p-ba410b7a.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-08efb2fb.entry.js.map → p-bebb6973.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-d1747317.entry.js.map → p-bf8e55a9.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-6cc8c31a.entry.js.map → p-bfc88af7.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-250f9ffa.entry.js.map → p-c4c71d7f.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-c596173d.entry.js.map → p-cd1a26ff.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-5022f5ae.entry.js.map → p-d07d91c1.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-3e55b338.entry.js.map → p-d0f6c3f5.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-084b9cdd.entry.js.map → p-d10ff45f.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-abd7cbc6.entry.js.map → p-d13fb319.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-315d9ed9.entry.js.map → p-d15817fe.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-90fb2952.entry.js.map → p-d5e35933.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-609ad786.entry.js.map → p-d85a47f1.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-e61966c4.entry.js.map → p-da9475aa.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-f395be95.entry.js.map → p-dc609bab.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-31ca74fa.entry.js.map → p-de8ad578.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-f99e3401.entry.js.map → p-df5034a2.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-ec6a62aa.entry.js.map → p-e30a72e4.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-d5b7addc.entry.js.map → p-e4d0b7c6.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-cc6e6867.entry.js.map → p-e65425be.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-1b5786df.entry.js.map → p-e6f14f33.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-8b8f4b5c.entry.js.map → p-e7ea2434.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-a628ad78.entry.js.map → p-e89f1709.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-99c6d6af.entry.js.map → p-e902f133.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-221df142.entry.js.map → p-ea6bbf7f.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-3e764c0f.entry.js.map → p-ebbc1a65.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-fae36aac.entry.js.map → p-ebee4436.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-ee8190b4.entry.js.map → p-ed59015f.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-7046fef8.entry.js.map → p-eeb4aa80.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-3242ae36.entry.js.map → p-f08d0b8e.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-abddf10c.entry.js.map → p-f3c2ef63.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-83855aaf.entry.js.map → p-f44771d5.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-5191a957.entry.js.map → p-f5f7ca91.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-ab120fe4.entry.js.map → p-f741e2c1.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-41e45f16.entry.js.map → p-f781da2b.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-4dfd34dd.entry.js.map → p-fa0eb466.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-9425707d.entry.js.map → p-fb370837.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-f7ae52f5.entry.js.map → p-ffb05715.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-CViAWrjM.js","mappings":";;;;;;AAAA,MAAM,qBAAqB,GAAG,MAAM,CAAC,msIAAmsI,CAAC;;MCa5tI,kBAAkB,iBAAAA,kBAAA,CAAA,MAAA,kBAAA,SAAAC,CAAA,CAAA;A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,EACN,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,EAAE,GAAG,EACpF,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,CAClE,CACZ,CACG,CACG,CACZ,EACA,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,KAC7B,CAAA,CAAC,QAAQ,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACP,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EAAE,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAO,EACjF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qEAAqE,EAAA,EAC9E,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,CAAG,EAAA,MAAM,CAAC,cAAc,CAAC,SAAS,CAAA,iBAAA,EAAoB,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAA,IAAA,CAAM,EAC7F,GAAG,EAAE,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAC9C,CAAA,CACE,CACG,CACZ,CACG,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.scss?tag=stzh-bathstatus-item&encapsulation=scoped","src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-bathstatus-item {\n background-color: var(--stzh-color-grey10);\n padding-top: var(--stzh-space-xlarge);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-xlarge);\n padding-left: var(--stzh-space-large);\n\n &__description,\n &-value {\n @include fontSize(\"milli\");\n }\n\n &__title {\n @include fontSize(\"milli\");\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n }\n\n &-container {\n display: grid;\n grid-template-columns: max-content 1fr;\n gap: var(--stzh-space-small) var(--stzh-space-xlarge);\n align-items: center;\n }\n\n &-key {\n @include fontSize(\"nano\");\n color: var(--stzh-color-grey70);\n }\n\n /** Variant teaser */\n\n &--teaser &__title {\n display: none;\n }\n\n &--teaser &__description {\n margin-bottom: var(--stzh-space-medium);\n }\n\n /** Variant list */\n\n &--list {\n padding-top: var(--stzh-space-small);\n padding-right: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-small);\n padding-left: var(--stzh-space-xsmall);\n\n @include mq($from: medium) {\n padding-top: var(--stzh-space-medium);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-medium);\n padding-left: var(--stzh-space-large);\n }\n }\n\n &--list &__description,\n &--list &-key,\n &--list &-uv-index-prediction {\n display: none;\n }\n\n &--list &-container {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n\n &--list &-value {\n @include fontSize(\"micro\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n }\n }\n}\n","import { Component, Element, Fragment, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhBathstatusItemData, StzhLocaleAdapter } from \"../../../index\";\nimport { StzhBathstatusItemLocalizedText } from \"./stzh-bathstatus-item.localization\";\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../../utils/media-utils\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-bathstatus-item\",\n styleUrl: \"stzh-bathstatus-item.scss\",\n scoped: true,\n})\nexport class StzhBathstatusItem {\n /** Translation strings */\n @Prop() localization: StzhBathstatusItemLocalizedText;\n\n /** Variant */\n @Prop() variant: \"teaser\" | \"list\" = \"teaser\";\n\n /** Bathstatus item */\n @Prop() item: StzhBathstatusItemData | string = \"\";\n private _item: StzhBathstatusItemData | undefined;\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n @Element() element: HTMLStzhBathstatusItemElement;\n\n @State() isMedium: boolean;\n\n @Watch(\"item\")\n itemWatcher(newValue: StzhBathstatusItemData | string) {\n if (!newValue) {\n this._item = undefined;\n } else if (typeof newValue === \"string\") {\n try {\n this._item = JSON.parse(newValue);\n } catch (e) {\n this._item = undefined;\n }\n } else {\n this._item = newValue;\n }\n }\n\n private mediaChangeHandler = () => {\n this.isMedium = media(\"medium\").matches;\n };\n\n private init = () => {\n this.itemWatcher(this.item);\n };\n\n private getParsedDate(dateStr: string): Date | null {\n const parsedDate = new Date(dateStr);\n if (isNaN(parsedDate.getTime())) {\n return null;\n }\n return parsedDate;\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"bathstatus-item\");\n }\n if (!this.dateAdapter) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n connectedCallback() {\n this.init();\n this.mediaChangeHandler();\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const classes = {\n \"stzh-bathstatus-item\": true,\n [`stzh-bathstatus-item--${this.variant}`]: true,\n };\n\n return (\n <Host>\n <div class={classes}>\n {!!this._item.description && <div class=\"stzh-bathstatus-item__description\">{this._item.description}</div>}\n <div class=\"stzh-bathstatus-item-container\">\n <stzh-link\n class=\"stzh-bathstatus-item__title\"\n size=\"default\"\n textAlign={\"left\"}\n href={this._item.url}\n label={this._item.title}\n ></stzh-link>\n {!!this._item.temp && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.temperature}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.temp}</div>\n </Fragment>\n )}\n {!!this._item.statusMessage && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.status}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.statusMessage}</div>\n </Fragment>\n )}\n {!!this._item.lastUpdate && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.lastUpdate}</div>\n <div class=\"stzh-bathstatus-item-value\">\n {this.isMedium ? (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"datetimeLong\")}\n </Fragment>\n ) : (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"dateInput\")}{\" \"}\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"time\")}\n </Fragment>\n )}\n </div>\n </Fragment>\n )}\n {!!this._item.uvIndexPrediction && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.uvIndexPrediction}</div>\n <div class=\"stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction\">\n <img\n src={`${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`}\n alt={\"UV Index\" + this._item.uvIndexPrediction}\n />\n </div>\n </Fragment>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D471mdkF.js","mappings":";;;;;;AAAA,MAAM,qBAAqB,GAAG,MAAM,CAAC,msIAAmsI,CAAC;;MCa5tI,kBAAkB,iBAAAA,kBAAA,CAAA,MAAA,kBAAA,SAAAC,CAAA,CAAA;AAL/B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAUU,QAAA,IAAO,CAAA,OAAA,GAAsB,QAAQ;;AAGrC,QAAA,IAAI,CAAA,IAAA,GAAoC,EAAE;AA6B1C,QAAA,IAAkB,CAAA,kBAAA,GAAG,MAAK;YAChC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAA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U,CAAC,EAAE,MAAM,CAAC,CAClE,CACZ,CACG,CACG,CACZ,EACA,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,KAC7B,CAAA,CAAC,QAAQ,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACP,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EAAE,IAAI,CAAC,YAAY,CAAC,iBAAiB,CAAO,EACjF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qEAAqE,EAAA,EAC9E,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,CAAG,EAAA,MAAM,CAAC,cAAc,CAAC,SAAS,CAAA,iBAAA,EAAoB,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAA,IAAA,CAAM,EAC7F,GAAG,EAAE,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAC9C,CAAA,CACE,CACG,CACZ,CACG,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.scss?tag=stzh-bathstatus-item&encapsulation=scoped","src/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-bathstatus-item {\n background-color: var(--stzh-color-grey10);\n padding-top: var(--stzh-space-xlarge);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-xlarge);\n padding-left: var(--stzh-space-large);\n\n &__description,\n &-value {\n @include fontSize(\"milli\");\n }\n\n &__title {\n @include fontSize(\"milli\");\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n }\n\n &-container {\n display: grid;\n grid-template-columns: max-content 1fr;\n gap: var(--stzh-space-small) var(--stzh-space-xlarge);\n align-items: center;\n }\n\n &-key {\n @include fontSize(\"nano\");\n color: var(--stzh-color-grey70);\n }\n\n /** Variant teaser */\n\n &--teaser &__title {\n display: none;\n }\n\n &--teaser &__description {\n margin-bottom: var(--stzh-space-medium);\n }\n\n /** Variant list */\n\n &--list {\n padding-top: var(--stzh-space-small);\n padding-right: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-small);\n padding-left: var(--stzh-space-xsmall);\n\n @include mq($from: medium) {\n padding-top: var(--stzh-space-medium);\n padding-right: var(--stzh-space-large);\n padding-bottom: var(--stzh-space-medium);\n padding-left: var(--stzh-space-large);\n }\n }\n\n &--list &__description,\n &--list &-key,\n &--list &-uv-index-prediction {\n display: none;\n }\n\n &--list &-container {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n\n &--list &-value {\n @include fontSize(\"micro\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n }\n }\n}\n","import { Component, Element, Fragment, h, Host, Prop, State, Watch } from \"@stencil/core\";\nimport { StzhBathstatusItemData, StzhLocaleAdapter } from \"../../../index\";\nimport { StzhBathstatusItemLocalizedText } from \"./stzh-bathstatus-item.localization\";\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../../utils/media-utils\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-bathstatus-item\",\n styleUrl: \"stzh-bathstatus-item.scss\",\n scoped: true,\n})\nexport class StzhBathstatusItem {\n /** Translation strings */\n @Prop() localization: StzhBathstatusItemLocalizedText;\n\n /** Variant */\n @Prop() variant: \"teaser\" | \"list\" = \"teaser\";\n\n /** Bathstatus item */\n @Prop() item: StzhBathstatusItemData | string = \"\";\n private _item: StzhBathstatusItemData | undefined;\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n @Element() element: HTMLStzhBathstatusItemElement;\n\n @State() isMedium: boolean;\n\n @Watch(\"item\")\n itemWatcher(newValue: StzhBathstatusItemData | string) {\n if (!newValue) {\n this._item = undefined;\n } else if (typeof newValue === \"string\") {\n try {\n this._item = JSON.parse(newValue);\n } catch (e) {\n this._item = undefined;\n }\n } else {\n this._item = newValue;\n }\n }\n\n private mediaChangeHandler = () => {\n this.isMedium = media(\"medium\").matches;\n };\n\n private init = () => {\n this.itemWatcher(this.item);\n };\n\n private getParsedDate(dateStr: string): Date | null {\n const parsedDate = new Date(dateStr);\n if (isNaN(parsedDate.getTime())) {\n return null;\n }\n return parsedDate;\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"bathstatus-item\");\n }\n if (!this.dateAdapter) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n connectedCallback() {\n this.init();\n this.mediaChangeHandler();\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const classes = {\n \"stzh-bathstatus-item\": true,\n [`stzh-bathstatus-item--${this.variant}`]: true,\n };\n\n return (\n <Host>\n <div class={classes}>\n {!!this._item.description && <div class=\"stzh-bathstatus-item__description\">{this._item.description}</div>}\n <div class=\"stzh-bathstatus-item-container\">\n <stzh-link\n class=\"stzh-bathstatus-item__title\"\n size=\"default\"\n textAlign={\"left\"}\n href={this._item.url}\n label={this._item.title}\n ></stzh-link>\n {!!this._item.temp && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.temperature}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.temp}</div>\n </Fragment>\n )}\n {!!this._item.statusMessage && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.status}</div>\n <div class=\"stzh-bathstatus-item-value\">{this._item.statusMessage}</div>\n </Fragment>\n )}\n {!!this._item.lastUpdate && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.lastUpdate}</div>\n <div class=\"stzh-bathstatus-item-value\">\n {this.isMedium ? (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"datetimeLong\")}\n </Fragment>\n ) : (\n <Fragment>\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"dateInput\")}{\" \"}\n {this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), \"time\")}\n </Fragment>\n )}\n </div>\n </Fragment>\n )}\n {!!this._item.uvIndexPrediction && (\n <Fragment>\n <div class=\"stzh-bathstatus-item-key\">{this.localization.uvIndexPrediction}</div>\n <div class=\"stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction\">\n <img\n src={`${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`}\n alt={\"UV Index\" + this._item.uvIndexPrediction}\n />\n </div>\n </Fragment>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,10 +1,10 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-ptAFQZzh.js';
2
2
  import { s as setPropsIfNull, h as hasSlot } from './p-CN5apKPb.js';
3
3
  import { w as waitForEvent } from './p--SdF31O7.js';
4
4
  import { s as stopAnimations, a as animateTo, b as shimKeyframesAutoValues } from './p-BOO84wnP.js';
5
- import { d as defineCustomElement$3 } from './p-Cz-ha88J.js';
6
- import { d as defineCustomElement$2 } from './p-BtU8igAM.js';
7
- import { d as defineCustomElement$1 } from './p-BU4OH8Cm.js';
5
+ import { d as defineCustomElement$3 } from './p-BaC_gScF.js';
6
+ import { d as defineCustomElement$2 } from './p-ka1rmhv9.js';
7
+ import { d as defineCustomElement$1 } from './p-B8VeEjIy.js';
8
8
 
9
9
  const stzhToastCss = () => `: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{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-toast{border:0.0625rem solid Highlight}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small);padding:var(--stzh-space-medium)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{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);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast{}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall)}`;
10
10
 
@@ -233,6 +233,6 @@ function defineCustomElement() {
233
233
  }
234
234
 
235
235
  export { StzhToast as S, defineCustomElement as d };
236
- //# sourceMappingURL=p-C720-Qcv.js.map
236
+ //# sourceMappingURL=p-D71JIHdD.js.map
237
237
 
238
- //# sourceMappingURL=p-C720-Qcv.js.map
238
+ //# sourceMappingURL=p-D71JIHdD.js.map
@@ -1 +1 @@
1
- {"file":"p-C720-Qcv.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC,k8FAAk8F,CAAC;;ACe/9F,MAAM,cAAc,GAAG;AACrB,IAAA,SAAS,EAAE;AACT,QAAA,EAAE,SAAS,EAAE,kBAAkB,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE;AAC/E,QAAA,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE;AACrF,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,QAAQ,EAAE,GAAG;AACb,QAAA,MAAM,EAAE,UAAU;AACnB,KAAA;CACF;AAED,MAAM,cAAc,GAAG;AACrB,IAAA,SAAS,EAAE;AACT,QAAA,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAA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AAC,SAAS,KACd,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2BAA2B,EAAA,EACpC,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAC9B,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EACH,CAAA,CACX,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-toast/stzh-toast.scss?tag=stzh-toast&encapsulation=shadow","src/components/stzh-toast/stzh-toast.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color of toast\n */\n\n:host {\n pointer-events: all;\n\n --label-font-family: #{$toastLabelFontFamily};\n --label-font-weight: #{$toastLabelFontWeight};\n --label-font-style: #{$toastLabelFontStyle};\n\n --label-color: #{$toastLabelColor};\n --background-color: #{$toastBackgroundColor};\n --close-color: #{$toastCloseColor};\n --button-color: #{$toastButtonColor};\n --icon-color: #{$toastIconColor};\n}\n\n:host([type=\"success\"]) {\n --icon-color: #{$toastSuccessIconColor};\n}\n\n:host([type=\"warning\"]) {\n --icon-color: #{$toastWarningIconColor};\n}\n\n:host([type=\"error\"]) {\n --icon-color: #{$toastErrorIconColor};\n}\n\n.stzh-toast {\n position: relative;\n display: flex;\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n border-radius: #{$buttonBorderRadius};\n transition: background-color $baseTransitionAnimationSpeed;\n\n @include highContrast() {\n border: 1px solid Highlight;\n }\n\n &__content {\n flex-grow: 1;\n display: flex;\n gap: space(\"small\");\n padding: space(\"medium\");\n }\n\n &__icon-wrapper {\n flex-shrink: 0;\n display: flex;\n }\n\n &__icon {\n color: var(--icon-color);\n }\n\n &__text-wrapper {\n flex-grow: 1;\n }\n\n &__label {\n @include fontSize(\"milli\");\n color: var(--label-color);\n font-family: var(--label-font-family);\n font-weight: var(--label-font-weight);\n font-style: var(--label-font-style);\n transition: color $baseTransitionAnimationSpeed;\n padding-right: space(\"xxlarge\");\n\n @include mq($from: small) {\n padding-right: space(\"xxxlarge\");\n }\n }\n\n &__close-wrapper {\n flex-shrink: 0;\n }\n\n &__link {\n --stzh-button-tertiary-color: var(--button-color);\n\n display: flex;\n justify-content: flex-end;\n }\n\n &__close[variant=\"tertiary\"] {\n --color: var(--close-color);\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Has link */\n\n &--has-link &__label:not(:empty) + &__link {\n margin-top: space(\"xsmall\");\n }\n}\n","import { Component, Host, h, Element, Prop, Event, EventEmitter, Method, Watch } from \"@stencil/core\";\n\nimport {\n StzhToastOpenEvent,\n StzhToastOpenedEvent,\n StzhToastCloseEvent,\n StzhToastClosedEvent,\n StzhToastType,\n} from \"../../index\";\n\nimport { StzhToastLocalizedText } from \"./stzh-toast.localization\";\nimport { hasSlot, setPropsIfNull } from \"../../utils/utils\";\nimport { waitForEvent } from \"../../utils/event-utils\";\nimport { animateTo, shimKeyframesAutoValues, stopAnimations } from \"../../utils/animation-utils\";\n\nconst ANIMATION_SHOW = {\n keyframes: [\n { transform: \"translateY(100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n ],\n options: {\n duration: 300,\n easing: \"ease-out\",\n },\n};\n\nconst ANIMATION_HIDE = {\n keyframes: [\n { transform: \"translateX(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n // { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: 'auto' },\n // { transform: \"translateY(-100%)\", opacity: \"0\", height: \"0\", marginBottom: '0' },\n ],\n options: {\n duration: 300,\n easing: \"ease-in\",\n },\n};\n\n/**\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-toast\",\n styleUrl: \"stzh-toast.scss\",\n shadow: true,\n})\nexport class StzhToast {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhToastType = \"info\";\n\n /** Whether to hide close button */\n @Prop({ reflect: true }) hideClose: boolean = false;\n\n /** Open state */\n @Prop({ reflect: true }) open: boolean = true;\n\n /** Whether open animation should be played initially. */\n @Prop() initialOpenAnimation = false;\n\n /** Translation strings. */\n @Prop() localization: StzhToastLocalizedText;\n\n /** Toast open event */\n @Event() stzhOpen: EventEmitter<StzhToastOpenEvent>;\n\n /** Toast opened event (after animation) */\n @Event() stzhOpened: EventEmitter<StzhToastOpenedEvent>;\n\n /** Toast close event */\n @Event() stzhClose: EventEmitter<StzhToastCloseEvent>;\n\n /** Toast closed event (after animation) */\n @Event() stzhClosed: EventEmitter<StzhToastClosedEvent>;\n\n @Element() element: HTMLStzhToastElement;\n\n @Watch(\"open\")\n async openWatcher(newValue: boolean) {\n if (!this.rootElement) {\n return;\n }\n\n if (newValue) {\n if (this.toggledByMethod) {\n this.stzhOpen.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n this.element.hidden = false;\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_SHOW.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_SHOW.options,\n );\n\n this.element.style.height = \"auto\";\n this.element.style.opacity = \"1\";\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhOpened.emit({\n component: \"stzh-toast\",\n });\n }\n } else {\n if (this.toggledByMethod) {\n this.stzhClose.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_HIDE.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_HIDE.options,\n );\n\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n this.element.hidden = true;\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhClosed.emit({\n component: \"stzh-toast\",\n });\n }\n }\n\n this.toggledByMethod = false;\n }\n\n @Method()\n async show() {\n if (this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = true;\n return waitForEvent(this.element, \"stzhOpened\");\n }\n\n @Method()\n async hide() {\n if (!this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = false;\n return waitForEvent(this.element, \"stzhClosed\");\n }\n\n // private observer: MutationObserver;\n private toggledByMethod: boolean;\n private rootElement: HTMLElement;\n\n private handleLinkSlotchange = () => {\n const host = (this.element.getRootNode() as ShadowRoot)?.host || this.element;\n const buttons = host.querySelectorAll('stzh-button[slot=\"link\"], [slot=\"link\"] stzh-button');\n\n buttons.forEach(link => {\n setPropsIfNull(link, {\n size: \"small\",\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"toast\");\n }\n }\n\n componentDidLoad() {\n if (this.initialOpenAnimation && this.open) {\n // hide first so the open animation will be shown\n this.element.hidden = true;\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n this.openWatcher(true);\n });\n });\n } else {\n this.element.hidden = !this.open;\n this.element.style.height = this.open ? \"auto\" : \"0px\";\n this.element.style.opacity = this.open ? \"1\" : \"0\";\n }\n }\n\n // connectedCallback() {\n // this.init();\n\n // this.observer = new MutationObserver(this.init);\n // this.observer.observe(this.element, {\n // childList: true,\n // subtree: true\n // });\n // }\n\n // disconnectedCallback() {\n // if (this.observer) {\n // this.observer.disconnect();\n // }\n // }\n\n render() {\n const linkUsed = hasSlot(this.element, \"link\");\n\n const classes = {\n \"stzh-toast\": true,\n \"stzh-toast--has-link\": linkUsed,\n \"stzh-toast--has-close-hidden\": this.hideClose,\n [`stzh-toast--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div ref={el => (this.rootElement = el as HTMLElement)} class={classes}>\n <div class=\"stzh-toast__content\">\n <div class=\"stzh-toast__icon-wrapper\">\n <stzh-icon\n class=\"stzh-toast__icon\"\n name={\n (this.type === \"info\" && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-toast__text-wrapper\">\n <div class=\"stzh-toast__label\">{this.label}</div>\n <div class=\"stzh-toast__link\">\n <slot name=\"link\" onSlotchange={this.handleLinkSlotchange}></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <div class=\"stzh-toast__close-wrapper\">\n <stzh-button\n class=\"stzh-toast__close\"\n onClick={this.onCloseButtonClick}\n label={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D71JIHdD.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC,k8FAAk8F,CAAC;;ACe/9F,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,CAAC,IAAI,KAAK,OAAO,IAAI,gBAAgB,CAAC,EAAA,CAElC,CACT,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EACnC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,KAAK,CAAO,EACjD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAC,YAAY,EAAE,IAAI,CAAC,oBAAoB,EAAA,CAAS,CAC9D,CACF,CACF,EAEL,CAAC,IAAI,CAAC,SAAS,KACd,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2BAA2B,EAAA,EACpC,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAC9B,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EACH,CAAA,CACX,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-toast/stzh-toast.scss?tag=stzh-toast&encapsulation=shadow","src/components/stzh-toast/stzh-toast.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color of toast\n */\n\n:host {\n pointer-events: all;\n\n --label-font-family: #{$toastLabelFontFamily};\n --label-font-weight: #{$toastLabelFontWeight};\n --label-font-style: #{$toastLabelFontStyle};\n\n --label-color: #{$toastLabelColor};\n --background-color: #{$toastBackgroundColor};\n --close-color: #{$toastCloseColor};\n --button-color: #{$toastButtonColor};\n --icon-color: #{$toastIconColor};\n}\n\n:host([type=\"success\"]) {\n --icon-color: #{$toastSuccessIconColor};\n}\n\n:host([type=\"warning\"]) {\n --icon-color: #{$toastWarningIconColor};\n}\n\n:host([type=\"error\"]) {\n --icon-color: #{$toastErrorIconColor};\n}\n\n.stzh-toast {\n position: relative;\n display: flex;\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n border-radius: #{$buttonBorderRadius};\n transition: background-color $baseTransitionAnimationSpeed;\n\n @include highContrast() {\n border: 1px solid Highlight;\n }\n\n &__content {\n flex-grow: 1;\n display: flex;\n gap: space(\"small\");\n padding: space(\"medium\");\n }\n\n &__icon-wrapper {\n flex-shrink: 0;\n display: flex;\n }\n\n &__icon {\n color: var(--icon-color);\n }\n\n &__text-wrapper {\n flex-grow: 1;\n }\n\n &__label {\n @include fontSize(\"milli\");\n color: var(--label-color);\n font-family: var(--label-font-family);\n font-weight: var(--label-font-weight);\n font-style: var(--label-font-style);\n transition: color $baseTransitionAnimationSpeed;\n padding-right: space(\"xxlarge\");\n\n @include mq($from: small) {\n padding-right: space(\"xxxlarge\");\n }\n }\n\n &__close-wrapper {\n flex-shrink: 0;\n }\n\n &__link {\n --stzh-button-tertiary-color: var(--button-color);\n\n display: flex;\n justify-content: flex-end;\n }\n\n &__close[variant=\"tertiary\"] {\n --color: var(--close-color);\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Has link */\n\n &--has-link &__label:not(:empty) + &__link {\n margin-top: space(\"xsmall\");\n }\n}\n","import { Component, Host, h, Element, Prop, Event, EventEmitter, Method, Watch } from \"@stencil/core\";\n\nimport {\n StzhToastOpenEvent,\n StzhToastOpenedEvent,\n StzhToastCloseEvent,\n StzhToastClosedEvent,\n StzhToastType,\n} from \"../../index\";\n\nimport { StzhToastLocalizedText } from \"./stzh-toast.localization\";\nimport { hasSlot, setPropsIfNull } from \"../../utils/utils\";\nimport { waitForEvent } from \"../../utils/event-utils\";\nimport { animateTo, shimKeyframesAutoValues, stopAnimations } from \"../../utils/animation-utils\";\n\nconst ANIMATION_SHOW = {\n keyframes: [\n { transform: \"translateY(100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n ],\n options: {\n duration: 300,\n easing: \"ease-out\",\n },\n};\n\nconst ANIMATION_HIDE = {\n keyframes: [\n { transform: \"translateX(0px)\", opacity: \"1\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"auto\", marginBottom: \"auto\" },\n { transform: \"translateX(-100%)\", opacity: \"0\", height: \"0\", marginBottom: \"0\" },\n // { transform: \"translateY(0px)\", opacity: \"1\", height: \"auto\", marginBottom: 'auto' },\n // { transform: \"translateY(-100%)\", opacity: \"0\", height: \"0\", marginBottom: '0' },\n ],\n options: {\n duration: 300,\n easing: \"ease-in\",\n },\n};\n\n/**\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-toast\",\n styleUrl: \"stzh-toast.scss\",\n shadow: true,\n})\nexport class StzhToast {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: StzhToastType = \"info\";\n\n /** Whether to hide close button */\n @Prop({ reflect: true }) hideClose: boolean = false;\n\n /** Open state */\n @Prop({ reflect: true }) open: boolean = true;\n\n /** Whether open animation should be played initially. */\n @Prop() initialOpenAnimation = false;\n\n /** Translation strings. */\n @Prop() localization: StzhToastLocalizedText;\n\n /** Toast open event */\n @Event() stzhOpen: EventEmitter<StzhToastOpenEvent>;\n\n /** Toast opened event (after animation) */\n @Event() stzhOpened: EventEmitter<StzhToastOpenedEvent>;\n\n /** Toast close event */\n @Event() stzhClose: EventEmitter<StzhToastCloseEvent>;\n\n /** Toast closed event (after animation) */\n @Event() stzhClosed: EventEmitter<StzhToastClosedEvent>;\n\n @Element() element: HTMLStzhToastElement;\n\n @Watch(\"open\")\n async openWatcher(newValue: boolean) {\n if (!this.rootElement) {\n return;\n }\n\n if (newValue) {\n if (this.toggledByMethod) {\n this.stzhOpen.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n this.element.hidden = false;\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_SHOW.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_SHOW.options,\n );\n\n this.element.style.height = \"auto\";\n this.element.style.opacity = \"1\";\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhOpened.emit({\n component: \"stzh-toast\",\n });\n }\n } else {\n if (this.toggledByMethod) {\n this.stzhClose.emit({\n component: \"stzh-toast\",\n });\n }\n\n await stopAnimations(this.element);\n\n // this.element.style.willChange = \"transform, opacity, height\";\n\n const computedStyle = getComputedStyle(this.element, null);\n\n await animateTo(\n this.element,\n shimKeyframesAutoValues(ANIMATION_HIDE.keyframes, {\n height: this.element.scrollHeight,\n marginTop: parseInt(computedStyle[\"margin-top\"]),\n marginBottom: parseInt(computedStyle[\"margin-bottom\"]),\n }),\n ANIMATION_HIDE.options,\n );\n\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n this.element.hidden = true;\n // this.element.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhClosed.emit({\n component: \"stzh-toast\",\n });\n }\n }\n\n this.toggledByMethod = false;\n }\n\n @Method()\n async show() {\n if (this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = true;\n return waitForEvent(this.element, \"stzhOpened\");\n }\n\n @Method()\n async hide() {\n if (!this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = false;\n return waitForEvent(this.element, \"stzhClosed\");\n }\n\n // private observer: MutationObserver;\n private toggledByMethod: boolean;\n private rootElement: HTMLElement;\n\n private handleLinkSlotchange = () => {\n const host = (this.element.getRootNode() as ShadowRoot)?.host || this.element;\n const buttons = host.querySelectorAll('stzh-button[slot=\"link\"], [slot=\"link\"] stzh-button');\n\n buttons.forEach(link => {\n setPropsIfNull(link, {\n size: \"small\",\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"toast\");\n }\n }\n\n componentDidLoad() {\n if (this.initialOpenAnimation && this.open) {\n // hide first so the open animation will be shown\n this.element.hidden = true;\n this.element.style.height = \"0px\";\n this.element.style.opacity = \"0\";\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n this.openWatcher(true);\n });\n });\n } else {\n this.element.hidden = !this.open;\n this.element.style.height = this.open ? \"auto\" : \"0px\";\n this.element.style.opacity = this.open ? \"1\" : \"0\";\n }\n }\n\n // connectedCallback() {\n // this.init();\n\n // this.observer = new MutationObserver(this.init);\n // this.observer.observe(this.element, {\n // childList: true,\n // subtree: true\n // });\n // }\n\n // disconnectedCallback() {\n // if (this.observer) {\n // this.observer.disconnect();\n // }\n // }\n\n render() {\n const linkUsed = hasSlot(this.element, \"link\");\n\n const classes = {\n \"stzh-toast\": true,\n \"stzh-toast--has-link\": linkUsed,\n \"stzh-toast--has-close-hidden\": this.hideClose,\n [`stzh-toast--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host>\n <div ref={el => (this.rootElement = el as HTMLElement)} class={classes}>\n <div class=\"stzh-toast__content\">\n <div class=\"stzh-toast__icon-wrapper\">\n <stzh-icon\n class=\"stzh-toast__icon\"\n name={\n (this.type === \"info\" && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-toast__text-wrapper\">\n <div class=\"stzh-toast__label\">{this.label}</div>\n <div class=\"stzh-toast__link\">\n <slot name=\"link\" onSlotchange={this.handleLinkSlotchange}></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <div class=\"stzh-toast__close-wrapper\">\n <stzh-button\n class=\"stzh-toast__close\"\n onClick={this.onCloseButtonClick}\n label={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-ptAFQZzh.js';
2
2
  import { s as setPropsIfNull } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$3 } from './p-Cz-ha88J.js';
4
- import { d as defineCustomElement$2 } from './p-BtU8igAM.js';
5
- import { d as defineCustomElement$1 } from './p-BU4OH8Cm.js';
3
+ import { d as defineCustomElement$3 } from './p-BaC_gScF.js';
4
+ import { d as defineCustomElement$2 } from './p-ka1rmhv9.js';
5
+ import { d as defineCustomElement$1 } from './p-B8VeEjIy.js';
6
6
 
7
7
  const stzhGhettoboxCss = () => `.sc-stzh-ghettobox-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-ghettobox-h,[stzh-hidden].sc-stzh-ghettobox-h{display:none}.sc-stzh-ghettobox-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-ghettobox-h *.sc-stzh-ghettobox,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::before,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::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-ghettobox-h .has-focus.sc-stzh-ghettobox{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-ghettobox-h .stzh-fylingfocus-focused.sc-stzh-ghettobox{outline-style:none !important}.sc-stzh-ghettobox-h .stzh-fylingfocus-focused.sc-stzh-ghettobox::-moz-focus-inner{border:0 !important}.sc-stzh-ghettobox-h{--stzh-flyingfocus-color:var(--stzh-base-invert-color);--stzh-base-color:var(--stzh-base-invert-color);--stzh-base-lead-color:var(--stzh-base-invert-color);--stzh-base-border-color:var(--stzh-base-invert-color);--stzh-heading-color:var(--stzh-base-invert-color);--stzh-link-color:var(--stzh-base-invert-color);--stzh-link-hover-color:var(--stzh-base-invert-color);--stzh-button-color:var(--stzh-color-primary);--stzh-button-background-color:var(--stzh-base-invert-color);--stzh-button-hover-color:var(--stzh-color-primary);--stzh-button-hover-background-color:var(--stzh-color-white80op);--stzh-button-disabled-color:var(--stzh-color-primary);--stzh-button-disabled-background-color:var(--stzh-color-white40op);--stzh-button-secondary-color:var(--stzh-base-invert-color);--stzh-button-secondary-background-color:var(--stzh-color-white40op);--stzh-button-secondary-hover-color:var(--stzh-base-invert-color);--stzh-button-secondary-hover-background-color:var(--stzh-color-white30op);--stzh-button-secondary-disabled-color:var(--stzh-color-white60op);--stzh-button-secondary-disabled-background-color:var(--stzh-color-white40op);--stzh-button-tertiary-color:var(--stzh-base-invert-color);--stzh-button-tertiary-hover-color:var(--stzh-base-invert-color);--stzh-button-tertiary-hover-background-color:var(--stzh-color-white20op);--stzh-button-tertiary-disabled-color:var(--stzh-color-white70op);--stzh-button-active-color:var(--stzh-color-primary);--stzh-button-active-background-color:var(--stzh-color-white80op);--stzh-button-active-hover-color:var(--stzh-color-primary);--stzh-button-active-hover-background-color:var(--stzh-color-white80op);--background-color:var(--stzh-color-coral60);--color:var(--stzh-base-invert-color);--richtext-color:var(--color)}.stzh-ghettobox.sc-stzh-ghettobox{position:relative;color:var(--color);box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);--stzh-button-secondary-color:var(--stzh-color-coral60);--stzh-button-secondary-background-color:var(--stzh-color-white90op);--stzh-button-secondary-hover-color:var(--stzh-color-coral60);--stzh-button-secondary-hover-background-color:var(--stzh-color-white);--stzh-button-secondary-disabled-color:var(--stzh-color-white60op);--stzh-button-secondary-disabled-background-color:var(--stzh-color-white40op)}.stzh-ghettobox__container.sc-stzh-ghettobox{margin-left:1.25rem;margin-right:1.25rem}@media screen and (min-width: 600px){.stzh-ghettobox__container.sc-stzh-ghettobox{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-ghettobox__container.sc-stzh-ghettobox{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-ghettobox__container.sc-stzh-ghettobox{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-ghettobox__container.sc-stzh-ghettobox{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-ghettobox__container.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-ghettobox__container.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox__container.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxxlarge)}}.stzh-ghettobox__container.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-ghettobox__container.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox__container.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxxlarge)}}.stzh-ghettobox__hidden-title.sc-stzh-ghettobox{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-ghettobox__message.sc-stzh-ghettobox{gap:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-ghettobox__message.sc-stzh-ghettobox{gap:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-ghettobox__message.sc-stzh-ghettobox{gap:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox__message.sc-stzh-ghettobox{gap:var(--stzh-space-xxlarge)}}.stzh-ghettobox__message.sc-stzh-ghettobox{display:flex;flex-direction:column}.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 900px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1600px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.stzh-ghettobox__main-title.sc-stzh-ghettobox{margin:0;color:inherit}.stzh-ghettobox__main-title.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-ghettobox__main-title.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-ghettobox__main-title.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox__main-title.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-xxlarge)}}.stzh-ghettobox__description.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-ghettobox__description.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-ghettobox__description.sc-stzh-ghettobox{--stzh-base-color:var(--richtext-color)}.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty){margin-bottom:var(--stzh-space-xlarge)}}.stzh-ghettobox__button.sc-stzh-ghettobox{display:grid}@media screen and (min-width: 600px){.stzh-ghettobox__button.sc-stzh-ghettobox{justify-content:start}}.stzh-ghettobox__close.sc-stzh-ghettobox{position:absolute;top:0;right:0}@media screen and (min-width: 600px){.stzh-ghettobox__close.sc-stzh-ghettobox{top:0.625rem;right:0.625rem}}`;
8
8
 
@@ -121,6 +121,6 @@ function defineCustomElement() {
121
121
  }
122
122
 
123
123
  export { StzhGhettobox as S, defineCustomElement as d };
124
- //# sourceMappingURL=p-D3atNlwG.js.map
124
+ //# sourceMappingURL=p-DC-bkkG9.js.map
125
125
 
126
- //# sourceMappingURL=p-D3atNlwG.js.map
126
+ //# sourceMappingURL=p-DC-bkkG9.js.map
@@ -1 +1 @@
1
- {"file":"p-D3atNlwG.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,y8RAAy8R,CAAC;;MCgB79R,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AAOU,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;;AAGxB,QAAA,IAAS,CAAA,SAAA,GAAW,EAAE;;AAGtB,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;;AAGxB,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAczB,QAAA,IAAI,CAAA,IAAA,GAAY,IAAI;AAoBrB,QAAA,IAAkB,CAAA,kBAAA,GAAG,MAAK;YAChC,IAAI,CAAC,IAAI,EAAE;AACb,SAAC;AAEO,QAAA,IAAI,CAAA,IAAA,GAAG,MAAK;YAClB,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,4BAA4B,CAAC;YAEvE,IAAI,MAAM,EAAE;gBACV,cAAc,CAAC,MAAM,EAAE;AACrB,oBAAA,IAAI,EAAE,OAAO;AACb,oBAAA,UAAU,EAAE,SAAS;AACrB,oBAAA,OAAO,EAAE,WAAW;AACpB,oBAAA,MAAM,EAAE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,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAC7B,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAClC,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EAAA,CACH,CAChB,CACG,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/CMS/stzh-ghettobox/stzh-ghettobox.scss?tag=stzh-ghettobox&encapsulation=scoped","src/components/CMS/stzh-ghettobox/stzh-ghettobox.tsx"],"sourcesContent":["/*\n * @prop --background-color: Background color of ghettobox\n */\n\n:host {\n @include base-invert;\n @include button-invert;\n\n --background-color: #{$colorCoral60};\n --color: #{$baseInvertColor};\n --richtext-color: var(--color);\n}\n\n.stzh-ghettobox {\n position: relative;\n color: var(--color);\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n\n --stzh-button-secondary-color: #{$colorCoral60};\n --stzh-button-secondary-background-color: #{$colorWhite90op};\n\n --stzh-button-secondary-hover-color: #{$colorCoral60};\n --stzh-button-secondary-hover-background-color: #{$colorWhite};\n\n --stzh-button-secondary-disabled-color: #{$colorWhite60op};\n --stzh-button-secondary-disabled-background-color: #{$colorWhite40op};\n\n &__container {\n @include container;\n @include spaceCurve(\"padding-top\", \"large\");\n @include spaceCurve(\"padding-bottom\", \"large\");\n }\n\n &__hidden-title {\n @include visuallyhidden;\n }\n\n &__message {\n @include spaceCurve(\"gap\", \"regular\");\n display: flex;\n flex-direction: column;\n }\n\n &__main-title {\n @include font(\"title\");\n @include fontCurve(\"h2\", \"heading\");\n margin: 0;\n color: inherit;\n\n &:not(:empty) {\n @include spaceCurve(\"margin-bottom\", \"regular\");\n }\n }\n\n &__description {\n @include fontCurve(\"p1\");\n --stzh-base-color: var(--richtext-color);\n\n &:not(:empty) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n &__button {\n display: grid;\n\n @include mq($from: small) {\n justify-content: start;\n }\n }\n\n &__close {\n position: absolute;\n top: 0;\n right: 0;\n\n @include mq($from: small) {\n top: 10px;\n right: 10px;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State } from \"@stencil/core\";\n\nimport { StzhGhettoboxCloseEvent, StzhGhettoboxOpenEvent } from \"../../../index\";\n\nimport { setPropsIfNull } from \"../../../utils/utils\";\nimport { StzhGhettoboxLocalizedText } from \"./stzh-ghettobox.localization\";\n\n/**\n * @slot - Slot for description content (use instead of description property)\n * @slot button - Slot for button element\n */\n@Component({\n tag: \"stzh-ghettobox\",\n styleUrl: \"stzh-ghettobox.scss\",\n scoped: true,\n})\nexport class StzhGhettobox {\n /** Overwrite hidden h1 title */\n @Prop() hiddenTitle: string = \"\";\n\n /** Main title */\n @Prop() mainTitle: string = \"\";\n\n /** Description */\n @Prop() description: string = \"\";\n\n /** Hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Translation strings */\n @Prop() localization: StzhGhettoboxLocalizedText;\n\n /** Ghettobox open event */\n @Event() stzhOpen: EventEmitter<StzhGhettoboxOpenEvent>;\n\n /** Ghettobox close event */\n @Event() stzhClose: EventEmitter<StzhGhettoboxCloseEvent>;\n\n @Element() element: HTMLStzhGhettoboxElement;\n\n /** Open state */\n @State() open: boolean = true;\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-ghettobox\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-ghettobox\",\n });\n }\n\n private observer: MutationObserver;\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n private init = () => {\n const button = this.element.querySelector('stzh-button[slot=\"button\"]');\n\n if (button) {\n setPropsIfNull(button, {\n size: \"small\",\n sizeMedium: \"default\",\n variant: \"secondary\",\n effect: \"cta\",\n icon: \"arrow-right\",\n iconPosition: \"right\",\n } as HTMLStzhButtonElement);\n }\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"ghettobox\");\n }\n }\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-ghettobox\": true,\n \"stzh-ghettobox--has-close-button\": !this.hideClose,\n };\n\n // TODO: Temporary workaround/bugfix for readspeaker class \"rs_skip\" can be removed once Readspeaker update with bugfix has arrived (ETA end of 2024).\n return (\n <Host hidden={!this.open}>\n <div class={{ ...classes, rs_skip: !this.open }} aria-hidden={this.open ? \"false\" : \"true\"}>\n <div class=\"stzh-ghettobox__container\">\n <h1 class=\"stzh-ghettobox__hidden-title\">{this.hiddenTitle || this.localization.hiddenTitle}</h1>\n <div class=\"stzh-ghettobox__message\">\n <div class=\"stzh-ghettobox__text\">\n <h2 class=\"stzh-ghettobox__main-title\">{this.mainTitle}</h2>\n <div class=\"stzh-ghettobox__description\">{this.description ? this.description : <slot></slot>}</div>\n </div>\n <div class=\"stzh-ghettobox__button\">\n <slot name=\"button\"></slot>\n </div>\n </div>\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-ghettobox__close\"\n onClick={this.onCloseButtonClick}\n a11yLabel={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DC-bkkG9.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,y8RAAy8R,CAAC;;MCgB79R,aAAa,iBAAAA,kBAAA,CAAA,MAAA,aAAA,SAAAC,CAAA,CAAA;AAL1B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;A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AA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAA,CAAA,IAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAI,KAAK,EAAC,4BAA4B,IAAE,IAAI,CAAC,SAAS,CAAM,EAC5D,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,6BAA6B,IAAE,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,GAAG,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CAAO,CAChG,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,wBAAwB,EAAA,EACjC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAA,CAAQ,CACvB,CACF,EACL,CAAC,IAAI,CAAC,SAAS,KACd,CACE,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAC7B,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAClC,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EAAA,CACH,CAChB,CACG,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/CMS/stzh-ghettobox/stzh-ghettobox.scss?tag=stzh-ghettobox&encapsulation=scoped","src/components/CMS/stzh-ghettobox/stzh-ghettobox.tsx"],"sourcesContent":["/*\n * @prop --background-color: Background color of ghettobox\n */\n\n:host {\n @include base-invert;\n @include button-invert;\n\n --background-color: #{$colorCoral60};\n --color: #{$baseInvertColor};\n --richtext-color: var(--color);\n}\n\n.stzh-ghettobox {\n position: relative;\n color: var(--color);\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n\n --stzh-button-secondary-color: #{$colorCoral60};\n --stzh-button-secondary-background-color: #{$colorWhite90op};\n\n --stzh-button-secondary-hover-color: #{$colorCoral60};\n --stzh-button-secondary-hover-background-color: #{$colorWhite};\n\n --stzh-button-secondary-disabled-color: #{$colorWhite60op};\n --stzh-button-secondary-disabled-background-color: #{$colorWhite40op};\n\n &__container {\n @include container;\n @include spaceCurve(\"padding-top\", \"large\");\n @include spaceCurve(\"padding-bottom\", \"large\");\n }\n\n &__hidden-title {\n @include visuallyhidden;\n }\n\n &__message {\n @include spaceCurve(\"gap\", \"regular\");\n display: flex;\n flex-direction: column;\n }\n\n &__main-title {\n @include font(\"title\");\n @include fontCurve(\"h2\", \"heading\");\n margin: 0;\n color: inherit;\n\n &:not(:empty) {\n @include spaceCurve(\"margin-bottom\", \"regular\");\n }\n }\n\n &__description {\n @include fontCurve(\"p1\");\n --stzh-base-color: var(--richtext-color);\n\n &:not(:empty) {\n @include spaceCurve(\"margin-bottom\", \"small\");\n }\n }\n\n &__button {\n display: grid;\n\n @include mq($from: small) {\n justify-content: start;\n }\n }\n\n &__close {\n position: absolute;\n top: 0;\n right: 0;\n\n @include mq($from: small) {\n top: 10px;\n right: 10px;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State } from \"@stencil/core\";\n\nimport { StzhGhettoboxCloseEvent, StzhGhettoboxOpenEvent } from \"../../../index\";\n\nimport { setPropsIfNull } from \"../../../utils/utils\";\nimport { StzhGhettoboxLocalizedText } from \"./stzh-ghettobox.localization\";\n\n/**\n * @slot - Slot for description content (use instead of description property)\n * @slot button - Slot for button element\n */\n@Component({\n tag: \"stzh-ghettobox\",\n styleUrl: \"stzh-ghettobox.scss\",\n scoped: true,\n})\nexport class StzhGhettobox {\n /** Overwrite hidden h1 title */\n @Prop() hiddenTitle: string = \"\";\n\n /** Main title */\n @Prop() mainTitle: string = \"\";\n\n /** Description */\n @Prop() description: string = \"\";\n\n /** Hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Translation strings */\n @Prop() localization: StzhGhettoboxLocalizedText;\n\n /** Ghettobox open event */\n @Event() stzhOpen: EventEmitter<StzhGhettoboxOpenEvent>;\n\n /** Ghettobox close event */\n @Event() stzhClose: EventEmitter<StzhGhettoboxCloseEvent>;\n\n @Element() element: HTMLStzhGhettoboxElement;\n\n /** Open state */\n @State() open: boolean = true;\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-ghettobox\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-ghettobox\",\n });\n }\n\n private observer: MutationObserver;\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n private init = () => {\n const button = this.element.querySelector('stzh-button[slot=\"button\"]');\n\n if (button) {\n setPropsIfNull(button, {\n size: \"small\",\n sizeMedium: \"default\",\n variant: \"secondary\",\n effect: \"cta\",\n icon: \"arrow-right\",\n iconPosition: \"right\",\n } as HTMLStzhButtonElement);\n }\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"ghettobox\");\n }\n }\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-ghettobox\": true,\n \"stzh-ghettobox--has-close-button\": !this.hideClose,\n };\n\n // TODO: Temporary workaround/bugfix for readspeaker class \"rs_skip\" can be removed once Readspeaker update with bugfix has arrived (ETA end of 2024).\n return (\n <Host hidden={!this.open}>\n <div class={{ ...classes, rs_skip: !this.open }} aria-hidden={this.open ? \"false\" : \"true\"}>\n <div class=\"stzh-ghettobox__container\">\n <h1 class=\"stzh-ghettobox__hidden-title\">{this.hiddenTitle || this.localization.hiddenTitle}</h1>\n <div class=\"stzh-ghettobox__message\">\n <div class=\"stzh-ghettobox__text\">\n <h2 class=\"stzh-ghettobox__main-title\">{this.mainTitle}</h2>\n <div class=\"stzh-ghettobox__description\">{this.description ? this.description : <slot></slot>}</div>\n </div>\n <div class=\"stzh-ghettobox__button\">\n <slot name=\"button\"></slot>\n </div>\n </div>\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-ghettobox__close\"\n onClick={this.onCloseButtonClick}\n a11yLabel={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
2
- import { d as defineCustomElement$4 } from './p-Cz-ha88J.js';
3
- import { d as defineCustomElement$3 } from './p-CgEDyVYF.js';
4
- import { d as defineCustomElement$2 } from './p-BU4OH8Cm.js';
5
- import { d as defineCustomElement$1 } from './p-CVGsVbS2.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-ptAFQZzh.js';
2
+ import { d as defineCustomElement$4 } from './p-BaC_gScF.js';
3
+ import { d as defineCustomElement$3 } from './p-B8oKMYV6.js';
4
+ import { d as defineCustomElement$2 } from './p-B8VeEjIy.js';
5
+ import { d as defineCustomElement$1 } from './p-BK7VtwAc.js';
6
6
 
7
7
  const stzhChipCss = () => `.sc-stzh-chip-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-chip-h,[stzh-hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::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-chip-h .has-focus.sc-stzh-chip{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip{outline-style:none !important}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip::-moz-focus-inner{border:0 !important}.sc-stzh-chip-h{--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}@media screen and (min-width: 900px){.sc-stzh-chip-h{--outer-height:auto}}.sc-stzh-chip-h{--color:var(--stzh-chip-color, var(--stzh-color-primary70));--remove-color:var(--color);--remove-border-radius:1.5rem;--background-color:var(--stzh-chip-background-color, var(--stzh-color-secondary30));--icon-size:var(--stzh-icon-size-xsmall);--icon-color:var(--color);--icon-gap:var(--stzh-space-xsmall);--counter-color:var(--color);--counter-gap:var(--stzh-space-xsmall);--hover-color:var(--stzh-chip-hover-color, var(--stzh-color-primary70));--hover-background-color:var(
8
8
  --stzh-chip-hover-background-color,
@@ -200,6 +200,6 @@ function defineCustomElement() {
200
200
  }
201
201
 
202
202
  export { StzhChip as S, defineCustomElement as d };
203
- //# sourceMappingURL=p-tNg83_1b.js.map
203
+ //# sourceMappingURL=p-DEFPf8mR.js.map
204
204
 
205
- //# sourceMappingURL=p-tNg83_1b.js.map
205
+ //# sourceMappingURL=p-DEFPf8mR.js.map
@@ -1 +1 @@
1
- {"file":"p-tNg83_1b.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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E,IAAI;gBACzB,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,IAAI;gBAC/C,SAAS,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI;AAC/C,aAAA,EACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,YAAY,EACf,YAAA,EAAA,IAAI,CAAC,SAAS,IAAI,IAAI,EAChB,kBAAA,EAAA,IAAI,CAAC,eAAe,IAAI,IAAI,EAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAElB,EAAA,IAAI,CAAC,WAAW,EAAE,CACd,CACR,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-chip/stzh-chip.scss?tag=stzh-chip&encapsulation=scoped","src/components/stzh-chip/stzh-chip.tsx"],"sourcesContent":["@mixin chip--size-default() {\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 --height: 32px;\n --outer-height: 40px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: #{space(\"small\")};\n --padding-right: #{space(\"small\")};\n --border-radius: 16px;\n\n @include mq($from: medium) {\n --outer-height: auto;\n }\n}\n\n@mixin chip--size-large() {\n --height: 40px;\n --border-radius: 20px;\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n}\n\n@mixin chip--size-small() {\n --font-size: var(--stzh-font-nano-font-size);\n --line-height: var(--stzh-font-nano-text-line-height);\n --letter-spacing: normal;\n\n --height: 24px;\n --border-radius: 12px;\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n}\n\n:host {\n @include chip--size-default;\n --color: var(--stzh-chip-color, #{$colorPrimary70});\n --remove-color: var(--color);\n --remove-border-radius: 24px;\n --background-color: var(--stzh-chip-background-color, #{$colorSecondary30});\n --icon-size: #{iconSize(\"xsmall\")};\n --icon-color: var(--color);\n --icon-gap: #{space(\"xsmall\")};\n --counter-color: var(--color);\n --counter-gap: #{space(\"xsmall\")};\n\n --hover-color: var(--stzh-chip-hover-color, #{$colorPrimary70});\n --hover-background-color: var(\n --stzh-chip-hover-background-color,\n #{$colorSecondary40}\n );\n --hover-remove-color: var(--hover-color);\n --hover-remove-background-color: #{$colorPrimary30};\n --hover-icon-color: var(--hover-color);\n --hover-counter-color: var(--hover-color);\n\n display: inline-flex;\n\n @include highContrast() {\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n\n &[variant=\"input\"] {\n --background-color: #{$colorPrimary10};\n\n --hover-color: #{$colorPrimary90};\n --hover-background-color: #{$colorPrimary20};\n }\n\n &[variant=\"tag\"] {\n --color: #{$colorGrey90};\n --background-color: #{$colorGrey20};\n\n --hover-color: #{$colorGrey90};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[variant=\"input\"]:where([size=\"small\"]) {\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([size=\"small\"]) {\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"]) {\n --color: #{$colorWarning90};\n\n --hover-color: #{$colorWarning90};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"]) {\n --color: #{$colorError70};\n\n --hover-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"]) {\n --color: #{$colorSuccess70};\n\n --hover-color: #{$colorSuccess70};\n }\n\n &[variant=\"tag\"]:where([inverted]:not([inverted=\"false\"])) {\n --color: #{$colorWhite};\n --background-color: #{$colorGrey90};\n\n --hover-color: #{$colorWhite};\n --hover-background-color: #{$colorGrey90};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"][inverted]:not([inverted=\"false\"])) {\n --color: #{$colorBlack};\n --background-color: #{$colorWarning60};\n\n --hover-color: #{$colorBlack};\n --hover-background-color: #{$colorWarning60};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorError70};\n\n --hover-background-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorSuccess70};\n\n --hover-background-color: #{$colorSuccess70};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-chip-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n\n --hover-color: var(--stzh-chip-active-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-chip-active-hover-background-color,\n #{$colorPrimary90}\n );\n --hover-remove-background-color: #{$colorPrimary90};\n\n @include highContrast() {\n --color: Highlight;\n --background-color: Canvas;\n\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-chip-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-chip-disabled-background-color,\n #{$colorGrey20}\n );\n --remove-color: var(--color);\n --icon-color: var(--color);\n --counter-color: var(--color);\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[variant=\"input\"][disabled]:not([disabled=\"false\"]) {\n --background-color: #{$colorGrey10};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include chip--size-small;\n}\n\n:host(:where([size=\"large\"])) {\n @include chip--size-large;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include chip--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include chip--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"large\"])) {\n @include chip--size-large;\n }\n }\n}\n\n.stzh-chip {\n position: relative;\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__button {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n min-height: var(--outer-height);\n font-family: inherit;\n appearance: none;\n padding: 0px;\n border: none;\n background-color: transparent;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__button-inner {\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n border-radius: var(--border-radius);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n }\n\n &__label {\n text-align: left;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n display: flex;\n color: var(--icon-color);\n transition: color $baseTransitionAnimationSpeed;\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: var(--icon-gap);\n }\n }\n\n &__counter {\n display: flex;\n font-variant-numeric: tabular-nums;\n margin-left: var(--counter-gap);\n color: var(--counter-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__remove {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 0;\n appearance: none;\n font-family: inherit;\n border: none;\n background: none;\n padding: 0;\n width: var(--height);\n height: var(--height);\n border-radius: var(--remove-border-radius);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: space(\"xxsmall\");\n color: var(--remove-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-remove-color);\n background-color: var(--hover-remove-background-color);\n }\n }\n\n &__remove-icon {\n --size: #{iconSize(\"xxsmall\")};\n }\n\n &__button:hover &__button-inner,\n &__remove:hover + &__button &__button-inner {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__button:hover &__counter,\n &__remove:hover + &__button &__counter {\n color: var(--hover-counter-color);\n }\n\n &__button:hover &__icon-wrapper,\n &__remove:hover + &__button &__icon-wrapper {\n color: var(--hover-icon-color);\n }\n\n /* Removeable */\n\n &--is-removable &__button-inner {\n padding-right: calc(var(--height) + #{space(\"xxsmall\")});\n }\n\n /* Disabled */\n\n &--is-disabled &__button,\n &--is-disabled &__remove {\n cursor: not-allowed;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport {\n StzhChipBlurEvent,\n StzhChipClickEvent,\n StzhChipFocusEvent,\n StzhChipRemoveEvent,\n StzhChipSize,\n StzhChipType,\n StzhChipVariant,\n} from \"../../index\";\n\n/**\n * @slot - Slot for label\n * @slot icon - Slot for icon\n */\n@Component({\n tag: \"stzh-chip\",\n styleUrl: \"stzh-chip.scss\",\n scoped: true,\n})\nexport class StzhChip {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string;\n\n /** `href` if the chip should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether chip is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Whether remove button should be shown */\n @Prop({ reflect: true }) removable: boolean = false;\n\n /** Whether inverted style is shown (only available for `tag` variant) */\n @Prop({ reflect: true }) inverted: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: StzhChipVariant = \"tag\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhChipSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhChipSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhChipSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhChipSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhChipSize;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhChipType = \"default\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Label of remove button for screenreaders */\n @Prop() removeLabel: string = \"\";\n\n /** Active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhChipElement;\n\n /** Chip click event */\n @Event() stzhClick: EventEmitter<StzhChipClickEvent>;\n\n /** Chip remove event */\n @Event() stzhRemove: EventEmitter<StzhChipRemoveEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhChipFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhChipBlurEvent>;\n\n private chip: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.chip?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <div class=\"stzh-chip__button-inner\">\n <div class=\"stzh-chip__icon-wrapper\">\n {this.icon || (typeof this.icon === \"undefined\" && this.variant === \"tag\" && this.type !== \"default\") ? (\n <stzh-icon\n class=\"stzh-chip__icon\"\n name={\n this.icon ||\n (this.type === \"info\" && \"info-help\") ||\n (this.type === \"warning\" && \"important-warning\") ||\n (this.type === \"error\" && \"warning\") ||\n (this.type === \"success\" && \"checkmark-circle\")\n }\n ></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n </div>\n\n <stzh-clamp lines={1} class=\"stzh-chip__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <span class=\"stzh-chip__vhidden\">&nbsp;({this.counter})</span>\n )}\n </stzh-clamp>\n\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <div class=\"stzh-chip__counter\" aria-hidden=\"true\">\n {this.counter}\n </div>\n )}\n </div>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.chip.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-chip\",\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-chip\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private onRemoveClick = (event: MouseEvent) => {\n this.stzhRemove.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-chip\": true,\n \"stzh-chip--is-active\": this.active,\n \"stzh-chip--is-disabled\": this.disabled,\n \"stzh-chip--is-removable\": this.removable,\n \"stzh-chip--is-inverted\": this.inverted,\n \"stzh-chip--has-counter\": !!this.counter,\n [`stzh-chip--type-${this.type}`]: !!this.type,\n [`stzh-chip--size-${this.size}`]: !!this.size,\n [`stzh-chip--${this.variant}`]: !!this.variant,\n };\n\n const Chip = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.removable && (\n <button\n class=\"stzh-chip__remove\"\n onClick={this.onRemoveClick}\n disabled={this.disabled}\n aria-label={this.removeLabel}\n type=\"button\"\n s-object-id={this.removeAnalyticsId || this.removeLabel}\n >\n <stzh-icon class=\"stzh-chip__remove-icon\" name=\"close-big\"></stzh-icon>\n </button>\n )}\n\n {this.href ? (\n <Chip\n ref={el => (this.chip = el as HTMLAnchorElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n ) : (\n <Chip\n ref={el => (this.chip = el as HTMLButtonElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DEFPf8mR.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,g4PAAg4P,CAAC;;MCSp3P,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAMlB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAG/B,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAG1B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAO,CAAA,OAAA,GAAoB,KAAK;;AAGhC,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAe9B,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAG/C,QAAA,IAAO,CAAA,OAAA,GAAW,EAAE;;AAGpB,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;;AAGP,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAST,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;AAgC7D,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AA4C/B,QAAA,IAAW,CAAA,WAAA,GAAG,MAAK;AACzB,YAAA,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;AACxB,gBAAA,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;;AAGnB,YAAA,IAAI,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,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAElB,EAAA,IAAI,CAAC,WAAW,EAAE,CACd,KAEP,CAAC,CAAA,IAAI,IACH,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,GAAG,EAAuB,CAAC,EAChD,KAAK,EAAE;AACL,gBAAA,mBAAmB,EAAE,IAAI;gBACzB,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,IAAI;gBAC/C,SAAS,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI;AAC/C,aAAA,EACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,YAAY,EACf,YAAA,EAAA,IAAI,CAAC,SAAS,IAAI,IAAI,EAChB,kBAAA,EAAA,IAAI,CAAC,eAAe,IAAI,IAAI,EAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAElB,EAAA,IAAI,CAAC,WAAW,EAAE,CACd,CACR,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-chip/stzh-chip.scss?tag=stzh-chip&encapsulation=scoped","src/components/stzh-chip/stzh-chip.tsx"],"sourcesContent":["@mixin chip--size-default() {\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 --height: 32px;\n --outer-height: 40px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: #{space(\"small\")};\n --padding-right: #{space(\"small\")};\n --border-radius: 16px;\n\n @include mq($from: medium) {\n --outer-height: auto;\n }\n}\n\n@mixin chip--size-large() {\n --height: 40px;\n --border-radius: 20px;\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n}\n\n@mixin chip--size-small() {\n --font-size: var(--stzh-font-nano-font-size);\n --line-height: var(--stzh-font-nano-text-line-height);\n --letter-spacing: normal;\n\n --height: 24px;\n --border-radius: 12px;\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n}\n\n:host {\n @include chip--size-default;\n --color: var(--stzh-chip-color, #{$colorPrimary70});\n --remove-color: var(--color);\n --remove-border-radius: 24px;\n --background-color: var(--stzh-chip-background-color, #{$colorSecondary30});\n --icon-size: #{iconSize(\"xsmall\")};\n --icon-color: var(--color);\n --icon-gap: #{space(\"xsmall\")};\n --counter-color: var(--color);\n --counter-gap: #{space(\"xsmall\")};\n\n --hover-color: var(--stzh-chip-hover-color, #{$colorPrimary70});\n --hover-background-color: var(\n --stzh-chip-hover-background-color,\n #{$colorSecondary40}\n );\n --hover-remove-color: var(--hover-color);\n --hover-remove-background-color: #{$colorPrimary30};\n --hover-icon-color: var(--hover-color);\n --hover-counter-color: var(--hover-color);\n\n display: inline-flex;\n\n @include highContrast() {\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n\n &[variant=\"input\"] {\n --background-color: #{$colorPrimary10};\n\n --hover-color: #{$colorPrimary90};\n --hover-background-color: #{$colorPrimary20};\n }\n\n &[variant=\"tag\"] {\n --color: #{$colorGrey90};\n --background-color: #{$colorGrey20};\n\n --hover-color: #{$colorGrey90};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[variant=\"input\"]:where([size=\"small\"]) {\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([size=\"small\"]) {\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"]) {\n --color: #{$colorWarning90};\n\n --hover-color: #{$colorWarning90};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"]) {\n --color: #{$colorError70};\n\n --hover-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"]) {\n --color: #{$colorSuccess70};\n\n --hover-color: #{$colorSuccess70};\n }\n\n &[variant=\"tag\"]:where([inverted]:not([inverted=\"false\"])) {\n --color: #{$colorWhite};\n --background-color: #{$colorGrey90};\n\n --hover-color: #{$colorWhite};\n --hover-background-color: #{$colorGrey90};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"][inverted]:not([inverted=\"false\"])) {\n --color: #{$colorBlack};\n --background-color: #{$colorWarning60};\n\n --hover-color: #{$colorBlack};\n --hover-background-color: #{$colorWarning60};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorError70};\n\n --hover-background-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorSuccess70};\n\n --hover-background-color: #{$colorSuccess70};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-chip-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n\n --hover-color: var(--stzh-chip-active-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-chip-active-hover-background-color,\n #{$colorPrimary90}\n );\n --hover-remove-background-color: #{$colorPrimary90};\n\n @include highContrast() {\n --color: Highlight;\n --background-color: Canvas;\n\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-chip-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-chip-disabled-background-color,\n #{$colorGrey20}\n );\n --remove-color: var(--color);\n --icon-color: var(--color);\n --counter-color: var(--color);\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[variant=\"input\"][disabled]:not([disabled=\"false\"]) {\n --background-color: #{$colorGrey10};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include chip--size-small;\n}\n\n:host(:where([size=\"large\"])) {\n @include chip--size-large;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include chip--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include chip--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"large\"])) {\n @include chip--size-large;\n }\n }\n}\n\n.stzh-chip {\n position: relative;\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__button {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n min-height: var(--outer-height);\n font-family: inherit;\n appearance: none;\n padding: 0px;\n border: none;\n background-color: transparent;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__button-inner {\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n border-radius: var(--border-radius);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n }\n\n &__label {\n text-align: left;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n display: flex;\n color: var(--icon-color);\n transition: color $baseTransitionAnimationSpeed;\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: var(--icon-gap);\n }\n }\n\n &__counter {\n display: flex;\n font-variant-numeric: tabular-nums;\n margin-left: var(--counter-gap);\n color: var(--counter-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__remove {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 0;\n appearance: none;\n font-family: inherit;\n border: none;\n background: none;\n padding: 0;\n width: var(--height);\n height: var(--height);\n border-radius: var(--remove-border-radius);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: space(\"xxsmall\");\n color: var(--remove-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-remove-color);\n background-color: var(--hover-remove-background-color);\n }\n }\n\n &__remove-icon {\n --size: #{iconSize(\"xxsmall\")};\n }\n\n &__button:hover &__button-inner,\n &__remove:hover + &__button &__button-inner {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__button:hover &__counter,\n &__remove:hover + &__button &__counter {\n color: var(--hover-counter-color);\n }\n\n &__button:hover &__icon-wrapper,\n &__remove:hover + &__button &__icon-wrapper {\n color: var(--hover-icon-color);\n }\n\n /* Removeable */\n\n &--is-removable &__button-inner {\n padding-right: calc(var(--height) + #{space(\"xxsmall\")});\n }\n\n /* Disabled */\n\n &--is-disabled &__button,\n &--is-disabled &__remove {\n cursor: not-allowed;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport {\n StzhChipBlurEvent,\n StzhChipClickEvent,\n StzhChipFocusEvent,\n StzhChipRemoveEvent,\n StzhChipSize,\n StzhChipType,\n StzhChipVariant,\n} from \"../../index\";\n\n/**\n * @slot - Slot for label\n * @slot icon - Slot for icon\n */\n@Component({\n tag: \"stzh-chip\",\n styleUrl: \"stzh-chip.scss\",\n scoped: true,\n})\nexport class StzhChip {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string;\n\n /** `href` if the chip should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether chip is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Whether remove button should be shown */\n @Prop({ reflect: true }) removable: boolean = false;\n\n /** Whether inverted style is shown (only available for `tag` variant) */\n @Prop({ reflect: true }) inverted: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: StzhChipVariant = \"tag\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhChipSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhChipSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhChipSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhChipSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhChipSize;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhChipType = \"default\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Label of remove button for screenreaders */\n @Prop() removeLabel: string = \"\";\n\n /** Active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhChipElement;\n\n /** Chip click event */\n @Event() stzhClick: EventEmitter<StzhChipClickEvent>;\n\n /** Chip remove event */\n @Event() stzhRemove: EventEmitter<StzhChipRemoveEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhChipFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhChipBlurEvent>;\n\n private chip: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.chip?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <div class=\"stzh-chip__button-inner\">\n <div class=\"stzh-chip__icon-wrapper\">\n {this.icon || (typeof this.icon === \"undefined\" && this.variant === \"tag\" && this.type !== \"default\") ? (\n <stzh-icon\n class=\"stzh-chip__icon\"\n name={\n this.icon ||\n (this.type === \"info\" && \"info-help\") ||\n (this.type === \"warning\" && \"important-warning\") ||\n (this.type === \"error\" && \"warning\") ||\n (this.type === \"success\" && \"checkmark-circle\")\n }\n ></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n </div>\n\n <stzh-clamp lines={1} class=\"stzh-chip__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <span class=\"stzh-chip__vhidden\">&nbsp;({this.counter})</span>\n )}\n </stzh-clamp>\n\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <div class=\"stzh-chip__counter\" aria-hidden=\"true\">\n {this.counter}\n </div>\n )}\n </div>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.chip.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-chip\",\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-chip\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private onRemoveClick = (event: MouseEvent) => {\n this.stzhRemove.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-chip\": true,\n \"stzh-chip--is-active\": this.active,\n \"stzh-chip--is-disabled\": this.disabled,\n \"stzh-chip--is-removable\": this.removable,\n \"stzh-chip--is-inverted\": this.inverted,\n \"stzh-chip--has-counter\": !!this.counter,\n [`stzh-chip--type-${this.type}`]: !!this.type,\n [`stzh-chip--size-${this.size}`]: !!this.size,\n [`stzh-chip--${this.variant}`]: !!this.variant,\n };\n\n const Chip = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.removable && (\n <button\n class=\"stzh-chip__remove\"\n onClick={this.onRemoveClick}\n disabled={this.disabled}\n aria-label={this.removeLabel}\n type=\"button\"\n s-object-id={this.removeAnalyticsId || this.removeLabel}\n >\n <stzh-icon class=\"stzh-chip__remove-icon\" name=\"close-big\"></stzh-icon>\n </button>\n )}\n\n {this.href ? (\n <Chip\n ref={el => (this.chip = el as HTMLAnchorElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n ) : (\n <Chip\n ref={el => (this.chip = el as HTMLButtonElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n )}\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-DAS4ghWk.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-ptAFQZzh.js';
2
2
 
3
3
  const stzhCellCss = () => `: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{--cell-width:100%;max-width:100%;width:var(--cell-width);flex-basis:var(--cell-width);flex-shrink:0}:host([align=left]){margin-right:auto}:host([align=right]){margin-left:auto}:host([align=middle]){margin-left:auto;margin-right:auto}:host([align-self=start]){align-self:flex-start}:host([align-self=end]){align-self:flex-end}:host([align-self=center]){align-self:center}:host([align-self=baseline]){align-self:baseline}:host([align-self=stretch]){align-self:stretch}:host([span="1"]){--cell-width:8.3333333333%}:host([span="2"]){--cell-width:16.6666666667%}:host([span="3"]){--cell-width:25%}:host([span="4"]){--cell-width:33.3333333333%}:host([span="5"]){--cell-width:41.6666666667%}:host([span="6"]){--cell-width:50%}:host([span="7"]){--cell-width:58.3333333333%}:host([span="8"]){--cell-width:66.6666666667%}:host([span="9"]){--cell-width:75%}:host([span="10"]){--cell-width:83.3333333333%}:host([span="11"]){--cell-width:91.6666666667%}:host([span="12"]){--cell-width:100%}@media screen and (min-width: 600px){:host([span-small="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 600px){:host([span-small="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 600px){:host([span-small="3"]){--cell-width:25%}}@media screen and (min-width: 600px){:host([span-small="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 600px){:host([span-small="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 600px){:host([span-small="6"]){--cell-width:50%}}@media screen and (min-width: 600px){:host([span-small="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 600px){:host([span-small="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 600px){:host([span-small="9"]){--cell-width:75%}}@media screen and (min-width: 600px){:host([span-small="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 600px){:host([span-small="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 600px){:host([span-small="12"]){--cell-width:100%}}@media screen and (min-width: 900px){:host([span-medium="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 900px){:host([span-medium="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 900px){:host([span-medium="3"]){--cell-width:25%}}@media screen and (min-width: 900px){:host([span-medium="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 900px){:host([span-medium="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 900px){:host([span-medium="6"]){--cell-width:50%}}@media screen and (min-width: 900px){:host([span-medium="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 900px){:host([span-medium="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 900px){:host([span-medium="9"]){--cell-width:75%}}@media screen and (min-width: 900px){:host([span-medium="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 900px){:host([span-medium="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 900px){:host([span-medium="12"]){--cell-width:100%}}@media screen and (min-width: 1260px){:host([span-large="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="3"]){--cell-width:25%}}@media screen and (min-width: 1260px){:host([span-large="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="6"]){--cell-width:50%}}@media screen and (min-width: 1260px){:host([span-large="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="9"]){--cell-width:75%}}@media screen and (min-width: 1260px){:host([span-large="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="12"]){--cell-width:100%}}@media screen and (min-width: 1600px){:host([span-ultra="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1600px){:host([span-ultra="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1600px){:host([span-ultra="3"]){--cell-width:25%}}@media screen and (min-width: 1600px){:host([span-ultra="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1600px){:host([span-ultra="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1600px){:host([span-ultra="6"]){--cell-width:50%}}@media screen and (min-width: 1600px){:host([span-ultra="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1600px){:host([span-ultra="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1600px){:host([span-ultra="9"]){--cell-width:75%}}@media screen and (min-width: 1600px){:host([span-ultra="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1600px){:host([span-ultra="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1600px){:host([span-ultra="12"]){--cell-width:100%}}.stzh-cell{height:100%;padding-left:calc(var(--stzh-grid-gutter) / 2);padding-right:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-small) / 2);padding-right:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 900px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-medium) / 2);padding-right:calc(var(--stzh-grid-gutter-medium) / 2)}}@media screen and (min-width: 1260px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-large) / 2);padding-right:calc(var(--stzh-grid-gutter-large) / 2)}}@media screen and (min-width: 1600px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-ultra) / 2);padding-right:calc(var(--stzh-grid-gutter-ultra) / 2)}}`;
4
4
 
@@ -44,6 +44,6 @@ function defineCustomElement() {
44
44
  }
45
45
 
46
46
  export { StzhCell as S, defineCustomElement as d };
47
- //# sourceMappingURL=p-BMKAa5cH.js.map
47
+ //# sourceMappingURL=p-DEZhHL-h.js.map
48
48
 
49
- //# sourceMappingURL=p-BMKAa5cH.js.map
49
+ //# sourceMappingURL=p-DEZhHL-h.js.map
@@ -1 +1 @@
1
- {"file":"p-BMKAa5cH.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,srNAAsrN,CAAC;;MCYrsN,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAkB2B,QAAA,IAAK,CAAA,KAAA,GAAyC,MAAM;;AAGpD,QAAA,IAAS,CAAA,SAAA,GAAqB,MAAM;AAe9D;IAbC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,IAAI;AAClB,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-cell/stzh-cell.scss?tag=stzh-cell&encapsulation=shadow","src/components/stzh-cell/stzh-cell.tsx"],"sourcesContent":[":host {\n // couldn't use cell-span and calcuate the with with css calc\n // since IE was calculating the width wrongly with certain viewport widths\n // so calculating it with sass and using the width directly\n --cell-width: 100%;\n\n max-width: 100%;\n width: var(--cell-width);\n flex-basis: var(--cell-width);\n flex-shrink: 0;\n}\n\n/* Align variants */\n\n:host([align=\"left\"]) {\n margin-right: auto;\n}\n\n:host([align=\"right\"]) {\n margin-left: auto;\n}\n\n:host([align=\"middle\"]) {\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Align self variants */\n\n:host([align-self=\"start\"]) {\n align-self: flex-start;\n}\n\n:host([align-self=\"end\"]) {\n align-self: flex-end;\n}\n\n:host([align-self=\"center\"]) {\n align-self: center;\n}\n\n:host([align-self=\"baseline\"]) {\n align-self: baseline;\n}\n\n:host([align-self=\"stretch\"]) {\n align-self: stretch;\n}\n\n@mixin cellProps($breakpoint: null) {\n @for $i from 1 through $gridCells {\n @if $breakpoint {\n :host([span-#{$breakpoint}=\"#{$i}\"]) {\n @include mq($from: $breakpoint) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n } @else {\n :host([span=\"#{$i}\"]) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n }\n}\n\n@include cellProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include cellProps($breakpoint);\n}\n\n.stzh-cell {\n height: 100%;\n padding-left: calc(#{$gridGutter} / 2);\n padding-right: calc(#{$gridGutter} / 2);\n\n @include mq($from: small) {\n padding-left: calc(#{$gridGutterSmall} / 2);\n padding-right: calc(#{$gridGutterSmall} / 2);\n }\n\n @include mq($from: medium) {\n padding-left: calc(#{$gridGutterMedium} / 2);\n padding-right: calc(#{$gridGutterMedium} / 2);\n }\n\n @include mq($from: large) {\n padding-left: calc(#{$gridGutterLarge} / 2);\n padding-right: calc(#{$gridGutterLarge} / 2);\n }\n\n @include mq($from: ultra) {\n padding-left: calc(#{$gridGutterUltra} / 2);\n padding-right: calc(#{$gridGutterUltra} / 2);\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-cell\",\n styleUrl: \"stzh-cell.scss\",\n shadow: true,\n})\nexport class StzhCell {\n /** Default span of each cell */\n @Prop({ reflect: true }) span: number;\n /** Default span of each cell above small breakpoint */\n @Prop({ reflect: true }) spanSmall: number;\n /** Default span of each cell above medium breakpoint */\n @Prop({ reflect: true }) spanMedium: number;\n /** Default span of each cell above large breakpoint */\n @Prop({ reflect: true }) spanLarge: number;\n /** Default span of each cell above ultra breakpoint */\n @Prop({ reflect: true }) spanUltra: number;\n\n /** Controlling how cell is aligned in main axis (sets margin: auto to left/right side) */\n @Prop({ reflect: true }) align: \"none\" | \"left\" | \"right\" | \"middle\" = \"none\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) alignSelf: Layout.AlignSelf = \"auto\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-cell\": true,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DEZhHL-h.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,srNAAsrN,CAAC;;MCYrsN,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAkB2B,QAAA,IAAK,CAAA,KAAA,GAAyC,MAAM;;AAGpD,QAAA,IAAS,CAAA,SAAA,GAAqB,MAAM;AAe9D;IAbC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,IAAI;AAClB,aAAA,EAAA,EAED,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-cell/stzh-cell.scss?tag=stzh-cell&encapsulation=shadow","src/components/stzh-cell/stzh-cell.tsx"],"sourcesContent":[":host {\n // couldn't use cell-span and calcuate the with with css calc\n // since IE was calculating the width wrongly with certain viewport widths\n // so calculating it with sass and using the width directly\n --cell-width: 100%;\n\n max-width: 100%;\n width: var(--cell-width);\n flex-basis: var(--cell-width);\n flex-shrink: 0;\n}\n\n/* Align variants */\n\n:host([align=\"left\"]) {\n margin-right: auto;\n}\n\n:host([align=\"right\"]) {\n margin-left: auto;\n}\n\n:host([align=\"middle\"]) {\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Align self variants */\n\n:host([align-self=\"start\"]) {\n align-self: flex-start;\n}\n\n:host([align-self=\"end\"]) {\n align-self: flex-end;\n}\n\n:host([align-self=\"center\"]) {\n align-self: center;\n}\n\n:host([align-self=\"baseline\"]) {\n align-self: baseline;\n}\n\n:host([align-self=\"stretch\"]) {\n align-self: stretch;\n}\n\n@mixin cellProps($breakpoint: null) {\n @for $i from 1 through $gridCells {\n @if $breakpoint {\n :host([span-#{$breakpoint}=\"#{$i}\"]) {\n @include mq($from: $breakpoint) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n } @else {\n :host([span=\"#{$i}\"]) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n }\n}\n\n@include cellProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include cellProps($breakpoint);\n}\n\n.stzh-cell {\n height: 100%;\n padding-left: calc(#{$gridGutter} / 2);\n padding-right: calc(#{$gridGutter} / 2);\n\n @include mq($from: small) {\n padding-left: calc(#{$gridGutterSmall} / 2);\n padding-right: calc(#{$gridGutterSmall} / 2);\n }\n\n @include mq($from: medium) {\n padding-left: calc(#{$gridGutterMedium} / 2);\n padding-right: calc(#{$gridGutterMedium} / 2);\n }\n\n @include mq($from: large) {\n padding-left: calc(#{$gridGutterLarge} / 2);\n padding-right: calc(#{$gridGutterLarge} / 2);\n }\n\n @include mq($from: ultra) {\n padding-left: calc(#{$gridGutterUltra} / 2);\n padding-right: calc(#{$gridGutterUltra} / 2);\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-cell\",\n styleUrl: \"stzh-cell.scss\",\n shadow: true,\n})\nexport class StzhCell {\n /** Default span of each cell */\n @Prop({ reflect: true }) span: number;\n /** Default span of each cell above small breakpoint */\n @Prop({ reflect: true }) spanSmall: number;\n /** Default span of each cell above medium breakpoint */\n @Prop({ reflect: true }) spanMedium: number;\n /** Default span of each cell above large breakpoint */\n @Prop({ reflect: true }) spanLarge: number;\n /** Default span of each cell above ultra breakpoint */\n @Prop({ reflect: true }) spanUltra: number;\n\n /** Controlling how cell is aligned in main axis (sets margin: auto to left/right side) */\n @Prop({ reflect: true }) align: \"none\" | \"left\" | \"right\" | \"middle\" = \"none\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) alignSelf: Layout.AlignSelf = \"auto\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-cell\": true,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}