@oiz/stzh-components 4.6.0-beta3 → 4.6.0

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 (977) hide show
  1. package/dist/cjs/{app-globals-e461c8c0.js → app-globals-237b22c8.js} +2 -2
  2. package/dist/cjs/{app-globals-e461c8c0.js.map → app-globals-237b22c8.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  7. package/dist/cjs/stzh-actions_6.cjs.entry.js +10 -10
  8. package/dist/cjs/stzh-actions_6.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  10. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  15. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  16. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  21. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  26. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  29. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  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 +20 -2
  34. package/dist/cjs/stzh-contact.cjs.entry.js.map +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 +4 -4
  38. package/dist/cjs/stzh-datalist_3.cjs.entry.js.map +1 -1
  39. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +9 -9
  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 +2 -2
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  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 +1 -1
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
  57. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
  58. package/dist/cjs/stzh-header_2.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 +2 -2
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  68. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-loader_2.cjs.entry.js +2 -2
  73. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  75. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  76. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  101. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  103. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  104. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +2 -2
  106. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  107. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  112. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  113. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  117. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  122. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  123. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  127. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  129. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_300.woff2 +0 -0
  130. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_400.woff2 +0 -0
  131. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_500.woff2 +0 -0
  132. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_700.woff2 +0 -0
  133. package/dist/collection/assets/pkzh/fonts.css +38 -0
  134. package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +7 -2
  135. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +45 -1
  136. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  137. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +19 -4
  138. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  139. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  140. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  141. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  142. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  143. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  144. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  145. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  146. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  147. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  148. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  149. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  150. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  151. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  152. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  153. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  155. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  156. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  157. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  158. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  159. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  160. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  161. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  162. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  163. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  164. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  165. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  166. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  167. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  168. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  169. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  170. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  171. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  172. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  173. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  174. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  175. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  176. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  177. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  178. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  179. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  180. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  181. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  182. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  183. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  184. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  185. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  186. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  187. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  188. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  189. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  190. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  191. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  192. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  193. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  194. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  195. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  196. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  197. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  198. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  199. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  200. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  201. package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
  202. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  203. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  204. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  205. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +6 -2
  206. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  207. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  208. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  209. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  210. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  211. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  212. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  213. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  214. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  215. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  216. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  217. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  218. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  219. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  220. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  221. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  222. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  223. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  224. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  225. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  226. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  227. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  228. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  229. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  230. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  231. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  232. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  233. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  234. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  235. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  236. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  237. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  238. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  239. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  240. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  241. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  242. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  243. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  244. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  245. package/dist/collection/components/stzh-rating/stzh-rating.js +2 -2
  246. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  247. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  248. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  249. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  250. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  251. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  252. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  253. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  254. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  255. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +21 -18
  256. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  257. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  258. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  259. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  260. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  261. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  262. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  263. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  264. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  265. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  266. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  267. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  268. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  269. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  270. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  271. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  272. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  273. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  274. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  275. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  276. package/dist/collection/components/stzh-upload/stzh-upload.js +2 -2
  277. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  278. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  279. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  280. package/dist/collection/index.js +1 -1
  281. package/dist/collection/index.js.map +1 -1
  282. package/dist/components/index.js +2 -2
  283. package/dist/components/{p-593ca1a7.js → p-04567f95.js} +6 -6
  284. package/dist/components/{p-593ca1a7.js.map → p-04567f95.js.map} +1 -1
  285. package/dist/components/{p-1679fb1d.js → p-0b630cac.js} +12 -12
  286. package/dist/components/{p-1679fb1d.js.map → p-0b630cac.js.map} +1 -1
  287. package/dist/components/{p-3d2bf808.js → p-0f94b704.js} +7 -7
  288. package/dist/components/{p-3d2bf808.js.map → p-0f94b704.js.map} +1 -1
  289. package/dist/components/{p-c5aa3de6.js → p-1462b0ac.js} +8 -8
  290. package/dist/components/{p-c5aa3de6.js.map → p-1462b0ac.js.map} +1 -1
  291. package/dist/components/{p-adfe9c18.js → p-18f73dde.js} +3 -3
  292. package/dist/components/{p-adfe9c18.js.map → p-18f73dde.js.map} +1 -1
  293. package/dist/components/{p-b8f2532a.js → p-1ec35678.js} +5 -5
  294. package/dist/components/{p-b8f2532a.js.map → p-1ec35678.js.map} +1 -1
  295. package/dist/components/{p-c1fd09b7.js → p-1f315034.js} +7 -7
  296. package/dist/components/{p-c1fd09b7.js.map → p-1f315034.js.map} +1 -1
  297. package/dist/components/{p-a5acb217.js → p-200f9da5.js} +3 -3
  298. package/dist/components/{p-a5acb217.js.map → p-200f9da5.js.map} +1 -1
  299. package/dist/components/{p-b1c3189a.js → p-258d7bde.js} +6 -6
  300. package/dist/components/{p-b1c3189a.js.map → p-258d7bde.js.map} +1 -1
  301. package/dist/components/{p-831467e5.js → p-27688347.js} +5 -5
  302. package/dist/components/{p-831467e5.js.map → p-27688347.js.map} +1 -1
  303. package/dist/components/{p-0290bc39.js → p-27bf6b87.js} +9 -9
  304. package/dist/components/{p-0290bc39.js.map → p-27bf6b87.js.map} +1 -1
  305. package/dist/components/{p-79ffaacb.js → p-28548919.js} +11 -11
  306. package/dist/components/{p-79ffaacb.js.map → p-28548919.js.map} +1 -1
  307. package/dist/components/{p-f1e6bceb.js → p-2c27e000.js} +14 -14
  308. package/dist/components/{p-f1e6bceb.js.map → p-2c27e000.js.map} +1 -1
  309. package/dist/components/{p-ba8edf1e.js → p-2d2bf07d.js} +2 -2
  310. package/dist/components/{p-ba8edf1e.js.map → p-2d2bf07d.js.map} +1 -1
  311. package/dist/components/{p-10d1bf15.js → p-2d80d228.js} +4 -4
  312. package/dist/components/{p-10d1bf15.js.map → p-2d80d228.js.map} +1 -1
  313. package/dist/components/{p-c2d36658.js → p-31a89409.js} +14 -14
  314. package/dist/components/{p-c2d36658.js.map → p-31a89409.js.map} +1 -1
  315. package/dist/components/{p-f5779736.js → p-37c9ec06.js} +2 -2
  316. package/dist/components/p-37c9ec06.js.map +1 -0
  317. package/dist/components/{p-2c788dcd.js → p-38c15f74.js} +2 -2
  318. package/dist/components/{p-2c788dcd.js.map → p-38c15f74.js.map} +1 -1
  319. package/dist/components/{p-7a4eaab2.js → p-3c6af723.js} +2 -2
  320. package/dist/components/{p-7a4eaab2.js.map → p-3c6af723.js.map} +1 -1
  321. package/dist/components/{p-5aa4ca6b.js → p-3d3c2de8.js} +2 -2
  322. package/dist/components/{p-5aa4ca6b.js.map → p-3d3c2de8.js.map} +1 -1
  323. package/dist/components/{p-bfccc4ba.js → p-3d9ce94f.js} +8 -8
  324. package/dist/components/{p-bfccc4ba.js.map → p-3d9ce94f.js.map} +1 -1
  325. package/dist/components/{p-7121e1bf.js → p-472ab25f.js} +3 -3
  326. package/dist/components/{p-7121e1bf.js.map → p-472ab25f.js.map} +1 -1
  327. package/dist/components/{p-b6a6ff54.js → p-49d51921.js} +2 -2
  328. package/dist/components/{p-b6a6ff54.js.map → p-49d51921.js.map} +1 -1
  329. package/dist/components/p-4b6c4031.js +83 -0
  330. package/dist/components/p-4b6c4031.js.map +1 -0
  331. package/dist/components/{p-a02372f5.js → p-4ea49c40.js} +2 -2
  332. package/dist/components/{p-a02372f5.js.map → p-4ea49c40.js.map} +1 -1
  333. package/dist/components/{p-a773eb1b.js → p-51253a86.js} +6 -6
  334. package/dist/components/{p-a773eb1b.js.map → p-51253a86.js.map} +1 -1
  335. package/dist/components/{p-8faab692.js → p-519479b8.js} +3 -3
  336. package/dist/components/{p-8faab692.js.map → p-519479b8.js.map} +1 -1
  337. package/dist/components/{p-4c4a22d3.js → p-5519805a.js} +2 -2
  338. package/dist/components/{p-4c4a22d3.js.map → p-5519805a.js.map} +1 -1
  339. package/dist/components/{p-b35195c8.js → p-5c7c4130.js} +4 -4
  340. package/dist/components/{p-b35195c8.js.map → p-5c7c4130.js.map} +1 -1
  341. package/dist/components/{p-ce788661.js → p-60907498.js} +2 -2
  342. package/dist/components/{p-ce788661.js.map → p-60907498.js.map} +1 -1
  343. package/dist/components/{p-a2659715.js → p-60d4ef07.js} +2 -2
  344. package/dist/components/{p-a2659715.js.map → p-60d4ef07.js.map} +1 -1
  345. package/dist/components/{p-7b9767bc.js → p-63080941.js} +7 -7
  346. package/dist/components/{p-7b9767bc.js.map → p-63080941.js.map} +1 -1
  347. package/dist/components/{p-700a2919.js → p-694da289.js} +2 -2
  348. package/dist/components/{p-700a2919.js.map → p-694da289.js.map} +1 -1
  349. package/dist/components/{p-2035f3fc.js → p-6d08555b.js} +3 -3
  350. package/dist/components/{p-2035f3fc.js.map → p-6d08555b.js.map} +1 -1
  351. package/dist/components/{p-356399a0.js → p-70651df8.js} +2 -2
  352. package/dist/components/{p-356399a0.js.map → p-70651df8.js.map} +1 -1
  353. package/dist/components/{p-692cd6d0.js → p-78ad1fb5.js} +2 -2
  354. package/dist/components/{p-692cd6d0.js.map → p-78ad1fb5.js.map} +1 -1
  355. package/dist/components/{p-06fdd62d.js → p-79436c88.js} +6 -6
  356. package/dist/components/{p-06fdd62d.js.map → p-79436c88.js.map} +1 -1
  357. package/dist/components/{p-556af4a4.js → p-7969eeb6.js} +2 -2
  358. package/dist/components/{p-556af4a4.js.map → p-7969eeb6.js.map} +1 -1
  359. package/dist/components/{p-f3c5a9d6.js → p-851bafc2.js} +3 -3
  360. package/dist/components/{p-f3c5a9d6.js.map → p-851bafc2.js.map} +1 -1
  361. package/dist/components/{p-893776e9.js → p-94398518.js} +3 -3
  362. package/dist/components/{p-893776e9.js.map → p-94398518.js.map} +1 -1
  363. package/dist/components/{p-ae5316c9.js → p-955f381a.js} +2 -2
  364. package/dist/components/{p-ae5316c9.js.map → p-955f381a.js.map} +1 -1
  365. package/dist/components/{p-5123f47f.js → p-95960509.js} +10 -10
  366. package/dist/components/{p-5123f47f.js.map → p-95960509.js.map} +1 -1
  367. package/dist/components/{p-69f3b8e3.js → p-99c93f51.js} +5 -5
  368. package/dist/components/{p-69f3b8e3.js.map → p-99c93f51.js.map} +1 -1
  369. package/dist/components/{p-9574ea75.js → p-9dccba17.js} +7 -7
  370. package/dist/components/{p-9574ea75.js.map → p-9dccba17.js.map} +1 -1
  371. package/dist/components/{p-51367ddc.js → p-a3e94f5e.js} +12 -12
  372. package/dist/components/{p-51367ddc.js.map → p-a3e94f5e.js.map} +1 -1
  373. package/dist/components/{p-f8294f26.js → p-a792adae.js} +7 -7
  374. package/dist/components/{p-f8294f26.js.map → p-a792adae.js.map} +1 -1
  375. package/dist/components/{p-a3c5c1b3.js → p-b7348f8a.js} +2 -2
  376. package/dist/components/{p-a3c5c1b3.js.map → p-b7348f8a.js.map} +1 -1
  377. package/dist/components/{p-42e86bbd.js → p-b8fda153.js} +2 -2
  378. package/dist/components/{p-42e86bbd.js.map → p-b8fda153.js.map} +1 -1
  379. package/dist/components/{p-136ea314.js → p-bafc325d.js} +8 -8
  380. package/dist/components/p-bafc325d.js.map +1 -0
  381. package/dist/components/{p-5c9d22b6.js → p-c032bedc.js} +2 -2
  382. package/dist/components/{p-5c9d22b6.js.map → p-c032bedc.js.map} +1 -1
  383. package/dist/components/{p-9dba6e5f.js → p-c4637521.js} +6 -6
  384. package/dist/components/{p-9dba6e5f.js.map → p-c4637521.js.map} +1 -1
  385. package/dist/components/{p-8fb1ee85.js → p-c484e7ca.js} +2 -2
  386. package/dist/components/{p-8fb1ee85.js.map → p-c484e7ca.js.map} +1 -1
  387. package/dist/components/{p-00bfe201.js → p-c6147c2a.js} +3 -3
  388. package/dist/components/{p-00bfe201.js.map → p-c6147c2a.js.map} +1 -1
  389. package/dist/components/{p-d857450c.js → p-c750600a.js} +3 -3
  390. package/dist/components/{p-d857450c.js.map → p-c750600a.js.map} +1 -1
  391. package/dist/components/{p-a87c8ead.js → p-c7797402.js} +2 -2
  392. package/dist/components/{p-a87c8ead.js.map → p-c7797402.js.map} +1 -1
  393. package/dist/components/{p-9aa37b0e.js → p-c8267c9e.js} +7 -7
  394. package/dist/components/{p-9aa37b0e.js.map → p-c8267c9e.js.map} +1 -1
  395. package/dist/components/{p-b2eca173.js → p-c9320f27.js} +4 -4
  396. package/dist/components/{p-b2eca173.js.map → p-c9320f27.js.map} +1 -1
  397. package/dist/components/{p-d0ecd5c0.js → p-cac39de3.js} +3 -3
  398. package/dist/components/{p-d0ecd5c0.js.map → p-cac39de3.js.map} +1 -1
  399. package/dist/components/{p-72a74fcf.js → p-cb0898ca.js} +6 -6
  400. package/dist/components/{p-72a74fcf.js.map → p-cb0898ca.js.map} +1 -1
  401. package/dist/components/{p-cef2a7e4.js → p-cccc2b32.js} +9 -9
  402. package/dist/components/{p-cef2a7e4.js.map → p-cccc2b32.js.map} +1 -1
  403. package/dist/components/{p-1f375b7d.js → p-cdaf20f3.js} +7 -7
  404. package/dist/components/{p-1f375b7d.js.map → p-cdaf20f3.js.map} +1 -1
  405. package/dist/components/{p-8f155465.js → p-d1d54b5f.js} +3 -3
  406. package/dist/components/{p-8f155465.js.map → p-d1d54b5f.js.map} +1 -1
  407. package/dist/components/{p-74ae8080.js → p-db160bc1.js} +6 -6
  408. package/dist/components/{p-74ae8080.js.map → p-db160bc1.js.map} +1 -1
  409. package/dist/components/{p-15761c26.js → p-dc031c55.js} +9 -9
  410. package/dist/components/{p-15761c26.js.map → p-dc031c55.js.map} +1 -1
  411. package/dist/components/{p-8ea6e1c0.js → p-dd119f51.js} +2 -2
  412. package/dist/components/{p-8ea6e1c0.js.map → p-dd119f51.js.map} +1 -1
  413. package/dist/components/{p-e4ff57a8.js → p-e25baa50.js} +4 -4
  414. package/dist/components/{p-e4ff57a8.js.map → p-e25baa50.js.map} +1 -1
  415. package/dist/components/{p-b5caf3f4.js → p-e29cdad5.js} +3 -3
  416. package/dist/components/{p-b5caf3f4.js.map → p-e29cdad5.js.map} +1 -1
  417. package/dist/components/{p-b84d0233.js → p-ec5e2f2a.js} +4 -4
  418. package/dist/components/{p-b84d0233.js.map → p-ec5e2f2a.js.map} +1 -1
  419. package/dist/components/{p-905447b5.js → p-ef7cf99a.js} +4 -4
  420. package/dist/components/{p-905447b5.js.map → p-ef7cf99a.js.map} +1 -1
  421. package/dist/components/{p-bb38e284.js → p-f362f8aa.js} +3 -3
  422. package/dist/components/{p-bb38e284.js.map → p-f362f8aa.js.map} +1 -1
  423. package/dist/components/{p-39b23489.js → p-fc668f7b.js} +2 -2
  424. package/dist/components/{p-39b23489.js.map → p-fc668f7b.js.map} +1 -1
  425. package/dist/components/stzh-accordion-item.js +1 -1
  426. package/dist/components/stzh-accordion.js +1 -1
  427. package/dist/components/stzh-actions.js +1 -1
  428. package/dist/components/stzh-actionset.js +1 -1
  429. package/dist/components/stzh-amount.js +9 -9
  430. package/dist/components/stzh-anchornav.js +5 -5
  431. package/dist/components/stzh-app-nav.js +1 -1
  432. package/dist/components/stzh-appointments.js +14 -14
  433. package/dist/components/stzh-archivelist.js +6 -6
  434. package/dist/components/stzh-audio.js +7 -7
  435. package/dist/components/stzh-badge.js +1 -1
  436. package/dist/components/stzh-banner.js +3 -3
  437. package/dist/components/stzh-bathstatus-item.js +1 -1
  438. package/dist/components/stzh-bathstatus-list.js +6 -6
  439. package/dist/components/stzh-breadcrumb.js +1 -1
  440. package/dist/components/stzh-button.js +1 -1
  441. package/dist/components/stzh-buttongroup.js +1 -1
  442. package/dist/components/stzh-calendar.js +1 -1
  443. package/dist/components/stzh-card-navigation.js +2 -2
  444. package/dist/components/stzh-card-searchresult.js +14 -14
  445. package/dist/components/stzh-card-superteaser.js +13 -13
  446. package/dist/components/stzh-card.js +1 -1
  447. package/dist/components/stzh-cardlist.js +1 -1
  448. package/dist/components/stzh-carousel.js +1 -1
  449. package/dist/components/stzh-cell.js +1 -1
  450. package/dist/components/stzh-chart.js +1 -1
  451. package/dist/components/stzh-checkbox.js +1 -1
  452. package/dist/components/stzh-checkboxgroup.js +6 -6
  453. package/dist/components/stzh-chip.js +1 -1
  454. package/dist/components/stzh-chipgroup.js +1 -1
  455. package/dist/components/stzh-chipselect.js +1 -1
  456. package/dist/components/stzh-clamp.js +1 -1
  457. package/dist/components/stzh-company-logo.js +1 -1
  458. package/dist/components/stzh-contact-cv.js +4 -4
  459. package/dist/components/stzh-contact.js +56 -12
  460. package/dist/components/stzh-contact.js.map +1 -1
  461. package/dist/components/stzh-container.js +1 -1
  462. package/dist/components/stzh-content.js +1 -1
  463. package/dist/components/stzh-cspace.js +1 -1
  464. package/dist/components/stzh-cta.js +3 -3
  465. package/dist/components/stzh-datalist-item.js +1 -1
  466. package/dist/components/stzh-datalist.js +1 -1
  467. package/dist/components/stzh-datamessagelist-item.js +11 -11
  468. package/dist/components/stzh-datamessagelist.js +1 -1
  469. package/dist/components/stzh-datatable.js +16 -16
  470. package/dist/components/stzh-datepicker.js +1 -1
  471. package/dist/components/stzh-daterange.js +4 -4
  472. package/dist/components/stzh-details.js +1 -1
  473. package/dist/components/stzh-dialog.js +1 -1
  474. package/dist/components/stzh-disturber.js +4 -4
  475. package/dist/components/stzh-dropdown.js +1 -1
  476. package/dist/components/stzh-editor.js +4 -4
  477. package/dist/components/stzh-eventdata.js +1 -1
  478. package/dist/components/stzh-eventinfo.js +5 -5
  479. package/dist/components/stzh-feedreader-item.js +2 -2
  480. package/dist/components/stzh-feedreader.js +8 -8
  481. package/dist/components/stzh-fieldset.js +1 -1
  482. package/dist/components/stzh-figure.js +1 -1
  483. package/dist/components/stzh-flyingfocus.js +1 -1
  484. package/dist/components/stzh-footer.js +4 -4
  485. package/dist/components/stzh-gallery.js +8 -8
  486. package/dist/components/stzh-geo-ref-data.js +25 -25
  487. package/dist/components/stzh-ghettobox.js +1 -1
  488. package/dist/components/stzh-header.js +1 -1
  489. package/dist/components/stzh-heading.js +1 -1
  490. package/dist/components/stzh-homepage-search.js +2 -2
  491. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  492. package/dist/components/stzh-hr.js +1 -1
  493. package/dist/components/stzh-hspace.js +1 -1
  494. package/dist/components/stzh-http-error.js +7 -7
  495. package/dist/components/stzh-icon.js +1 -1
  496. package/dist/components/stzh-iframe.js +1 -1
  497. package/dist/components/stzh-imagecomparison.js +3 -3
  498. package/dist/components/stzh-input.js +1 -1
  499. package/dist/components/stzh-invert.js +1 -1
  500. package/dist/components/stzh-link.js +1 -1
  501. package/dist/components/stzh-linklist.js +10 -10
  502. package/dist/components/stzh-list-item.js +1 -1
  503. package/dist/components/stzh-list.js +1 -1
  504. package/dist/components/stzh-loader.js +1 -1
  505. package/dist/components/stzh-loadingbar.js +1 -1
  506. package/dist/components/stzh-menu-item.js +1 -1
  507. package/dist/components/stzh-menu.js +1 -1
  508. package/dist/components/stzh-message.js +1 -1
  509. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  510. package/dist/components/stzh-monthyearpicker.js +5 -5
  511. package/dist/components/stzh-offline-indicator.js +6 -6
  512. package/dist/components/stzh-olmap.js +1 -1
  513. package/dist/components/stzh-overlay.js +1 -1
  514. package/dist/components/stzh-page-skiplinks.js +1 -1
  515. package/dist/components/stzh-pagebottom.js +8 -8
  516. package/dist/components/stzh-pagecontent.js +1 -1
  517. package/dist/components/stzh-pagetitle-hero.js +1 -1
  518. package/dist/components/stzh-pagetitle-home.js +2 -2
  519. package/dist/components/stzh-pagetitle.js +2 -2
  520. package/dist/components/stzh-pagination.js +1 -1
  521. package/dist/components/stzh-panorama.js +12 -12
  522. package/dist/components/stzh-pi-content-navigation.js +3 -3
  523. package/dist/components/stzh-pi-menu.js +3 -3
  524. package/dist/components/stzh-pi-pagetitle.js +2 -2
  525. package/dist/components/stzh-pi-quote.js +1 -1
  526. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  527. package/dist/components/stzh-pi-teaser-layout.js +1 -1
  528. package/dist/components/stzh-pi-teaser.js +2 -2
  529. package/dist/components/stzh-pkzh-qr.js +19 -19
  530. package/dist/components/stzh-poicard.js +1 -1
  531. package/dist/components/stzh-poilist.js +18 -18
  532. package/dist/components/stzh-popover.js +1 -1
  533. package/dist/components/stzh-print.js +1 -1
  534. package/dist/components/stzh-quote.js +1 -1
  535. package/dist/components/stzh-radio.js +1 -1
  536. package/dist/components/stzh-radiogroup.js +1 -1
  537. package/dist/components/stzh-rating.js +5 -5
  538. package/dist/components/stzh-ratio.js +1 -1
  539. package/dist/components/stzh-readspeaker.js +5 -5
  540. package/dist/components/stzh-richtext.js +1 -1
  541. package/dist/components/stzh-row.js +1 -1
  542. package/dist/components/stzh-saptcha.js +8 -8
  543. package/dist/components/stzh-scrollup.js +1 -1
  544. package/dist/components/stzh-search.js +17 -17
  545. package/dist/components/stzh-section.js +2 -2
  546. package/dist/components/stzh-share.js +1 -1
  547. package/dist/components/stzh-show.js +1 -1
  548. package/dist/components/stzh-sitemap.js +9 -9
  549. package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
  550. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  551. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  552. package/dist/components/stzh-skiplink.js +1 -1
  553. package/dist/components/stzh-socialmediastream-item.js +1 -1
  554. package/dist/components/stzh-socialmediastream.js +6 -6
  555. package/dist/components/stzh-sortable.js +1 -1
  556. package/dist/components/stzh-space.js +1 -1
  557. package/dist/components/stzh-status.js +1 -1
  558. package/dist/components/stzh-stepper-item.js +1 -1
  559. package/dist/components/stzh-stepper.js +5 -5
  560. package/dist/components/stzh-sticky-actions.js +2 -2
  561. package/dist/components/stzh-sticky.js +1 -1
  562. package/dist/components/stzh-table.js +1 -1
  563. package/dist/components/stzh-tag.js +1 -1
  564. package/dist/components/stzh-text.js +1 -1
  565. package/dist/components/stzh-textandimage.js +1 -1
  566. package/dist/components/stzh-timeline-item.js +3 -3
  567. package/dist/components/stzh-timeline.js +1 -1
  568. package/dist/components/stzh-timepicker.js +5 -5
  569. package/dist/components/stzh-toast.js +1 -1
  570. package/dist/components/stzh-toastbar.js +1 -1
  571. package/dist/components/stzh-toggle.js +6 -6
  572. package/dist/components/stzh-tooltip.js +1 -1
  573. package/dist/components/stzh-twocolumns.js +1 -1
  574. package/dist/components/stzh-upload.js +13 -13
  575. package/dist/components/stzh-vbz-carousel.js +1 -1
  576. package/dist/components/stzh-vbz-intro.js +4 -4
  577. package/dist/components/stzh-vbz-linechip.js +1 -1
  578. package/dist/components/stzh-vbz-majorticker.js +7 -7
  579. package/dist/components/stzh-vbz-ticker.js +7 -7
  580. package/dist/components/stzh-visuallyhidden.js +2 -2
  581. package/dist/components/stzh-vspace.js +2 -2
  582. package/dist/components/stzh-youtube.js +6 -6
  583. package/dist/esm/{app-globals-54af31db.js → app-globals-a962cea2.js} +2 -2
  584. package/dist/esm/{app-globals-54af31db.js.map → app-globals-a962cea2.js.map} +1 -1
  585. package/dist/esm/index.js +1 -1
  586. package/dist/esm/index.js.map +1 -1
  587. package/dist/esm/loader.js +2 -2
  588. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  589. package/dist/esm/stzh-actions_6.entry.js +10 -10
  590. package/dist/esm/stzh-actions_6.entry.js.map +1 -1
  591. package/dist/esm/stzh-actionset.entry.js +5 -5
  592. package/dist/esm/stzh-amount.entry.js +1 -1
  593. package/dist/esm/stzh-anchornav.entry.js +1 -1
  594. package/dist/esm/stzh-app-nav.entry.js +1 -1
  595. package/dist/esm/stzh-appointments.entry.js +1 -1
  596. package/dist/esm/stzh-audio.entry.js +3 -3
  597. package/dist/esm/stzh-badge_3.entry.js +3 -3
  598. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  599. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  600. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  601. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  602. package/dist/esm/stzh-card.entry.js +4 -4
  603. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  604. package/dist/esm/stzh-carousel.entry.js +2 -2
  605. package/dist/esm/stzh-chart.entry.js +1 -1
  606. package/dist/esm/stzh-checkbox.entry.js +3 -3
  607. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  608. package/dist/esm/stzh-chip.entry.js +1 -1
  609. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  610. package/dist/esm/stzh-chipselect.entry.js +4 -4
  611. package/dist/esm/stzh-clamp.entry.js +2 -2
  612. package/dist/esm/stzh-company-logo.entry.js +1 -1
  613. package/dist/esm/stzh-components.js +2 -2
  614. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  615. package/dist/esm/stzh-contact.entry.js +20 -2
  616. package/dist/esm/stzh-contact.entry.js.map +1 -1
  617. package/dist/esm/stzh-content.entry.js +1 -1
  618. package/dist/esm/stzh-cta.entry.js +1 -1
  619. package/dist/esm/stzh-datalist_3.entry.js +4 -4
  620. package/dist/esm/stzh-datalist_3.entry.js.map +1 -1
  621. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  622. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  623. package/dist/esm/stzh-datepicker_3.entry.js +9 -9
  624. package/dist/esm/stzh-daterange.entry.js +1 -1
  625. package/dist/esm/stzh-details.entry.js +1 -1
  626. package/dist/esm/stzh-dialog.entry.js +2 -2
  627. package/dist/esm/stzh-disturber.entry.js +1 -1
  628. package/dist/esm/stzh-dropdown.entry.js +4 -4
  629. package/dist/esm/stzh-editor.entry.js +1 -1
  630. package/dist/esm/stzh-eventdata.entry.js +1 -1
  631. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  632. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  633. package/dist/esm/stzh-feedreader.entry.js +1 -1
  634. package/dist/esm/stzh-figure.entry.js +1 -1
  635. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  636. package/dist/esm/stzh-footer.entry.js +1 -1
  637. package/dist/esm/stzh-gallery.entry.js +1 -1
  638. package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
  639. package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
  640. package/dist/esm/stzh-header_2.entry.js +1 -1
  641. package/dist/esm/stzh-heading.entry.js +1 -1
  642. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  643. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  644. package/dist/esm/stzh-hr.entry.js +1 -1
  645. package/dist/esm/stzh-hspace.entry.js +2 -2
  646. package/dist/esm/stzh-http-error.entry.js +1 -1
  647. package/dist/esm/stzh-iframe.entry.js +4 -4
  648. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  649. package/dist/esm/stzh-input.entry.js +5 -5
  650. package/dist/esm/stzh-invert.entry.js +1 -1
  651. package/dist/esm/stzh-link.entry.js +1 -1
  652. package/dist/esm/stzh-linklist.entry.js +1 -1
  653. package/dist/esm/stzh-list_2.entry.js +2 -2
  654. package/dist/esm/stzh-loader_2.entry.js +2 -2
  655. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  656. package/dist/esm/stzh-menu_2.entry.js +2 -2
  657. package/dist/esm/stzh-message.entry.js +2 -2
  658. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  659. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  660. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  661. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  662. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  663. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  664. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  665. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  666. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  667. package/dist/esm/stzh-panorama.entry.js +2 -2
  668. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  669. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  670. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  671. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  672. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  673. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  674. package/dist/esm/stzh-poicard.entry.js +1 -1
  675. package/dist/esm/stzh-poilist.entry.js +1 -1
  676. package/dist/esm/stzh-popover.entry.js +1 -1
  677. package/dist/esm/stzh-print_2.entry.js +2 -2
  678. package/dist/esm/stzh-quote.entry.js +1 -1
  679. package/dist/esm/stzh-rating.entry.js +2 -2
  680. package/dist/esm/stzh-ratio.entry.js +1 -1
  681. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  682. package/dist/esm/stzh-saptcha.entry.js +2 -2
  683. package/dist/esm/stzh-scrollup.entry.js +1 -1
  684. package/dist/esm/stzh-search.entry.js +2 -2
  685. package/dist/esm/stzh-section.entry.js +2 -2
  686. package/dist/esm/stzh-sitemap.entry.js +1 -1
  687. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
  688. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  689. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  690. package/dist/esm/stzh-skiplink.entry.js +1 -1
  691. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  692. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  693. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  694. package/dist/esm/stzh-stepper.entry.js +3 -3
  695. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  696. package/dist/esm/stzh-sticky.entry.js +1 -1
  697. package/dist/esm/stzh-table.entry.js +1 -1
  698. package/dist/esm/stzh-text.entry.js +2 -2
  699. package/dist/esm/stzh-textandimage.entry.js +1 -1
  700. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  701. package/dist/esm/stzh-timeline.entry.js +1 -1
  702. package/dist/esm/stzh-timepicker.entry.js +1 -1
  703. package/dist/esm/stzh-toast_2.entry.js +3 -3
  704. package/dist/esm/stzh-toggle.entry.js +3 -3
  705. package/dist/esm/stzh-tooltip.entry.js +1 -1
  706. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  707. package/dist/esm/stzh-upload.entry.js +2 -2
  708. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  709. package/dist/esm/stzh-vspace.entry.js +2 -2
  710. package/dist/esm/stzh-youtube.entry.js +1 -1
  711. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_300.woff2 +0 -0
  712. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_400.woff2 +0 -0
  713. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_500.woff2 +0 -0
  714. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_700.woff2 +0 -0
  715. package/dist/stzh-components/assets/pkzh/fonts.css +38 -0
  716. package/dist/stzh-components/index.esm.js.map +1 -1
  717. package/dist/stzh-components/{p-6be020d8.entry.js → p-00af01ab.entry.js} +2 -2
  718. package/dist/stzh-components/p-01c8a73f.entry.js +2 -0
  719. package/dist/stzh-components/p-01c8a73f.entry.js.map +1 -0
  720. package/dist/stzh-components/{p-af1aa423.entry.js → p-0504563f.entry.js} +2 -2
  721. package/dist/stzh-components/{p-1661b89f.entry.js → p-0585149c.entry.js} +2 -2
  722. package/dist/stzh-components/{p-a75c4682.entry.js → p-0585ce30.entry.js} +2 -2
  723. package/dist/stzh-components/{p-0f546f1c.entry.js → p-07f62cf8.entry.js} +2 -2
  724. package/dist/stzh-components/p-08a557a9.entry.js +2 -0
  725. package/dist/stzh-components/{p-03c2d367.entry.js.map → p-08a557a9.entry.js.map} +1 -1
  726. package/dist/stzh-components/{p-dcb909a2.entry.js → p-0b121c06.entry.js} +2 -2
  727. package/dist/stzh-components/{p-93424a61.entry.js → p-0c40b74a.entry.js} +2 -2
  728. package/dist/stzh-components/{p-b4bae13a.entry.js → p-0d7b090a.entry.js} +2 -2
  729. package/dist/stzh-components/{p-e75cde0c.entry.js → p-0edd3842.entry.js} +2 -2
  730. package/dist/stzh-components/{p-dac4534c.entry.js → p-11256084.entry.js} +2 -2
  731. package/dist/stzh-components/{p-65e099a0.entry.js → p-13881ff2.entry.js} +2 -2
  732. package/dist/stzh-components/{p-f3081e0e.entry.js → p-15c6b254.entry.js} +2 -2
  733. package/dist/stzh-components/{p-34c68f20.entry.js → p-15f3c6a1.entry.js} +2 -2
  734. package/dist/stzh-components/{p-ca5bd81c.entry.js → p-18773f9c.entry.js} +2 -2
  735. package/dist/stzh-components/{p-32448e73.entry.js → p-1afb2913.entry.js} +2 -2
  736. package/dist/stzh-components/{p-47e0ff99.entry.js → p-1d4cd8ef.entry.js} +2 -2
  737. package/dist/stzh-components/{p-21925456.entry.js → p-1febc09c.entry.js} +2 -2
  738. package/dist/stzh-components/{p-d7ee085c.entry.js → p-212107e4.entry.js} +2 -2
  739. package/dist/stzh-components/{p-7bc4d471.entry.js → p-21c8ffbe.entry.js} +2 -2
  740. package/dist/stzh-components/p-24daddfd.entry.js +2 -0
  741. package/dist/stzh-components/{p-724a8351.entry.js.map → p-24daddfd.entry.js.map} +1 -1
  742. package/dist/stzh-components/{p-cfbc4a5e.entry.js → p-30190507.entry.js} +5 -5
  743. package/dist/stzh-components/{p-0685f2ae.entry.js → p-3064f4b9.entry.js} +2 -2
  744. package/dist/stzh-components/{p-26792e28.entry.js → p-313272ee.entry.js} +2 -2
  745. package/dist/stzh-components/{p-ebb4b12f.entry.js → p-36566fb3.entry.js} +2 -2
  746. package/dist/stzh-components/{p-367bbe3a.entry.js → p-376b1e91.entry.js} +2 -2
  747. package/dist/stzh-components/{p-72203e1d.entry.js → p-37b753b7.entry.js} +2 -2
  748. package/dist/stzh-components/{p-d0fa719e.entry.js → p-380d1021.entry.js} +2 -2
  749. package/dist/stzh-components/{p-1bb06be6.entry.js → p-38570073.entry.js} +2 -2
  750. package/dist/stzh-components/{p-94b7f926.entry.js → p-3a0112f4.entry.js} +2 -2
  751. package/dist/stzh-components/{p-a3645199.entry.js → p-3d003eed.entry.js} +2 -2
  752. package/dist/stzh-components/{p-d7fa3375.entry.js → p-3dcf3123.entry.js} +2 -2
  753. package/dist/stzh-components/{p-766dea66.entry.js → p-3e7c18ce.entry.js} +2 -2
  754. package/dist/stzh-components/{p-6ee6bc09.entry.js → p-3f4afd76.entry.js} +2 -2
  755. package/dist/stzh-components/{p-f90192c8.entry.js → p-42ec2ee3.entry.js} +3 -3
  756. package/dist/stzh-components/{p-d6b61be3.entry.js → p-44a7b08b.entry.js} +2 -2
  757. package/dist/stzh-components/{p-aab54c81.entry.js → p-4b78606f.entry.js} +2 -2
  758. package/dist/stzh-components/p-4d076834.entry.js +2 -0
  759. package/dist/stzh-components/{p-f61e61e7.entry.js.map → p-4d076834.entry.js.map} +1 -1
  760. package/dist/stzh-components/{p-16552049.entry.js → p-50a81b5c.entry.js} +2 -2
  761. package/dist/stzh-components/{p-4c8d577f.entry.js → p-51b68c35.entry.js} +2 -2
  762. package/dist/stzh-components/{p-4dbbea21.entry.js → p-51e9d435.entry.js} +2 -2
  763. package/dist/stzh-components/{p-7cfa54b9.entry.js → p-520572a4.entry.js} +2 -2
  764. package/dist/stzh-components/p-53fbd93e.entry.js +2 -0
  765. package/dist/stzh-components/p-53fbd93e.entry.js.map +1 -0
  766. package/dist/stzh-components/{p-5dc298a4.entry.js → p-54ba4496.entry.js} +2 -2
  767. package/dist/stzh-components/{p-caf867f9.entry.js → p-57741e12.entry.js} +2 -2
  768. package/dist/stzh-components/{p-015a35bf.entry.js → p-5aa87281.entry.js} +2 -2
  769. package/dist/stzh-components/{p-51bf87d0.entry.js → p-5c573f4b.entry.js} +2 -2
  770. package/dist/stzh-components/{p-727c30cf.entry.js → p-5e21b961.entry.js} +2 -2
  771. package/dist/stzh-components/{p-c41804d9.entry.js → p-60b7b273.entry.js} +2 -2
  772. package/dist/stzh-components/{p-16999a74.entry.js → p-612a1929.entry.js} +2 -2
  773. package/dist/stzh-components/{p-ac335416.entry.js → p-634ffbf2.entry.js} +2 -2
  774. package/dist/stzh-components/{p-bc7c5263.entry.js → p-677e9a04.entry.js} +2 -2
  775. package/dist/stzh-components/{p-24122dbc.entry.js → p-6d918b8b.entry.js} +2 -2
  776. package/dist/stzh-components/p-6dd89068.entry.js +2 -0
  777. package/dist/stzh-components/p-6dd89068.entry.js.map +1 -0
  778. package/dist/stzh-components/{p-b145722f.entry.js → p-6e273ca9.entry.js} +2 -2
  779. package/dist/stzh-components/{p-8e133247.entry.js → p-70805ea3.entry.js} +2 -2
  780. package/dist/stzh-components/{p-44e26f4d.entry.js → p-714fdd73.entry.js} +2 -2
  781. package/dist/stzh-components/{p-664e7a09.entry.js → p-7157b3d2.entry.js} +2 -2
  782. package/dist/stzh-components/{p-4539e17f.entry.js → p-71a0881e.entry.js} +2 -2
  783. package/dist/stzh-components/{p-0d54bcfc.entry.js → p-7254baa2.entry.js} +2 -2
  784. package/dist/stzh-components/{p-f52f7eca.entry.js → p-725611a0.entry.js} +2 -2
  785. package/dist/stzh-components/{p-42a3a0df.entry.js → p-7c4475b1.entry.js} +2 -2
  786. package/dist/stzh-components/{p-450c13f2.entry.js → p-7ec80efc.entry.js} +2 -2
  787. package/dist/stzh-components/{p-1844d99e.entry.js → p-813d6494.entry.js} +2 -2
  788. package/dist/stzh-components/{p-1617973f.entry.js → p-8b77de57.entry.js} +2 -2
  789. package/dist/stzh-components/{p-4f3149ca.entry.js → p-8f72e5ce.entry.js} +2 -2
  790. package/dist/stzh-components/{p-12146af8.entry.js → p-9310dbb5.entry.js} +2 -2
  791. package/dist/stzh-components/{p-90d922fd.entry.js → p-9323a970.entry.js} +2 -2
  792. package/dist/stzh-components/{p-38104164.entry.js → p-93a9a09c.entry.js} +2 -2
  793. package/dist/stzh-components/{p-c5c745e5.entry.js → p-94c29a35.entry.js} +2 -2
  794. package/dist/stzh-components/{p-52bd96fc.entry.js → p-950ee2ec.entry.js} +2 -2
  795. package/dist/stzh-components/{p-dacee3d1.entry.js → p-96b1ae9c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-d516d56c.entry.js → p-9868d9ae.entry.js} +2 -2
  797. package/dist/stzh-components/{p-2096b877.entry.js → p-9b858b7e.entry.js} +2 -2
  798. package/dist/stzh-components/{p-582d0259.entry.js → p-9c552bd1.entry.js} +2 -2
  799. package/dist/stzh-components/{p-51757803.entry.js → p-9d2ad387.entry.js} +2 -2
  800. package/dist/stzh-components/{p-ec2ac6e9.entry.js → p-9dc09551.entry.js} +2 -2
  801. package/dist/stzh-components/{p-5725e544.entry.js → p-a06207b8.entry.js} +2 -2
  802. package/dist/stzh-components/{p-3071b6f4.entry.js → p-a3227cea.entry.js} +2 -2
  803. package/dist/stzh-components/{p-a58186a9.entry.js → p-a70467f7.entry.js} +2 -2
  804. package/dist/stzh-components/{p-61491246.entry.js → p-a9dd7134.entry.js} +2 -2
  805. package/dist/stzh-components/p-aa1fd7fa.entry.js +2 -0
  806. package/dist/stzh-components/{p-01d926d8.entry.js.map → p-aa1fd7fa.entry.js.map} +1 -1
  807. package/dist/stzh-components/{p-3056b956.entry.js → p-aa2dc10d.entry.js} +2 -2
  808. package/dist/stzh-components/{p-a12cf3bc.entry.js → p-ab5f9e27.entry.js} +2 -2
  809. package/dist/stzh-components/{p-c1508338.entry.js → p-aba14be2.entry.js} +2 -2
  810. package/dist/stzh-components/{p-5fb90f9a.entry.js → p-aca1cbd6.entry.js} +2 -2
  811. package/dist/stzh-components/{p-b4717a3f.entry.js → p-ad19757b.entry.js} +2 -2
  812. package/dist/stzh-components/{p-1f668f53.entry.js → p-adaa79bd.entry.js} +2 -2
  813. package/dist/stzh-components/{p-92bdcdad.entry.js → p-ae585293.entry.js} +2 -2
  814. package/dist/stzh-components/{p-1187dcb3.entry.js → p-b1695c60.entry.js} +2 -2
  815. package/dist/stzh-components/{p-03e628b9.entry.js → p-b4743671.entry.js} +2 -2
  816. package/dist/stzh-components/{p-b9a928bc.entry.js → p-b4a10537.entry.js} +2 -2
  817. package/dist/stzh-components/{p-b5d4e8b9.entry.js → p-b4e7663d.entry.js} +2 -2
  818. package/dist/stzh-components/{p-6f7f7e18.entry.js → p-b82d52b4.entry.js} +2 -2
  819. package/dist/stzh-components/{p-bc837007.entry.js → p-c18cc444.entry.js} +2 -2
  820. package/dist/stzh-components/{p-a38f6851.entry.js → p-c4b1b9b7.entry.js} +2 -2
  821. package/dist/stzh-components/{p-35be1f2c.entry.js → p-c58f66b7.entry.js} +2 -2
  822. package/dist/stzh-components/{p-a8292b13.entry.js → p-c59f6429.entry.js} +2 -2
  823. package/dist/stzh-components/{p-c95bce0d.entry.js → p-c820956f.entry.js} +2 -2
  824. package/dist/stzh-components/{p-7844b15a.entry.js → p-cf54a5bd.entry.js} +2 -2
  825. package/dist/stzh-components/{p-cb058b56.entry.js → p-d0e8b48e.entry.js} +2 -2
  826. package/dist/stzh-components/{p-a4cbd257.entry.js → p-d2a58660.entry.js} +2 -2
  827. package/dist/stzh-components/{p-171c0dda.entry.js → p-d3f703c6.entry.js} +2 -2
  828. package/dist/stzh-components/p-d68f208f.js +2 -0
  829. package/dist/stzh-components/{p-72f2cb18.js.map → p-d68f208f.js.map} +1 -1
  830. package/dist/stzh-components/{p-238df85d.entry.js → p-d9ebe00b.entry.js} +2 -2
  831. package/dist/stzh-components/{p-1f4f76b1.entry.js → p-df6b51ac.entry.js} +2 -2
  832. package/dist/stzh-components/{p-6102443e.entry.js → p-e0ec6540.entry.js} +2 -2
  833. package/dist/stzh-components/{p-640e445b.entry.js → p-e1a372e1.entry.js} +2 -2
  834. package/dist/stzh-components/{p-0c67e0f8.entry.js → p-e1c5bced.entry.js} +2 -2
  835. package/dist/stzh-components/{p-f52e344a.entry.js → p-e45aaf19.entry.js} +2 -2
  836. package/dist/stzh-components/{p-d2a97efc.entry.js → p-ea2405de.entry.js} +2 -2
  837. package/dist/stzh-components/{p-21d2d28d.entry.js → p-eb20ffc3.entry.js} +2 -2
  838. package/dist/stzh-components/{p-b95edacd.entry.js → p-ee9f0975.entry.js} +2 -2
  839. package/dist/stzh-components/{p-4b754125.entry.js → p-f5457cb8.entry.js} +2 -2
  840. package/dist/stzh-components/{p-598de693.entry.js → p-f6954485.entry.js} +2 -2
  841. package/dist/stzh-components/{p-38924948.entry.js → p-f890b3a7.entry.js} +2 -2
  842. package/dist/stzh-components/{p-c7d82187.entry.js → p-fa4849df.entry.js} +2 -2
  843. package/dist/stzh-components/{p-c11a73d2.entry.js → p-ff5abecf.entry.js} +2 -2
  844. package/dist/stzh-components/stzh-components.css +21 -18
  845. package/dist/stzh-components/stzh-components.esm.js +1 -1
  846. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  847. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +10 -1
  848. package/dist/types/components.d.ts +10 -2
  849. package/dist/types/index.d.ts +22 -3
  850. package/dist/vscode-data.json +4 -0
  851. package/package.json +1 -1
  852. package/dist/components/p-136ea314.js.map +0 -1
  853. package/dist/components/p-ad34b5e0.js +0 -83
  854. package/dist/components/p-ad34b5e0.js.map +0 -1
  855. package/dist/components/p-f5779736.js.map +0 -1
  856. package/dist/stzh-components/p-01d926d8.entry.js +0 -2
  857. package/dist/stzh-components/p-03c2d367.entry.js +0 -2
  858. package/dist/stzh-components/p-2799b96b.entry.js +0 -2
  859. package/dist/stzh-components/p-2799b96b.entry.js.map +0 -1
  860. package/dist/stzh-components/p-3bc24ea1.entry.js +0 -2
  861. package/dist/stzh-components/p-3bc24ea1.entry.js.map +0 -1
  862. package/dist/stzh-components/p-724a8351.entry.js +0 -2
  863. package/dist/stzh-components/p-72f2cb18.js +0 -2
  864. package/dist/stzh-components/p-c8e1e524.entry.js +0 -2
  865. package/dist/stzh-components/p-c8e1e524.entry.js.map +0 -1
  866. package/dist/stzh-components/p-f61e61e7.entry.js +0 -2
  867. /package/dist/stzh-components/{p-6be020d8.entry.js.map → p-00af01ab.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-af1aa423.entry.js.map → p-0504563f.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-1661b89f.entry.js.map → p-0585149c.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-a75c4682.entry.js.map → p-0585ce30.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-0f546f1c.entry.js.map → p-07f62cf8.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-dcb909a2.entry.js.map → p-0b121c06.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-93424a61.entry.js.map → p-0c40b74a.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-b4bae13a.entry.js.map → p-0d7b090a.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-e75cde0c.entry.js.map → p-0edd3842.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-dac4534c.entry.js.map → p-11256084.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-65e099a0.entry.js.map → p-13881ff2.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-f3081e0e.entry.js.map → p-15c6b254.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-34c68f20.entry.js.map → p-15f3c6a1.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-ca5bd81c.entry.js.map → p-18773f9c.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-32448e73.entry.js.map → p-1afb2913.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-47e0ff99.entry.js.map → p-1d4cd8ef.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-21925456.entry.js.map → p-1febc09c.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-d7ee085c.entry.js.map → p-212107e4.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-7bc4d471.entry.js.map → p-21c8ffbe.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-cfbc4a5e.entry.js.map → p-30190507.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-0685f2ae.entry.js.map → p-3064f4b9.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-26792e28.entry.js.map → p-313272ee.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-ebb4b12f.entry.js.map → p-36566fb3.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-367bbe3a.entry.js.map → p-376b1e91.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-72203e1d.entry.js.map → p-37b753b7.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-d0fa719e.entry.js.map → p-380d1021.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-1bb06be6.entry.js.map → p-38570073.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-94b7f926.entry.js.map → p-3a0112f4.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-a3645199.entry.js.map → p-3d003eed.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-d7fa3375.entry.js.map → p-3dcf3123.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-766dea66.entry.js.map → p-3e7c18ce.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-6ee6bc09.entry.js.map → p-3f4afd76.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-f90192c8.entry.js.map → p-42ec2ee3.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-d6b61be3.entry.js.map → p-44a7b08b.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-aab54c81.entry.js.map → p-4b78606f.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-16552049.entry.js.map → p-50a81b5c.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-4c8d577f.entry.js.map → p-51b68c35.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-4dbbea21.entry.js.map → p-51e9d435.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-7cfa54b9.entry.js.map → p-520572a4.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-5dc298a4.entry.js.map → p-54ba4496.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-caf867f9.entry.js.map → p-57741e12.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-015a35bf.entry.js.map → p-5aa87281.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-51bf87d0.entry.js.map → p-5c573f4b.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-727c30cf.entry.js.map → p-5e21b961.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-c41804d9.entry.js.map → p-60b7b273.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-16999a74.entry.js.map → p-612a1929.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-ac335416.entry.js.map → p-634ffbf2.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-bc7c5263.entry.js.map → p-677e9a04.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-24122dbc.entry.js.map → p-6d918b8b.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-b145722f.entry.js.map → p-6e273ca9.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-8e133247.entry.js.map → p-70805ea3.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-44e26f4d.entry.js.map → p-714fdd73.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-664e7a09.entry.js.map → p-7157b3d2.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-4539e17f.entry.js.map → p-71a0881e.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-0d54bcfc.entry.js.map → p-7254baa2.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-f52f7eca.entry.js.map → p-725611a0.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-42a3a0df.entry.js.map → p-7c4475b1.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-450c13f2.entry.js.map → p-7ec80efc.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-1844d99e.entry.js.map → p-813d6494.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-1617973f.entry.js.map → p-8b77de57.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-4f3149ca.entry.js.map → p-8f72e5ce.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-12146af8.entry.js.map → p-9310dbb5.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-90d922fd.entry.js.map → p-9323a970.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-38104164.entry.js.map → p-93a9a09c.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-c5c745e5.entry.js.map → p-94c29a35.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-52bd96fc.entry.js.map → p-950ee2ec.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-dacee3d1.entry.js.map → p-96b1ae9c.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-d516d56c.entry.js.map → p-9868d9ae.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-2096b877.entry.js.map → p-9b858b7e.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-582d0259.entry.js.map → p-9c552bd1.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-51757803.entry.js.map → p-9d2ad387.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-ec2ac6e9.entry.js.map → p-9dc09551.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-5725e544.entry.js.map → p-a06207b8.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-3071b6f4.entry.js.map → p-a3227cea.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-a58186a9.entry.js.map → p-a70467f7.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-61491246.entry.js.map → p-a9dd7134.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-3056b956.entry.js.map → p-aa2dc10d.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-a12cf3bc.entry.js.map → p-ab5f9e27.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-c1508338.entry.js.map → p-aba14be2.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-5fb90f9a.entry.js.map → p-aca1cbd6.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-b4717a3f.entry.js.map → p-ad19757b.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-1f668f53.entry.js.map → p-adaa79bd.entry.js.map} +0 -0
  949. /package/dist/stzh-components/{p-92bdcdad.entry.js.map → p-ae585293.entry.js.map} +0 -0
  950. /package/dist/stzh-components/{p-1187dcb3.entry.js.map → p-b1695c60.entry.js.map} +0 -0
  951. /package/dist/stzh-components/{p-03e628b9.entry.js.map → p-b4743671.entry.js.map} +0 -0
  952. /package/dist/stzh-components/{p-b9a928bc.entry.js.map → p-b4a10537.entry.js.map} +0 -0
  953. /package/dist/stzh-components/{p-b5d4e8b9.entry.js.map → p-b4e7663d.entry.js.map} +0 -0
  954. /package/dist/stzh-components/{p-6f7f7e18.entry.js.map → p-b82d52b4.entry.js.map} +0 -0
  955. /package/dist/stzh-components/{p-bc837007.entry.js.map → p-c18cc444.entry.js.map} +0 -0
  956. /package/dist/stzh-components/{p-a38f6851.entry.js.map → p-c4b1b9b7.entry.js.map} +0 -0
  957. /package/dist/stzh-components/{p-35be1f2c.entry.js.map → p-c58f66b7.entry.js.map} +0 -0
  958. /package/dist/stzh-components/{p-a8292b13.entry.js.map → p-c59f6429.entry.js.map} +0 -0
  959. /package/dist/stzh-components/{p-c95bce0d.entry.js.map → p-c820956f.entry.js.map} +0 -0
  960. /package/dist/stzh-components/{p-7844b15a.entry.js.map → p-cf54a5bd.entry.js.map} +0 -0
  961. /package/dist/stzh-components/{p-cb058b56.entry.js.map → p-d0e8b48e.entry.js.map} +0 -0
  962. /package/dist/stzh-components/{p-a4cbd257.entry.js.map → p-d2a58660.entry.js.map} +0 -0
  963. /package/dist/stzh-components/{p-171c0dda.entry.js.map → p-d3f703c6.entry.js.map} +0 -0
  964. /package/dist/stzh-components/{p-238df85d.entry.js.map → p-d9ebe00b.entry.js.map} +0 -0
  965. /package/dist/stzh-components/{p-1f4f76b1.entry.js.map → p-df6b51ac.entry.js.map} +0 -0
  966. /package/dist/stzh-components/{p-6102443e.entry.js.map → p-e0ec6540.entry.js.map} +0 -0
  967. /package/dist/stzh-components/{p-640e445b.entry.js.map → p-e1a372e1.entry.js.map} +0 -0
  968. /package/dist/stzh-components/{p-0c67e0f8.entry.js.map → p-e1c5bced.entry.js.map} +0 -0
  969. /package/dist/stzh-components/{p-f52e344a.entry.js.map → p-e45aaf19.entry.js.map} +0 -0
  970. /package/dist/stzh-components/{p-d2a97efc.entry.js.map → p-ea2405de.entry.js.map} +0 -0
  971. /package/dist/stzh-components/{p-21d2d28d.entry.js.map → p-eb20ffc3.entry.js.map} +0 -0
  972. /package/dist/stzh-components/{p-b95edacd.entry.js.map → p-ee9f0975.entry.js.map} +0 -0
  973. /package/dist/stzh-components/{p-4b754125.entry.js.map → p-f5457cb8.entry.js.map} +0 -0
  974. /package/dist/stzh-components/{p-598de693.entry.js.map → p-f6954485.entry.js.map} +0 -0
  975. /package/dist/stzh-components/{p-38924948.entry.js.map → p-f890b3a7.entry.js.map} +0 -0
  976. /package/dist/stzh-components/{p-c7d82187.entry.js.map → p-fa4849df.entry.js.map} +0 -0
  977. /package/dist/stzh-components/{p-c11a73d2.entry.js.map → p-ff5abecf.entry.js.map} +0 -0
@@ -57,9 +57,9 @@ const StzhShow = /*@__PURE__*/ proxyCustomElement(class StzhShow extends H {
57
57
  }
58
58
  render() {
59
59
  const timeNow = Date.now();
60
- return (h(Host, { key: '3988fe96092873f8c40cb1263e94c6a58f9cda2f', hidden: (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||
60
+ return (h(Host, { key: '95863d44444ce6ec7c22af7758e3beda645f54dd', hidden: (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||
61
61
  (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||
62
- this.closedByCookie }, h("slot", { key: 'c8694ec29f887ad4bfca6b11474fc147d3c4c1eb' })));
62
+ this.closedByCookie }, h("slot", { key: '5de68cb64563e470ed611adac04814c6676ad220' })));
63
63
  }
64
64
  get element() { return this; }
65
65
  static get watchers() { return {
@@ -96,4 +96,4 @@ function defineCustomElement() {
96
96
 
97
97
  export { StzhShow as S, defineCustomElement as d };
98
98
 
99
- //# sourceMappingURL=p-adfe9c18.js.map
99
+ //# sourceMappingURL=p-18f73dde.js.map
@@ -1 +1 @@
1
- {"file":"p-adfe9c18.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,82DAA82D,CAAC;AACn4D,uBAAe,WAAW;;ACK1B,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;MAUzC,QAAQ;;;;;QAyEX,mBAAc,GAAY,KAAK,CAAC;;;;;;;;wBA3Cb,EAAE;;IAG7B,YAAY,CAAC,KAA0F;QACrG,IAAI,CAAC,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;YACtF,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,MAAM,CAAC,GAAG,CAAC,GAAG,gBAAgB,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;aAC3E;SACF;KACF;IAGD,mBAAmB,CAA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,aAAa,CAAC,OAAO,EAAE,CAAC;gBAC/D,IAAI,CAAC,cAAc,IAGrB,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-show/stzh-show.scss?tag=stzh-show&encapsulation=shadow","src/components/stzh-show/stzh-show.tsx"],"sourcesContent":["/**\n * @prop --show-display: Display value that is used when content is shown (default `block`)\n * @prop --hide-display: Display value that is used when content is hidden (default `none`)\n * @prop --current-display: Current display value (readonly)\n */\n\n:host {\n --show-display: contents;\n --hide-display: none;\n --current-display: var(--hide-display);\n\n display: var(--current-display);\n}\n\n/* Mikro */\n\n:host([mikro]) {\n --current-display: var(--show-display);\n}\n\n:host([mikro=\"false\"]) {\n --current-display: var(--hide-display);\n}\n\n/* Small */\n\n:host([small]) {\n @include mq($from: small) {\n --current-display: var(--show-display);\n }\n}\n\n:host([small=\"false\"]) {\n @include mq($from: small) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Medium */\n\n:host([medium]) {\n @include mq($from: medium) {\n --current-display: var(--show-display);\n }\n}\n\n:host([medium=\"false\"]) {\n @include mq($from: medium) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Large */\n\n:host([large]) {\n @include mq($from: large) {\n --current-display: var(--show-display);\n }\n}\n\n:host([large=\"false\"]) {\n @include mq($from: large) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Ultra */\n\n:host([ultra]) {\n @include mq($from: ultra) {\n --current-display: var(--show-display);\n }\n}\n\n:host([ultra=\"false\"]) {\n @include mq($from: ultra) {\n --current-display: var(--hide-display);\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhBannerCloseEvent, StzhGhettoboxCloseEvent, StzhMessageCloseEvent } from \"../../index\";\n\nimport Cookie from \"js-cookie\";\n\nconst KEY_PREFIX_CLOSE = \"stzh-components-show-close\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true,\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Show from date */\n @Prop() showFromDate: Date | string;\n private _showFromDate: Date;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n /**\n * Close cookie name key.\n * Component will check for the cookie (stzh-components-show-close-{name})\n * and if not empty (component inside already closed before) will hide show.\n * Will also compare with showFromDate if given, to make sure cookie was set after showFromDate (otherwise will show again).\n */\n @Prop() closeKey: string = \"\";\n\n @Listen(\"stzhClose\")\n closeWatcher(event: CustomEvent<StzhBannerCloseEvent | StzhMessageCloseEvent | StzhGhettoboxCloseEvent>) {\n if ([\"stzh-banner\", \"stzh-message\", \"stzh-ghettobox\"].includes(event.detail.component)) {\n if (this.closeKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE}-${this.closeKey}`, Date.now().toString());\n }\n }\n }\n\n @Watch(\"showFromDate\")\n showFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._showFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._showFromDate = newValue;\n }\n\n let closedByCookie = false;\n\n if (this.closeKey) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE}-${this.closeKey}`);\n\n if (timeClosed && (!this._showFromDate || Number(timeClosed) >= this._showFromDate.getTime())) {\n closedByCookie = true;\n }\n }\n\n this.closedByCookie = closedByCookie;\n }\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n private closedByCookie: boolean = false;\n\n componentWillLoad() {\n this.showFromDateWatcher(this.showFromDate);\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n const timeNow = Date.now();\n\n return (\n <Host\n hidden={\n (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||\n (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||\n this.closedByCookie\n }\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-18f73dde.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,82DAA82D,CAAC;AACn4D,uBAAe,WAAW;;ACK1B,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;MAUzC,QAAQ;;;;;QAyEX,mBAAc,GAAY,KAAK,CAAC;;;;;;;;wBA3Cb,EAAE;;IAG7B,YAAY,CAAC,KAA0F;QACrG,IAAI,CAAC,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;YACtF,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,MAAM,CAAC,GAAG,CAAC,GAAG,gBAAgB,IAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;aAC3E;SACF;KACF;IAGD,mBAAmB,CAAC,QAAuB;QACzC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,IAAI,CAAC,aAAa,GAAG,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;SAC3D;aAAM;YACL,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;SAC/B;QAED,IAAI,cAAc,GAAG,KAAK,CAAC;QAE3B,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,gBAAgB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YAEtE,IAAI,UAAU,KAAK,CAAC,IAAI,CAAC,aAAa,IAAI,MAAM,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,EAAE;gBAC7F,cAAc,GAAG,IAAI,CAAC;aACvB;SACF;QAED,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;KACtC;IAGD,mBAAmB,CAAC,QAAuB;QACzC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,IAAI,CAAC,aAAa,GAAG,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;SAC3D;aAAM;YACL,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;SAC/B;KACF;IAMD,iBAAiB;QACf,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC5C,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KAC7C;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAE3B,QACE,EAAC,IAAI,qDACH,MAAM,EACJ,CAAC,IAAI,CAAC,aAAa,IAAI,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE;iBAC7D,IAAI,CAAC,aAAa,IAAI,OAAO,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;gBAC/D,IAAI,CAAC,cAAc,IAGrB,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-show/stzh-show.scss?tag=stzh-show&encapsulation=shadow","src/components/stzh-show/stzh-show.tsx"],"sourcesContent":["/**\n * @prop --show-display: Display value that is used when content is shown (default `block`)\n * @prop --hide-display: Display value that is used when content is hidden (default `none`)\n * @prop --current-display: Current display value (readonly)\n */\n\n:host {\n --show-display: contents;\n --hide-display: none;\n --current-display: var(--hide-display);\n\n display: var(--current-display);\n}\n\n/* Mikro */\n\n:host([mikro]) {\n --current-display: var(--show-display);\n}\n\n:host([mikro=\"false\"]) {\n --current-display: var(--hide-display);\n}\n\n/* Small */\n\n:host([small]) {\n @include mq($from: small) {\n --current-display: var(--show-display);\n }\n}\n\n:host([small=\"false\"]) {\n @include mq($from: small) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Medium */\n\n:host([medium]) {\n @include mq($from: medium) {\n --current-display: var(--show-display);\n }\n}\n\n:host([medium=\"false\"]) {\n @include mq($from: medium) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Large */\n\n:host([large]) {\n @include mq($from: large) {\n --current-display: var(--show-display);\n }\n}\n\n:host([large=\"false\"]) {\n @include mq($from: large) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Ultra */\n\n:host([ultra]) {\n @include mq($from: ultra) {\n --current-display: var(--show-display);\n }\n}\n\n:host([ultra=\"false\"]) {\n @include mq($from: ultra) {\n --current-display: var(--hide-display);\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhBannerCloseEvent, StzhGhettoboxCloseEvent, StzhMessageCloseEvent } from \"../../index\";\n\nimport Cookie from \"js-cookie\";\n\nconst KEY_PREFIX_CLOSE = \"stzh-components-show-close\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true,\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Show from date */\n @Prop() showFromDate: Date | string;\n private _showFromDate: Date;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n /**\n * Close cookie name key.\n * Component will check for the cookie (stzh-components-show-close-{name})\n * and if not empty (component inside already closed before) will hide show.\n * Will also compare with showFromDate if given, to make sure cookie was set after showFromDate (otherwise will show again).\n */\n @Prop() closeKey: string = \"\";\n\n @Listen(\"stzhClose\")\n closeWatcher(event: CustomEvent<StzhBannerCloseEvent | StzhMessageCloseEvent | StzhGhettoboxCloseEvent>) {\n if ([\"stzh-banner\", \"stzh-message\", \"stzh-ghettobox\"].includes(event.detail.component)) {\n if (this.closeKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE}-${this.closeKey}`, Date.now().toString());\n }\n }\n }\n\n @Watch(\"showFromDate\")\n showFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._showFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._showFromDate = newValue;\n }\n\n let closedByCookie = false;\n\n if (this.closeKey) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE}-${this.closeKey}`);\n\n if (timeClosed && (!this._showFromDate || Number(timeClosed) >= this._showFromDate.getTime())) {\n closedByCookie = true;\n }\n }\n\n this.closedByCookie = closedByCookie;\n }\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n private closedByCookie: boolean = false;\n\n componentWillLoad() {\n this.showFromDateWatcher(this.showFromDate);\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n const timeNow = Date.now();\n\n return (\n <Host\n hidden={\n (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||\n (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||\n this.closedByCookie\n }\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-8f01554b.js';
2
2
  import { s as setPropsIfNull } from './p-289f5de2.js';
3
- import { d as defineCustomElement$3 } from './p-42e86bbd.js';
4
- import { d as defineCustomElement$2 } from './p-b84d0233.js';
5
- import { d as defineCustomElement$1 } from './p-a2659715.js';
3
+ import { d as defineCustomElement$3 } from './p-b8fda153.js';
4
+ import { d as defineCustomElement$2 } from './p-ec5e2f2a.js';
5
+ import { d as defineCustomElement$1 } from './p-60d4ef07.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-error60);--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-error60);--stzh-button-secondary-background-color:var(--stzh-color-white90op);--stzh-button-secondary-hover-color:var(--stzh-color-error60);--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;padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-xxlarge)}@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}}@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)}}@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);display:flex;flex-direction:column}@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__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);margin:0;color:inherit}@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: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);--stzh-base-color:var(--richtext-color)}@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: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
  const StzhGhettoboxStyle0 = stzhGhettoboxCss;
@@ -72,7 +72,7 @@ const StzhGhettobox = /*@__PURE__*/ proxyCustomElement(class StzhGhettobox exten
72
72
  "stzh-ghettobox--has-close-button": !this.hideClose,
73
73
  };
74
74
  // TODO: Temporary workaround/bugfix for readspeaker class "rs_skip" can be removed once Readspeaker update with bugfix has arrived (ETA end of 2024).
75
- return (h(Host, { key: '07b9486204d24f9ffd8ac926f12d6b168376e2c2', hidden: !this.open }, h("div", { key: 'e728b4c2339592d95d78c7cfa53092027daff317', class: Object.assign(Object.assign({}, classes), { rs_skip: !this.open }), "aria-hidden": this.open ? "false" : "true" }, h("div", { key: 'e713155dbe1b06a1a161220c1d73f399f2b8c83a', class: "stzh-ghettobox__container" }, h("h1", { key: 'a548827bee4ded14960a55ed618dd802e8a3a8da', class: "stzh-ghettobox__hidden-title" }, this.hiddenTitle || this.localization.hiddenTitle), h("div", { key: '1992031874d92412fbd9b198885e445d7f8cf1ef', class: "stzh-ghettobox__message" }, h("div", { key: '05f7ace8f802ca10ab744fcdd37c921b92e3fed9', class: "stzh-ghettobox__text" }, h("h2", { key: '099223e2e06622718fc26126cf98e190ab346f41', class: "stzh-ghettobox__main-title" }, this.mainTitle), h("div", { key: 'a1ee6b0178bdead7a5be7a71200d5f9b6cae18ff', class: "stzh-ghettobox__description" }, this.description ? this.description : h("slot", null))), h("div", { key: '17a6094801cf5b8893c2caef3598b11138b86218', class: "stzh-ghettobox__button" }, h("slot", { key: '861af9a79943f7af4eedae7f6eef47173141536f', name: "button" }))), !this.hideClose && (h("stzh-button", { key: '77c36fa8edc07bfed825861e7030e3319fccc1c9', class: "stzh-ghettobox__close", onClick: this.onCloseButtonClick, a11yLabel: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
75
+ return (h(Host, { key: '60af32c0b51974842a79cf3009eb6d927a9458cb', hidden: !this.open }, h("div", { key: 'cad7180c991551784c6e79b35028fee7e2a32479', class: Object.assign(Object.assign({}, classes), { rs_skip: !this.open }), "aria-hidden": this.open ? "false" : "true" }, h("div", { key: 'e2006176c048e14f978fb54cb41fbc5e05295cd0', class: "stzh-ghettobox__container" }, h("h1", { key: 'd0f9d388f15d41147c64e322d12727f9937f3617', class: "stzh-ghettobox__hidden-title" }, this.hiddenTitle || this.localization.hiddenTitle), h("div", { key: 'd5f78343bd93e610e62d882bdbd4ea4ea4417024', class: "stzh-ghettobox__message" }, h("div", { key: 'f0170e5d78fd00979391e49e4fc380e774320f82', class: "stzh-ghettobox__text" }, h("h2", { key: '777d349984721b102c658434ba6216a863456dfa', class: "stzh-ghettobox__main-title" }, this.mainTitle), h("div", { key: '0efbedc9b6def02078849cf7cacfbb749b2ff94b', class: "stzh-ghettobox__description" }, this.description ? this.description : h("slot", null))), h("div", { key: 'a9db5c24920ac3ff246f703417e3a5f19d262047', class: "stzh-ghettobox__button" }, h("slot", { key: '29e393c99f213d02ee51c2ff137a3c06f1a4fa9d', name: "button" }))), !this.hideClose && (h("stzh-button", { key: 'a75623a8f58ba9f3ef71006b497d58086ac9cf4e', class: "stzh-ghettobox__close", onClick: this.onCloseButtonClick, a11yLabel: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
76
76
  }
77
77
  get element() { return this; }
78
78
  static get style() { return StzhGhettoboxStyle0; }
@@ -117,4 +117,4 @@ function defineCustomElement() {
117
117
 
118
118
  export { StzhGhettobox as S, defineCustomElement as d };
119
119
 
120
- //# sourceMappingURL=p-b8f2532a.js.map
120
+ //# sourceMappingURL=p-1ec35678.js.map
@@ -1 +1 @@
1
- {"file":"p-b8f2532a.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,yuRAAyuR,CAAC;AACnwR,4BAAe,gBAAgB;;MCelB,aAAa;;;;;;QA6ChB,uBAAkB,GAAG;YAC3B,IAAI,CAAC,IAAI,EAAE,CAAC;SACb,CAAC;QAEM,SAAI,GAAG;YACb,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,4BAA4B,CAAC,CAAC;YAExE,IAAI,MAAM,EAAE;gBACV,cAAc,CAAC,MAAM,EAAE;oBACrB,IAAI,EAAE,OAAO;oBACb,UAAU,EAAE,SAAS;oBACrB,OAAO,EAAE,WAAW;oBACpB,MAAM,EAAE,KAAK;oBACb,IAAI,EAAE,aAAa;oBACnB,YAAY,EAAE,OAAO;iBACG,CAAC,CAAC;aAC7B;SACF,CAAC;2BA5D4B,EAAE;yBAGJ,EAAE;2BAGA,EAAE;yBAGH,KAAK;;oBAcT,IAAI;;IAG7B,MAAM,IAAI;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;YACjB,SAAS,EAAE,gBAAgB;SAC5B,CAAC,CAAC;KACJ;IAGD,MAAM,IAAI;QACR,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QAClB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;YAClB,SAAS,EAAE,gBAAgB;SAC5B,CAAC,CA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,IAAI,CAAC,WAAW,GAAG,eAAa,CAAO,CAChG,EACN,4DAAK,KAAK,EAAC,wBAAwB,IACjC,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,EACL,CAAC,IAAI,CAAC,SAAS,KACd,oEACE,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,GACH,CAChB,CACG,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"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: #{$colorError60};\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: #{$colorError60};\n --stzh-button-secondary-background-color: #{$colorWhite90op};\n\n --stzh-button-secondary-hover-color: #{$colorError60};\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-1ec35678.js","mappings":";;;;;;AAAA,MAAM,gBAAgB,GAAG,yuRAAyuR,CAAC;AACnwR,4BAAe,gBAAgB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;;;;;;;;;;;;;;;;;;;;","names":[],"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: #{$colorError60};\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: #{$colorError60};\n --stzh-button-secondary-background-color: #{$colorWhite90op};\n\n --stzh-button-secondary-hover-color: #{$colorError60};\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
1
  import { p as proxyCustomElement, H, c as createEvent, h as h$1, d as Host } from './p-8f01554b.js';
2
2
  import { h } from './p-a2148b9d.js';
3
- import { d as defineCustomElement$6 } from './p-42e86bbd.js';
4
- import { d as defineCustomElement$5 } from './p-b84d0233.js';
5
- import { d as defineCustomElement$4 } from './p-bfccc4ba.js';
6
- import { d as defineCustomElement$3 } from './p-a2659715.js';
7
- import { d as defineCustomElement$2 } from './p-7121e1bf.js';
8
- import { d as defineCustomElement$1 } from './p-8faab692.js';
3
+ import { d as defineCustomElement$6 } from './p-b8fda153.js';
4
+ import { d as defineCustomElement$5 } from './p-ec5e2f2a.js';
5
+ import { d as defineCustomElement$4 } from './p-3d9ce94f.js';
6
+ import { d as defineCustomElement$3 } from './p-60d4ef07.js';
7
+ import { d as defineCustomElement$2 } from './p-472ab25f.js';
8
+ import { d as defineCustomElement$1 } from './p-519479b8.js';
9
9
 
10
10
  const ISO_DATE_FORMAT = /^(\d{4})-(\d{2})-(\d{2})$/;
11
11
  var DaysOfWeek;
@@ -526,4 +526,4 @@ function defineCustomElement() {
526
526
 
527
527
  export { StzhCalendar as S, printISODate as a, defineCustomElement as d, parseISODate as p };
528
528
 
529
- //# sourceMappingURL=p-c1fd09b7.js.map
529
+ //# sourceMappingURL=p-1f315034.js.map
@@ -1 +1 @@
1
- {"file":"p-c1fd09b7.js","mappings":";;;;;;;;;AAAO,MAAM,eAAe,GAAG,2BAA2B,CAAA;AAE1D,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,iDAAW,CAAA;IACX,qDAAa,CAAA;IACb,mDAAY,CAAA;IACZ,+CAAU,CAAA;IACV,mDAAY,CAAA;AACd,CAAC,EARW,UAAU,KAAV,UAAU,QAQrB;SAqBe,UAAU,CAAC,IAAY,EAAE,KAAa,EAAE,GAAW;IACjE,IAAI,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;IAC9B,IAAI,QAAQ,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;IAClC,IAAI,OAAO,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IAEhC,MAAM,OAAO,GACX,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC;QACzB,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;QAC1B,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;QACxB,QAAQ,GAAG,CAAC;QACZ,QAAQ,IAAI,EAAE;QACd,MAAM,GAAG,CAAC;QACV,MAAM,IAAI,EAAE;QACZ,OAAO,GAAG,CAAC,CAAA;IAEb,IAAI,OAAO,EAAE;QACX,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,MAAM,CAAC,CAAA;KAC/C;AACH,CA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AC,qBAAqB,EACzC,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,cAAc,EAAE,IAAI,CAAC,cAAc,GACnC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["h"],"sources":["src/utils/date-utils.ts","src/components/stzh-calendar/stzh-calendar-day.tsx","src/components/stzh-calendar/stzh-calendar-month.tsx","src/components/stzh-calendar/stzh-calendar.scss?tag=stzh-calendar&encapsulation=scoped","src/components/stzh-calendar/stzh-calendar.tsx"],"sourcesContent":["export const ISO_DATE_FORMAT = /^(\\d{4})-(\\d{2})-(\\d{2})$/\n\nexport enum DaysOfWeek {\n Sunday = 0,\n Monday = 1,\n Tuesday = 2,\n Wednesday = 3,\n Thursday = 4,\n Friday = 5,\n Saturday = 6,\n}\n\nexport function formatTime(date: Date) {\n if (!date) {\n return \"\"\n }\n\n var h = date.getHours().toString(10)\n var m = date.getMinutes().toString(10)\n\n if (date.getHours() < 10) {\n h = `0${h}`\n }\n\n if (date.getMinutes() < 10) {\n m = `0${m}`\n }\n\n return `${h}:${m}`\n}\n\nexport function createDate(year: string, month: string, day: string): Date {\n var dayInt = parseInt(day, 10)\n var monthInt = parseInt(month, 10)\n var yearInt = parseInt(year, 10)\n\n const isValid =\n Number.isInteger(yearInt) && // all parts should be integers\n Number.isInteger(monthInt) &&\n Number.isInteger(dayInt) &&\n monthInt > 0 && // month must be 1-12\n monthInt <= 12 &&\n dayInt > 0 && // day must be 1-31\n dayInt <= 31 &&\n yearInt > 0\n\n if (isValid) {\n return new Date(yearInt, monthInt - 1, dayInt)\n }\n}\n\n/**\n * @param value date string in ISO format YYYY-MM-DD\n */\nexport function parseISODate(value: string): Date {\n if (!value) {\n return\n }\n\n const matches = value.match(ISO_DATE_FORMAT)\n\n if (matches) {\n return createDate(matches[1], matches[2], matches[3])\n }\n}\n\n/**\n * print date in format YYYY-MM-DD\n * @param date\n */\nexport function printISODate(date: Date): string {\n if (!date) {\n return \"\"\n }\n\n var d = date.getDate().toString(10)\n var m = (date.getMonth() + 1).toString(10)\n var y = date.getFullYear().toString(10)\n\n // days are not zero-indexed, so pad if less than 10\n if (date.getDate() < 10) {\n d = `0${d}`\n }\n\n // months *are* zero-indexed, pad if less than 9!\n if (date.getMonth() < 9) {\n m = `0${m}`\n }\n\n return `${y}-${m}-${d}`\n}\n\n/**\n * Compare if two dates are equal in terms of day, month, and year\n */\nexport function isEqual(a: Date, b: Date): boolean {\n if (a == null || b == null) {\n return false\n }\n\n return isEqualMonth(a, b) && a.getDate() === b.getDate()\n}\n\n/**\n * Compare if two dates are in the same month of the same year.\n */\nexport function isEqualMonth(a: Date, b: Date): boolean {\n if (a == null || b == null) {\n return false\n }\n\n return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth()\n}\n\nexport function addDays(date: Date, days: number): Date {\n var d = new Date(date)\n d.setDate(d.getDate() + days)\n return d\n}\n\nexport function addMonths(date: Date, months: number): Date {\n const d = new Date(date)\n d.setMonth(date.getMonth() + months)\n return d\n}\n\nexport function addYears(date: Date, years: number): Date {\n const d = new Date(date)\n d.setFullYear(date.getFullYear() + years)\n return d\n}\n\nexport function startOfWeek(date: Date, firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday): Date {\n var d = new Date(date)\n var day = d.getDay()\n var diff = (day < firstDayOfWeek ? 7 : 0) + day - firstDayOfWeek\n\n d.setDate(d.getDate() - diff)\n return d\n}\n\nexport function endOfWeek(date: Date, firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday): Date {\n var d = new Date(date)\n var day = d.getDay()\n var diff = (day < firstDayOfWeek ? -7 : 0) + 6 - (day - firstDayOfWeek)\n\n d.setDate(d.getDate() + diff)\n return d\n}\n\nexport function startOfMonth(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth(), 1)\n}\n\nexport function endOfMonth(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth() + 1, 0)\n}\n\nexport function setMonth(date: Date, month: number): Date {\n const d = new Date(date)\n d.setMonth(month)\n return d\n}\n\nexport function setYear(date: Date, year: number): Date {\n const d = new Date(date)\n d.setFullYear(year)\n return d\n}\n\n/**\n * Check if date is within a min and max\n */\nexport function inRange(date: Date, min?: Date, max?: Date): boolean {\n return clamp(date, min, max) === date\n}\n\n/**\n * Ensures date is within range, returns min or max if out of bounds\n */\nexport function clamp(date: Date, min?: Date, max?: Date): Date {\n const time = date.getTime()\n\n if (min && min instanceof Date && time < min.getTime()) {\n return min\n }\n\n if (max && max instanceof Date && time > max.getTime()) {\n return max\n }\n\n return date\n}\n\n/**\n * given start and end date, return an (inclusive) array of all dates in between\n * @param start\n * @param end\n */\nfunction getDaysInRange(start: Date, end: Date): Date[] {\n const days: Date[] = []\n let current = start\n\n while (!isEqual(current, end)) {\n days.push(current)\n current = addDays(current, 1)\n }\n\n days.push(current)\n\n return days\n}\n\n/**\n * given a date, return an array of dates from a calendar perspective\n * @param date\n * @param firstDayOfWeek\n */\nexport function getViewOfMonth(date: Date, firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday): Date[] {\n const start = startOfWeek(startOfMonth(date), firstDayOfWeek)\n const end = endOfWeek(endOfMonth(date), firstDayOfWeek)\n\n return getDaysInRange(start, end)\n}\n\n/**\n * Form random hash\n */\nexport function chr4() {\n return Math.random()\n .toString(16)\n .slice(-4)\n}\n\n/**\n * Create random identifier with a prefix\n * @param prefix\n */\nexport function createIdentifier(prefix) {\n return `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`\n}\n","import { h, FunctionalComponent } from \"@stencil/core\";\nimport { isEqual, isEqualMonth } from \"../../utils/date-utils\";\n\nexport type StzhCalendarDayProps = {\n focusedDay: Date;\n today: Date;\n day: Date;\n disabled: boolean;\n inRange: boolean;\n isSelected: boolean;\n dateFormatter: Intl.DateTimeFormat;\n onDaySelect: (event: MouseEvent, day: Date) => void;\n onKeyboardNavigation: (event: KeyboardEvent) => void;\n focusedDayRef?: (element: HTMLElement) => void;\n};\n\nexport const StzhCalendarDay: FunctionalComponent<StzhCalendarDayProps> = ({\n focusedDay,\n today,\n day,\n onDaySelect,\n onKeyboardNavigation,\n focusedDayRef,\n disabled,\n inRange,\n isSelected,\n dateFormatter,\n}) => {\n const isToday = isEqual(day, today);\n const isMonth = isEqualMonth(day, focusedDay);\n const isFocused = isEqual(day, focusedDay);\n const isOutsideRange = !inRange;\n\n function handleClick(e) {\n onDaySelect(e, day);\n }\n\n return (\n <button\n class={{\n \"stzh-calendar__day\": true,\n \"is-outside\": isOutsideRange,\n \"is-today\": isToday,\n \"is-month\": isMonth,\n \"is-disabled\": disabled,\n }}\n tabIndex={isFocused ? 0 : -1}\n onClick={handleClick}\n onKeyDown={onKeyboardNavigation}\n aria-disabled={disabled ? \"true\" : undefined}\n disabled={isOutsideRange}\n type=\"button\"\n aria-pressed={isSelected ? \"true\" : \"false\"}\n aria-current={isToday ? \"date\" : undefined}\n s-object-id={dateFormatter.format(day)}\n ref={el => {\n if (isFocused && el && focusedDayRef) {\n focusedDayRef(el);\n }\n }}\n >\n <span aria-hidden=\"true\">{day.getDate()}</span>\n <span class=\"stzh-calendar__vhidden\">{dateFormatter.format(day)}</span>\n </button>\n );\n};\n","import { h, FunctionalComponent } from \"@stencil/core\";\nimport { getViewOfMonth, inRange, DaysOfWeek, isEqual } from \"../../utils/date-utils\";\n\nimport { StzhCalendarLocalizedText } from \"./stzh-calendar.localization\";\nimport { StzhCalendarDay, StzhCalendarDayProps } from \"./stzh-calendar-day\";\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nfunction chunk<T>(array: T[], chunkSize: number): T[][] {\n const result = [];\n\n for (let i = 0; i < array.length; i += chunkSize) {\n result.push(array.slice(i, i + chunkSize));\n }\n\n return result;\n}\n\nfunction mapWithOffset<T, U>(array: T[], startingOffset: number, mapFn: (item: T) => U): U[] {\n return array.map((_, i) => {\n const adjustedIndex = (i + startingOffset) % array.length;\n return mapFn(array[adjustedIndex]);\n });\n}\n\ntype StzhCalendarMonthProps = {\n selectedDate: Date;\n focusedDate: Date;\n labelledById: string;\n localization: StzhCalendarLocalizedText;\n firstDayOfWeek: DaysOfWeek;\n min?: Date;\n max?: Date;\n dateFormatter: Intl.DateTimeFormat;\n isDateDisabled: StzhCalendarDateDisabledPredicate;\n onDateSelect: StzhCalendarDayProps[\"onDaySelect\"];\n onKeyboardNavigation: StzhCalendarDayProps[\"onKeyboardNavigation\"];\n focusedDayRef: (element: HTMLElement) => void;\n};\n\nexport const StzhCalendarMonth: FunctionalComponent<StzhCalendarMonthProps> = ({\n selectedDate,\n focusedDate,\n labelledById,\n localization,\n firstDayOfWeek,\n min,\n max,\n dateFormatter,\n isDateDisabled,\n onDateSelect,\n onKeyboardNavigation,\n focusedDayRef,\n}) => {\n const today = new Date();\n const days = getViewOfMonth(focusedDate, firstDayOfWeek);\n\n return (\n <table class=\"stzh-calendar__table\" aria-labelledby={labelledById}>\n <thead>\n <tr>\n {mapWithOffset(localization.$globals.dayNames, firstDayOfWeek, dayName => (\n <th class=\"stzh-calendar__table-header\" scope=\"col\">\n <span aria-hidden=\"true\">{dayName.substring(0, 2)}</span>\n <span class=\"stzh-calendar__vhidden\">{dayName}</span>\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {chunk(days, 7).map(week => (\n <tr class=\"stzh-calendar__row\">\n {week.map(day => (\n <td class=\"stzh-calendar__cell\">\n <StzhCalendarDay\n day={day}\n today={today}\n focusedDay={focusedDate}\n isSelected={isEqual(day, selectedDate)}\n disabled={isDateDisabled(day)}\n inRange={inRange(day, min, max)}\n onDaySelect={onDateSelect}\n dateFormatter={dateFormatter}\n onKeyboardNavigation={onKeyboardNavigation}\n focusedDayRef={focusedDayRef}\n />\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n};\n","/**\n * @prop --background: Background color of calendar\n * @prop --padding-top: Padding top of calendar\n * @prop --padding-bottom: Padding bottom color of calendar\n * @prop --padding-left: Padding left color of calendar\n * @prop --padding-right: Padding right color of calendar\n * @prop --background-color: Background color of calendar\n */\n\n:host {\n --padding-top: #{space(\"small\")};\n --padding-bottom: #{space(\"small\")};\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n\n width: #{$calendarWidth};\n}\n\n.stzh-calendar {\n --stzh-description-min-height: initial;\n\n display: flex;\n position: relative;\n text-align: left;\n touch-action: pan-y;\n user-select: none;\n overflow: hidden;\n overflow: clip;\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\n &__wrapper {\n width: 100%;\n }\n\n &__table {\n @include font;\n @include fontSize(\"milli\");\n border-collapse: collapse;\n border-spacing: 0;\n text-align: center;\n width: 100%;\n }\n\n &__table-header,\n &__cell {\n padding: space(\"xxxsmall\");\n\n &:first-child {\n padding-left: 0;\n }\n\n &:last-child {\n padding-right: 0;\n }\n }\n\n &__row:last-child &__cell {\n padding-bottom: 0;\n }\n\n &__table-header {\n @include font;\n @include fontSize(\"nano\");\n text-decoration-line: none;\n padding-top: 0;\n padding-bottom: 0;\n width: 44px;\n height: 40px;\n }\n\n &__cell {\n text-align: center;\n }\n\n &__day {\n @include font;\n @include fontSize(\"milli\");\n appearance: none;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: inline-block;\n font-variant-numeric: tabular-nums;\n width: 40px;\n height: 40px;\n text-align: center;\n vertical-align: middle;\n transition-property: color, background-color;\n transition-duration: $baseTransitionAnimationSpeed;\n // position: relative;\n // padding: 0 0 1px;\n // z-index: 1;\n\n // &::before {\n // z-index: -1;\n // bottom: 0;\n // content: \"\";\n // left: 0;\n // position: absolute;\n // right: 0;\n // top: 0;\n // }\n\n &.is-today {\n @include font(\"heavy\");\n color: $colorPrimary70;\n // box-shadow: 0 0 0 1px $colorPrimary;\n // position: relative;\n // z-index: 200;\n }\n\n &:hover {\n background: $colorGrey20;\n }\n\n // &:hover::before {\n // background: $colorGrey20;\n // }\n\n // &:focus,\n &[aria-pressed=\"true\"] {\n background: $colorSecondary30;\n // box-shadow: none;\n color: $colorPrimary70;\n }\n\n &:active {\n background: $colorSecondary30;\n // box-shadow: 0 0 5px $colorPrimary;\n color: $colorPrimary70;\n // z-index: 200;\n }\n\n // &:focus {\n // z-index: 200;\n // }\n\n // &:not(.is-month) {\n // box-shadow: none;\n // }\n\n &:not(.is-month),\n &[aria-disabled=\"true\"] {\n background: transparent;\n color: $colorGrey60;\n cursor: default;\n }\n\n // &[aria-disabled=\"true\"] {\n // &.is-today {\n // box-shadow: 0 0 0 1px $colorGrey20;\n\n // &:focus {\n // box-shadow: 0 0 5px $colorPrimary;\n // }\n // }\n\n // &::before {\n // display: none;\n // }\n // }\n\n &.is-disabled {\n text-decoration-line: line-through;\n }\n\n &.is-outside {\n color: $colorGrey60;\n background: $colorGrey20;\n // box-shadow: none;\n cursor: default;\n pointer-events: none;\n text-decoration-line: none;\n\n // &::before {\n // display: none;\n // }\n }\n }\n\n &__header {\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n }\n\n &__nav {\n display: flex;\n align-items: center;\n\n &.is-dropdowns {\n gap: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n margin-left: space(\"small\");\n }\n }\n\n // &__prev,\n // &__next {\n // align-items: center;\n // appearance: none;\n // font-family: inherit;\n // background: transparent;\n // border-radius: 50%;\n // color: $colorPrimary70;\n // cursor: pointer;\n // display: inline-flex;\n // flex-shrink: 0;\n // justify-content: center;\n // margin-left: space('xsmall');\n // padding: 0;\n // transition: background-color 300ms ease;\n // height: 32px;\n // width: 32px;\n\n // &:disabled {\n // cursor: default;\n // color: $colorGrey60;\n // }\n // }\n\n stzh-dropdown#{&}__dropdown {\n --popover-width: 100%;\n --popover-height: calc(\n 100% - #{$formInputHeightSmall} - var(--padding-top)\n );\n --popover-max-height: initial;\n position: static;\n }\n\n &__select-wrapper {\n display: inline-flex;\n position: relative;\n\n span {\n margin-right: 0px;\n }\n }\n\n &__select {\n @include fontSize(\"milli\");\n cursor: pointer;\n height: 100%;\n left: 0;\n opacity: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: 2;\n border-radius: $formInputBorderRadius;\n }\n\n &__select-label {\n @include fontSize(\"milli\");\n appearance: none;\n border: none;\n align-items: center;\n border-radius: $formInputBorderRadius;\n color: $colorPrimary70;\n display: flex;\n gap: space(\"xsmall\");\n padding: 0;\n padding-left: space(\"small\");\n padding-right: space(\"xsmall\");\n\n position: relative;\n width: 100%;\n min-height: 40px;\n z-index: 1;\n }\n\n &__select-icon {\n --size: #{iconSize(\"xsmall\")};\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n}\n","import {\n Component,\n ComponentInterface,\n Host,\n Prop,\n Element,\n h,\n Event,\n EventEmitter,\n State,\n Method,\n Watch,\n} from \"@stencil/core\";\n\nimport {\n addDays,\n startOfWeek,\n endOfWeek,\n setMonth,\n setYear,\n clamp,\n inRange,\n endOfMonth,\n startOfMonth,\n printISODate,\n parseISODate,\n DaysOfWeek,\n} from \"../../utils/date-utils\";\n\nimport { StzhCalendarChangeEvent, StzhDropdownChangeEvent } from \"../../index\";\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nimport { StzhCalendarMonth } from \"./stzh-calendar-month\";\nimport { StzhCalendarLocalizedText } from \"./stzh-calendar.localization\";\n\nfunction range(from: number, to: number) {\n var result: number[] = [];\n for (var i = from; i <= to; i++) {\n result.push(i);\n }\n return result;\n}\n\nconst keyCode = {\n TAB: 9,\n ESC: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n END: 35,\n HOME: 36,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n};\n\nlet calendarCounter = 0;\n\n@Component({\n tag: \"stzh-calendar\",\n styleUrl: \"stzh-calendar.scss\",\n scoped: true,\n})\nexport class StzhCalendar implements ComponentInterface {\n /** Date value. Must be in IS0-8601 format: YYYY-MM-DD. */\n @Prop({ mutable: true }) value: string = \"\";\n\n /**\n * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the max property.\n */\n @Prop() min: string = \"\";\n\n /**\n * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the min property.\n */\n @Prop() max: string = \"\";\n\n /**\n * Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\n * Default is Monday.\n */\n @Prop() firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday;\n\n /** Day names, month names, etc, used for localization. */\n @Prop() localization: StzhCalendarLocalizedText;\n\n /**\n * Controls which days are disabled and therefore disallowed.\n * For example, this can be used to disallow selection of weekends.\n */\n @Prop() isDateDisabled: StzhCalendarDateDisabledPredicate = () => false;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the previous month button element.\n * Default value will be taken from translations.\n */\n @Prop() prevMonthAnalyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the next month button element.\n * Default value will be taken from translations.\n */\n @Prop() nextMonthAnalyticsId: string;\n\n @State() activeFocus = false;\n @State() focusedDay = new Date();\n\n /** Event emitted when a date is selected. */\n @Event() stzhChange: EventEmitter<StzhCalendarChangeEvent>;\n\n @Watch(\"localization\")\n createDateFormatters() {\n if (this.localization) {\n this.dateFormatShort = new Intl.DateTimeFormat(this.localization.$locale, { day: \"numeric\", month: \"long\" });\n }\n }\n\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n if (newValue) {\n this.setFocusedDay(parseISODate(this.value));\n } else {\n this.setFocusedDay(new Date());\n }\n }\n\n /** Set focused day element by a JS Date object */\n @Method()\n async setFocusedDay(day: Date) {\n this.focusedDay = clamp(day, parseISODate(this.min), parseISODate(this.max));\n }\n\n /** Set value by a JS Date object */\n @Method()\n async setDate(date: Date) {\n this.value = printISODate(date);\n }\n\n @Element() element: HTMLStzhCalendarElement;\n\n // private monthSelectId: string\n // private yearSelectId: string\n private dialogLabelId: string;\n\n // private focusedDayNode: HTMLButtonElement\n\n private initialTouchX: number = null;\n private initialTouchY: number = null;\n\n /**\n * To format dates exclusively for the benefit of screen readers.\n *\n * We prefer DateTimeFormat over date.toLocaleDateString, as the former has\n * better performance when formatting large number of dates. See:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance\n */\n private dateFormatShort: Intl.DateTimeFormat;\n\n private enableActiveFocus = () => {\n this.activeFocus = true;\n };\n\n private disableActiveFocus = () => {\n this.activeFocus = false;\n };\n\n private addDays(days: number) {\n this.setFocusedDay(addDays(this.focusedDay, days));\n }\n\n private addMonths(months: number) {\n this.setMonth(this.focusedDay.getMonth() + months);\n }\n\n private addYears(years: number) {\n this.setYear(this.focusedDay.getFullYear() + years);\n }\n\n private startOfWeek() {\n this.setFocusedDay(startOfWeek(this.focusedDay, this.firstDayOfWeek));\n }\n\n private endOfWeek() {\n this.setFocusedDay(endOfWeek(this.focusedDay, this.firstDayOfWeek));\n }\n\n private setMonth(month: number) {\n const min = setMonth(startOfMonth(this.focusedDay), month);\n const max = endOfMonth(min);\n const date = setMonth(this.focusedDay, month);\n\n this.setFocusedDay(clamp(date, min, max));\n }\n\n private setYear(year: number) {\n const min = setYear(startOfMonth(this.focusedDay), year);\n const max = endOfMonth(min);\n const date = setYear(this.focusedDay, year);\n\n this.setFocusedDay(clamp(date, min, max));\n }\n\n private handleTouchStart = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n this.initialTouchX = touch.pageX;\n this.initialTouchY = touch.pageY;\n };\n\n // private handleTouchMove = (event: TouchEvent) => {\n // event.preventDefault()\n // }\n\n private handleTouchEnd = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled\n const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled\n const threshold = 70;\n\n const isHorizontalSwipe = Math.abs(distX) >= threshold && Math.abs(distY) <= threshold;\n\n if (isHorizontalSwipe) {\n this.addMonths(distX < 0 ? 1 : -1);\n }\n\n this.initialTouchY = null;\n this.initialTouchX = null;\n };\n\n private handleNextMonthClick = (event: MouseEvent) => {\n event.preventDefault();\n this.addMonths(1);\n };\n\n private handlePreviousMonthClick = (event: MouseEvent) => {\n event.preventDefault();\n this.addMonths(-1);\n };\n\n private handleKeyboardNavigation = (event: KeyboardEvent) => {\n var handled = true;\n\n switch (event.keyCode) {\n case keyCode.RIGHT:\n this.addDays(1);\n break;\n case keyCode.LEFT:\n this.addDays(-1);\n break;\n case keyCode.DOWN:\n this.addDays(7);\n break;\n case keyCode.UP:\n this.addDays(-7);\n break;\n case keyCode.PAGE_UP:\n if (event.shiftKey) {\n this.addYears(-1);\n } else {\n this.addMonths(-1);\n }\n break;\n case keyCode.PAGE_DOWN:\n if (event.shiftKey) {\n this.addYears(1);\n } else {\n this.addMonths(1);\n }\n break;\n case keyCode.HOME:\n this.startOfWeek();\n break;\n case keyCode.END:\n this.endOfWeek();\n break;\n default:\n handled = false;\n }\n\n if (handled) {\n event.preventDefault();\n this.enableActiveFocus();\n }\n };\n\n private handleDaySelect = (_event: MouseEvent, day: Date) => {\n const isInRange = inRange(day, parseISODate(this.min), parseISODate(this.max));\n const isAllowed = !this.isDateDisabled(day);\n\n if (isInRange && isAllowed) {\n this.setDate(day);\n\n this.stzhChange.emit({\n component: \"stzh-calendar\",\n value: this.value,\n valueAsDate: day,\n });\n } else {\n // for consistency we should set the focused day in cases where\n // user has selected a day that has been specifically disallowed\n this.setFocusedDay(day);\n }\n };\n\n private handleMonthSelect = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n this.setMonth(parseInt(value, 10));\n };\n\n private handleYearSelect = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n this.setYear(parseInt(value, 10));\n };\n\n private processFocusedDayNode = (element: HTMLButtonElement) => {\n // this.focusedDayNode = element\n\n if (this.activeFocus) {\n setTimeout(() => element.focus(), 0);\n }\n };\n\n async componentWillLoad() {\n // this.monthSelectId = `stzh-calendar-month-${calendarCounter}`;\n // this.yearSelectId = `stzh-calendar-year-${calendarCounter}`;\n this.dialogLabelId = `stzh-calendar-dialog-${calendarCounter}`;\n calendarCounter++;\n\n this.valueWatcher(this.value);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"calendar\");\n }\n }\n\n connectedCallback() {\n this.createDateFormatters();\n }\n\n render() {\n const valueAsDate = parseISODate(this.value);\n const selectedYear = (valueAsDate || this.focusedDay).getFullYear();\n const focusedMonth = this.focusedDay.getMonth();\n const focusedYear = this.focusedDay.getFullYear();\n\n const minDate = parseISODate(this.min);\n const maxDate = parseISODate(this.max);\n const prevMonthDisabled =\n minDate != null && minDate.getMonth() === focusedMonth && minDate.getFullYear() === focusedYear;\n const nextMonthDisabled =\n maxDate != null && maxDate.getMonth() === focusedMonth && maxDate.getFullYear() === focusedYear;\n\n const minYear = minDate ? minDate.getFullYear() : selectedYear - 10;\n const maxYear = maxDate ? maxDate.getFullYear() : selectedYear + 10;\n\n const monthDropdownOptions = this.localization.$globals.monthNames.map((month, i) => {\n return {\n value: i.toString(),\n text: month,\n disabled: !inRange(\n new Date(focusedYear, i, 1),\n minDate ? startOfMonth(minDate) : null,\n maxDate ? endOfMonth(maxDate) : null,\n ),\n };\n });\n\n const yearDropdownOptions = range(minYear, maxYear).map(year => {\n return {\n value: year.toString(),\n text: year.toString(),\n };\n });\n\n return (\n <Host>\n <div\n class={{\n \"stzh-calendar\": true,\n }}\n /* onTouchMove={this.handleTouchMove} */\n onTouchStart={this.handleTouchStart}\n onTouchEnd={this.handleTouchEnd}\n >\n <div class=\"stzh-calendar__wrapper\">\n {/*\n <div class=\"stzh-calendar__mobile\" onFocusin={this.disableActiveFocus}>\n <label class=\"stzh-calendar__mobile-heading\">{this.localization.calendarHeading}</label>\n </div>\n */}\n {/* @ts-ignore */}\n <div class=\"stzh-calendar__header\" onFocusin={this.disableActiveFocus}>\n <div class=\"stzh-calendar__nav is-dropdowns\">\n <h2 id={this.dialogLabelId} class=\"stzh-calendar__vhidden\" aria-live=\"polite\" aria-atomic=\"true\">\n {this.localization.$globals.monthNames[focusedMonth]}\n {this.focusedDay.getFullYear()}\n </h2>\n\n <stzh-dropdown\n class=\"stzh-calendar__dropdown\"\n variant=\"plain\"\n size=\"small\"\n inline\n popover-fullwidth=\"horizontal\"\n noSearch={true}\n openOnFocus={false}\n items={[focusedMonth.toString()]}\n options={monthDropdownOptions}\n label={this.localization.monthSelectLabel}\n labelHidden={true}\n onStzhChange={this.handleMonthSelect}\n ></stzh-dropdown>\n\n <stzh-dropdown\n class=\"stzh-calendar__dropdown\"\n variant=\"plain\"\n size=\"small\"\n inline\n popover-fullwidth=\"horizontal\"\n noSearch={true}\n openOnFocus={false}\n items={[focusedYear.toString()]}\n options={yearDropdownOptions}\n label={this.localization.yearSelectLabel}\n labelHidden={true}\n onStzhChange={this.handleYearSelect}\n ></stzh-dropdown>\n\n {/* alternative for dropdown with popover:\n <stzh-popover>\n <button class=\"stzh-calendar__select-label\" aria-label={this.localization.monthSelectLabel}>\n <span>{this.localization.$globals.monthNamesShort[focusedMonth]}</span>\n <stzh-icon class=\"stzh-calendar__select-icon\" name=\"angle-down\"></stzh-icon>\n </button>\n <stzh-menu slot=\"content\">\n {this.localization.$globals.monthNames.map((month, i) => (\n <stzh-menu-item\n // onClick={this.handleMonthSelect(month)}\n active={i === focusedMonth}\n disabled={\n !inRange(\n new Date(focusedYear, i, 1),\n minDate ? startOfMonth(minDate) : null,\n maxDate ? endOfMonth(maxDate) : null\n )\n }\n >\n {month}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>\n */}\n\n {/* original implmentation with native select:\n <label htmlFor={this.monthSelectId} class=\"stzh-calendar__vhidden\">\n {this.localization.monthSelectLabel}\n </label>\n\n <div class=\"stzh-calendar__select-wrapper\">\n <select\n id={this.monthSelectId}\n class=\"stzh-calendar__select stzh-calendar__select--month\"\n onChange={this.handleMonthSelect}\n >\n {this.localization.$globals.monthNames.map((month, i) => (\n <option\n key={month}\n value={i}\n selected={i === focusedMonth}\n disabled={\n !inRange(\n new Date(focusedYear, i, 1),\n minDate ? startOfMonth(minDate) : null,\n maxDate ? endOfMonth(maxDate) : null\n )\n }\n >\n {month}\n </option>\n ))}\n </select>\n <div class=\"stzh-calendar__select-label\" aria-hidden=\"true\">\n <span>{this.localization.$globals.monthNamesShort[focusedMonth]}</span>\n <stzh-icon class=\"stzh-calendar__select-icon\" name=\"angle-down\"></stzh-icon>\n </div>\n </div>\n\n <label htmlFor={this.yearSelectId} class=\"stzh-calendar__vhidden\">\n {this.localization.yearSelectLabel}\n </label>\n\n <div class=\"stzh-calendar__select-wrapper\">\n <select\n id={this.yearSelectId}\n class=\"stzh-calendar__select stzh-calendar__select--year\"\n onChange={this.handleYearSelect}\n >\n {range(minYear, maxYear).map(year => (\n <option key={year} selected={year === focusedYear}>\n {year}\n </option>\n ))}\n </select>\n <div class=\"stzh-calendar__select-label\" aria-hidden=\"true\">\n <span>{this.focusedDay.getFullYear()}</span>\n <stzh-icon class=\"stzh-calendar__select-icon\" name=\"angle-down\"></stzh-icon>\n </div>\n </div>\n */}\n </div>\n\n <div class=\"stzh-calendar__nav\">\n <stzh-button\n class=\"stzh-calendar__prev\"\n variant=\"tertiary\"\n size=\"small\"\n icon=\"arrow-left\"\n iconOnly={true}\n onClick={this.handlePreviousMonthClick}\n disabled={prevMonthDisabled}\n type=\"button\"\n a11yLabel={this.localization.prevMonthLabel}\n analyticsId={this.prevMonthAnalyticsId || this.localization.prevMonthLabel}\n ></stzh-button>\n <stzh-button\n class=\"stzh-calendar__next\"\n variant=\"tertiary\"\n size=\"small\"\n icon=\"arrow-right\"\n iconOnly={true}\n onClick={this.handleNextMonthClick}\n disabled={nextMonthDisabled}\n type=\"button\"\n a11yLabel={this.localization.nextMonthLabel}\n analyticsId={this.nextMonthAnalyticsId || this.localization.nextMonthLabel}\n ></stzh-button>\n </div>\n </div>\n\n <StzhCalendarMonth\n dateFormatter={this.dateFormatShort}\n selectedDate={valueAsDate}\n focusedDate={this.focusedDay}\n onDateSelect={this.handleDaySelect}\n onKeyboardNavigation={this.handleKeyboardNavigation}\n labelledById={this.dialogLabelId}\n localization={this.localization}\n firstDayOfWeek={this.firstDayOfWeek}\n focusedDayRef={this.processFocusedDayNode}\n min={minDate}\n max={maxDate}\n isDateDisabled={this.isDateDisabled}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-1f315034.js","mappings":";;;;;;;;;AAAO,MAAM,eAAe,GAAG,2BAA2B,CAAA;AAE1D,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,iDAAW,CAAA;IACX,qDAAa,CAAA;IACb,mDAAY,CAAA;IACZ,+CAAU,CAAA;IACV,mDAAY,CAAA;AACd,CAAC,EARW,UAAU,KAAV,UAAU,QAQrB;SAqBe,UAAU,CAAC,IAAY,EAAE,KAAa,EAAE,GAAW;IACjE,IAAI,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAA;IAC9B,IAAI,QAAQ,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;IAClC,IAAI,OAAO,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IAEhC,MAAM,OAAO,GACX,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC;QACzB,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC;QAC1B,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;QACxB,QAAQ,GAAG,CAAC;QACZ,QAAQ,IAAI,EAAE;QACd,MAAM,GAAG,CAAC;QACV,MAAM,IAAI,EAAE;QACZ,OAAO,GAAG,CAA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,YAAY,EAAE,IAAI,CAAC,aAAa,EAChC,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,aAAa,EAAE,IAAI,CAAC,qBAAqB,EACzC,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,OAAO,EACZ,cAAc,EAAE,IAAI,CAAC,cAAc,GACnC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["h"],"sources":["src/utils/date-utils.ts","src/components/stzh-calendar/stzh-calendar-day.tsx","src/components/stzh-calendar/stzh-calendar-month.tsx","src/components/stzh-calendar/stzh-calendar.scss?tag=stzh-calendar&encapsulation=scoped","src/components/stzh-calendar/stzh-calendar.tsx"],"sourcesContent":["export const ISO_DATE_FORMAT = /^(\\d{4})-(\\d{2})-(\\d{2})$/\n\nexport enum DaysOfWeek {\n Sunday = 0,\n Monday = 1,\n Tuesday = 2,\n Wednesday = 3,\n Thursday = 4,\n Friday = 5,\n Saturday = 6,\n}\n\nexport function formatTime(date: Date) {\n if (!date) {\n return \"\"\n }\n\n var h = date.getHours().toString(10)\n var m = date.getMinutes().toString(10)\n\n if (date.getHours() < 10) {\n h = `0${h}`\n }\n\n if (date.getMinutes() < 10) {\n m = `0${m}`\n }\n\n return `${h}:${m}`\n}\n\nexport function createDate(year: string, month: string, day: string): Date {\n var dayInt = parseInt(day, 10)\n var monthInt = parseInt(month, 10)\n var yearInt = parseInt(year, 10)\n\n const isValid =\n Number.isInteger(yearInt) && // all parts should be integers\n Number.isInteger(monthInt) &&\n Number.isInteger(dayInt) &&\n monthInt > 0 && // month must be 1-12\n monthInt <= 12 &&\n dayInt > 0 && // day must be 1-31\n dayInt <= 31 &&\n yearInt > 0\n\n if (isValid) {\n return new Date(yearInt, monthInt - 1, dayInt)\n }\n}\n\n/**\n * @param value date string in ISO format YYYY-MM-DD\n */\nexport function parseISODate(value: string): Date {\n if (!value) {\n return\n }\n\n const matches = value.match(ISO_DATE_FORMAT)\n\n if (matches) {\n return createDate(matches[1], matches[2], matches[3])\n }\n}\n\n/**\n * print date in format YYYY-MM-DD\n * @param date\n */\nexport function printISODate(date: Date): string {\n if (!date) {\n return \"\"\n }\n\n var d = date.getDate().toString(10)\n var m = (date.getMonth() + 1).toString(10)\n var y = date.getFullYear().toString(10)\n\n // days are not zero-indexed, so pad if less than 10\n if (date.getDate() < 10) {\n d = `0${d}`\n }\n\n // months *are* zero-indexed, pad if less than 9!\n if (date.getMonth() < 9) {\n m = `0${m}`\n }\n\n return `${y}-${m}-${d}`\n}\n\n/**\n * Compare if two dates are equal in terms of day, month, and year\n */\nexport function isEqual(a: Date, b: Date): boolean {\n if (a == null || b == null) {\n return false\n }\n\n return isEqualMonth(a, b) && a.getDate() === b.getDate()\n}\n\n/**\n * Compare if two dates are in the same month of the same year.\n */\nexport function isEqualMonth(a: Date, b: Date): boolean {\n if (a == null || b == null) {\n return false\n }\n\n return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth()\n}\n\nexport function addDays(date: Date, days: number): Date {\n var d = new Date(date)\n d.setDate(d.getDate() + days)\n return d\n}\n\nexport function addMonths(date: Date, months: number): Date {\n const d = new Date(date)\n d.setMonth(date.getMonth() + months)\n return d\n}\n\nexport function addYears(date: Date, years: number): Date {\n const d = new Date(date)\n d.setFullYear(date.getFullYear() + years)\n return d\n}\n\nexport function startOfWeek(date: Date, firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday): Date {\n var d = new Date(date)\n var day = d.getDay()\n var diff = (day < firstDayOfWeek ? 7 : 0) + day - firstDayOfWeek\n\n d.setDate(d.getDate() - diff)\n return d\n}\n\nexport function endOfWeek(date: Date, firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday): Date {\n var d = new Date(date)\n var day = d.getDay()\n var diff = (day < firstDayOfWeek ? -7 : 0) + 6 - (day - firstDayOfWeek)\n\n d.setDate(d.getDate() + diff)\n return d\n}\n\nexport function startOfMonth(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth(), 1)\n}\n\nexport function endOfMonth(date: Date): Date {\n return new Date(date.getFullYear(), date.getMonth() + 1, 0)\n}\n\nexport function setMonth(date: Date, month: number): Date {\n const d = new Date(date)\n d.setMonth(month)\n return d\n}\n\nexport function setYear(date: Date, year: number): Date {\n const d = new Date(date)\n d.setFullYear(year)\n return d\n}\n\n/**\n * Check if date is within a min and max\n */\nexport function inRange(date: Date, min?: Date, max?: Date): boolean {\n return clamp(date, min, max) === date\n}\n\n/**\n * Ensures date is within range, returns min or max if out of bounds\n */\nexport function clamp(date: Date, min?: Date, max?: Date): Date {\n const time = date.getTime()\n\n if (min && min instanceof Date && time < min.getTime()) {\n return min\n }\n\n if (max && max instanceof Date && time > max.getTime()) {\n return max\n }\n\n return date\n}\n\n/**\n * given start and end date, return an (inclusive) array of all dates in between\n * @param start\n * @param end\n */\nfunction getDaysInRange(start: Date, end: Date): Date[] {\n const days: Date[] = []\n let current = start\n\n while (!isEqual(current, end)) {\n days.push(current)\n current = addDays(current, 1)\n }\n\n days.push(current)\n\n return days\n}\n\n/**\n * given a date, return an array of dates from a calendar perspective\n * @param date\n * @param firstDayOfWeek\n */\nexport function getViewOfMonth(date: Date, firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday): Date[] {\n const start = startOfWeek(startOfMonth(date), firstDayOfWeek)\n const end = endOfWeek(endOfMonth(date), firstDayOfWeek)\n\n return getDaysInRange(start, end)\n}\n\n/**\n * Form random hash\n */\nexport function chr4() {\n return Math.random()\n .toString(16)\n .slice(-4)\n}\n\n/**\n * Create random identifier with a prefix\n * @param prefix\n */\nexport function createIdentifier(prefix) {\n return `${prefix}-${chr4()}${chr4()}-${chr4()}-${chr4()}-${chr4()}-${chr4()}${chr4()}${chr4()}`\n}\n","import { h, FunctionalComponent } from \"@stencil/core\";\nimport { isEqual, isEqualMonth } from \"../../utils/date-utils\";\n\nexport type StzhCalendarDayProps = {\n focusedDay: Date;\n today: Date;\n day: Date;\n disabled: boolean;\n inRange: boolean;\n isSelected: boolean;\n dateFormatter: Intl.DateTimeFormat;\n onDaySelect: (event: MouseEvent, day: Date) => void;\n onKeyboardNavigation: (event: KeyboardEvent) => void;\n focusedDayRef?: (element: HTMLElement) => void;\n};\n\nexport const StzhCalendarDay: FunctionalComponent<StzhCalendarDayProps> = ({\n focusedDay,\n today,\n day,\n onDaySelect,\n onKeyboardNavigation,\n focusedDayRef,\n disabled,\n inRange,\n isSelected,\n dateFormatter,\n}) => {\n const isToday = isEqual(day, today);\n const isMonth = isEqualMonth(day, focusedDay);\n const isFocused = isEqual(day, focusedDay);\n const isOutsideRange = !inRange;\n\n function handleClick(e) {\n onDaySelect(e, day);\n }\n\n return (\n <button\n class={{\n \"stzh-calendar__day\": true,\n \"is-outside\": isOutsideRange,\n \"is-today\": isToday,\n \"is-month\": isMonth,\n \"is-disabled\": disabled,\n }}\n tabIndex={isFocused ? 0 : -1}\n onClick={handleClick}\n onKeyDown={onKeyboardNavigation}\n aria-disabled={disabled ? \"true\" : undefined}\n disabled={isOutsideRange}\n type=\"button\"\n aria-pressed={isSelected ? \"true\" : \"false\"}\n aria-current={isToday ? \"date\" : undefined}\n s-object-id={dateFormatter.format(day)}\n ref={el => {\n if (isFocused && el && focusedDayRef) {\n focusedDayRef(el);\n }\n }}\n >\n <span aria-hidden=\"true\">{day.getDate()}</span>\n <span class=\"stzh-calendar__vhidden\">{dateFormatter.format(day)}</span>\n </button>\n );\n};\n","import { h, FunctionalComponent } from \"@stencil/core\";\nimport { getViewOfMonth, inRange, DaysOfWeek, isEqual } from \"../../utils/date-utils\";\n\nimport { StzhCalendarLocalizedText } from \"./stzh-calendar.localization\";\nimport { StzhCalendarDay, StzhCalendarDayProps } from \"./stzh-calendar-day\";\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nfunction chunk<T>(array: T[], chunkSize: number): T[][] {\n const result = [];\n\n for (let i = 0; i < array.length; i += chunkSize) {\n result.push(array.slice(i, i + chunkSize));\n }\n\n return result;\n}\n\nfunction mapWithOffset<T, U>(array: T[], startingOffset: number, mapFn: (item: T) => U): U[] {\n return array.map((_, i) => {\n const adjustedIndex = (i + startingOffset) % array.length;\n return mapFn(array[adjustedIndex]);\n });\n}\n\ntype StzhCalendarMonthProps = {\n selectedDate: Date;\n focusedDate: Date;\n labelledById: string;\n localization: StzhCalendarLocalizedText;\n firstDayOfWeek: DaysOfWeek;\n min?: Date;\n max?: Date;\n dateFormatter: Intl.DateTimeFormat;\n isDateDisabled: StzhCalendarDateDisabledPredicate;\n onDateSelect: StzhCalendarDayProps[\"onDaySelect\"];\n onKeyboardNavigation: StzhCalendarDayProps[\"onKeyboardNavigation\"];\n focusedDayRef: (element: HTMLElement) => void;\n};\n\nexport const StzhCalendarMonth: FunctionalComponent<StzhCalendarMonthProps> = ({\n selectedDate,\n focusedDate,\n labelledById,\n localization,\n firstDayOfWeek,\n min,\n max,\n dateFormatter,\n isDateDisabled,\n onDateSelect,\n onKeyboardNavigation,\n focusedDayRef,\n}) => {\n const today = new Date();\n const days = getViewOfMonth(focusedDate, firstDayOfWeek);\n\n return (\n <table class=\"stzh-calendar__table\" aria-labelledby={labelledById}>\n <thead>\n <tr>\n {mapWithOffset(localization.$globals.dayNames, firstDayOfWeek, dayName => (\n <th class=\"stzh-calendar__table-header\" scope=\"col\">\n <span aria-hidden=\"true\">{dayName.substring(0, 2)}</span>\n <span class=\"stzh-calendar__vhidden\">{dayName}</span>\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {chunk(days, 7).map(week => (\n <tr class=\"stzh-calendar__row\">\n {week.map(day => (\n <td class=\"stzh-calendar__cell\">\n <StzhCalendarDay\n day={day}\n today={today}\n focusedDay={focusedDate}\n isSelected={isEqual(day, selectedDate)}\n disabled={isDateDisabled(day)}\n inRange={inRange(day, min, max)}\n onDaySelect={onDateSelect}\n dateFormatter={dateFormatter}\n onKeyboardNavigation={onKeyboardNavigation}\n focusedDayRef={focusedDayRef}\n />\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n );\n};\n","/**\n * @prop --background: Background color of calendar\n * @prop --padding-top: Padding top of calendar\n * @prop --padding-bottom: Padding bottom color of calendar\n * @prop --padding-left: Padding left color of calendar\n * @prop --padding-right: Padding right color of calendar\n * @prop --background-color: Background color of calendar\n */\n\n:host {\n --padding-top: #{space(\"small\")};\n --padding-bottom: #{space(\"small\")};\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n\n width: #{$calendarWidth};\n}\n\n.stzh-calendar {\n --stzh-description-min-height: initial;\n\n display: flex;\n position: relative;\n text-align: left;\n touch-action: pan-y;\n user-select: none;\n overflow: hidden;\n overflow: clip;\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\n &__wrapper {\n width: 100%;\n }\n\n &__table {\n @include font;\n @include fontSize(\"milli\");\n border-collapse: collapse;\n border-spacing: 0;\n text-align: center;\n width: 100%;\n }\n\n &__table-header,\n &__cell {\n padding: space(\"xxxsmall\");\n\n &:first-child {\n padding-left: 0;\n }\n\n &:last-child {\n padding-right: 0;\n }\n }\n\n &__row:last-child &__cell {\n padding-bottom: 0;\n }\n\n &__table-header {\n @include font;\n @include fontSize(\"nano\");\n text-decoration-line: none;\n padding-top: 0;\n padding-bottom: 0;\n width: 44px;\n height: 40px;\n }\n\n &__cell {\n text-align: center;\n }\n\n &__day {\n @include font;\n @include fontSize(\"milli\");\n appearance: none;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: inline-block;\n font-variant-numeric: tabular-nums;\n width: 40px;\n height: 40px;\n text-align: center;\n vertical-align: middle;\n transition-property: color, background-color;\n transition-duration: $baseTransitionAnimationSpeed;\n // position: relative;\n // padding: 0 0 1px;\n // z-index: 1;\n\n // &::before {\n // z-index: -1;\n // bottom: 0;\n // content: \"\";\n // left: 0;\n // position: absolute;\n // right: 0;\n // top: 0;\n // }\n\n &.is-today {\n @include font(\"heavy\");\n color: $colorPrimary70;\n // box-shadow: 0 0 0 1px $colorPrimary;\n // position: relative;\n // z-index: 200;\n }\n\n &:hover {\n background: $colorGrey20;\n }\n\n // &:hover::before {\n // background: $colorGrey20;\n // }\n\n // &:focus,\n &[aria-pressed=\"true\"] {\n background: $colorSecondary30;\n // box-shadow: none;\n color: $colorPrimary70;\n }\n\n &:active {\n background: $colorSecondary30;\n // box-shadow: 0 0 5px $colorPrimary;\n color: $colorPrimary70;\n // z-index: 200;\n }\n\n // &:focus {\n // z-index: 200;\n // }\n\n // &:not(.is-month) {\n // box-shadow: none;\n // }\n\n &:not(.is-month),\n &[aria-disabled=\"true\"] {\n background: transparent;\n color: $colorGrey60;\n cursor: default;\n }\n\n // &[aria-disabled=\"true\"] {\n // &.is-today {\n // box-shadow: 0 0 0 1px $colorGrey20;\n\n // &:focus {\n // box-shadow: 0 0 5px $colorPrimary;\n // }\n // }\n\n // &::before {\n // display: none;\n // }\n // }\n\n &.is-disabled {\n text-decoration-line: line-through;\n }\n\n &.is-outside {\n color: $colorGrey60;\n background: $colorGrey20;\n // box-shadow: none;\n cursor: default;\n pointer-events: none;\n text-decoration-line: none;\n\n // &::before {\n // display: none;\n // }\n }\n }\n\n &__header {\n align-items: center;\n display: flex;\n justify-content: space-between;\n width: 100%;\n }\n\n &__nav {\n display: flex;\n align-items: center;\n\n &.is-dropdowns {\n gap: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n margin-left: space(\"small\");\n }\n }\n\n // &__prev,\n // &__next {\n // align-items: center;\n // appearance: none;\n // font-family: inherit;\n // background: transparent;\n // border-radius: 50%;\n // color: $colorPrimary70;\n // cursor: pointer;\n // display: inline-flex;\n // flex-shrink: 0;\n // justify-content: center;\n // margin-left: space('xsmall');\n // padding: 0;\n // transition: background-color 300ms ease;\n // height: 32px;\n // width: 32px;\n\n // &:disabled {\n // cursor: default;\n // color: $colorGrey60;\n // }\n // }\n\n stzh-dropdown#{&}__dropdown {\n --popover-width: 100%;\n --popover-height: calc(\n 100% - #{$formInputHeightSmall} - var(--padding-top)\n );\n --popover-max-height: initial;\n position: static;\n }\n\n &__select-wrapper {\n display: inline-flex;\n position: relative;\n\n span {\n margin-right: 0px;\n }\n }\n\n &__select {\n @include fontSize(\"milli\");\n cursor: pointer;\n height: 100%;\n left: 0;\n opacity: 0;\n position: absolute;\n top: 0;\n width: 100%;\n z-index: 2;\n border-radius: $formInputBorderRadius;\n }\n\n &__select-label {\n @include fontSize(\"milli\");\n appearance: none;\n border: none;\n align-items: center;\n border-radius: $formInputBorderRadius;\n color: $colorPrimary70;\n display: flex;\n gap: space(\"xsmall\");\n padding: 0;\n padding-left: space(\"small\");\n padding-right: space(\"xsmall\");\n\n position: relative;\n width: 100%;\n min-height: 40px;\n z-index: 1;\n }\n\n &__select-icon {\n --size: #{iconSize(\"xsmall\")};\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n}\n","import {\n Component,\n ComponentInterface,\n Host,\n Prop,\n Element,\n h,\n Event,\n EventEmitter,\n State,\n Method,\n Watch,\n} from \"@stencil/core\";\n\nimport {\n addDays,\n startOfWeek,\n endOfWeek,\n setMonth,\n setYear,\n clamp,\n inRange,\n endOfMonth,\n startOfMonth,\n printISODate,\n parseISODate,\n DaysOfWeek,\n} from \"../../utils/date-utils\";\n\nimport { StzhCalendarChangeEvent, StzhDropdownChangeEvent } from \"../../index\";\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nimport { StzhCalendarMonth } from \"./stzh-calendar-month\";\nimport { StzhCalendarLocalizedText } from \"./stzh-calendar.localization\";\n\nfunction range(from: number, to: number) {\n var result: number[] = [];\n for (var i = from; i <= to; i++) {\n result.push(i);\n }\n return result;\n}\n\nconst keyCode = {\n TAB: 9,\n ESC: 27,\n SPACE: 32,\n PAGE_UP: 33,\n PAGE_DOWN: 34,\n END: 35,\n HOME: 36,\n LEFT: 37,\n UP: 38,\n RIGHT: 39,\n DOWN: 40,\n};\n\nlet calendarCounter = 0;\n\n@Component({\n tag: \"stzh-calendar\",\n styleUrl: \"stzh-calendar.scss\",\n scoped: true,\n})\nexport class StzhCalendar implements ComponentInterface {\n /** Date value. Must be in IS0-8601 format: YYYY-MM-DD. */\n @Prop({ mutable: true }) value: string = \"\";\n\n /**\n * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the max property.\n */\n @Prop() min: string = \"\";\n\n /**\n * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the min property.\n */\n @Prop() max: string = \"\";\n\n /**\n * Which day is considered first day of the week? `0` for Sunday, `1` for Monday, etc.\n * Default is Monday.\n */\n @Prop() firstDayOfWeek: DaysOfWeek = DaysOfWeek.Monday;\n\n /** Day names, month names, etc, used for localization. */\n @Prop() localization: StzhCalendarLocalizedText;\n\n /**\n * Controls which days are disabled and therefore disallowed.\n * For example, this can be used to disallow selection of weekends.\n */\n @Prop() isDateDisabled: StzhCalendarDateDisabledPredicate = () => false;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the previous month button element.\n * Default value will be taken from translations.\n */\n @Prop() prevMonthAnalyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the next month button element.\n * Default value will be taken from translations.\n */\n @Prop() nextMonthAnalyticsId: string;\n\n @State() activeFocus = false;\n @State() focusedDay = new Date();\n\n /** Event emitted when a date is selected. */\n @Event() stzhChange: EventEmitter<StzhCalendarChangeEvent>;\n\n @Watch(\"localization\")\n createDateFormatters() {\n if (this.localization) {\n this.dateFormatShort = new Intl.DateTimeFormat(this.localization.$locale, { day: \"numeric\", month: \"long\" });\n }\n }\n\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n if (newValue) {\n this.setFocusedDay(parseISODate(this.value));\n } else {\n this.setFocusedDay(new Date());\n }\n }\n\n /** Set focused day element by a JS Date object */\n @Method()\n async setFocusedDay(day: Date) {\n this.focusedDay = clamp(day, parseISODate(this.min), parseISODate(this.max));\n }\n\n /** Set value by a JS Date object */\n @Method()\n async setDate(date: Date) {\n this.value = printISODate(date);\n }\n\n @Element() element: HTMLStzhCalendarElement;\n\n // private monthSelectId: string\n // private yearSelectId: string\n private dialogLabelId: string;\n\n // private focusedDayNode: HTMLButtonElement\n\n private initialTouchX: number = null;\n private initialTouchY: number = null;\n\n /**\n * To format dates exclusively for the benefit of screen readers.\n *\n * We prefer DateTimeFormat over date.toLocaleDateString, as the former has\n * better performance when formatting large number of dates. See:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance\n */\n private dateFormatShort: Intl.DateTimeFormat;\n\n private enableActiveFocus = () => {\n this.activeFocus = true;\n };\n\n private disableActiveFocus = () => {\n this.activeFocus = false;\n };\n\n private addDays(days: number) {\n this.setFocusedDay(addDays(this.focusedDay, days));\n }\n\n private addMonths(months: number) {\n this.setMonth(this.focusedDay.getMonth() + months);\n }\n\n private addYears(years: number) {\n this.setYear(this.focusedDay.getFullYear() + years);\n }\n\n private startOfWeek() {\n this.setFocusedDay(startOfWeek(this.focusedDay, this.firstDayOfWeek));\n }\n\n private endOfWeek() {\n this.setFocusedDay(endOfWeek(this.focusedDay, this.firstDayOfWeek));\n }\n\n private setMonth(month: number) {\n const min = setMonth(startOfMonth(this.focusedDay), month);\n const max = endOfMonth(min);\n const date = setMonth(this.focusedDay, month);\n\n this.setFocusedDay(clamp(date, min, max));\n }\n\n private setYear(year: number) {\n const min = setYear(startOfMonth(this.focusedDay), year);\n const max = endOfMonth(min);\n const date = setYear(this.focusedDay, year);\n\n this.setFocusedDay(clamp(date, min, max));\n }\n\n private handleTouchStart = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n this.initialTouchX = touch.pageX;\n this.initialTouchY = touch.pageY;\n };\n\n // private handleTouchMove = (event: TouchEvent) => {\n // event.preventDefault()\n // }\n\n private handleTouchEnd = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled\n const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled\n const threshold = 70;\n\n const isHorizontalSwipe = Math.abs(distX) >= threshold && Math.abs(distY) <= threshold;\n\n if (isHorizontalSwipe) {\n this.addMonths(distX < 0 ? 1 : -1);\n }\n\n this.initialTouchY = null;\n this.initialTouchX = null;\n };\n\n private handleNextMonthClick = (event: MouseEvent) => {\n event.preventDefault();\n this.addMonths(1);\n };\n\n private handlePreviousMonthClick = (event: MouseEvent) => {\n event.preventDefault();\n this.addMonths(-1);\n };\n\n private handleKeyboardNavigation = (event: KeyboardEvent) => {\n var handled = true;\n\n switch (event.keyCode) {\n case keyCode.RIGHT:\n this.addDays(1);\n break;\n case keyCode.LEFT:\n this.addDays(-1);\n break;\n case keyCode.DOWN:\n this.addDays(7);\n break;\n case keyCode.UP:\n this.addDays(-7);\n break;\n case keyCode.PAGE_UP:\n if (event.shiftKey) {\n this.addYears(-1);\n } else {\n this.addMonths(-1);\n }\n break;\n case keyCode.PAGE_DOWN:\n if (event.shiftKey) {\n this.addYears(1);\n } else {\n this.addMonths(1);\n }\n break;\n case keyCode.HOME:\n this.startOfWeek();\n break;\n case keyCode.END:\n this.endOfWeek();\n break;\n default:\n handled = false;\n }\n\n if (handled) {\n event.preventDefault();\n this.enableActiveFocus();\n }\n };\n\n private handleDaySelect = (_event: MouseEvent, day: Date) => {\n const isInRange = inRange(day, parseISODate(this.min), parseISODate(this.max));\n const isAllowed = !this.isDateDisabled(day);\n\n if (isInRange && isAllowed) {\n this.setDate(day);\n\n this.stzhChange.emit({\n component: \"stzh-calendar\",\n value: this.value,\n valueAsDate: day,\n });\n } else {\n // for consistency we should set the focused day in cases where\n // user has selected a day that has been specifically disallowed\n this.setFocusedDay(day);\n }\n };\n\n private handleMonthSelect = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n this.setMonth(parseInt(value, 10));\n };\n\n private handleYearSelect = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n this.setYear(parseInt(value, 10));\n };\n\n private processFocusedDayNode = (element: HTMLButtonElement) => {\n // this.focusedDayNode = element\n\n if (this.activeFocus) {\n setTimeout(() => element.focus(), 0);\n }\n };\n\n async componentWillLoad() {\n // this.monthSelectId = `stzh-calendar-month-${calendarCounter}`;\n // this.yearSelectId = `stzh-calendar-year-${calendarCounter}`;\n this.dialogLabelId = `stzh-calendar-dialog-${calendarCounter}`;\n calendarCounter++;\n\n this.valueWatcher(this.value);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"calendar\");\n }\n }\n\n connectedCallback() {\n this.createDateFormatters();\n }\n\n render() {\n const valueAsDate = parseISODate(this.value);\n const selectedYear = (valueAsDate || this.focusedDay).getFullYear();\n const focusedMonth = this.focusedDay.getMonth();\n const focusedYear = this.focusedDay.getFullYear();\n\n const minDate = parseISODate(this.min);\n const maxDate = parseISODate(this.max);\n const prevMonthDisabled =\n minDate != null && minDate.getMonth() === focusedMonth && minDate.getFullYear() === focusedYear;\n const nextMonthDisabled =\n maxDate != null && maxDate.getMonth() === focusedMonth && maxDate.getFullYear() === focusedYear;\n\n const minYear = minDate ? minDate.getFullYear() : selectedYear - 10;\n const maxYear = maxDate ? maxDate.getFullYear() : selectedYear + 10;\n\n const monthDropdownOptions = this.localization.$globals.monthNames.map((month, i) => {\n return {\n value: i.toString(),\n text: month,\n disabled: !inRange(\n new Date(focusedYear, i, 1),\n minDate ? startOfMonth(minDate) : null,\n maxDate ? endOfMonth(maxDate) : null,\n ),\n };\n });\n\n const yearDropdownOptions = range(minYear, maxYear).map(year => {\n return {\n value: year.toString(),\n text: year.toString(),\n };\n });\n\n return (\n <Host>\n <div\n class={{\n \"stzh-calendar\": true,\n }}\n /* onTouchMove={this.handleTouchMove} */\n onTouchStart={this.handleTouchStart}\n onTouchEnd={this.handleTouchEnd}\n >\n <div class=\"stzh-calendar__wrapper\">\n {/*\n <div class=\"stzh-calendar__mobile\" onFocusin={this.disableActiveFocus}>\n <label class=\"stzh-calendar__mobile-heading\">{this.localization.calendarHeading}</label>\n </div>\n */}\n {/* @ts-ignore */}\n <div class=\"stzh-calendar__header\" onFocusin={this.disableActiveFocus}>\n <div class=\"stzh-calendar__nav is-dropdowns\">\n <h2 id={this.dialogLabelId} class=\"stzh-calendar__vhidden\" aria-live=\"polite\" aria-atomic=\"true\">\n {this.localization.$globals.monthNames[focusedMonth]}\n {this.focusedDay.getFullYear()}\n </h2>\n\n <stzh-dropdown\n class=\"stzh-calendar__dropdown\"\n variant=\"plain\"\n size=\"small\"\n inline\n popover-fullwidth=\"horizontal\"\n noSearch={true}\n openOnFocus={false}\n items={[focusedMonth.toString()]}\n options={monthDropdownOptions}\n label={this.localization.monthSelectLabel}\n labelHidden={true}\n onStzhChange={this.handleMonthSelect}\n ></stzh-dropdown>\n\n <stzh-dropdown\n class=\"stzh-calendar__dropdown\"\n variant=\"plain\"\n size=\"small\"\n inline\n popover-fullwidth=\"horizontal\"\n noSearch={true}\n openOnFocus={false}\n items={[focusedYear.toString()]}\n options={yearDropdownOptions}\n label={this.localization.yearSelectLabel}\n labelHidden={true}\n onStzhChange={this.handleYearSelect}\n ></stzh-dropdown>\n\n {/* alternative for dropdown with popover:\n <stzh-popover>\n <button class=\"stzh-calendar__select-label\" aria-label={this.localization.monthSelectLabel}>\n <span>{this.localization.$globals.monthNamesShort[focusedMonth]}</span>\n <stzh-icon class=\"stzh-calendar__select-icon\" name=\"angle-down\"></stzh-icon>\n </button>\n <stzh-menu slot=\"content\">\n {this.localization.$globals.monthNames.map((month, i) => (\n <stzh-menu-item\n // onClick={this.handleMonthSelect(month)}\n active={i === focusedMonth}\n disabled={\n !inRange(\n new Date(focusedYear, i, 1),\n minDate ? startOfMonth(minDate) : null,\n maxDate ? endOfMonth(maxDate) : null\n )\n }\n >\n {month}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>\n */}\n\n {/* original implmentation with native select:\n <label htmlFor={this.monthSelectId} class=\"stzh-calendar__vhidden\">\n {this.localization.monthSelectLabel}\n </label>\n\n <div class=\"stzh-calendar__select-wrapper\">\n <select\n id={this.monthSelectId}\n class=\"stzh-calendar__select stzh-calendar__select--month\"\n onChange={this.handleMonthSelect}\n >\n {this.localization.$globals.monthNames.map((month, i) => (\n <option\n key={month}\n value={i}\n selected={i === focusedMonth}\n disabled={\n !inRange(\n new Date(focusedYear, i, 1),\n minDate ? startOfMonth(minDate) : null,\n maxDate ? endOfMonth(maxDate) : null\n )\n }\n >\n {month}\n </option>\n ))}\n </select>\n <div class=\"stzh-calendar__select-label\" aria-hidden=\"true\">\n <span>{this.localization.$globals.monthNamesShort[focusedMonth]}</span>\n <stzh-icon class=\"stzh-calendar__select-icon\" name=\"angle-down\"></stzh-icon>\n </div>\n </div>\n\n <label htmlFor={this.yearSelectId} class=\"stzh-calendar__vhidden\">\n {this.localization.yearSelectLabel}\n </label>\n\n <div class=\"stzh-calendar__select-wrapper\">\n <select\n id={this.yearSelectId}\n class=\"stzh-calendar__select stzh-calendar__select--year\"\n onChange={this.handleYearSelect}\n >\n {range(minYear, maxYear).map(year => (\n <option key={year} selected={year === focusedYear}>\n {year}\n </option>\n ))}\n </select>\n <div class=\"stzh-calendar__select-label\" aria-hidden=\"true\">\n <span>{this.focusedDay.getFullYear()}</span>\n <stzh-icon class=\"stzh-calendar__select-icon\" name=\"angle-down\"></stzh-icon>\n </div>\n </div>\n */}\n </div>\n\n <div class=\"stzh-calendar__nav\">\n <stzh-button\n class=\"stzh-calendar__prev\"\n variant=\"tertiary\"\n size=\"small\"\n icon=\"arrow-left\"\n iconOnly={true}\n onClick={this.handlePreviousMonthClick}\n disabled={prevMonthDisabled}\n type=\"button\"\n a11yLabel={this.localization.prevMonthLabel}\n analyticsId={this.prevMonthAnalyticsId || this.localization.prevMonthLabel}\n ></stzh-button>\n <stzh-button\n class=\"stzh-calendar__next\"\n variant=\"tertiary\"\n size=\"small\"\n icon=\"arrow-right\"\n iconOnly={true}\n onClick={this.handleNextMonthClick}\n disabled={nextMonthDisabled}\n type=\"button\"\n a11yLabel={this.localization.nextMonthLabel}\n analyticsId={this.nextMonthAnalyticsId || this.localization.nextMonthLabel}\n ></stzh-button>\n </div>\n </div>\n\n <StzhCalendarMonth\n dateFormatter={this.dateFormatShort}\n selectedDate={valueAsDate}\n focusedDate={this.focusedDay}\n onDateSelect={this.handleDaySelect}\n onKeyboardNavigation={this.handleKeyboardNavigation}\n labelledById={this.dialogLabelId}\n localization={this.localization}\n firstDayOfWeek={this.firstDayOfWeek}\n focusedDayRef={this.processFocusedDayNode}\n min={minDate}\n max={maxDate}\n isDateDisabled={this.isDateDisabled}\n />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -17,9 +17,9 @@ const StzhCell = /*@__PURE__*/ proxyCustomElement(class StzhCell extends H {
17
17
  this.alignSelf = "auto";
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '74305f85fac11be1d4099204b0bad158db539a72' }, h("div", { key: '826f6d0f8f2286b83aa05c3bb65b58ab410c5300', class: {
20
+ return (h(Host, { key: 'e69d4a858d0c8a648fe11ef94e92ed58d6eb5118' }, h("div", { key: '828fa4c918feab9c8be44ffb454e1352ca7d3d09', class: {
21
21
  "stzh-cell": true,
22
- } }, h("slot", { key: 'e11439082fa2ba4e3c7de5df868a39d710ec6dce' }))));
22
+ } }, h("slot", { key: '38bfc39c2a4b59a717c61b7c5939c989cc63fa30' }))));
23
23
  }
24
24
  static get style() { return StzhCellStyle0; }
25
25
  }, [1, "stzh-cell", {
@@ -47,4 +47,4 @@ function defineCustomElement() {
47
47
 
48
48
  export { StzhCell as S, defineCustomElement as d };
49
49
 
50
- //# sourceMappingURL=p-a5acb217.js.map
50
+ //# sourceMappingURL=p-200f9da5.js.map
@@ -1 +1 @@
1
- {"file":"p-a5acb217.js","mappings":";;AAAA,MAAM,WAAW,GAAG,0yNAA0yN,CAAC;AAC/zN,uBAAe,WAAW;;MCWb,QAAQ;;;;;;;;;;qBAaoD,MAAM;yBAGtB,MAAM;;IAE7D,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI;aAClB,IAED,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-cell/stzh-cell.scss?tag=stzh-cell&encapsulation=shadow","src/components/stzh-cell/stzh-cell.tsx"],"sourcesContent":[":host {\n // couldn't use cell-span and calcuate the with with css calc\n // since IE was calculating the width wrongly with certain viewport widths\n // so calculating it with sass and using the width directly\n --cell-width: 100%;\n\n max-width: 100%;\n width: var(--cell-width);\n flex-basis: var(--cell-width);\n flex-shrink: 0;\n}\n\n/* Align variants */\n\n:host([align=\"left\"]) {\n margin-right: auto;\n}\n\n:host([align=\"right\"]) {\n margin-left: auto;\n}\n\n:host([align=\"middle\"]) {\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Align self variants */\n\n:host([align-self=\"start\"]) {\n align-self: flex-start;\n}\n\n:host([align-self=\"end\"]) {\n align-self: flex-end;\n}\n\n:host([align-self=\"center\"]) {\n align-self: center;\n}\n\n:host([align-self=\"baseline\"]) {\n align-self: baseline;\n}\n\n:host([align-self=\"stretch\"]) {\n align-self: stretch;\n}\n\n@mixin cellProps($breakpoint: null) {\n @for $i from 1 through $gridCells {\n @if $breakpoint {\n :host([span-#{$breakpoint}=\"#{$i}\"]) {\n @include mq($from: $breakpoint) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n } @else {\n :host([span=\"#{$i}\"]) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n }\n}\n\n@include cellProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include cellProps($breakpoint);\n}\n\n.stzh-cell {\n height: 100%;\n padding-left: calc(#{$gridGutter} / 2);\n padding-right: calc(#{$gridGutter} / 2);\n\n @include mq($from: small) {\n padding-left: calc(#{$gridGutterSmall} / 2);\n padding-right: calc(#{$gridGutterSmall} / 2);\n }\n\n @include mq($from: medium) {\n padding-left: calc(#{$gridGutterMedium} / 2);\n padding-right: calc(#{$gridGutterMedium} / 2);\n }\n\n @include mq($from: large) {\n padding-left: calc(#{$gridGutterLarge} / 2);\n padding-right: calc(#{$gridGutterLarge} / 2);\n }\n\n @include mq($from: ultra) {\n padding-left: calc(#{$gridGutterUltra} / 2);\n padding-right: calc(#{$gridGutterUltra} / 2);\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-cell\",\n styleUrl: \"stzh-cell.scss\",\n shadow: true,\n})\nexport class StzhCell {\n /** Default span of each cell */\n @Prop({ reflect: true }) span: number;\n /** Default span of each cell above small breakpoint */\n @Prop({ reflect: true }) spanSmall: number;\n /** Default span of each cell above medium breakpoint */\n @Prop({ reflect: true }) spanMedium: number;\n /** Default span of each cell above large breakpoint */\n @Prop({ reflect: true }) spanLarge: number;\n /** Default span of each cell above ultra breakpoint */\n @Prop({ reflect: true }) spanUltra: number;\n\n /** Controlling how cell is aligned in main axis (sets margin: auto to left/right side) */\n @Prop({ reflect: true }) align: \"none\" | \"left\" | \"right\" | \"middle\" = \"none\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) alignSelf: Layout.AlignSelf = \"auto\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-cell\": true,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-200f9da5.js","mappings":";;AAAA,MAAM,WAAW,GAAG,0yNAA0yN,CAAC;AAC/zN,uBAAe,WAAW;;MCWb,QAAQ;;;;;;;;;;qBAaoD,MAAM;yBAGtB,MAAM;;IAE7D,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI;aAClB,IAED,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-cell/stzh-cell.scss?tag=stzh-cell&encapsulation=shadow","src/components/stzh-cell/stzh-cell.tsx"],"sourcesContent":[":host {\n // couldn't use cell-span and calcuate the with with css calc\n // since IE was calculating the width wrongly with certain viewport widths\n // so calculating it with sass and using the width directly\n --cell-width: 100%;\n\n max-width: 100%;\n width: var(--cell-width);\n flex-basis: var(--cell-width);\n flex-shrink: 0;\n}\n\n/* Align variants */\n\n:host([align=\"left\"]) {\n margin-right: auto;\n}\n\n:host([align=\"right\"]) {\n margin-left: auto;\n}\n\n:host([align=\"middle\"]) {\n margin-left: auto;\n margin-right: auto;\n}\n\n/* Align self variants */\n\n:host([align-self=\"start\"]) {\n align-self: flex-start;\n}\n\n:host([align-self=\"end\"]) {\n align-self: flex-end;\n}\n\n:host([align-self=\"center\"]) {\n align-self: center;\n}\n\n:host([align-self=\"baseline\"]) {\n align-self: baseline;\n}\n\n:host([align-self=\"stretch\"]) {\n align-self: stretch;\n}\n\n@mixin cellProps($breakpoint: null) {\n @for $i from 1 through $gridCells {\n @if $breakpoint {\n :host([span-#{$breakpoint}=\"#{$i}\"]) {\n @include mq($from: $breakpoint) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n } @else {\n :host([span=\"#{$i}\"]) {\n --cell-width: #{calc(100% / ($gridCells / $i))};\n }\n }\n }\n}\n\n@include cellProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include cellProps($breakpoint);\n}\n\n.stzh-cell {\n height: 100%;\n padding-left: calc(#{$gridGutter} / 2);\n padding-right: calc(#{$gridGutter} / 2);\n\n @include mq($from: small) {\n padding-left: calc(#{$gridGutterSmall} / 2);\n padding-right: calc(#{$gridGutterSmall} / 2);\n }\n\n @include mq($from: medium) {\n padding-left: calc(#{$gridGutterMedium} / 2);\n padding-right: calc(#{$gridGutterMedium} / 2);\n }\n\n @include mq($from: large) {\n padding-left: calc(#{$gridGutterLarge} / 2);\n padding-right: calc(#{$gridGutterLarge} / 2);\n }\n\n @include mq($from: ultra) {\n padding-left: calc(#{$gridGutterUltra} / 2);\n padding-right: calc(#{$gridGutterUltra} / 2);\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-cell\",\n styleUrl: \"stzh-cell.scss\",\n shadow: true,\n})\nexport class StzhCell {\n /** Default span of each cell */\n @Prop({ reflect: true }) span: number;\n /** Default span of each cell above small breakpoint */\n @Prop({ reflect: true }) spanSmall: number;\n /** Default span of each cell above medium breakpoint */\n @Prop({ reflect: true }) spanMedium: number;\n /** Default span of each cell above large breakpoint */\n @Prop({ reflect: true }) spanLarge: number;\n /** Default span of each cell above ultra breakpoint */\n @Prop({ reflect: true }) spanUltra: number;\n\n /** Controlling how cell is aligned in main axis (sets margin: auto to left/right side) */\n @Prop({ reflect: true }) align: \"none\" | \"left\" | \"right\" | \"middle\" = \"none\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) alignSelf: Layout.AlignSelf = \"auto\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-cell\": true,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,9 +2,9 @@ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
2
2
  import { s as setPropsIfNull, h as hasSlot } from './p-289f5de2.js';
3
3
  import { w as waitForEvent } from './p-70ec7e79.js';
4
4
  import { s as stopAnimations, a as animateTo, b as shimKeyframesAutoValues } from './p-2c0bec3e.js';
5
- import { d as defineCustomElement$3 } from './p-42e86bbd.js';
6
- import { d as defineCustomElement$2 } from './p-b84d0233.js';
7
- import { d as defineCustomElement$1 } from './p-a2659715.js';
5
+ import { d as defineCustomElement$3 } from './p-b8fda153.js';
6
+ import { d as defineCustomElement$2 } from './p-ec5e2f2a.js';
7
+ import { d as defineCustomElement$1 } from './p-60d4ef07.js';
8
8
 
9
9
  const stzhToastCss = ":host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block;}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed);}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-toast{border:0.0625rem solid Highlight}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small);padding:var(--stzh-space-medium)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall)}";
10
10
  const StzhToastStyle0 = stzhToastCss;
@@ -176,10 +176,10 @@ const StzhToast = /*@__PURE__*/ proxyCustomElement(class StzhToast extends H {
176
176
  "stzh-toast--has-close-hidden": this.hideClose,
177
177
  [`stzh-toast--type-${this.type}`]: !!this.type,
178
178
  };
179
- return (h(Host, { key: '4e285a7dcf497ce26a1004dd5a3e4621c77b479e' }, h("div", { key: '0f1c35e0ded3d6dc7c25f7cc945feb51abec78df', ref: el => (this.rootElement = el), class: classes }, h("div", { key: 'f069ec52a332bd0b4e6806944bf51da975bd3037', class: "stzh-toast__content" }, h("div", { key: 'e8710ce1b9e46156b93e243f5e9aa600357dfdd5', class: "stzh-toast__icon-wrapper" }, h("stzh-icon", { key: '38f2e1a6c04389c9a81ceeab0f4e8110342ea603', class: "stzh-toast__icon", name: (this.type === "info" && "info-help-filled") ||
179
+ return (h(Host, { key: 'c4cddcb991046c55971bad61369fe88d55cc85ec' }, h("div", { key: 'e9f198ca43f7bdd7ea563e22e6e630a27afddc3e', ref: el => (this.rootElement = el), class: classes }, h("div", { key: 'abf21ad1ec3651e9e9e52f1b2799b72b3425bd67', class: "stzh-toast__content" }, h("div", { key: 'fc0eadf23d03c0b1951a22bb62ba3690e5a526b2', class: "stzh-toast__icon-wrapper" }, h("stzh-icon", { key: 'b2040c789432f36bbbb31e24c5b8675358f00dc3', class: "stzh-toast__icon", name: (this.type === "info" && "info-help-filled") ||
180
180
  (this.type === "success" && "checkmark-circle-filled") ||
181
181
  (this.type === "warning" && "important-warning-filled") ||
182
- (this.type === "error" && "warning-filled") })), h("div", { key: '0b29bf666a5248d71cd5b975f74018982fbb3288', class: "stzh-toast__text-wrapper" }, h("div", { key: 'ff74b2c1b20d8c482fc919c52f5b0d018ce76c9e', class: "stzh-toast__label" }, this.label), h("div", { key: 'c28bbec7efa63f14694e57a87c71a33892357fe1', class: "stzh-toast__link" }, h("slot", { key: '310c29fbe610e61787339561f33f4802d57e5d1c', name: "link", onSlotchange: this.handleLinkSlotchange })))), !this.hideClose && (h("div", { key: '6f2b4ff2ee5c707dcba8981dd3d7c0811390c5ec', class: "stzh-toast__close-wrapper" }, h("stzh-button", { key: 'c9e62c85a2a25c85a8d6074aa3a52104a5360638', class: "stzh-toast__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
182
+ (this.type === "error" && "warning-filled") })), h("div", { key: 'b6ae1a7b96bc58a17661a5b8466ceb605e11dbed', class: "stzh-toast__text-wrapper" }, h("div", { key: 'cfe7ebf5a2741c556484a7cef8c5320c4fb2a8e0', class: "stzh-toast__label" }, this.label), h("div", { key: '604fd967e474f5eab5ba4557b77b03e11390ae80', class: "stzh-toast__link" }, h("slot", { key: '30b1ad692cd7f968ac86686ef45702c1b2bacea2', name: "link", onSlotchange: this.handleLinkSlotchange })))), !this.hideClose && (h("div", { key: '3e59560a0ffd1f7054d5fbfbdf0a9f4722ca0765', class: "stzh-toast__close-wrapper" }, h("stzh-button", { key: '858a808cf4570cdd7191fe34e51050aa5a94a3ed', class: "stzh-toast__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
183
183
  }
184
184
  get element() { return this; }
185
185
  static get watchers() { return {
@@ -229,4 +229,4 @@ function defineCustomElement() {
229
229
 
230
230
  export { StzhToast as S, defineCustomElement as d };
231
231
 
232
- //# sourceMappingURL=p-b1c3189a.js.map
232
+ //# sourceMappingURL=p-258d7bde.js.map