@oiz/stzh-components 4.5.0 → 4.6.0-beta1

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 (943) hide show
  1. package/dist/cjs/{app-globals-64d91100.js → app-globals-6a08057f.js} +2 -2
  2. package/dist/cjs/{app-globals-64d91100.js.map → app-globals-6a08057f.js.map} +1 -1
  3. package/dist/cjs/index-870b4dee.js +6 -2
  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 +9 -9
  8. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  9. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  20. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  21. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  24. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact.cjs.entry.js +1 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  33. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  36. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +10 -10
  39. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
  43. package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
  44. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  45. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  54. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  56. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  57. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  58. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-linklist.cjs.entry.js +5 -1
  61. package/dist/cjs/stzh-linklist.cjs.entry.js.map +1 -1
  62. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-loader_2.cjs.entry.js +5 -5
  64. package/dist/cjs/stzh-loader_2.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  68. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  78. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
  82. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +68 -0
  83. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -0
  84. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
  85. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  86. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +9 -25
  87. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
  88. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  92. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  95. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  106. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  107. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  111. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  116. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  117. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  121. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  122. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -19
  125. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  126. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +8 -2
  127. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js.map +1 -1
  128. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +38 -1
  129. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  130. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  131. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  132. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  133. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  134. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  135. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  136. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  137. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  138. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  139. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -1
  140. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +20 -11
  141. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.css +127 -261
  142. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +7 -93
  143. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  144. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +7 -73
  145. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +6 -3
  146. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  147. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +501 -0
  148. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js +16 -0
  149. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js.map +1 -0
  150. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +292 -0
  151. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -0
  152. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +70 -0
  153. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  154. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  155. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  156. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  157. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  158. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  159. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  161. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  162. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  163. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  164. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  165. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  166. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  167. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  168. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  169. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  170. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  171. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  172. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  173. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  174. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  175. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  176. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  177. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  178. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  179. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  180. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  181. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  182. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  183. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  184. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  185. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  186. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  187. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  188. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  189. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  190. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  191. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  192. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  193. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  194. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  195. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  196. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +1 -0
  197. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  198. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  199. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  200. package/dist/collection/components/stzh-dialog/stzh-dialog.js +5 -5
  201. package/dist/collection/components/stzh-dialog/stzh-dialog.js.map +1 -1
  202. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  203. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  204. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  205. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  206. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  207. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  208. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  209. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  210. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  211. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  212. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  213. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  214. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  215. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  216. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  217. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  218. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  219. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  220. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  221. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  222. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  223. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  224. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  225. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  226. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  227. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  228. package/dist/collection/components/stzh-overlay/stzh-overlay.js +4 -4
  229. package/dist/collection/components/stzh-overlay/stzh-overlay.js.map +1 -1
  230. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  231. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  232. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  233. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  234. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  235. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  236. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  237. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  238. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  239. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  240. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  241. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  242. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  243. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  244. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  245. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  246. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  247. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  248. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  249. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  250. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  251. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  252. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  253. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  254. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  255. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  256. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  257. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  258. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  259. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  260. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  261. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  262. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  263. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  264. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  265. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  266. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  267. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  268. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  269. package/dist/collection/index.js.map +1 -1
  270. package/dist/components/index.js +1 -1
  271. package/dist/components/{p-368c4aa2.js → p-02c5b1ba.js} +5 -5
  272. package/dist/components/{p-368c4aa2.js.map → p-02c5b1ba.js.map} +1 -1
  273. package/dist/components/{p-044c234a.js → p-109076c9.js} +7 -7
  274. package/dist/components/{p-044c234a.js.map → p-109076c9.js.map} +1 -1
  275. package/dist/components/{p-0ac64574.js → p-111f7e01.js} +4 -4
  276. package/dist/components/{p-0ac64574.js.map → p-111f7e01.js.map} +1 -1
  277. package/dist/components/{p-9ac321e4.js → p-12bdcf8a.js} +13 -13
  278. package/dist/components/p-12bdcf8a.js.map +1 -0
  279. package/dist/components/{p-a649af8a.js → p-12c94697.js} +14 -14
  280. package/dist/components/{p-a649af8a.js.map → p-12c94697.js.map} +1 -1
  281. package/dist/components/{p-1c939b9f.js → p-14716cc2.js} +2 -2
  282. package/dist/components/{p-1c939b9f.js.map → p-14716cc2.js.map} +1 -1
  283. package/dist/components/{p-55b58017.js → p-151a98a9.js} +2 -2
  284. package/dist/components/{p-55b58017.js.map → p-151a98a9.js.map} +1 -1
  285. package/dist/components/{p-c418c5d3.js → p-15ee297d.js} +2 -2
  286. package/dist/components/{p-c418c5d3.js.map → p-15ee297d.js.map} +1 -1
  287. package/dist/components/{p-9be51edc.js → p-1816eeeb.js} +6 -6
  288. package/dist/components/{p-9be51edc.js.map → p-1816eeeb.js.map} +1 -1
  289. package/dist/components/{p-59b494a3.js → p-18196788.js} +2 -2
  290. package/dist/components/{p-59b494a3.js.map → p-18196788.js.map} +1 -1
  291. package/dist/components/{p-d91d6c31.js → p-18ba315e.js} +2 -2
  292. package/dist/components/{p-d91d6c31.js.map → p-18ba315e.js.map} +1 -1
  293. package/dist/components/{p-b5f00d83.js → p-1cfd0791.js} +5 -5
  294. package/dist/components/{p-b5f00d83.js.map → p-1cfd0791.js.map} +1 -1
  295. package/dist/components/{p-ce0311f9.js → p-2502ff26.js} +2 -2
  296. package/dist/components/{p-ce0311f9.js.map → p-2502ff26.js.map} +1 -1
  297. package/dist/components/{p-25ff5360.js → p-26edabbb.js} +4 -4
  298. package/dist/components/{p-25ff5360.js.map → p-26edabbb.js.map} +1 -1
  299. package/dist/components/{p-503bdd56.js → p-34267046.js} +5 -5
  300. package/dist/components/p-34267046.js.map +1 -0
  301. package/dist/components/{p-285c271e.js → p-36681d03.js} +3 -3
  302. package/dist/components/{p-285c271e.js.map → p-36681d03.js.map} +1 -1
  303. package/dist/components/{p-527121ef.js → p-36fb6c94.js} +2 -2
  304. package/dist/components/{p-527121ef.js.map → p-36fb6c94.js.map} +1 -1
  305. package/dist/components/{p-7b016fd0.js → p-387454b3.js} +3 -3
  306. package/dist/components/{p-7b016fd0.js.map → p-387454b3.js.map} +1 -1
  307. package/dist/components/{p-15e2b360.js → p-3efe43d2.js} +3 -3
  308. package/dist/components/{p-15e2b360.js.map → p-3efe43d2.js.map} +1 -1
  309. package/dist/components/{p-8254224a.js → p-3f3349b1.js} +8 -8
  310. package/dist/components/{p-8254224a.js.map → p-3f3349b1.js.map} +1 -1
  311. package/dist/components/{p-683460a5.js → p-479db6c6.js} +2 -2
  312. package/dist/components/{p-683460a5.js.map → p-479db6c6.js.map} +1 -1
  313. package/dist/components/{p-c65c361a.js → p-486bf53e.js} +14 -14
  314. package/dist/components/{p-c65c361a.js.map → p-486bf53e.js.map} +1 -1
  315. package/dist/components/{p-e42121d1.js → p-4a78990f.js} +4 -4
  316. package/dist/components/{p-e42121d1.js.map → p-4a78990f.js.map} +1 -1
  317. package/dist/components/{p-7f251b60.js → p-506a00fc.js} +10 -10
  318. package/dist/components/{p-7f251b60.js.map → p-506a00fc.js.map} +1 -1
  319. package/dist/components/{p-cae6655f.js → p-50945c16.js} +8 -8
  320. package/dist/components/{p-cae6655f.js.map → p-50945c16.js.map} +1 -1
  321. package/dist/components/{p-8d98b7e1.js → p-551fa57d.js} +3 -3
  322. package/dist/components/{p-8d98b7e1.js.map → p-551fa57d.js.map} +1 -1
  323. package/dist/components/{p-5a5884a1.js → p-5571eadc.js} +2 -2
  324. package/dist/components/{p-5a5884a1.js.map → p-5571eadc.js.map} +1 -1
  325. package/dist/components/{p-1e6ceaab.js → p-569f84cb.js} +2 -2
  326. package/dist/components/{p-1e6ceaab.js.map → p-569f84cb.js.map} +1 -1
  327. package/dist/components/{p-8436ccb7.js → p-570cd361.js} +6 -6
  328. package/dist/components/{p-8436ccb7.js.map → p-570cd361.js.map} +1 -1
  329. package/dist/components/{p-52037fe2.js → p-5b94ed4e.js} +7 -7
  330. package/dist/components/{p-52037fe2.js.map → p-5b94ed4e.js.map} +1 -1
  331. package/dist/components/{p-1449a24c.js → p-613937f1.js} +4 -4
  332. package/dist/components/{p-1449a24c.js.map → p-613937f1.js.map} +1 -1
  333. package/dist/components/{p-9a31aa56.js → p-63c4d8c4.js} +3 -3
  334. package/dist/components/{p-9a31aa56.js.map → p-63c4d8c4.js.map} +1 -1
  335. package/dist/components/{p-26ddf3b3.js → p-6897315f.js} +2 -2
  336. package/dist/components/{p-26ddf3b3.js.map → p-6897315f.js.map} +1 -1
  337. package/dist/components/{p-b0a7ed3c.js → p-69e0c8d2.js} +3 -3
  338. package/dist/components/{p-b0a7ed3c.js.map → p-69e0c8d2.js.map} +1 -1
  339. package/dist/components/{p-06ba8843.js → p-6af552c7.js} +6 -6
  340. package/dist/components/{p-06ba8843.js.map → p-6af552c7.js.map} +1 -1
  341. package/dist/components/{p-9c59e8f6.js → p-6e10e5b1.js} +10 -10
  342. package/dist/components/p-6e10e5b1.js.map +1 -0
  343. package/dist/components/{p-f70f31d6.js → p-72101ea0.js} +2 -2
  344. package/dist/components/{p-f70f31d6.js.map → p-72101ea0.js.map} +1 -1
  345. package/dist/components/{p-a8876adb.js → p-72e977cc.js} +3 -3
  346. package/dist/components/{p-a8876adb.js.map → p-72e977cc.js.map} +1 -1
  347. package/dist/components/{p-5a8587ab.js → p-7c4e756c.js} +2 -2
  348. package/dist/components/{p-5a8587ab.js.map → p-7c4e756c.js.map} +1 -1
  349. package/dist/components/{p-820ce57f.js → p-7d7ac6fc.js} +12 -12
  350. package/dist/components/{p-820ce57f.js.map → p-7d7ac6fc.js.map} +1 -1
  351. package/dist/components/{p-604af41f.js → p-8cefcb61.js} +4 -4
  352. package/dist/components/{p-604af41f.js.map → p-8cefcb61.js.map} +1 -1
  353. package/dist/components/{p-e87822db.js → p-8d606617.js} +2 -2
  354. package/dist/components/{p-e87822db.js.map → p-8d606617.js.map} +1 -1
  355. package/dist/components/{p-853de15b.js → p-902ed395.js} +7 -7
  356. package/dist/components/{p-853de15b.js.map → p-902ed395.js.map} +1 -1
  357. package/dist/components/{p-6268e18b.js → p-963d59bf.js} +3 -3
  358. package/dist/components/{p-6268e18b.js.map → p-963d59bf.js.map} +1 -1
  359. package/dist/components/{p-75352a6a.js → p-97868e7a.js} +2 -2
  360. package/dist/components/{p-75352a6a.js.map → p-97868e7a.js.map} +1 -1
  361. package/dist/components/{p-63ba178a.js → p-98aa0418.js} +4 -4
  362. package/dist/components/{p-63ba178a.js.map → p-98aa0418.js.map} +1 -1
  363. package/dist/components/{p-375d74b5.js → p-9aff1354.js} +7 -7
  364. package/dist/components/{p-375d74b5.js.map → p-9aff1354.js.map} +1 -1
  365. package/dist/components/{p-46d253ca.js → p-a0023430.js} +3 -3
  366. package/dist/components/{p-46d253ca.js.map → p-a0023430.js.map} +1 -1
  367. package/dist/components/{p-3b563957.js → p-a2828d2e.js} +9 -9
  368. package/dist/components/{p-3b563957.js.map → p-a2828d2e.js.map} +1 -1
  369. package/dist/components/{p-2f38d899.js → p-ab25d4da.js} +7 -7
  370. package/dist/components/{p-2f38d899.js.map → p-ab25d4da.js.map} +1 -1
  371. package/dist/components/{p-ef6cfd1f.js → p-aeb5dbdc.js} +6 -6
  372. package/dist/components/{p-ef6cfd1f.js.map → p-aeb5dbdc.js.map} +1 -1
  373. package/dist/components/{p-8107e1a2.js → p-b12e2861.js} +5 -5
  374. package/dist/components/{p-8107e1a2.js.map → p-b12e2861.js.map} +1 -1
  375. package/dist/components/{p-b8b342f5.js → p-b6faf10a.js} +2 -2
  376. package/dist/components/{p-b8b342f5.js.map → p-b6faf10a.js.map} +1 -1
  377. package/dist/components/{p-3e28d77d.js → p-be365aa5.js} +3 -3
  378. package/dist/components/{p-3e28d77d.js.map → p-be365aa5.js.map} +1 -1
  379. package/dist/components/{p-1ebc2928.js → p-c06cc6c5.js} +2 -2
  380. package/dist/components/{p-1ebc2928.js.map → p-c06cc6c5.js.map} +1 -1
  381. package/dist/components/{p-87e69533.js → p-c4fccd89.js} +3 -3
  382. package/dist/components/{p-87e69533.js.map → p-c4fccd89.js.map} +1 -1
  383. package/dist/components/{p-677c846d.js → p-c5124a8b.js} +2 -2
  384. package/dist/components/{p-677c846d.js.map → p-c5124a8b.js.map} +1 -1
  385. package/dist/components/{p-b9a50363.js → p-c5a240bd.js} +6 -6
  386. package/dist/components/{p-b9a50363.js.map → p-c5a240bd.js.map} +1 -1
  387. package/dist/components/{p-f6b75419.js → p-d48fd359.js} +7 -7
  388. package/dist/components/{p-f6b75419.js.map → p-d48fd359.js.map} +1 -1
  389. package/dist/components/{p-5e70f03f.js → p-d6702563.js} +9 -9
  390. package/dist/components/{p-5e70f03f.js.map → p-d6702563.js.map} +1 -1
  391. package/dist/components/{p-faae4632.js → p-da83a0ad.js} +11 -11
  392. package/dist/components/{p-faae4632.js.map → p-da83a0ad.js.map} +1 -1
  393. package/dist/components/{p-17efbc57.js → p-dd1c0c0c.js} +2 -2
  394. package/dist/components/{p-17efbc57.js.map → p-dd1c0c0c.js.map} +1 -1
  395. package/dist/components/{p-019721d4.js → p-deb38d3f.js} +4 -4
  396. package/dist/components/{p-019721d4.js.map → p-deb38d3f.js.map} +1 -1
  397. package/dist/components/{p-a393bd0b.js → p-e3182412.js} +3 -3
  398. package/dist/components/{p-a393bd0b.js.map → p-e3182412.js.map} +1 -1
  399. package/dist/components/{p-a6169d66.js → p-e551f11e.js} +9 -9
  400. package/dist/components/{p-a6169d66.js.map → p-e551f11e.js.map} +1 -1
  401. package/dist/components/{p-33ac52bc.js → p-e5cf7853.js} +2 -2
  402. package/dist/components/{p-33ac52bc.js.map → p-e5cf7853.js.map} +1 -1
  403. package/dist/components/{p-1d88f941.js → p-ea3c0ed4.js} +6 -6
  404. package/dist/components/{p-1d88f941.js.map → p-ea3c0ed4.js.map} +1 -1
  405. package/dist/components/p-ef454347.js +90 -0
  406. package/dist/components/p-ef454347.js.map +1 -0
  407. package/dist/components/p-f5779736.js.map +1 -1
  408. package/dist/components/{p-39874f6d.js → p-f7920d42.js} +3 -3
  409. package/dist/components/{p-39874f6d.js.map → p-f7920d42.js.map} +1 -1
  410. package/dist/components/{p-7889ebb0.js → p-fdc914f5.js} +7 -7
  411. package/dist/components/{p-7889ebb0.js.map → p-fdc914f5.js.map} +1 -1
  412. package/dist/components/stzh-accordion-item.js +1 -1
  413. package/dist/components/stzh-accordion.js +1 -1
  414. package/dist/components/stzh-actions.js +1 -1
  415. package/dist/components/stzh-actionset.js +1 -1
  416. package/dist/components/stzh-amount.js +9 -9
  417. package/dist/components/stzh-anchornav.js +5 -5
  418. package/dist/components/stzh-app-nav.js +1 -1
  419. package/dist/components/stzh-appointments.js +13 -13
  420. package/dist/components/stzh-archivelist.js +6 -6
  421. package/dist/components/stzh-audio.js +7 -7
  422. package/dist/components/stzh-badge.js +1 -1
  423. package/dist/components/stzh-banner.js +3 -3
  424. package/dist/components/stzh-bathstatus-item.js +1 -1
  425. package/dist/components/stzh-bathstatus-list.js +6 -6
  426. package/dist/components/stzh-breadcrumb.js +1 -1
  427. package/dist/components/stzh-button.js +1 -1
  428. package/dist/components/stzh-buttongroup.js +1 -1
  429. package/dist/components/stzh-calendar.js +1 -1
  430. package/dist/components/stzh-card-navigation.js +2 -2
  431. package/dist/components/stzh-card-searchresult.js +14 -14
  432. package/dist/components/stzh-card-superteaser.js +13 -13
  433. package/dist/components/stzh-card.js +1 -1
  434. package/dist/components/stzh-cardlist.js +1 -1
  435. package/dist/components/stzh-carousel.js +1 -1
  436. package/dist/components/stzh-cell.js +1 -1
  437. package/dist/components/stzh-chart.js +1 -1
  438. package/dist/components/stzh-checkbox.js +1 -1
  439. package/dist/components/stzh-checkboxgroup.js +6 -6
  440. package/dist/components/stzh-chip.js +1 -1
  441. package/dist/components/stzh-chipgroup.js +1 -1
  442. package/dist/components/stzh-chipselect.js +1 -1
  443. package/dist/components/stzh-clamp.js +1 -1
  444. package/dist/components/stzh-company-logo.js +1 -1
  445. package/dist/components/stzh-contact-cv.js +3 -3
  446. package/dist/components/stzh-contact.js +6 -8
  447. package/dist/components/stzh-contact.js.map +1 -1
  448. package/dist/components/stzh-container.js +1 -1
  449. package/dist/components/stzh-content.js +1 -1
  450. package/dist/components/stzh-cspace.js +1 -1
  451. package/dist/components/stzh-cta.js +3 -3
  452. package/dist/components/stzh-datalist-item.js +1 -1
  453. package/dist/components/stzh-datalist.js +1 -1
  454. package/dist/components/stzh-datamessagelist-item.js +11 -11
  455. package/dist/components/stzh-datamessagelist.js +1 -1
  456. package/dist/components/stzh-datatable.js +16 -16
  457. package/dist/components/stzh-datepicker.js +1 -1
  458. package/dist/components/stzh-daterange.js +4 -4
  459. package/dist/components/stzh-details.js +1 -1
  460. package/dist/components/stzh-dialog.js +1 -1
  461. package/dist/components/stzh-disturber.js +3 -3
  462. package/dist/components/stzh-dropdown.js +1 -1
  463. package/dist/components/stzh-editor.js +3 -3
  464. package/dist/components/stzh-eventinfo.js +4 -4
  465. package/dist/components/stzh-feedreader-item.js +1 -1
  466. package/dist/components/stzh-feedreader.js +7 -7
  467. package/dist/components/stzh-fieldset.js +1 -1
  468. package/dist/components/stzh-figure.js +1 -1
  469. package/dist/components/stzh-flyingfocus.js +1 -1
  470. package/dist/components/stzh-footer.js +4 -4
  471. package/dist/components/stzh-gallery.js +8 -8
  472. package/dist/components/stzh-geo-ref-data.js +22 -22
  473. package/dist/components/stzh-ghettobox.js +1 -1
  474. package/dist/components/stzh-header.js +1 -1
  475. package/dist/components/stzh-heading.js +1 -1
  476. package/dist/components/stzh-homepage-search.js +1 -1
  477. package/dist/components/stzh-homepage-service-highlights.js +5 -5
  478. package/dist/components/stzh-hr.js +1 -1
  479. package/dist/components/stzh-hspace.js +1 -1
  480. package/dist/components/stzh-http-error.js +7 -7
  481. package/dist/components/stzh-icon.js +1 -1
  482. package/dist/components/stzh-iframe.js +1 -1
  483. package/dist/components/stzh-imagecomparison.js +3 -3
  484. package/dist/components/stzh-input.js +1 -1
  485. package/dist/components/stzh-invert.js +1 -1
  486. package/dist/components/stzh-link.js +1 -1
  487. package/dist/components/stzh-linklist.js +14 -11
  488. package/dist/components/stzh-linklist.js.map +1 -1
  489. package/dist/components/stzh-list-item.js +1 -1
  490. package/dist/components/stzh-list.js +1 -1
  491. package/dist/components/stzh-loader.js +1 -1
  492. package/dist/components/stzh-loadingbar.js +1 -1
  493. package/dist/components/stzh-menu-item.js +1 -1
  494. package/dist/components/stzh-menu.js +1 -1
  495. package/dist/components/stzh-message.js +1 -1
  496. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  497. package/dist/components/stzh-monthyearpicker.js +5 -5
  498. package/dist/components/stzh-offline-indicator.js +6 -6
  499. package/dist/components/stzh-olmap.js +1 -1
  500. package/dist/components/stzh-overlay.js +1 -1
  501. package/dist/components/stzh-page-skiplinks.js +1 -1
  502. package/dist/components/stzh-pagebottom.js +8 -8
  503. package/dist/components/stzh-pagecontent.js +1 -1
  504. package/dist/components/stzh-pagetitle-hero.js +1 -1
  505. package/dist/components/stzh-pagetitle-home.js +2 -2
  506. package/dist/components/stzh-pagetitle.js +2 -2
  507. package/dist/components/stzh-pagination.js +1 -1
  508. package/dist/components/stzh-panorama.js +12 -12
  509. package/dist/components/stzh-pi-content-navigation.js +3 -3
  510. package/dist/components/stzh-pi-menu.js +3 -3
  511. package/dist/components/stzh-pi-pagetitle.js +2 -2
  512. package/dist/components/stzh-pi-pagetitle.js.map +1 -1
  513. package/dist/components/stzh-pi-teaser-layout-item.d.ts +11 -0
  514. package/dist/components/stzh-pi-teaser-layout-item.js +8 -0
  515. package/dist/components/stzh-pi-teaser-layout-item.js.map +1 -0
  516. package/dist/components/stzh-pi-teaser-layout.js +5 -5
  517. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  518. package/dist/components/stzh-pi-teaser.js +83 -1
  519. package/dist/components/stzh-pi-teaser.js.map +1 -1
  520. package/dist/components/stzh-pkzh-qr.js +19 -19
  521. package/dist/components/stzh-poicard.js +1 -1
  522. package/dist/components/stzh-poilist.js +18 -18
  523. package/dist/components/stzh-popover.js +1 -1
  524. package/dist/components/stzh-print.js +1 -1
  525. package/dist/components/stzh-quote.js +1 -1
  526. package/dist/components/stzh-radio.js +1 -1
  527. package/dist/components/stzh-radiogroup.js +1 -1
  528. package/dist/components/stzh-ratio.js +1 -1
  529. package/dist/components/stzh-readspeaker.js +5 -5
  530. package/dist/components/stzh-richtext.js +1 -1
  531. package/dist/components/stzh-row.js +1 -1
  532. package/dist/components/stzh-saptcha.js +8 -8
  533. package/dist/components/stzh-scrollup.js +1 -1
  534. package/dist/components/stzh-search.js +17 -17
  535. package/dist/components/stzh-section.js +2 -2
  536. package/dist/components/stzh-share.js +1 -1
  537. package/dist/components/stzh-show.js +1 -1
  538. package/dist/components/stzh-sitemap.js +9 -9
  539. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  540. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  541. package/dist/components/stzh-skiplink.js +1 -1
  542. package/dist/components/stzh-socialmediastream-item.js +1 -1
  543. package/dist/components/stzh-socialmediastream.js +6 -6
  544. package/dist/components/stzh-sortable.js +1 -1
  545. package/dist/components/stzh-space.js +1 -1
  546. package/dist/components/stzh-status.js +1 -1
  547. package/dist/components/stzh-stepper-item.js +1 -1
  548. package/dist/components/stzh-stepper.js +5 -5
  549. package/dist/components/stzh-sticky-actions.js +2 -2
  550. package/dist/components/stzh-sticky.js +1 -1
  551. package/dist/components/stzh-table.js +1 -1
  552. package/dist/components/stzh-tag.js +1 -1
  553. package/dist/components/stzh-text.js +1 -1
  554. package/dist/components/stzh-textandimage.js +1 -1
  555. package/dist/components/stzh-timeline-item.js +3 -3
  556. package/dist/components/stzh-timeline.js +1 -1
  557. package/dist/components/stzh-timepicker.js +5 -5
  558. package/dist/components/stzh-toast.js +1 -1
  559. package/dist/components/stzh-toastbar.js +1 -1
  560. package/dist/components/stzh-toggle.js +6 -6
  561. package/dist/components/stzh-tooltip.js +1 -1
  562. package/dist/components/stzh-twocolumns.js +1 -1
  563. package/dist/components/stzh-upload.js +14 -14
  564. package/dist/components/stzh-vbz-carousel.js +1 -1
  565. package/dist/components/stzh-vbz-intro.js +4 -4
  566. package/dist/components/stzh-vbz-linechip.js +1 -1
  567. package/dist/components/stzh-vbz-majorticker.js +6 -6
  568. package/dist/components/stzh-vbz-ticker.js +6 -6
  569. package/dist/components/stzh-visuallyhidden.js +2 -2
  570. package/dist/components/stzh-vspace.js +2 -2
  571. package/dist/components/stzh-youtube.js +6 -6
  572. package/dist/esm/{app-globals-8ffa411d.js → app-globals-9b613e90.js} +2 -2
  573. package/dist/esm/{app-globals-8ffa411d.js.map → app-globals-9b613e90.js.map} +1 -1
  574. package/dist/esm/index-d8813b10.js +6 -2
  575. package/dist/esm/index.js.map +1 -1
  576. package/dist/esm/loader.js +2 -2
  577. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  578. package/dist/esm/stzh-actions_6.entry.js +9 -9
  579. package/dist/esm/stzh-actionset.entry.js +5 -5
  580. package/dist/esm/stzh-amount.entry.js +1 -1
  581. package/dist/esm/stzh-anchornav.entry.js +1 -1
  582. package/dist/esm/stzh-app-nav.entry.js +1 -1
  583. package/dist/esm/stzh-appointments.entry.js +1 -1
  584. package/dist/esm/stzh-audio.entry.js +3 -3
  585. package/dist/esm/stzh-badge_3.entry.js +3 -3
  586. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  587. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  588. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  589. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  590. package/dist/esm/stzh-card.entry.js +4 -4
  591. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  592. package/dist/esm/stzh-carousel.entry.js +2 -2
  593. package/dist/esm/stzh-chart.entry.js +1 -1
  594. package/dist/esm/stzh-checkbox.entry.js +3 -3
  595. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  596. package/dist/esm/stzh-chip.entry.js +1 -1
  597. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  598. package/dist/esm/stzh-chipselect.entry.js +4 -4
  599. package/dist/esm/stzh-clamp.entry.js +2 -2
  600. package/dist/esm/stzh-company-logo.entry.js +1 -1
  601. package/dist/esm/stzh-components.js +2 -2
  602. package/dist/esm/stzh-contact.entry.js +1 -2
  603. package/dist/esm/stzh-contact.entry.js.map +1 -1
  604. package/dist/esm/stzh-content.entry.js +1 -1
  605. package/dist/esm/stzh-cta.entry.js +1 -1
  606. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  607. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  608. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  609. package/dist/esm/stzh-datepicker_3.entry.js +10 -10
  610. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  611. package/dist/esm/stzh-daterange.entry.js +1 -1
  612. package/dist/esm/stzh-details.entry.js +1 -1
  613. package/dist/esm/stzh-dialog.entry.js +5 -5
  614. package/dist/esm/stzh-dialog.entry.js.map +1 -1
  615. package/dist/esm/stzh-dropdown.entry.js +4 -4
  616. package/dist/esm/stzh-figure.entry.js +1 -1
  617. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  618. package/dist/esm/stzh-footer.entry.js +1 -1
  619. package/dist/esm/stzh-gallery.entry.js +1 -1
  620. package/dist/esm/stzh-ghettobox_3.entry.js +3 -3
  621. package/dist/esm/stzh-header_2.entry.js +1 -1
  622. package/dist/esm/stzh-heading.entry.js +1 -1
  623. package/dist/esm/stzh-hr.entry.js +1 -1
  624. package/dist/esm/stzh-hspace.entry.js +2 -2
  625. package/dist/esm/stzh-http-error.entry.js +1 -1
  626. package/dist/esm/stzh-iframe.entry.js +4 -4
  627. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  628. package/dist/esm/stzh-input.entry.js +5 -5
  629. package/dist/esm/stzh-invert.entry.js +1 -1
  630. package/dist/esm/stzh-link.entry.js +1 -1
  631. package/dist/esm/stzh-linklist.entry.js +6 -2
  632. package/dist/esm/stzh-linklist.entry.js.map +1 -1
  633. package/dist/esm/stzh-list_2.entry.js +2 -2
  634. package/dist/esm/stzh-loader_2.entry.js +5 -5
  635. package/dist/esm/stzh-loader_2.entry.js.map +1 -1
  636. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  637. package/dist/esm/stzh-menu_2.entry.js +2 -2
  638. package/dist/esm/stzh-message.entry.js +2 -2
  639. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  640. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  641. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  642. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  643. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  644. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  645. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  646. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  647. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  648. package/dist/esm/stzh-panorama.entry.js +2 -2
  649. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  650. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  651. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  652. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
  653. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +64 -0
  654. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -0
  655. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  656. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  657. package/dist/esm/stzh-pi-teaser.entry.js +9 -25
  658. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  659. package/dist/esm/stzh-poicard.entry.js +1 -1
  660. package/dist/esm/stzh-poilist.entry.js +1 -1
  661. package/dist/esm/stzh-popover.entry.js +1 -1
  662. package/dist/esm/stzh-print_2.entry.js +2 -2
  663. package/dist/esm/stzh-quote.entry.js +1 -1
  664. package/dist/esm/stzh-ratio.entry.js +1 -1
  665. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  666. package/dist/esm/stzh-saptcha.entry.js +2 -2
  667. package/dist/esm/stzh-scrollup.entry.js +1 -1
  668. package/dist/esm/stzh-search.entry.js +2 -2
  669. package/dist/esm/stzh-section.entry.js +2 -2
  670. package/dist/esm/stzh-sitemap.entry.js +1 -1
  671. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  672. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  673. package/dist/esm/stzh-skiplink.entry.js +1 -1
  674. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  675. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  676. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  677. package/dist/esm/stzh-stepper.entry.js +3 -3
  678. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  679. package/dist/esm/stzh-sticky.entry.js +1 -1
  680. package/dist/esm/stzh-table.entry.js +1 -1
  681. package/dist/esm/stzh-text.entry.js +2 -2
  682. package/dist/esm/stzh-textandimage.entry.js +1 -1
  683. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  684. package/dist/esm/stzh-timeline.entry.js +1 -1
  685. package/dist/esm/stzh-timepicker.entry.js +1 -1
  686. package/dist/esm/stzh-toast_2.entry.js +3 -3
  687. package/dist/esm/stzh-toggle.entry.js +3 -3
  688. package/dist/esm/stzh-tooltip.entry.js +1 -1
  689. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  690. package/dist/esm/stzh-upload.entry.js +3 -3
  691. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  692. package/dist/esm/stzh-vspace.entry.js +2 -2
  693. package/dist/esm/stzh-youtube.entry.js +1 -1
  694. package/dist/stzh-components/index.esm.js.map +1 -1
  695. package/dist/stzh-components/{p-787ea476.entry.js → p-00cb988b.entry.js} +2 -2
  696. package/dist/stzh-components/{p-dac817d4.entry.js → p-0422500c.entry.js} +2 -2
  697. package/dist/stzh-components/{p-5149779d.entry.js → p-08dcf795.entry.js} +2 -2
  698. package/dist/stzh-components/{p-6705f73a.entry.js → p-0b54e58b.entry.js} +2 -2
  699. package/dist/stzh-components/p-0c1c23b6.entry.js +2 -0
  700. package/dist/stzh-components/{p-7fcdf0da.entry.js.map → p-0c1c23b6.entry.js.map} +1 -1
  701. package/dist/stzh-components/{p-822fd427.entry.js → p-0c340dcf.entry.js} +2 -2
  702. package/dist/stzh-components/{p-5f236e09.entry.js → p-0cb8c27c.entry.js} +2 -2
  703. package/dist/stzh-components/{p-58df488a.entry.js → p-0d2af671.entry.js} +2 -2
  704. package/dist/stzh-components/{p-88b60580.entry.js → p-1145c68c.entry.js} +2 -2
  705. package/dist/stzh-components/{p-cdfc3629.entry.js → p-12e3c92b.entry.js} +2 -2
  706. package/dist/stzh-components/p-140c21d2.entry.js +2 -0
  707. package/dist/stzh-components/{p-c27082b1.entry.js.map → p-140c21d2.entry.js.map} +1 -1
  708. package/dist/stzh-components/{p-81234cb3.entry.js → p-15a01b5b.entry.js} +2 -2
  709. package/dist/stzh-components/{p-0dd8bb75.entry.js → p-1bbd32d5.entry.js} +2 -2
  710. package/dist/stzh-components/{p-bfac05d9.entry.js → p-1bc80799.entry.js} +2 -2
  711. package/dist/stzh-components/{p-86134534.entry.js → p-1c858aa2.entry.js} +2 -2
  712. package/dist/stzh-components/{p-59f90fb0.entry.js → p-268a1fd3.entry.js} +2 -2
  713. package/dist/stzh-components/{p-0eb6375d.entry.js → p-27a50935.entry.js} +2 -2
  714. package/dist/stzh-components/{p-bec35e8a.entry.js → p-27e51cbb.entry.js} +2 -2
  715. package/dist/stzh-components/{p-10e8dd7d.entry.js → p-286c9d1c.entry.js} +2 -2
  716. package/dist/stzh-components/p-286c9d1c.entry.js.map +1 -0
  717. package/dist/stzh-components/{p-1f383f92.entry.js → p-287a6647.entry.js} +2 -2
  718. package/dist/stzh-components/{p-5f37f146.entry.js → p-296cf6eb.entry.js} +2 -2
  719. package/dist/stzh-components/{p-05ac8cf5.entry.js → p-2e8cca5f.entry.js} +2 -2
  720. package/dist/stzh-components/{p-91b425d3.entry.js → p-3745bbac.entry.js} +2 -2
  721. package/dist/stzh-components/{p-c5de2eae.entry.js → p-38a9f136.entry.js} +2 -2
  722. package/dist/stzh-components/{p-4883b247.entry.js → p-3b278a40.entry.js} +2 -2
  723. package/dist/stzh-components/{p-a92f593a.entry.js → p-44240b20.entry.js} +2 -2
  724. package/dist/stzh-components/{p-5d4e0dd0.entry.js → p-4538072a.entry.js} +2 -2
  725. package/dist/stzh-components/{p-bf786c3d.entry.js → p-46258bab.entry.js} +2 -2
  726. package/dist/stzh-components/{p-89dc75cb.entry.js → p-46554876.entry.js} +2 -2
  727. package/dist/stzh-components/{p-7bb25462.entry.js → p-4760e8fa.entry.js} +2 -2
  728. package/dist/stzh-components/{p-4524b189.entry.js → p-488de0c8.entry.js} +2 -2
  729. package/dist/stzh-components/{p-802da9eb.entry.js → p-48e7e24c.entry.js} +2 -2
  730. package/dist/stzh-components/p-48fb1f25.entry.js +2 -0
  731. package/dist/stzh-components/{p-ddc0dc04.entry.js.map → p-48fb1f25.entry.js.map} +1 -1
  732. package/dist/stzh-components/{p-060b4bf0.entry.js → p-4cbc6aaa.entry.js} +2 -2
  733. package/dist/stzh-components/{p-5e15683f.entry.js → p-56538913.entry.js} +2 -2
  734. package/dist/stzh-components/p-568ae693.entry.js +2 -0
  735. package/dist/stzh-components/p-568ae693.entry.js.map +1 -0
  736. package/dist/stzh-components/{p-0cf1a45d.entry.js → p-5b30efeb.entry.js} +2 -2
  737. package/dist/stzh-components/{p-1450f777.entry.js → p-5da60d60.entry.js} +2 -2
  738. package/dist/stzh-components/{p-36783a19.entry.js → p-5e0d522c.entry.js} +2 -2
  739. package/dist/stzh-components/{p-560c82e5.entry.js → p-60599b7d.entry.js} +2 -2
  740. package/dist/stzh-components/{p-a634e4a3.entry.js → p-609a9d4a.entry.js} +2 -2
  741. package/dist/stzh-components/p-609a9d4a.entry.js.map +1 -0
  742. package/dist/stzh-components/{p-cb70b81e.entry.js → p-62febcab.entry.js} +2 -2
  743. package/dist/stzh-components/{p-1416149e.entry.js → p-6345a81b.entry.js} +2 -2
  744. package/dist/stzh-components/{p-dd1d8a38.entry.js → p-65f98e78.entry.js} +2 -2
  745. package/dist/stzh-components/{p-f3d3f975.entry.js → p-670b579b.entry.js} +2 -2
  746. package/dist/stzh-components/{p-f50cd7ba.entry.js → p-6a9a7903.entry.js} +2 -2
  747. package/dist/stzh-components/{p-01b910be.entry.js → p-7016efd0.entry.js} +2 -2
  748. package/dist/stzh-components/{p-07a64a81.entry.js → p-70251e01.entry.js} +3 -3
  749. package/dist/stzh-components/{p-242f8853.entry.js → p-70753f8e.entry.js} +2 -2
  750. package/dist/stzh-components/{p-83eee7d8.entry.js → p-7499bdb7.entry.js} +2 -2
  751. package/dist/stzh-components/{p-1ef9b4aa.entry.js → p-7897b99c.entry.js} +2 -2
  752. package/dist/stzh-components/{p-813765e0.entry.js → p-7ddf3d51.entry.js} +2 -2
  753. package/dist/stzh-components/{p-7a0e995b.entry.js → p-7ec6c8e7.entry.js} +2 -2
  754. package/dist/stzh-components/{p-5afa5c60.entry.js → p-7f29fab9.entry.js} +2 -2
  755. package/dist/stzh-components/{p-a0ec5681.entry.js → p-838a40cd.entry.js} +2 -2
  756. package/dist/stzh-components/{p-4a05919e.entry.js → p-841118e5.entry.js} +2 -2
  757. package/dist/stzh-components/{p-4a05919e.entry.js.map → p-841118e5.entry.js.map} +1 -1
  758. package/dist/stzh-components/{p-e73168b1.entry.js → p-875a572e.entry.js} +2 -2
  759. package/dist/stzh-components/{p-1791b2b3.entry.js → p-8b41f6fa.entry.js} +2 -2
  760. package/dist/stzh-components/{p-c7d7d854.entry.js → p-90bf38bb.entry.js} +2 -2
  761. package/dist/stzh-components/p-913cc4d4.entry.js +2 -0
  762. package/dist/stzh-components/p-913cc4d4.entry.js.map +1 -0
  763. package/dist/stzh-components/{p-072ee314.entry.js → p-9697d5b9.entry.js} +2 -2
  764. package/dist/stzh-components/p-9abad95b.entry.js +2 -0
  765. package/dist/stzh-components/p-9abad95b.entry.js.map +1 -0
  766. package/dist/stzh-components/{p-d3d1a284.entry.js → p-a10a167c.entry.js} +2 -2
  767. package/dist/stzh-components/p-a42eb9ff.entry.js +2 -0
  768. package/dist/stzh-components/p-a42eb9ff.entry.js.map +1 -0
  769. package/dist/stzh-components/{p-97c16051.entry.js → p-a58b97fc.entry.js} +2 -2
  770. package/dist/stzh-components/{p-c4c3cd03.entry.js → p-a74ed640.entry.js} +2 -2
  771. package/dist/stzh-components/{p-be5c3c5f.entry.js → p-a996b9af.entry.js} +2 -2
  772. package/dist/stzh-components/{p-9429dd63.entry.js → p-a9c4e972.entry.js} +2 -2
  773. package/dist/stzh-components/{p-640bd513.entry.js → p-ad9d3926.entry.js} +2 -2
  774. package/dist/stzh-components/p-adc9fb2b.entry.js +2 -0
  775. package/dist/stzh-components/{p-8dccb0a9.entry.js.map → p-adc9fb2b.entry.js.map} +1 -1
  776. package/dist/stzh-components/{p-b5361fa5.entry.js → p-b11487ec.entry.js} +2 -2
  777. package/dist/stzh-components/{p-a60e9919.entry.js → p-b9354960.entry.js} +2 -2
  778. package/dist/stzh-components/{p-368d97c2.entry.js → p-bb1d4410.entry.js} +2 -2
  779. package/dist/stzh-components/{p-c4a656ba.entry.js → p-bd92bc55.entry.js} +2 -2
  780. package/dist/stzh-components/p-c023e0ce.js +2 -0
  781. package/dist/stzh-components/{p-f47de487.js.map → p-c023e0ce.js.map} +1 -1
  782. package/dist/stzh-components/{p-8629e109.entry.js → p-c0c7ebbc.entry.js} +2 -2
  783. package/dist/stzh-components/{p-513cbed7.entry.js → p-c3ddf161.entry.js} +2 -2
  784. package/dist/stzh-components/{p-852bb820.entry.js → p-c475f153.entry.js} +2 -2
  785. package/dist/stzh-components/{p-70739292.entry.js → p-c47d9a87.entry.js} +2 -2
  786. package/dist/stzh-components/{p-aef0879b.entry.js → p-c9195859.entry.js} +2 -2
  787. package/dist/stzh-components/{p-0aa2bf6d.entry.js → p-ce1a02f6.entry.js} +2 -2
  788. package/dist/stzh-components/{p-0c9776ca.entry.js → p-d17e7d90.entry.js} +2 -2
  789. package/dist/stzh-components/{p-4e67373b.entry.js → p-d29ff5f4.entry.js} +2 -2
  790. package/dist/stzh-components/{p-84f8a7c4.entry.js → p-d37d10b5.entry.js} +2 -2
  791. package/dist/stzh-components/p-d37d10b5.entry.js.map +1 -0
  792. package/dist/stzh-components/{p-523cd861.entry.js → p-d38c0e15.entry.js} +2 -2
  793. package/dist/stzh-components/{p-603eb9db.entry.js → p-d3b51ee5.entry.js} +2 -2
  794. package/dist/stzh-components/{p-f52539cd.entry.js → p-d57e8dd4.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b424108f.entry.js → p-d687ec3c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-decc15e9.entry.js → p-d73ba86d.entry.js} +2 -2
  797. package/dist/stzh-components/p-d73ba86d.entry.js.map +1 -0
  798. package/dist/stzh-components/{p-09ccae77.entry.js → p-d82079be.entry.js} +2 -2
  799. package/dist/stzh-components/{p-d8d5bcf0.entry.js → p-d956a33d.entry.js} +2 -2
  800. package/dist/stzh-components/{p-005493d4.entry.js → p-d9dda5eb.entry.js} +2 -2
  801. package/dist/stzh-components/{p-a64a1cfb.entry.js → p-dc40dd2a.entry.js} +2 -2
  802. package/dist/stzh-components/{p-5e81bc87.entry.js → p-dca76ae3.entry.js} +2 -2
  803. package/dist/stzh-components/{p-c4fe3a90.entry.js → p-dcba6464.entry.js} +2 -2
  804. package/dist/stzh-components/{p-b2bd3ab6.entry.js → p-e01d37b9.entry.js} +2 -2
  805. package/dist/stzh-components/{p-52157928.entry.js → p-e054a79d.entry.js} +2 -2
  806. package/dist/stzh-components/{p-7c3ad9ad.entry.js → p-e05db400.entry.js} +2 -2
  807. package/dist/stzh-components/{p-f87cac36.entry.js → p-e513785b.entry.js} +2 -2
  808. package/dist/stzh-components/{p-6201ff22.entry.js → p-e9b37425.entry.js} +2 -2
  809. package/dist/stzh-components/{p-87b49bad.entry.js → p-ec0c1d40.entry.js} +2 -2
  810. package/dist/stzh-components/{p-14d4ccf8.entry.js → p-f0defcda.entry.js} +2 -2
  811. package/dist/stzh-components/{p-f76e4062.entry.js → p-f12cc836.entry.js} +2 -2
  812. package/dist/stzh-components/{p-cfaa0150.entry.js → p-f1340147.entry.js} +2 -2
  813. package/dist/stzh-components/{p-484ab936.entry.js → p-f76bc9ba.entry.js} +2 -2
  814. package/dist/stzh-components/{p-05c5f234.entry.js → p-f86de9e1.entry.js} +2 -2
  815. package/dist/stzh-components/{p-2b99717a.entry.js → p-faddaae7.entry.js} +2 -2
  816. package/dist/stzh-components/{p-592d0768.entry.js → p-fe64fe26.entry.js} +2 -2
  817. package/dist/stzh-components/stzh-components.esm.js +1 -1
  818. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  819. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +0 -2
  820. package/dist/types/components/CMS/stzh-linklist/stzh-linklist.d.ts +5 -1
  821. package/dist/types/components/CMS/stzh-pi-teaser/stzh-pi-teaser.d.ts +0 -7
  822. package/dist/types/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.d.ts +4 -1
  823. package/dist/types/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.d.ts +44 -0
  824. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +1 -1
  825. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +1 -1
  826. package/dist/types/components.d.ts +128 -42
  827. package/dist/types/index.d.ts +5 -0
  828. package/dist/vscode-data.json +92 -45
  829. package/package.json +3 -3
  830. package/dist/components/p-503bdd56.js.map +0 -1
  831. package/dist/components/p-9ac321e4.js.map +0 -1
  832. package/dist/components/p-9c59e8f6.js.map +0 -1
  833. package/dist/components/p-c22c1bb9.js +0 -102
  834. package/dist/components/p-c22c1bb9.js.map +0 -1
  835. package/dist/stzh-components/p-07f2765c.entry.js +0 -2
  836. package/dist/stzh-components/p-07f2765c.entry.js.map +0 -1
  837. package/dist/stzh-components/p-10e8dd7d.entry.js.map +0 -1
  838. package/dist/stzh-components/p-177fe44b.entry.js +0 -2
  839. package/dist/stzh-components/p-177fe44b.entry.js.map +0 -1
  840. package/dist/stzh-components/p-7fcdf0da.entry.js +0 -2
  841. package/dist/stzh-components/p-84f8a7c4.entry.js.map +0 -1
  842. package/dist/stzh-components/p-8dccb0a9.entry.js +0 -2
  843. package/dist/stzh-components/p-a469d79d.entry.js +0 -2
  844. package/dist/stzh-components/p-a469d79d.entry.js.map +0 -1
  845. package/dist/stzh-components/p-a634e4a3.entry.js.map +0 -1
  846. package/dist/stzh-components/p-c27082b1.entry.js +0 -2
  847. package/dist/stzh-components/p-ddc0dc04.entry.js +0 -2
  848. package/dist/stzh-components/p-decc15e9.entry.js.map +0 -1
  849. package/dist/stzh-components/p-f47de487.js +0 -2
  850. /package/dist/stzh-components/{p-787ea476.entry.js.map → p-00cb988b.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-dac817d4.entry.js.map → p-0422500c.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-5149779d.entry.js.map → p-08dcf795.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-6705f73a.entry.js.map → p-0b54e58b.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-822fd427.entry.js.map → p-0c340dcf.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-5f236e09.entry.js.map → p-0cb8c27c.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-58df488a.entry.js.map → p-0d2af671.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-88b60580.entry.js.map → p-1145c68c.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-cdfc3629.entry.js.map → p-12e3c92b.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-81234cb3.entry.js.map → p-15a01b5b.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-0dd8bb75.entry.js.map → p-1bbd32d5.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-bfac05d9.entry.js.map → p-1bc80799.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-86134534.entry.js.map → p-1c858aa2.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-59f90fb0.entry.js.map → p-268a1fd3.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-0eb6375d.entry.js.map → p-27a50935.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-bec35e8a.entry.js.map → p-27e51cbb.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-1f383f92.entry.js.map → p-287a6647.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-5f37f146.entry.js.map → p-296cf6eb.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-05ac8cf5.entry.js.map → p-2e8cca5f.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-91b425d3.entry.js.map → p-3745bbac.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-c5de2eae.entry.js.map → p-38a9f136.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-4883b247.entry.js.map → p-3b278a40.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-a92f593a.entry.js.map → p-44240b20.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-5d4e0dd0.entry.js.map → p-4538072a.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-bf786c3d.entry.js.map → p-46258bab.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-89dc75cb.entry.js.map → p-46554876.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-7bb25462.entry.js.map → p-4760e8fa.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-4524b189.entry.js.map → p-488de0c8.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-802da9eb.entry.js.map → p-48e7e24c.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-060b4bf0.entry.js.map → p-4cbc6aaa.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-5e15683f.entry.js.map → p-56538913.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-0cf1a45d.entry.js.map → p-5b30efeb.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-1450f777.entry.js.map → p-5da60d60.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-36783a19.entry.js.map → p-5e0d522c.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-560c82e5.entry.js.map → p-60599b7d.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-cb70b81e.entry.js.map → p-62febcab.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-1416149e.entry.js.map → p-6345a81b.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-dd1d8a38.entry.js.map → p-65f98e78.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-f3d3f975.entry.js.map → p-670b579b.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-f50cd7ba.entry.js.map → p-6a9a7903.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-01b910be.entry.js.map → p-7016efd0.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-07a64a81.entry.js.map → p-70251e01.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-242f8853.entry.js.map → p-70753f8e.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-83eee7d8.entry.js.map → p-7499bdb7.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-1ef9b4aa.entry.js.map → p-7897b99c.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-813765e0.entry.js.map → p-7ddf3d51.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-7a0e995b.entry.js.map → p-7ec6c8e7.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5afa5c60.entry.js.map → p-7f29fab9.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-a0ec5681.entry.js.map → p-838a40cd.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-e73168b1.entry.js.map → p-875a572e.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-1791b2b3.entry.js.map → p-8b41f6fa.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-c7d7d854.entry.js.map → p-90bf38bb.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-072ee314.entry.js.map → p-9697d5b9.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-d3d1a284.entry.js.map → p-a10a167c.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-97c16051.entry.js.map → p-a58b97fc.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-c4c3cd03.entry.js.map → p-a74ed640.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-be5c3c5f.entry.js.map → p-a996b9af.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-9429dd63.entry.js.map → p-a9c4e972.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-640bd513.entry.js.map → p-ad9d3926.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-b5361fa5.entry.js.map → p-b11487ec.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-a60e9919.entry.js.map → p-b9354960.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-368d97c2.entry.js.map → p-bb1d4410.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-c4a656ba.entry.js.map → p-bd92bc55.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-8629e109.entry.js.map → p-c0c7ebbc.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-513cbed7.entry.js.map → p-c3ddf161.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-852bb820.entry.js.map → p-c475f153.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-70739292.entry.js.map → p-c47d9a87.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-aef0879b.entry.js.map → p-c9195859.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-0aa2bf6d.entry.js.map → p-ce1a02f6.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-0c9776ca.entry.js.map → p-d17e7d90.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-4e67373b.entry.js.map → p-d29ff5f4.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-523cd861.entry.js.map → p-d38c0e15.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-603eb9db.entry.js.map → p-d3b51ee5.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-f52539cd.entry.js.map → p-d57e8dd4.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-b424108f.entry.js.map → p-d687ec3c.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-09ccae77.entry.js.map → p-d82079be.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-d8d5bcf0.entry.js.map → p-d956a33d.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-005493d4.entry.js.map → p-d9dda5eb.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-a64a1cfb.entry.js.map → p-dc40dd2a.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-5e81bc87.entry.js.map → p-dca76ae3.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-c4fe3a90.entry.js.map → p-dcba6464.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-b2bd3ab6.entry.js.map → p-e01d37b9.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-52157928.entry.js.map → p-e054a79d.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-7c3ad9ad.entry.js.map → p-e05db400.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-f87cac36.entry.js.map → p-e513785b.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-6201ff22.entry.js.map → p-e9b37425.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-87b49bad.entry.js.map → p-ec0c1d40.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-14d4ccf8.entry.js.map → p-f0defcda.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-f76e4062.entry.js.map → p-f12cc836.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-cfaa0150.entry.js.map → p-f1340147.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-484ab936.entry.js.map → p-f76bc9ba.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-05c5f234.entry.js.map → p-f86de9e1.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-2b99717a.entry.js.map → p-faddaae7.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-592d0768.entry.js.map → p-fe64fe26.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-c418c5d3.js","mappings":";;;AAAA,MAAM,YAAY,GAAG,s+BAAs+B,CAAC;AAC5/B,wBAAe,YAAY;;MCWd,SAAS;IALtB;;;;QAUU,oBAAe,GAAG;YACxB,MAAM,CAAC,KAAK,EAAE,CAAC;SAChB,CAAC;QAEM,SAAI,GAAG;YACb,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;YAEtE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAChB,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;gBAErD,cAAc,CAAC,IAAI,EAAE;oBACnB,IAAI,EAAE,OAAO;iBACiC,CAAC,CAAC;aACnD,CAAC,CAAC;SACJ,CAAC;KA+BH;IA7BC,iBAAiB;QACf,IAAI,CAAC,IAAI,EAAE,CAAC;QAEZ,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE;YAClC,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;SACd,CAAC,CAAC;KACJ;IAED,oBAAoB;QAClB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;SAC5B;KACF;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,YAAY,EAAE,IAAI;SACnB,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/CMS/stzh-print/stzh-print.scss?tag=stzh-print&encapsulation=shadow","src/components/CMS/stzh-print/stzh-print.tsx"],"sourcesContent":[":host {\n display: contents;\n\n @media print {\n display: none;\n }\n}\n\n.stzh-print {\n display: contents;\n}\n","import { Component, Host, h, Element } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../../utils/utils\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-print\",\n styleUrl: \"stzh-print.scss\",\n shadow: true,\n})\nexport class StzhPrint {\n @Element() element: HTMLStzhPrintElement;\n\n private observer: MutationObserver;\n\n private handleLinkClick = () => {\n window.print();\n };\n\n private init = () => {\n const links = this.element.querySelectorAll(\"stzh-link, stzh-button\");\n\n links.forEach(link => {\n link.addEventListener(\"click\", this.handleLinkClick);\n\n setPropsIfNull(link, {\n icon: \"print\",\n } as HTMLStzhLinkElement | HTMLStzhButtonElement);\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-print\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-15ee297d.js","mappings":";;;AAAA,MAAM,YAAY,GAAG,s+BAAs+B,CAAC;AAC5/B,wBAAe,YAAY;;MCWd,SAAS;IALtB;;;;QAUU,oBAAe,GAAG;YACxB,MAAM,CAAC,KAAK,EAAE,CAAC;SAChB,CAAC;QAEM,SAAI,GAAG;YACb,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;YAEtE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAChB,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;gBAErD,cAAc,CAAC,IAAI,EAAE;oBACnB,IAAI,EAAE,OAAO;iBACiC,CAAC,CAAC;aACnD,CAAC,CAAC;SACJ,CAAC;KA+BH;IA7BC,iBAAiB;QACf,IAAI,CAAC,IAAI,EAAE,CAAC;QAEZ,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE;YAClC,SAAS,EAAE,IAAI;YACf,OAAO,EAAE,IAAI;SACd,CAAC,CAAC;KACJ;IAED,oBAAoB;QAClB,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;SAC5B;KACF;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,YAAY,EAAE,IAAI;SACnB,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/CMS/stzh-print/stzh-print.scss?tag=stzh-print&encapsulation=shadow","src/components/CMS/stzh-print/stzh-print.tsx"],"sourcesContent":[":host {\n display: contents;\n\n @media print {\n display: none;\n }\n}\n\n.stzh-print {\n display: contents;\n}\n","import { Component, Host, h, Element } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../../utils/utils\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-print\",\n styleUrl: \"stzh-print.scss\",\n shadow: true,\n})\nexport class StzhPrint {\n @Element() element: HTMLStzhPrintElement;\n\n private observer: MutationObserver;\n\n private handleLinkClick = () => {\n window.print();\n };\n\n private init = () => {\n const links = this.element.querySelectorAll(\"stzh-link, stzh-button\");\n\n links.forEach(link => {\n link.addEventListener(\"click\", this.handleLinkClick);\n\n setPropsIfNull(link, {\n icon: \"print\",\n } as HTMLStzhLinkElement | HTMLStzhButtonElement);\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-print\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-8f01554b.js';
2
- import { d as defineCustomElement$4 } from './p-17efbc57.js';
3
- import { d as defineCustomElement$3 } from './p-b9a50363.js';
4
- import { d as defineCustomElement$2 } from './p-5a8587ab.js';
5
- import { d as defineCustomElement$1 } from './p-0ac64574.js';
2
+ import { d as defineCustomElement$4 } from './p-dd1c0c0c.js';
3
+ import { d as defineCustomElement$3 } from './p-c5a240bd.js';
4
+ import { d as defineCustomElement$2 } from './p-7c4e756c.js';
5
+ import { d as defineCustomElement$1 } from './p-111f7e01.js';
6
6
 
7
7
  const stzhTagCss = ".sc-stzh-tag-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-tag-h,[stzh-hidden].sc-stzh-tag-h{display:none}.sc-stzh-tag-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-tag-h *.sc-stzh-tag,.sc-stzh-tag-h *.sc-stzh-tag::before,.sc-stzh-tag-h *.sc-stzh-tag::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-tag-h .has-focus.sc-stzh-tag{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-tag-h .stzh-fylingfocus-focused.sc-stzh-tag{outline-style:none !important}.sc-stzh-tag-h .stzh-fylingfocus-focused.sc-stzh-tag::-moz-focus-inner{border:0 !important}.sc-stzh-tag-h{--color:var(--stzh-tag-color, var(--stzh-color-secondary60));--height:1.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--background-color:var(--stzh-tag-background-color, var(--stzh-color-grey20));--hover-color:var(--stzh-tag-hover-color, var(--stzh-color-secondary60));--hover-background-color:var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );display:inline-flex}[size=large].sc-stzh-tag-h{--height:2rem}[size=default][type=secondary].sc-stzh-tag-h{--background-color:var(\n --stzh-tag-secondary-background-color,\n var(--stzh-color-secondary60)\n )}[type=secondary].sc-stzh-tag-h{--color:var(--stzh-tag-secondary-color, var(--stzh-color-white));--background-color:var(\n --stzh-tag-secondary-background-color,\n var(--stzh-color-secondary60)\n );--hover-color:var(--stzh-tag-secondary-hover-color, var(--stzh-color-white));--hover-background-color:var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n )}[non-interactive].sc-stzh-tag-h:not([non-interactive=false]){--hover-color:var(--color);--hover-background-color:var(--background-color)}[disabled].sc-stzh-tag-h:not([disabled=false]){--color:var(--stzh-tag-disabled-color, var(--stzh-color-grey70));--background-color:var(\n --stzh-tag-disabled-background-color,\n var(--stzh-color-grey20)\n );--hover-color:var(--color);--hover-background-color:var(--background-color)}.stzh-tag.sc-stzh-tag{position:relative}.stzh-tag__button.sc-stzh-tag{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);font-family:inherit;height:var(--height);display:flex;flex-direction:row;align-items:center;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);appearance:none;border:none;background-color:var(--background-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-tag__button.is-button.sc-stzh-tag,.stzh-tag__button.is-link.sc-stzh-tag{cursor:pointer}.stzh-tag__label.sc-stzh-tag{text-align:left}.stzh-tag__button.sc-stzh-tag:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-tag--size-large.sc-stzh-tag .stzh-tag__button.sc-stzh-tag{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-tag--is-disabled.sc-stzh-tag .stzh-tag__button.sc-stzh-tag{cursor:not-allowed}";
8
8
  const StzhTagStyle0 = stzhTagCss;
@@ -85,7 +85,7 @@ const StzhTag = /*@__PURE__*/ proxyCustomElement(class StzhTag extends H {
85
85
  [`stzh-tag--${this.type}`]: !!this.type,
86
86
  };
87
87
  const Tag = this.nonInteractive ? "div" : this.href ? "a" : "button";
88
- return (h(Host, { key: 'c6f24fb12cffb20436394e55a414dd39d2968453', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '6cf7947df7e7d2b2a6a3b46ba2505458ae6c1a25', class: classes }, this.href ? (h(Tag, { ref: el => (this.tag = el), class: {
88
+ return (h(Host, { key: '8aad47231d864ffd86a6c4cb9fcf97133fb35e92', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'f847abadf73486e73a24fb50b694c20679dba9d9', class: classes }, this.href ? (h(Tag, { ref: el => (this.tag = el), class: {
89
89
  "stzh-tag__button": true,
90
90
  "is-button": !this.nonInteractive && !this.href,
91
91
  "is-link": !this.nonInteractive && !!this.href,
@@ -147,4 +147,4 @@ function defineCustomElement() {
147
147
 
148
148
  export { StzhTag as S, defineCustomElement as d };
149
149
 
150
- //# sourceMappingURL=p-9be51edc.js.map
150
+ //# sourceMappingURL=p-1816eeeb.js.map
@@ -1 +1 @@
1
- {"file":"p-9be51edc.js","mappings":";;;;;;AAAA,MAAM,UAAU,GAAG,mzHAAmzH,CAAC;AACv0H,sBAAe,UAAU;;MCWZ,OAAO;;;;;;;QA0DV,mBAAc,GAAY,KAAK,CAAC;QAoBhC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;aAClB;YAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;SAC7B,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;gBACzC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,UAAU;gBACrB,aAAa,EAAE,KAAK;aACrB,CAAC,CAAC;SACJ,CAAC;QAEM,W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kBAAkB,EAAE,IAAI;gBACxB,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,IAAI;gBAC/C,SAAS,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI;aAC/C,EACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,YAAY,gBACf,IAAI,CAAC,SAAS,IAAI,IAAI,sBAChB,IAAI,CAAC,eAAe,IAAI,IAAI,EAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,IAElB,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-tag/stzh-tag.scss?tag=stzh-tag&encapsulation=scoped","src/components/stzh-tag/stzh-tag.tsx"],"sourcesContent":[":host {\n --color: var(--stzh-tag-color, #{$colorSecondary60});\n --height: 24px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: #{space(\"small\")};\n --padding-right: #{space(\"small\")};\n --background-color: var(--stzh-tag-background-color, #{$colorGrey20});\n\n --hover-color: var(--stzh-tag-hover-color, #{$colorSecondary60});\n --hover-background-color: var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );\n\n display: inline-flex;\n\n &[size=\"large\"] {\n --height: 32px;\n }\n\n &[size=\"default\"][type=\"secondary\"] {\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[type=\"secondary\"] {\n --color: var(--stzh-tag-secondary-color, #{$colorWhite});\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n --hover-color: var(--stzh-tag-secondary-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n );\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-tag-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-tag-disabled-background-color,\n #{$colorGrey20}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n}\n\n.stzh-tag {\n position: relative;\n\n &__button {\n @include fontSize(\"nano\");\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n appearance: none;\n border: none;\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__label {\n text-align: left;\n }\n\n &__button:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n /* Size */\n\n &--size-large &__button {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n }\n\n /* Disabled */\n\n &--is-disabled &__button {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Fragment } from \"@stencil/core\";\n\nimport { StzhTagType, StzhTagSize, StzhTagClickEvent, StzhTagFocusEvent, StzhTagBlurEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-tag\",\n styleUrl: \"stzh-tag.scss\",\n scoped: true,\n})\nexport class StzhTag {\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the tag should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether tag is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhTagType = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhTagSize = \"default\";\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhTagElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhTagClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhTagFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhTagBlurEvent>;\n\n private tag: HTMLButtonElement | HTMLAnchorElement | HTMLDivElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n if (!this.nonInteractive) {\n this.tag?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n }\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <stzh-clamp lines={1} class=\"stzh-tag__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n </stzh-clamp>\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tag.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n render() {\n const classes = {\n \"stzh-tag\": true,\n \"stzh-tag--is-disabled\": this.disabled,\n [`stzh-tag--size-${this.size}`]: !!this.size,\n [`stzh-tag--${this.type}`]: !!this.type,\n };\n\n const Tag = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.href ? (\n <Tag\n ref={el => (this.tag = el as HTMLAnchorElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n ) : (\n <Tag\n ref={el => (this.tag = el as HTMLButtonElement | HTMLDivElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1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,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-tag/stzh-tag.scss?tag=stzh-tag&encapsulation=scoped","src/components/stzh-tag/stzh-tag.tsx"],"sourcesContent":[":host {\n --color: var(--stzh-tag-color, #{$colorSecondary60});\n --height: 24px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: #{space(\"small\")};\n --padding-right: #{space(\"small\")};\n --background-color: var(--stzh-tag-background-color, #{$colorGrey20});\n\n --hover-color: var(--stzh-tag-hover-color, #{$colorSecondary60});\n --hover-background-color: var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );\n\n display: inline-flex;\n\n &[size=\"large\"] {\n --height: 32px;\n }\n\n &[size=\"default\"][type=\"secondary\"] {\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[type=\"secondary\"] {\n --color: var(--stzh-tag-secondary-color, #{$colorWhite});\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n --hover-color: var(--stzh-tag-secondary-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n );\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-tag-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-tag-disabled-background-color,\n #{$colorGrey20}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n}\n\n.stzh-tag {\n position: relative;\n\n &__button {\n @include fontSize(\"nano\");\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n appearance: none;\n border: none;\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__label {\n text-align: left;\n }\n\n &__button:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n /* Size */\n\n &--size-large &__button {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n }\n\n /* Disabled */\n\n &--is-disabled &__button {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Fragment } from \"@stencil/core\";\n\nimport { StzhTagType, StzhTagSize, StzhTagClickEvent, StzhTagFocusEvent, StzhTagBlurEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-tag\",\n styleUrl: \"stzh-tag.scss\",\n scoped: true,\n})\nexport class StzhTag {\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the tag should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether tag is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhTagType = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhTagSize = \"default\";\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhTagElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhTagClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhTagFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhTagBlurEvent>;\n\n private tag: HTMLButtonElement | HTMLAnchorElement | HTMLDivElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n if (!this.nonInteractive) {\n this.tag?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n }\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <stzh-clamp lines={1} class=\"stzh-tag__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n </stzh-clamp>\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tag.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n render() {\n const classes = {\n \"stzh-tag\": true,\n \"stzh-tag--is-disabled\": this.disabled,\n [`stzh-tag--size-${this.size}`]: !!this.size,\n [`stzh-tag--${this.type}`]: !!this.type,\n };\n\n const Tag = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.href ? (\n <Tag\n ref={el => (this.tag = el as HTMLAnchorElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n ) : (\n <Tag\n ref={el => (this.tag = el as HTMLButtonElement | HTMLDivElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -25,7 +25,7 @@ const StzhHeading = /*@__PURE__*/ proxyCustomElement(class StzhHeading extends H
25
25
  [`stzh-heading--level-${this.level}`]: !!this.level,
26
26
  [`stzh-heading--curve-${this.curve}`]: !!this.curve,
27
27
  };
28
- return (h(Host, { key: 'fca6d73082919c6ad6f6e201c61aa159d5b2ff4a' }, h(Heading, { key: '0ea7d5921cf76c4443052549f8daf58e607fc260', class: classes }, h("slot", { key: '044fa486536a3d35ab82db3f4df84fc68903e8cf' }), this._htmlContent && h("div", { key: '3c3761d41964413d3bfe701bff3686199353adaf', innerHTML: this._htmlContent }))));
28
+ return (h(Host, { key: '7850c2e046b73d6e7ee3ed2c8048f58a485af317' }, h(Heading, { key: '7836f1db08e5225fc642f2686dac72517d7b7ef1', class: classes }, h("slot", { key: '49885f0caa735d42df6e4c6d8b309ba9dbe6fafe' }), this._htmlContent && h("div", { key: '0ddb65ff2fda13ed230ed45ec5a93474bcbc07e4', innerHTML: this._htmlContent }))));
29
29
  }
30
30
  static get watchers() { return {
31
31
  "htmlContent": ["htmlContentWatcher"]
@@ -54,4 +54,4 @@ function defineCustomElement() {
54
54
 
55
55
  export { StzhHeading as S, defineCustomElement as d };
56
56
 
57
- //# sourceMappingURL=p-59b494a3.js.map
57
+ //# sourceMappingURL=p-18196788.js.map
@@ -1 +1 @@
1
- {"file":"p-59b494a3.js","mappings":";;AAAA,MAAM,cAAc,GAAG,kqxBAAkqxB,CAAC;AAC1rxB,0BAAe,cAAc;;MCWhB,WAAW;;;;QASd,iBAAY,GAAW,EAAE,CAAC;qBAPsB,GAAG;qBAGJ,MAAM;;;IAO7D,kBAAkB,CAAC,QAAgB;QACjC,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC;KAC9B;IAED,iBAAiB;QACf,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC3C;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG;YACd,cAAc,EAAE,IAAI;YACpB,CAAC,uBAAuB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;YACnD,CAAC,uBAAuB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;SACpD,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,EAAC,OAAO,qDAAC,KAAK,EAAE,OAAO,IACrB,8DAAa,EACZ,IAAI,CAAC,YAAY,IAAI,4DAAK,SAAS,EAAE,IAAI,CAAC,YAAY,GAAQ,CACvD,CACL,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-heading/stzh-heading.scss?tag=stzh-heading&encapsulation=scoped","src/components/stzh-heading/stzh-heading.tsx"],"sourcesContent":["/**\n * @prop --color: Color of heading\n *\n * @prop --stzh-heading-color: **Global**: Color of heading\n */\n\n:host {\n width: 100%;\n\n --color: #{$headingColor};\n color: var(--color);\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n }\n\n &:hover {\n color: $linkHoverColor;\n }\n }\n}\n\n.stzh-heading {\n @include font(\"title\");\n @include fontCurve(\"h2\", \"heading\"); // default\n color: var(--color);\n margin: 0;\n\n @for $i from 1 through 4 {\n &--level-#{$i} {\n @include fontCurve(\"h\" + $i, \"heading\");\n }\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName, \"heading\");\n }\n }\n}\n","import { Component, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Text content\n */\n@Component({\n tag: \"stzh-heading\",\n styleUrl: \"stzh-heading.scss\",\n scoped: true,\n})\nexport class StzhHeading {\n /** Heading level */\n @Prop({ reflect: true }) level: \"1\" | \"2\" | \"3\" | \"4\" = \"2\";\n\n /** Type of curve to overwrite the curve inherited from `level` attribute (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves | \"auto\" = \"auto\";\n\n /* HTML content (since innerHTML won't work when it's being changed after initial render) */\n @Prop() htmlContent: string;\n private _htmlContent: string = \"\";\n\n @Watch(\"htmlContent\")\n htmlContentWatcher(newValue: string) {\n this._htmlContent = newValue;\n }\n\n componentWillLoad() {\n this.htmlContentWatcher(this.htmlContent);\n }\n\n render() {\n const Heading = `h${this.level}`;\n const classes = {\n \"stzh-heading\": true,\n [`stzh-heading--level-${this.level}`]: !!this.level,\n [`stzh-heading--curve-${this.curve}`]: !!this.curve,\n };\n\n return (\n <Host>\n <Heading class={classes}>\n <slot></slot>\n {this._htmlContent && <div innerHTML={this._htmlContent}></div>}\n </Heading>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-18196788.js","mappings":";;AAAA,MAAM,cAAc,GAAG,kqxBAAkqxB,CAAC;AAC1rxB,0BAAe,cAAc;;MCWhB,WAAW;;;;QASd,iBAAY,GAAW,EAAE,CAAC;qBAPsB,GAAG;qBAGJ,MAAM;;;IAO7D,kBAAkB,CAAC,QAAgB;QACjC,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC;KAC9B;IAED,iBAAiB;QACf,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC3C;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG;YACd,cAAc,EAAE,IAAI;YACpB,CAAC,uBAAuB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;YACnD,CAAC,uBAAuB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;SACpD,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,EAAC,OAAO,qDAAC,KAAK,EAAE,OAAO,IACrB,8DAAa,EACZ,IAAI,CAAC,YAAY,IAAI,4DAAK,SAAS,EAAE,IAAI,CAAC,YAAY,GAAQ,CACvD,CACL,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-heading/stzh-heading.scss?tag=stzh-heading&encapsulation=scoped","src/components/stzh-heading/stzh-heading.tsx"],"sourcesContent":["/**\n * @prop --color: Color of heading\n *\n * @prop --stzh-heading-color: **Global**: Color of heading\n */\n\n:host {\n width: 100%;\n\n --color: #{$headingColor};\n color: var(--color);\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n }\n\n &:hover {\n color: $linkHoverColor;\n }\n }\n}\n\n.stzh-heading {\n @include font(\"title\");\n @include fontCurve(\"h2\", \"heading\"); // default\n color: var(--color);\n margin: 0;\n\n @for $i from 1 through 4 {\n &--level-#{$i} {\n @include fontCurve(\"h\" + $i, \"heading\");\n }\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName, \"heading\");\n }\n }\n}\n","import { Component, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Text content\n */\n@Component({\n tag: \"stzh-heading\",\n styleUrl: \"stzh-heading.scss\",\n scoped: true,\n})\nexport class StzhHeading {\n /** Heading level */\n @Prop({ reflect: true }) level: \"1\" | \"2\" | \"3\" | \"4\" = \"2\";\n\n /** Type of curve to overwrite the curve inherited from `level` attribute (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves | \"auto\" = \"auto\";\n\n /* HTML content (since innerHTML won't work when it's being changed after initial render) */\n @Prop() htmlContent: string;\n private _htmlContent: string = \"\";\n\n @Watch(\"htmlContent\")\n htmlContentWatcher(newValue: string) {\n this._htmlContent = newValue;\n }\n\n componentWillLoad() {\n this.htmlContentWatcher(this.htmlContent);\n }\n\n render() {\n const Heading = `h${this.level}`;\n const classes = {\n \"stzh-heading\": true,\n [`stzh-heading--level-${this.level}`]: !!this.level,\n [`stzh-heading--curve-${this.curve}`]: !!this.curve,\n };\n\n return (\n <Host>\n <Heading class={classes}>\n <slot></slot>\n {this._htmlContent && <div innerHTML={this._htmlContent}></div>}\n </Heading>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -360,7 +360,7 @@ const StzhSticky = /*@__PURE__*/ proxyCustomElement(class StzhSticky extends H {
360
360
  [`stzh-sticky--position-${this.position}`]: !!this.position,
361
361
  [`stzh-sticky--${this.variant}`]: !!this.variant,
362
362
  };
363
- return (h(Host, { key: '09b291b9b737fe5bcf0c86fa64367c59d93e52d2', "is-stuck": this.isStuckTop || this.isStuckBottom, "is-stuck-top": this.isStuckTop, "is-stuck-bottom": this.isStuckBottom }, h("div", { key: '29b6e68c486f85fa8c07a61c5fd124cca65a377b', class: classes }, h("div", { key: 'b7006519791f0d1bbdfab03fe6c3d995406f3318', ref: el => (this.spacerElement = el), class: "stzh-sticky__spacer" }), h("div", { key: '6efa8cbbd1a53255f74e55746a397328283f597a', ref: el => (this.stickyElement = el), class: "stzh-sticky__sticky" }, h("div", { key: '701494061066cf048f04293c6610b074bdc9ea60', class: "stzh-sticky__content" }, h("div", { key: '9c50260068f966551bb025001b2f83d4679507c3', class: "stzh-sticky__content-inner" }, h("slot", { key: '9110714f09149e6c0cdbe2f46d8b2cc8b8f846b5' })))))));
363
+ return (h(Host, { key: '366a3c2c59058ea5e6184d481827b5487a642f33', "is-stuck": this.isStuckTop || this.isStuckBottom, "is-stuck-top": this.isStuckTop, "is-stuck-bottom": this.isStuckBottom }, h("div", { key: 'f94ec092ad846089f58e75a5bf3b11efe123b210', class: classes }, h("div", { key: 'c69b2cc74ef7276d4530c6eab020c5801e5db86f', ref: el => (this.spacerElement = el), class: "stzh-sticky__spacer" }), h("div", { key: '8059e8c6fd26eca9cd1409674ed32925bf244aae', ref: el => (this.stickyElement = el), class: "stzh-sticky__sticky" }, h("div", { key: 'd3531d057480b4e99f5a398c1801a661b8250c80', class: "stzh-sticky__content" }, h("div", { key: 'adbe9130517d8564d0e6c591580af6ecb4c81dd1', class: "stzh-sticky__content-inner" }, h("slot", { key: '0e1ff73b671caa8d7119a8900853437cfb731bd1' })))))));
364
364
  }
365
365
  get element() { return this; }
366
366
  static get watchers() { return {
@@ -412,4 +412,4 @@ function defineCustomElement() {
412
412
 
413
413
  export { StzhSticky as S, defineCustomElement as d, throttle_1 as t };
414
414
 
415
- //# sourceMappingURL=p-d91d6c31.js.map
415
+ //# sourceMappingURL=p-18ba315e.js.map
@@ -1 +1 @@
1
- {"file":"p-d91d6c31.js","mappings":";;;;AAAA,IAAI,QAAQ,GAAGA,UAAqB;AACpC,IAAI,QAAQ,GAAGC,UAAqB,CAAC;AACrC;AACA;AACA,IAAI,eAAe,GAAG,qBAAqB,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE;AACvC,EAAE,IAAI,OAAO,GAAG,IAAI;AACpB,MAAM,QAAQ,GAAG,IAAI,CAAC;AACtB;AACA,EAAE,IAAI,OAAO,IAAI,IAAI,UAAU,EAAE;AACjC,IAAI,MAAM,IAAI,SAAS,CAAC,eAAe,CAAC,CAAC;AACzC,GAAG;AACH,EAAE,IAAI,QAAQ,CAAC,OAAO,CAAC,EAAE;AACzB,IAAI,OAAO,GAAG,SAAS,IAAI,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC;AACjE,IAAI,QAAQ,GAAG,UAAU,IAAI,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;AACrE,GAAG;AACH,EAAE,OAAO,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE;AAC9B,IAAI,SAAS,EA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AI,CAAC,MAAM;YAC1C,uBAAuB,EAAE,OAAO;YAChC,2BAA2B,EAAE,IAAI,CAAC,UAAU;YAC5C,8BAA8B,EAAE,IAAI,CAAC,aAAa;YAClD,qCAAqC,EAAE,IAAI,CAAC,gBAAgB;YAC5D,wCAAwC,EAAE,IAAI,CAAC,mBAAmB;YAClE,0BAA0B,EAAE,IAAI,CAAC,QAAQ;YACzC,CAAC,yBAAyB,IAAI,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ;YAC3D,CAAC,gBAAgB,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SACjD,CAAC;QAEF,QACE,EAAC,IAAI,iEACO,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,aAAa,kBACjC,IAAI,CAAC,UAAU,qBACZ,IAAI,CAAC,aAAa,IAEnC,4DAAK,KAAK,EAAE,OAAO,IACjB,4DAAK,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC,EAAE,KAAK,EAAC,qBAAqB,GAAO,EAC/F,4DAAK,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC,EAAE,KAAK,EAAC,qBAAqB,IACtF,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,4DAAK,KAAK,EAAC,4BAA4B,IACrC,8DAAa,CACT,CACF,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["require$$0","require$$1","throttle"],"sources":["node_modules/lodash/throttle.js","src/components/stzh-sticky/stzh-sticky.scss?tag=stzh-sticky&encapsulation=shadow","src/components/stzh-sticky/stzh-sticky.tsx"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","/**\n * @prop --padding-top: Padding top of sticky element\n * @prop --padding-bottom: Padding bottom of sticky element\n * @prop --padding-left: Padding left of sticky element\n * @prop --padding-right: Padding right of sticky element\n * @prop --background-color: Background color of sticky element\n * @prop --stuck-padding-top: Padding top of stuck sticky element\n * @prop --stuck-padding-bottom: Padding bottom of stuck sticky element\n * @prop --stuck-padding-left: Padding left of stuck sticky element\n * @prop --stuck-padding-right: Padding right of stuck sticky element\n * @prop --stuck-background-color: Background color of stuck sticky element\n *\n * @prop --stzh-sticky-{NAME}-is-stuck: **Global**: Whether sticky is currently stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck: **Global**: Whether sticky is currently not stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-top: **Global**: Whether sticky is currently stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-top: **Global**: Whether sticky is currently not stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-bottom: **Global**: Whether sticky is currently stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-bottom: **Global**: Whether sticky is currently not stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-top-height: **Global**: Stuck top sticky element height (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-bottom-height: **Global**: Stuck bottom sticky element height (readonly variable on `<html>`)\n */\n\n:host {\n --padding-top: #{space(\"large\")};\n --padding-bottom: #{space(\"large\")};\n --padding-left: 0;\n --padding-right: 0;\n --background-color: transparent;\n\n --stuck-padding-top: var(--padding-top);\n --stuck-padding-bottom: var(--padding-bottom);\n --stuck-padding-left: var(--padding-left);\n --stuck-padding-right: var(--padding-right);\n --stuck-background-color: #{$colorGrey10};\n\n display: contents;\n\n @media print {\n display: none;\n }\n}\n\n:host([variant=\"transparent\"]) {\n --background-color: transparent;\n --stuck-background-color: transparent;\n\n pointer-events: none;\n}\n\n:host([position=\"fixed\"]) {\n display: block;\n}\n\n.stzh-sticky {\n display: contents;\n\n &__sticky {\n position: sticky;\n top: -1px;\n bottom: -1px;\n z-index: $zIndexSticky;\n width: var(--stzh-sticky-unstuck-width, auto);\n transition-property: width, transform, opacity;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content,\n &__content::before {\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content {\n --stzh-button-pointer-events: all;\n --stzh-link-pointer-events: all;\n\n position: relative;\n transition-property: background-color, transform;\n\n // &::before,\n // &::after {\n // content: '';\n // pointer-events: none;\n // display: block;\n // position: absolute;\n // left: 0;\n // width: 100%;\n // height: space('xxlarge');\n // opacity: 0;\n // transition: opacity $baseTransitionAnimationSpeed;\n // }\n\n // &::before {\n // background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);\n // top: 0;\n // transform: translateY(-100%);\n // }\n\n // &::after {\n // background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);\n // bottom: 0;\n // transform: translateY(100%);\n // }\n }\n\n &__content-inner {\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n transition-property: padding;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__spacer {\n display: none;\n }\n\n /* Disabled variants */\n\n &--is-disabled-sticky-top &__sticky {\n top: auto;\n }\n\n &--is-disabled-sticky-bottom &__sticky {\n bottom: auto;\n }\n\n /* Bleeding variant */\n\n &--is-bleeding &__content {\n &::before {\n z-index: -1;\n content: \"\";\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n transform: translateY(0);\n transition-property: width, background-color, transform;\n }\n }\n\n /* Is stuck variant */\n\n &--is-stuck &__content,\n &--is-stuck &__content::before {\n background-color: var(--stuck-background-color);\n }\n\n &--is-stuck &__content::before {\n width: calc(100vw - var(--stzh-scrollbar-width));\n transform: translateX(calc(var(--stzh-sticky-offset-left) / -1));\n }\n\n &--is-stuck &__content-inner {\n padding-top: var(--stuck-padding-top);\n padding-bottom: var(--stuck-padding-bottom);\n padding-left: var(--stuck-padding-left);\n padding-right: var(--stuck-padding-right);\n }\n\n // &--is-stuck-bottom &__content {\n // &::before {\n // opacity: 1;\n // }\n // }\n\n // &--is-stuck-top &__content {\n // &::after {\n // opacity: 1;\n // }\n // }\n\n /* Transparent variant */\n\n // &--transparent &__content {\n // &::after,\n // &::before {\n // display: none;\n // }\n // }\n\n // /* Position sticky variant */\n\n // &--is-breakout &__content {\n // position: relative;\n // left: 50%;\n // right: 50%;\n // margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // width: calc(100vw - var(--stzh-scrollbar-width));\n // max-width: calc(100vw - var(--stzh-scrollbar-width));\n // }\n\n &--is-not-loaded {\n visibility: hidden;\n }\n\n &--is-not-loaded#{&}--is-stuck &__sticky {\n transform: translateY(100%);\n opacity: 0;\n }\n\n &--is-not-loaded &__sticky,\n &--is-not-loaded &__content,\n &--is-not-loaded &__content::before,\n &--is-not-loaded &__content-inner {\n transition-duration: 0ms;\n }\n}\n","import { Component, Host, h, Element, Prop, State, Watch, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhStickyStuckTopEvent, StzhStickyStuckBottomEvent } from \"../../index\";\n\nimport { isVisible, offset } from \"../../utils/utils\";\nimport throttle from \"lodash/throttle\";\n\nconst ATTR_STICKY_CONTAINER = \"data-stzh-sticky-container\";\nconst ATTR_STICKY_WIDTH_CONTAINER = \"data-stzh-sticky-width-container\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-sticky\",\n styleUrl: \"stzh-sticky.scss\",\n shadow: true,\n})\nexport class StzhSticky {\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"transparent\" = \"default\";\n\n /** Whether to disable sticking to top */\n @Prop({ reflect: true }) disableStickyTop: boolean = true;\n\n /** Whether to disable sticking to bottom */\n @Prop({ reflect: true }) disableStickyBottom: boolean = false;\n\n /** Whether background breaks out container to full viewport width */\n @Prop({ reflect: true }) bleeding: boolean = false;\n\n /** Name of sticky element (used for setting css properties) */\n @Prop() name: string;\n\n /**\n * Position type used.\n *\n * - sticky: used only css position sticky\n * - fixed: uses position fixed with js for positioning (`data-stzh-sticky-container` can be used on a container element to limit sticky position)\n */\n @Prop({ reflect: true }) position: \"sticky\" | \"fixed\" = \"sticky\";\n\n @Watch(\"disableStickyTop\")\n @Watch(\"disableStickyBottom\")\n disableStickyWatcher() {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n } else {\n this.updateStuck();\n }\n });\n });\n }\n\n @Watch(\"isStuckTop\")\n @Watch(\"isStuckBottom\")\n @Watch(\"hasReachedTopLimit\")\n @Watch(\"hasReachedBottomLimit\")\n stuckHeightWatcher() {\n let isStuck = false;\n\n if (this.isStuckTop && !this.hasReachedBottomLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"1\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"0\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n \"0px\",\n );\n }\n\n if (this.isStuckBottom && !this.hasReachedTopLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"1\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n \"0px\",\n );\n }\n\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-stuck`,\n isStuck ? \"1\" : \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck`,\n isStuck ? \"0\" : \"1\",\n );\n\n if (isStuck) {\n this.stickyResizeObserver.observe(this.stickyElement);\n } else {\n this.stickyResizeObserver.unobserve(this.stickyElement);\n }\n }\n\n @Watch(\"isStuckTop\")\n isStuckTopWatcher(newValue: boolean) {\n this.stzhStuckTop.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"isStuckBottom\")\n isStuckBottomWatcher(newValue: boolean) {\n this.stzhStuckBottom.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"position\")\n @Watch(\"bleeding\")\n positionWatcher() {\n if (this.position === \"fixed\") {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n window.addEventListener(\"resize\", this.handleResize);\n\n this.updateFixedByResize();\n } else {\n if (this.bleeding) {\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n this.updateByScroll();\n } else {\n window.removeEventListener(\"scroll\", this.handleScroll);\n }\n\n window.removeEventListener(\"resize\", this.handleResize);\n this.setUnfixed();\n\n this.observer = new IntersectionObserver(this.observe, { threshold: [1] });\n this.observer.observe(this.stickyElement);\n\n this.updateStuck();\n }\n }\n\n /** Sticky stuck top event */\n @Event() stzhStuckTop: EventEmitter<StzhStickyStuckTopEvent>;\n\n /** Sticky stuck bottom event */\n @Event() stzhStuckBottom: EventEmitter<StzhStickyStuckBottomEvent>;\n\n @Element() element: HTMLStzhStickyElement;\n\n @State() isStuckTop: boolean;\n @State() isStuckBottom: boolean;\n\n @State() hasReachedTopLimit: boolean;\n @State() hasReachedBottomLimit: boolean;\n\n @State() loaded: boolean = false;\n\n private observer: IntersectionObserver;\n private stickyResizeObserver: ResizeObserver;\n private debounceScroll: number;\n private debounceResize: number;\n private stickyElement: HTMLElement;\n private spacerElement: HTMLElement;\n\n private windowHeight: number;\n private scrollX: number;\n private scrollY: number;\n private fixedTop: number;\n private fixedLeft: number;\n private fixedHeight: number = 0;\n private fixedWidth: number = 0;\n private fixedLimit: { top: number; bottom: number } | null = null;\n\n private updateStuck() {\n const topCss = parseInt(getComputedStyle(this.stickyElement).top, 10);\n const bottomCss = parseInt(getComputedStyle(this.stickyElement).bottom, 10);\n const rect = this.stickyElement.getBoundingClientRect();\n\n if (topCss) {\n this.isStuckTop = rect.top < 0;\n } else {\n this.isStuckTop = false;\n }\n\n if (bottomCss) {\n this.isStuckBottom = document.documentElement.clientHeight < rect.bottom;\n } else {\n this.isStuckBottom = false;\n }\n }\n\n private getFixedLimit(): { top: number; bottom: number } | null {\n const stickyContainer = this.element.closest(`[${ATTR_STICKY_CONTAINER}]`);\n\n if (!stickyContainer) {\n return null;\n }\n\n const off = offset(stickyContainer);\n\n return {\n top: off.top,\n bottom: off.top + stickyContainer.scrollHeight,\n };\n }\n\n private setUnfixed() {\n Object.assign(this.stickyElement.style, {\n position: null,\n top: null,\n bottom: null,\n left: null,\n width: null,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"none\",\n });\n }\n\n private setFixed() {\n const position = this.hasReachedTopLimit || this.hasReachedBottomLimit ? \"absolute\" : \"fixed\";\n\n Object.assign(this.stickyElement.style, {\n position,\n top:\n position === \"absolute\"\n ? `${this.isStuckTop ? this.fixedLimit.bottom - this.fixedHeight : this.fixedLimit.top}px`\n : this.isStuckTop\n ? \"0px\"\n : \"auto\",\n bottom: this.isStuckTop || position === \"absolute\" ? \"auto\" : \"0px\",\n left: `${this.fixedLeft + (position === \"fixed\" ? this.scrollX : 0)}px`,\n width: `${this.fixedWidth}px`,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"block\",\n });\n }\n\n private handleScroll = () => {\n if (this.debounceScroll) {\n window.cancelAnimationFrame(this.debounceScroll);\n }\n\n this.debounceScroll = requestAnimationFrame(this.updateByScroll);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateFixedByResize);\n };\n\n private handleStickyResize = throttle(() => {\n this.stuckHeightWatcher();\n this.updateByScroll();\n }, 100);\n\n private updateByScroll = () => {\n if (!isVisible(this.stickyElement) || !this.element.isConnected) {\n return;\n }\n\n const stickyFixedWidthContainer =\n (this.element.closest(`[${ATTR_STICKY_WIDTH_CONTAINER}]`) as HTMLElement) || this.element.parentElement;\n\n const off = offset(\n (this.isStuckTop || this.isStuckBottom) && this.position === \"fixed\" ? this.spacerElement : this.stickyElement,\n );\n\n this.fixedTop = off.top;\n this.fixedLeft = off.left;\n\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-top\", `${this.fixedTop}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-left\", `${this.fixedLeft}px`);\n\n if (this.position === \"sticky\") {\n // for position sticky we only need the offsets variables to be updated in bleeding variant\n return;\n }\n\n this.fixedHeight = this.stickyElement.offsetHeight;\n this.spacerElement.style.height = `${this.fixedHeight}px`;\n\n this.scrollX = window.scrollX;\n this.scrollY = window.scrollY;\n this.fixedLimit = this.getFixedLimit();\n\n this.fixedWidth = stickyFixedWidthContainer.getBoundingClientRect().width;\n\n const unstuckWidth = this.element.getBoundingClientRect().width;\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-stuck-width', `${this.fixedWidth}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-unstuck-width\", `${unstuckWidth}px`);\n\n // console.log(unstuckWidth);\n\n // console.log(\n // this.scrollX,\n // this.scrollY,\n // this.windowHeight,\n // this.fixedTop,\n // this.fixedLeft,\n // this.fixedHeight,\n // this.fixedLimit,\n // );\n\n this.isStuckBottom =\n !this.disableStickyBottom && this.scrollY + this.windowHeight <= this.fixedTop + this.fixedHeight;\n this.isStuckTop = !this.disableStickyTop && this.scrollY >= this.fixedTop;\n\n this.hasReachedTopLimit =\n this.fixedLimit && this.scrollY + this.windowHeight - this.fixedHeight <= this.fixedLimit.top;\n this.hasReachedBottomLimit = this.fixedLimit && this.scrollY >= this.fixedLimit.bottom - this.fixedHeight;\n\n // console.log(\n // this.isStuckBottom,\n // this.isStuckTop,\n // this.hasReachedBottomLimit,\n // this.hasReachedTopLimit,\n // );\n\n if (this.isStuckTop || this.isStuckBottom) {\n this.setFixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${this.fixedWidth}px`);\n } else {\n this.setUnfixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${unstuckWidth}px`);\n }\n };\n\n private updateFixedByResize = () => {\n if (!this.stickyElement || !this.element.isConnected) {\n return;\n }\n\n // reset sticky so we can read current offsets\n this.setUnfixed();\n this.stickyElement.style.position = \"static\";\n this.stickyElement.style.width = \"auto\";\n this.isStuckTop = false;\n this.isStuckBottom = false;\n\n if (isVisible(this.stickyElement)) {\n this.windowHeight = window.innerHeight;\n this.updateByScroll();\n }\n };\n\n private observe = () => {\n this.updateStuck();\n };\n\n componentDidLoad() {\n this.stickyResizeObserver = new ResizeObserver(this.handleStickyResize);\n this.positionWatcher();\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n window.setTimeout(() => {\n this.loaded = true;\n\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n }\n }, 250);\n });\n });\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.stickyResizeObserver?.disconnect();\n\n window.removeEventListener(\"scroll\", this.handleScroll);\n window.removeEventListener(\"resize\", this.handleResize);\n }\n\n render() {\n const isStuck = this.isStuckTop || this.isStuckBottom;\n\n const classes = {\n \"stzh-sticky\": true,\n \"stzh-sticky--is-not-loaded\": !this.loaded,\n \"stzh-sticky--is-stuck\": isStuck,\n \"stzh-sticky--is-stuck-top\": this.isStuckTop,\n \"stzh-sticky--is-stuck-bottom\": this.isStuckBottom,\n \"stzh-sticky--is-disabled-sticky-top\": this.disableStickyTop,\n \"stzh-sticky--is-disabled-sticky-bottom\": this.disableStickyBottom,\n \"stzh-sticky--is-bleeding\": this.bleeding,\n [`stzh-sticky--position-${this.position}`]: !!this.position,\n [`stzh-sticky--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host\n is-stuck={this.isStuckTop || this.isStuckBottom}\n is-stuck-top={this.isStuckTop}\n is-stuck-bottom={this.isStuckBottom}\n >\n <div class={classes}>\n <div ref={el => (this.spacerElement = el as HTMLDivElement)} class=\"stzh-sticky__spacer\"></div>\n <div ref={el => (this.stickyElement = el as HTMLDivElement)} class=\"stzh-sticky__sticky\">\n <div class=\"stzh-sticky__content\">\n <div class=\"stzh-sticky__content-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-18ba315e.js","mappings":";;;;AAAA,IAAI,QAAQ,GAAGA,UAAqB;AACpC,IAAI,QAAQ,GAAGC,UAAqB,CAAC;AACrC;AACA;AACA,IAAI,eAAe,GAAG,qBAAqB,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AAC,EAAE,KAAK,EAAC,qBAAqB,GAAO,EAC/F,4DAAK,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC,EAAE,KAAK,EAAC,qBAAqB,IACtF,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,4DAAK,KAAK,EAAC,4BAA4B,IACrC,8DAAa,CACT,CACF,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["require$$0","require$$1","throttle"],"sources":["node_modules/lodash/throttle.js","src/components/stzh-sticky/stzh-sticky.scss?tag=stzh-sticky&encapsulation=shadow","src/components/stzh-sticky/stzh-sticky.tsx"],"sourcesContent":["var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","/**\n * @prop --padding-top: Padding top of sticky element\n * @prop --padding-bottom: Padding bottom of sticky element\n * @prop --padding-left: Padding left of sticky element\n * @prop --padding-right: Padding right of sticky element\n * @prop --background-color: Background color of sticky element\n * @prop --stuck-padding-top: Padding top of stuck sticky element\n * @prop --stuck-padding-bottom: Padding bottom of stuck sticky element\n * @prop --stuck-padding-left: Padding left of stuck sticky element\n * @prop --stuck-padding-right: Padding right of stuck sticky element\n * @prop --stuck-background-color: Background color of stuck sticky element\n *\n * @prop --stzh-sticky-{NAME}-is-stuck: **Global**: Whether sticky is currently stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck: **Global**: Whether sticky is currently not stuck (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-top: **Global**: Whether sticky is currently stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-top: **Global**: Whether sticky is currently not stuck on top (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-stuck-bottom: **Global**: Whether sticky is currently stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-is-not-stuck-bottom: **Global**: Whether sticky is currently not stuck on bottom (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-top-height: **Global**: Stuck top sticky element height (readonly variable on `<html>`)\n * @prop --stzh-sticky-{NAME}-stuck-bottom-height: **Global**: Stuck bottom sticky element height (readonly variable on `<html>`)\n */\n\n:host {\n --padding-top: #{space(\"large\")};\n --padding-bottom: #{space(\"large\")};\n --padding-left: 0;\n --padding-right: 0;\n --background-color: transparent;\n\n --stuck-padding-top: var(--padding-top);\n --stuck-padding-bottom: var(--padding-bottom);\n --stuck-padding-left: var(--padding-left);\n --stuck-padding-right: var(--padding-right);\n --stuck-background-color: #{$colorGrey10};\n\n display: contents;\n\n @media print {\n display: none;\n }\n}\n\n:host([variant=\"transparent\"]) {\n --background-color: transparent;\n --stuck-background-color: transparent;\n\n pointer-events: none;\n}\n\n:host([position=\"fixed\"]) {\n display: block;\n}\n\n.stzh-sticky {\n display: contents;\n\n &__sticky {\n position: sticky;\n top: -1px;\n bottom: -1px;\n z-index: $zIndexSticky;\n width: var(--stzh-sticky-unstuck-width, auto);\n transition-property: width, transform, opacity;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content,\n &__content::before {\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__content {\n --stzh-button-pointer-events: all;\n --stzh-link-pointer-events: all;\n\n position: relative;\n transition-property: background-color, transform;\n\n // &::before,\n // &::after {\n // content: '';\n // pointer-events: none;\n // display: block;\n // position: absolute;\n // left: 0;\n // width: 100%;\n // height: space('xxlarge');\n // opacity: 0;\n // transition: opacity $baseTransitionAnimationSpeed;\n // }\n\n // &::before {\n // background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);\n // top: 0;\n // transform: translateY(-100%);\n // }\n\n // &::after {\n // background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);\n // bottom: 0;\n // transform: translateY(100%);\n // }\n }\n\n &__content-inner {\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n transition-property: padding;\n transition-duration: $baseTransitionAnimationSpeed;\n }\n\n &__spacer {\n display: none;\n }\n\n /* Disabled variants */\n\n &--is-disabled-sticky-top &__sticky {\n top: auto;\n }\n\n &--is-disabled-sticky-bottom &__sticky {\n bottom: auto;\n }\n\n /* Bleeding variant */\n\n &--is-bleeding &__content {\n &::before {\n z-index: -1;\n content: \"\";\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n transform: translateY(0);\n transition-property: width, background-color, transform;\n }\n }\n\n /* Is stuck variant */\n\n &--is-stuck &__content,\n &--is-stuck &__content::before {\n background-color: var(--stuck-background-color);\n }\n\n &--is-stuck &__content::before {\n width: calc(100vw - var(--stzh-scrollbar-width));\n transform: translateX(calc(var(--stzh-sticky-offset-left) / -1));\n }\n\n &--is-stuck &__content-inner {\n padding-top: var(--stuck-padding-top);\n padding-bottom: var(--stuck-padding-bottom);\n padding-left: var(--stuck-padding-left);\n padding-right: var(--stuck-padding-right);\n }\n\n // &--is-stuck-bottom &__content {\n // &::before {\n // opacity: 1;\n // }\n // }\n\n // &--is-stuck-top &__content {\n // &::after {\n // opacity: 1;\n // }\n // }\n\n /* Transparent variant */\n\n // &--transparent &__content {\n // &::after,\n // &::before {\n // display: none;\n // }\n // }\n\n // /* Position sticky variant */\n\n // &--is-breakout &__content {\n // position: relative;\n // left: 50%;\n // right: 50%;\n // margin-left: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // margin-right: calc(-50vw + var(--stzh-scrollbar-width) / 2);\n // width: calc(100vw - var(--stzh-scrollbar-width));\n // max-width: calc(100vw - var(--stzh-scrollbar-width));\n // }\n\n &--is-not-loaded {\n visibility: hidden;\n }\n\n &--is-not-loaded#{&}--is-stuck &__sticky {\n transform: translateY(100%);\n opacity: 0;\n }\n\n &--is-not-loaded &__sticky,\n &--is-not-loaded &__content,\n &--is-not-loaded &__content::before,\n &--is-not-loaded &__content-inner {\n transition-duration: 0ms;\n }\n}\n","import { Component, Host, h, Element, Prop, State, Watch, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhStickyStuckTopEvent, StzhStickyStuckBottomEvent } from \"../../index\";\n\nimport { isVisible, offset } from \"../../utils/utils\";\nimport throttle from \"lodash/throttle\";\n\nconst ATTR_STICKY_CONTAINER = \"data-stzh-sticky-container\";\nconst ATTR_STICKY_WIDTH_CONTAINER = \"data-stzh-sticky-width-container\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-sticky\",\n styleUrl: \"stzh-sticky.scss\",\n shadow: true,\n})\nexport class StzhSticky {\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"transparent\" = \"default\";\n\n /** Whether to disable sticking to top */\n @Prop({ reflect: true }) disableStickyTop: boolean = true;\n\n /** Whether to disable sticking to bottom */\n @Prop({ reflect: true }) disableStickyBottom: boolean = false;\n\n /** Whether background breaks out container to full viewport width */\n @Prop({ reflect: true }) bleeding: boolean = false;\n\n /** Name of sticky element (used for setting css properties) */\n @Prop() name: string;\n\n /**\n * Position type used.\n *\n * - sticky: used only css position sticky\n * - fixed: uses position fixed with js for positioning (`data-stzh-sticky-container` can be used on a container element to limit sticky position)\n */\n @Prop({ reflect: true }) position: \"sticky\" | \"fixed\" = \"sticky\";\n\n @Watch(\"disableStickyTop\")\n @Watch(\"disableStickyBottom\")\n disableStickyWatcher() {\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n } else {\n this.updateStuck();\n }\n });\n });\n }\n\n @Watch(\"isStuckTop\")\n @Watch(\"isStuckBottom\")\n @Watch(\"hasReachedTopLimit\")\n @Watch(\"hasReachedBottomLimit\")\n stuckHeightWatcher() {\n let isStuck = false;\n\n if (this.isStuckTop && !this.hasReachedBottomLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"1\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-top`, \"0\");\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-top`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-top-height`,\n \"0px\",\n );\n }\n\n if (this.isStuckBottom && !this.hasReachedTopLimit) {\n isStuck = true;\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"1\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n `${this.stickyElement.offsetHeight}px`,\n );\n } else {\n document.documentElement.style.setProperty(`--stzh-sticky-${this.name && this.name + \"-\"}is-stuck-bottom`, \"0\");\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck-bottom`,\n \"1\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}stuck-bottom-height`,\n \"0px\",\n );\n }\n\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-stuck`,\n isStuck ? \"1\" : \"0\",\n );\n document.documentElement.style.setProperty(\n `--stzh-sticky-${this.name && this.name + \"-\"}is-not-stuck`,\n isStuck ? \"0\" : \"1\",\n );\n\n if (isStuck) {\n this.stickyResizeObserver.observe(this.stickyElement);\n } else {\n this.stickyResizeObserver.unobserve(this.stickyElement);\n }\n }\n\n @Watch(\"isStuckTop\")\n isStuckTopWatcher(newValue: boolean) {\n this.stzhStuckTop.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"isStuckBottom\")\n isStuckBottomWatcher(newValue: boolean) {\n this.stzhStuckBottom.emit({\n component: \"stzh-sticky\",\n sticky: newValue,\n });\n }\n\n @Watch(\"position\")\n @Watch(\"bleeding\")\n positionWatcher() {\n if (this.position === \"fixed\") {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n window.addEventListener(\"resize\", this.handleResize);\n\n this.updateFixedByResize();\n } else {\n if (this.bleeding) {\n window.addEventListener(\"scroll\", this.handleScroll, { passive: true });\n this.updateByScroll();\n } else {\n window.removeEventListener(\"scroll\", this.handleScroll);\n }\n\n window.removeEventListener(\"resize\", this.handleResize);\n this.setUnfixed();\n\n this.observer = new IntersectionObserver(this.observe, { threshold: [1] });\n this.observer.observe(this.stickyElement);\n\n this.updateStuck();\n }\n }\n\n /** Sticky stuck top event */\n @Event() stzhStuckTop: EventEmitter<StzhStickyStuckTopEvent>;\n\n /** Sticky stuck bottom event */\n @Event() stzhStuckBottom: EventEmitter<StzhStickyStuckBottomEvent>;\n\n @Element() element: HTMLStzhStickyElement;\n\n @State() isStuckTop: boolean;\n @State() isStuckBottom: boolean;\n\n @State() hasReachedTopLimit: boolean;\n @State() hasReachedBottomLimit: boolean;\n\n @State() loaded: boolean = false;\n\n private observer: IntersectionObserver;\n private stickyResizeObserver: ResizeObserver;\n private debounceScroll: number;\n private debounceResize: number;\n private stickyElement: HTMLElement;\n private spacerElement: HTMLElement;\n\n private windowHeight: number;\n private scrollX: number;\n private scrollY: number;\n private fixedTop: number;\n private fixedLeft: number;\n private fixedHeight: number = 0;\n private fixedWidth: number = 0;\n private fixedLimit: { top: number; bottom: number } | null = null;\n\n private updateStuck() {\n const topCss = parseInt(getComputedStyle(this.stickyElement).top, 10);\n const bottomCss = parseInt(getComputedStyle(this.stickyElement).bottom, 10);\n const rect = this.stickyElement.getBoundingClientRect();\n\n if (topCss) {\n this.isStuckTop = rect.top < 0;\n } else {\n this.isStuckTop = false;\n }\n\n if (bottomCss) {\n this.isStuckBottom = document.documentElement.clientHeight < rect.bottom;\n } else {\n this.isStuckBottom = false;\n }\n }\n\n private getFixedLimit(): { top: number; bottom: number } | null {\n const stickyContainer = this.element.closest(`[${ATTR_STICKY_CONTAINER}]`);\n\n if (!stickyContainer) {\n return null;\n }\n\n const off = offset(stickyContainer);\n\n return {\n top: off.top,\n bottom: off.top + stickyContainer.scrollHeight,\n };\n }\n\n private setUnfixed() {\n Object.assign(this.stickyElement.style, {\n position: null,\n top: null,\n bottom: null,\n left: null,\n width: null,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"none\",\n });\n }\n\n private setFixed() {\n const position = this.hasReachedTopLimit || this.hasReachedBottomLimit ? \"absolute\" : \"fixed\";\n\n Object.assign(this.stickyElement.style, {\n position,\n top:\n position === \"absolute\"\n ? `${this.isStuckTop ? this.fixedLimit.bottom - this.fixedHeight : this.fixedLimit.top}px`\n : this.isStuckTop\n ? \"0px\"\n : \"auto\",\n bottom: this.isStuckTop || position === \"absolute\" ? \"auto\" : \"0px\",\n left: `${this.fixedLeft + (position === \"fixed\" ? this.scrollX : 0)}px`,\n width: `${this.fixedWidth}px`,\n });\n\n Object.assign(this.spacerElement.style, {\n display: \"block\",\n });\n }\n\n private handleScroll = () => {\n if (this.debounceScroll) {\n window.cancelAnimationFrame(this.debounceScroll);\n }\n\n this.debounceScroll = requestAnimationFrame(this.updateByScroll);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateFixedByResize);\n };\n\n private handleStickyResize = throttle(() => {\n this.stuckHeightWatcher();\n this.updateByScroll();\n }, 100);\n\n private updateByScroll = () => {\n if (!isVisible(this.stickyElement) || !this.element.isConnected) {\n return;\n }\n\n const stickyFixedWidthContainer =\n (this.element.closest(`[${ATTR_STICKY_WIDTH_CONTAINER}]`) as HTMLElement) || this.element.parentElement;\n\n const off = offset(\n (this.isStuckTop || this.isStuckBottom) && this.position === \"fixed\" ? this.spacerElement : this.stickyElement,\n );\n\n this.fixedTop = off.top;\n this.fixedLeft = off.left;\n\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-top\", `${this.fixedTop}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-offset-left\", `${this.fixedLeft}px`);\n\n if (this.position === \"sticky\") {\n // for position sticky we only need the offsets variables to be updated in bleeding variant\n return;\n }\n\n this.fixedHeight = this.stickyElement.offsetHeight;\n this.spacerElement.style.height = `${this.fixedHeight}px`;\n\n this.scrollX = window.scrollX;\n this.scrollY = window.scrollY;\n this.fixedLimit = this.getFixedLimit();\n\n this.fixedWidth = stickyFixedWidthContainer.getBoundingClientRect().width;\n\n const unstuckWidth = this.element.getBoundingClientRect().width;\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-stuck-width', `${this.fixedWidth}px`);\n stickyFixedWidthContainer.style.setProperty(\"--stzh-sticky-unstuck-width\", `${unstuckWidth}px`);\n\n // console.log(unstuckWidth);\n\n // console.log(\n // this.scrollX,\n // this.scrollY,\n // this.windowHeight,\n // this.fixedTop,\n // this.fixedLeft,\n // this.fixedHeight,\n // this.fixedLimit,\n // );\n\n this.isStuckBottom =\n !this.disableStickyBottom && this.scrollY + this.windowHeight <= this.fixedTop + this.fixedHeight;\n this.isStuckTop = !this.disableStickyTop && this.scrollY >= this.fixedTop;\n\n this.hasReachedTopLimit =\n this.fixedLimit && this.scrollY + this.windowHeight - this.fixedHeight <= this.fixedLimit.top;\n this.hasReachedBottomLimit = this.fixedLimit && this.scrollY >= this.fixedLimit.bottom - this.fixedHeight;\n\n // console.log(\n // this.isStuckBottom,\n // this.isStuckTop,\n // this.hasReachedBottomLimit,\n // this.hasReachedTopLimit,\n // );\n\n if (this.isStuckTop || this.isStuckBottom) {\n this.setFixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${this.fixedWidth}px`);\n } else {\n this.setUnfixed();\n // stickyFixedWidthContainer.style.setProperty('--stzh-sticky-width', `${unstuckWidth}px`);\n }\n };\n\n private updateFixedByResize = () => {\n if (!this.stickyElement || !this.element.isConnected) {\n return;\n }\n\n // reset sticky so we can read current offsets\n this.setUnfixed();\n this.stickyElement.style.position = \"static\";\n this.stickyElement.style.width = \"auto\";\n this.isStuckTop = false;\n this.isStuckBottom = false;\n\n if (isVisible(this.stickyElement)) {\n this.windowHeight = window.innerHeight;\n this.updateByScroll();\n }\n };\n\n private observe = () => {\n this.updateStuck();\n };\n\n componentDidLoad() {\n this.stickyResizeObserver = new ResizeObserver(this.handleStickyResize);\n this.positionWatcher();\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n window.setTimeout(() => {\n this.loaded = true;\n\n if (this.position === \"fixed\") {\n this.updateFixedByResize();\n }\n }, 250);\n });\n });\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.stickyResizeObserver?.disconnect();\n\n window.removeEventListener(\"scroll\", this.handleScroll);\n window.removeEventListener(\"resize\", this.handleResize);\n }\n\n render() {\n const isStuck = this.isStuckTop || this.isStuckBottom;\n\n const classes = {\n \"stzh-sticky\": true,\n \"stzh-sticky--is-not-loaded\": !this.loaded,\n \"stzh-sticky--is-stuck\": isStuck,\n \"stzh-sticky--is-stuck-top\": this.isStuckTop,\n \"stzh-sticky--is-stuck-bottom\": this.isStuckBottom,\n \"stzh-sticky--is-disabled-sticky-top\": this.disableStickyTop,\n \"stzh-sticky--is-disabled-sticky-bottom\": this.disableStickyBottom,\n \"stzh-sticky--is-bleeding\": this.bleeding,\n [`stzh-sticky--position-${this.position}`]: !!this.position,\n [`stzh-sticky--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host\n is-stuck={this.isStuckTop || this.isStuckBottom}\n is-stuck-top={this.isStuckTop}\n is-stuck-bottom={this.isStuckBottom}\n >\n <div class={classes}>\n <div ref={el => (this.spacerElement = el as HTMLDivElement)} class=\"stzh-sticky__spacer\"></div>\n <div ref={el => (this.stickyElement = el as HTMLDivElement)} class=\"stzh-sticky__sticky\">\n <div class=\"stzh-sticky__content\">\n <div class=\"stzh-sticky__content-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-8f01554b.js';
2
- import { d as defineCustomElement$3 } from './p-17efbc57.js';
3
- import { d as defineCustomElement$2 } from './p-5a8587ab.js';
4
- import { d as defineCustomElement$1 } from './p-0ac64574.js';
2
+ import { d as defineCustomElement$3 } from './p-dd1c0c0c.js';
3
+ import { d as defineCustomElement$2 } from './p-7c4e756c.js';
4
+ import { d as defineCustomElement$1 } from './p-111f7e01.js';
5
5
 
6
6
  const stzhAppNavCss = ":host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block;}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-app-nav{background-color:var(--stzh-color-coolgrey10)}@media screen and (max-width: 899px){.stzh-app-nav{height:var(--stzh-app-nav-height)}}.stzh-app-nav__links{display:flex;flex-direction:row;justify-content:space-between;padding:var(--stzh-space-medium) var(--stzh-space-large) var(--stzh-space-xlarge)}@media screen and (min-width: 900px){.stzh-app-nav__links{padding:0;align-items:center}}.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{--text-decoration-line:none;--hover-text-decoration-line:none;color:var(--stzh-color-coolgrey90)}@media screen and (min-width: 900px){.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{margin-right:var(--stzh-space-xlarge)}}.stzh-app-nav__link:last-child,.stzh-app-nav .stzh-app-nav__link a:last-child{margin-right:0}.stzh-app-nav__link:hover,.stzh-app-nav .stzh-app-nav__link a:hover{color:var(--stzh-color-primary60)}.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{text-decoration:none;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}}.stzh-app-nav .stzh-link__inner{flex-direction:column}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__inner{flex-direction:row}}.stzh-app-nav .stzh-link__text{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);font-weight:var(--stzh-font-weight-medium)}}.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-top:var(--stzh-space-xxsmall);margin-left:0}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xsmall);margin-top:0}}";
7
7
  const StzhAppNavStyle0 = stzhAppNavCss;
@@ -31,7 +31,7 @@ const StzhAppNav = /*@__PURE__*/ proxyCustomElement(class StzhAppNav extends H {
31
31
  const classes = {
32
32
  "stzh-app-nav": true,
33
33
  };
34
- return (h(Host, { key: '28755895d833a369da3678b55c41362340dbf98b' }, h("nav", { key: '6375efcd34fc270155dbfadef06442ece3d9486f', role: "navigation", class: classes, "aria-label": this.localization.title, id: this.appNavId || null }, h("div", { key: '7c7a9afd20f6d8f92e21cc8b7b5c7b83f88a881a', class: "stzh-app-nav__links", role: "list" }, this.items.map(item => (h("stzh-link", { class: "stzh-app-nav__link", active: item.active, role: "listitem", "a11y-current": item.a11yCurrent, href: item.href, badge: item.badge, badgeType: item.badgeType, icon: item.icon, "link-id": item.id, onClick: (e) => {
34
+ return (h(Host, { key: '6aca18c8040667968cc291e82469826c6427ed72' }, h("nav", { key: 'e3db9d373f33780b50d177f42a99aa87f31ee257', role: "navigation", class: classes, "aria-label": this.localization.title, id: this.appNavId || null }, h("div", { key: '056f487b031c715ecd4a1f8372c153c9bb95a297', class: "stzh-app-nav__links", role: "list" }, this.items.map(item => (h("stzh-link", { class: "stzh-app-nav__link", active: item.active, role: "listitem", "a11y-current": item.a11yCurrent, href: item.href, badge: item.badge, badgeType: item.badgeType, icon: item.icon, "link-id": item.id, onClick: (e) => {
35
35
  this.handleAppNavItemClick(e, item);
36
36
  } }, item.text)))))));
37
37
  }
@@ -73,4 +73,4 @@ function defineCustomElement() {
73
73
 
74
74
  export { StzhAppNav as S, defineCustomElement as d };
75
75
 
76
- //# sourceMappingURL=p-b5f00d83.js.map
76
+ //# sourceMappingURL=p-1cfd0791.js.map
@@ -1 +1 @@
1
- {"file":"p-b5f00d83.js","mappings":";;;;;AAA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IAAI,CACA,CACb,CAAC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-app-nav/stzh-app-nav.scss?tag=stzh-app-nav","src/components/stzh-app-nav/stzh-app-nav.tsx"],"sourcesContent":[".stzh-app-nav {\n background-color: var(--stzh-color-coolgrey10);\n\n @include mq($to: medium) {\n height: var(--stzh-app-nav-height);\n }\n\n &__links {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: space(\"medium\") space(\"large\") space(\"xlarge\");\n\n @include mq($from: medium) {\n padding: 0;\n align-items: center;\n }\n }\n\n &__link,\n .stzh-app-nav__link a {\n --text-decoration-line: none;\n --hover-text-decoration-line: none;\n color: var(--stzh-color-coolgrey90);\n\n @include mq($from: medium) {\n margin-right: space(\"xlarge\");\n }\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n color: var(--stzh-color-primary60);\n }\n }\n\n .stzh-app-nav__link a.stzh-link--is-active,\n .stzh-app-nav__link.stzh-link--is-active {\n text-decoration: none;\n color: var(--stzh-color-primary70);\n\n @include mq($from: medium) {\n @include font(\"heavy\");\n }\n }\n\n .stzh-link__inner {\n flex-direction: column;\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n .stzh-link__text {\n @include font(\"medium\");\n @include fontSize(\"pico\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n font-weight: var(--stzh-font-weight-medium);\n }\n }\n\n .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)\n + .stzh-link__text.sc-stzh-link:not(:empty),\n .stzh-link__text.sc-stzh-link:not(:empty)\n + .stzh-link__icon-wrapper.sc-stzh-link:not(:empty) {\n margin-top: space(\"xxsmall\");\n margin-left: 0;\n\n @include mq($from: medium) {\n margin-left: space(\"xsmall\");\n margin-top: 0;\n }\n }\n}\n","import { Component, Prop, h, Host, Element, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhAppNavLocalizedText } from \"./stzh-app-nav.localization\";\n\nimport { StzhAppNavItem, StzhAppNavItemClickEvent } from \"../../index\";\n\n@Component({\n tag: \"stzh-app-nav\",\n styleUrl: \"stzh-app-nav.scss\",\n})\nexport class StzhAppNav {\n /** Translation strings */\n @Prop() localization: StzhAppNavLocalizedText;\n\n /** AppNav menu items */\n @Prop() items: StzhAppNavItem[] = [];\n\n /** AppNav element ID */\n @Prop() appNavId: string;\n\n @Element() element: HTMLStzhAppNavElement;\n\n /** AppNav item click event */\n @Event() stzhAppNavItemClick: EventEmitter<StzhAppNavItemClickEvent>;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"appnav\");\n }\n }\n\n private handleAppNavItemClick = (event: MouseEvent, item: StzhAppNavItem) => {\n this.stzhAppNavItemClick.emit({\n component: \"stzh-app-nav\",\n item,\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-app-nav\": true,\n };\n\n return (\n <Host>\n <nav role=\"navigation\" class={classes} aria-label={this.localization.title} id={this.appNavId || null}>\n <div class=\"stzh-app-nav__links\" role=\"list\">\n {this.items.map(item => (\n <stzh-link\n class=\"stzh-app-nav__link\"\n active={item.active}\n role=\"listitem\"\n a11y-current={item.a11yCurrent}\n href={item.href}\n badge={item.badge}\n badgeType={item.badgeType}\n icon={item.icon}\n link-id={item.id}\n onClick={(e: MouseEvent) => {\n this.handleAppNavItemClick(e, item);\n }}\n >\n {item.text}\n </stzh-link>\n ))}\n </div>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-1cfd0791.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,i4GAAi4G,CAAC;AACx5G,yBAAe,aAAa;;MCSf,UAAU;;;;;QAqBb,0BAAqB,GAAG,CAAC,KAAiB,EAAE,IAAoB;YACtE,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC;gBAC5B,SAAS,EAAE,cAAc;gBACzB,IAAI;gBACJ,aAAa,EAAE,KAAK;aACrB,CAAC,CAAC;SACJ,CAAC;;qBAtBgC,EAAE;;;IAUpC,MAAM,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;SACjG;KACF;IAUD,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,cAAc,EAAE,IAAI;SACrB,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,OAAO,gBAAc,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,IACnG,4DAAK,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,MAAM,IACzC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,KAClB,iBACE,KAAK,EAAC,oBAAoB,EAC1B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,IAAI,EAAC,UAAU,kBACD,IAAI,CAAC,WAAW,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,IAAI,EAAE,IAAI,CAAC,IAAI,aACN,IAAI,CAAC,EAAE,EAChB,OAAO,EAAE,CAAC,CAAa;gBACrB,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;aACrC,IAEA,IAAI,CAAC,IAAI,CACA,CACb,CAAC,CACE,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-app-nav/stzh-app-nav.scss?tag=stzh-app-nav","src/components/stzh-app-nav/stzh-app-nav.tsx"],"sourcesContent":[".stzh-app-nav {\n background-color: var(--stzh-color-coolgrey10);\n\n @include mq($to: medium) {\n height: var(--stzh-app-nav-height);\n }\n\n &__links {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: space(\"medium\") space(\"large\") space(\"xlarge\");\n\n @include mq($from: medium) {\n padding: 0;\n align-items: center;\n }\n }\n\n &__link,\n .stzh-app-nav__link a {\n --text-decoration-line: none;\n --hover-text-decoration-line: none;\n color: var(--stzh-color-coolgrey90);\n\n @include mq($from: medium) {\n margin-right: space(\"xlarge\");\n }\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n color: var(--stzh-color-primary60);\n }\n }\n\n .stzh-app-nav__link a.stzh-link--is-active,\n .stzh-app-nav__link.stzh-link--is-active {\n text-decoration: none;\n color: var(--stzh-color-primary70);\n\n @include mq($from: medium) {\n @include font(\"heavy\");\n }\n }\n\n .stzh-link__inner {\n flex-direction: column;\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n .stzh-link__text {\n @include font(\"medium\");\n @include fontSize(\"pico\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n font-weight: var(--stzh-font-weight-medium);\n }\n }\n\n .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)\n + .stzh-link__text.sc-stzh-link:not(:empty),\n .stzh-link__text.sc-stzh-link:not(:empty)\n + .stzh-link__icon-wrapper.sc-stzh-link:not(:empty) {\n margin-top: space(\"xxsmall\");\n margin-left: 0;\n\n @include mq($from: medium) {\n margin-left: space(\"xsmall\");\n margin-top: 0;\n }\n }\n}\n","import { Component, Prop, h, Host, Element, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhAppNavLocalizedText } from \"./stzh-app-nav.localization\";\n\nimport { StzhAppNavItem, StzhAppNavItemClickEvent } from \"../../index\";\n\n@Component({\n tag: \"stzh-app-nav\",\n styleUrl: \"stzh-app-nav.scss\",\n})\nexport class StzhAppNav {\n /** Translation strings */\n @Prop() localization: StzhAppNavLocalizedText;\n\n /** AppNav menu items */\n @Prop() items: StzhAppNavItem[] = [];\n\n /** AppNav element ID */\n @Prop() appNavId: string;\n\n @Element() element: HTMLStzhAppNavElement;\n\n /** AppNav item click event */\n @Event() stzhAppNavItemClick: EventEmitter<StzhAppNavItemClickEvent>;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"appnav\");\n }\n }\n\n private handleAppNavItemClick = (event: MouseEvent, item: StzhAppNavItem) => {\n this.stzhAppNavItemClick.emit({\n component: \"stzh-app-nav\",\n item,\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-app-nav\": true,\n };\n\n return (\n <Host>\n <nav role=\"navigation\" class={classes} aria-label={this.localization.title} id={this.appNavId || null}>\n <div class=\"stzh-app-nav__links\" role=\"list\">\n {this.items.map(item => (\n <stzh-link\n class=\"stzh-app-nav__link\"\n active={item.active}\n role=\"listitem\"\n a11y-current={item.a11yCurrent}\n href={item.href}\n badge={item.badge}\n badgeType={item.badgeType}\n icon={item.icon}\n link-id={item.id}\n onClick={(e: MouseEvent) => {\n this.handleAppNavItemClick(e, item);\n }}\n >\n {item.text}\n </stzh-link>\n ))}\n </div>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -17,7 +17,7 @@ const StzhLoader = /*@__PURE__*/ proxyCustomElement(class StzhLoader extends H {
17
17
  "stzh-loader--hide-label": this.hideLabel,
18
18
  [`stzh-loader--size-${this.size}`]: !!this.size,
19
19
  };
20
- return (h(Host, { key: 'f928859546fc204dffd6a175cc401ba273697a94' }, h("div", { key: 'c52f0e26667791cc815df1cd1902a743fd08a808', class: classes }, h("div", { key: '0f41109fc78aba388a9937fd37110dc5e552c909', class: "stzh-loader__wrapper" }, h("div", { key: '5b6801fc65c234c806ec388653cd478bc67cf54b', class: "stzh-loader__uil" }, h("div", { key: '9c81f56b552c24497fa42070e9d1ed9ae9e9068f', class: "stzh-loader__ib" }, h("div", { key: 'abe087c982475e2db41696aad2ad3a4fa2333e91', class: "stzh-loader__circle" }, h("div", { key: '029e0669c3449e83bd357d8c853b598cd1c276eb' })), h("div", { key: 'c7dcea928580d1feb9f6cbeac36a023f43078e30', class: "stzh-loader__circle" }, h("div", { key: '12689365fec09cd690c4b1f2b0e037faabe3da6a' })), h("div", { key: 'a541381378c9b6563d7c2def5f79a5015e6f84a6', class: "stzh-loader__circle" }, h("div", { key: '3d33858a510240f5020309dfd49ee5bec1706bff' })), h("div", { key: '7be2a01f27fa9588ad07ed544d9f982fae524018', class: "stzh-loader__circle" }, h("div", { key: 'd164fd797d4dc3f455d542b476c06b6540169947' }))))), h("div", { key: '195321648428d3c9712c6b2eb9b524c9a75f1823', class: "stzh-loader__label", "aria-live": "polite" }, this.label ? this.label : h("slot", null)))));
20
+ return (h(Host, { key: '04ea1a87f71fe4a8503f8bf9ca368653744dc61d' }, h("div", { key: '7cdce1ab2258bc9c62a098cc3be51c0cb5b5dc5f', class: classes }, h("div", { key: 'd81308f8188ab0d034f5cef5339a0c4b8c3db75a', class: "stzh-loader__wrapper" }, h("div", { key: '02bca1dc720d074f44c933208bc6d4c018a96886', class: "stzh-loader__uil" }, h("div", { key: '5ec372001f23ea607364d47375d62b4ba3819ca2', class: "stzh-loader__ib" }, h("div", { key: '7ccf1e975dbb1ed8ae25939f0e23174abb4e908d', class: "stzh-loader__circle" }, h("div", { key: '936ed6e5f8910b20f75f75c539f6355c63ab01dc' })), h("div", { key: 'cf050adbcb6e02ca65cf2b8c3456ac424befab62', class: "stzh-loader__circle" }, h("div", { key: '3f1d494ea26dd9bd28a062342f598c9e53df8fa9' })), h("div", { key: '1483f672a399dc28e87da6353f56d3105f9f46ea', class: "stzh-loader__circle" }, h("div", { key: '8645d56dede758369af31706ca0dbc7046b7cc1d' })), h("div", { key: '9ea35595360dd1022e1d6dfb8b3874a3df3d48b8', class: "stzh-loader__circle" }, h("div", { key: 'd702063d6a54bd3de1e369d4698c7ecb092a76ab' }))))), h("div", { key: '229d7fb08cb99144a11da40174af41530fd89c0c', class: "stzh-loader__label", "aria-live": "polite" }, this.label ? this.label : h("slot", null)))));
21
21
  }
22
22
  get element() { return this; }
23
23
  static get style() { return StzhLoaderStyle0; }
@@ -42,4 +42,4 @@ function defineCustomElement() {
42
42
 
43
43
  export { StzhLoader as S, defineCustomElement as d };
44
44
 
45
- //# sourceMappingURL=p-ce0311f9.js.map
45
+ //# sourceMappingURL=p-2502ff26.js.map
@@ -1 +1 @@
1
- {"file":"p-ce0311f9.js","mappings":";;AAAA,MAAM,aAAa,GAAG,m2GAAm2G,CAAC;AAC13G,yBAAe,aAAa;;MCSf,UAAU;;;;oBAEe,SAAS;qBAGrB,EAAE;yBAGG,KAAK;;IAIlC,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,aAAa,EAAE,IAAI;YACnB,yBAAyB,EAAE,IAAI,CAAC,SAAS;YACzC,CAAC,qBAAqB,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,4DAAK,KAAK,EAAC,kBAAkB,IAC3B,4DAAK,KAAK,EAAC,iBAAiB,IAC1B,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,CACF,CACF,CACF,EAEN,4DAAK,KAAK,EAAC,oBAAoB,eAAW,QAAQ,IAC/C,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,eAAa,CACpC,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-loader/stzh-loader.scss?tag=stzh-loader&encapsulation=scoped","src/components/stzh-loader/stzh-loader.tsx"],"sourcesContent":[":host {\n}\n\n@keyframes stzh-loader {\n 0% {\n transform: scale(0);\n left: 0px;\n opacity: 1;\n }\n 12.5% {\n transform: scale(1);\n }\n 25% {\n left: 0px;\n }\n 37.5% {\n left: 70px;\n }\n 50% {\n left: 70px;\n }\n 62.5% {\n left: 140px;\n }\n 75% {\n left: 140px;\n transform: scale(1);\n }\n 87.5% {\n left: 140px;\n transform: scale(0);\n opacity: 1;\n }\n 100% {\n left: 140px;\n opacity: 0;\n }\n}\n\n.stzh-loader {\n display: flex;\n flex-direction: column;\n align-items: center;\n\n &__label {\n @include fontSize(\"micro\");\n text-align: center;\n\n &:not(:empty) {\n margin-top: space(\"medium\");\n }\n }\n\n &__wrapper {\n width: calc(200px / $loaderFactor);\n height: calc(40px / $loaderFactor);\n }\n\n &__uil {\n background: none;\n position: relative;\n width: 200px;\n height: 40px;\n transform: scale($loaderScale);\n transform-origin: top left;\n }\n\n &__ib {\n width: 100%;\n height: 100%;\n transform: rotate(0deg);\n }\n\n &__circle {\n width: 60px;\n height: 40px;\n position: absolute;\n opacity: 0;\n text-align: center;\n animation: stzh-loader 3s linear infinite;\n\n & > div {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n margin: 0 10px;\n }\n\n &:nth-of-type(2n + 1) > div {\n background: #0f05a0;\n }\n\n &:nth-of-type(2n) > div {\n background: #0f05a0;\n }\n\n &:nth-of-type(1) {\n animation-delay: 0s;\n }\n\n &:nth-of-type(2) {\n animation-delay: 0.75s;\n }\n\n &:nth-of-type(3) {\n animation-delay: 1.5s;\n }\n\n &:nth-of-type(4) {\n animation-delay: 2.25s;\n }\n }\n\n /* Small variant */\n\n &--size-small &__label {\n @include fontSize(\"pico\");\n\n &:not(:empty) {\n margin-top: space(\"xsmall\");\n }\n }\n\n &--size-small &__wrapper {\n width: calc(200px / $loaderFactor * $loaderSmallFactor);\n height: calc(40px / $loaderFactor * $loaderSmallFactor);\n }\n\n &--size-small &__uil {\n transform: scale($loaderScale * $loaderSmallFactor);\n }\n\n /* Hide label */\n\n &--hide-label &__label {\n @include visuallyhidden;\n }\n}\n","import { Component, Host, h, Prop, Element } from \"@stencil/core\";\n\n/**\n * @slot - Slot for label/text content\n */\n@Component({\n tag: \"stzh-loader\",\n styleUrl: \"stzh-loader.scss\",\n scoped: true,\n})\nexport class StzhLoader {\n /** Size */\n @Prop() size: \"default\" | \"small\" = \"default\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Hide label text visually (still anounced for screenreaders) */\n @Prop() hideLabel: boolean = false;\n\n @Element() element: HTMLStzhInputElement;\n\n render() {\n const classes = {\n \"stzh-loader\": true,\n \"stzh-loader--hide-label\": this.hideLabel,\n [`stzh-loader--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-loader__wrapper\">\n <div class=\"stzh-loader__uil\">\n <div class=\"stzh-loader__ib\">\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"stzh-loader__label\" aria-live=\"polite\">\n {this.label ? this.label : <slot></slot>}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-2502ff26.js","mappings":";;AAAA,MAAM,aAAa,GAAG,m2GAAm2G,CAAC;AAC13G,yBAAe,aAAa;;MCSf,UAAU;;;;oBAEe,SAAS;qBAGrB,EAAE;yBAGG,KAAK;;IAIlC,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,aAAa,EAAE,IAAI;YACnB,yBAAyB,EAAE,IAAI,CAAC,SAAS;YACzC,CAAC,qBAAqB,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;SAChD,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,4DAAK,KAAK,EAAC,kBAAkB,IAC3B,4DAAK,KAAK,EAAC,iBAAiB,IAC1B,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,EACN,4DAAK,KAAK,EAAC,qBAAqB,IAC9B,6DAAW,CACP,CACF,CACF,CACF,EAEN,4DAAK,KAAK,EAAC,oBAAoB,eAAW,QAAQ,IAC/C,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,eAAa,CACpC,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-loader/stzh-loader.scss?tag=stzh-loader&encapsulation=scoped","src/components/stzh-loader/stzh-loader.tsx"],"sourcesContent":[":host {\n}\n\n@keyframes stzh-loader {\n 0% {\n transform: scale(0);\n left: 0px;\n opacity: 1;\n }\n 12.5% {\n transform: scale(1);\n }\n 25% {\n left: 0px;\n }\n 37.5% {\n left: 70px;\n }\n 50% {\n left: 70px;\n }\n 62.5% {\n left: 140px;\n }\n 75% {\n left: 140px;\n transform: scale(1);\n }\n 87.5% {\n left: 140px;\n transform: scale(0);\n opacity: 1;\n }\n 100% {\n left: 140px;\n opacity: 0;\n }\n}\n\n.stzh-loader {\n display: flex;\n flex-direction: column;\n align-items: center;\n\n &__label {\n @include fontSize(\"micro\");\n text-align: center;\n\n &:not(:empty) {\n margin-top: space(\"medium\");\n }\n }\n\n &__wrapper {\n width: calc(200px / $loaderFactor);\n height: calc(40px / $loaderFactor);\n }\n\n &__uil {\n background: none;\n position: relative;\n width: 200px;\n height: 40px;\n transform: scale($loaderScale);\n transform-origin: top left;\n }\n\n &__ib {\n width: 100%;\n height: 100%;\n transform: rotate(0deg);\n }\n\n &__circle {\n width: 60px;\n height: 40px;\n position: absolute;\n opacity: 0;\n text-align: center;\n animation: stzh-loader 3s linear infinite;\n\n & > div {\n width: 40px;\n height: 40px;\n border-radius: 20px;\n margin: 0 10px;\n }\n\n &:nth-of-type(2n + 1) > div {\n background: #0f05a0;\n }\n\n &:nth-of-type(2n) > div {\n background: #0f05a0;\n }\n\n &:nth-of-type(1) {\n animation-delay: 0s;\n }\n\n &:nth-of-type(2) {\n animation-delay: 0.75s;\n }\n\n &:nth-of-type(3) {\n animation-delay: 1.5s;\n }\n\n &:nth-of-type(4) {\n animation-delay: 2.25s;\n }\n }\n\n /* Small variant */\n\n &--size-small &__label {\n @include fontSize(\"pico\");\n\n &:not(:empty) {\n margin-top: space(\"xsmall\");\n }\n }\n\n &--size-small &__wrapper {\n width: calc(200px / $loaderFactor * $loaderSmallFactor);\n height: calc(40px / $loaderFactor * $loaderSmallFactor);\n }\n\n &--size-small &__uil {\n transform: scale($loaderScale * $loaderSmallFactor);\n }\n\n /* Hide label */\n\n &--hide-label &__label {\n @include visuallyhidden;\n }\n}\n","import { Component, Host, h, Prop, Element } from \"@stencil/core\";\n\n/**\n * @slot - Slot for label/text content\n */\n@Component({\n tag: \"stzh-loader\",\n styleUrl: \"stzh-loader.scss\",\n scoped: true,\n})\nexport class StzhLoader {\n /** Size */\n @Prop() size: \"default\" | \"small\" = \"default\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Hide label text visually (still anounced for screenreaders) */\n @Prop() hideLabel: boolean = false;\n\n @Element() element: HTMLStzhInputElement;\n\n render() {\n const classes = {\n \"stzh-loader\": true,\n \"stzh-loader--hide-label\": this.hideLabel,\n [`stzh-loader--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-loader__wrapper\">\n <div class=\"stzh-loader__uil\">\n <div class=\"stzh-loader__ib\">\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n <div class=\"stzh-loader__circle\">\n <div></div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"stzh-loader__label\" aria-live=\"polite\">\n {this.label ? this.label : <slot></slot>}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-8f01554b.js';
2
2
  import { h as hasSlot } from './p-289f5de2.js';
3
- import { d as defineCustomElement$2 } from './p-17efbc57.js';
4
- import { d as defineCustomElement$1 } from './p-5a8587ab.js';
3
+ import { d as defineCustomElement$2 } from './p-dd1c0c0c.js';
4
+ import { d as defineCustomElement$1 } from './p-7c4e756c.js';
5
5
 
6
6
  const stzhMenuItemCss = ".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h,[stzh-hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-menu-item-h .has-focus.sc-stzh-menu-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item{outline-style:none !important}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item::-moz-focus-inner{border:0 !important}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-black);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--hover-color:var(--stzh-popover-item-hover-color, var(--stzh-color-black));--hover-background-color:var(--stzh-popover-item-hover-bg, var(--stzh-color-grey20))}[size=large].sc-stzh-menu-item-h{--icon-size:var(--stzh-icon-size);--height:var(--stzh-menu-large-item-height);--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge)}[variant=secondary].sc-stzh-menu-item-h{--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-secondary30)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-grey20)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;display:flex;gap:var(--stzh-space-small);align-items:center;justify-content:stretch;appearance:none;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{--stzh-icon-size:var(--icon-size);position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__text-wrapper.sc-stzh-menu-item{display:flex;gap:var(--stzh-space-xsmall)}.stzh-menu-item__counter.sc-stzh-menu-item{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--size-large.sc-stzh-menu-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);gap:var(--stzh-space-medium)}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";
7
7
  const StzhMenuItemStyle0 = stzhMenuItemCss;
@@ -87,7 +87,7 @@ const StzhMenuItem = /*@__PURE__*/ proxyCustomElement(class StzhMenuItem extends
87
87
  [`stzh-menu-item--size-${this.size}`]: !!this.size,
88
88
  [`stzh-menu-item--${this.variant}`]: !!this.variant,
89
89
  };
90
- return (h(Host, { key: 'a7e424eb94f2897feb0862294c622e7741ca7b97', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
90
+ return (h(Host, { key: '5890cc5dec0b12903ac165230472b93eae8393e4', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
91
91
  }
92
92
  get element() { return this; }
93
93
  static get style() { return StzhMenuItemStyle0; }
@@ -133,4 +133,4 @@ function defineCustomElement() {
133
133
 
134
134
  export { StzhMenuItem as S, defineCustomElement as d };
135
135
 
136
- //# sourceMappingURL=p-25ff5360.js.map
136
+ //# sourceMappingURL=p-26edabbb.js.map
@@ -1 +1 @@
1
- {"file":"p-25ff5360.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,ipIAAipI,CAAC;AAC1qI,2BAAe,eAAe;;MCqBjB,YAAY;;;;;;;QA6Df,mBAAc,GAAY,KAAK,CAAC;QAEhC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB;YAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;SAC7B,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;gBACzC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,gBAAgB;gBAC3B,aAAa,EAAE,KAAK;aACrB,CAAC,CAAC;SACJ,CAAC;QAEM,WAAM,GAAG,CAAC,KAAiB;YACjC,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,MAAM,EAAE;gBACvC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aA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AI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACzB,KAEJ,cACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-26edabbb.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,ipIAAipI,CAAC;AAC1qI,2BAAe,eAAe;;MCqBjB,YAAY;;;;;;;QA6Df,mBAAc,GAAY,KAAK,CAAC;QAEhC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB;YAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;SAC7B,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;gBACzC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB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EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC,IAAI,EACtC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,OAAO,gBACF,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACzB,KAEJ,cACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}