@oiz/stzh-components 4.10.0-beta2 → 4.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (888) hide show
  1. package/dist/cjs/{index-CLYMFtQm.js → index-kRygXrAk.js} +3 -3
  2. package/dist/cjs/{index-CLYMFtQm.js.map → index-kRygXrAk.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-app-nav.cjs.entry.js +2 -2
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-banner.cjs.entry.js +4 -2
  16. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js +7 -7
  18. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-chip_2.cjs.entry.js +32 -42
  28. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-components.cjs.js +2 -2
  32. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +7 -7
  47. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-gallery.cjs.entry.js +5 -3
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +4 -4
  57. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  67. package/dist/cjs/{stzh-input-description-DE0KJWgB.js → stzh-input-description-CfB0R1-v.js} +3 -3
  68. package/dist/cjs/{stzh-input-description-DE0KJWgB.js.map → stzh-input-description-CfB0R1-v.js.map} +1 -1
  69. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagecontent.cjs.entry.js +2 -2
  84. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +3 -3
  96. package/dist/cjs/stzh-popover.cjs.entry.js +5 -2
  97. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  124. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  126. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  127. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  128. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  136. package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.js +2 -2
  137. package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.js.map +1 -1
  138. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  139. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  140. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  141. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js.map +1 -1
  142. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +1 -1
  143. package/dist/collection/components/stzh-amount/stzh-amount.stories.js +5 -12
  144. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  145. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js.map +1 -1
  146. package/dist/collection/components/stzh-banner/stzh-banner.css +3 -1
  147. package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
  148. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +6 -6
  149. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js.map +1 -1
  150. package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +12 -1
  151. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +29 -39
  152. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  153. package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +60 -0
  154. package/dist/collection/components/stzh-details/stzh-details.js.map +1 -1
  155. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +5 -5
  156. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  157. package/dist/collection/components/stzh-gallery/stzh-gallery.js +4 -2
  158. package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -1
  159. package/dist/collection/components/stzh-header/stzh-header.stories.js +184 -94
  160. package/dist/collection/components/stzh-popover/stzh-popover.css +4 -1
  161. package/dist/collection/index.js.map +1 -1
  162. package/dist/components/index.js +2 -2
  163. package/dist/components/{p-D-wjggPy.js → p-0Qd62R6c.js} +11 -11
  164. package/dist/components/p-0Qd62R6c.js.map +1 -0
  165. package/dist/components/{p-D5mdbZ1m.js → p-2qycFKkn.js} +3 -3
  166. package/dist/components/{p-D5mdbZ1m.js.map → p-2qycFKkn.js.map} +1 -1
  167. package/dist/components/{p-CvKT-Mki.js → p-48vszvWR.js} +3 -3
  168. package/dist/components/{p-CvKT-Mki.js.map → p-48vszvWR.js.map} +1 -1
  169. package/dist/components/{p-D_o61BZJ.js → p-9jjAKJRu.js} +7 -7
  170. package/dist/components/{p-D_o61BZJ.js.map → p-9jjAKJRu.js.map} +1 -1
  171. package/dist/components/{p-Ol_RRMGB.js → p-Atriey5y.js} +5 -5
  172. package/dist/components/{p-Ol_RRMGB.js.map → p-Atriey5y.js.map} +1 -1
  173. package/dist/components/{p-9r8p9BUI.js → p-B-xIk3rO.js} +3 -3
  174. package/dist/components/{p-9r8p9BUI.js.map → p-B-xIk3rO.js.map} +1 -1
  175. package/dist/components/{p-D8Xk8iM1.js → p-B3zjtmJw.js} +11 -11
  176. package/dist/components/{p-D8Xk8iM1.js.map → p-B3zjtmJw.js.map} +1 -1
  177. package/dist/components/{p-C-cWMWjK.js → p-B7oW1Gm9.js} +4 -4
  178. package/dist/components/{p-C-cWMWjK.js.map → p-B7oW1Gm9.js.map} +1 -1
  179. package/dist/components/{p-xQukwkcn.js → p-BCEGPD07.js} +3 -3
  180. package/dist/components/{p-xQukwkcn.js.map → p-BCEGPD07.js.map} +1 -1
  181. package/dist/components/{p-Dxt_KaZJ.js → p-BFeAmBJt.js} +3 -3
  182. package/dist/components/{p-Dxt_KaZJ.js.map → p-BFeAmBJt.js.map} +1 -1
  183. package/dist/components/{p-BqD-6Uyq.js → p-BHLAzIwM.js} +3 -3
  184. package/dist/components/{p-BqD-6Uyq.js.map → p-BHLAzIwM.js.map} +1 -1
  185. package/dist/components/{p-Ds3Xf7HO.js → p-BSsWZrNR.js} +6 -6
  186. package/dist/components/{p-Ds3Xf7HO.js.map → p-BSsWZrNR.js.map} +1 -1
  187. package/dist/components/{p-s4RWk35S.js → p-BUeBsyt_.js} +3 -3
  188. package/dist/components/{p-s4RWk35S.js.map → p-BUeBsyt_.js.map} +1 -1
  189. package/dist/components/{p-Q-f34pkU.js → p-BWc9y30U.js} +3 -3
  190. package/dist/components/{p-Q-f34pkU.js.map → p-BWc9y30U.js.map} +1 -1
  191. package/dist/components/{p-D36sFB-f.js → p-BWo_qrmp.js} +8 -5
  192. package/dist/components/p-BWo_qrmp.js.map +1 -0
  193. package/dist/components/{p-AbGm5dW0.js → p-BXx6dr53.js} +8 -8
  194. package/dist/components/{p-AbGm5dW0.js.map → p-BXx6dr53.js.map} +1 -1
  195. package/dist/components/{p-C2fkwuiL.js → p-Baj2nWdf.js} +6 -6
  196. package/dist/components/{p-C2fkwuiL.js.map → p-Baj2nWdf.js.map} +1 -1
  197. package/dist/components/{p-CX2dz2Bb.js → p-Betm9SBm.js} +11 -11
  198. package/dist/components/{p-CX2dz2Bb.js.map → p-Betm9SBm.js.map} +1 -1
  199. package/dist/components/{p-BPf3Q0zD.js → p-BqpfqFdk.js} +7 -7
  200. package/dist/components/{p-BPf3Q0zD.js.map → p-BqpfqFdk.js.map} +1 -1
  201. package/dist/components/{p-CxXO_cqj.js → p-BrNE5bQb.js} +4 -4
  202. package/dist/components/{p-CxXO_cqj.js.map → p-BrNE5bQb.js.map} +1 -1
  203. package/dist/components/{p-Cla6GVJl.js → p-BzxAfaqC.js} +3 -3
  204. package/dist/components/p-BzxAfaqC.js.map +1 -0
  205. package/dist/components/{p-YckM1D_L.js → p-C2yzSCW3.js} +3 -3
  206. package/dist/components/{p-YckM1D_L.js.map → p-C2yzSCW3.js.map} +1 -1
  207. package/dist/components/{p-m6rlXYCx.js → p-C4m3G6fH.js} +3 -3
  208. package/dist/components/{p-m6rlXYCx.js.map → p-C4m3G6fH.js.map} +1 -1
  209. package/dist/components/{p-Bl9tD7uq.js → p-C5020IEc.js} +6 -6
  210. package/dist/components/{p-Bl9tD7uq.js.map → p-C5020IEc.js.map} +1 -1
  211. package/dist/components/{p-CBm5dUcI.js → p-C66S5mxi.js} +10 -10
  212. package/dist/components/{p-CBm5dUcI.js.map → p-C66S5mxi.js.map} +1 -1
  213. package/dist/components/{p-B-TtPvY1.js → p-CG4MbVew.js} +7 -7
  214. package/dist/components/p-CG4MbVew.js.map +1 -0
  215. package/dist/components/{p-BnEnros_.js → p-CMd621Jb.js} +3 -3
  216. package/dist/components/{p-BnEnros_.js.map → p-CMd621Jb.js.map} +1 -1
  217. package/dist/components/{p-Bj7oUjXe.js → p-CMoatF_O.js} +7 -7
  218. package/dist/components/{p-Bj7oUjXe.js.map → p-CMoatF_O.js.map} +1 -1
  219. package/dist/components/{p-LRN3e03F.js → p-CNDhpOyA.js} +5 -5
  220. package/dist/components/{p-LRN3e03F.js.map → p-CNDhpOyA.js.map} +1 -1
  221. package/dist/components/{p-Br9iq5v0.js → p-CRkzk9dx.js} +3 -3
  222. package/dist/components/{p-Br9iq5v0.js.map → p-CRkzk9dx.js.map} +1 -1
  223. package/dist/components/{p-DXFYCyWz.js → p-CSf5aCfj.js} +4 -4
  224. package/dist/components/p-CSf5aCfj.js.map +1 -0
  225. package/dist/components/{p-EFtIYe07.js → p-CVZAxVYF.js} +5 -5
  226. package/dist/components/{p-EFtIYe07.js.map → p-CVZAxVYF.js.map} +1 -1
  227. package/dist/components/{p-BXZUgr03.js → p-CXNxQ8LV.js} +3 -3
  228. package/dist/components/{p-BXZUgr03.js.map → p-CXNxQ8LV.js.map} +1 -1
  229. package/dist/components/{p-BEnCw0ZO.js → p-CZ980sT6.js} +3 -3
  230. package/dist/components/{p-BEnCw0ZO.js.map → p-CZ980sT6.js.map} +1 -1
  231. package/dist/components/{p-Ba2Bva0s.js → p-Cb9rDBaS.js} +4 -4
  232. package/dist/components/{p-Ba2Bva0s.js.map → p-Cb9rDBaS.js.map} +1 -1
  233. package/dist/components/{p-C0eoM6jL.js → p-Ccvj84Ds.js} +7 -7
  234. package/dist/components/{p-C0eoM6jL.js.map → p-Ccvj84Ds.js.map} +1 -1
  235. package/dist/components/{p-DLlZq7iU.js → p-CgxbnTIg.js} +3 -3
  236. package/dist/components/{p-DLlZq7iU.js.map → p-CgxbnTIg.js.map} +1 -1
  237. package/dist/components/{p-DoEOS1rz.js → p-CsuFFy7I.js} +6 -6
  238. package/dist/components/{p-DoEOS1rz.js.map → p-CsuFFy7I.js.map} +1 -1
  239. package/dist/components/{p-CUujfXGZ.js → p-Ct0fZMBS.js} +3 -3
  240. package/dist/components/{p-CUujfXGZ.js.map → p-Ct0fZMBS.js.map} +1 -1
  241. package/dist/components/{p-iayhrwy5.js → p-DBStJk4p.js} +4 -4
  242. package/dist/components/{p-iayhrwy5.js.map → p-DBStJk4p.js.map} +1 -1
  243. package/dist/components/{p-yyUgGCAC.js → p-DbAtXrxG.js} +8 -8
  244. package/dist/components/{p-yyUgGCAC.js.map → p-DbAtXrxG.js.map} +1 -1
  245. package/dist/components/{p-oJrSY_Eh.js → p-Dfrjp2i5.js} +12 -12
  246. package/dist/components/{p-oJrSY_Eh.js.map → p-Dfrjp2i5.js.map} +1 -1
  247. package/dist/components/{p-mWRI28It.js → p-Dg5tBjNp.js} +3 -3
  248. package/dist/components/{p-mWRI28It.js.map → p-Dg5tBjNp.js.map} +1 -1
  249. package/dist/components/{p-B_fJQ6tu.js → p-Dh-C4hNe.js} +9 -9
  250. package/dist/components/p-Dh-C4hNe.js.map +1 -0
  251. package/dist/components/{p-DZGcrLIr.js → p-DhJMBvdk.js} +3 -3
  252. package/dist/components/{p-DZGcrLIr.js.map → p-DhJMBvdk.js.map} +1 -1
  253. package/dist/components/{p-YpVuLovc.js → p-DkVyABZd.js} +10 -10
  254. package/dist/components/{p-YpVuLovc.js.map → p-DkVyABZd.js.map} +1 -1
  255. package/dist/components/{p-DPBLkGIO.js → p-Dkmwv4wN.js} +3 -3
  256. package/dist/components/{p-DPBLkGIO.js.map → p-Dkmwv4wN.js.map} +1 -1
  257. package/dist/components/{p-CHsDsF4j.js → p-DrVcg3WG.js} +3 -3
  258. package/dist/components/{p-CHsDsF4j.js.map → p-DrVcg3WG.js.map} +1 -1
  259. package/dist/components/{p-_oPvxDjS.js → p-Dv1sUjJe.js} +4 -4
  260. package/dist/components/{p-_oPvxDjS.js.map → p-Dv1sUjJe.js.map} +1 -1
  261. package/dist/components/{p-bCUQRc-d.js → p-Dw4KZJes.js} +6 -6
  262. package/dist/components/{p-bCUQRc-d.js.map → p-Dw4KZJes.js.map} +1 -1
  263. package/dist/components/{p-CU207ROz.js → p-EKWtEDPs.js} +3 -3
  264. package/dist/components/{p-CU207ROz.js.map → p-EKWtEDPs.js.map} +1 -1
  265. package/dist/components/{p-RKHdQGuh.js → p-H9_GvfQb.js} +3 -3
  266. package/dist/components/{p-RKHdQGuh.js.map → p-H9_GvfQb.js.map} +1 -1
  267. package/dist/components/{p-C9SxUKMo.js → p-HtT3eh7a.js} +7 -7
  268. package/dist/components/{p-C9SxUKMo.js.map → p-HtT3eh7a.js.map} +1 -1
  269. package/dist/components/{p-0236I21-.js → p-MICPRdj-.js} +7 -7
  270. package/dist/components/{p-0236I21-.js.map → p-MICPRdj-.js.map} +1 -1
  271. package/dist/components/{p-Bi42veQe.js → p-THlC3deC.js} +9 -9
  272. package/dist/components/{p-Bi42veQe.js.map → p-THlC3deC.js.map} +1 -1
  273. package/dist/components/{p-NkWiianJ.js → p-WwXb9Wdh.js} +3 -3
  274. package/dist/components/{p-NkWiianJ.js.map → p-WwXb9Wdh.js.map} +1 -1
  275. package/dist/components/{p-SfncvvQt.js → p-WwlEO7ug.js} +4 -4
  276. package/dist/components/{p-SfncvvQt.js.map → p-WwlEO7ug.js.map} +1 -1
  277. package/dist/components/{p-b61bpkSU.js → p-cVO3VaRO.js} +3 -3
  278. package/dist/components/{p-b61bpkSU.js.map → p-cVO3VaRO.js.map} +1 -1
  279. package/dist/components/{p-CdjHLYTf.js → p-fztnVVrQ.js} +5 -5
  280. package/dist/components/{p-CdjHLYTf.js.map → p-fztnVVrQ.js.map} +1 -1
  281. package/dist/components/{p-GLNS1q2a.js → p-iLKNish_.js} +5 -5
  282. package/dist/components/{p-GLNS1q2a.js.map → p-iLKNish_.js.map} +1 -1
  283. package/dist/components/{p-D_w8j389.js → p-lznEWS4v.js} +3 -3
  284. package/dist/components/{p-D_w8j389.js.map → p-lznEWS4v.js.map} +1 -1
  285. package/dist/components/{p-CPhenplF.js → p-p9ukc88O.js} +12 -12
  286. package/dist/components/{p-CPhenplF.js.map → p-p9ukc88O.js.map} +1 -1
  287. package/dist/components/{p-ogdE0ZRA.js → p-qZbgo5ci.js} +6 -6
  288. package/dist/components/{p-ogdE0ZRA.js.map → p-qZbgo5ci.js.map} +1 -1
  289. package/dist/components/{p-tUZeJBio.js → p-t0GaNI8a.js} +9 -9
  290. package/dist/components/{p-tUZeJBio.js.map → p-t0GaNI8a.js.map} +1 -1
  291. package/dist/components/{p-BCWurktL.js → p-tscZkFAw.js} +3 -3
  292. package/dist/components/{p-BCWurktL.js.map → p-tscZkFAw.js.map} +1 -1
  293. package/dist/components/p-uD4ilJut.js.map +1 -1
  294. package/dist/components/{p-B4ov3VSW.js → p-uE_GMswl.js} +3 -3
  295. package/dist/components/{p-B4ov3VSW.js.map → p-uE_GMswl.js.map} +1 -1
  296. package/dist/components/{p-DZmJJLfK.js → p-y5FjccGk.js} +43 -53
  297. package/dist/components/p-y5FjccGk.js.map +1 -0
  298. package/dist/components/{p-hyzEZfgL.js → p-yUwaJCDo.js} +3 -3
  299. package/dist/components/{p-hyzEZfgL.js.map → p-yUwaJCDo.js.map} +1 -1
  300. package/dist/components/{p-wFg7jTyH.js → p-zGVzYI0x.js} +9 -9
  301. package/dist/components/{p-wFg7jTyH.js.map → p-zGVzYI0x.js.map} +1 -1
  302. package/dist/components/{p-Cl93LJda.js → p-zPvGkxsF.js} +7 -7
  303. package/dist/components/{p-Cl93LJda.js.map → p-zPvGkxsF.js.map} +1 -1
  304. package/dist/components/stzh-accordion-item.js +1 -1
  305. package/dist/components/stzh-accordion.js +1 -1
  306. package/dist/components/stzh-actions.js +1 -1
  307. package/dist/components/stzh-actionset.js +1 -1
  308. package/dist/components/stzh-amount.js +9 -9
  309. package/dist/components/stzh-anchornav.js +5 -5
  310. package/dist/components/stzh-app-nav.js +1 -1
  311. package/dist/components/stzh-appointments.js +13 -13
  312. package/dist/components/stzh-archivelist.js +7 -7
  313. package/dist/components/stzh-audio.js +5 -5
  314. package/dist/components/stzh-badge.js +1 -1
  315. package/dist/components/stzh-banner.js +7 -5
  316. package/dist/components/stzh-banner.js.map +1 -1
  317. package/dist/components/stzh-breadcrumb.js +1 -1
  318. package/dist/components/stzh-button.js +1 -1
  319. package/dist/components/stzh-buttongroup.js +1 -1
  320. package/dist/components/stzh-calendar.js +1 -1
  321. package/dist/components/stzh-card-navigation.js +2 -2
  322. package/dist/components/stzh-card-searchresult.js +14 -14
  323. package/dist/components/stzh-card-superteaser.js +14 -14
  324. package/dist/components/stzh-card.js +1 -1
  325. package/dist/components/stzh-cardlist.js +1 -1
  326. package/dist/components/stzh-carousel.js +1 -1
  327. package/dist/components/stzh-cell.js +1 -1
  328. package/dist/components/stzh-chart.js +1 -1
  329. package/dist/components/stzh-checkbox.js +1 -1
  330. package/dist/components/stzh-checkboxgroup.js +5 -5
  331. package/dist/components/stzh-chip.js +1 -1
  332. package/dist/components/stzh-chipgroup.js +1 -1
  333. package/dist/components/stzh-chipselect.js +1 -1
  334. package/dist/components/stzh-clamp.js +1 -1
  335. package/dist/components/stzh-company-logo.js +1 -1
  336. package/dist/components/stzh-contact-cv.js +4 -4
  337. package/dist/components/stzh-contact.js +10 -10
  338. package/dist/components/stzh-container.js +1 -1
  339. package/dist/components/stzh-content.js +1 -1
  340. package/dist/components/stzh-cspace.js +1 -1
  341. package/dist/components/stzh-cta.js +3 -3
  342. package/dist/components/stzh-datalist-item.js +1 -1
  343. package/dist/components/stzh-datalist.js +1 -1
  344. package/dist/components/stzh-datamessagelist-item.js +11 -11
  345. package/dist/components/stzh-datamessagelist.js +1 -1
  346. package/dist/components/stzh-datatable.js +17 -17
  347. package/dist/components/stzh-datepicker.js +1 -1
  348. package/dist/components/stzh-daterange.js +4 -4
  349. package/dist/components/stzh-details.js +1 -1
  350. package/dist/components/stzh-dialog.js +1 -1
  351. package/dist/components/stzh-disturber.js +4 -4
  352. package/dist/components/stzh-dropdown.js +1 -1
  353. package/dist/components/stzh-editor.js +4 -4
  354. package/dist/components/stzh-eventdata.js +1 -1
  355. package/dist/components/stzh-eventinfo.js +5 -5
  356. package/dist/components/stzh-feedreader-item.js +2 -2
  357. package/dist/components/stzh-feedreader.js +8 -8
  358. package/dist/components/stzh-fieldset.js +1 -1
  359. package/dist/components/stzh-figure.js +1 -1
  360. package/dist/components/stzh-flyingfocus.js +1 -1
  361. package/dist/components/stzh-footer.js +4 -4
  362. package/dist/components/stzh-gallery.js +12 -10
  363. package/dist/components/stzh-gallery.js.map +1 -1
  364. package/dist/components/stzh-geo-ref-data.js +27 -27
  365. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  366. package/dist/components/stzh-ghettobox.js +1 -1
  367. package/dist/components/stzh-header.js +1 -1
  368. package/dist/components/stzh-heading.js +1 -1
  369. package/dist/components/stzh-homepage-search.js +2 -2
  370. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  371. package/dist/components/stzh-hr.js +1 -1
  372. package/dist/components/stzh-hspace.js +1 -1
  373. package/dist/components/stzh-http-error.js +7 -7
  374. package/dist/components/stzh-icon.js +1 -1
  375. package/dist/components/stzh-iframe.js +1 -1
  376. package/dist/components/stzh-imagecomparison.js +2 -2
  377. package/dist/components/stzh-input.js +1 -1
  378. package/dist/components/stzh-invert.js +1 -1
  379. package/dist/components/stzh-link.js +1 -1
  380. package/dist/components/stzh-linklist.js +10 -10
  381. package/dist/components/stzh-list-item.js +1 -1
  382. package/dist/components/stzh-list.js +1 -1
  383. package/dist/components/stzh-loader.js +1 -1
  384. package/dist/components/stzh-loadingbar.js +1 -1
  385. package/dist/components/stzh-menu-item.js +1 -1
  386. package/dist/components/stzh-menu.js +1 -1
  387. package/dist/components/stzh-message.js +1 -1
  388. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  389. package/dist/components/stzh-monthyearpicker.js +5 -5
  390. package/dist/components/stzh-offline-indicator.js +6 -6
  391. package/dist/components/stzh-olmap.js +1 -1
  392. package/dist/components/stzh-overlay.js +1 -1
  393. package/dist/components/stzh-page-skiplinks.js +1 -1
  394. package/dist/components/stzh-pagebottom.js +8 -8
  395. package/dist/components/stzh-pagecontent.js +4 -3
  396. package/dist/components/stzh-pagecontent.js.map +1 -1
  397. package/dist/components/stzh-pagetitle-hero.js +1 -1
  398. package/dist/components/stzh-pagetitle-home.js +2 -2
  399. package/dist/components/stzh-pagetitle.js +2 -2
  400. package/dist/components/stzh-pagination.js +1 -1
  401. package/dist/components/stzh-panorama.js +11 -11
  402. package/dist/components/stzh-pi-content-navigation.js +3 -3
  403. package/dist/components/stzh-pi-menu.js +3 -3
  404. package/dist/components/stzh-pi-pagetitle.js +2 -2
  405. package/dist/components/stzh-pi-quote.js +1 -1
  406. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  407. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  408. package/dist/components/stzh-pi-teaser.js +2 -2
  409. package/dist/components/stzh-pkzh-qr.js +22 -22
  410. package/dist/components/stzh-pkzh-qr.js.map +1 -1
  411. package/dist/components/stzh-popover.js +1 -1
  412. package/dist/components/stzh-print.js +1 -1
  413. package/dist/components/stzh-quote.js +1 -1
  414. package/dist/components/stzh-radio.js +1 -1
  415. package/dist/components/stzh-radiogroup.js +1 -1
  416. package/dist/components/stzh-rating.js +5 -5
  417. package/dist/components/stzh-rating.js.map +1 -1
  418. package/dist/components/stzh-ratio.js +1 -1
  419. package/dist/components/stzh-readspeaker.js +4 -4
  420. package/dist/components/stzh-richtext.js +1 -1
  421. package/dist/components/stzh-row.js +1 -1
  422. package/dist/components/stzh-saptcha.js +7 -7
  423. package/dist/components/stzh-scrollup.js +1 -1
  424. package/dist/components/stzh-search.js +16 -16
  425. package/dist/components/stzh-section.js +1 -1
  426. package/dist/components/stzh-share.js +1 -1
  427. package/dist/components/stzh-show.js +1 -1
  428. package/dist/components/stzh-sitemap.js +9 -9
  429. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  430. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  431. package/dist/components/stzh-skiplink.js +1 -1
  432. package/dist/components/stzh-socialmediastream-item.js +1 -1
  433. package/dist/components/stzh-socialmediastream.js +6 -6
  434. package/dist/components/stzh-sortable.js +1 -1
  435. package/dist/components/stzh-space.js +1 -1
  436. package/dist/components/stzh-status.js +1 -1
  437. package/dist/components/stzh-stepper-item.js +1 -1
  438. package/dist/components/stzh-stepper.js +3 -3
  439. package/dist/components/stzh-sticky-actions.js +2 -2
  440. package/dist/components/stzh-sticky.js +1 -1
  441. package/dist/components/stzh-table.js +1 -1
  442. package/dist/components/stzh-tag.js +1 -1
  443. package/dist/components/stzh-text.js +1 -1
  444. package/dist/components/stzh-textandimage.js +1 -1
  445. package/dist/components/stzh-timeline-item.js +3 -3
  446. package/dist/components/stzh-timeline.js +1 -1
  447. package/dist/components/stzh-timepicker.js +5 -5
  448. package/dist/components/stzh-toast.js +1 -1
  449. package/dist/components/stzh-toastbar.js +1 -1
  450. package/dist/components/stzh-toggle.js +5 -5
  451. package/dist/components/stzh-tooltip.js +1 -1
  452. package/dist/components/stzh-twocolumns.js +1 -1
  453. package/dist/components/stzh-upload.js +13 -13
  454. package/dist/components/stzh-upload.js.map +1 -1
  455. package/dist/components/stzh-vbz-carousel.js +2 -2
  456. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  457. package/dist/components/stzh-vbz-intro.js +5 -5
  458. package/dist/components/stzh-vbz-linechip.js +1 -1
  459. package/dist/components/stzh-vbz-majorticker.js +7 -7
  460. package/dist/components/stzh-vbz-ticker.js +7 -7
  461. package/dist/components/stzh-visuallyhidden.js +1 -1
  462. package/dist/components/stzh-vspace.js +1 -1
  463. package/dist/components/stzh-youtube.js +6 -6
  464. package/dist/esm/{index-WVDCFmOb.js → index-Dh5OdFgL.js} +3 -3
  465. package/dist/esm/{index-WVDCFmOb.js.map → index-Dh5OdFgL.js.map} +1 -1
  466. package/dist/esm/index.js.map +1 -1
  467. package/dist/esm/loader.js +3 -3
  468. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  469. package/dist/esm/stzh-actions_6.entry.js +1 -1
  470. package/dist/esm/stzh-actionset.entry.js +1 -1
  471. package/dist/esm/stzh-amount.entry.js +1 -1
  472. package/dist/esm/stzh-anchornav.entry.js +1 -1
  473. package/dist/esm/stzh-app-nav.entry.js +2 -2
  474. package/dist/esm/stzh-app-nav.entry.js.map +1 -1
  475. package/dist/esm/stzh-appointments.entry.js +1 -1
  476. package/dist/esm/stzh-archivelist.entry.js +1 -1
  477. package/dist/esm/stzh-audio.entry.js +1 -1
  478. package/dist/esm/stzh-badge_3.entry.js +1 -1
  479. package/dist/esm/stzh-banner.entry.js +4 -2
  480. package/dist/esm/stzh-banner.entry.js.map +1 -1
  481. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  482. package/dist/esm/stzh-buttongroup.entry.js +7 -7
  483. package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
  484. package/dist/esm/stzh-calendar.entry.js +1 -1
  485. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  486. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  487. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  488. package/dist/esm/stzh-card_2.entry.js +1 -1
  489. package/dist/esm/stzh-carousel.entry.js +1 -1
  490. package/dist/esm/stzh-chart.entry.js +1 -1
  491. package/dist/esm/stzh-checkbox.entry.js +2 -2
  492. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  493. package/dist/esm/stzh-chip_2.entry.js +32 -42
  494. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  495. package/dist/esm/stzh-clamp.entry.js +1 -1
  496. package/dist/esm/stzh-company-logo.entry.js +1 -1
  497. package/dist/esm/stzh-components.js +3 -3
  498. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  499. package/dist/esm/stzh-contact.entry.js +1 -1
  500. package/dist/esm/stzh-container_2.entry.js +1 -1
  501. package/dist/esm/stzh-content.entry.js +1 -1
  502. package/dist/esm/stzh-cta.entry.js +1 -1
  503. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  504. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  505. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  506. package/dist/esm/stzh-datatable.entry.js +1 -1
  507. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  508. package/dist/esm/stzh-daterange.entry.js +1 -1
  509. package/dist/esm/stzh-details.entry.js +1 -1
  510. package/dist/esm/stzh-details.entry.js.map +1 -1
  511. package/dist/esm/stzh-dialog.entry.js +1 -1
  512. package/dist/esm/stzh-disturber.entry.js +1 -1
  513. package/dist/esm/stzh-dropdown.entry.js +7 -7
  514. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  515. package/dist/esm/stzh-editor.entry.js +1 -1
  516. package/dist/esm/stzh-eventdata.entry.js +1 -1
  517. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  518. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  519. package/dist/esm/stzh-feedreader.entry.js +1 -1
  520. package/dist/esm/stzh-figure.entry.js +1 -1
  521. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  522. package/dist/esm/stzh-footer.entry.js +1 -1
  523. package/dist/esm/stzh-gallery.entry.js +5 -3
  524. package/dist/esm/stzh-gallery.entry.js.map +1 -1
  525. package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
  526. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  527. package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
  528. package/dist/esm/stzh-header_3.entry.js +1 -1
  529. package/dist/esm/stzh-heading.entry.js +1 -1
  530. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  531. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  532. package/dist/esm/stzh-hr.entry.js +1 -1
  533. package/dist/esm/stzh-hspace.entry.js +1 -1
  534. package/dist/esm/stzh-http-error.entry.js +1 -1
  535. package/dist/esm/stzh-iframe.entry.js +1 -1
  536. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  537. package/dist/esm/{stzh-input-description-Cl6JJQPg.js → stzh-input-description-_jzG16b5.js} +3 -3
  538. package/dist/esm/{stzh-input-description-Cl6JJQPg.js.map → stzh-input-description-_jzG16b5.js.map} +1 -1
  539. package/dist/esm/stzh-input.entry.js +2 -2
  540. package/dist/esm/stzh-invert.entry.js +1 -1
  541. package/dist/esm/stzh-link.entry.js +1 -1
  542. package/dist/esm/stzh-linklist.entry.js +1 -1
  543. package/dist/esm/stzh-list_2.entry.js +1 -1
  544. package/dist/esm/stzh-loader.entry.js +1 -1
  545. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  546. package/dist/esm/stzh-menu_2.entry.js +1 -1
  547. package/dist/esm/stzh-message.entry.js +1 -1
  548. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  549. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  550. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  551. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  552. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  553. package/dist/esm/stzh-pagecontent.entry.js +2 -2
  554. package/dist/esm/stzh-pagecontent.entry.js.map +1 -1
  555. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  556. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  557. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  558. package/dist/esm/stzh-panorama.entry.js +1 -1
  559. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  560. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  561. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  562. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  563. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  564. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  565. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  566. package/dist/esm/stzh-pkzh-qr.entry.js +3 -3
  567. package/dist/esm/stzh-pkzh-qr.entry.js.map +1 -1
  568. package/dist/esm/stzh-popover.entry.js +5 -2
  569. package/dist/esm/stzh-popover.entry.js.map +1 -1
  570. package/dist/esm/stzh-print_2.entry.js +1 -1
  571. package/dist/esm/stzh-quote.entry.js +1 -1
  572. package/dist/esm/stzh-rating.entry.js +2 -2
  573. package/dist/esm/stzh-rating.entry.js.map +1 -1
  574. package/dist/esm/stzh-ratio.entry.js +1 -1
  575. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  576. package/dist/esm/stzh-saptcha.entry.js +1 -1
  577. package/dist/esm/stzh-scrollup.entry.js +1 -1
  578. package/dist/esm/stzh-search.entry.js +1 -1
  579. package/dist/esm/stzh-section.entry.js +1 -1
  580. package/dist/esm/stzh-sitemap.entry.js +1 -1
  581. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  582. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  583. package/dist/esm/stzh-skiplink.entry.js +1 -1
  584. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  585. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  586. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  587. package/dist/esm/stzh-stepper-item.entry.js.map +1 -1
  588. package/dist/esm/stzh-stepper.entry.js +1 -1
  589. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  590. package/dist/esm/stzh-sticky.entry.js +1 -1
  591. package/dist/esm/stzh-table.entry.js +1 -1
  592. package/dist/esm/stzh-text.entry.js +1 -1
  593. package/dist/esm/stzh-textandimage.entry.js +1 -1
  594. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  595. package/dist/esm/stzh-timeline.entry.js +1 -1
  596. package/dist/esm/stzh-timepicker.entry.js +1 -1
  597. package/dist/esm/stzh-toast_2.entry.js +1 -1
  598. package/dist/esm/stzh-toggle.entry.js +2 -2
  599. package/dist/esm/stzh-tooltip.entry.js +1 -1
  600. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  601. package/dist/esm/stzh-upload.entry.js +2 -2
  602. package/dist/esm/stzh-upload.entry.js.map +1 -1
  603. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  604. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  605. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  606. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  607. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  608. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  609. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  610. package/dist/esm/stzh-vspace.entry.js +1 -1
  611. package/dist/esm/stzh-youtube.entry.js +1 -1
  612. package/dist/stzh-components/index.esm.js.map +1 -1
  613. package/dist/stzh-components/{p-32370a7e.entry.js → p-0200195d.entry.js} +2 -2
  614. package/dist/stzh-components/{p-e6032117.entry.js → p-05507ece.entry.js} +2 -2
  615. package/dist/stzh-components/{p-43b8cfde.entry.js → p-07b37f92.entry.js} +2 -2
  616. package/dist/stzh-components/{p-26be1f66.entry.js → p-0842d73b.entry.js} +2 -2
  617. package/dist/stzh-components/{p-9179335b.entry.js → p-08ee1968.entry.js} +2 -2
  618. package/dist/stzh-components/{p-f6ad50e0.entry.js → p-0a0b00ab.entry.js} +2 -2
  619. package/dist/stzh-components/p-0c92e461.entry.js +2 -0
  620. package/dist/stzh-components/{p-46abd0ee.entry.js.map → p-0c92e461.entry.js.map} +1 -1
  621. package/dist/stzh-components/{p-017820c0.entry.js → p-0fb3c77d.entry.js} +2 -2
  622. package/dist/stzh-components/{p-fd5c190d.entry.js → p-0fd518cb.entry.js} +2 -2
  623. package/dist/stzh-components/{p-5db52fa5.entry.js → p-107b10fc.entry.js} +2 -2
  624. package/dist/stzh-components/{p-4851302c.entry.js → p-1217921b.entry.js} +2 -2
  625. package/dist/stzh-components/{p-0a0076e0.entry.js → p-137b9980.entry.js} +2 -2
  626. package/dist/stzh-components/{p-69139874.entry.js → p-13d80772.entry.js} +2 -2
  627. package/dist/stzh-components/{p-336a013f.entry.js → p-13dadd9c.entry.js} +2 -2
  628. package/dist/stzh-components/{p-fc1c1b2f.entry.js → p-14a8e3ce.entry.js} +2 -2
  629. package/dist/stzh-components/{p-5d7a4338.entry.js → p-1744e97f.entry.js} +2 -2
  630. package/dist/stzh-components/{p-4bf3b5f3.entry.js → p-179d6840.entry.js} +2 -2
  631. package/dist/stzh-components/{p-4cfef42a.entry.js → p-1b45fe03.entry.js} +2 -2
  632. package/dist/stzh-components/{p-8fb80103.entry.js → p-1cd60e25.entry.js} +2 -2
  633. package/dist/stzh-components/{p-204a03f9.entry.js → p-21d6e08e.entry.js} +2 -2
  634. package/dist/stzh-components/{p-730fb5c2.entry.js → p-26561907.entry.js} +2 -2
  635. package/dist/stzh-components/{p-106166bb.entry.js → p-27dae76f.entry.js} +2 -2
  636. package/dist/stzh-components/{p-00a89ed9.entry.js → p-29a465e9.entry.js} +2 -2
  637. package/dist/stzh-components/{p-c26c847d.entry.js → p-2e63d4ad.entry.js} +2 -2
  638. package/dist/stzh-components/{p-8de9da26.entry.js → p-2ed6aeb1.entry.js} +2 -2
  639. package/dist/stzh-components/{p-a0718284.entry.js → p-2ef3c480.entry.js} +2 -2
  640. package/dist/stzh-components/{p-b08fc8cf.entry.js → p-3270bdb7.entry.js} +2 -2
  641. package/dist/stzh-components/{p-fd447ae1.entry.js → p-327e2124.entry.js} +2 -2
  642. package/dist/stzh-components/{p-ca9f7ff3.entry.js → p-350980ad.entry.js} +2 -2
  643. package/dist/stzh-components/{p-be2a47c8.entry.js → p-397c1876.entry.js} +2 -2
  644. package/dist/stzh-components/{p-e347a06b.entry.js → p-401a5aad.entry.js} +2 -2
  645. package/dist/stzh-components/{p-2d967d43.entry.js → p-40287d45.entry.js} +2 -2
  646. package/dist/stzh-components/{p-9df3128f.entry.js → p-40514cee.entry.js} +2 -2
  647. package/dist/stzh-components/{p-be7e85d0.entry.js → p-43890ce0.entry.js} +2 -2
  648. package/dist/stzh-components/{p-20e1a372.entry.js → p-4836843a.entry.js} +2 -2
  649. package/dist/stzh-components/p-4836843a.entry.js.map +1 -0
  650. package/dist/stzh-components/{p-0bd31c3f.entry.js → p-4d95a39d.entry.js} +2 -2
  651. package/dist/stzh-components/{p-4e259e7f.entry.js → p-4e074ad2.entry.js} +2 -2
  652. package/dist/stzh-components/{p-4f0eb507.entry.js → p-4e8aa54d.entry.js} +2 -2
  653. package/dist/stzh-components/{p-0f7a068e.entry.js → p-4f521104.entry.js} +2 -2
  654. package/dist/stzh-components/{p-1e6be6d0.entry.js → p-4fcdd755.entry.js} +2 -2
  655. package/dist/stzh-components/{p-4917b35e.entry.js → p-556421a5.entry.js} +2 -2
  656. package/dist/stzh-components/{p-ab868670.entry.js → p-567d34a6.entry.js} +2 -2
  657. package/dist/stzh-components/{p-09dacbbb.entry.js → p-5712ac98.entry.js} +2 -2
  658. package/dist/stzh-components/{p-6f165f23.entry.js → p-584f67e4.entry.js} +2 -2
  659. package/dist/stzh-components/{p-b9587fe9.entry.js → p-58d67acf.entry.js} +2 -2
  660. package/dist/stzh-components/{p-21c5f5b1.entry.js → p-5bbaaa33.entry.js} +2 -2
  661. package/dist/stzh-components/{p-9f695971.entry.js → p-5e0ed03b.entry.js} +2 -2
  662. package/dist/stzh-components/{p-5351b862.entry.js → p-64b6388f.entry.js} +2 -2
  663. package/dist/stzh-components/{p-4ef46628.entry.js → p-6594a564.entry.js} +2 -2
  664. package/dist/stzh-components/{p-1ef74860.entry.js → p-659ca1af.entry.js} +2 -2
  665. package/dist/stzh-components/{p-06825cd6.entry.js → p-66c235b6.entry.js} +2 -2
  666. package/dist/stzh-components/{p-52594c33.entry.js → p-6802cd92.entry.js} +2 -2
  667. package/dist/stzh-components/{p-f7cde1f8.entry.js → p-68d8de5b.entry.js} +2 -2
  668. package/dist/stzh-components/{p-f7cde1f8.entry.js.map → p-68d8de5b.entry.js.map} +1 -1
  669. package/dist/stzh-components/{p-9c61cba8.entry.js → p-69fab43d.entry.js} +2 -2
  670. package/dist/stzh-components/{p-96b8de3e.entry.js → p-6b77a5ee.entry.js} +2 -2
  671. package/dist/stzh-components/p-720c624f.entry.js +2 -0
  672. package/dist/stzh-components/{p-314926bf.entry.js.map → p-720c624f.entry.js.map} +1 -1
  673. package/dist/stzh-components/{p-b4e3e52a.entry.js → p-74b6a0ce.entry.js} +2 -2
  674. package/dist/stzh-components/{p-82d5f5ad.entry.js → p-761d2af1.entry.js} +2 -2
  675. package/dist/stzh-components/{p-1ba93bb7.entry.js → p-7bb593d5.entry.js} +2 -2
  676. package/dist/stzh-components/{p-480fcf35.entry.js → p-7db5a9cd.entry.js} +2 -2
  677. package/dist/stzh-components/{p-2df734f4.entry.js → p-82bea8f6.entry.js} +3 -3
  678. package/dist/stzh-components/{p-43284068.entry.js → p-8316e716.entry.js} +2 -2
  679. package/dist/stzh-components/{p-967b7a54.entry.js → p-87482eba.entry.js} +2 -2
  680. package/dist/stzh-components/{p-eccc3a52.entry.js → p-8b685b95.entry.js} +2 -2
  681. package/dist/stzh-components/{p-c9fa28c4.entry.js → p-8be1db71.entry.js} +2 -2
  682. package/dist/stzh-components/{p-568981a4.entry.js → p-8f17011e.entry.js} +2 -2
  683. package/dist/stzh-components/{p-8f76f465.entry.js → p-9158370e.entry.js} +3 -3
  684. package/dist/stzh-components/{p-625f8711.entry.js → p-91af0020.entry.js} +2 -2
  685. package/dist/stzh-components/{p-a8171280.entry.js → p-91f48c83.entry.js} +2 -2
  686. package/dist/stzh-components/{p-ef2af4d0.entry.js → p-9208c5b6.entry.js} +3 -3
  687. package/dist/stzh-components/{p-fdc1490c.entry.js → p-93ebe721.entry.js} +2 -2
  688. package/dist/stzh-components/{p-b7428699.entry.js → p-95584f29.entry.js} +2 -2
  689. package/dist/stzh-components/{p-d7d9cd05.entry.js → p-956ff539.entry.js} +2 -2
  690. package/dist/stzh-components/{p-8b35cda8.entry.js → p-95ad4af1.entry.js} +2 -2
  691. package/dist/stzh-components/{p-31778486.entry.js → p-96f659db.entry.js} +2 -2
  692. package/dist/stzh-components/{p-2c1e5e8b.entry.js → p-9955698a.entry.js} +2 -2
  693. package/dist/stzh-components/{p-dead446b.entry.js → p-99595c12.entry.js} +2 -2
  694. package/dist/stzh-components/{p-26db7280.entry.js → p-9d6953d5.entry.js} +2 -2
  695. package/dist/stzh-components/{p-QItfqfyu.js → p-B3-MR2Wz.js} +2 -2
  696. package/dist/stzh-components/{p-QItfqfyu.js.map → p-B3-MR2Wz.js.map} +1 -1
  697. package/dist/stzh-components/p-Dh5OdFgL.js +3 -0
  698. package/dist/stzh-components/{p-WVDCFmOb.js.map → p-Dh5OdFgL.js.map} +1 -1
  699. package/dist/stzh-components/{p-12821225.entry.js → p-a31ca927.entry.js} +2 -2
  700. package/dist/stzh-components/{p-d9417daf.entry.js → p-a4b35112.entry.js} +2 -2
  701. package/dist/stzh-components/{p-e07c9fb1.entry.js → p-a8b5608a.entry.js} +2 -2
  702. package/dist/stzh-components/{p-8fcee79e.entry.js → p-a95c64a7.entry.js} +2 -2
  703. package/dist/stzh-components/{p-fea524e1.entry.js → p-ad52df57.entry.js} +2 -2
  704. package/dist/stzh-components/{p-780cc1a5.entry.js → p-ae6e78db.entry.js} +2 -2
  705. package/dist/stzh-components/{p-0cb8ded0.entry.js → p-b461c176.entry.js} +2 -2
  706. package/dist/stzh-components/{p-0ecdbcb2.entry.js → p-b610b39b.entry.js} +2 -2
  707. package/dist/stzh-components/{p-db0494ee.entry.js → p-b61aebe8.entry.js} +2 -2
  708. package/dist/stzh-components/{p-a104e707.entry.js → p-b790f7b6.entry.js} +2 -2
  709. package/dist/stzh-components/{p-a0b6d562.entry.js → p-b8cd3671.entry.js} +2 -2
  710. package/dist/stzh-components/{p-519286e2.entry.js → p-b9566711.entry.js} +4 -4
  711. package/dist/stzh-components/{p-e21c9013.entry.js → p-bb2a381b.entry.js} +8 -8
  712. package/dist/stzh-components/{p-25be19b2.entry.js → p-bd557dcd.entry.js} +2 -2
  713. package/dist/stzh-components/{p-ca28db90.entry.js → p-bf3e2d3f.entry.js} +2 -2
  714. package/dist/stzh-components/{p-5fceb96e.entry.js → p-c14686b5.entry.js} +3 -3
  715. package/dist/stzh-components/{p-5fceb96e.entry.js.map → p-c14686b5.entry.js.map} +1 -1
  716. package/dist/stzh-components/{p-4ecbba07.entry.js → p-c241d2c3.entry.js} +2 -2
  717. package/dist/stzh-components/{p-2152b3e7.entry.js → p-c3bf7922.entry.js} +2 -2
  718. package/dist/stzh-components/{p-2152b3e7.entry.js.map → p-c3bf7922.entry.js.map} +1 -1
  719. package/dist/stzh-components/{p-3c23588a.entry.js → p-c7e8c4db.entry.js} +2 -2
  720. package/dist/stzh-components/{p-a278877a.entry.js → p-cc32de4e.entry.js} +2 -2
  721. package/dist/stzh-components/{p-d3793844.entry.js → p-ce8ba480.entry.js} +2 -2
  722. package/dist/stzh-components/{p-3f8bf92a.entry.js → p-d0c7bade.entry.js} +2 -2
  723. package/dist/stzh-components/{p-bef76a75.entry.js → p-d19ed8c6.entry.js} +2 -2
  724. package/dist/stzh-components/{p-32d53bf2.entry.js → p-d2526927.entry.js} +2 -2
  725. package/dist/stzh-components/{p-e976ab4c.entry.js → p-d62257f1.entry.js} +2 -2
  726. package/dist/stzh-components/{p-b99109a6.entry.js → p-d6a51616.entry.js} +2 -2
  727. package/dist/stzh-components/{p-a421e8a0.entry.js → p-d6a6bd75.entry.js} +2 -2
  728. package/dist/stzh-components/{p-fd9a5ab6.entry.js → p-d908aa31.entry.js} +2 -2
  729. package/dist/stzh-components/{p-ead4866b.entry.js → p-daf836e7.entry.js} +2 -2
  730. package/dist/stzh-components/{p-bf8ea30f.entry.js → p-dd479871.entry.js} +2 -2
  731. package/dist/stzh-components/{p-bd6065e7.entry.js → p-dfc3738f.entry.js} +2 -2
  732. package/dist/stzh-components/{p-f5562b5d.entry.js → p-e1a70b7d.entry.js} +2 -2
  733. package/dist/stzh-components/{p-c86d6269.entry.js → p-e1bd2fed.entry.js} +2 -2
  734. package/dist/stzh-components/{p-014c4efb.entry.js → p-e2ab5d20.entry.js} +2 -2
  735. package/dist/stzh-components/{p-307aca14.entry.js → p-e64c3670.entry.js} +2 -2
  736. package/dist/stzh-components/{p-ed58d60f.entry.js → p-e8afbd35.entry.js} +2 -2
  737. package/dist/stzh-components/{p-d4bb18c3.entry.js → p-eb9673cd.entry.js} +2 -2
  738. package/dist/stzh-components/{p-fe4dd322.entry.js → p-eccfd5f3.entry.js} +2 -2
  739. package/dist/stzh-components/{p-b988ea63.entry.js → p-ee9bc33a.entry.js} +2 -2
  740. package/dist/stzh-components/{p-9e3a8711.entry.js → p-f01e4138.entry.js} +2 -2
  741. package/dist/stzh-components/{p-fbc8e5fb.entry.js → p-f1082eab.entry.js} +2 -2
  742. package/dist/stzh-components/{p-9ff014f1.entry.js → p-f5883160.entry.js} +2 -2
  743. package/dist/stzh-components/{p-c41dee66.entry.js → p-f5b04431.entry.js} +2 -2
  744. package/dist/stzh-components/{p-a94ba33f.entry.js → p-fa3861c1.entry.js} +2 -2
  745. package/dist/stzh-components/{p-5a82f73f.entry.js → p-fb44182f.entry.js} +2 -2
  746. package/dist/stzh-components/{p-3aade6ab.entry.js → p-fb46c6ad.entry.js} +2 -2
  747. package/dist/stzh-components/{p-7d08eaa9.entry.js → p-fc9b4692.entry.js} +2 -2
  748. package/dist/stzh-components/{p-f9a6e354.entry.js → p-fcb9d8b5.entry.js} +2 -2
  749. package/dist/stzh-components/{p-50e739d8.entry.js → p-fe4f22aa.entry.js} +2 -2
  750. package/dist/stzh-components/{p-1244a4ad.entry.js → p-ff3b11e4.entry.js} +2 -2
  751. package/dist/stzh-components/stzh-components.esm.js +1 -1
  752. package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +1 -1
  753. package/dist/types/components/stzh-chipselect/stzh-chipselect.d.ts +7 -20
  754. package/dist/types/index.d.ts +17 -0
  755. package/package.json +5 -6
  756. package/dist/components/p-B-TtPvY1.js.map +0 -1
  757. package/dist/components/p-B_fJQ6tu.js.map +0 -1
  758. package/dist/components/p-Cla6GVJl.js.map +0 -1
  759. package/dist/components/p-D-wjggPy.js.map +0 -1
  760. package/dist/components/p-D36sFB-f.js.map +0 -1
  761. package/dist/components/p-DXFYCyWz.js.map +0 -1
  762. package/dist/components/p-DZmJJLfK.js.map +0 -1
  763. package/dist/stzh-components/p-20e1a372.entry.js.map +0 -1
  764. package/dist/stzh-components/p-314926bf.entry.js +0 -2
  765. package/dist/stzh-components/p-46abd0ee.entry.js +0 -2
  766. package/dist/stzh-components/p-WVDCFmOb.js +0 -3
  767. /package/dist/stzh-components/{p-32370a7e.entry.js.map → p-0200195d.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-e6032117.entry.js.map → p-05507ece.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-43b8cfde.entry.js.map → p-07b37f92.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-26be1f66.entry.js.map → p-0842d73b.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-9179335b.entry.js.map → p-08ee1968.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-f6ad50e0.entry.js.map → p-0a0b00ab.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-017820c0.entry.js.map → p-0fb3c77d.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-fd5c190d.entry.js.map → p-0fd518cb.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-5db52fa5.entry.js.map → p-107b10fc.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-4851302c.entry.js.map → p-1217921b.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-0a0076e0.entry.js.map → p-137b9980.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-69139874.entry.js.map → p-13d80772.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-336a013f.entry.js.map → p-13dadd9c.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-fc1c1b2f.entry.js.map → p-14a8e3ce.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-5d7a4338.entry.js.map → p-1744e97f.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-4bf3b5f3.entry.js.map → p-179d6840.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-4cfef42a.entry.js.map → p-1b45fe03.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-8fb80103.entry.js.map → p-1cd60e25.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-204a03f9.entry.js.map → p-21d6e08e.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-730fb5c2.entry.js.map → p-26561907.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-106166bb.entry.js.map → p-27dae76f.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-00a89ed9.entry.js.map → p-29a465e9.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-c26c847d.entry.js.map → p-2e63d4ad.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-8de9da26.entry.js.map → p-2ed6aeb1.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-a0718284.entry.js.map → p-2ef3c480.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-b08fc8cf.entry.js.map → p-3270bdb7.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-fd447ae1.entry.js.map → p-327e2124.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-ca9f7ff3.entry.js.map → p-350980ad.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-be2a47c8.entry.js.map → p-397c1876.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-e347a06b.entry.js.map → p-401a5aad.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-2d967d43.entry.js.map → p-40287d45.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-9df3128f.entry.js.map → p-40514cee.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-be7e85d0.entry.js.map → p-43890ce0.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-0bd31c3f.entry.js.map → p-4d95a39d.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-4e259e7f.entry.js.map → p-4e074ad2.entry.js.map} +0 -0
  802. /package/dist/stzh-components/{p-4f0eb507.entry.js.map → p-4e8aa54d.entry.js.map} +0 -0
  803. /package/dist/stzh-components/{p-0f7a068e.entry.js.map → p-4f521104.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-1e6be6d0.entry.js.map → p-4fcdd755.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-4917b35e.entry.js.map → p-556421a5.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-ab868670.entry.js.map → p-567d34a6.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-09dacbbb.entry.js.map → p-5712ac98.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-6f165f23.entry.js.map → p-584f67e4.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-b9587fe9.entry.js.map → p-58d67acf.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-21c5f5b1.entry.js.map → p-5bbaaa33.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-9f695971.entry.js.map → p-5e0ed03b.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-5351b862.entry.js.map → p-64b6388f.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-4ef46628.entry.js.map → p-6594a564.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-1ef74860.entry.js.map → p-659ca1af.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-06825cd6.entry.js.map → p-66c235b6.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-52594c33.entry.js.map → p-6802cd92.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-9c61cba8.entry.js.map → p-69fab43d.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-96b8de3e.entry.js.map → p-6b77a5ee.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-b4e3e52a.entry.js.map → p-74b6a0ce.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-82d5f5ad.entry.js.map → p-761d2af1.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-1ba93bb7.entry.js.map → p-7bb593d5.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-480fcf35.entry.js.map → p-7db5a9cd.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-2df734f4.entry.js.map → p-82bea8f6.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-43284068.entry.js.map → p-8316e716.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-967b7a54.entry.js.map → p-87482eba.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-eccc3a52.entry.js.map → p-8b685b95.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-c9fa28c4.entry.js.map → p-8be1db71.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-568981a4.entry.js.map → p-8f17011e.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-8f76f465.entry.js.map → p-9158370e.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-625f8711.entry.js.map → p-91af0020.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-a8171280.entry.js.map → p-91f48c83.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-ef2af4d0.entry.js.map → p-9208c5b6.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-fdc1490c.entry.js.map → p-93ebe721.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-b7428699.entry.js.map → p-95584f29.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-d7d9cd05.entry.js.map → p-956ff539.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-8b35cda8.entry.js.map → p-95ad4af1.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-31778486.entry.js.map → p-96f659db.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-2c1e5e8b.entry.js.map → p-9955698a.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-dead446b.entry.js.map → p-99595c12.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-26db7280.entry.js.map → p-9d6953d5.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-12821225.entry.js.map → p-a31ca927.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-d9417daf.entry.js.map → p-a4b35112.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-e07c9fb1.entry.js.map → p-a8b5608a.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-8fcee79e.entry.js.map → p-a95c64a7.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-fea524e1.entry.js.map → p-ad52df57.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-780cc1a5.entry.js.map → p-ae6e78db.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-0cb8ded0.entry.js.map → p-b461c176.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-0ecdbcb2.entry.js.map → p-b610b39b.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-db0494ee.entry.js.map → p-b61aebe8.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-a104e707.entry.js.map → p-b790f7b6.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-a0b6d562.entry.js.map → p-b8cd3671.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-519286e2.entry.js.map → p-b9566711.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-e21c9013.entry.js.map → p-bb2a381b.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-25be19b2.entry.js.map → p-bd557dcd.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-ca28db90.entry.js.map → p-bf3e2d3f.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-4ecbba07.entry.js.map → p-c241d2c3.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-3c23588a.entry.js.map → p-c7e8c4db.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-a278877a.entry.js.map → p-cc32de4e.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-d3793844.entry.js.map → p-ce8ba480.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-3f8bf92a.entry.js.map → p-d0c7bade.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-bef76a75.entry.js.map → p-d19ed8c6.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-32d53bf2.entry.js.map → p-d2526927.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-e976ab4c.entry.js.map → p-d62257f1.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-b99109a6.entry.js.map → p-d6a51616.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-a421e8a0.entry.js.map → p-d6a6bd75.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-fd9a5ab6.entry.js.map → p-d908aa31.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-ead4866b.entry.js.map → p-daf836e7.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-bf8ea30f.entry.js.map → p-dd479871.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-bd6065e7.entry.js.map → p-dfc3738f.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-f5562b5d.entry.js.map → p-e1a70b7d.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-c86d6269.entry.js.map → p-e1bd2fed.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-014c4efb.entry.js.map → p-e2ab5d20.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-307aca14.entry.js.map → p-e64c3670.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-ed58d60f.entry.js.map → p-e8afbd35.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-d4bb18c3.entry.js.map → p-eb9673cd.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-fe4dd322.entry.js.map → p-eccfd5f3.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-b988ea63.entry.js.map → p-ee9bc33a.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-9e3a8711.entry.js.map → p-f01e4138.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-fbc8e5fb.entry.js.map → p-f1082eab.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-9ff014f1.entry.js.map → p-f5883160.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-c41dee66.entry.js.map → p-f5b04431.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-a94ba33f.entry.js.map → p-fa3861c1.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-5a82f73f.entry.js.map → p-fb44182f.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-3aade6ab.entry.js.map → p-fb46c6ad.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-7d08eaa9.entry.js.map → p-fc9b4692.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-f9a6e354.entry.js.map → p-fcb9d8b5.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-50e739d8.entry.js.map → p-fe4f22aa.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-1244a4ad.entry.js.map → p-ff3b11e4.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-hyzEZfgL.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-yUwaJCDo.js';
2
2
 
3
3
  const stzhMenuCss = () => `.sc-stzh-menu-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-menu-h,[stzh-hidden].sc-stzh-menu-h{display:none}.sc-stzh-menu-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-menu-h *.sc-stzh-menu,.sc-stzh-menu-h *.sc-stzh-menu::before,.sc-stzh-menu-h *.sc-stzh-menu::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-menu-h .has-focus.sc-stzh-menu{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-menu-h .stzh-fylingfocus-focused.sc-stzh-menu{outline-style:none !important}.sc-stzh-menu-h .stzh-fylingfocus-focused.sc-stzh-menu::-moz-focus-inner{border:0 !important}.sc-stzh-menu-h.sc-stzh-menu-s>stzh-hr,.sc-stzh-menu-h .sc-stzh-menu-s>stzh-hr{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-menu.sc-stzh-menu{display:flex;flex-direction:column}`;
4
4
 
@@ -29,6 +29,6 @@ function defineCustomElement() {
29
29
  }
30
30
 
31
31
  export { StzhMenu as S, defineCustomElement as d };
32
- //# sourceMappingURL=p-m6rlXYCx.js.map
32
+ //# sourceMappingURL=p-C4m3G6fH.js.map
33
33
 
34
- //# sourceMappingURL=p-m6rlXYCx.js.map
34
+ //# sourceMappingURL=p-C4m3G6fH.js.map
@@ -1 +1 @@
1
- {"file":"p-m6rlXYCx.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,qxCAAqxC,CAAC;;MCUpyC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;;;;;;;IACnB,MAAM,GAAA;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,MAAM,EAAA,EACf,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-menu/stzh-menu.scss?tag=stzh-menu&encapsulation=scoped","src/components/stzh-menu/stzh-menu.tsx"],"sourcesContent":[":host {\n ::slotted(stzh-hr) {\n margin-top: space(\"xsmall\");\n margin-bottom: space(\"xsmall\");\n }\n}\n\n.stzh-menu {\n display: flex;\n flex-direction: column;\n}\n","import { Component, Host, h } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-menu-item` elements\n */\n@Component({\n tag: \"stzh-menu\",\n styleUrl: \"stzh-menu.scss\",\n scoped: true,\n})\nexport class StzhMenu {\n render() {\n return (\n <Host role=\"menu\">\n <div class=\"stzh-menu\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-C4m3G6fH.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,qxCAAqxC,CAAC;;MCUpyC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;;;;;;;IACnB,MAAM,GAAA;AACJ,QAAA,QACE,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,MAAM,EAAA,EACf,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-menu/stzh-menu.scss?tag=stzh-menu&encapsulation=scoped","src/components/stzh-menu/stzh-menu.tsx"],"sourcesContent":[":host {\n ::slotted(stzh-hr) {\n margin-top: space(\"xsmall\");\n margin-bottom: space(\"xsmall\");\n }\n}\n\n.stzh-menu {\n display: flex;\n flex-direction: column;\n}\n","import { Component, Host, h } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-menu-item` elements\n */\n@Component({\n tag: \"stzh-menu\",\n styleUrl: \"stzh-menu.scss\",\n scoped: true,\n})\nexport class StzhMenu {\n render() {\n return (\n <Host role=\"menu\">\n <div class=\"stzh-menu\">\n <slot></slot>\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-hyzEZfgL.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-yUwaJCDo.js';
2
2
  import { s as setPropsIfNull } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$3 } from './p-s4RWk35S.js';
4
- import { d as defineCustomElement$2 } from './p-LRN3e03F.js';
5
- import { d as defineCustomElement$1 } from './p-mWRI28It.js';
3
+ import { d as defineCustomElement$3 } from './p-BUeBsyt_.js';
4
+ import { d as defineCustomElement$2 } from './p-CNDhpOyA.js';
5
+ import { d as defineCustomElement$1 } from './p-Dg5tBjNp.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-Bl9tD7uq.js.map
124
+ //# sourceMappingURL=p-C5020IEc.js.map
125
125
 
126
- //# sourceMappingURL=p-Bl9tD7uq.js.map
126
+ //# sourceMappingURL=p-C5020IEc.js.map
@@ -1 +1 @@
1
- {"file":"p-Bl9tD7uq.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,KAAK;AACb,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,YAAY,EAAE,OAAO;AACG,iBAAA,CAAC;;AAE/B,SAAC;AA6DF;AA/FC,IAAA,MAAM,IAAI,GAAA;AACR,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI;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O,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-C5020IEc.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,Q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AAA,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,11 +1,11 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-hyzEZfgL.js';
2
- import { d as defineCustomElement$7 } from './p-s4RWk35S.js';
3
- import { d as defineCustomElement$6 } from './p-LRN3e03F.js';
4
- import { d as defineCustomElement$5 } from './p-B_fJQ6tu.js';
5
- import { d as defineCustomElement$4 } from './p-mWRI28It.js';
6
- import { d as defineCustomElement$3 } from './p-Bi42veQe.js';
7
- import { d as defineCustomElement$2 } from './p-D36sFB-f.js';
8
- import { d as defineCustomElement$1 } from './p-DLlZq7iU.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-yUwaJCDo.js';
2
+ import { d as defineCustomElement$7 } from './p-BUeBsyt_.js';
3
+ import { d as defineCustomElement$6 } from './p-CNDhpOyA.js';
4
+ import { d as defineCustomElement$5 } from './p-Dh-C4hNe.js';
5
+ import { d as defineCustomElement$4 } from './p-Dg5tBjNp.js';
6
+ import { d as defineCustomElement$3 } from './p-THlC3deC.js';
7
+ import { d as defineCustomElement$2 } from './p-BWo_qrmp.js';
8
+ import { d as defineCustomElement$1 } from './p-CgxbnTIg.js';
9
9
 
10
10
  const stzhPaginationCss = () => `.sc-stzh-pagination-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-pagination-h,[stzh-hidden].sc-stzh-pagination-h{display:none}.sc-stzh-pagination-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pagination-h *.sc-stzh-pagination,.sc-stzh-pagination-h *.sc-stzh-pagination::before,.sc-stzh-pagination-h *.sc-stzh-pagination::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-pagination-h .has-focus.sc-stzh-pagination{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-pagination-h .stzh-fylingfocus-focused.sc-stzh-pagination{outline-style:none !important}.sc-stzh-pagination-h .stzh-fylingfocus-focused.sc-stzh-pagination::-moz-focus-inner{border:0 !important}.sc-stzh-pagination-h{--justify-content:inherit;--padding-left:calc(var(--stzh-form-input-height) + var(--stzh-space-medium))}.stzh-pagination.sc-stzh-pagination{position:relative;display:flex;align-items:center;gap:var(--stzh-space-medium);padding-left:var(--padding-left);justify-content:var(--justify-content)}.stzh-pagination__input.sc-stzh-pagination{--text-align:center;--input-width:var(--stzh-form-input-height);--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;position:absolute;top:0;left:0}.stzh-pagination__total.sc-stzh-pagination{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);color:var(--stzh-color-grey70)}.stzh-pagination--size-small.sc-stzh-pagination{padding-left:calc(var(--stzh-form-input-small-height) + var(--stzh-space-medium))}.stzh-pagination--size-small.sc-stzh-pagination .stzh-pagination__input.sc-stzh-pagination{--input-width:var(--stzh-form-input-small-height)}`;
11
11
 
@@ -161,6 +161,6 @@ function defineCustomElement() {
161
161
  }
162
162
 
163
163
  export { StzhPagination as S, defineCustomElement as d };
164
- //# sourceMappingURL=p-CBm5dUcI.js.map
164
+ //# sourceMappingURL=p-C66S5mxi.js.map
165
165
 
166
- //# sourceMappingURL=p-CBm5dUcI.js.map
166
+ //# sourceMappingURL=p-C66S5mxi.js.map
@@ -1 +1 @@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,IAAI,CAAC,KAAK,CAAA,CAAE,EAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EAAA,CACb,CACE,CACf,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-pagination/stzh-pagination.scss?tag=stzh-pagination&encapsulation=scoped","src/components/stzh-pagination/stzh-pagination.tsx"],"sourcesContent":[":host {\n --justify-content: inherit;\n --padding-left: calc(#{$formInputHeight} + #{space(\"medium\")});\n}\n\n.stzh-pagination {\n position: relative;\n display: flex;\n align-items: center;\n gap: space(\"medium\");\n padding-left: var(--padding-left);\n justify-content: var(--justify-content);\n\n &__input {\n --text-align: center;\n --input-width: #{$formInputHeight};\n --padding-top: 0px;\n --padding-bottom: 0px;\n --padding-left: 0px;\n --padding-right: 0px;\n\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &__total {\n @include fontSize(\"nano\");\n color: $colorGrey70;\n }\n\n &--size-small {\n padding-left: calc(#{$formInputHeightSmall} + #{space(\"medium\")});\n }\n\n &--size-small &__input {\n --input-width: #{$formInputHeightSmall};\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhInputChangeEvent, StzhPaginationChangeEvent } from \"../../index\";\n\nimport { StzhPaginationLocalizedText } from \"./stzh-pagination.localization\";\n\n/**\n */\n@Component({\n tag: \"stzh-pagination\",\n styleUrl: \"stzh-pagination.scss\",\n scoped: true,\n})\nexport class StzhPagination {\n /** Total pages available. */\n @Prop() total: number = 1;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Current page. */\n @Prop({ mutable: true }) value: number = 1;\n\n /** Label for dropdown */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the current page is mutable via input */\n @Prop({ reflect: true }) allowManualInput: boolean = true;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Translation strings. */\n @Prop() localization: StzhPaginationLocalizedText;\n\n /** Pagination change event */\n @Event() stzhChange: EventEmitter<StzhPaginationChangeEvent>;\n\n @Element() element: HTMLStzhPaginationElement;\n\n /** Set current page to previous */\n @Method()\n async prev() {\n this.gotoPage(this.value - 1);\n }\n\n /** Set current page to next */\n @Method()\n async next() {\n this.gotoPage(this.value + 1);\n }\n\n private input: HTMLStzhInputElement;\n\n private gotoPage = (newPage: number) => {\n const previous = this.value;\n\n if (newPage >= 1 && newPage <= this.total) {\n this.value = newPage;\n } else if (newPage > this.total) {\n this.value = this.total;\n } else {\n this.value = 1;\n }\n\n if (previous !== this.value) {\n this.stzhChange.emit({\n component: \"stzh-pagination\",\n page: Number(this.value),\n });\n }\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n const newPage = Number(event.detail.value) || 1;\n this.gotoPage(newPage);\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"pagination\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-pagination\": true,\n [`stzh-pagination--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.allowManualInput ? (\n <Fragment>\n <stzh-input\n class=\"stzh-pagination__input\"\n type=\"number\"\n min={1}\n max={this.total}\n label={this.label || this.localization.label}\n labelHidden={true}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n onStzhChange={this.onInputChange}\n value={this.value?.toString() || \"\"}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n invalid={this.invalid}\n hideOptional={true}\n noAutocomplete={true}\n ></stzh-input>\n <div class=\"stzh-pagination__total\">\n {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n </Fragment>\n ) : (\n <div class=\"stzh-pagination__total\">\n {this.value} {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n )}\n <stzh-buttongroup>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-left\"\n icon-only\n size={this.size}\n a11yDisabled={this.value <= 1}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.prevLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.prev()}\n ></stzh-button>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-right\"\n icon-only\n size={this.size}\n a11yDisabled={this.value >= this.total}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.nextLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.next()}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-C66S5mxi.js","mappings":";;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,M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EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EAAA,CACb,CACE,CACf,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-pagination/stzh-pagination.scss?tag=stzh-pagination&encapsulation=scoped","src/components/stzh-pagination/stzh-pagination.tsx"],"sourcesContent":[":host {\n --justify-content: inherit;\n --padding-left: calc(#{$formInputHeight} + #{space(\"medium\")});\n}\n\n.stzh-pagination {\n position: relative;\n display: flex;\n align-items: center;\n gap: space(\"medium\");\n padding-left: var(--padding-left);\n justify-content: var(--justify-content);\n\n &__input {\n --text-align: center;\n --input-width: #{$formInputHeight};\n --padding-top: 0px;\n --padding-bottom: 0px;\n --padding-left: 0px;\n --padding-right: 0px;\n\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &__total {\n @include fontSize(\"nano\");\n color: $colorGrey70;\n }\n\n &--size-small {\n padding-left: calc(#{$formInputHeightSmall} + #{space(\"medium\")});\n }\n\n &--size-small &__input {\n --input-width: #{$formInputHeightSmall};\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhInputChangeEvent, StzhPaginationChangeEvent } from \"../../index\";\n\nimport { StzhPaginationLocalizedText } from \"./stzh-pagination.localization\";\n\n/**\n */\n@Component({\n tag: \"stzh-pagination\",\n styleUrl: \"stzh-pagination.scss\",\n scoped: true,\n})\nexport class StzhPagination {\n /** Total pages available. */\n @Prop() total: number = 1;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Current page. */\n @Prop({ mutable: true }) value: number = 1;\n\n /** Label for dropdown */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the current page is mutable via input */\n @Prop({ reflect: true }) allowManualInput: boolean = true;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Translation strings. */\n @Prop() localization: StzhPaginationLocalizedText;\n\n /** Pagination change event */\n @Event() stzhChange: EventEmitter<StzhPaginationChangeEvent>;\n\n @Element() element: HTMLStzhPaginationElement;\n\n /** Set current page to previous */\n @Method()\n async prev() {\n this.gotoPage(this.value - 1);\n }\n\n /** Set current page to next */\n @Method()\n async next() {\n this.gotoPage(this.value + 1);\n }\n\n private input: HTMLStzhInputElement;\n\n private gotoPage = (newPage: number) => {\n const previous = this.value;\n\n if (newPage >= 1 && newPage <= this.total) {\n this.value = newPage;\n } else if (newPage > this.total) {\n this.value = this.total;\n } else {\n this.value = 1;\n }\n\n if (previous !== this.value) {\n this.stzhChange.emit({\n component: \"stzh-pagination\",\n page: Number(this.value),\n });\n }\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n const newPage = Number(event.detail.value) || 1;\n this.gotoPage(newPage);\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"pagination\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-pagination\": true,\n [`stzh-pagination--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.allowManualInput ? (\n <Fragment>\n <stzh-input\n class=\"stzh-pagination__input\"\n type=\"number\"\n min={1}\n max={this.total}\n label={this.label || this.localization.label}\n labelHidden={true}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n onStzhChange={this.onInputChange}\n value={this.value?.toString() || \"\"}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n invalid={this.invalid}\n hideOptional={true}\n noAutocomplete={true}\n ></stzh-input>\n <div class=\"stzh-pagination__total\">\n {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n </Fragment>\n ) : (\n <div class=\"stzh-pagination__total\">\n {this.value} {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n )}\n <stzh-buttongroup>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-left\"\n icon-only\n size={this.size}\n a11yDisabled={this.value <= 1}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.prevLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.prev()}\n ></stzh-button>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-right\"\n icon-only\n size={this.size}\n a11yDisabled={this.value >= this.total}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.nextLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.next()}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-hyzEZfgL.js';
2
- import { d as defineCustomElement$3 } from './p-s4RWk35S.js';
3
- import { d as defineCustomElement$2 } from './p-mWRI28It.js';
4
- import { d as defineCustomElement$1 } from './p-GLNS1q2a.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-yUwaJCDo.js';
2
+ import { d as defineCustomElement$3 } from './p-BUeBsyt_.js';
3
+ import { d as defineCustomElement$2 } from './p-Dg5tBjNp.js';
4
+ import { d as defineCustomElement$1 } from './p-iLKNish_.js';
5
5
 
6
6
  const stzhAppNavCss = () => `: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}.stzh-app-nav{background-color:var(--stzh-color-coolgrey10)}@media screen and (max-width: 899px){.stzh-app-nav{height:var(--stzh-app-nav-height)}}.stzh-app-nav__links{display:flex;flex-direction:row;justify-content:space-between;padding:var(--stzh-space-medium) var(--stzh-space-large) var(--stzh-space-xlarge)}@media screen and (min-width: 900px){.stzh-app-nav__links{padding:0;align-items:center}}.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{--text-decoration-line:none;--hover-text-decoration-line:none;color:var(--stzh-color-coolgrey90)}@media screen and (min-width: 900px){.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{margin-right:var(--stzh-space-xlarge)}}.stzh-app-nav__link:last-child,.stzh-app-nav .stzh-app-nav__link a:last-child{margin-right:0}.stzh-app-nav__link:hover,.stzh-app-nav .stzh-app-nav__link a:hover{color:var(--stzh-color-primary60)}.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{text-decoration:none;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}}.stzh-app-nav .stzh-link__inner{flex-direction:column}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__inner{flex-direction:row}}.stzh-app-nav .stzh-link__text{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__text{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);font-weight:var(--stzh-font-weight-medium)}}.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-top:var(--stzh-space-xxsmall);margin-left:0}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xsmall);margin-top:0}}`;
7
7
 
@@ -31,7 +31,7 @@ const StzhAppNav = /*@__PURE__*/ proxyCustomElement(class StzhAppNav extends H {
31
31
  const classes = {
32
32
  "stzh-app-nav": true,
33
33
  };
34
- return (h(Host, { key: '845e79f25671bd8a0bffba2df814e623c4eaa7d5' }, h("nav", { key: '5ee52f436145ab832d3d424f56c8048289f7ad0f', role: "navigation", class: classes, "aria-label": this.localization.title, id: this.appNavId || null, tabindex: "-1" }, h("div", { key: '3856f5981225de0a1ed5426855280635b8e96861', class: "stzh-app-nav__links", role: "list" }, this.items.map(item => (h("stzh-link", { class: "stzh-app-nav__link", active: item.active, role: "listitem", "a11y-current": item.a11yCurrent, href: item.href, badge: item.badge, badgeType: item.badgeType, icon: item.icon, "link-id": item.id, onClick: (e) => {
34
+ return (h(Host, { key: '845e79f25671bd8a0bffba2df814e623c4eaa7d5' }, h("nav", { key: 'f6119b20cabd06448cfe4dfe828570a7c6adf1bb', role: "navigation", class: classes, "aria-label": this.localization.title, id: this.appNavId || null, tabindex: "-1" }, h("div", { key: '9fe8ca6272d5748e381e28b554cfc9d77a9f84d1', class: "stzh-app-nav__links", role: "list" }, this.items.map(item => (h("stzh-link", { class: "stzh-app-nav__link", active: item.active, role: "listitem", "a11y-current": item.a11yCurrent, href: item.href, badge: item.badge, badgeType: item.badgeType, icon: item.icon, "link-id": item.id, onClick: (e) => {
35
35
  this.handleAppNavItemClick(e, item);
36
36
  } }, item.text)))))));
37
37
  }
@@ -72,6 +72,6 @@ function defineCustomElement() {
72
72
  }
73
73
 
74
74
  export { StzhAppNav as S, defineCustomElement as d };
75
- //# sourceMappingURL=p-B-TtPvY1.js.map
75
+ //# sourceMappingURL=p-CG4MbVew.js.map
76
76
 
77
- //# sourceMappingURL=p-B-TtPvY1.js.map
77
+ //# sourceMappingURL=p-CG4MbVew.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-CG4MbVew.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,q4GAAq4G,CAAC;;MCUt5G,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AAJvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AASU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I,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,IAAI,EAAE,IAAI,CAAC,IAAI,EACN,SAAA,EAAA,IAAI,CAAC,EAAE,EAChB,OAAO,EAAE,CAAC,CAAa,KAAI;AACzB,gBAAA,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC;AACrC,aAAC,EAAA,EAEA,IAAI,CAAC,IAAI,CACA,CACb,CAAC,CACE,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-app-nav/stzh-app-nav.scss?tag=stzh-app-nav","src/components/stzh-app-nav/stzh-app-nav.tsx"],"sourcesContent":[".stzh-app-nav {\n background-color: var(--stzh-color-coolgrey10);\n\n @include mq($to: medium) {\n height: var(--stzh-app-nav-height);\n }\n\n &__links {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: space(\"medium\") space(\"large\") space(\"xlarge\");\n\n @include mq($from: medium) {\n padding: 0;\n align-items: center;\n }\n }\n\n &__link,\n .stzh-app-nav__link a {\n --text-decoration-line: none;\n --hover-text-decoration-line: none;\n color: var(--stzh-color-coolgrey90);\n\n @include mq($from: medium) {\n margin-right: space(\"xlarge\");\n }\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n color: var(--stzh-color-primary60);\n }\n }\n\n .stzh-app-nav__link a.stzh-link--is-active,\n .stzh-app-nav__link.stzh-link--is-active {\n text-decoration: none;\n color: var(--stzh-color-primary70);\n\n @include mq($from: medium) {\n @include font(\"heavy\");\n }\n }\n\n .stzh-link__inner {\n flex-direction: column;\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n .stzh-link__text {\n @include font(\"medium\");\n @include fontSize(\"pico\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n font-weight: var(--stzh-font-weight-medium);\n }\n }\n\n .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)\n + .stzh-link__text.sc-stzh-link:not(:empty),\n .stzh-link__text.sc-stzh-link:not(:empty)\n + .stzh-link__icon-wrapper.sc-stzh-link:not(:empty) {\n margin-top: space(\"xxsmall\");\n margin-left: 0;\n\n @include mq($from: medium) {\n margin-left: space(\"xsmall\");\n margin-top: 0;\n }\n }\n}\n","import { Component, Prop, h, Host, Element, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhAppNavLocalizedText } from \"./stzh-app-nav.localization\";\n\nimport { StzhAppNavItem, StzhAppNavItemClickEvent } from \"../../index\";\n\n@Component({\n tag: \"stzh-app-nav\",\n styleUrl: \"stzh-app-nav.scss\",\n})\nexport class StzhAppNav {\n /** Translation strings */\n @Prop() localization: StzhAppNavLocalizedText;\n\n /** AppNav menu items */\n @Prop() items: StzhAppNavItem[] = [];\n\n /** AppNav element ID */\n @Prop() appNavId: string;\n\n @Element() element: HTMLStzhAppNavElement;\n\n /** AppNav item click event */\n @Event() stzhAppNavItemClick: EventEmitter<StzhAppNavItemClickEvent>;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"appnav\");\n }\n }\n\n private handleAppNavItemClick = (event: MouseEvent, item: StzhAppNavItem) => {\n this.stzhAppNavItemClick.emit({\n component: \"stzh-app-nav\",\n item,\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-app-nav\": true,\n };\n\n return (\n <Host>\n <nav\n role=\"navigation\"\n class={classes}\n aria-label={this.localization.title}\n id={this.appNavId || null}\n tabindex=\"-1\"\n >\n <div class=\"stzh-app-nav__links\" role=\"list\">\n {this.items.map(item => (\n <stzh-link\n class=\"stzh-app-nav__link\"\n active={item.active}\n role=\"listitem\"\n a11y-current={item.a11yCurrent}\n href={item.href}\n badge={item.badge}\n badgeType={item.badgeType}\n icon={item.icon}\n link-id={item.id}\n onClick={(e: MouseEvent) => {\n this.handleAppNavItemClick(e, item);\n }}\n >\n {item.text}\n </stzh-link>\n ))}\n </div>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-hyzEZfgL.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-yUwaJCDo.js';
2
2
  import { b as isVisible, o as offset } from './p-CN5apKPb.js';
3
3
  import { g as getDefaultExportFromCjs } from './p-E-ZsRS8r.js';
4
4
  import { r as requireDebounce, a as requireIsObject } from './p-CIOHhwVv.js';
@@ -429,6 +429,6 @@ function defineCustomElement() {
429
429
  }
430
430
 
431
431
  export { StzhSticky as S, defineCustomElement as d, throttle as t };
432
- //# sourceMappingURL=p-BnEnros_.js.map
432
+ //# sourceMappingURL=p-CMd621Jb.js.map
433
433
 
434
- //# sourceMappingURL=p-BnEnros_.js.map
434
+ //# sourceMappingURL=p-CMd621Jb.js.map
@@ -1 +1 @@
1
- {"file":"p-BnEnros_.js","mappings":";;;;;;;;;;;CAAA,IAAI,QAAQ,GAAGA,eAAqB,EAAA;KAChC,QAAQ,GAAGC,eAAqB,EAAA;;AAEpC;CACA,IAAI,eAAe,GAAG,qBAAqB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,SAAS,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;GACrC,IAAI,OAAO,GAAG,IAAI;OACd,QAAQ,GAAG,IAAI;;AAErB,GAAE,IAAI,OAAO,IAAI,IAAI,UAAU,EAAE;AACjC,KAAI,MAAM,IAAI,SAAS,CAAC,eAAe,CAAC;AACxC;AACA,GAAE,IAAI,QAAQ,CAAC,OAAO,CAAC,EAAE;AACzB,KAAI,OAAO,GAA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AC,mBAAmB;YAClE,0BAA0B,EAAE,IAAI,CAAC,QAAQ;YACzC,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,QAAQ,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ;YAC3D,CAAC,CAAA,aAAA,EAAgB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SACjD;AAED,QAAA,QACE,CAAC,CAAA,IAAI,iEACO,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,aAAa,kBACjC,IAAI,CAAC,UAAU,EACZ,iBAAA,EAAA,IAAI,CAAC,aAAa,EAAA,EAEnC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC,EAAE,KAAK,EAAC,qBAAqB,EAAO,CAAA,EAC/F,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC,EAAE,KAAK,EAAC,qBAAqB,EAAA,EACtF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,4BAA4B,EAAA,EACrC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["require$$0","require$$1","__stencil_proxyCustomElement","HTMLElement"],"sources":["node_modules/lodash/throttle.js","src/components/stzh-sticky/stzh-sticky.scss?tag=stzh-sticky&encapsulation=shadow","src/components/stzh-sticky/stzh-sticky.tsx"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","/**\n * @prop --padding-top: Padding top of sticky element\n * @prop --padding-bottom: Padding bottom of sticky element\n * @prop --padding-left: Padding left of sticky element\n * @prop --padding-right: Padding right of sticky element\n * @prop --background-color: Background color of sticky element\n * @prop --stuck-padding-top: Padding top of stuck sticky element\n * @prop --stuck-padding-bottom: Padding bottom of stuck sticky element\n * @prop --stuck-padding-left: Padding left of stuck sticky element\n * @prop --stuck-padding-right: Padding right of stuck sticky element\n * @prop --stuck-background-color: Background color of stuck sticky element\n *\n * @prop --stzh-sticky-{NAME}-is-stuck: **Global**: Whether sticky is currently stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck: **Global**: Whether sticky is currently not stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-top: **Global**: Whether sticky is currently stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-top: **Global**: Whether sticky is currently not stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-bottom: **Global**: Whether sticky is currently stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-bottom: **Global**: Whether sticky is currently not stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-top-height: **Global**: Stuck top sticky element height (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-bottom-height: **Global**: Stuck bottom sticky element height (readonly variable on `<html>`)\n */\n\n:host {\n --padding-top: #{space(\"large\")};\n --padding-bottom: #{space(\"large\")};\n --padding-left: 0;\n --padding-right: 0;\n --background-color: transparent;\n\n --stuck-padding-top: var(--padding-top);\n --stuck-padding-bottom: var(--padding-bottom);\n --stuck-padding-left: var(--padding-left);\n --stuck-padding-right: var(--padding-right);\n --stuck-background-color: #{$colorGrey10};\n\n display: contents;\n\n @media print {\n display: none;\n }\n}\n\n:host([variant=\"transparent\"]) {\n --background-color: transparent;\n --stuck-background-color: transparent;\n\n pointer-events: none;\n}\n\n:host([position=\"fixed\"]) {\n display: block;\n}\n\n.stzh-sticky {\n display: contents;\n\n &__sticky {\n position: sticky;\n top: -1px;\n bottom: -1px;\n z-index: $zIndexSticky;\n width: var(--stzh-sticky-unstuck-width, auto);\n transition-property: width, transform, opacity;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content,\n &__content::before {\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content {\n --stzh-button-pointer-events: all;\n --stzh-link-pointer-events: all;\n\n position: relative;\n transition-property: background-color, transform;\n\n // &::before,\n // &::after {\n // content: '';\n // pointer-events: none;\n // display: block;\n // position: absolute;\n // left: 0;\n // width: 100%;\n // height: space('xxlarge');\n // opacity: 0;\n // transition: opacity $baseTransitionAnimationSpeed;\n // }\n\n // &::before {\n // background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);\n // top: 0;\n // transform: translateY(-100%);\n // }\n\n // &::after {\n // background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);\n // bottom: 0;\n // transform: translateY(100%);\n // }\n }\n\n &__content-inner {\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 transition-property: padding;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__spacer {\n display: none;\n }\n\n /* Disabled variants */\n\n &--is-disabled-sticky-top &__sticky {\n top: auto;\n }\n\n &--is-disabled-sticky-bottom &__sticky {\n bottom: auto;\n }\n\n /* Bleeding variant */\n\n &--is-bleeding &__content {\n &::before {\n z-index: -1;\n content: \"\";\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n transform: translateY(0);\n transition-property: width, background-color, transform;\n }\n }\n\n /* Is stuck variant */\n\n &--is-stuck &__content,\n &--is-stuck &__content::before {\n background-color: var(--stuck-background-color);\n }\n\n &--is-stuck &__content::before {\n width: calc(100vw - var(--stzh-scrollbar-width));\n transform: translateX(calc(var(--stzh-sticky-offset-left) / -1));\n }\n\n &--is-stuck &__content-inner {\n padding-top: var(--stuck-padding-top);\n padding-bottom: var(--stuck-padding-bottom);\n padding-left: var(--stuck-padding-left);\n padding-right: var(--stuck-padding-right);\n }\n\n // &--is-stuck-bottom &__content {\n // &::before {\n // opacity: 1;\n // }\n // }\n\n // &--is-stuck-top &__content {\n // &::after {\n // opacity: 1;\n // }\n // }\n\n /* Transparent variant */\n\n // &--transparent &__content {\n // &::after,\n // &::before {\n // display: none;\n // }\n // }\n\n // /* Position sticky variant */\n\n // &--is-breakout &__content {\n // position: relative;\n // left: 50%;\n // right: 50%;\n // margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // width: calc(100vw - var(--stzh-scrollbar-width));\n // max-width: calc(100vw - var(--stzh-scrollbar-width));\n // }\n\n &--is-not-loaded {\n visibility: hidden;\n }\n\n &--is-not-loaded#{&}--is-stuck &__sticky {\n transform: translateY(100%);\n opacity: 0;\n }\n\n &--is-not-loaded &__sticky,\n &--is-not-loaded &__content,\n &--is-not-loaded &__content::before,\n &--is-not-loaded &__content-inner {\n transition-duration: 0ms;\n }\n}\n","import { Component, Host, h, Element, Prop, State, Watch, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhStickyStuckTopEvent, StzhStickyStuckBottomEvent } from \"../../index\";\n\nimport { isVisible, offset } from \"../../utils/utils\";\nimport throttle from \"lodash/throttle\";\n\nconst ATTR_STICKY_CONTAINER = \"data-stzh-sticky-container\";\nconst ATTR_STICKY_WIDTH_CONTAINER = \"data-stzh-sticky-width-container\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-sticky\",\n styleUrl: \"stzh-sticky.scss\",\n shadow: true,\n})\nexport class StzhSticky {\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"transparent\" = \"default\";\n\n /** Whether to disable sticking to top */\n @Prop({ reflect: true }) disableStickyTop: boolean = true;\n\n /** Whether to disable sticking to bottom */\n @Prop({ reflect: true }) disableStickyBottom: boolean = false;\n\n /** Whether background breaks out container to full viewport width */\n @Prop({ reflect: true }) bleeding: boolean = false;\n\n /** Name of sticky element (used for setting css properties) */\n @Prop() name: string;\n\n /**\n * Position type used.\n *\n * - sticky: used only css position sticky\n * - fixed: uses position fixed with js for positioning (`data-stzh-sticky-container` can be used on a container element to limit sticky position)\n */\n @Prop({ reflect: true }) position: \"sticky\" | \"fixed\" = \"sticky\";\n\n @Watch(\"disableStickyTop\")\n @Watch(\"disableStickyBottom\")\n disableStickyWatcher() {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n } else {\n this.updateStuck();\n }\n });\n });\n }\n\n @Watch(\"isStuckTop\")\n @Watch(\"isStuckBottom\")\n @Watch(\"hasReachedTopLimit\")\n @Watch(\"hasReachedBottomLimit\")\n stuckHeightWatcher() {\n let isStuck = false;\n\n if (this.isStuckTop && !this.hasReachedBottomLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"1\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"0\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n \"0px\",\n );\n }\n\n if (this.isStuckBottom && !this.hasReachedTopLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"1\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n \"0px\",\n );\n }\n\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-stuck`,\n isStuck ? \"1\" : \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck`,\n isStuck ? \"0\" : \"1\",\n );\n\n if (isStuck) {\n this.stickyResizeObserver.observe(this.stickyElement);\n } else {\n this.stickyResizeObserver.unobserve(this.stickyElement);\n }\n }\n\n @Watch(\"isStuckTop\")\n isStuckTopWatcher(newValue: boolean) {\n this.stzhStuckTop.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"isStuckBottom\")\n isStuckBottomWatcher(newValue: boolean) {\n this.stzhStuckBottom.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"position\")\n @Watch(\"bleeding\")\n positionWatcher() {\n if (this.position === \"fixed\") {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n window.addEventListener(\"resize\", this.handleResize);\n\n this.updateFixedByResize();\n } else {\n if (this.bleeding) {\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n this.updateByScroll();\n } else {\n window.removeEventListener(\"scroll\", this.handleScroll);\n }\n\n window.removeEventListener(\"resize\", this.handleResize);\n this.setUnfixed();\n\n this.observer = new IntersectionObserver(this.observe, { threshold: [1] });\n this.observer.observe(this.stickyElement);\n\n this.updateStuck();\n }\n }\n\n /** Sticky stuck top event */\n @Event() stzhStuckTop: EventEmitter<StzhStickyStuckTopEvent>;\n\n /** Sticky stuck bottom event */\n @Event() stzhStuckBottom: EventEmitter<StzhStickyStuckBottomEvent>;\n\n @Element() element: HTMLStzhStickyElement;\n\n @State() isStuckTop: boolean;\n @State() isStuckBottom: boolean;\n\n @State() hasReachedTopLimit: boolean;\n @State() hasReachedBottomLimit: boolean;\n\n @State() loaded: boolean = false;\n\n private observer: IntersectionObserver;\n private stickyResizeObserver: ResizeObserver;\n private debounceScroll: number;\n private debounceResize: number;\n private stickyElement: HTMLElement;\n private spacerElement: HTMLElement;\n\n private windowHeight: number;\n private scrollX: number;\n private scrollY: number;\n private fixedTop: number;\n private fixedLeft: number;\n private fixedHeight: number = 0;\n private fixedWidth: number = 0;\n private fixedLimit: { top: number; bottom: number } | null = null;\n\n private updateStuck() {\n const topCss = parseInt(getComputedStyle(this.stickyElement).top, 10);\n const bottomCss = parseInt(getComputedStyle(this.stickyElement).bottom, 10);\n const rect = this.stickyElement.getBoundingClientRect();\n\n if (topCss) {\n this.isStuckTop = rect.top < 0;\n } else {\n this.isStuckTop = false;\n }\n\n if (bottomCss) {\n this.isStuckBottom = document.documentElement.clientHeight < rect.bottom;\n } else {\n this.isStuckBottom = false;\n }\n }\n\n private getFixedLimit(): { top: number; bottom: number } | null {\n const stickyContainer = this.element.closest(`[${ATTR_STICKY_CONTAINER}]`);\n\n if (!stickyContainer) {\n return null;\n }\n\n const off = offset(stickyContainer);\n\n return {\n top: off.top,\n bottom: off.top + stickyContainer.scrollHeight,\n };\n }\n\n private setUnfixed() {\n Object.assign(this.stickyElement.style, {\n position: null,\n top: null,\n bottom: null,\n left: null,\n width: null,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"none\",\n });\n }\n\n private setFixed() {\n const position = this.hasReachedTopLimit || this.hasReachedBottomLimit ? \"absolute\" : \"fixed\";\n\n Object.assign(this.stickyElement.style, {\n position,\n top:\n position === \"absolute\"\n ? `${this.isStuckTop ? this.fixedLimit.bottom - this.fixedHeight : this.fixedLimit.top}px`\n : this.isStuckTop\n ? \"0px\"\n : \"auto\",\n bottom: this.isStuckTop || position === \"absolute\" ? \"auto\" : \"0px\",\n left: `${this.fixedLeft + (position === \"fixed\" ? this.scrollX : 0)}px`,\n width: `${this.fixedWidth}px`,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"block\",\n });\n }\n\n private handleScroll = () => {\n if (this.debounceScroll) {\n window.cancelAnimationFrame(this.debounceScroll);\n }\n\n this.debounceScroll = requestAnimationFrame(this.updateByScroll);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateFixedByResize);\n };\n\n private handleStickyResize = throttle(() => {\n this.stuckHeightWatcher();\n this.updateByScroll();\n }, 100);\n\n private updateByScroll = () => {\n if (!isVisible(this.stickyElement) || !this.element.isConnected) {\n return;\n }\n\n const stickyFixedWidthContainer =\n (this.element.closest(`[${ATTR_STICKY_WIDTH_CONTAINER}]`) as HTMLElement) || this.element.parentElement;\n\n const off = offset(\n (this.isStuckTop || this.isStuckBottom) && this.position === \"fixed\" ? this.spacerElement : this.stickyElement,\n );\n\n this.fixedTop = off.top;\n this.fixedLeft = off.left;\n\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-top\", `${this.fixedTop}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-left\", `${this.fixedLeft}px`);\n\n if (this.position === \"sticky\") {\n // for position sticky we only need the offsets variables to be updated in bleeding variant\n return;\n }\n\n this.fixedHeight = this.stickyElement.offsetHeight;\n this.spacerElement.style.height = `${this.fixedHeight}px`;\n\n this.scrollX = window.scrollX;\n this.scrollY = window.scrollY;\n this.fixedLimit = this.getFixedLimit();\n\n this.fixedWidth = stickyFixedWidthContainer.getBoundingClientRect().width;\n\n const unstuckWidth = this.element.getBoundingClientRect().width;\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-stuck-width', `${this.fixedWidth}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-unstuck-width\", `${unstuckWidth}px`);\n\n // console.log(unstuckWidth);\n\n // console.log(\n // this.scrollX,\n // this.scrollY,\n // this.windowHeight,\n // this.fixedTop,\n // this.fixedLeft,\n // this.fixedHeight,\n // this.fixedLimit,\n // );\n\n this.isStuckBottom =\n !this.disableStickyBottom && this.scrollY + this.windowHeight <= this.fixedTop + this.fixedHeight;\n this.isStuckTop = !this.disableStickyTop && this.scrollY >= this.fixedTop;\n\n this.hasReachedTopLimit =\n this.fixedLimit && this.scrollY + this.windowHeight - this.fixedHeight <= this.fixedLimit.top;\n this.hasReachedBottomLimit = this.fixedLimit && this.scrollY >= this.fixedLimit.bottom - this.fixedHeight;\n\n // console.log(\n // this.isStuckBottom,\n // this.isStuckTop,\n // this.hasReachedBottomLimit,\n // this.hasReachedTopLimit,\n // );\n\n if (this.isStuckTop || this.isStuckBottom) {\n this.setFixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${this.fixedWidth}px`);\n } else {\n this.setUnfixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${unstuckWidth}px`);\n }\n };\n\n private updateFixedByResize = () => {\n if (!this.stickyElement || !this.element.isConnected) {\n return;\n }\n\n // reset sticky so we can read current offsets\n this.setUnfixed();\n this.stickyElement.style.position = \"static\";\n this.stickyElement.style.width = \"auto\";\n this.isStuckTop = false;\n this.isStuckBottom = false;\n\n if (isVisible(this.stickyElement)) {\n this.windowHeight = window.innerHeight;\n this.updateByScroll();\n }\n };\n\n private observe = () => {\n this.updateStuck();\n };\n\n componentDidLoad() {\n this.stickyResizeObserver = new ResizeObserver(this.handleStickyResize);\n this.positionWatcher();\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n window.setTimeout(() => {\n this.loaded = true;\n\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n }\n }, 250);\n });\n });\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.stickyResizeObserver?.disconnect();\n\n window.removeEventListener(\"scroll\", this.handleScroll);\n window.removeEventListener(\"resize\", this.handleResize);\n }\n\n render() {\n const isStuck = this.isStuckTop || this.isStuckBottom;\n\n const classes = {\n \"stzh-sticky\": true,\n \"stzh-sticky--is-not-loaded\": !this.loaded,\n \"stzh-sticky--is-stuck\": isStuck,\n \"stzh-sticky--is-stuck-top\": this.isStuckTop,\n \"stzh-sticky--is-stuck-bottom\": this.isStuckBottom,\n \"stzh-sticky--is-disabled-sticky-top\": this.disableStickyTop,\n \"stzh-sticky--is-disabled-sticky-bottom\": this.disableStickyBottom,\n \"stzh-sticky--is-bleeding\": this.bleeding,\n [`stzh-sticky--position-${this.position}`]: !!this.position,\n [`stzh-sticky--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host\n is-stuck={this.isStuckTop || this.isStuckBottom}\n is-stuck-top={this.isStuckTop}\n is-stuck-bottom={this.isStuckBottom}\n >\n <div class={classes}>\n <div ref={el => (this.spacerElement = el as HTMLDivElement)} class=\"stzh-sticky__spacer\"></div>\n <div ref={el => (this.stickyElement = el as HTMLDivElement)} class=\"stzh-sticky__sticky\">\n <div class=\"stzh-sticky__content\">\n <div class=\"stzh-sticky__content-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CMd621Jb.js","mappings":";;;;;;;;;;;CAAA,IAAI,QAAQ,GAAGA,eAAqB,EAAA;KAChC,QAAQ,GAAGC,eAAqB,EAAA;;AAEpC;CACA,IAAI,eAAe,GAAG,qBAAqB;;AAE3C;AACA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,KAAK,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC,EAAE,KAAK,EAAC,qBAAqB,EAAA,EACtF,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,4BAA4B,EAAA,EACrC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["require$$0","require$$1","__stencil_proxyCustomElement","HTMLElement"],"sources":["node_modules/lodash/throttle.js","src/components/stzh-sticky/stzh-sticky.scss?tag=stzh-sticky&encapsulation=shadow","src/components/stzh-sticky/stzh-sticky.tsx"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","/**\n * @prop --padding-top: Padding top of sticky element\n * @prop --padding-bottom: Padding bottom of sticky element\n * @prop --padding-left: Padding left of sticky element\n * @prop --padding-right: Padding right of sticky element\n * @prop --background-color: Background color of sticky element\n * @prop --stuck-padding-top: Padding top of stuck sticky element\n * @prop --stuck-padding-bottom: Padding bottom of stuck sticky element\n * @prop --stuck-padding-left: Padding left of stuck sticky element\n * @prop --stuck-padding-right: Padding right of stuck sticky element\n * @prop --stuck-background-color: Background color of stuck sticky element\n *\n * @prop --stzh-sticky-{NAME}-is-stuck: **Global**: Whether sticky is currently stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck: **Global**: Whether sticky is currently not stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-top: **Global**: Whether sticky is currently stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-top: **Global**: Whether sticky is currently not stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-bottom: **Global**: Whether sticky is currently stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-bottom: **Global**: Whether sticky is currently not stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-top-height: **Global**: Stuck top sticky element height (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-bottom-height: **Global**: Stuck bottom sticky element height (readonly variable on `<html>`)\n */\n\n:host {\n --padding-top: #{space(\"large\")};\n --padding-bottom: #{space(\"large\")};\n --padding-left: 0;\n --padding-right: 0;\n --background-color: transparent;\n\n --stuck-padding-top: var(--padding-top);\n --stuck-padding-bottom: var(--padding-bottom);\n --stuck-padding-left: var(--padding-left);\n --stuck-padding-right: var(--padding-right);\n --stuck-background-color: #{$colorGrey10};\n\n display: contents;\n\n @media print {\n display: none;\n }\n}\n\n:host([variant=\"transparent\"]) {\n --background-color: transparent;\n --stuck-background-color: transparent;\n\n pointer-events: none;\n}\n\n:host([position=\"fixed\"]) {\n display: block;\n}\n\n.stzh-sticky {\n display: contents;\n\n &__sticky {\n position: sticky;\n top: -1px;\n bottom: -1px;\n z-index: $zIndexSticky;\n width: var(--stzh-sticky-unstuck-width, auto);\n transition-property: width, transform, opacity;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content,\n &__content::before {\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content {\n --stzh-button-pointer-events: all;\n --stzh-link-pointer-events: all;\n\n position: relative;\n transition-property: background-color, transform;\n\n // &::before,\n // &::after {\n // content: '';\n // pointer-events: none;\n // display: block;\n // position: absolute;\n // left: 0;\n // width: 100%;\n // height: space('xxlarge');\n // opacity: 0;\n // transition: opacity $baseTransitionAnimationSpeed;\n // }\n\n // &::before {\n // background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);\n // top: 0;\n // transform: translateY(-100%);\n // }\n\n // &::after {\n // background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);\n // bottom: 0;\n // transform: translateY(100%);\n // }\n }\n\n &__content-inner {\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 transition-property: padding;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__spacer {\n display: none;\n }\n\n /* Disabled variants */\n\n &--is-disabled-sticky-top &__sticky {\n top: auto;\n }\n\n &--is-disabled-sticky-bottom &__sticky {\n bottom: auto;\n }\n\n /* Bleeding variant */\n\n &--is-bleeding &__content {\n &::before {\n z-index: -1;\n content: \"\";\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n transform: translateY(0);\n transition-property: width, background-color, transform;\n }\n }\n\n /* Is stuck variant */\n\n &--is-stuck &__content,\n &--is-stuck &__content::before {\n background-color: var(--stuck-background-color);\n }\n\n &--is-stuck &__content::before {\n width: calc(100vw - var(--stzh-scrollbar-width));\n transform: translateX(calc(var(--stzh-sticky-offset-left) / -1));\n }\n\n &--is-stuck &__content-inner {\n padding-top: var(--stuck-padding-top);\n padding-bottom: var(--stuck-padding-bottom);\n padding-left: var(--stuck-padding-left);\n padding-right: var(--stuck-padding-right);\n }\n\n // &--is-stuck-bottom &__content {\n // &::before {\n // opacity: 1;\n // }\n // }\n\n // &--is-stuck-top &__content {\n // &::after {\n // opacity: 1;\n // }\n // }\n\n /* Transparent variant */\n\n // &--transparent &__content {\n // &::after,\n // &::before {\n // display: none;\n // }\n // }\n\n // /* Position sticky variant */\n\n // &--is-breakout &__content {\n // position: relative;\n // left: 50%;\n // right: 50%;\n // margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // width: calc(100vw - var(--stzh-scrollbar-width));\n // max-width: calc(100vw - var(--stzh-scrollbar-width));\n // }\n\n &--is-not-loaded {\n visibility: hidden;\n }\n\n &--is-not-loaded#{&}--is-stuck &__sticky {\n transform: translateY(100%);\n opacity: 0;\n }\n\n &--is-not-loaded &__sticky,\n &--is-not-loaded &__content,\n &--is-not-loaded &__content::before,\n &--is-not-loaded &__content-inner {\n transition-duration: 0ms;\n }\n}\n","import { Component, Host, h, Element, Prop, State, Watch, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhStickyStuckTopEvent, StzhStickyStuckBottomEvent } from \"../../index\";\n\nimport { isVisible, offset } from \"../../utils/utils\";\nimport throttle from \"lodash/throttle\";\n\nconst ATTR_STICKY_CONTAINER = \"data-stzh-sticky-container\";\nconst ATTR_STICKY_WIDTH_CONTAINER = \"data-stzh-sticky-width-container\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-sticky\",\n styleUrl: \"stzh-sticky.scss\",\n shadow: true,\n})\nexport class StzhSticky {\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"transparent\" = \"default\";\n\n /** Whether to disable sticking to top */\n @Prop({ reflect: true }) disableStickyTop: boolean = true;\n\n /** Whether to disable sticking to bottom */\n @Prop({ reflect: true }) disableStickyBottom: boolean = false;\n\n /** Whether background breaks out container to full viewport width */\n @Prop({ reflect: true }) bleeding: boolean = false;\n\n /** Name of sticky element (used for setting css properties) */\n @Prop() name: string;\n\n /**\n * Position type used.\n *\n * - sticky: used only css position sticky\n * - fixed: uses position fixed with js for positioning (`data-stzh-sticky-container` can be used on a container element to limit sticky position)\n */\n @Prop({ reflect: true }) position: \"sticky\" | \"fixed\" = \"sticky\";\n\n @Watch(\"disableStickyTop\")\n @Watch(\"disableStickyBottom\")\n disableStickyWatcher() {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n } else {\n this.updateStuck();\n }\n });\n });\n }\n\n @Watch(\"isStuckTop\")\n @Watch(\"isStuckBottom\")\n @Watch(\"hasReachedTopLimit\")\n @Watch(\"hasReachedBottomLimit\")\n stuckHeightWatcher() {\n let isStuck = false;\n\n if (this.isStuckTop && !this.hasReachedBottomLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"1\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"0\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n \"0px\",\n );\n }\n\n if (this.isStuckBottom && !this.hasReachedTopLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"1\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n \"0px\",\n );\n }\n\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-stuck`,\n isStuck ? \"1\" : \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck`,\n isStuck ? \"0\" : \"1\",\n );\n\n if (isStuck) {\n this.stickyResizeObserver.observe(this.stickyElement);\n } else {\n this.stickyResizeObserver.unobserve(this.stickyElement);\n }\n }\n\n @Watch(\"isStuckTop\")\n isStuckTopWatcher(newValue: boolean) {\n this.stzhStuckTop.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"isStuckBottom\")\n isStuckBottomWatcher(newValue: boolean) {\n this.stzhStuckBottom.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"position\")\n @Watch(\"bleeding\")\n positionWatcher() {\n if (this.position === \"fixed\") {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n window.addEventListener(\"resize\", this.handleResize);\n\n this.updateFixedByResize();\n } else {\n if (this.bleeding) {\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n this.updateByScroll();\n } else {\n window.removeEventListener(\"scroll\", this.handleScroll);\n }\n\n window.removeEventListener(\"resize\", this.handleResize);\n this.setUnfixed();\n\n this.observer = new IntersectionObserver(this.observe, { threshold: [1] });\n this.observer.observe(this.stickyElement);\n\n this.updateStuck();\n }\n }\n\n /** Sticky stuck top event */\n @Event() stzhStuckTop: EventEmitter<StzhStickyStuckTopEvent>;\n\n /** Sticky stuck bottom event */\n @Event() stzhStuckBottom: EventEmitter<StzhStickyStuckBottomEvent>;\n\n @Element() element: HTMLStzhStickyElement;\n\n @State() isStuckTop: boolean;\n @State() isStuckBottom: boolean;\n\n @State() hasReachedTopLimit: boolean;\n @State() hasReachedBottomLimit: boolean;\n\n @State() loaded: boolean = false;\n\n private observer: IntersectionObserver;\n private stickyResizeObserver: ResizeObserver;\n private debounceScroll: number;\n private debounceResize: number;\n private stickyElement: HTMLElement;\n private spacerElement: HTMLElement;\n\n private windowHeight: number;\n private scrollX: number;\n private scrollY: number;\n private fixedTop: number;\n private fixedLeft: number;\n private fixedHeight: number = 0;\n private fixedWidth: number = 0;\n private fixedLimit: { top: number; bottom: number } | null = null;\n\n private updateStuck() {\n const topCss = parseInt(getComputedStyle(this.stickyElement).top, 10);\n const bottomCss = parseInt(getComputedStyle(this.stickyElement).bottom, 10);\n const rect = this.stickyElement.getBoundingClientRect();\n\n if (topCss) {\n this.isStuckTop = rect.top < 0;\n } else {\n this.isStuckTop = false;\n }\n\n if (bottomCss) {\n this.isStuckBottom = document.documentElement.clientHeight < rect.bottom;\n } else {\n this.isStuckBottom = false;\n }\n }\n\n private getFixedLimit(): { top: number; bottom: number } | null {\n const stickyContainer = this.element.closest(`[${ATTR_STICKY_CONTAINER}]`);\n\n if (!stickyContainer) {\n return null;\n }\n\n const off = offset(stickyContainer);\n\n return {\n top: off.top,\n bottom: off.top + stickyContainer.scrollHeight,\n };\n }\n\n private setUnfixed() {\n Object.assign(this.stickyElement.style, {\n position: null,\n top: null,\n bottom: null,\n left: null,\n width: null,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"none\",\n });\n }\n\n private setFixed() {\n const position = this.hasReachedTopLimit || this.hasReachedBottomLimit ? \"absolute\" : \"fixed\";\n\n Object.assign(this.stickyElement.style, {\n position,\n top:\n position === \"absolute\"\n ? `${this.isStuckTop ? this.fixedLimit.bottom - this.fixedHeight : this.fixedLimit.top}px`\n : this.isStuckTop\n ? \"0px\"\n : \"auto\",\n bottom: this.isStuckTop || position === \"absolute\" ? \"auto\" : \"0px\",\n left: `${this.fixedLeft + (position === \"fixed\" ? this.scrollX : 0)}px`,\n width: `${this.fixedWidth}px`,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"block\",\n });\n }\n\n private handleScroll = () => {\n if (this.debounceScroll) {\n window.cancelAnimationFrame(this.debounceScroll);\n }\n\n this.debounceScroll = requestAnimationFrame(this.updateByScroll);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateFixedByResize);\n };\n\n private handleStickyResize = throttle(() => {\n this.stuckHeightWatcher();\n this.updateByScroll();\n }, 100);\n\n private updateByScroll = () => {\n if (!isVisible(this.stickyElement) || !this.element.isConnected) {\n return;\n }\n\n const stickyFixedWidthContainer =\n (this.element.closest(`[${ATTR_STICKY_WIDTH_CONTAINER}]`) as HTMLElement) || this.element.parentElement;\n\n const off = offset(\n (this.isStuckTop || this.isStuckBottom) && this.position === \"fixed\" ? this.spacerElement : this.stickyElement,\n );\n\n this.fixedTop = off.top;\n this.fixedLeft = off.left;\n\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-top\", `${this.fixedTop}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-left\", `${this.fixedLeft}px`);\n\n if (this.position === \"sticky\") {\n // for position sticky we only need the offsets variables to be updated in bleeding variant\n return;\n }\n\n this.fixedHeight = this.stickyElement.offsetHeight;\n this.spacerElement.style.height = `${this.fixedHeight}px`;\n\n this.scrollX = window.scrollX;\n this.scrollY = window.scrollY;\n this.fixedLimit = this.getFixedLimit();\n\n this.fixedWidth = stickyFixedWidthContainer.getBoundingClientRect().width;\n\n const unstuckWidth = this.element.getBoundingClientRect().width;\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-stuck-width', `${this.fixedWidth}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-unstuck-width\", `${unstuckWidth}px`);\n\n // console.log(unstuckWidth);\n\n // console.log(\n // this.scrollX,\n // this.scrollY,\n // this.windowHeight,\n // this.fixedTop,\n // this.fixedLeft,\n // this.fixedHeight,\n // this.fixedLimit,\n // );\n\n this.isStuckBottom =\n !this.disableStickyBottom && this.scrollY + this.windowHeight <= this.fixedTop + this.fixedHeight;\n this.isStuckTop = !this.disableStickyTop && this.scrollY >= this.fixedTop;\n\n this.hasReachedTopLimit =\n this.fixedLimit && this.scrollY + this.windowHeight - this.fixedHeight <= this.fixedLimit.top;\n this.hasReachedBottomLimit = this.fixedLimit && this.scrollY >= this.fixedLimit.bottom - this.fixedHeight;\n\n // console.log(\n // this.isStuckBottom,\n // this.isStuckTop,\n // this.hasReachedBottomLimit,\n // this.hasReachedTopLimit,\n // );\n\n if (this.isStuckTop || this.isStuckBottom) {\n this.setFixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${this.fixedWidth}px`);\n } else {\n this.setUnfixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${unstuckWidth}px`);\n }\n };\n\n private updateFixedByResize = () => {\n if (!this.stickyElement || !this.element.isConnected) {\n return;\n }\n\n // reset sticky so we can read current offsets\n this.setUnfixed();\n this.stickyElement.style.position = \"static\";\n this.stickyElement.style.width = \"auto\";\n this.isStuckTop = false;\n this.isStuckBottom = false;\n\n if (isVisible(this.stickyElement)) {\n this.windowHeight = window.innerHeight;\n this.updateByScroll();\n }\n };\n\n private observe = () => {\n this.updateStuck();\n };\n\n componentDidLoad() {\n this.stickyResizeObserver = new ResizeObserver(this.handleStickyResize);\n this.positionWatcher();\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n window.setTimeout(() => {\n this.loaded = true;\n\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n }\n }, 250);\n });\n });\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.stickyResizeObserver?.disconnect();\n\n window.removeEventListener(\"scroll\", this.handleScroll);\n window.removeEventListener(\"resize\", this.handleResize);\n }\n\n render() {\n const isStuck = this.isStuckTop || this.isStuckBottom;\n\n const classes = {\n \"stzh-sticky\": true,\n \"stzh-sticky--is-not-loaded\": !this.loaded,\n \"stzh-sticky--is-stuck\": isStuck,\n \"stzh-sticky--is-stuck-top\": this.isStuckTop,\n \"stzh-sticky--is-stuck-bottom\": this.isStuckBottom,\n \"stzh-sticky--is-disabled-sticky-top\": this.disableStickyTop,\n \"stzh-sticky--is-disabled-sticky-bottom\": this.disableStickyBottom,\n \"stzh-sticky--is-bleeding\": this.bleeding,\n [`stzh-sticky--position-${this.position}`]: !!this.position,\n [`stzh-sticky--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host\n is-stuck={this.isStuckTop || this.isStuckBottom}\n is-stuck-top={this.isStuckTop}\n is-stuck-bottom={this.isStuckBottom}\n >\n <div class={classes}>\n <div ref={el => (this.spacerElement = el as HTMLDivElement)} class=\"stzh-sticky__spacer\"></div>\n <div ref={el => (this.stickyElement = el as HTMLDivElement)} class=\"stzh-sticky__sticky\">\n <div class=\"stzh-sticky__content\">\n <div class=\"stzh-sticky__content-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,9 +1,9 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-hyzEZfgL.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-yUwaJCDo.js';
2
2
  import { h as hasSlot } from './p-CN5apKPb.js';
3
- import { S as StzhInputDescription } from './p-b61bpkSU.js';
4
- import { d as defineCustomElement$3 } from './p-mWRI28It.js';
5
- import { d as defineCustomElement$2 } from './p-D36sFB-f.js';
6
- import { d as defineCustomElement$1 } from './p-DLlZq7iU.js';
3
+ import { S as StzhInputDescription } from './p-cVO3VaRO.js';
4
+ import { d as defineCustomElement$3 } from './p-Dg5tBjNp.js';
5
+ import { d as defineCustomElement$2 } from './p-BWo_qrmp.js';
6
+ import { d as defineCustomElement$1 } from './p-CgxbnTIg.js';
7
7
 
8
8
  const stzhCheckboxCss = () => `.sc-stzh-checkbox-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-checkbox-h,[stzh-hidden].sc-stzh-checkbox-h{display:none}.sc-stzh-checkbox-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::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-checkbox-h .has-focus.sc-stzh-checkbox{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-checkbox-h .stzh-fylingfocus-focused.sc-stzh-checkbox{outline-style:none !important}.sc-stzh-checkbox-h .stzh-fylingfocus-focused.sc-stzh-checkbox::-moz-focus-inner{border:0 !important}.sc-stzh-checkbox-h{--label-color:var(--stzh-checkbox-label-color, var(--stzh-base-color));--label-hover-color:var(
9
9
  --stzh-checkbox-label-hover-color,
@@ -197,6 +197,6 @@ function defineCustomElement() {
197
197
  }
198
198
 
199
199
  export { StzhCheckbox as S, defineCustomElement as d };
200
- //# sourceMappingURL=p-Bj7oUjXe.js.map
200
+ //# sourceMappingURL=p-CMoatF_O.js.map
201
201
 
202
- //# sourceMappingURL=p-Bj7oUjXe.js.map
202
+ //# sourceMappingURL=p-CMoatF_O.js.map
@@ -1 +1 @@
1
- {"file":"p-Bj7oUjXe.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC;AAC/B;AACA;AACA;AACA;AACA;AACA,u0NAAu0N,CAAC;;ACGx0N,IAAI,eAAe,GAAG,CAAC;MAcV,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGV,QAAA,IAAO,CAAA,OAAA,GAA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ACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-checkbox/stzh-checkbox.scss?tag=stzh-checkbox&encapsulation=scoped","src/components/stzh-checkbox/stzh-checkbox.tsx"],"sourcesContent":[":host {\n --label-color: var(--stzh-checkbox-label-color, #{$baseColor});\n --label-hover-color: var(\n --stzh-checkbox-label-hover-color,\n #{$colorPrimary70}\n );\n --label-hover-checked-color: var(\n --stzh-checkbox-label-hover-checked-color,\n #{$colorPrimary90}\n );\n --check-color: var(--stzh-checkbox-check-color, #{$colorPrimary});\n --invalid-color: var(--stzh-checkbox-invalid-color, #{$colorError60});\n --disabled-color: var(--stzh-checkbox-disabled-color, #{$colorGrey50});\n\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-checkbox {\n @include input-description;\n display: grid;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n border: 2px solid $colorBlack;\n background-color: $colorWhite;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n border-radius: $formInputBorderRadius;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: border-color $baseTransitionAnimationSpeed;\n position: relative;\n }\n\n &__check {\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n transform: translate(-50%, -50%) translateZ(0);\n will-change: opacity;\n opacity: 0;\n transition: opacity 0.15s ease;\n pointer-events: none;\n\n -webkit-mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-size: contain;\n mask-size: contain;\n\n background-color: var(--check-color);\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-block;\n color: var(--label-color);\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space(\"small\");\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked ~ &__label {\n color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark {\n color: var(--label-hover-checked-color);\n }\n\n // icon\n &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--label-hover-checked-color);\n }\n\n &:hover &__mark,\n &__input:checked ~ &__mark {\n border-color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__mark {\n border-color: var(--label-hover-checked-color);\n }\n\n &--is-checked .stzh-checkbox__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark {\n color: var(--invalid-color);\n }\n\n // icon\n &--is-invalid &__check {\n background-color: var(--invalid-color);\n }\n\n &--is-invalid &__input ~ &__mark {\n border-color: var(--invalid-color);\n }\n\n /* Disabled */\n\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $colorGrey60;\n }\n\n &--is-disabled &__input ~ &__mark {\n color: var(--disabled-color);\n border-color: var(--disabled-color);\n }\n\n // icon\n &--is-disabled &__check {\n background-color: var(--disabled-color);\n }\n\n &--is-disabled &__mark {\n background-color: $colorGrey20;\n }\n\n // hover styles for check icon for invalid\n &--is-invalid &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--invalid-color);\n }\n\n // hover styles for check icon for invalid\n &--is-disabled &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--disabled-color);\n }\n}\n","import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhCheckboxChangeEvent, StzhCheckboxFocusEvent, StzhCheckboxBlurEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet checkboxCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-checkbox\",\n styleUrl: \"stzh-checkbox.scss\",\n scoped: true,\n})\nexport class StzhCheckbox {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the checkbox is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Use the `description-long-title` slot or the `description` property instead.\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhCheckboxChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhCheckboxFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhCheckboxBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n\n this.stzhChange.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-checkbox\",\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-checkbox\",\n originalEvent: event,\n });\n };\n\n async componentWillLoad() {\n this.inputId = `stzh-checkbox-${checkboxCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"checkbox\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const classes = {\n \"stzh-checkbox\": true,\n \"stzh-checkbox--has-description\": descriptionUsed,\n \"stzh-checkbox--has-description-long\": descriptionLongUsed,\n \"stzh-checkbox--has-error\": errorUsed,\n \"stzh-checkbox--is-required\": this.required,\n \"stzh-checkbox--is-invalid\": this.invalid || errorUsed,\n \"stzh-checkbox--is-disabled\": this.disabled,\n \"stzh-checkbox--is-checked\": this.checked,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-checkbox__field-wrapper\">\n <input\n class=\"stzh-checkbox__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-checkbox__mark\">\n <div class=\"stzh-checkbox__check\" aria-hidden=\"true\"></div>\n </div>\n <div class=\"stzh-checkbox__label\">\n {this.label ? this.label : <slot></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-checkbox__marker\">\n <span class=\"stzh-checkbox__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-checkbox__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </div>\n </label>\n {(errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CMoatF_O.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC;AAC/B;AACA;AACA;AACA;AACA;AACA,u0NAAu0N,CAAC;;ACGx0N,IAAI,eAAe,GAAG,CAAC;MAcV,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGV,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAMxD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAeD,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;;AAOb,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;AA2C7D,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAE/B,QAAA,IAAW,CAAA,WAAA,GAAG,YAAW;AAC/B,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,cAAc;AACpC,SAAC;AAEO,QAAA,IAAA,CAAA,OAAO,GA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A,EAAA,KAAK,EAAC,8BAA8B,EAAA,aAAA,EAAa,MAAM,EAC1D,EAAA,IAAI,CAAC;AACJ,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;cAC3B,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,CAC7C,EACP,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,4BAA4B,EACrC,EAAA,IAAI,CAAC;AACJ,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;AAC7B,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAC3C,CACF,CACR,CACG,CACA,EACP,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,eAAe,MACrD,CAAA,CAAC,oBAAoB,EACnB,EAAA,GAAA,EAAA,0CAAA,EAAA,WAAW,EAAC,eAAe,EAC3B,EAAE,EAAE,GAAG,IAAI,CAAC,OAAO,CAAc,YAAA,CAAA,EACjC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EACnE,CAAA,CACH,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-checkbox/stzh-checkbox.scss?tag=stzh-checkbox&encapsulation=scoped","src/components/stzh-checkbox/stzh-checkbox.tsx"],"sourcesContent":[":host {\n --label-color: var(--stzh-checkbox-label-color, #{$baseColor});\n --label-hover-color: var(\n --stzh-checkbox-label-hover-color,\n #{$colorPrimary70}\n );\n --label-hover-checked-color: var(\n --stzh-checkbox-label-hover-checked-color,\n #{$colorPrimary90}\n );\n --check-color: var(--stzh-checkbox-check-color, #{$colorPrimary});\n --invalid-color: var(--stzh-checkbox-invalid-color, #{$colorError60});\n --disabled-color: var(--stzh-checkbox-disabled-color, #{$colorGrey50});\n\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-checkbox {\n @include input-description;\n display: grid;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n border: 2px solid $colorBlack;\n background-color: $colorWhite;\n width: 24px;\n height: 24px;\n flex-shrink: 0;\n border-radius: $formInputBorderRadius;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: border-color $baseTransitionAnimationSpeed;\n position: relative;\n }\n\n &__check {\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n transform: translate(-50%, -50%) translateZ(0);\n will-change: opacity;\n opacity: 0;\n transition: opacity 0.15s ease;\n pointer-events: none;\n\n -webkit-mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n mask-image: svg-load(\"stzh-checkbox/assets/check.svg\");\n -webkit-mask-repeat: no-repeat;\n mask-repeat: no-repeat;\n -webkit-mask-position: center;\n mask-position: center;\n -webkit-mask-size: contain;\n mask-size: contain;\n\n background-color: var(--check-color);\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-block;\n color: var(--label-color);\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space(\"small\");\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked ~ &__label {\n color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark {\n color: var(--label-hover-checked-color);\n }\n\n // icon\n &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--label-hover-checked-color);\n }\n\n &:hover &__mark,\n &__input:checked ~ &__mark {\n border-color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__mark {\n border-color: var(--label-hover-checked-color);\n }\n\n &--is-checked .stzh-checkbox__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark {\n color: var(--invalid-color);\n }\n\n // icon\n &--is-invalid &__check {\n background-color: var(--invalid-color);\n }\n\n &--is-invalid &__input ~ &__mark {\n border-color: var(--invalid-color);\n }\n\n /* Disabled */\n\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $colorGrey60;\n }\n\n &--is-disabled &__input ~ &__mark {\n color: var(--disabled-color);\n border-color: var(--disabled-color);\n }\n\n // icon\n &--is-disabled &__check {\n background-color: var(--disabled-color);\n }\n\n &--is-disabled &__mark {\n background-color: $colorGrey20;\n }\n\n // hover styles for check icon for invalid\n &--is-invalid &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--invalid-color);\n }\n\n // hover styles for check icon for invalid\n &--is-disabled &__input:checked:hover ~ &__mark .stzh-checkbox__check {\n background-color: var(--disabled-color);\n }\n}\n","import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhCheckboxChangeEvent, StzhCheckboxFocusEvent, StzhCheckboxBlurEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet checkboxCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-checkbox\",\n styleUrl: \"stzh-checkbox.scss\",\n scoped: true,\n})\nexport class StzhCheckbox {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the checkbox is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Use the `description-long-title` slot or the `description` property instead.\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhCheckboxChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhCheckboxFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhCheckboxBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n\n this.stzhChange.emit({\n component: \"stzh-checkbox\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-checkbox\",\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-checkbox\",\n originalEvent: event,\n });\n };\n\n async componentWillLoad() {\n this.inputId = `stzh-checkbox-${checkboxCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"checkbox\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const classes = {\n \"stzh-checkbox\": true,\n \"stzh-checkbox--has-description\": descriptionUsed,\n \"stzh-checkbox--has-description-long\": descriptionLongUsed,\n \"stzh-checkbox--has-error\": errorUsed,\n \"stzh-checkbox--is-required\": this.required,\n \"stzh-checkbox--is-invalid\": this.invalid || errorUsed,\n \"stzh-checkbox--is-disabled\": this.disabled,\n \"stzh-checkbox--is-checked\": this.checked,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-checkbox__field-wrapper\">\n <input\n class=\"stzh-checkbox__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-checkbox__mark\">\n <div class=\"stzh-checkbox__check\" aria-hidden=\"true\"></div>\n </div>\n <div class=\"stzh-checkbox__label\">\n {this.label ? this.label : <slot></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-checkbox__marker\">\n <span class=\"stzh-checkbox__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-checkbox__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </div>\n </label>\n {(errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-checkbox\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}