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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (948) hide show
  1. package/dist/cjs/{app-globals-6a08057f.js → app-globals-7501aa08.js} +2 -2
  2. package/dist/cjs/{app-globals-6a08057f.js.map → app-globals-7501aa08.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +9 -9
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  7. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  12. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  13. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  14. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  18. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  23. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  26. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-components.cjs.js +2 -2
  29. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-contact.cjs.entry.js +4 -2
  31. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
  35. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +9 -9
  38. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  43. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
  53. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
  54. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  58. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  62. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  64. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  68. package/dist/cjs/stzh-loader_2.cjs.entry.js +2 -2
  69. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  82. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +2 -2
  87. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -1
  88. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +41 -14
  89. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
  90. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  95. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  99. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  101. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  102. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  109. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  110. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  114. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  119. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
  123. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  124. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  125. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  126. package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +6 -3
  127. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +37 -1
  128. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  129. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +11 -24
  130. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  131. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  132. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  133. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  134. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  135. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  136. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  137. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  138. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  139. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  140. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  141. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  142. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  143. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  144. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  145. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  146. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  147. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  148. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  149. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  150. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  151. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  152. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  153. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.css +26 -35
  155. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +40 -13
  156. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
  157. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +2 -2
  158. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +35 -22
  159. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  161. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  162. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  163. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  164. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  165. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  166. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  167. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  168. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  169. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  170. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  171. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  172. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  173. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  174. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  175. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  176. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  177. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  178. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  179. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  180. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  181. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  182. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  183. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  184. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  185. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  186. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  187. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  188. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  189. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  190. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  191. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  192. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  193. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  194. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  195. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  196. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  197. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  198. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  199. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  200. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  201. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  202. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  203. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  204. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  205. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  206. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  207. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  208. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  209. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  210. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  211. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  212. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  213. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  214. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  215. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  216. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  217. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  218. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  219. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  220. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  221. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  222. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  223. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  224. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  225. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  226. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  227. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  228. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  229. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  230. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  231. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  232. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  233. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  234. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  235. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  236. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  237. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  238. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  239. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  240. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  241. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  242. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  243. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  244. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  245. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  246. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  247. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  248. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  249. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  250. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  251. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  252. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  253. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  254. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  255. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  256. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  257. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  258. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  259. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  260. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  261. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  262. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  263. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  264. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  265. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  266. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  267. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  268. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  269. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
  270. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  271. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  272. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  273. package/dist/components/index.js +1 -1
  274. package/dist/components/{p-69e0c8d2.js → p-00bfe201.js} +3 -3
  275. package/dist/components/{p-69e0c8d2.js.map → p-00bfe201.js.map} +1 -1
  276. package/dist/components/{p-c4fccd89.js → p-07336076.js} +3 -3
  277. package/dist/components/{p-c4fccd89.js.map → p-07336076.js.map} +1 -1
  278. package/dist/components/{p-a2828d2e.js → p-08363886.js} +9 -9
  279. package/dist/components/{p-a2828d2e.js.map → p-08363886.js.map} +1 -1
  280. package/dist/components/{p-9aff1354.js → p-0d14dffd.js} +7 -7
  281. package/dist/components/{p-9aff1354.js.map → p-0d14dffd.js.map} +1 -1
  282. package/dist/components/{p-111f7e01.js → p-10d1bf15.js} +4 -4
  283. package/dist/components/{p-111f7e01.js.map → p-10d1bf15.js.map} +1 -1
  284. package/dist/components/{p-ab25d4da.js → p-2f249d24.js} +7 -7
  285. package/dist/components/{p-ab25d4da.js.map → p-2f249d24.js.map} +1 -1
  286. package/dist/components/{p-b6faf10a.js → p-356399a0.js} +2 -2
  287. package/dist/components/{p-b6faf10a.js.map → p-356399a0.js.map} +1 -1
  288. package/dist/components/{p-5571eadc.js → p-39b23489.js} +2 -2
  289. package/dist/components/{p-5571eadc.js.map → p-39b23489.js.map} +1 -1
  290. package/dist/components/{p-5b94ed4e.js → p-3b8bf944.js} +7 -7
  291. package/dist/components/{p-5b94ed4e.js.map → p-3b8bf944.js.map} +1 -1
  292. package/dist/components/{p-e551f11e.js → p-3c00c24c.js} +9 -9
  293. package/dist/components/{p-e551f11e.js.map → p-3c00c24c.js.map} +1 -1
  294. package/dist/components/{p-3f3349b1.js → p-3de13c90.js} +8 -8
  295. package/dist/components/{p-3f3349b1.js.map → p-3de13c90.js.map} +1 -1
  296. package/dist/components/{p-dd1c0c0c.js → p-42e86bbd.js} +2 -2
  297. package/dist/components/{p-dd1c0c0c.js.map → p-42e86bbd.js.map} +1 -1
  298. package/dist/components/{p-7d7ac6fc.js → p-476fe818.js} +12 -12
  299. package/dist/components/{p-7d7ac6fc.js.map → p-476fe818.js.map} +1 -1
  300. package/dist/components/{p-e5cf7853.js → p-4c4a22d3.js} +2 -2
  301. package/dist/components/{p-e5cf7853.js.map → p-4c4a22d3.js.map} +1 -1
  302. package/dist/components/{p-b12e2861.js → p-4f39842d.js} +5 -5
  303. package/dist/components/{p-b12e2861.js.map → p-4f39842d.js.map} +1 -1
  304. package/dist/components/{p-97868e7a.js → p-556af4a4.js} +2 -2
  305. package/dist/components/{p-97868e7a.js.map → p-556af4a4.js.map} +1 -1
  306. package/dist/components/{p-2502ff26.js → p-5aa4ca6b.js} +2 -2
  307. package/dist/components/{p-2502ff26.js.map → p-5aa4ca6b.js.map} +1 -1
  308. package/dist/components/{p-d48fd359.js → p-60fc78bb.js} +7 -7
  309. package/dist/components/{p-d48fd359.js.map → p-60fc78bb.js.map} +1 -1
  310. package/dist/components/p-692cd6d0.js +90 -0
  311. package/dist/components/p-692cd6d0.js.map +1 -0
  312. package/dist/components/{p-1cfd0791.js → p-6dcd63da.js} +5 -5
  313. package/dist/components/{p-1cfd0791.js.map → p-6dcd63da.js.map} +1 -1
  314. package/dist/components/{p-18196788.js → p-700a2919.js} +2 -2
  315. package/dist/components/{p-18196788.js.map → p-700a2919.js.map} +1 -1
  316. package/dist/components/{p-963d59bf.js → p-7121e1bf.js} +3 -3
  317. package/dist/components/{p-963d59bf.js.map → p-7121e1bf.js.map} +1 -1
  318. package/dist/components/{p-506a00fc.js → p-7171b3a1.js} +10 -10
  319. package/dist/components/{p-506a00fc.js.map → p-7171b3a1.js.map} +1 -1
  320. package/dist/components/{p-570cd361.js → p-74ae8080.js} +6 -6
  321. package/dist/components/{p-570cd361.js.map → p-74ae8080.js.map} +1 -1
  322. package/dist/components/{p-02c5b1ba.js → p-78546000.js} +5 -5
  323. package/dist/components/{p-02c5b1ba.js.map → p-78546000.js.map} +1 -1
  324. package/dist/components/{p-479db6c6.js → p-7a4eaab2.js} +2 -2
  325. package/dist/components/{p-479db6c6.js.map → p-7a4eaab2.js.map} +1 -1
  326. package/dist/components/{p-36fb6c94.js → p-85745626.js} +2 -2
  327. package/dist/components/{p-36fb6c94.js.map → p-85745626.js.map} +1 -1
  328. package/dist/components/{p-72101ea0.js → p-85a0cd24.js} +2 -2
  329. package/dist/components/{p-72101ea0.js.map → p-85a0cd24.js.map} +1 -1
  330. package/dist/components/{p-72e977cc.js → p-893776e9.js} +3 -3
  331. package/dist/components/{p-72e977cc.js.map → p-893776e9.js.map} +1 -1
  332. package/dist/components/{p-387454b3.js → p-8c638ee6.js} +3 -3
  333. package/dist/components/{p-387454b3.js.map → p-8c638ee6.js.map} +1 -1
  334. package/dist/components/{p-34267046.js → p-8ea6e1c0.js} +2 -2
  335. package/dist/components/{p-34267046.js.map → p-8ea6e1c0.js.map} +1 -1
  336. package/dist/components/{p-d6702563.js → p-8ef5faf0.js} +9 -9
  337. package/dist/components/{p-d6702563.js.map → p-8ef5faf0.js.map} +1 -1
  338. package/dist/components/{p-15ee297d.js → p-8fb1ee85.js} +2 -2
  339. package/dist/components/{p-15ee297d.js.map → p-8fb1ee85.js.map} +1 -1
  340. package/dist/components/{p-6e10e5b1.js → p-9574ea75.js} +7 -7
  341. package/dist/components/{p-6e10e5b1.js.map → p-9574ea75.js.map} +1 -1
  342. package/dist/components/{p-613937f1.js → p-95b36277.js} +4 -4
  343. package/dist/components/{p-613937f1.js.map → p-95b36277.js.map} +1 -1
  344. package/dist/components/{p-486bf53e.js → p-95d2855a.js} +14 -14
  345. package/dist/components/{p-486bf53e.js.map → p-95d2855a.js.map} +1 -1
  346. package/dist/components/{p-aeb5dbdc.js → p-9aa3fad7.js} +6 -6
  347. package/dist/components/{p-aeb5dbdc.js.map → p-9aa3fad7.js.map} +1 -1
  348. package/dist/components/{p-f7920d42.js → p-9ad22ce8.js} +3 -3
  349. package/dist/components/{p-f7920d42.js.map → p-9ad22ce8.js.map} +1 -1
  350. package/dist/components/{p-18ba315e.js → p-9c18e9fe.js} +2 -2
  351. package/dist/components/{p-18ba315e.js.map → p-9c18e9fe.js.map} +1 -1
  352. package/dist/components/{p-ea3c0ed4.js → p-9dba6e5f.js} +6 -6
  353. package/dist/components/{p-ea3c0ed4.js.map → p-9dba6e5f.js.map} +1 -1
  354. package/dist/components/{p-14716cc2.js → p-a02372f5.js} +2 -2
  355. package/dist/components/{p-14716cc2.js.map → p-a02372f5.js.map} +1 -1
  356. package/dist/components/{p-7c4e756c.js → p-a2659715.js} +2 -2
  357. package/dist/components/{p-7c4e756c.js.map → p-a2659715.js.map} +1 -1
  358. package/dist/components/{p-c5124a8b.js → p-a3c5c1b3.js} +2 -2
  359. package/dist/components/{p-c5124a8b.js.map → p-a3c5c1b3.js.map} +1 -1
  360. package/dist/components/{p-a0023430.js → p-a5acb217.js} +3 -3
  361. package/dist/components/{p-a0023430.js.map → p-a5acb217.js.map} +1 -1
  362. package/dist/components/{p-12c94697.js → p-a7393afc.js} +14 -14
  363. package/dist/components/{p-12c94697.js.map → p-a7393afc.js.map} +1 -1
  364. package/dist/components/{p-c5a240bd.js → p-a773eb1b.js} +6 -6
  365. package/dist/components/{p-c5a240bd.js.map → p-a773eb1b.js.map} +1 -1
  366. package/dist/components/{p-6897315f.js → p-a87c8ead.js} +2 -2
  367. package/dist/components/{p-6897315f.js.map → p-a87c8ead.js.map} +1 -1
  368. package/dist/components/{p-63c4d8c4.js → p-ace11500.js} +3 -3
  369. package/dist/components/{p-63c4d8c4.js.map → p-ace11500.js.map} +1 -1
  370. package/dist/components/{p-151a98a9.js → p-ad34b5e0.js} +2 -2
  371. package/dist/components/{p-151a98a9.js.map → p-ad34b5e0.js.map} +1 -1
  372. package/dist/components/{p-109076c9.js → p-b03368b3.js} +7 -7
  373. package/dist/components/{p-109076c9.js.map → p-b03368b3.js.map} +1 -1
  374. package/dist/components/{p-98aa0418.js → p-b2eca173.js} +4 -4
  375. package/dist/components/{p-98aa0418.js.map → p-b2eca173.js.map} +1 -1
  376. package/dist/components/{p-26edabbb.js → p-b35195c8.js} +4 -4
  377. package/dist/components/{p-26edabbb.js.map → p-b35195c8.js.map} +1 -1
  378. package/dist/components/{p-be365aa5.js → p-b5caf3f4.js} +3 -3
  379. package/dist/components/{p-be365aa5.js.map → p-b5caf3f4.js.map} +1 -1
  380. package/dist/components/{p-4a78990f.js → p-b84d0233.js} +4 -4
  381. package/dist/components/{p-4a78990f.js.map → p-b84d0233.js.map} +1 -1
  382. package/dist/components/{p-deb38d3f.js → p-b8f2532a.js} +5 -5
  383. package/dist/components/{p-deb38d3f.js.map → p-b8f2532a.js.map} +1 -1
  384. package/dist/components/{p-569f84cb.js → p-ba8edf1e.js} +2 -2
  385. package/dist/components/{p-569f84cb.js.map → p-ba8edf1e.js.map} +1 -1
  386. package/dist/components/{p-e3182412.js → p-bb38e284.js} +3 -3
  387. package/dist/components/{p-e3182412.js.map → p-bb38e284.js.map} +1 -1
  388. package/dist/components/{p-50945c16.js → p-c5aa3de6.js} +8 -8
  389. package/dist/components/{p-50945c16.js.map → p-c5aa3de6.js.map} +1 -1
  390. package/dist/components/{p-8d606617.js → p-cd95008d.js} +2 -2
  391. package/dist/components/{p-8d606617.js.map → p-cd95008d.js.map} +1 -1
  392. package/dist/components/{p-12bdcf8a.js → p-cdbd62e3.js} +12 -12
  393. package/dist/components/{p-12bdcf8a.js.map → p-cdbd62e3.js.map} +1 -1
  394. package/dist/components/{p-c06cc6c5.js → p-ce788661.js} +2 -2
  395. package/dist/components/{p-c06cc6c5.js.map → p-ce788661.js.map} +1 -1
  396. package/dist/components/{p-551fa57d.js → p-d0ecd5c0.js} +3 -3
  397. package/dist/components/{p-551fa57d.js.map → p-d0ecd5c0.js.map} +1 -1
  398. package/dist/components/{p-1816eeeb.js → p-d1dcb448.js} +6 -6
  399. package/dist/components/{p-1816eeeb.js.map → p-d1dcb448.js.map} +1 -1
  400. package/dist/components/{p-fdc914f5.js → p-ddb9cb15.js} +7 -7
  401. package/dist/components/{p-fdc914f5.js.map → p-ddb9cb15.js.map} +1 -1
  402. package/dist/components/{p-8cefcb61.js → p-e4ff57a8.js} +4 -4
  403. package/dist/components/{p-8cefcb61.js.map → p-e4ff57a8.js.map} +1 -1
  404. package/dist/components/{p-36681d03.js → p-f020ba27.js} +3 -3
  405. package/dist/components/{p-36681d03.js.map → p-f020ba27.js.map} +1 -1
  406. package/dist/components/{p-3efe43d2.js → p-f3c5a9d6.js} +3 -3
  407. package/dist/components/{p-3efe43d2.js.map → p-f3c5a9d6.js.map} +1 -1
  408. package/dist/components/{p-da83a0ad.js → p-f625c800.js} +11 -11
  409. package/dist/components/{p-da83a0ad.js.map → p-f625c800.js.map} +1 -1
  410. package/dist/components/{p-6af552c7.js → p-fae759aa.js} +6 -6
  411. package/dist/components/{p-6af552c7.js.map → p-fae759aa.js.map} +1 -1
  412. package/dist/components/{p-902ed395.js → p-ffbf0fbb.js} +7 -7
  413. package/dist/components/{p-902ed395.js.map → p-ffbf0fbb.js.map} +1 -1
  414. package/dist/components/stzh-accordion-item.js +1 -1
  415. package/dist/components/stzh-accordion.js +1 -1
  416. package/dist/components/stzh-actions.js +1 -1
  417. package/dist/components/stzh-actionset.js +1 -1
  418. package/dist/components/stzh-amount.js +9 -9
  419. package/dist/components/stzh-anchornav.js +5 -5
  420. package/dist/components/stzh-app-nav.js +1 -1
  421. package/dist/components/stzh-appointments.js +13 -13
  422. package/dist/components/stzh-archivelist.js +6 -6
  423. package/dist/components/stzh-audio.js +7 -7
  424. package/dist/components/stzh-badge.js +1 -1
  425. package/dist/components/stzh-banner.js +3 -3
  426. package/dist/components/stzh-bathstatus-item.js +1 -1
  427. package/dist/components/stzh-bathstatus-list.js +6 -6
  428. package/dist/components/stzh-breadcrumb.js +1 -1
  429. package/dist/components/stzh-button.js +1 -1
  430. package/dist/components/stzh-buttongroup.js +1 -1
  431. package/dist/components/stzh-calendar.js +1 -1
  432. package/dist/components/stzh-card-navigation.js +2 -2
  433. package/dist/components/stzh-card-searchresult.js +14 -14
  434. package/dist/components/stzh-card-superteaser.js +13 -13
  435. package/dist/components/stzh-card.js +1 -1
  436. package/dist/components/stzh-cardlist.js +1 -1
  437. package/dist/components/stzh-carousel.js +1 -1
  438. package/dist/components/stzh-cell.js +1 -1
  439. package/dist/components/stzh-chart.js +1 -1
  440. package/dist/components/stzh-checkbox.js +1 -1
  441. package/dist/components/stzh-checkboxgroup.js +6 -6
  442. package/dist/components/stzh-chip.js +1 -1
  443. package/dist/components/stzh-chipgroup.js +1 -1
  444. package/dist/components/stzh-chipselect.js +1 -1
  445. package/dist/components/stzh-clamp.js +1 -1
  446. package/dist/components/stzh-company-logo.js +1 -1
  447. package/dist/components/stzh-contact-cv.js +4 -4
  448. package/dist/components/stzh-contact.js +11 -7
  449. package/dist/components/stzh-contact.js.map +1 -1
  450. package/dist/components/stzh-container.js +1 -1
  451. package/dist/components/stzh-content.js +1 -1
  452. package/dist/components/stzh-cspace.js +1 -1
  453. package/dist/components/stzh-cta.js +3 -3
  454. package/dist/components/stzh-datalist-item.js +1 -1
  455. package/dist/components/stzh-datalist.js +1 -1
  456. package/dist/components/stzh-datamessagelist-item.js +11 -11
  457. package/dist/components/stzh-datamessagelist.js +1 -1
  458. package/dist/components/stzh-datatable.js +16 -16
  459. package/dist/components/stzh-datepicker.js +1 -1
  460. package/dist/components/stzh-daterange.js +4 -4
  461. package/dist/components/stzh-details.js +1 -1
  462. package/dist/components/stzh-dialog.js +1 -1
  463. package/dist/components/stzh-disturber.js +4 -4
  464. package/dist/components/stzh-dropdown.js +1 -1
  465. package/dist/components/stzh-editor.js +4 -4
  466. package/dist/components/stzh-eventdata.js +1 -1
  467. package/dist/components/stzh-eventinfo.js +5 -5
  468. package/dist/components/stzh-feedreader-item.js +2 -2
  469. package/dist/components/stzh-feedreader.js +8 -8
  470. package/dist/components/stzh-fieldset.js +1 -1
  471. package/dist/components/stzh-figure.js +1 -1
  472. package/dist/components/stzh-flyingfocus.js +1 -1
  473. package/dist/components/stzh-footer.js +4 -4
  474. package/dist/components/stzh-gallery.js +8 -8
  475. package/dist/components/stzh-geo-ref-data.js +25 -25
  476. package/dist/components/stzh-ghettobox.js +1 -1
  477. package/dist/components/stzh-header.js +1 -1
  478. package/dist/components/stzh-heading.js +1 -1
  479. package/dist/components/stzh-homepage-search.js +2 -2
  480. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  481. package/dist/components/stzh-hr.js +1 -1
  482. package/dist/components/stzh-hspace.js +1 -1
  483. package/dist/components/stzh-http-error.js +7 -7
  484. package/dist/components/stzh-icon.js +1 -1
  485. package/dist/components/stzh-iframe.js +1 -1
  486. package/dist/components/stzh-imagecomparison.js +3 -3
  487. package/dist/components/stzh-input.js +1 -1
  488. package/dist/components/stzh-invert.js +1 -1
  489. package/dist/components/stzh-link.js +1 -1
  490. package/dist/components/stzh-linklist.js +10 -10
  491. package/dist/components/stzh-list-item.js +1 -1
  492. package/dist/components/stzh-list.js +1 -1
  493. package/dist/components/stzh-loader.js +1 -1
  494. package/dist/components/stzh-loadingbar.js +1 -1
  495. package/dist/components/stzh-menu-item.js +1 -1
  496. package/dist/components/stzh-menu.js +1 -1
  497. package/dist/components/stzh-message.js +1 -1
  498. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  499. package/dist/components/stzh-monthyearpicker.js +5 -5
  500. package/dist/components/stzh-offline-indicator.js +6 -6
  501. package/dist/components/stzh-olmap.js +1 -1
  502. package/dist/components/stzh-overlay.js +1 -1
  503. package/dist/components/stzh-page-skiplinks.js +1 -1
  504. package/dist/components/stzh-pagebottom.js +8 -8
  505. package/dist/components/stzh-pagecontent.js +1 -1
  506. package/dist/components/stzh-pagetitle-hero.js +1 -1
  507. package/dist/components/stzh-pagetitle-home.js +2 -2
  508. package/dist/components/stzh-pagetitle.js +2 -2
  509. package/dist/components/stzh-pagination.js +1 -1
  510. package/dist/components/stzh-panorama.js +12 -12
  511. package/dist/components/stzh-pi-content-navigation.js +3 -3
  512. package/dist/components/stzh-pi-menu.js +3 -3
  513. package/dist/components/stzh-pi-pagetitle.js +2 -2
  514. package/dist/components/stzh-pi-quote.js +1 -1
  515. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  516. package/dist/components/stzh-pi-teaser-layout.js +42 -15
  517. package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
  518. package/dist/components/stzh-pi-teaser.js +2 -2
  519. package/dist/components/stzh-pkzh-qr.js +19 -19
  520. package/dist/components/stzh-poicard.js +1 -1
  521. package/dist/components/stzh-poilist.js +18 -18
  522. package/dist/components/stzh-popover.js +1 -1
  523. package/dist/components/stzh-print.js +1 -1
  524. package/dist/components/stzh-quote.js +1 -1
  525. package/dist/components/stzh-radio.js +1 -1
  526. package/dist/components/stzh-radiogroup.js +1 -1
  527. package/dist/components/stzh-ratio.js +1 -1
  528. package/dist/components/stzh-readspeaker.js +5 -5
  529. package/dist/components/stzh-richtext.js +1 -1
  530. package/dist/components/stzh-row.js +1 -1
  531. package/dist/components/stzh-saptcha.js +8 -8
  532. package/dist/components/stzh-scrollup.js +1 -1
  533. package/dist/components/stzh-search.js +17 -17
  534. package/dist/components/stzh-section.js +2 -2
  535. package/dist/components/stzh-share.js +1 -1
  536. package/dist/components/stzh-show.js +1 -1
  537. package/dist/components/stzh-sitemap.js +9 -9
  538. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  539. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  540. package/dist/components/stzh-skiplink.js +1 -1
  541. package/dist/components/stzh-socialmediastream-item.js +1 -1
  542. package/dist/components/stzh-socialmediastream.js +6 -6
  543. package/dist/components/stzh-sortable.js +1 -1
  544. package/dist/components/stzh-space.js +1 -1
  545. package/dist/components/stzh-status.js +1 -1
  546. package/dist/components/stzh-stepper-item.js +1 -1
  547. package/dist/components/stzh-stepper.js +5 -5
  548. package/dist/components/stzh-sticky-actions.js +2 -2
  549. package/dist/components/stzh-sticky.js +1 -1
  550. package/dist/components/stzh-table.js +1 -1
  551. package/dist/components/stzh-tag.js +1 -1
  552. package/dist/components/stzh-text.js +1 -1
  553. package/dist/components/stzh-textandimage.js +1 -1
  554. package/dist/components/stzh-timeline-item.js +3 -3
  555. package/dist/components/stzh-timeline.js +1 -1
  556. package/dist/components/stzh-timepicker.js +5 -5
  557. package/dist/components/stzh-toast.js +1 -1
  558. package/dist/components/stzh-toastbar.js +1 -1
  559. package/dist/components/stzh-toggle.js +6 -6
  560. package/dist/components/stzh-tooltip.js +1 -1
  561. package/dist/components/stzh-twocolumns.js +1 -1
  562. package/dist/components/stzh-upload.js +14 -14
  563. package/dist/components/stzh-vbz-carousel.js +1 -1
  564. package/dist/components/stzh-vbz-intro.js +4 -4
  565. package/dist/components/stzh-vbz-linechip.js +1 -1
  566. package/dist/components/stzh-vbz-majorticker.js +6 -6
  567. package/dist/components/stzh-vbz-ticker.js +6 -6
  568. package/dist/components/stzh-visuallyhidden.js +2 -2
  569. package/dist/components/stzh-vspace.js +2 -2
  570. package/dist/components/stzh-youtube.js +6 -6
  571. package/dist/esm/{app-globals-9b613e90.js → app-globals-c4439d36.js} +2 -2
  572. package/dist/esm/{app-globals-9b613e90.js.map → app-globals-c4439d36.js.map} +1 -1
  573. package/dist/esm/loader.js +2 -2
  574. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  575. package/dist/esm/stzh-actions_6.entry.js +9 -9
  576. package/dist/esm/stzh-actionset.entry.js +5 -5
  577. package/dist/esm/stzh-amount.entry.js +1 -1
  578. package/dist/esm/stzh-anchornav.entry.js +1 -1
  579. package/dist/esm/stzh-app-nav.entry.js +1 -1
  580. package/dist/esm/stzh-appointments.entry.js +1 -1
  581. package/dist/esm/stzh-audio.entry.js +3 -3
  582. package/dist/esm/stzh-badge_3.entry.js +3 -3
  583. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  584. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  585. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  586. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  587. package/dist/esm/stzh-card.entry.js +4 -4
  588. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  589. package/dist/esm/stzh-carousel.entry.js +2 -2
  590. package/dist/esm/stzh-chart.entry.js +1 -1
  591. package/dist/esm/stzh-checkbox.entry.js +3 -3
  592. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  593. package/dist/esm/stzh-chip.entry.js +1 -1
  594. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  595. package/dist/esm/stzh-chipselect.entry.js +4 -4
  596. package/dist/esm/stzh-clamp.entry.js +2 -2
  597. package/dist/esm/stzh-company-logo.entry.js +1 -1
  598. package/dist/esm/stzh-components.js +2 -2
  599. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  600. package/dist/esm/stzh-contact.entry.js +4 -2
  601. package/dist/esm/stzh-contact.entry.js.map +1 -1
  602. package/dist/esm/stzh-content.entry.js +1 -1
  603. package/dist/esm/stzh-cta.entry.js +1 -1
  604. package/dist/esm/stzh-datalist_3.entry.js +3 -3
  605. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  606. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  607. package/dist/esm/stzh-datepicker_3.entry.js +9 -9
  608. package/dist/esm/stzh-daterange.entry.js +1 -1
  609. package/dist/esm/stzh-details.entry.js +1 -1
  610. package/dist/esm/stzh-dialog.entry.js +2 -2
  611. package/dist/esm/stzh-disturber.entry.js +1 -1
  612. package/dist/esm/stzh-dropdown.entry.js +4 -4
  613. package/dist/esm/stzh-editor.entry.js +1 -1
  614. package/dist/esm/stzh-eventdata.entry.js +1 -1
  615. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  616. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  617. package/dist/esm/stzh-feedreader.entry.js +1 -1
  618. package/dist/esm/stzh-figure.entry.js +1 -1
  619. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  620. package/dist/esm/stzh-footer.entry.js +1 -1
  621. package/dist/esm/stzh-gallery.entry.js +1 -1
  622. package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
  623. package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
  624. package/dist/esm/stzh-header_2.entry.js +1 -1
  625. package/dist/esm/stzh-heading.entry.js +1 -1
  626. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  627. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  628. package/dist/esm/stzh-hr.entry.js +1 -1
  629. package/dist/esm/stzh-hspace.entry.js +2 -2
  630. package/dist/esm/stzh-http-error.entry.js +1 -1
  631. package/dist/esm/stzh-iframe.entry.js +4 -4
  632. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  633. package/dist/esm/stzh-input.entry.js +5 -5
  634. package/dist/esm/stzh-invert.entry.js +1 -1
  635. package/dist/esm/stzh-link.entry.js +1 -1
  636. package/dist/esm/stzh-linklist.entry.js +1 -1
  637. package/dist/esm/stzh-list_2.entry.js +2 -2
  638. package/dist/esm/stzh-loader_2.entry.js +2 -2
  639. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  640. package/dist/esm/stzh-menu_2.entry.js +2 -2
  641. package/dist/esm/stzh-message.entry.js +2 -2
  642. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  643. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  644. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  645. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  646. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  647. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  648. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  649. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  650. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  651. package/dist/esm/stzh-panorama.entry.js +2 -2
  652. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  653. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  654. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  655. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  656. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
  657. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
  658. package/dist/esm/stzh-pi-teaser-layout.entry.js +41 -14
  659. package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
  660. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  661. package/dist/esm/stzh-poicard.entry.js +1 -1
  662. package/dist/esm/stzh-poilist.entry.js +1 -1
  663. package/dist/esm/stzh-popover.entry.js +1 -1
  664. package/dist/esm/stzh-print_2.entry.js +2 -2
  665. package/dist/esm/stzh-quote.entry.js +1 -1
  666. package/dist/esm/stzh-ratio.entry.js +1 -1
  667. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  668. package/dist/esm/stzh-saptcha.entry.js +2 -2
  669. package/dist/esm/stzh-scrollup.entry.js +1 -1
  670. package/dist/esm/stzh-search.entry.js +2 -2
  671. package/dist/esm/stzh-section.entry.js +2 -2
  672. package/dist/esm/stzh-sitemap.entry.js +1 -1
  673. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  674. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  675. package/dist/esm/stzh-skiplink.entry.js +1 -1
  676. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  677. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  678. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  679. package/dist/esm/stzh-stepper.entry.js +3 -3
  680. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  681. package/dist/esm/stzh-sticky.entry.js +1 -1
  682. package/dist/esm/stzh-table.entry.js +1 -1
  683. package/dist/esm/stzh-text.entry.js +2 -2
  684. package/dist/esm/stzh-textandimage.entry.js +1 -1
  685. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  686. package/dist/esm/stzh-timeline.entry.js +1 -1
  687. package/dist/esm/stzh-timepicker.entry.js +1 -1
  688. package/dist/esm/stzh-toast_2.entry.js +3 -3
  689. package/dist/esm/stzh-toggle.entry.js +3 -3
  690. package/dist/esm/stzh-tooltip.entry.js +1 -1
  691. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  692. package/dist/esm/stzh-upload.entry.js +3 -3
  693. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  694. package/dist/esm/stzh-vspace.entry.js +2 -2
  695. package/dist/esm/stzh-youtube.entry.js +1 -1
  696. package/dist/stzh-components/{p-f76bc9ba.entry.js → p-015a35bf.entry.js} +2 -2
  697. package/dist/stzh-components/{p-a42eb9ff.entry.js → p-03c2d367.entry.js} +2 -2
  698. package/dist/stzh-components/{p-7ddf3d51.entry.js → p-03e628b9.entry.js} +2 -2
  699. package/dist/stzh-components/{p-c9195859.entry.js → p-04c9ec6b.entry.js} +2 -2
  700. package/dist/stzh-components/{p-dcba6464.entry.js → p-0685f2ae.entry.js} +2 -2
  701. package/dist/stzh-components/{p-810e15c1.entry.js → p-0d54bcfc.entry.js} +2 -2
  702. package/dist/stzh-components/{p-913cc4d4.entry.js → p-0f546f1c.entry.js} +2 -2
  703. package/dist/stzh-components/{p-38a9f136.entry.js → p-1187dcb3.entry.js} +2 -2
  704. package/dist/stzh-components/{p-0c340dcf.entry.js → p-12146af8.entry.js} +2 -2
  705. package/dist/stzh-components/p-15dc154c.entry.js +2 -0
  706. package/dist/stzh-components/p-15dc154c.entry.js.map +1 -0
  707. package/dist/stzh-components/{p-e973ae31.entry.js → p-1617973f.entry.js} +2 -2
  708. package/dist/stzh-components/{p-0f29cccb.entry.js → p-16552049.entry.js} +2 -2
  709. package/dist/stzh-components/{p-ad9d3926.entry.js → p-1844d99e.entry.js} +2 -2
  710. package/dist/stzh-components/{p-488de0c8.entry.js → p-187fd37a.entry.js} +2 -2
  711. package/dist/stzh-components/{p-fe64fe26.entry.js → p-1bb06be6.entry.js} +2 -2
  712. package/dist/stzh-components/{p-5e0d522c.entry.js → p-1f4f76b1.entry.js} +2 -2
  713. package/dist/stzh-components/{p-4cbc6aaa.entry.js → p-1f668f53.entry.js} +2 -2
  714. package/dist/stzh-components/p-2096b877.entry.js +2 -0
  715. package/dist/stzh-components/p-2096b877.entry.js.map +1 -0
  716. package/dist/stzh-components/{p-838a40cd.entry.js → p-21d2d28d.entry.js} +2 -2
  717. package/dist/stzh-components/{p-609a9d4a.entry.js → p-26792e28.entry.js} +2 -2
  718. package/dist/stzh-components/{p-d29ff5f4.entry.js → p-2a0fa100.entry.js} +2 -2
  719. package/dist/stzh-components/{p-c475f153.entry.js → p-2d50d767.entry.js} +2 -2
  720. package/dist/stzh-components/{p-d3b51ee5.entry.js → p-3056b956.entry.js} +2 -2
  721. package/dist/stzh-components/{p-0c1c23b6.entry.js → p-3071b6f4.entry.js} +2 -2
  722. package/dist/stzh-components/{p-65f98e78.entry.js → p-32448e73.entry.js} +2 -2
  723. package/dist/stzh-components/{p-d956a33d.entry.js → p-34c68f20.entry.js} +2 -2
  724. package/dist/stzh-components/{p-3be9615c.entry.js → p-35be1f2c.entry.js} +2 -2
  725. package/dist/stzh-components/{p-1c858aa2.entry.js → p-38104164.entry.js} +2 -2
  726. package/dist/stzh-components/p-3bc24ea1.entry.js +2 -0
  727. package/dist/stzh-components/p-3bc24ea1.entry.js.map +1 -0
  728. package/dist/stzh-components/{p-ce1a02f6.entry.js → p-3d3d0515.entry.js} +2 -2
  729. package/dist/stzh-components/{p-0422500c.entry.js → p-42a3a0df.entry.js} +2 -2
  730. package/dist/stzh-components/{p-a58b97fc.entry.js → p-450c13f2.entry.js} +2 -2
  731. package/dist/stzh-components/{p-b77def39.entry.js → p-4539e17f.entry.js} +2 -2
  732. package/dist/stzh-components/{p-7499bdb7.entry.js → p-46dcce84.entry.js} +2 -2
  733. package/dist/stzh-components/{p-a74ed640.entry.js → p-46e5f084.entry.js} +2 -2
  734. package/dist/stzh-components/{p-08dcf795.entry.js → p-46fc5ee0.entry.js} +2 -2
  735. package/dist/stzh-components/{p-c023e0ce.js → p-4a7b6f37.js} +2 -2
  736. package/dist/stzh-components/{p-4538072a.entry.js → p-4b754125.entry.js} +2 -2
  737. package/dist/stzh-components/{p-c47d9a87.entry.js → p-4c8d577f.entry.js} +2 -2
  738. package/dist/stzh-components/{p-faddaae7.entry.js → p-4dbbea21.entry.js} +2 -2
  739. package/dist/stzh-components/{p-e01d37b9.entry.js → p-4f3149ca.entry.js} +2 -2
  740. package/dist/stzh-components/{p-70753f8e.entry.js → p-4ff33b79.entry.js} +2 -2
  741. package/dist/stzh-components/{p-7016efd0.entry.js → p-51bf87d0.entry.js} +2 -2
  742. package/dist/stzh-components/{p-27e51cbb.entry.js → p-5725e544.entry.js} +2 -2
  743. package/dist/stzh-components/{p-de0d236c.entry.js → p-582d0259.entry.js} +2 -2
  744. package/dist/stzh-components/{p-d687ec3c.entry.js → p-598de693.entry.js} +2 -2
  745. package/dist/stzh-components/{p-1bc80799.entry.js → p-5a38eb4c.entry.js} +2 -2
  746. package/dist/stzh-components/{p-5da60d60.entry.js → p-5d877ea1.entry.js} +2 -2
  747. package/dist/stzh-components/{p-9abad95b.entry.js → p-5dc298a4.entry.js} +2 -2
  748. package/dist/stzh-components/{p-e513785b.entry.js → p-5fe85cfd.entry.js} +2 -2
  749. package/dist/stzh-components/{p-0d2af671.entry.js → p-6102443e.entry.js} +2 -2
  750. package/dist/stzh-components/{p-7897b99c.entry.js → p-61491246.entry.js} +2 -2
  751. package/dist/stzh-components/{p-1bbd32d5.entry.js → p-640e445b.entry.js} +2 -2
  752. package/dist/stzh-components/{p-46258bab.entry.js → p-65e099a0.entry.js} +2 -2
  753. package/dist/stzh-components/{p-bb1d4410.entry.js → p-664e7a09.entry.js} +2 -2
  754. package/dist/stzh-components/{p-f544acad.entry.js → p-6ee6bc09.entry.js} +2 -2
  755. package/dist/stzh-components/{p-dc40dd2a.entry.js → p-6f7f7e18.entry.js} +2 -2
  756. package/dist/stzh-components/{p-7ec6c8e7.entry.js → p-72203e1d.entry.js} +2 -2
  757. package/dist/stzh-components/{p-90bf38bb.entry.js → p-727c30cf.entry.js} +2 -2
  758. package/dist/stzh-components/{p-c0c7ebbc.entry.js → p-766dea66.entry.js} +2 -2
  759. package/dist/stzh-components/{p-d17e7d90.entry.js → p-7844b15a.entry.js} +2 -2
  760. package/dist/stzh-components/{p-296cf6eb.entry.js → p-7bc4d471.entry.js} +2 -2
  761. package/dist/stzh-components/{p-841118e5.entry.js → p-7cfa54b9.entry.js} +2 -2
  762. package/dist/stzh-components/{p-70251e01.entry.js → p-7facda3d.entry.js} +3 -3
  763. package/dist/stzh-components/{p-e05db400.entry.js → p-86c278a3.entry.js} +2 -2
  764. package/dist/stzh-components/{p-600c2da8.entry.js → p-8e133247.entry.js} +2 -2
  765. package/dist/stzh-components/{p-5b30efeb.entry.js → p-8e82664a.entry.js} +2 -2
  766. package/dist/stzh-components/{p-0cb8c27c.entry.js → p-8f90ba95.entry.js} +2 -2
  767. package/dist/stzh-components/{p-d82079be.entry.js → p-92bdcdad.entry.js} +2 -2
  768. package/dist/stzh-components/{p-c3ddf161.entry.js → p-93424a61.entry.js} +2 -2
  769. package/dist/stzh-components/{p-0cfc71d9.entry.js → p-94b7f926.entry.js} +2 -2
  770. package/dist/stzh-components/{p-1145c68c.entry.js → p-9cdb4375.entry.js} +2 -2
  771. package/dist/stzh-components/{p-00cb988b.entry.js → p-a12cf3bc.entry.js} +2 -2
  772. package/dist/stzh-components/{p-12e3c92b.entry.js → p-a38f6851.entry.js} +2 -2
  773. package/dist/stzh-components/{p-8b41f6fa.entry.js → p-a498a5f5.entry.js} +2 -2
  774. package/dist/stzh-components/{p-f12cc836.entry.js → p-a4cbd257.entry.js} +2 -2
  775. package/dist/stzh-components/{p-268a1fd3.entry.js → p-a75c4682.entry.js} +2 -2
  776. package/dist/stzh-components/{p-d38c0e15.entry.js → p-a8292b13.entry.js} +2 -2
  777. package/dist/stzh-components/{p-a9c4e972.entry.js → p-a9b34a6b.entry.js} +2 -2
  778. package/dist/stzh-components/{p-287a6647.entry.js → p-abdf8b13.entry.js} +2 -2
  779. package/dist/stzh-components/{p-6a9a7903.entry.js → p-ac335416.entry.js} +2 -2
  780. package/dist/stzh-components/{p-875a572e.entry.js → p-af1aa423.entry.js} +2 -2
  781. package/dist/stzh-components/{p-e054a79d.entry.js → p-b145722f.entry.js} +2 -2
  782. package/dist/stzh-components/{p-d57e8dd4.entry.js → p-b311be28.entry.js} +2 -2
  783. package/dist/stzh-components/{p-dca76ae3.entry.js → p-b4bae13a.entry.js} +2 -2
  784. package/dist/stzh-components/{p-15a01b5b.entry.js → p-b4bdb4cf.entry.js} +2 -2
  785. package/dist/stzh-components/{p-60599b7d.entry.js → p-b5d4e8b9.entry.js} +2 -2
  786. package/dist/stzh-components/{p-3b278a40.entry.js → p-b95edacd.entry.js} +2 -2
  787. package/dist/stzh-components/{p-d9dda5eb.entry.js → p-bc0618bb.entry.js} +2 -2
  788. package/dist/stzh-components/{p-e9b37425.entry.js → p-bc837007.entry.js} +2 -2
  789. package/dist/stzh-components/{p-0b54e58b.entry.js → p-be74a213.entry.js} +2 -2
  790. package/dist/stzh-components/{p-b9354960.entry.js → p-c11a73d2.entry.js} +2 -2
  791. package/dist/stzh-components/{p-f1340147.entry.js → p-c1508338.entry.js} +2 -2
  792. package/dist/stzh-components/{p-7f29fab9.entry.js → p-c41804d9.entry.js} +2 -2
  793. package/dist/stzh-components/{p-9697d5b9.entry.js → p-c7d82187.entry.js} +2 -2
  794. package/dist/stzh-components/{p-2e8cca5f.entry.js → p-c8476e6e.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b11487ec.entry.js → p-c95bce0d.entry.js} +2 -2
  796. package/dist/stzh-components/{p-48e7e24c.entry.js → p-caf867f9.entry.js} +2 -2
  797. package/dist/stzh-components/{p-f86de9e1.entry.js → p-cb058b56.entry.js} +2 -2
  798. package/dist/stzh-components/{p-bd92bc55.entry.js → p-cfbc4a5e.entry.js} +2 -2
  799. package/dist/stzh-components/{p-a996b9af.entry.js → p-d2a97efc.entry.js} +2 -2
  800. package/dist/stzh-components/{p-e1c7c23f.entry.js → p-d516d56c.entry.js} +2 -2
  801. package/dist/stzh-components/p-d7ee085c.entry.js +2 -0
  802. package/dist/stzh-components/{p-adc9fb2b.entry.js.map → p-d7ee085c.entry.js.map} +1 -1
  803. package/dist/stzh-components/{p-6345a81b.entry.js → p-dac4534c.entry.js} +2 -2
  804. package/dist/stzh-components/{p-27a50935.entry.js → p-dacee3d1.entry.js} +2 -2
  805. package/dist/stzh-components/{p-3745bbac.entry.js → p-e11a606e.entry.js} +2 -2
  806. package/dist/stzh-components/{p-ec0c1d40.entry.js → p-e184e0fd.entry.js} +2 -2
  807. package/dist/stzh-components/{p-a10a167c.entry.js → p-e75cde0c.entry.js} +2 -2
  808. package/dist/stzh-components/{p-46554876.entry.js → p-ebb4b12f.entry.js} +2 -2
  809. package/dist/stzh-components/{p-a47ce522.entry.js → p-ec2ac6e9.entry.js} +2 -2
  810. package/dist/stzh-components/{p-48fb1f25.entry.js → p-ee311236.entry.js} +2 -2
  811. package/dist/stzh-components/{p-670b579b.entry.js → p-f3081e0e.entry.js} +2 -2
  812. package/dist/stzh-components/{p-140c21d2.entry.js → p-f47bd88c.entry.js} +2 -2
  813. package/dist/stzh-components/{p-56538913.entry.js → p-f52e344a.entry.js} +2 -2
  814. package/dist/stzh-components/{p-d73ba86d.entry.js → p-f61e61e7.entry.js} +2 -2
  815. package/dist/stzh-components/{p-62febcab.entry.js → p-f93f056f.entry.js} +2 -2
  816. package/dist/stzh-components/{p-f0defcda.entry.js → p-ff04778f.entry.js} +2 -2
  817. package/dist/stzh-components/{p-44240b20.entry.js → p-ff2877e7.entry.js} +2 -2
  818. package/dist/stzh-components/{p-4760e8fa.entry.js → p-ff41be1d.entry.js} +2 -2
  819. package/dist/stzh-components/stzh-components.esm.js +1 -1
  820. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  821. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +4 -0
  822. package/dist/types/components.d.ts +16 -0
  823. package/dist/vscode-data.json +8 -0
  824. package/package.json +2 -2
  825. package/dist/components/p-ef454347.js +0 -90
  826. package/dist/components/p-ef454347.js.map +0 -1
  827. package/dist/stzh-components/p-286c9d1c.entry.js +0 -2
  828. package/dist/stzh-components/p-286c9d1c.entry.js.map +0 -1
  829. package/dist/stzh-components/p-568ae693.entry.js +0 -2
  830. package/dist/stzh-components/p-568ae693.entry.js.map +0 -1
  831. package/dist/stzh-components/p-adc9fb2b.entry.js +0 -2
  832. package/dist/stzh-components/p-d37d10b5.entry.js +0 -2
  833. package/dist/stzh-components/p-d37d10b5.entry.js.map +0 -1
  834. /package/dist/stzh-components/{p-f76bc9ba.entry.js.map → p-015a35bf.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-a42eb9ff.entry.js.map → p-03c2d367.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-7ddf3d51.entry.js.map → p-03e628b9.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-c9195859.entry.js.map → p-04c9ec6b.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-dcba6464.entry.js.map → p-0685f2ae.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-810e15c1.entry.js.map → p-0d54bcfc.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-913cc4d4.entry.js.map → p-0f546f1c.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-38a9f136.entry.js.map → p-1187dcb3.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-0c340dcf.entry.js.map → p-12146af8.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-e973ae31.entry.js.map → p-1617973f.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-0f29cccb.entry.js.map → p-16552049.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-ad9d3926.entry.js.map → p-1844d99e.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-488de0c8.entry.js.map → p-187fd37a.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-fe64fe26.entry.js.map → p-1bb06be6.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-5e0d522c.entry.js.map → p-1f4f76b1.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-4cbc6aaa.entry.js.map → p-1f668f53.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-838a40cd.entry.js.map → p-21d2d28d.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-609a9d4a.entry.js.map → p-26792e28.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-d29ff5f4.entry.js.map → p-2a0fa100.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-c475f153.entry.js.map → p-2d50d767.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-d3b51ee5.entry.js.map → p-3056b956.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-0c1c23b6.entry.js.map → p-3071b6f4.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-65f98e78.entry.js.map → p-32448e73.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-d956a33d.entry.js.map → p-34c68f20.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-3be9615c.entry.js.map → p-35be1f2c.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-1c858aa2.entry.js.map → p-38104164.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-ce1a02f6.entry.js.map → p-3d3d0515.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-0422500c.entry.js.map → p-42a3a0df.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-a58b97fc.entry.js.map → p-450c13f2.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-b77def39.entry.js.map → p-4539e17f.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-7499bdb7.entry.js.map → p-46dcce84.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-a74ed640.entry.js.map → p-46e5f084.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-08dcf795.entry.js.map → p-46fc5ee0.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-c023e0ce.js.map → p-4a7b6f37.js.map} +0 -0
  868. /package/dist/stzh-components/{p-4538072a.entry.js.map → p-4b754125.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-c47d9a87.entry.js.map → p-4c8d577f.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-faddaae7.entry.js.map → p-4dbbea21.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-e01d37b9.entry.js.map → p-4f3149ca.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-70753f8e.entry.js.map → p-4ff33b79.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-7016efd0.entry.js.map → p-51bf87d0.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-27e51cbb.entry.js.map → p-5725e544.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-de0d236c.entry.js.map → p-582d0259.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-d687ec3c.entry.js.map → p-598de693.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-1bc80799.entry.js.map → p-5a38eb4c.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-5da60d60.entry.js.map → p-5d877ea1.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-9abad95b.entry.js.map → p-5dc298a4.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-e513785b.entry.js.map → p-5fe85cfd.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-0d2af671.entry.js.map → p-6102443e.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-7897b99c.entry.js.map → p-61491246.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-1bbd32d5.entry.js.map → p-640e445b.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-46258bab.entry.js.map → p-65e099a0.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-bb1d4410.entry.js.map → p-664e7a09.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-f544acad.entry.js.map → p-6ee6bc09.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-dc40dd2a.entry.js.map → p-6f7f7e18.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-7ec6c8e7.entry.js.map → p-72203e1d.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-90bf38bb.entry.js.map → p-727c30cf.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-c0c7ebbc.entry.js.map → p-766dea66.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-d17e7d90.entry.js.map → p-7844b15a.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-296cf6eb.entry.js.map → p-7bc4d471.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-841118e5.entry.js.map → p-7cfa54b9.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-70251e01.entry.js.map → p-7facda3d.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-e05db400.entry.js.map → p-86c278a3.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-600c2da8.entry.js.map → p-8e133247.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5b30efeb.entry.js.map → p-8e82664a.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-0cb8c27c.entry.js.map → p-8f90ba95.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-d82079be.entry.js.map → p-92bdcdad.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-c3ddf161.entry.js.map → p-93424a61.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-0cfc71d9.entry.js.map → p-94b7f926.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-1145c68c.entry.js.map → p-9cdb4375.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-00cb988b.entry.js.map → p-a12cf3bc.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-12e3c92b.entry.js.map → p-a38f6851.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-8b41f6fa.entry.js.map → p-a498a5f5.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-f12cc836.entry.js.map → p-a4cbd257.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-268a1fd3.entry.js.map → p-a75c4682.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-d38c0e15.entry.js.map → p-a8292b13.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-a9c4e972.entry.js.map → p-a9b34a6b.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-287a6647.entry.js.map → p-abdf8b13.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-6a9a7903.entry.js.map → p-ac335416.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-875a572e.entry.js.map → p-af1aa423.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-e054a79d.entry.js.map → p-b145722f.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-d57e8dd4.entry.js.map → p-b311be28.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-dca76ae3.entry.js.map → p-b4bae13a.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-15a01b5b.entry.js.map → p-b4bdb4cf.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-60599b7d.entry.js.map → p-b5d4e8b9.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-3b278a40.entry.js.map → p-b95edacd.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-d9dda5eb.entry.js.map → p-bc0618bb.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-e9b37425.entry.js.map → p-bc837007.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-0b54e58b.entry.js.map → p-be74a213.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-b9354960.entry.js.map → p-c11a73d2.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-f1340147.entry.js.map → p-c1508338.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-7f29fab9.entry.js.map → p-c41804d9.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-9697d5b9.entry.js.map → p-c7d82187.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-2e8cca5f.entry.js.map → p-c8476e6e.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-b11487ec.entry.js.map → p-c95bce0d.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-48e7e24c.entry.js.map → p-caf867f9.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-f86de9e1.entry.js.map → p-cb058b56.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-bd92bc55.entry.js.map → p-cfbc4a5e.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-a996b9af.entry.js.map → p-d2a97efc.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-e1c7c23f.entry.js.map → p-d516d56c.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-6345a81b.entry.js.map → p-dac4534c.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-27a50935.entry.js.map → p-dacee3d1.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-3745bbac.entry.js.map → p-e11a606e.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-ec0c1d40.entry.js.map → p-e184e0fd.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-a10a167c.entry.js.map → p-e75cde0c.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-46554876.entry.js.map → p-ebb4b12f.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-a47ce522.entry.js.map → p-ec2ac6e9.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-48fb1f25.entry.js.map → p-ee311236.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-670b579b.entry.js.map → p-f3081e0e.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-140c21d2.entry.js.map → p-f47bd88c.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-56538913.entry.js.map → p-f52e344a.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-d73ba86d.entry.js.map → p-f61e61e7.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-62febcab.entry.js.map → p-f93f056f.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-f0defcda.entry.js.map → p-ff04778f.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-44240b20.entry.js.map → p-ff2877e7.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-4760e8fa.entry.js.map → p-ff41be1d.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-963d59bf.js","mappings":";;;;;;;;;AAAA,MAAM,cAAc,GAAG,kyUAAkyU,CAAC;AAC1zU,0BAAe,cAAc;;ACoB7B,MAAM,uBAAuB,GAAG,GAAG,CAAC;AACpC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AACpC,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAC1C,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAE1C,SAAS,2BAA2B;IAClC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC;IACvC,OAAO;QACL,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;QAC/C,OAAO,EAAE;YACP,QAAQ,EAAE,OAAO,GAAG,6BAA6B,GAAG,uBAAuB;YAC3E,MAAM,EAAE,QAAQ;SACjB;KACF,CAAC;AACJ,CAAC;AAED,SAAS,2BAA2B;IAClC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC;IACvC,OAAO;QACL,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;QAC/C,OAAO,EAAE;YACP,QAAQ,EAAE,OAAO,GAAG,6BAA6B,GAAG,uBAAuB;YAC3E,MAAM,EAAE,QAAQ;SACjB;KACF,CAAC;AACJ,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,qBAAqB,IACpD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,YAAM,IAAI,EAAC,OAAO,GAAQ,CAClD,EACL,+DAAQ,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAC,QAAQ,IAC3E,kEAAW,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,oBAAoB,GAAa,EAC/D,6DAAM,KAAK,EAAC,uBAAuB,IAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAQ,CAC7D,CACL,EACN,4DAAK,KAAK,EAAC,oCAAoC,IAC7C,4DAAK,KAAK,EAAC,4BAA4B,IACrC,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,EACN,4DAAK,KAAK,EAAC,2BAA2B,IACpC,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACF,CACF,CACF,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-popover/stzh-popover.scss?tag=stzh-popover&encapsulation=scoped","src/components/stzh-popover/stzh-popover.tsx"],"sourcesContent":["/**\n * @prop --width: Width of popover above small breakpoint\n * @prop --min-width: Minimum width of popover above small breakpoint\n * @prop --max-width: Maximum width of popover above small breakpoint\n * @prop --padding: Padding of popover\n * @prop --content-padding: Padding of popover content\n * @prop --border-radius: Border radius of popover\n * @prop --backdrop-opacity: Opacity of popover backdrop (used on mikro breakpoint)\n *\n * @prop --stzh-popover-width: **Global**: Width of popover above small breakpoint (default `223px`)\n * @prop --stzh-popover-min-width: **Global**: Minimum width of popover above small breakpoint (default `initial`)\n * @prop --stzh-popover-max-width: **Global**: Maximum width of popover above small breakpoint (default `initial`)\n * @prop --stzh-popover-padding: **Global**: Padding of popover (default `0px`)\n * @prop --stzh-popover-content-padding: **Global**: Padding of popover content (default `8px 0px`)\n * @prop --stzh-popover-border-radius: **Global**: Border radius of popover above small breakpoint (default `3px`)\n *\n * @prop --stzh-dialog-backdrop-opacity: **Global**: Opacity of backdrops\n * @prop --stzh-dialog-backdrop-background-color: **Global**: Background color of backdrops\n */\n\n:host {\n display: contents;\n\n --color: #{$colorBlack};\n --width: #{$popoverWidth};\n --min-width: #{$popoverMinWidth};\n --max-width: #{$popoverMaxWidth};\n --height: auto;\n --min-height: initial;\n --max-height: initial;\n --padding: #{$popoverPadding};\n --content-padding: #{$popoverContentPadding};\n --border-radius: #{$popoverBorderRadius};\n --background-color: var(--stzh-popover-background, #{$popoverBackgroundColor});\n --backdrop-opacity: #{$dialogBackdropOpacity};\n --backdrop-background-color: #{$dialogBackdropBackgroundColor};\n\n &[size=\"large\"] {\n --content-padding: #{$popoverLargeContentPadding};\n }\n\n &[variant=\"secondary\"] {\n --background-color: #{$colorSecondary20};\n }\n\n &[variant=\"tooltip\"] {\n --width: #{$tooltipWidth};\n --min-width: #{$tooltipMinWidth};\n --max-width: #{$tooltipMaxWidth};\n --content-padding: #{space(\"small\")} #{space(\"large\")};\n --border-radius: #{$tooltipBorderRadius};\n\n @include mq($from: small) {\n --content-padding: #{$tooltipPadding};\n --color: #{$colorWhite};\n --link-color: #{$colorWhite};\n --hover-link-color: #{$colorWhite70op};\n --background-color: #{$colorCoolgrey60};\n }\n }\n}\n\n.stzh-popover {\n @include tooltip-arrow;\n display: contents;\n\n &__trigger {\n display: contents;\n }\n\n &__content-wrapper {\n // position: absolute;\n // width: 100%;\n // height: 100%;\n // pointer-events: none;\n display: contents;\n\n @include mq($to: small) {\n z-index: $zIndexDialog;\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n justify-content: stretch;\n }\n }\n\n &__backdrop {\n display: contents;\n\n @include mq($to: small) {\n z-index: 1;\n position: absolute;\n display: block;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n text-align: center;\n background-color: var(--backdrop-background-color);\n opacity: var(--backdrop-opacity);\n }\n }\n\n &__content {\n // pointer-events: all;\n display: contents;\n\n @include mq($to: small) {\n z-index: 2;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-grow: 1;\n overflow: auto;\n }\n }\n\n &__dialog {\n margin-top: auto;\n width: 100%;\n overflow: visible;\n border-top-left-radius: 2px;\n border-top-right-radius: 2px;\n background-color: var(--background-color);\n touch-action: none;\n outline: none;\n border-bottom: 2px solid $colorOldGrey13;\n color: var(--color);\n\n --stzh-base-color: var(--color);\n --stzh-link-color: var(--link-color);\n // TODO: check with designer\n --stzh-link-hover-color: var(--hover-link-color);\n\n @include mq($from: small) {\n z-index: $zIndexPopover;\n position: absolute;\n display: flex;\n width: var(--width);\n min-width: var(--min-width);\n max-width: var(--max-width);\n // max-width: calc(100vw - var(--stzh-scrollbar-width) - #{space('small')});\n height: var(--height);\n min-height: var(--min-height);\n max-height: var(--max-height);\n left: auto;\n right: auto;\n bottom: auto;\n border-radius: var(--border-radius);\n box-shadow: $boxShadowPopover;\n border: none;\n }\n }\n\n &__content-inner,\n &__content-slot-wrapper {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n &__content-slot-wrapper {\n padding: var(--padding);\n }\n\n &__content-slot {\n overflow-y: auto;\n overflow-x: hidden;\n overflow-scrolling: touch;\n padding: var(--content-padding);\n }\n\n &__action-slot {\n display: flex;\n flex-direction: column;\n\n // &:not(:empty) {\n // margin: space('xsmall') space('small');\n // margin-bottom: space('medium');\n // }\n }\n\n &__label-wrapper {\n display: flex;\n align-items: center;\n padding: space(\"small\") space(\"large\");\n padding-right: space(\"medium\");\n border-bottom: 1px solid $baseBorderColor;\n color: $colorOldGrey70;\n\n @include mq($from: small) {\n padding: 0;\n border-bottom: 0;\n }\n }\n\n &__label {\n @include font(\"heavy\");\n @include fontCurve(\"p2\");\n margin: 0;\n margin-right: space(\"small\");\n\n @include mq($from: small) {\n @include visuallyhidden;\n }\n }\n\n &__close {\n visibility: $popoverCloseVisibility;\n cursor: pointer;\n display: flex;\n appearance: none;\n font-family: inherit;\n border: none;\n background-color: transparent;\n padding: 0;\n margin-left: auto;\n border-radius: 50%;\n color: $baseLeadColor;\n padding: space(\"xxsmall\");\n }\n\n &__icon {\n --size: #{iconSize(\"xsmall\")};\n }\n\n &__arrow {\n position: absolute;\n display: none;\n\n @include mq($from: small) {\n display: flex;\n }\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n /* Only non tooltip variants */\n\n &--default &__close,\n &--secondary &__close {\n &:focus {\n box-shadow: 0 0 0 1px $colorPrimary;\n }\n\n @include mq($from: small) {\n @include visuallyhiddenFocusable;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(30%, -30%);\n background-color: $colorOldGrey5;\n }\n }\n\n /* Tooltip variant */\n\n &--tooltip &__content-inner {\n @include mq($from: small) {\n flex-direction: row-reverse;\n align-items: flex-start;\n }\n }\n\n &--tooltip &__close {\n visibility: visible;\n\n @include mq($from: small) {\n @include tooltip__close;\n }\n }\n\n &--tooltip &__icon {\n @include mq($from: small) {\n @include tooltip__icon;\n }\n }\n\n &--tooltip &__dialog {\n @include mq($from: small) {\n @include tooltip-dropshadow;\n }\n }\n\n &--tooltip &__content-slot {\n @include mq($from: small) {\n @include tooltip-fontsize;\n }\n }\n\n /* Has fullwidth popover */\n\n &--popover-fullwidth-horizontal &__dialog {\n @include mq($from: small) {\n left: 0 !important;\n right: 0 !important;\n width: 100%;\n }\n }\n\n &--popover-fullwidth-vertical &__dialog {\n @include mq($from: small) {\n top: 0 !important;\n bottom: 0 !important;\n height: 100%;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport {\n StzhPopoverClosedEvent,\n StzhPopoverCloseEvent,\n StzhPopoverOpenedEvent,\n StzhPopoverOpenEvent,\n} from \"../../index\";\n\nimport { arrow, autoUpdate, computePosition, flip, offset, Placement, shift } from \"@floating-ui/dom\";\n\nimport { createFocusTrap, FocusTrap } from \"focus-trap\";\nimport { isStzhElement } from \"../../utils/utils\";\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../utils/media-utils\";\nimport { waitForEvent } from \"../../utils/event-utils\";\nimport { animateTo, stopAnimations } from \"../../utils/animation-utils\";\n\nimport { StzhPopoverLocalizedText } from \"./stzh-popover.localization\";\n\nimport Arrow from \"../stzh-tooltip/assets/arrow.svg\";\n\nconst ANIMATION_SHOW_DURATION = 200;\nconst ANIMATION_HIDE_DURATION = 300;\nconst ANIMATION_SHOW_DURATION_SMALL = 100;\nconst ANIMATION_HIDE_DURATION_SMALL = 200;\n\nfunction animationContentWrapperShow() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ opacity: \"0\" }, { opacity: \"1\" }],\n options: {\n duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nfunction animationContentWrapperHide() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ opacity: \"1\" }, { opacity: \"0\" }],\n options: {\n duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nfunction animationDialogShow() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ transform: isSmall ? \"translateY(-8px)\" : \"translateY(100%)\" }, { transform: \"translateY(0px)\" }],\n options: {\n duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nfunction animationDialogHide() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ transform: \"translateY(0px)\" }, { transform: isSmall ? \"translateY(-8px)\" : \"translateY(100%)\" }],\n options: {\n duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nconst keyCode = {\n ESC: 27,\n};\n\nconst CLASS_BODY_OPEN = \"stzh-popover-open\";\n\nlet popoverCounter = 0;\n\n/**\n * @slot - Trigger element for popover\n * @slot content - Any element used as popover content\n * @slot action - `stzh-button` element\n * @slot label - Label for mobile view (alternative for label property)\n */\n@Component({\n tag: \"stzh-popover\",\n styleUrl: \"stzh-popover.scss\",\n scoped: true,\n})\nexport class StzhPopover {\n /** Whether popover should be open */\n @Prop({ mutable: true, reflect: true }) open: boolean = false;\n\n /** Default placement of popover relative to trigger element */\n @Prop({ reflect: true }) placement: Placement = \"bottom\";\n\n /** Whether to stretch popover to fullwith of parent */\n @Prop({ reflect: true }) fullwidth: \"horizontal\" | \"vertical\" | \"\" = \"\";\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"secondary\" | \"tooltip\" = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: \"default\" | \"large\" = \"default\";\n\n /** Shifting of popover content */\n @Prop() skidding: number = 0;\n\n /** Distance from popover content to trigger. \"8\" when default variant, \"16\" when tooltip variant, arrow height (8px) + spacing (4px) = 12. */\n @Prop() distance: number;\n\n /** Label for mobile view (use label slot as alternative) */\n @Prop() label: string = \"\";\n\n /** Position strategy */\n @Prop() strategy: \"absolute\" | \"fixed\" = \"absolute\";\n\n /** Translation strings. */\n @Prop() localization: StzhPopoverLocalizedText;\n\n @Element() element: HTMLStzhPopoverElement;\n\n /** Popover open event */\n @Event() stzhOpen: EventEmitter<StzhPopoverOpenEvent>;\n\n /** Popover opened event (after animation) */\n @Event() stzhOpened: EventEmitter<StzhPopoverOpenedEvent>;\n\n /** Popover close event */\n @Event() stzhClose: EventEmitter<StzhPopoverCloseEvent>;\n\n /** Popover closed event (after animation) */\n @Event() stzhClosed: EventEmitter<StzhPopoverClosedEvent>;\n\n private initialParentNode: Node;\n private elementIndexOnBranchout: number;\n\n /** Show popover content */\n @Method()\n async show() {\n if (this.open) {\n return;\n }\n\n this.mediaChangeHandler();\n if (this.isHeaderStuckAndViewportMicro) {\n this.branchOutToBody();\n }\n\n this.toggledByMethod = true;\n this.open = true;\n return waitForEvent(this.element, \"stzhOpened\");\n }\n\n /** Hide popover content */\n @Method()\n async hide() {\n if (!this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = false;\n\n await waitForEvent(this.element, \"stzhClosed\");\n\n this.mediaChangeHandler();\n if (this.isHeaderStuckAndViewportMicro) {\n this.branchInFromBody();\n }\n\n return true;\n }\n\n /** Toggle popover content */\n @Method()\n async toggle() {\n if (this.open) {\n return await this.hide();\n } else {\n return await this.show();\n }\n }\n\n @Method()\n async update() {\n return await this.computePosition();\n }\n\n @Listen(\"click\", { target: \"document\", capture: true })\n handleOutsideClick(event: MouseEvent) {\n if (!this.open) {\n return;\n }\n\n const isClickOutside =\n event.target !== this.dialogElement && this.dialogElement.contains(event.target as HTMLElement) === false;\n\n const isClickTrigger =\n event.target === this.triggerElement || this.triggerElement.contains(event.target as HTMLElement);\n\n if (isClickOutside && !isClickTrigger) {\n this.hide();\n }\n }\n\n @Watch(\"open\")\n async openWatcher(newValue: boolean) {\n if (!this.dialogElement) {\n return;\n }\n\n if (newValue) {\n if (this.toggledByMethod) {\n this.stzhOpen.emit({\n component: \"stzh-popover\",\n });\n }\n\n const animationShow = animationContentWrapperShow();\n const animationShowDialog = animationDialogShow();\n\n await Promise.all([\n stopAnimations(this.contentWrapperElement),\n stopAnimations(this.contentElement),\n stopAnimations(this.dialogElement),\n ]);\n\n // safari seems to need will-change,\n // otherwise it has problems animating the element with the drop shadow\n this.dialogElement.style.willChange = \"transform, opacity, position, top, left, bottom, right\";\n this.contentWrapperElement.hidden = false;\n\n await Promise.all([\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentWrapperElement,\n animationShow.keyframes,\n animationShow.options,\n ),\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentElement,\n animationShowDialog.keyframes,\n animationShowDialog.options,\n ),\n ]);\n\n if (this.toggledByMethod) {\n this.stzhOpened.emit({\n component: \"stzh-popover\",\n });\n }\n } else {\n if (this.toggledByMethod) {\n this.stzhClose.emit({\n component: \"stzh-popover\",\n });\n }\n\n const animationHide = animationContentWrapperHide();\n const animationHideDialog = animationDialogHide();\n\n await Promise.all([\n stopAnimations(this.contentWrapperElement),\n stopAnimations(this.contentElement),\n stopAnimations(this.dialogElement),\n ]);\n\n await Promise.all([\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentWrapperElement,\n animationHide.keyframes,\n animationHide.options,\n ),\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentElement,\n animationHideDialog.keyframes,\n animationHideDialog.options,\n ),\n ]);\n\n this.contentWrapperElement.hidden = true;\n this.dialogElement.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhClosed.emit({\n component: \"stzh-popover\",\n });\n }\n }\n\n this.toggledByMethod = false;\n }\n\n @Watch(\"distance\")\n distanceWatcher(newValue: number) {\n if (typeof newValue === \"number\") {\n this.distance = newValue;\n } else {\n this.distance = this.variant === \"tooltip\" ? 12 : 8;\n }\n }\n\n @State() computedPlacement: Placement;\n @State() isHeaderStuckAndViewportMicro: boolean;\n @State() isBranchedOutToBody: boolean;\n @State() hasStzhHeaderParent: boolean;\n\n private observer: MutationObserver;\n\n private contentWrapperElement: HTMLElement;\n private contentElement: HTMLElement;\n private arrowElement: HTMLElement;\n private rootElement: HTMLElement;\n private triggerElement: HTMLElement;\n private triggerFirstElement: HTMLElement;\n private dialogElement: HTMLElement;\n private autoUpdateCleanup: Function;\n\n private initialTouchX: number = null;\n private initialTouchY: number = null;\n\n private id: string;\n private trap: FocusTrap;\n private toggledByMethod: boolean;\n\n private setStzhHeaderParent(): boolean {\n let parent = this.element.parentElement;\n while (parent) {\n if (parent.tagName && parent.tagName.toLowerCase() === \"stzh-header\") {\n return true;\n }\n parent = parent.parentElement;\n }\n return false;\n }\n\n private getChildIndex(element) {\n let parent = element.parentNode;\n\n // Convert child nodes to an array and find the index of the element\n let index = Array.prototype.indexOf.call(parent.children, element);\n\n return index;\n }\n\n private insertElementAtIndex(parent, newElement, index) {\n // Get the child element at the specified index\n let referenceNode = parent.children[index];\n\n // If referenceNode is null (meaning the index is out of range or at the end), append the new element\n if (referenceNode) {\n parent.insertBefore(newElement, referenceNode);\n } else {\n parent.appendChild(newElement);\n }\n }\n\n private mediaChangeHandler = () => {\n const isStzhHeaderStuck = document.documentElement.style.getPropertyValue(\"--stzh-header-is-stuck\");\n this.isHeaderStuckAndViewportMicro =\n !media(\"small\").matches && isStzhHeaderStuck === \"1\" && this.hasStzhHeaderParent;\n\n if (this.open && this.isBranchedOutToBody && !this.isHeaderStuckAndViewportMicro) {\n this.branchInFromBody();\n }\n };\n\n private branchOutToBody() {\n this.elementIndexOnBranchout = this.getChildIndex(this.element);\n document.body.append(this.element);\n this.insertElementAtIndex(this.initialParentNode, this.triggerElement, this.elementIndexOnBranchout);\n this.isBranchedOutToBody = true;\n }\n\n private branchInFromBody() {\n this.insertElementAtIndex(this.initialParentNode, this.element, this.elementIndexOnBranchout);\n this.rootElement.prepend(this.triggerElement);\n this.isBranchedOutToBody = false;\n }\n\n private handleKeydown = (event: KeyboardEvent) => {\n if (event.keyCode === keyCode.ESC) {\n this.hide();\n }\n };\n\n private onClickTrigger = () => {\n this.toggle();\n };\n\n private computePosition = async () => {\n if (media(\"small\").matches) {\n const middleware = [\n offset({\n mainAxis: this.distance,\n crossAxis: this.skidding,\n }),\n flip({\n padding: 5,\n }),\n shift({\n padding: 5,\n }),\n ];\n\n if (this.variant === \"tooltip\") {\n middleware.push(\n arrow({\n element: this.arrowElement,\n padding: 5,\n }),\n );\n }\n\n const {\n x = 0,\n y = 0,\n strategy = \"absolute\",\n placement,\n middlewareData,\n } = await computePosition(this.triggerFirstElement, this.dialogElement, {\n strategy: this.strategy,\n placement: this.placement,\n middleware,\n });\n\n this.computedPlacement = placement;\n\n Object.assign(this.dialogElement.style, {\n position: strategy,\n left: `${x}px`,\n top: `${y}px`,\n });\n\n if (this.variant === \"tooltip\") {\n Object.assign(this.arrowElement.style, {\n left: x != null ? `${middlewareData.arrow.x}px` : \"\",\n top: y != null ? `${middlewareData.arrow.y}px` : \"\",\n });\n }\n } else {\n Object.assign(this.dialogElement.style, {\n position: null,\n left: null,\n top: null,\n });\n\n if (this.variant === \"tooltip\") {\n Object.assign(this.arrowElement.style, {\n left: null,\n top: null,\n });\n }\n }\n };\n\n private handleTouchStart = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n this.initialTouchX = touch.pageX;\n this.initialTouchY = touch.pageY;\n };\n\n // private handleTouchMove = (event: TouchEvent) => {\n // event.preventDefault()\n // }\n\n private handleTouchEnd = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled\n const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled\n const threshold = 70;\n\n const isYSwipe = Math.abs(distY) >= threshold && Math.abs(distX) <= threshold;\n\n if (isYSwipe) {\n const isInDropdown = (event.target as HTMLElement).closest(\".stzh-dropdown\") !== null;\n if (!isInDropdown) {\n this.hide();\n }\n }\n\n this.initialTouchY = null;\n this.initialTouchX = null;\n };\n\n private init = () => {\n let trigger = this.triggerElement?.firstElementChild as HTMLElement;\n\n if (!trigger) {\n const defaultSlot = Array.from(this.element.children).find(child => !child.hasAttribute(\"slot\")) as HTMLElement;\n\n trigger = defaultSlot;\n }\n\n if (trigger) {\n this.triggerFirstElement = trigger;\n trigger.addEventListener(\"click\", this.onClickTrigger);\n }\n };\n\n async componentWillLoad() {\n this.id = `stzh-popover-${popoverCounter++}`;\n this.initialParentNode = this.element.parentNode;\n this.hasStzhHeaderParent = this.setStzhHeaderParent();\n\n this.distanceWatcher(this.distance);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"popover\");\n }\n }\n\n private popoverShown() {\n document.body.classList.add(CLASS_BODY_OPEN);\n\n const isStzh = isStzhElement(this.triggerFirstElement);\n\n this.triggerFirstElement.setAttribute(isStzh ? \"a11y-expanded\" : \"aria-expanded\", \"true\");\n\n if (this.trap) {\n this.trap.activate();\n }\n }\n\n private popoverHidden() {\n document.body.classList.remove(CLASS_BODY_OPEN);\n\n const isStzh = isStzhElement(this.triggerFirstElement);\n\n this.triggerFirstElement.setAttribute(isStzh ? \"a11y-expanded\" : \"aria-expanded\", \"false\");\n\n if (this.trap) {\n this.trap.deactivate();\n }\n }\n\n componentDidRender() {\n this.mediaChangeHandler();\n const isStzh = isStzhElement(this.triggerFirstElement);\n\n if (\n (isStzh && !this.triggerFirstElement.getAttribute(\"a11y-describedby\")) ||\n (!isStzh && !this.triggerFirstElement.getAttribute(\"aria-describedby\"))\n ) {\n this.triggerFirstElement.setAttribute(\n isStzh ? \"a11y-describedby\" : \"aria-describedby\",\n `${this.id}-trigger-description`,\n );\n }\n\n if (\n (isStzh && !this.triggerFirstElement.getAttribute(\"a11y-label\")) ||\n (!isStzh && !this.triggerFirstElement.getAttribute(\"aria-label\"))\n ) {\n this.triggerFirstElement.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", this.label);\n }\n\n if (\n (isStzh && !this.triggerFirstElement.getAttribute(\"analytics-id\")) ||\n (!isStzh && !this.triggerFirstElement.getAttribute(\"s-object-id\"))\n ) {\n this.triggerFirstElement.setAttribute(isStzh ? \"analytics-id\" : \"s-object-id\", this.label);\n }\n }\n\n private initializedPopover = false;\n\n componentDidUpdate() {\n if (this.open && !this.initializedPopover) {\n this.initializeAutoUpdate();\n this.initializeFocusTrap();\n this.popoverShown();\n this.initializedPopover = true;\n }\n\n if (this.initializedPopover) {\n if (this.open) {\n this.popoverShown();\n } else {\n this.popoverHidden();\n }\n\n this.computePosition();\n if (this.trap) {\n this.trap.updateContainerElements(this.dialogElement);\n }\n }\n }\n\n initializeAutoUpdate() {\n this.autoUpdateCleanup = autoUpdate(this.triggerFirstElement, this.dialogElement, this.computePosition);\n }\n\n initializeFocusTrap() {\n this.trap = createFocusTrap(this.dialogElement, {\n initialFocus: () => this.dialogElement,\n fallbackFocus: this.dialogElement,\n clickOutsideDeactivates: true,\n returnFocusOnDeactivate: true,\n });\n }\n\n componentDidLoad() {\n this.contentWrapperElement.hidden = !this.open;\n this.open ? this.popoverShown() : this.popoverHidden();\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\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 removeMediaChangeListener(this.mediaChangeHandler);\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n\n if (this.triggerFirstElement) {\n this.triggerFirstElement.removeEventListener(\"click\", this.onClickTrigger);\n }\n }\n\n render() {\n const classes = {\n \"stzh-popover\": true,\n [`stzh-popover--open`]: this.open,\n [`stzh-popover--placement-${this.computedPlacement}`]: !!this.computedPlacement,\n [`stzh-popover--fullwidth-${this.fullwidth}`]: !!this.fullwidth,\n [`stzh-popover--${this.size}`]: !!this.size,\n [`stzh-popover--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div\n class={classes}\n onTouchStart={this.handleTouchStart}\n onTouchEnd={this.handleTouchEnd}\n ref={el => (this.rootElement = el as HTMLDivElement)}\n >\n <div ref={el => (this.triggerElement = el as HTMLDivElement)} class=\"stzh-popover__trigger\">\n <slot></slot>\n </div>\n <div class=\"stzh-popover__vhidden\" id={`${this.id}-trigger-description`}>\n {this.localization.open}\n </div>\n <div ref={el => (this.contentWrapperElement = el as HTMLDivElement)} class=\"stzh-popover__content-wrapper\">\n <div class=\"stzh-popover__backdrop\"></div>\n <div ref={el => (this.contentElement = el as HTMLDivElement)} class=\"stzh-popover__content\">\n <div\n ref={el => (this.dialogElement = el as HTMLDivElement)}\n class=\"stzh-popover__dialog\"\n role=\"dialog\"\n tabindex=\"-1\"\n aria-modal=\"true\"\n aria-labelledby={this.label ? `${this.id}-label` : null}\n aria-hidden={this.open ? \"false\" : \"true\"}\n onKeyDown={this.handleKeydown}\n >\n {this.variant === \"tooltip\" && (\n <div\n class=\"stzh-popover__arrow\"\n ref={el => (this.arrowElement = el as HTMLDivElement)}\n innerHTML={Arrow}\n ></div>\n )}\n <div class=\"stzh-popover__content-inner\">\n <div class=\"stzh-popover__label-wrapper\">\n <h2 id={`${this.id}-label`} class=\"stzh-popover__label\">\n {this.label ? this.label : <slot name=\"label\"></slot>}\n </h2>\n <button class=\"stzh-popover__close\" onClick={() => this.hide()} type=\"button\">\n <stzh-icon name=\"close\" class=\"stzh-popover__icon\"></stzh-icon>\n <span class=\"stzh-popover__vhidden\">{this.localization.close}</span>\n </button>\n </div>\n <div class=\"stzh-popover__content-slot-wrapper\">\n <div class=\"stzh-popover__content-slot\">\n <slot name=\"content\"></slot>\n </div>\n <div class=\"stzh-popover__action-slot\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-7121e1bf.js","mappings":";;;;;;;;;AAAA,MAAM,cAAc,GAAG,kyUAAkyU,CAAC;AAC1zU,0BAAe,cAAc;;ACoB7B,MAAM,uBAAuB,GAAG,GAAG,CAAC;AACpC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AACpC,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAC1C,MAAM,6BAA6B,GAAG,GAAG,CAAC;AAE1C,SAAS,2BAA2B;IAClC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC;IACvC,OAAO;QACL,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;QAC/C,OAAO,EAAE;YACP,QAAQ,EAAE,OAAO,GAAG,6BAA6B,GAAG,uBAAuB;YAC3E,MAAM,EAAE,QAAQ;SACjB;KACF,CAAC;AACJ,CAAC;AAED,SAAS,2BAA2B;IAClC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,C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qB,EAC3B,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,YAAY,GAAG,EAAoB,CAAC,EACrD,SAAS,EAAE,KAAK,GACX,CACR,EACD,4DAAK,KAAK,EAAC,6BAA6B,IACtC,4DAAK,KAAK,EAAC,6BAA6B,IACtC,2DAAI,EAAE,EAAE,GAAG,IAAI,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAC,qBAAqB,IACpD,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,YAAM,IAAI,EAAC,OAAO,GAAQ,CAClD,EACL,+DAAQ,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAC,QAAQ,IAC3E,kEAAW,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,oBAAoB,GAAa,EAC/D,6DAAM,KAAK,EAAC,uBAAuB,IAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAQ,CAC7D,CACL,EACN,4DAAK,KAAK,EAAC,oCAAoC,IAC7C,4DAAK,KAAK,EAAC,4BAA4B,IACrC,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,EACN,4DAAK,KAAK,EAAC,2BAA2B,IACpC,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACF,CACF,CACF,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-popover/stzh-popover.scss?tag=stzh-popover&encapsulation=scoped","src/components/stzh-popover/stzh-popover.tsx"],"sourcesContent":["/**\n * @prop --width: Width of popover above small breakpoint\n * @prop --min-width: Minimum width of popover above small breakpoint\n * @prop --max-width: Maximum width of popover above small breakpoint\n * @prop --padding: Padding of popover\n * @prop --content-padding: Padding of popover content\n * @prop --border-radius: Border radius of popover\n * @prop --backdrop-opacity: Opacity of popover backdrop (used on mikro breakpoint)\n *\n * @prop --stzh-popover-width: **Global**: Width of popover above small breakpoint (default `223px`)\n * @prop --stzh-popover-min-width: **Global**: Minimum width of popover above small breakpoint (default `initial`)\n * @prop --stzh-popover-max-width: **Global**: Maximum width of popover above small breakpoint (default `initial`)\n * @prop --stzh-popover-padding: **Global**: Padding of popover (default `0px`)\n * @prop --stzh-popover-content-padding: **Global**: Padding of popover content (default `8px 0px`)\n * @prop --stzh-popover-border-radius: **Global**: Border radius of popover above small breakpoint (default `3px`)\n *\n * @prop --stzh-dialog-backdrop-opacity: **Global**: Opacity of backdrops\n * @prop --stzh-dialog-backdrop-background-color: **Global**: Background color of backdrops\n */\n\n:host {\n display: contents;\n\n --color: #{$colorBlack};\n --width: #{$popoverWidth};\n --min-width: #{$popoverMinWidth};\n --max-width: #{$popoverMaxWidth};\n --height: auto;\n --min-height: initial;\n --max-height: initial;\n --padding: #{$popoverPadding};\n --content-padding: #{$popoverContentPadding};\n --border-radius: #{$popoverBorderRadius};\n --background-color: var(--stzh-popover-background, #{$popoverBackgroundColor});\n --backdrop-opacity: #{$dialogBackdropOpacity};\n --backdrop-background-color: #{$dialogBackdropBackgroundColor};\n\n &[size=\"large\"] {\n --content-padding: #{$popoverLargeContentPadding};\n }\n\n &[variant=\"secondary\"] {\n --background-color: #{$colorSecondary20};\n }\n\n &[variant=\"tooltip\"] {\n --width: #{$tooltipWidth};\n --min-width: #{$tooltipMinWidth};\n --max-width: #{$tooltipMaxWidth};\n --content-padding: #{space(\"small\")} #{space(\"large\")};\n --border-radius: #{$tooltipBorderRadius};\n\n @include mq($from: small) {\n --content-padding: #{$tooltipPadding};\n --color: #{$colorWhite};\n --link-color: #{$colorWhite};\n --hover-link-color: #{$colorWhite70op};\n --background-color: #{$colorCoolgrey60};\n }\n }\n}\n\n.stzh-popover {\n @include tooltip-arrow;\n display: contents;\n\n &__trigger {\n display: contents;\n }\n\n &__content-wrapper {\n // position: absolute;\n // width: 100%;\n // height: 100%;\n // pointer-events: none;\n display: contents;\n\n @include mq($to: small) {\n z-index: $zIndexDialog;\n display: flex;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n justify-content: stretch;\n }\n }\n\n &__backdrop {\n display: contents;\n\n @include mq($to: small) {\n z-index: 1;\n position: absolute;\n display: block;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n text-align: center;\n background-color: var(--backdrop-background-color);\n opacity: var(--backdrop-opacity);\n }\n }\n\n &__content {\n // pointer-events: all;\n display: contents;\n\n @include mq($to: small) {\n z-index: 2;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-grow: 1;\n overflow: auto;\n }\n }\n\n &__dialog {\n margin-top: auto;\n width: 100%;\n overflow: visible;\n border-top-left-radius: 2px;\n border-top-right-radius: 2px;\n background-color: var(--background-color);\n touch-action: none;\n outline: none;\n border-bottom: 2px solid $colorOldGrey13;\n color: var(--color);\n\n --stzh-base-color: var(--color);\n --stzh-link-color: var(--link-color);\n // TODO: check with designer\n --stzh-link-hover-color: var(--hover-link-color);\n\n @include mq($from: small) {\n z-index: $zIndexPopover;\n position: absolute;\n display: flex;\n width: var(--width);\n min-width: var(--min-width);\n max-width: var(--max-width);\n // max-width: calc(100vw - var(--stzh-scrollbar-width) - #{space('small')});\n height: var(--height);\n min-height: var(--min-height);\n max-height: var(--max-height);\n left: auto;\n right: auto;\n bottom: auto;\n border-radius: var(--border-radius);\n box-shadow: $boxShadowPopover;\n border: none;\n }\n }\n\n &__content-inner,\n &__content-slot-wrapper {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n &__content-slot-wrapper {\n padding: var(--padding);\n }\n\n &__content-slot {\n overflow-y: auto;\n overflow-x: hidden;\n overflow-scrolling: touch;\n padding: var(--content-padding);\n }\n\n &__action-slot {\n display: flex;\n flex-direction: column;\n\n // &:not(:empty) {\n // margin: space('xsmall') space('small');\n // margin-bottom: space('medium');\n // }\n }\n\n &__label-wrapper {\n display: flex;\n align-items: center;\n padding: space(\"small\") space(\"large\");\n padding-right: space(\"medium\");\n border-bottom: 1px solid $baseBorderColor;\n color: $colorOldGrey70;\n\n @include mq($from: small) {\n padding: 0;\n border-bottom: 0;\n }\n }\n\n &__label {\n @include font(\"heavy\");\n @include fontCurve(\"p2\");\n margin: 0;\n margin-right: space(\"small\");\n\n @include mq($from: small) {\n @include visuallyhidden;\n }\n }\n\n &__close {\n visibility: $popoverCloseVisibility;\n cursor: pointer;\n display: flex;\n appearance: none;\n font-family: inherit;\n border: none;\n background-color: transparent;\n padding: 0;\n margin-left: auto;\n border-radius: 50%;\n color: $baseLeadColor;\n padding: space(\"xxsmall\");\n }\n\n &__icon {\n --size: #{iconSize(\"xsmall\")};\n }\n\n &__arrow {\n position: absolute;\n display: none;\n\n @include mq($from: small) {\n display: flex;\n }\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n /* Only non tooltip variants */\n\n &--default &__close,\n &--secondary &__close {\n &:focus {\n box-shadow: 0 0 0 1px $colorPrimary;\n }\n\n @include mq($from: small) {\n @include visuallyhiddenFocusable;\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(30%, -30%);\n background-color: $colorOldGrey5;\n }\n }\n\n /* Tooltip variant */\n\n &--tooltip &__content-inner {\n @include mq($from: small) {\n flex-direction: row-reverse;\n align-items: flex-start;\n }\n }\n\n &--tooltip &__close {\n visibility: visible;\n\n @include mq($from: small) {\n @include tooltip__close;\n }\n }\n\n &--tooltip &__icon {\n @include mq($from: small) {\n @include tooltip__icon;\n }\n }\n\n &--tooltip &__dialog {\n @include mq($from: small) {\n @include tooltip-dropshadow;\n }\n }\n\n &--tooltip &__content-slot {\n @include mq($from: small) {\n @include tooltip-fontsize;\n }\n }\n\n /* Has fullwidth popover */\n\n &--popover-fullwidth-horizontal &__dialog {\n @include mq($from: small) {\n left: 0 !important;\n right: 0 !important;\n width: 100%;\n }\n }\n\n &--popover-fullwidth-vertical &__dialog {\n @include mq($from: small) {\n top: 0 !important;\n bottom: 0 !important;\n height: 100%;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport {\n StzhPopoverClosedEvent,\n StzhPopoverCloseEvent,\n StzhPopoverOpenedEvent,\n StzhPopoverOpenEvent,\n} from \"../../index\";\n\nimport { arrow, autoUpdate, computePosition, flip, offset, Placement, shift } from \"@floating-ui/dom\";\n\nimport { createFocusTrap, FocusTrap } from \"focus-trap\";\nimport { isStzhElement } from \"../../utils/utils\";\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../utils/media-utils\";\nimport { waitForEvent } from \"../../utils/event-utils\";\nimport { animateTo, stopAnimations } from \"../../utils/animation-utils\";\n\nimport { StzhPopoverLocalizedText } from \"./stzh-popover.localization\";\n\nimport Arrow from \"../stzh-tooltip/assets/arrow.svg\";\n\nconst ANIMATION_SHOW_DURATION = 200;\nconst ANIMATION_HIDE_DURATION = 300;\nconst ANIMATION_SHOW_DURATION_SMALL = 100;\nconst ANIMATION_HIDE_DURATION_SMALL = 200;\n\nfunction animationContentWrapperShow() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ opacity: \"0\" }, { opacity: \"1\" }],\n options: {\n duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nfunction animationContentWrapperHide() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ opacity: \"1\" }, { opacity: \"0\" }],\n options: {\n duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nfunction animationDialogShow() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ transform: isSmall ? \"translateY(-8px)\" : \"translateY(100%)\" }, { transform: \"translateY(0px)\" }],\n options: {\n duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nfunction animationDialogHide() {\n const isSmall = media(\"small\").matches;\n return {\n keyframes: [{ transform: \"translateY(0px)\" }, { transform: isSmall ? \"translateY(-8px)\" : \"translateY(100%)\" }],\n options: {\n duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,\n easing: \"linear\",\n },\n };\n}\n\nconst keyCode = {\n ESC: 27,\n};\n\nconst CLASS_BODY_OPEN = \"stzh-popover-open\";\n\nlet popoverCounter = 0;\n\n/**\n * @slot - Trigger element for popover\n * @slot content - Any element used as popover content\n * @slot action - `stzh-button` element\n * @slot label - Label for mobile view (alternative for label property)\n */\n@Component({\n tag: \"stzh-popover\",\n styleUrl: \"stzh-popover.scss\",\n scoped: true,\n})\nexport class StzhPopover {\n /** Whether popover should be open */\n @Prop({ mutable: true, reflect: true }) open: boolean = false;\n\n /** Default placement of popover relative to trigger element */\n @Prop({ reflect: true }) placement: Placement = \"bottom\";\n\n /** Whether to stretch popover to fullwith of parent */\n @Prop({ reflect: true }) fullwidth: \"horizontal\" | \"vertical\" | \"\" = \"\";\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"secondary\" | \"tooltip\" = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: \"default\" | \"large\" = \"default\";\n\n /** Shifting of popover content */\n @Prop() skidding: number = 0;\n\n /** Distance from popover content to trigger. \"8\" when default variant, \"16\" when tooltip variant, arrow height (8px) + spacing (4px) = 12. */\n @Prop() distance: number;\n\n /** Label for mobile view (use label slot as alternative) */\n @Prop() label: string = \"\";\n\n /** Position strategy */\n @Prop() strategy: \"absolute\" | \"fixed\" = \"absolute\";\n\n /** Translation strings. */\n @Prop() localization: StzhPopoverLocalizedText;\n\n @Element() element: HTMLStzhPopoverElement;\n\n /** Popover open event */\n @Event() stzhOpen: EventEmitter<StzhPopoverOpenEvent>;\n\n /** Popover opened event (after animation) */\n @Event() stzhOpened: EventEmitter<StzhPopoverOpenedEvent>;\n\n /** Popover close event */\n @Event() stzhClose: EventEmitter<StzhPopoverCloseEvent>;\n\n /** Popover closed event (after animation) */\n @Event() stzhClosed: EventEmitter<StzhPopoverClosedEvent>;\n\n private initialParentNode: Node;\n private elementIndexOnBranchout: number;\n\n /** Show popover content */\n @Method()\n async show() {\n if (this.open) {\n return;\n }\n\n this.mediaChangeHandler();\n if (this.isHeaderStuckAndViewportMicro) {\n this.branchOutToBody();\n }\n\n this.toggledByMethod = true;\n this.open = true;\n return waitForEvent(this.element, \"stzhOpened\");\n }\n\n /** Hide popover content */\n @Method()\n async hide() {\n if (!this.open) {\n return;\n }\n\n this.toggledByMethod = true;\n this.open = false;\n\n await waitForEvent(this.element, \"stzhClosed\");\n\n this.mediaChangeHandler();\n if (this.isHeaderStuckAndViewportMicro) {\n this.branchInFromBody();\n }\n\n return true;\n }\n\n /** Toggle popover content */\n @Method()\n async toggle() {\n if (this.open) {\n return await this.hide();\n } else {\n return await this.show();\n }\n }\n\n @Method()\n async update() {\n return await this.computePosition();\n }\n\n @Listen(\"click\", { target: \"document\", capture: true })\n handleOutsideClick(event: MouseEvent) {\n if (!this.open) {\n return;\n }\n\n const isClickOutside =\n event.target !== this.dialogElement && this.dialogElement.contains(event.target as HTMLElement) === false;\n\n const isClickTrigger =\n event.target === this.triggerElement || this.triggerElement.contains(event.target as HTMLElement);\n\n if (isClickOutside && !isClickTrigger) {\n this.hide();\n }\n }\n\n @Watch(\"open\")\n async openWatcher(newValue: boolean) {\n if (!this.dialogElement) {\n return;\n }\n\n if (newValue) {\n if (this.toggledByMethod) {\n this.stzhOpen.emit({\n component: \"stzh-popover\",\n });\n }\n\n const animationShow = animationContentWrapperShow();\n const animationShowDialog = animationDialogShow();\n\n await Promise.all([\n stopAnimations(this.contentWrapperElement),\n stopAnimations(this.contentElement),\n stopAnimations(this.dialogElement),\n ]);\n\n // safari seems to need will-change,\n // otherwise it has problems animating the element with the drop shadow\n this.dialogElement.style.willChange = \"transform, opacity, position, top, left, bottom, right\";\n this.contentWrapperElement.hidden = false;\n\n await Promise.all([\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentWrapperElement,\n animationShow.keyframes,\n animationShow.options,\n ),\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentElement,\n animationShowDialog.keyframes,\n animationShowDialog.options,\n ),\n ]);\n\n if (this.toggledByMethod) {\n this.stzhOpened.emit({\n component: \"stzh-popover\",\n });\n }\n } else {\n if (this.toggledByMethod) {\n this.stzhClose.emit({\n component: \"stzh-popover\",\n });\n }\n\n const animationHide = animationContentWrapperHide();\n const animationHideDialog = animationDialogHide();\n\n await Promise.all([\n stopAnimations(this.contentWrapperElement),\n stopAnimations(this.contentElement),\n stopAnimations(this.dialogElement),\n ]);\n\n await Promise.all([\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentWrapperElement,\n animationHide.keyframes,\n animationHide.options,\n ),\n animateTo(\n media(\"small\").matches ? this.dialogElement : this.contentElement,\n animationHideDialog.keyframes,\n animationHideDialog.options,\n ),\n ]);\n\n this.contentWrapperElement.hidden = true;\n this.dialogElement.style.willChange = \"auto\";\n\n if (this.toggledByMethod) {\n this.stzhClosed.emit({\n component: \"stzh-popover\",\n });\n }\n }\n\n this.toggledByMethod = false;\n }\n\n @Watch(\"distance\")\n distanceWatcher(newValue: number) {\n if (typeof newValue === \"number\") {\n this.distance = newValue;\n } else {\n this.distance = this.variant === \"tooltip\" ? 12 : 8;\n }\n }\n\n @State() computedPlacement: Placement;\n @State() isHeaderStuckAndViewportMicro: boolean;\n @State() isBranchedOutToBody: boolean;\n @State() hasStzhHeaderParent: boolean;\n\n private observer: MutationObserver;\n\n private contentWrapperElement: HTMLElement;\n private contentElement: HTMLElement;\n private arrowElement: HTMLElement;\n private rootElement: HTMLElement;\n private triggerElement: HTMLElement;\n private triggerFirstElement: HTMLElement;\n private dialogElement: HTMLElement;\n private autoUpdateCleanup: Function;\n\n private initialTouchX: number = null;\n private initialTouchY: number = null;\n\n private id: string;\n private trap: FocusTrap;\n private toggledByMethod: boolean;\n\n private setStzhHeaderParent(): boolean {\n let parent = this.element.parentElement;\n while (parent) {\n if (parent.tagName && parent.tagName.toLowerCase() === \"stzh-header\") {\n return true;\n }\n parent = parent.parentElement;\n }\n return false;\n }\n\n private getChildIndex(element) {\n let parent = element.parentNode;\n\n // Convert child nodes to an array and find the index of the element\n let index = Array.prototype.indexOf.call(parent.children, element);\n\n return index;\n }\n\n private insertElementAtIndex(parent, newElement, index) {\n // Get the child element at the specified index\n let referenceNode = parent.children[index];\n\n // If referenceNode is null (meaning the index is out of range or at the end), append the new element\n if (referenceNode) {\n parent.insertBefore(newElement, referenceNode);\n } else {\n parent.appendChild(newElement);\n }\n }\n\n private mediaChangeHandler = () => {\n const isStzhHeaderStuck = document.documentElement.style.getPropertyValue(\"--stzh-header-is-stuck\");\n this.isHeaderStuckAndViewportMicro =\n !media(\"small\").matches && isStzhHeaderStuck === \"1\" && this.hasStzhHeaderParent;\n\n if (this.open && this.isBranchedOutToBody && !this.isHeaderStuckAndViewportMicro) {\n this.branchInFromBody();\n }\n };\n\n private branchOutToBody() {\n this.elementIndexOnBranchout = this.getChildIndex(this.element);\n document.body.append(this.element);\n this.insertElementAtIndex(this.initialParentNode, this.triggerElement, this.elementIndexOnBranchout);\n this.isBranchedOutToBody = true;\n }\n\n private branchInFromBody() {\n this.insertElementAtIndex(this.initialParentNode, this.element, this.elementIndexOnBranchout);\n this.rootElement.prepend(this.triggerElement);\n this.isBranchedOutToBody = false;\n }\n\n private handleKeydown = (event: KeyboardEvent) => {\n if (event.keyCode === keyCode.ESC) {\n this.hide();\n }\n };\n\n private onClickTrigger = () => {\n this.toggle();\n };\n\n private computePosition = async () => {\n if (media(\"small\").matches) {\n const middleware = [\n offset({\n mainAxis: this.distance,\n crossAxis: this.skidding,\n }),\n flip({\n padding: 5,\n }),\n shift({\n padding: 5,\n }),\n ];\n\n if (this.variant === \"tooltip\") {\n middleware.push(\n arrow({\n element: this.arrowElement,\n padding: 5,\n }),\n );\n }\n\n const {\n x = 0,\n y = 0,\n strategy = \"absolute\",\n placement,\n middlewareData,\n } = await computePosition(this.triggerFirstElement, this.dialogElement, {\n strategy: this.strategy,\n placement: this.placement,\n middleware,\n });\n\n this.computedPlacement = placement;\n\n Object.assign(this.dialogElement.style, {\n position: strategy,\n left: `${x}px`,\n top: `${y}px`,\n });\n\n if (this.variant === \"tooltip\") {\n Object.assign(this.arrowElement.style, {\n left: x != null ? `${middlewareData.arrow.x}px` : \"\",\n top: y != null ? `${middlewareData.arrow.y}px` : \"\",\n });\n }\n } else {\n Object.assign(this.dialogElement.style, {\n position: null,\n left: null,\n top: null,\n });\n\n if (this.variant === \"tooltip\") {\n Object.assign(this.arrowElement.style, {\n left: null,\n top: null,\n });\n }\n }\n };\n\n private handleTouchStart = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n this.initialTouchX = touch.pageX;\n this.initialTouchY = touch.pageY;\n };\n\n // private handleTouchMove = (event: TouchEvent) => {\n // event.preventDefault()\n // }\n\n private handleTouchEnd = (event: TouchEvent) => {\n const touch = event.changedTouches[0];\n const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled\n const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled\n const threshold = 70;\n\n const isYSwipe = Math.abs(distY) >= threshold && Math.abs(distX) <= threshold;\n\n if (isYSwipe) {\n const isInDropdown = (event.target as HTMLElement).closest(\".stzh-dropdown\") !== null;\n if (!isInDropdown) {\n this.hide();\n }\n }\n\n this.initialTouchY = null;\n this.initialTouchX = null;\n };\n\n private init = () => {\n let trigger = this.triggerElement?.firstElementChild as HTMLElement;\n\n if (!trigger) {\n const defaultSlot = Array.from(this.element.children).find(child => !child.hasAttribute(\"slot\")) as HTMLElement;\n\n trigger = defaultSlot;\n }\n\n if (trigger) {\n this.triggerFirstElement = trigger;\n trigger.addEventListener(\"click\", this.onClickTrigger);\n }\n };\n\n async componentWillLoad() {\n this.id = `stzh-popover-${popoverCounter++}`;\n this.initialParentNode = this.element.parentNode;\n this.hasStzhHeaderParent = this.setStzhHeaderParent();\n\n this.distanceWatcher(this.distance);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"popover\");\n }\n }\n\n private popoverShown() {\n document.body.classList.add(CLASS_BODY_OPEN);\n\n const isStzh = isStzhElement(this.triggerFirstElement);\n\n this.triggerFirstElement.setAttribute(isStzh ? \"a11y-expanded\" : \"aria-expanded\", \"true\");\n\n if (this.trap) {\n this.trap.activate();\n }\n }\n\n private popoverHidden() {\n document.body.classList.remove(CLASS_BODY_OPEN);\n\n const isStzh = isStzhElement(this.triggerFirstElement);\n\n this.triggerFirstElement.setAttribute(isStzh ? \"a11y-expanded\" : \"aria-expanded\", \"false\");\n\n if (this.trap) {\n this.trap.deactivate();\n }\n }\n\n componentDidRender() {\n this.mediaChangeHandler();\n const isStzh = isStzhElement(this.triggerFirstElement);\n\n if (\n (isStzh && !this.triggerFirstElement.getAttribute(\"a11y-describedby\")) ||\n (!isStzh && !this.triggerFirstElement.getAttribute(\"aria-describedby\"))\n ) {\n this.triggerFirstElement.setAttribute(\n isStzh ? \"a11y-describedby\" : \"aria-describedby\",\n `${this.id}-trigger-description`,\n );\n }\n\n if (\n (isStzh && !this.triggerFirstElement.getAttribute(\"a11y-label\")) ||\n (!isStzh && !this.triggerFirstElement.getAttribute(\"aria-label\"))\n ) {\n this.triggerFirstElement.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", this.label);\n }\n\n if (\n (isStzh && !this.triggerFirstElement.getAttribute(\"analytics-id\")) ||\n (!isStzh && !this.triggerFirstElement.getAttribute(\"s-object-id\"))\n ) {\n this.triggerFirstElement.setAttribute(isStzh ? \"analytics-id\" : \"s-object-id\", this.label);\n }\n }\n\n private initializedPopover = false;\n\n componentDidUpdate() {\n if (this.open && !this.initializedPopover) {\n this.initializeAutoUpdate();\n this.initializeFocusTrap();\n this.popoverShown();\n this.initializedPopover = true;\n }\n\n if (this.initializedPopover) {\n if (this.open) {\n this.popoverShown();\n } else {\n this.popoverHidden();\n }\n\n this.computePosition();\n if (this.trap) {\n this.trap.updateContainerElements(this.dialogElement);\n }\n }\n }\n\n initializeAutoUpdate() {\n this.autoUpdateCleanup = autoUpdate(this.triggerFirstElement, this.dialogElement, this.computePosition);\n }\n\n initializeFocusTrap() {\n this.trap = createFocusTrap(this.dialogElement, {\n initialFocus: () => this.dialogElement,\n fallbackFocus: this.dialogElement,\n clickOutsideDeactivates: true,\n returnFocusOnDeactivate: true,\n });\n }\n\n componentDidLoad() {\n this.contentWrapperElement.hidden = !this.open;\n this.open ? this.popoverShown() : this.popoverHidden();\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\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 removeMediaChangeListener(this.mediaChangeHandler);\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (this.autoUpdateCleanup) {\n this.autoUpdateCleanup();\n }\n\n if (this.triggerFirstElement) {\n this.triggerFirstElement.removeEventListener(\"click\", this.onClickTrigger);\n }\n }\n\n render() {\n const classes = {\n \"stzh-popover\": true,\n [`stzh-popover--open`]: this.open,\n [`stzh-popover--placement-${this.computedPlacement}`]: !!this.computedPlacement,\n [`stzh-popover--fullwidth-${this.fullwidth}`]: !!this.fullwidth,\n [`stzh-popover--${this.size}`]: !!this.size,\n [`stzh-popover--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div\n class={classes}\n onTouchStart={this.handleTouchStart}\n onTouchEnd={this.handleTouchEnd}\n ref={el => (this.rootElement = el as HTMLDivElement)}\n >\n <div ref={el => (this.triggerElement = el as HTMLDivElement)} class=\"stzh-popover__trigger\">\n <slot></slot>\n </div>\n <div class=\"stzh-popover__vhidden\" id={`${this.id}-trigger-description`}>\n {this.localization.open}\n </div>\n <div ref={el => (this.contentWrapperElement = el as HTMLDivElement)} class=\"stzh-popover__content-wrapper\">\n <div class=\"stzh-popover__backdrop\"></div>\n <div ref={el => (this.contentElement = el as HTMLDivElement)} class=\"stzh-popover__content\">\n <div\n ref={el => (this.dialogElement = el as HTMLDivElement)}\n class=\"stzh-popover__dialog\"\n role=\"dialog\"\n tabindex=\"-1\"\n aria-modal=\"true\"\n aria-labelledby={this.label ? `${this.id}-label` : null}\n aria-hidden={this.open ? \"false\" : \"true\"}\n onKeyDown={this.handleKeydown}\n >\n {this.variant === \"tooltip\" && (\n <div\n class=\"stzh-popover__arrow\"\n ref={el => (this.arrowElement = el as HTMLDivElement)}\n innerHTML={Arrow}\n ></div>\n )}\n <div class=\"stzh-popover__content-inner\">\n <div class=\"stzh-popover__label-wrapper\">\n <h2 id={`${this.id}-label`} class=\"stzh-popover__label\">\n {this.label ? this.label : <slot name=\"label\"></slot>}\n </h2>\n <button class=\"stzh-popover__close\" onClick={() => this.hide()} type=\"button\">\n <stzh-icon name=\"close\" class=\"stzh-popover__icon\"></stzh-icon>\n <span class=\"stzh-popover__vhidden\">{this.localization.close}</span>\n </button>\n </div>\n <div class=\"stzh-popover__content-slot-wrapper\">\n <div class=\"stzh-popover__content-slot\">\n <slot name=\"content\"></slot>\n </div>\n <div class=\"stzh-popover__action-slot\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,12 +1,12 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-8f01554b.js';
2
2
  import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './p-f4adb3cd.js';
3
- import { d as defineCustomElement$7 } from './p-dd1c0c0c.js';
4
- import { d as defineCustomElement$6 } from './p-4a78990f.js';
5
- import { d as defineCustomElement$5 } from './p-fdc914f5.js';
6
- import { d as defineCustomElement$4 } from './p-7c4e756c.js';
7
- import { d as defineCustomElement$3 } from './p-72101ea0.js';
8
- import { d as defineCustomElement$2 } from './p-63c4d8c4.js';
9
- import { d as defineCustomElement$1 } from './p-613937f1.js';
3
+ import { d as defineCustomElement$7 } from './p-42e86bbd.js';
4
+ import { d as defineCustomElement$6 } from './p-b84d0233.js';
5
+ import { d as defineCustomElement$5 } from './p-ddb9cb15.js';
6
+ import { d as defineCustomElement$4 } from './p-a2659715.js';
7
+ import { d as defineCustomElement$3 } from './p-85a0cd24.js';
8
+ import { d as defineCustomElement$2 } from './p-ace11500.js';
9
+ import { d as defineCustomElement$1 } from './p-95b36277.js';
10
10
 
11
11
  const stzhDatalistCss = ".sc-stzh-datalist-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-datalist-h,[stzh-hidden].sc-stzh-datalist-h{display:none}.sc-stzh-datalist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datalist-h *.sc-stzh-datalist,.sc-stzh-datalist-h *.sc-stzh-datalist::before,.sc-stzh-datalist-h *.sc-stzh-datalist::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-datalist-h .has-focus.sc-stzh-datalist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datalist-h .stzh-fylingfocus-focused.sc-stzh-datalist{outline-style:none !important}.sc-stzh-datalist-h .stzh-fylingfocus-focused.sc-stzh-datalist::-moz-focus-inner{border:0 !important}.sc-stzh-datalist-h{--columns:1;--columns-gap:var(--stzh-grid-gutter);--list-display:grid;--list-margin-right:calc(var(--columns-gap) / -1);--list-grid-template-columns:repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto var(--columns-gap)\n );--full-grid-column:1 / 5;--nested-margin-left:var(--stzh-datalist-nested-margin-left, 0px);--details-content-width:var(--stzh-datalist-details-content-width, 100%);--grid-template-areas:var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n );--grid-template-columns:var(\n --stzh-datalist-grid-template-columns,\n repeat(4, minmax(0, 1fr))\n );margin-left:var(--nested-margin-left)}@media screen and (min-width: 600px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-small);--grid-template-areas:var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n )}}@media screen and (min-width: 900px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-medium);--grid-template-areas:var(\n --stzh-datalist-grid-template-areas,\n \"list list list list list list list list\"\n );--grid-template-columns:var(\n --stzh-datalist-grid-template-columns,\n repeat(8, minmax(0, 1fr))\n )}}@media screen and (min-width: 1260px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.sc-stzh-datalist-h{--columns-gap:var(--stzh-grid-gutter-ultra)}}.sc-stzh-datalist-h.sc-stzh-datalist-s>.layout_column>*:not([class*=cq-]),.sc-stzh-datalist-h .sc-stzh-datalist-s>.layout_column>*:not([class*=cq-]),.sc-stzh-datalist-h.sc-stzh-datalist-s>*:not([class*=cq-]),.sc-stzh-datalist-h .sc-stzh-datalist-s>*:not([class*=cq-]){display:contents}[is-direction=horizontal].sc-stzh-datalist-h{--list-grid-template-columns:repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );--full-grid-column:1 / 6}[is-direction=horizontal].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([meta=\"\"]))),[is-direction=horizontal].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([status-label=\"\"]))){--list-grid-template-columns:repeat(\n var(--columns),\n auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n )}[variant=table].sc-stzh-datalist-h{--list-grid-template-columns:repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );--full-grid-column:1 / 7}[variant=table].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([meta=\"\"]))),[variant=table].sc-stzh-datalist-h:where(:has(stzh-datalist-item:not([status-label=\"\"]))){--list-grid-template-columns:repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n )}[vertical-gap=small].sc-stzh-datalist-h .stzh-datalist__list.sc-stzh-datalist{grid-template-rows:auto}@media screen and (max-width: 899px){[vertical-gap=small].sc-stzh-datalist-h .stzh-datalist__list.sc-stzh-datalist{row-gap:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px){[vertical-gap=small].sc-stzh-datalist-h .stzh-datalist__list.sc-stzh-datalist{row-gap:var(--stzh-space-xxsmall)}}.sc-stzh-datalist-h:has([class*=cq-]){--stzh-datalist-item-wrapper-display:flex;--list-display:block;--list-margin-right:0}.stzh-datalist.sc-stzh-datalist{--stzh-datalist-nested-margin-left:var(--stzh-space-large);--stzh-details-content-grid-column:var(--full-grid-column);--stzh-details-content-padding-right:var(--columns-gap);--stzh-details-content-width:var(--details-content-width);column-gap:var(--stzh-grid-gutter);display:grid;grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns)}@media screen and (min-width: 600px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-datalist.sc-stzh-datalist{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-datalist__wrapper.sc-stzh-datalist{grid-area:list;overflow:visible}.stzh-datalist__list.sc-stzh-datalist{display:var(--list-display);border-collapse:collapse;grid-template-columns:var(--list-grid-template-columns);align-items:stretch;margin-right:var(--list-margin-right)}.stzh-datalist--has-multiple-columns.sc-stzh-datalist{--stzh-datalist-item-nested-display:none}@media screen and (max-width: 599px){.stzh-datalist--table.stzh-datalist--big-label.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{--list-display:flex;flex-direction:column;gap:var(--stzh-space-xxxsmall)}}";
12
12
  const StzhDatalistStyle0 = stzhDatalistCss;
@@ -130,9 +130,9 @@ const StzhDatalist = /*@__PURE__*/ proxyCustomElement(class StzhDatalist extends
130
130
  [`stzh-datalist--${this.variant}`]: !!this.variant,
131
131
  [`stzh-datalist--vertical-gap-${this.verticalGap}`]: !!this.verticalGap,
132
132
  };
133
- return (h(Host, { key: '4bf3e479ebc2475f3b3a8cc2d6148e55045c4e90', "is-direction": this.currentDirection, "vertical-gap": this.verticalGap, style: {
133
+ return (h(Host, { key: 'bd6f1d0398aba2c7286ce4dc5314a2fd43f63097', "is-direction": this.currentDirection, "vertical-gap": this.verticalGap, style: {
134
134
  "--columns": this.currentColumns ? this.currentColumns.toString() : null,
135
- } }, h("div", { key: '24f8ef03a70d3e51a97d99e2ba1a1f527e75a6a1', class: classes }, h("div", { key: 'c10441156bdf62397277ead9517696476ea45d80', class: "stzh-datalist__wrapper" }, h("div", { key: 'd73f0d6f0ab7e23bdef75e10108d315482964164', class: "stzh-datalist__list", role: "list" }, this._items.map(item => (h("stzh-datalist-item", Object.assign({}, item, { hasNested: !!item.items }), item.items && item.items.length > 0 && h("stzh-datalist", { items: item.items })))), h("slot", { key: 'f1d18daff813b2cec89912ca36c213fc49afe91c' }))))));
135
+ } }, h("div", { key: 'd4d4540689a54609be70e9fc9aa504977317db9d', class: classes }, h("div", { key: '0fc7143742b703c1439c8821795f93ad30ffc7a6', class: "stzh-datalist__wrapper" }, h("div", { key: 'c5955076df340e5e6774208237f38202f033304d', class: "stzh-datalist__list", role: "list" }, this._items.map(item => (h("stzh-datalist-item", Object.assign({}, item, { hasNested: !!item.items }), item.items && item.items.length > 0 && h("stzh-datalist", { items: item.items })))), h("slot", { key: '234c19a5ef8e8d87b95b5cb6ab07b12bba1e1b14' }))))));
136
136
  }
137
137
  get element() { return this; }
138
138
  static get watchers() { return {
@@ -242,4 +242,4 @@ function defineCustomElement() {
242
242
 
243
243
  export { StzhDatalist as S, defineCustomElement as d };
244
244
 
245
- //# sourceMappingURL=p-506a00fc.js.map
245
+ //# sourceMappingURL=p-7171b3a1.js.map
@@ -1 +1 @@
1
- {"file":"p-506a00fc.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,iuLAAiuL,CAAC;AAC1vL,2BAAe,eAAe;;MCoBjB,YAAY;;;;;;;QAwDf,WAAM,GAA4B,EAAE,CAAC;QAyErC,wBAAmB,GAAG;YAC5B,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,cAAc,EAAE;gBACjD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC;aAC7C;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,cAAc,EAAE;gBACxD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC;aAC7C;iBAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,eAAe,EAAE;gBAC1D,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,eAAe,CAAC;aAC9C;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,cAAc,EAAE;gBACxD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC;aAC7C;iBAAM;gBACL,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,SAAS,CAAC;aACxC;SACF,CAAC;QAEM,sBAAiB,GAAG;YAC1B,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,YAAY,EAAE;gBAC/C,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,YAAY,CAAC;aACzC;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC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AAK,EAAC,wBAAwB,IACjC,4DAAK,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,MAAM,IACzC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,KACnB,0CAAwB,IAAI,IAAE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,KAClD,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,qBAAe,KAAK,EAAE,IAAI,CAAC,KAAK,GAAkB,CACvE,CACtB,CAAC,EACF,8DAAa,CACT,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-datalist/stzh-datalist.scss?tag=stzh-datalist&encapsulation=scoped","src/components/stzh-datalist/stzh-datalist.tsx"],"sourcesContent":[":host {\n --columns: 1;\n --columns-gap: #{$gridGutter};\n --list-display: grid;\n --list-margin-right: calc(var(--columns-gap) / -1);\n --list-grid-template-columns: repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto var(--columns-gap)\n );\n --full-grid-column: 1 / 5;\n --nested-margin-left: var(--stzh-datalist-nested-margin-left, 0px);\n --details-content-width: var(--stzh-datalist-details-content-width, 100%);\n\n --grid-template-areas: var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n );\n\n --grid-template-columns: var(\n --stzh-datalist-grid-template-columns,\n #{$gridColumns}\n );\n\n margin-left: var(--nested-margin-left);\n\n @include mq($from: small) {\n --columns-gap: #{$gridGutterSmall};\n\n --grid-template-areas: var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n );\n }\n\n @include mq($from: medium) {\n --columns-gap: #{$gridGutterMedium};\n\n --grid-template-areas: var(\n --stzh-datalist-grid-template-areas,\n \"list list list list list list list list\"\n );\n\n --grid-template-columns: var(\n --stzh-datalist-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n @include mq($from: large) {\n --columns-gap: #{$gridGutterLarge};\n }\n\n @include mq($from: ultra) {\n --columns-gap: #{$gridGutterUltra};\n }\n // datalist-item or wrapper elements should be set to display: contents to make grid layout work.\n // in AEM edit mode: we prevent setting it, so the links can still be edited.\n\n ::slotted(.layout_column) > *:not([class*=\"cq-\"]),\n ::slotted(*:not([class*=\"cq-\"])) {\n display: contents;\n }\n\n &[is-direction=\"horizontal\"] {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );\n --full-grid-column: 1 / 6;\n\n &:where(:has(stzh-datalist-item:not([meta=\"\"]))),\n &:where(:has(stzh-datalist-item:not([status-label=\"\"]))) {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n );\n }\n }\n\n &[variant=\"table\"] {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );\n --full-grid-column: 1 / 7;\n\n &:where(:has(stzh-datalist-item:not([meta=\"\"]))),\n &:where(:has(stzh-datalist-item:not([status-label=\"\"]))) {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n );\n }\n }\n\n &[vertical-gap=\"small\"] {\n .stzh-datalist__list {\n grid-template-rows: auto;\n @include mq($to: medium) {\n row-gap: space(\"xsmall\");\n }\n @include mq($from: medium) {\n row-gap: space(\"xxsmall\");\n }\n }\n }\n}\n\n/* AEM edit mode: we set list as block element (always as one column), to prevent layout breaks */\n\n:host(:has([class*=\"cq-\"])) {\n --stzh-datalist-item-wrapper-display: flex;\n\n --list-display: block;\n --list-margin-right: 0;\n}\n\n.stzh-datalist {\n // offset margin of nested datalist\n --stzh-datalist-nested-margin-left: #{space(\"large\")};\n // details grid columns\n --stzh-details-content-grid-column: var(--full-grid-column);\n --stzh-details-content-padding-right: var(--columns-gap);\n --stzh-details-content-width: var(--details-content-width);\n\n @include gridGutter;\n display: grid;\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n &__wrapper {\n grid-area: list;\n overflow: visible;\n }\n\n &__list {\n display: var(--list-display);\n border-collapse: collapse;\n grid-template-columns: var(--list-grid-template-columns);\n align-items: stretch;\n margin-right: var(--list-margin-right);\n }\n\n /* Multiple Columns */\n\n &--has-multiple-columns {\n // display of nested datalist\n --stzh-datalist-item-nested-display: none;\n }\n\n /* Table variant with big label */\n\n &--table#{&}--big-label &__list {\n @include mq($to: small) {\n --list-display: flex;\n flex-direction: column;\n gap: space(\"xxxsmall\");\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport {\n StzhDatalistBigLabelChangeEvent,\n StzhDatalistDirection,\n StzhDatalistDirectionChangeEvent,\n StzhDatalistItemEntry,\n StzhDatalistVariant,\n StzhDatalistVariantChangeEvent,\n} from \"../../index\";\n\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../utils/media-utils\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-datalist\",\n styleUrl: \"stzh-datalist.scss\",\n scoped: true,\n})\nexport class StzhDatalist {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhDatalistVariant = \"default\";\n\n /** With big label */\n @Prop({ reflect: true }) bigLabel: boolean = false;\n\n /** Columns */\n @Prop({ reflect: true }) columns: number = 1;\n\n /** Columns above small breakpoint */\n @Prop({ reflect: true }) columnsSmall: number;\n\n /** Columns above medium breakpoint */\n @Prop({ reflect: true }) columnsMedium: number;\n\n /** Columns above large breakpoint */\n @Prop({ reflect: true }) columnsLarge: number;\n\n /** Columns above ultra breakpoint */\n @Prop({ reflect: true }) columnsUltra: number;\n\n /** Direction */\n @Prop({ reflect: true }) direction: StzhDatalistDirection = \"vertical\";\n\n /** Direction above small breakpoint */\n @Prop({ reflect: true }) directionSmall: StzhDatalistDirection;\n\n /** Direction above medium breakpoint */\n @Prop({ reflect: true }) directionMedium: StzhDatalistDirection;\n\n /** Direction above large breakpoint */\n @Prop({ reflect: true }) directionLarge: StzhDatalistDirection;\n\n /** Direction above ultra breakpoint */\n @Prop({ reflect: true }) directionUltra: StzhDatalistDirection;\n /**Vertical Gap between items */\n @Prop({ reflect: true }) verticalGap: \"default\" | \"small\" = \"default\";\n\n /**\n * Whether to disable min-width of datalist item label for the `horizontal` variant.\n *\n * If `false`, the default `min-width` is `144px` (for >= 800px) and `120px` (for < 800px).\n * If `true`, the `min-width` is `none`, so the label column, will have the width of cell with the widest content.\n *\n * You can also overwrite the label min-width via CSS with the custom property `--item-label-min-width`.\n */\n // @Prop({ reflect: true }) disableLabelMinWidth: boolean = false;\n\n /**\n * Items in datalist\n * Array of objects that must at least include `value` attribute.\n * Can optionally contain `leadingIcon`, `label`, `meta`, `icon`, `iconLabel`, `iconTooltip`, `href`, `statusLabel`, `statusType` attribute and be nested to display deeper levels:\n * `[{\"value\":\"Value 1\", \"label\": \"Label 1\"}, {\"value\":\"Value 2\", \"label\": \"Label 2\", \"items\": [...]}]`\n */\n @Prop() items: StzhDatalistItemEntry[] | string = [];\n private _items: StzhDatalistItemEntry[] = [];\n\n /** Variant attribute change event */\n @Event() stzhVariantChange: EventEmitter<StzhDatalistVariantChangeEvent>;\n\n /** Big label attribute change event */\n @Event() stzhBigLabelChange: EventEmitter<StzhDatalistBigLabelChangeEvent>;\n\n /** Direction attribute change event */\n @Event() stzhDirectionChange: EventEmitter<StzhDatalistDirectionChangeEvent>;\n\n @Element() element: HTMLStzhDatalistElement;\n\n @Watch(\"direction\")\n @Watch(\"directionSmall\")\n @Watch(\"directionMedium\")\n @Watch(\"directionLarge\")\n @Watch(\"directionUltra\")\n directionWatcher() {\n this.setCurrentDirection();\n }\n\n @Watch(\"columns\")\n @Watch(\"columnsSmall\")\n @Watch(\"columnsMedium\")\n @Watch(\"columnsLarge\")\n @Watch(\"columnsUltra\")\n columnsWatcher() {\n this.setCurrentColumns();\n }\n\n @Watch(\"currentDirection\")\n currentDirectionWatcher(newValue: StzhDatalistDirection) {\n this.stzhDirectionChange.emit({\n component: \"stzh-datalist\",\n value: newValue,\n });\n }\n\n @Watch(\"variant\")\n variantWatcher(newValue: StzhDatalistVariant) {\n this.stzhVariantChange.emit({\n component: \"stzh-datalist\",\n value: newValue,\n });\n }\n\n @Watch(\"bigLabel\")\n bigLabelWatcher(newValue: boolean) {\n this.stzhBigLabelChange.emit({\n component: \"stzh-datalist\",\n value: newValue,\n });\n }\n\n @Watch(\"items\")\n itemsWatcher(newValue: any[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n }\n\n /** Get current direction */\n @Method()\n async getCurrentDirection() {\n return this.currentDirection;\n }\n\n @State() currentColumns: number = 1;\n @State() currentDirection: StzhDatalistDirection;\n\n private setCurrentDirection = () => {\n if (media(\"ultra\").matches && this.directionUltra) {\n this.currentDirection = this.directionUltra;\n } else if (media(\"large\").matches && this.directionLarge) {\n this.currentDirection = this.directionLarge;\n } else if (media(\"medium\").matches && this.directionMedium) {\n this.currentDirection = this.directionMedium;\n } else if (media(\"small\").matches && this.directionSmall) {\n this.currentDirection = this.directionSmall;\n } else {\n this.currentDirection = this.direction;\n }\n };\n\n private setCurrentColumns = () => {\n if (media(\"ultra\").matches && this.columnsUltra) {\n this.currentColumns = this.columnsUltra;\n } else if (media(\"large\").matches && this.columnsLarge) {\n this.currentColumns = this.columnsLarge;\n } else if (media(\"medium\").matches && this.columnsMedium) {\n this.currentColumns = this.columnsMedium;\n } else if (media(\"small\").matches && this.columnsSmall) {\n this.currentColumns = this.columnsSmall;\n } else {\n this.currentColumns = this.columns;\n }\n };\n\n resizeHandler = () => {\n this.setCurrentDirection();\n this.setCurrentColumns();\n };\n\n async componentWillLoad() {\n this.itemsWatcher(this.items);\n this.bigLabelWatcher(this.bigLabel);\n this.resizeHandler();\n }\n\n connectedCallback() {\n addMediaChangeListener(this.resizeHandler);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.resizeHandler);\n }\n\n render() {\n const classes = {\n \"stzh-datalist\": true,\n \"stzh-datalist--has-multiple-columns\": this.currentColumns > 1,\n \"stzh-datalist--big-label\": this.bigLabel,\n [`stzh-datalist--direction-${this.currentDirection}`]: !!this.currentDirection,\n [`stzh-datalist--${this.variant}`]: !!this.variant,\n [`stzh-datalist--vertical-gap-${this.verticalGap}`]: !!this.verticalGap,\n };\n\n return (\n <Host\n is-direction={this.currentDirection}\n vertical-gap={this.verticalGap}\n style={{\n \"--columns\": this.currentColumns ? this.currentColumns.toString() : null,\n }}\n >\n <div class={classes}>\n <div class=\"stzh-datalist__wrapper\">\n <div class=\"stzh-datalist__list\" role=\"list\">\n {this._items.map(item => (\n <stzh-datalist-item {...item} hasNested={!!item.items}>\n {item.items && item.items.length > 0 && <stzh-datalist items={item.items}></stzh-datalist>}\n </stzh-datalist-item>\n ))}\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-7171b3a1.js","mappings":";;;;;;;;;;AAAA,MAAM,eAAe,GAAG,iuLAAiuL,CAAC;AAC1vL,2BAAe,eAAe;;MCoBjB,YAAY;;;;;;;QAwDf,WAAM,GAA4B,EAAE,CAAC;QAyErC,wBAAmB,GAAG;YAC5B,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,cAAc,EAAE;gBACjD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC;aAC7C;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,cAAc,EAAE;gBACxD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC;aAC7C;iBAAM,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO,IAAI,IAAI,CAAC,eA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0BAA0B,EAAE,IAAI,CAAC,QAAQ;YACzC,CAAC,4BAA4B,IAAI,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,gBAAgB;YAC9E,CAAC,kBAAkB,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;YAClD,CAAC,+BAA+B,IAAI,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW;SACxE,CAAC;QAEF,QACE,EAAC,IAAI,qEACW,IAAI,CAAC,gBAAgB,kBACrB,IAAI,CAAC,WAAW,EAC9B,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,IAAI;aACzE,IAED,4DAAK,KAAK,EAAE,OAAO,IACjB,4DAAK,KAAK,EAAC,wBAAwB,IACjC,4DAAK,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,MAAM,IACzC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,KACnB,0CAAwB,IAAI,IAAE,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,KAClD,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,qBAAe,KAAK,EAAE,IAAI,CAAC,KAAK,GAAkB,CACvE,CACtB,CAAC,EACF,8DAAa,CACT,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-datalist/stzh-datalist.scss?tag=stzh-datalist&encapsulation=scoped","src/components/stzh-datalist/stzh-datalist.tsx"],"sourcesContent":[":host {\n --columns: 1;\n --columns-gap: #{$gridGutter};\n --list-display: grid;\n --list-margin-right: calc(var(--columns-gap) / -1);\n --list-grid-template-columns: repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto var(--columns-gap)\n );\n --full-grid-column: 1 / 5;\n --nested-margin-left: var(--stzh-datalist-nested-margin-left, 0px);\n --details-content-width: var(--stzh-datalist-details-content-width, 100%);\n\n --grid-template-areas: var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n );\n\n --grid-template-columns: var(\n --stzh-datalist-grid-template-columns,\n #{$gridColumns}\n );\n\n margin-left: var(--nested-margin-left);\n\n @include mq($from: small) {\n --columns-gap: #{$gridGutterSmall};\n\n --grid-template-areas: var(\n --stzh-datalist-grid-template-areas,\n \"list list list list\"\n );\n }\n\n @include mq($from: medium) {\n --columns-gap: #{$gridGutterMedium};\n\n --grid-template-areas: var(\n --stzh-datalist-grid-template-areas,\n \"list list list list list list list list\"\n );\n\n --grid-template-columns: var(\n --stzh-datalist-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n @include mq($from: large) {\n --columns-gap: #{$gridGutterLarge};\n }\n\n @include mq($from: ultra) {\n --columns-gap: #{$gridGutterUltra};\n }\n // datalist-item or wrapper elements should be set to display: contents to make grid layout work.\n // in AEM edit mode: we prevent setting it, so the links can still be edited.\n\n ::slotted(.layout_column) > *:not([class*=\"cq-\"]),\n ::slotted(*:not([class*=\"cq-\"])) {\n display: contents;\n }\n\n &[is-direction=\"horizontal\"] {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );\n --full-grid-column: 1 / 6;\n\n &:where(:has(stzh-datalist-item:not([meta=\"\"]))),\n &:where(:has(stzh-datalist-item:not([status-label=\"\"]))) {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n );\n }\n }\n\n &[variant=\"table\"] {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) auto auto var(--columns-gap)\n );\n --full-grid-column: 1 / 7;\n\n &:where(:has(stzh-datalist-item:not([meta=\"\"]))),\n &:where(:has(stzh-datalist-item:not([status-label=\"\"]))) {\n --list-grid-template-columns: repeat(\n var(--columns),\n auto auto minmax(auto, 1fr) minmax(auto, 1fr) auto var(--columns-gap)\n );\n }\n }\n\n &[vertical-gap=\"small\"] {\n .stzh-datalist__list {\n grid-template-rows: auto;\n @include mq($to: medium) {\n row-gap: space(\"xsmall\");\n }\n @include mq($from: medium) {\n row-gap: space(\"xxsmall\");\n }\n }\n }\n}\n\n/* AEM edit mode: we set list as block element (always as one column), to prevent layout breaks */\n\n:host(:has([class*=\"cq-\"])) {\n --stzh-datalist-item-wrapper-display: flex;\n\n --list-display: block;\n --list-margin-right: 0;\n}\n\n.stzh-datalist {\n // offset margin of nested datalist\n --stzh-datalist-nested-margin-left: #{space(\"large\")};\n // details grid columns\n --stzh-details-content-grid-column: var(--full-grid-column);\n --stzh-details-content-padding-right: var(--columns-gap);\n --stzh-details-content-width: var(--details-content-width);\n\n @include gridGutter;\n display: grid;\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n &__wrapper {\n grid-area: list;\n overflow: visible;\n }\n\n &__list {\n display: var(--list-display);\n border-collapse: collapse;\n grid-template-columns: var(--list-grid-template-columns);\n align-items: stretch;\n margin-right: var(--list-margin-right);\n }\n\n /* Multiple Columns */\n\n &--has-multiple-columns {\n // display of nested datalist\n --stzh-datalist-item-nested-display: none;\n }\n\n /* Table variant with big label */\n\n &--table#{&}--big-label &__list {\n @include mq($to: small) {\n --list-display: flex;\n flex-direction: column;\n gap: space(\"xxxsmall\");\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport {\n StzhDatalistBigLabelChangeEvent,\n StzhDatalistDirection,\n StzhDatalistDirectionChangeEvent,\n StzhDatalistItemEntry,\n StzhDatalistVariant,\n StzhDatalistVariantChangeEvent,\n} from \"../../index\";\n\nimport { addMediaChangeListener, media, removeMediaChangeListener } from \"../../utils/media-utils\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-datalist\",\n styleUrl: \"stzh-datalist.scss\",\n scoped: true,\n})\nexport class StzhDatalist {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhDatalistVariant = \"default\";\n\n /** With big label */\n @Prop({ reflect: true }) bigLabel: boolean = false;\n\n /** Columns */\n @Prop({ reflect: true }) columns: number = 1;\n\n /** Columns above small breakpoint */\n @Prop({ reflect: true }) columnsSmall: number;\n\n /** Columns above medium breakpoint */\n @Prop({ reflect: true }) columnsMedium: number;\n\n /** Columns above large breakpoint */\n @Prop({ reflect: true }) columnsLarge: number;\n\n /** Columns above ultra breakpoint */\n @Prop({ reflect: true }) columnsUltra: number;\n\n /** Direction */\n @Prop({ reflect: true }) direction: StzhDatalistDirection = \"vertical\";\n\n /** Direction above small breakpoint */\n @Prop({ reflect: true }) directionSmall: StzhDatalistDirection;\n\n /** Direction above medium breakpoint */\n @Prop({ reflect: true }) directionMedium: StzhDatalistDirection;\n\n /** Direction above large breakpoint */\n @Prop({ reflect: true }) directionLarge: StzhDatalistDirection;\n\n /** Direction above ultra breakpoint */\n @Prop({ reflect: true }) directionUltra: StzhDatalistDirection;\n /**Vertical Gap between items */\n @Prop({ reflect: true }) verticalGap: \"default\" | \"small\" = \"default\";\n\n /**\n * Whether to disable min-width of datalist item label for the `horizontal` variant.\n *\n * If `false`, the default `min-width` is `144px` (for >= 800px) and `120px` (for < 800px).\n * If `true`, the `min-width` is `none`, so the label column, will have the width of cell with the widest content.\n *\n * You can also overwrite the label min-width via CSS with the custom property `--item-label-min-width`.\n */\n // @Prop({ reflect: true }) disableLabelMinWidth: boolean = false;\n\n /**\n * Items in datalist\n * Array of objects that must at least include `value` attribute.\n * Can optionally contain `leadingIcon`, `label`, `meta`, `icon`, `iconLabel`, `iconTooltip`, `href`, `statusLabel`, `statusType` attribute and be nested to display deeper levels:\n * `[{\"value\":\"Value 1\", \"label\": \"Label 1\"}, {\"value\":\"Value 2\", \"label\": \"Label 2\", \"items\": [...]}]`\n */\n @Prop() items: StzhDatalistItemEntry[] | string = [];\n private _items: StzhDatalistItemEntry[] = [];\n\n /** Variant attribute change event */\n @Event() stzhVariantChange: EventEmitter<StzhDatalistVariantChangeEvent>;\n\n /** Big label attribute change event */\n @Event() stzhBigLabelChange: EventEmitter<StzhDatalistBigLabelChangeEvent>;\n\n /** Direction attribute change event */\n @Event() stzhDirectionChange: EventEmitter<StzhDatalistDirectionChangeEvent>;\n\n @Element() element: HTMLStzhDatalistElement;\n\n @Watch(\"direction\")\n @Watch(\"directionSmall\")\n @Watch(\"directionMedium\")\n @Watch(\"directionLarge\")\n @Watch(\"directionUltra\")\n directionWatcher() {\n this.setCurrentDirection();\n }\n\n @Watch(\"columns\")\n @Watch(\"columnsSmall\")\n @Watch(\"columnsMedium\")\n @Watch(\"columnsLarge\")\n @Watch(\"columnsUltra\")\n columnsWatcher() {\n this.setCurrentColumns();\n }\n\n @Watch(\"currentDirection\")\n currentDirectionWatcher(newValue: StzhDatalistDirection) {\n this.stzhDirectionChange.emit({\n component: \"stzh-datalist\",\n value: newValue,\n });\n }\n\n @Watch(\"variant\")\n variantWatcher(newValue: StzhDatalistVariant) {\n this.stzhVariantChange.emit({\n component: \"stzh-datalist\",\n value: newValue,\n });\n }\n\n @Watch(\"bigLabel\")\n bigLabelWatcher(newValue: boolean) {\n this.stzhBigLabelChange.emit({\n component: \"stzh-datalist\",\n value: newValue,\n });\n }\n\n @Watch(\"items\")\n itemsWatcher(newValue: any[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n }\n\n /** Get current direction */\n @Method()\n async getCurrentDirection() {\n return this.currentDirection;\n }\n\n @State() currentColumns: number = 1;\n @State() currentDirection: StzhDatalistDirection;\n\n private setCurrentDirection = () => {\n if (media(\"ultra\").matches && this.directionUltra) {\n this.currentDirection = this.directionUltra;\n } else if (media(\"large\").matches && this.directionLarge) {\n this.currentDirection = this.directionLarge;\n } else if (media(\"medium\").matches && this.directionMedium) {\n this.currentDirection = this.directionMedium;\n } else if (media(\"small\").matches && this.directionSmall) {\n this.currentDirection = this.directionSmall;\n } else {\n this.currentDirection = this.direction;\n }\n };\n\n private setCurrentColumns = () => {\n if (media(\"ultra\").matches && this.columnsUltra) {\n this.currentColumns = this.columnsUltra;\n } else if (media(\"large\").matches && this.columnsLarge) {\n this.currentColumns = this.columnsLarge;\n } else if (media(\"medium\").matches && this.columnsMedium) {\n this.currentColumns = this.columnsMedium;\n } else if (media(\"small\").matches && this.columnsSmall) {\n this.currentColumns = this.columnsSmall;\n } else {\n this.currentColumns = this.columns;\n }\n };\n\n resizeHandler = () => {\n this.setCurrentDirection();\n this.setCurrentColumns();\n };\n\n async componentWillLoad() {\n this.itemsWatcher(this.items);\n this.bigLabelWatcher(this.bigLabel);\n this.resizeHandler();\n }\n\n connectedCallback() {\n addMediaChangeListener(this.resizeHandler);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.resizeHandler);\n }\n\n render() {\n const classes = {\n \"stzh-datalist\": true,\n \"stzh-datalist--has-multiple-columns\": this.currentColumns > 1,\n \"stzh-datalist--big-label\": this.bigLabel,\n [`stzh-datalist--direction-${this.currentDirection}`]: !!this.currentDirection,\n [`stzh-datalist--${this.variant}`]: !!this.variant,\n [`stzh-datalist--vertical-gap-${this.verticalGap}`]: !!this.verticalGap,\n };\n\n return (\n <Host\n is-direction={this.currentDirection}\n vertical-gap={this.verticalGap}\n style={{\n \"--columns\": this.currentColumns ? this.currentColumns.toString() : null,\n }}\n >\n <div class={classes}>\n <div class=\"stzh-datalist__wrapper\">\n <div class=\"stzh-datalist__list\" role=\"list\">\n {this._items.map(item => (\n <stzh-datalist-item {...item} hasNested={!!item.items}>\n {item.items && item.items.length > 0 && <stzh-datalist items={item.items}></stzh-datalist>}\n </stzh-datalist-item>\n ))}\n <slot></slot>\n </div>\n </div>\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, d as Host } from './p-8f01554b.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';
2
+ import { d as defineCustomElement$4 } from './p-42e86bbd.js';
3
+ import { d as defineCustomElement$3 } from './p-a773eb1b.js';
4
+ import { d as defineCustomElement$2 } from './p-a2659715.js';
5
+ import { d as defineCustomElement$1 } from './p-10d1bf15.js';
6
6
 
7
7
  const stzhChipCss = ".sc-stzh-chip-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h,[stzh-hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-chip-h .has-focus.sc-stzh-chip{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip{outline-style:none !important}.sc-stzh-chip-h .stzh-fylingfocus-focused.sc-stzh-chip::-moz-focus-inner{border:0 !important}.sc-stzh-chip-h{--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem;--color:var(--stzh-chip-color, var(--stzh-color-primary70));--remove-color:var(--color);--remove-border-radius:1.5rem;--background-color:var(--stzh-chip-background-color, var(--stzh-color-secondary30));--icon-size:var(--stzh-icon-size-xsmall);--icon-color:var(--color);--icon-gap:var(--stzh-space-xsmall);--counter-color:var(--color);--counter-gap:var(--stzh-space-xsmall);--hover-color:var(--stzh-chip-hover-color, var(--stzh-color-primary70));--hover-background-color:var(\n --stzh-chip-hover-background-color,\n var(--stzh-color-secondary40)\n );--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--stzh-color-primary30);--hover-icon-color:var(--hover-color);--hover-counter-color:var(--hover-color);display:inline-flex}@media screen and (min-width: 900px){.sc-stzh-chip-h{--outer-height:auto}}@media (forced-colors: active), (-ms-high-contrast: active){.sc-stzh-chip-h{--hover-color:Highlight;--hover-background-color:Canvas;--hover-remove-background-color:Canvas}}[variant=input].sc-stzh-chip-h{--background-color:var(--stzh-color-primary10);--hover-color:var(--stzh-color-primary90);--hover-background-color:var(--stzh-color-primary20)}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-color-grey90);--background-color:var(--stzh-color-grey20);--hover-color:var(--stzh-color-grey90);--hover-background-color:var(--stzh-color-grey20)}[variant=input].sc-stzh-chip-h:where([size=small]){--icon-gap:var(--stzh-space-xxsmall)}[variant=tag].sc-stzh-chip-h:where([size=small]){--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);--icon-gap:var(--stzh-space-xxsmall)}[variant=tag].sc-stzh-chip-h:where([type=warning]){--color:var(--stzh-color-warning90);--hover-color:var(--stzh-color-warning90)}[variant=tag].sc-stzh-chip-h:where([type=error]){--color:var(--stzh-color-error70);--hover-color:var(--stzh-color-error70)}[variant=tag].sc-stzh-chip-h:where([type=success]){--color:var(--stzh-color-success70);--hover-color:var(--stzh-color-success70)}[variant=tag].sc-stzh-chip-h:where([inverted]:not([inverted=false])){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey90);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey90)}[variant=tag].sc-stzh-chip-h:where([type=warning][inverted]:not([inverted=false])){--color:var(--stzh-color-black);--background-color:var(--stzh-color-warning60);--hover-color:var(--stzh-color-black);--hover-background-color:var(--stzh-color-warning60)}[variant=tag].sc-stzh-chip-h:where([type=error][inverted]:not([inverted=false])){--background-color:var(--stzh-color-error70);--hover-background-color:var(--stzh-color-error70)}[variant=tag].sc-stzh-chip-h:where([type=success][inverted]:not([inverted=false])){--background-color:var(--stzh-color-success70);--hover-background-color:var(--stzh-color-success70)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-chip-active-color, var(--stzh-color-white));--background-color:var(\n --stzh-chip-active-background-color,\n var(--stzh-color-primary70)\n );--hover-color:var(--stzh-chip-active-hover-color, var(--stzh-color-white));--hover-background-color:var(\n --stzh-chip-active-hover-background-color,\n var(--stzh-color-primary90)\n );--hover-remove-background-color:var(--stzh-color-primary90)}@media (forced-colors: active), (-ms-high-contrast: active){[active].sc-stzh-chip-h:not([active=false]){--color:Highlight;--background-color:Canvas;--hover-color:Highlight;--hover-background-color:Canvas;--hover-remove-background-color:Canvas}}[non-interactive].sc-stzh-chip-h:not([non-interactive=false]){--hover-color:var(--color);--hover-background-color:var(--background-color);--hover-remove-color:var(--remove-color);--hover-remove-background-color:transparent;--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-chip-disabled-color, var(--stzh-color-grey80));--background-color:var(\n --stzh-chip-disabled-background-color,\n var(--stzh-color-grey20)\n );--remove-color:var(--color);--icon-color:var(--color);--counter-color:var(--color);--hover-color:var(--color);--hover-background-color:var(--background-color);--hover-remove-color:var(--remove-color);--hover-remove-background-color:transparent;--hover-icon-color:var(--icon-color);--hover-counter-color:var(--counter-color)}[variant=input][disabled].sc-stzh-chip-h:not([disabled=false]){--background-color:var(--stzh-color-grey10)}.sc-stzh-chip-h:where([size=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}.sc-stzh-chip-h:where([size=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 600px) and (min-width: 900px){.sc-stzh-chip-h:where([size-small=default]){--outer-height:auto}}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){.sc-stzh-chip-h:where([size-small=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 900px) and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=default]){--outer-height:auto}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px){.sc-stzh-chip-h:where([size-medium=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 1260px) and (min-width: 900px){.sc-stzh-chip-h:where([size-large=default]){--outer-height:auto}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.sc-stzh-chip-h:where([size-large=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=default]){--font-size:var(--stzh-font-micro-font-size);--line-height:var(--stzh-font-micro-text-line-height);--letter-spacing:normal;--height:2rem;--outer-height:2.5rem;--padding-top:0;--padding-bottom:0;--padding-left:var(--stzh-space-small);--padding-right:var(--stzh-space-small);--border-radius:1rem}}@media screen and (min-width: 1600px) and (min-width: 900px){.sc-stzh-chip-h:where([size-ultra=default]){--outer-height:auto}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=small]){--font-size:var(--stzh-font-nano-font-size);--line-height:var(--stzh-font-nano-text-line-height);--letter-spacing:normal;--height:1.5rem;--border-radius:0.75rem;--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall)}}@media screen and (min-width: 1600px){.sc-stzh-chip-h:where([size-ultra=large]){--height:2.5rem;--border-radius:1.25rem;--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium)}}.stzh-chip.sc-stzh-chip{position:relative}.stzh-chip__vhidden.sc-stzh-chip{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip__button.sc-stzh-chip{font-size:var(--font-size);line-height:var(--line-height);letter-spacing:var(--letter-spacing);min-height:var(--outer-height);font-family:inherit;appearance:none;padding:0px;border:none;background-color:transparent}.stzh-chip__button.is-button.sc-stzh-chip,.stzh-chip__button.is-link.sc-stzh-chip{cursor:pointer}.stzh-chip__button-inner.sc-stzh-chip{height:var(--height);display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius);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);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-chip__label.sc-stzh-chip{text-align:left}.stzh-chip__icon-wrapper.sc-stzh-chip{--stzh-icon-size:var(--icon-size);display:flex;color:var(--icon-color);transition:color var(--stzh-base-transition-animation-speed);flex-shrink:0}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--icon-gap)}.stzh-chip__counter.sc-stzh-chip{display:flex;font-variant-numeric:tabular-nums;margin-left:var(--counter-gap);color:var(--counter-color);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:50%;transform:translateY(-50%);right:0;appearance:none;font-family:inherit;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:flex;justify-content:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__button-inner.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__button-inner.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button-inner.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";
8
8
  const StzhChipStyle0 = stzhChipCss;
@@ -110,7 +110,7 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class StzhChip extends H {
110
110
  [`stzh-chip--${this.variant}`]: !!this.variant,
111
111
  };
112
112
  const Chip = this.nonInteractive ? "div" : this.href ? "a" : "button";
113
- return (h(Host, { key: '65e333ff1871fd944718ee7c08505a00813ff29e', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '584d6a7ca664ad5e996f5d859cb3e4a1d77a1f40', class: classes }, this.removable && (h("button", { key: '5c66a71163fff90c6dfcaf99da577f05f2c1ff85', class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button", "s-object-id": this.removeAnalyticsId || this.removeLabel }, h("stzh-icon", { key: '43f9713f4519413b8abeb320cda2a3a2839fe3dc', class: "stzh-chip__remove-icon", name: "close-big" }))), this.href ? (h(Chip, { ref: el => (this.chip = el), class: {
113
+ return (h(Host, { key: '76532030ebb92f7f449438858d8ba368646b6abf', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '3fb18457d3129b90471bd8bf00d1ed97e21739f0', class: classes }, this.removable && (h("button", { key: '9e98c9fa3a954a35d68d9f6a3962ea10398295a9', class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button", "s-object-id": this.removeAnalyticsId || this.removeLabel }, h("stzh-icon", { key: 'd28f15c8baeed116dd11814acf918a4f13768be8', class: "stzh-chip__remove-icon", name: "close-big" }))), this.href ? (h(Chip, { ref: el => (this.chip = el), class: {
114
114
  "stzh-chip__button": true,
115
115
  "is-button": !this.nonInteractive && !this.href,
116
116
  "is-link": !this.nonInteractive && !!this.href,
@@ -183,4 +183,4 @@ function defineCustomElement() {
183
183
 
184
184
  export { StzhChip as S, defineCustomElement as d };
185
185
 
186
- //# sourceMappingURL=p-570cd361.js.map
186
+ //# sourceMappingURL=p-74ae8080.js.map
@@ -1 +1 @@
1
- {"file":"p-570cd361.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,23aAA23a,CAAC;AACh5a,uBAAe,WAAW;;MCoBb,QAAQ;;;;;;;;QA8FX,mBAAc,GAAY,KAAK,CAAC;QA4ChC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;aACnB;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,OA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-chip/stzh-chip.scss?tag=stzh-chip&encapsulation=scoped","src/components/stzh-chip/stzh-chip.tsx"],"sourcesContent":["@mixin chip--size-default() {\n --font-size: var(--stzh-font-micro-font-size);\n --line-height: var(--stzh-font-micro-text-line-height);\n --letter-spacing: normal;\n\n --height: 32px;\n --outer-height: 40px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: #{space(\"small\")};\n --padding-right: #{space(\"small\")};\n --border-radius: 16px;\n\n @include mq($from: medium) {\n --outer-height: auto;\n }\n}\n\n@mixin chip--size-large() {\n --height: 40px;\n --border-radius: 20px;\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n}\n\n@mixin chip--size-small() {\n --font-size: var(--stzh-font-nano-font-size);\n --line-height: var(--stzh-font-nano-text-line-height);\n --letter-spacing: normal;\n\n --height: 24px;\n --border-radius: 12px;\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n}\n\n:host {\n @include chip--size-default;\n --color: var(--stzh-chip-color, #{$colorPrimary70});\n --remove-color: var(--color);\n --remove-border-radius: 24px;\n --background-color: var(--stzh-chip-background-color, #{$colorSecondary30});\n --icon-size: #{iconSize(\"xsmall\")};\n --icon-color: var(--color);\n --icon-gap: #{space(\"xsmall\")};\n --counter-color: var(--color);\n --counter-gap: #{space(\"xsmall\")};\n\n --hover-color: var(--stzh-chip-hover-color, #{$colorPrimary70});\n --hover-background-color: var(\n --stzh-chip-hover-background-color,\n #{$colorSecondary40}\n );\n --hover-remove-color: var(--hover-color);\n --hover-remove-background-color: #{$colorPrimary30};\n --hover-icon-color: var(--hover-color);\n --hover-counter-color: var(--hover-color);\n\n display: inline-flex;\n\n @include highContrast() {\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n\n &[variant=\"input\"] {\n --background-color: #{$colorPrimary10};\n\n --hover-color: #{$colorPrimary90};\n --hover-background-color: #{$colorPrimary20};\n }\n\n &[variant=\"tag\"] {\n --color: #{$colorGrey90};\n --background-color: #{$colorGrey20};\n\n --hover-color: #{$colorGrey90};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[variant=\"input\"]:where([size=\"small\"]) {\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([size=\"small\"]) {\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"]) {\n --color: #{$colorWarning90};\n\n --hover-color: #{$colorWarning90};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"]) {\n --color: #{$colorError70};\n\n --hover-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"]) {\n --color: #{$colorSuccess70};\n\n --hover-color: #{$colorSuccess70};\n }\n\n &[variant=\"tag\"]:where([inverted]:not([inverted=\"false\"])) {\n --color: #{$colorWhite};\n --background-color: #{$colorGrey90};\n\n --hover-color: #{$colorWhite};\n --hover-background-color: #{$colorGrey90};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"][inverted]:not([inverted=\"false\"])) {\n --color: #{$colorBlack};\n --background-color: #{$colorWarning60};\n\n --hover-color: #{$colorBlack};\n --hover-background-color: #{$colorWarning60};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorError70};\n\n --hover-background-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorSuccess70};\n\n --hover-background-color: #{$colorSuccess70};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-chip-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n\n --hover-color: var(--stzh-chip-active-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-chip-active-hover-background-color,\n #{$colorPrimary90}\n );\n --hover-remove-background-color: #{$colorPrimary90};\n\n @include highContrast() {\n --color: Highlight;\n --background-color: Canvas;\n\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-chip-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-chip-disabled-background-color,\n #{$colorGrey20}\n );\n --remove-color: var(--color);\n --icon-color: var(--color);\n --counter-color: var(--color);\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[variant=\"input\"][disabled]:not([disabled=\"false\"]) {\n --background-color: #{$colorGrey10};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include chip--size-small;\n}\n\n:host(:where([size=\"large\"])) {\n @include chip--size-large;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include chip--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include chip--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"large\"])) {\n @include chip--size-large;\n }\n }\n}\n\n.stzh-chip {\n position: relative;\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__button {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n min-height: var(--outer-height);\n font-family: inherit;\n appearance: none;\n padding: 0px;\n border: none;\n background-color: transparent;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__button-inner {\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n border-radius: var(--border-radius);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n }\n\n &__label {\n text-align: left;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n display: flex;\n color: var(--icon-color);\n transition: color $baseTransitionAnimationSpeed;\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: var(--icon-gap);\n }\n }\n\n &__counter {\n display: flex;\n font-variant-numeric: tabular-nums;\n margin-left: var(--counter-gap);\n color: var(--counter-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__remove {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 0;\n appearance: none;\n font-family: inherit;\n border: none;\n background: none;\n padding: 0;\n width: var(--height);\n height: var(--height);\n border-radius: var(--remove-border-radius);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: space(\"xxsmall\");\n color: var(--remove-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-remove-color);\n background-color: var(--hover-remove-background-color);\n }\n }\n\n &__remove-icon {\n --size: #{iconSize(\"xxsmall\")};\n }\n\n &__button:hover &__button-inner,\n &__remove:hover + &__button &__button-inner {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__button:hover &__counter,\n &__remove:hover + &__button &__counter {\n color: var(--hover-counter-color);\n }\n\n &__button:hover &__icon-wrapper,\n &__remove:hover + &__button &__icon-wrapper {\n color: var(--hover-icon-color);\n }\n\n /* Removeable */\n\n &--is-removable &__button-inner {\n padding-right: calc(var(--height) + #{space(\"xxsmall\")});\n }\n\n /* Disabled */\n\n &--is-disabled &__button,\n &--is-disabled &__remove {\n cursor: not-allowed;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport {\n StzhChipBlurEvent,\n StzhChipClickEvent,\n StzhChipFocusEvent,\n StzhChipRemoveEvent,\n StzhChipSize,\n StzhChipType,\n StzhChipVariant,\n} from \"../../index\";\n\n/**\n * @slot - Slot for label\n * @slot icon - Slot for icon\n */\n@Component({\n tag: \"stzh-chip\",\n styleUrl: \"stzh-chip.scss\",\n scoped: true,\n})\nexport class StzhChip {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string;\n\n /** `href` if the chip should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether chip is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Whether remove button should be shown */\n @Prop({ reflect: true }) removable: boolean = false;\n\n /** Whether inverted style is shown (only available for `tag` variant) */\n @Prop({ reflect: true }) inverted: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: StzhChipVariant = \"tag\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhChipSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhChipSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhChipSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhChipSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhChipSize;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhChipType = \"default\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Label of remove button for screenreaders */\n @Prop() removeLabel: string = \"\";\n\n /** Active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhChipElement;\n\n /** Chip click event */\n @Event() stzhClick: EventEmitter<StzhChipClickEvent>;\n\n /** Chip remove event */\n @Event() stzhRemove: EventEmitter<StzhChipRemoveEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhChipFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhChipBlurEvent>;\n\n private chip: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.chip?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <div class=\"stzh-chip__button-inner\">\n <div class=\"stzh-chip__icon-wrapper\">\n {this.icon || (typeof this.icon === \"undefined\" && this.variant === \"tag\" && this.type !== \"default\") ? (\n <stzh-icon\n class=\"stzh-chip__icon\"\n name={\n this.icon ||\n (this.type === \"info\" && \"info-help\") ||\n (this.type === \"warning\" && \"important-warning\") ||\n (this.type === \"error\" && \"warning\") ||\n (this.type === \"success\" && \"checkmark-circle\")\n }\n ></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n </div>\n\n <stzh-clamp lines={1} class=\"stzh-chip__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <span class=\"stzh-chip__vhidden\">&nbsp;({this.counter})</span>\n )}\n </stzh-clamp>\n\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <div class=\"stzh-chip__counter\" aria-hidden=\"true\">\n {this.counter}\n </div>\n )}\n </div>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.chip.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private onRemoveClick = (event: MouseEvent) => {\n this.stzhRemove.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-chip\": true,\n \"stzh-chip--is-active\": this.active,\n \"stzh-chip--is-disabled\": this.disabled,\n \"stzh-chip--is-removable\": this.removable,\n \"stzh-chip--is-inverted\": this.inverted,\n \"stzh-chip--has-counter\": !!this.counter,\n [`stzh-chip--type-${this.type}`]: !!this.type,\n [`stzh-chip--size-${this.size}`]: !!this.size,\n [`stzh-chip--${this.variant}`]: !!this.variant,\n };\n\n const Chip = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.removable && (\n <button\n class=\"stzh-chip__remove\"\n onClick={this.onRemoveClick}\n disabled={this.disabled}\n aria-label={this.removeLabel}\n type=\"button\"\n s-object-id={this.removeAnalyticsId || this.removeLabel}\n >\n <stzh-icon class=\"stzh-chip__remove-icon\" name=\"close-big\"></stzh-icon>\n </button>\n )}\n\n {this.href ? (\n <Chip\n ref={el => (this.chip = el as HTMLAnchorElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n ) : (\n <Chip\n ref={el => (this.chip = el as HTMLButtonElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-74ae8080.js","mappings":";;;;;;AAAA,MAAM,WAAW,GAAG,23aAA23a,CAAC;AACh5a,uBAAe,WAAW;;MCoBb,QAAQ;;;;;;;;QA8FX,mBAAc,GAAY,KAAK,CAAC;QA4ChC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;aACnB;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,OA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-chip/stzh-chip.scss?tag=stzh-chip&encapsulation=scoped","src/components/stzh-chip/stzh-chip.tsx"],"sourcesContent":["@mixin chip--size-default() {\n --font-size: var(--stzh-font-micro-font-size);\n --line-height: var(--stzh-font-micro-text-line-height);\n --letter-spacing: normal;\n\n --height: 32px;\n --outer-height: 40px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: #{space(\"small\")};\n --padding-right: #{space(\"small\")};\n --border-radius: 16px;\n\n @include mq($from: medium) {\n --outer-height: auto;\n }\n}\n\n@mixin chip--size-large() {\n --height: 40px;\n --border-radius: 20px;\n --padding-left: #{space(\"medium\")};\n --padding-right: #{space(\"medium\")};\n}\n\n@mixin chip--size-small() {\n --font-size: var(--stzh-font-nano-font-size);\n --line-height: var(--stzh-font-nano-text-line-height);\n --letter-spacing: normal;\n\n --height: 24px;\n --border-radius: 12px;\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n}\n\n:host {\n @include chip--size-default;\n --color: var(--stzh-chip-color, #{$colorPrimary70});\n --remove-color: var(--color);\n --remove-border-radius: 24px;\n --background-color: var(--stzh-chip-background-color, #{$colorSecondary30});\n --icon-size: #{iconSize(\"xsmall\")};\n --icon-color: var(--color);\n --icon-gap: #{space(\"xsmall\")};\n --counter-color: var(--color);\n --counter-gap: #{space(\"xsmall\")};\n\n --hover-color: var(--stzh-chip-hover-color, #{$colorPrimary70});\n --hover-background-color: var(\n --stzh-chip-hover-background-color,\n #{$colorSecondary40}\n );\n --hover-remove-color: var(--hover-color);\n --hover-remove-background-color: #{$colorPrimary30};\n --hover-icon-color: var(--hover-color);\n --hover-counter-color: var(--hover-color);\n\n display: inline-flex;\n\n @include highContrast() {\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n\n &[variant=\"input\"] {\n --background-color: #{$colorPrimary10};\n\n --hover-color: #{$colorPrimary90};\n --hover-background-color: #{$colorPrimary20};\n }\n\n &[variant=\"tag\"] {\n --color: #{$colorGrey90};\n --background-color: #{$colorGrey20};\n\n --hover-color: #{$colorGrey90};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[variant=\"input\"]:where([size=\"small\"]) {\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([size=\"small\"]) {\n --padding-left: #{space(\"xsmall\")};\n --padding-right: #{space(\"xsmall\")};\n --icon-gap: #{space(\"xxsmall\")};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"]) {\n --color: #{$colorWarning90};\n\n --hover-color: #{$colorWarning90};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"]) {\n --color: #{$colorError70};\n\n --hover-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"]) {\n --color: #{$colorSuccess70};\n\n --hover-color: #{$colorSuccess70};\n }\n\n &[variant=\"tag\"]:where([inverted]:not([inverted=\"false\"])) {\n --color: #{$colorWhite};\n --background-color: #{$colorGrey90};\n\n --hover-color: #{$colorWhite};\n --hover-background-color: #{$colorGrey90};\n }\n\n &[variant=\"tag\"]:where([type=\"warning\"][inverted]:not([inverted=\"false\"])) {\n --color: #{$colorBlack};\n --background-color: #{$colorWarning60};\n\n --hover-color: #{$colorBlack};\n --hover-background-color: #{$colorWarning60};\n }\n\n &[variant=\"tag\"]:where([type=\"error\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorError70};\n\n --hover-background-color: #{$colorError70};\n }\n\n &[variant=\"tag\"]:where([type=\"success\"][inverted]:not([inverted=\"false\"])) {\n --background-color: #{$colorSuccess70};\n\n --hover-background-color: #{$colorSuccess70};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-chip-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-chip-active-background-color,\n #{$colorPrimary70}\n );\n\n --hover-color: var(--stzh-chip-active-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-chip-active-hover-background-color,\n #{$colorPrimary90}\n );\n --hover-remove-background-color: #{$colorPrimary90};\n\n @include highContrast() {\n --color: Highlight;\n --background-color: Canvas;\n\n --hover-color: Highlight;\n --hover-background-color: Canvas;\n --hover-remove-background-color: Canvas;\n }\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-chip-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-chip-disabled-background-color,\n #{$colorGrey20}\n );\n --remove-color: var(--color);\n --icon-color: var(--color);\n --counter-color: var(--color);\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n --hover-remove-color: var(--remove-color);\n --hover-remove-background-color: transparent;\n --hover-icon-color: var(--icon-color);\n --hover-counter-color: var(--counter-color);\n }\n\n &[variant=\"input\"][disabled]:not([disabled=\"false\"]) {\n --background-color: #{$colorGrey10};\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include chip--size-small;\n}\n\n:host(:where([size=\"large\"])) {\n @include chip--size-large;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include chip--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include chip--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"large\"])) {\n @include chip--size-large;\n }\n }\n}\n\n.stzh-chip {\n position: relative;\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__button {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n min-height: var(--outer-height);\n font-family: inherit;\n appearance: none;\n padding: 0px;\n border: none;\n background-color: transparent;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n }\n\n &__button-inner {\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n border-radius: var(--border-radius);\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n }\n\n &__label {\n text-align: left;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n display: flex;\n color: var(--icon-color);\n transition: color $baseTransitionAnimationSpeed;\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: var(--icon-gap);\n }\n }\n\n &__counter {\n display: flex;\n font-variant-numeric: tabular-nums;\n margin-left: var(--counter-gap);\n color: var(--counter-color);\n transition: color $baseTransitionAnimationSpeed;\n }\n\n &__remove {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n right: 0;\n appearance: none;\n font-family: inherit;\n border: none;\n background: none;\n padding: 0;\n width: var(--height);\n height: var(--height);\n border-radius: var(--remove-border-radius);\n display: flex;\n justify-content: center;\n align-items: center;\n margin-left: space(\"xxsmall\");\n color: var(--remove-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-remove-color);\n background-color: var(--hover-remove-background-color);\n }\n }\n\n &__remove-icon {\n --size: #{iconSize(\"xxsmall\")};\n }\n\n &__button:hover &__button-inner,\n &__remove:hover + &__button &__button-inner {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__button:hover &__counter,\n &__remove:hover + &__button &__counter {\n color: var(--hover-counter-color);\n }\n\n &__button:hover &__icon-wrapper,\n &__remove:hover + &__button &__icon-wrapper {\n color: var(--hover-icon-color);\n }\n\n /* Removeable */\n\n &--is-removable &__button-inner {\n padding-right: calc(var(--height) + #{space(\"xxsmall\")});\n }\n\n /* Disabled */\n\n &--is-disabled &__button,\n &--is-disabled &__remove {\n cursor: not-allowed;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport {\n StzhChipBlurEvent,\n StzhChipClickEvent,\n StzhChipFocusEvent,\n StzhChipRemoveEvent,\n StzhChipSize,\n StzhChipType,\n StzhChipVariant,\n} from \"../../index\";\n\n/**\n * @slot - Slot for label\n * @slot icon - Slot for icon\n */\n@Component({\n tag: \"stzh-chip\",\n styleUrl: \"stzh-chip.scss\",\n scoped: true,\n})\nexport class StzhChip {\n /** Label */\n @Prop() label: string = \"\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string;\n\n /** `href` if the chip should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether chip is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Whether remove button should be shown */\n @Prop({ reflect: true }) removable: boolean = false;\n\n /** Whether inverted style is shown (only available for `tag` variant) */\n @Prop({ reflect: true }) inverted: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: StzhChipVariant = \"tag\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhChipSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhChipSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhChipSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhChipSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhChipSize;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhChipType = \"default\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Label of remove button for screenreaders */\n @Prop() removeLabel: string = \"\";\n\n /** Active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhChipElement;\n\n /** Chip click event */\n @Event() stzhClick: EventEmitter<StzhChipClickEvent>;\n\n /** Chip remove event */\n @Event() stzhRemove: EventEmitter<StzhChipRemoveEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhChipFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhChipBlurEvent>;\n\n private chip: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.chip?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <div class=\"stzh-chip__button-inner\">\n <div class=\"stzh-chip__icon-wrapper\">\n {this.icon || (typeof this.icon === \"undefined\" && this.variant === \"tag\" && this.type !== \"default\") ? (\n <stzh-icon\n class=\"stzh-chip__icon\"\n name={\n this.icon ||\n (this.type === \"info\" && \"info-help\") ||\n (this.type === \"warning\" && \"important-warning\") ||\n (this.type === \"error\" && \"warning\") ||\n (this.type === \"success\" && \"checkmark-circle\")\n }\n ></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n </div>\n\n <stzh-clamp lines={1} class=\"stzh-chip__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <span class=\"stzh-chip__vhidden\">&nbsp;({this.counter})</span>\n )}\n </stzh-clamp>\n\n {this.counter && this.counter !== \"undefined\" && this.counter !== undefined && (\n <div class=\"stzh-chip__counter\" aria-hidden=\"true\">\n {this.counter}\n </div>\n )}\n </div>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.chip.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n private onRemoveClick = (event: MouseEvent) => {\n this.stzhRemove.emit({\n component: \"stzh-chip\",\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-chip\": true,\n \"stzh-chip--is-active\": this.active,\n \"stzh-chip--is-disabled\": this.disabled,\n \"stzh-chip--is-removable\": this.removable,\n \"stzh-chip--is-inverted\": this.inverted,\n \"stzh-chip--has-counter\": !!this.counter,\n [`stzh-chip--type-${this.type}`]: !!this.type,\n [`stzh-chip--size-${this.size}`]: !!this.size,\n [`stzh-chip--${this.variant}`]: !!this.variant,\n };\n\n const Chip = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.removable && (\n <button\n class=\"stzh-chip__remove\"\n onClick={this.onRemoveClick}\n disabled={this.disabled}\n aria-label={this.removeLabel}\n type=\"button\"\n s-object-id={this.removeAnalyticsId || this.removeLabel}\n >\n <stzh-icon class=\"stzh-chip__remove-icon\" name=\"close-big\"></stzh-icon>\n </button>\n )}\n\n {this.href ? (\n <Chip\n ref={el => (this.chip = el as HTMLAnchorElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n ) : (\n <Chip\n ref={el => (this.chip = el as HTMLButtonElement)}\n class={{\n \"stzh-chip__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Chip>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
1
  import { p as proxyCustomElement, H, h, d as Host } from './p-8f01554b.js';
2
2
  import { S as StzhSocialmediastreamItemActionVariant } from './p-f5779736.js';
3
- import { d as defineCustomElement$3 } from './p-7c4e756c.js';
4
- import { d as defineCustomElement$2 } from './p-36fb6c94.js';
5
- import { d as defineCustomElement$1 } from './p-63c4d8c4.js';
3
+ import { d as defineCustomElement$3 } from './p-a2659715.js';
4
+ import { d as defineCustomElement$2 } from './p-85745626.js';
5
+ import { d as defineCustomElement$1 } from './p-ace11500.js';
6
6
 
7
7
  const stzhSocialmediastreamItemCss = ":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-socialmediastream-item{display:block;background-color:var(--stzh-color-grey10);text-decoration:none;color:var(--stzh-color-grey80);}.stzh-socialmediastream-item:visited{color:var(--stzh-color-grey80)}.stzh-socialmediastream-item:hover{background-color:var(--stzh-color-secondary10);color:var(--stzh-color-black)}.stzh-socialmediastream-item__image{position:relative}.stzh-socialmediastream-item__ratio{--background-color:var(--image-background-color)}.stzh-socialmediastream-item__image-inner-wrapper{background-color:var(--image-background-color);position:absolute;inset:0;height:100%}.stzh-socialmediastream-item__image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stzh-socialmediastream-item__content{padding:var(--stzh-space-xsmall) var(--stzh-space-medium) var(--stzh-space-small);display:flex;flex-direction:column;gap:var(--stzh-space-small)}.stzh-socialmediastream-item__content-head{display:flex;align-items:center}.stzh-socialmediastream-item__content-head stzh-icon{--color:var(--stzh-color-primary)}.stzh-socialmediastream-item__content-title{width:100%;--color:var(--stzh-color-grey80)}.stzh-socialmediastream-item:hover .stzh-socialmediastream-item__content-title{--color:var(--stzh-color-black)}.stzh-socialmediastream-item__content-body{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-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);--color:var(--stzh-color-grey80)}.stzh-socialmediastream-item__content-body a{word-wrap:break-word;color:var(--stzh-link-color)}.stzh-socialmediastream-item__content-body a:hover{color:var(--stzh-link-hover-color)}.stzh-socialmediastream-item__content-body a+a{margin-left:var(--stzh-space-xxsmall)}.stzh-socialmediastream-item__content-footer{display:flex;align-items:center;gap:var(--stzh-space-small)}.stzh-socialmediastream-item__action{text-decoration:none;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);color:var(--stzh-link-color);display:flex;align-items:center;gap:var(--stzh-space-xxsmall);line-height:1}.stzh-socialmediastream-item__action:hover{color:var(--stzh-link-hover-color)}.stzh-socialmediastream-item__action stzh-icon{--size:1rem}";
8
8
  const StzhSocialmediastreamItemStyle0 = stzhSocialmediastreamItemCss;
@@ -81,7 +81,7 @@ const StzhSocialmediastreamItem = /*@__PURE__*/ proxyCustomElement(class StzhSoc
81
81
  const classes = {
82
82
  "stzh-socialmediastream-item": true,
83
83
  };
84
- return (h(Host, { key: 'a2db53c89224f5db81b9aabcf1ee6375294d7446' }, h("a", { key: 'ca521339ebbbb64466275bb2ae17726607ec2178', class: classes, href: this._item.link, target: "_blank" }, this._item.image && (h("div", { key: '02b7ec3cc7ab92a2ecb59167f1a32721ece3405b', class: "stzh-socialmediastream-item__image" }, h("stzh-ratio", { key: '66111e4bb0e6daea944f7410a692560e42238b43', ratio: "1:1" }), h("div", { key: 'baa7fdba65b5a6144615c5349661708f9e3efdea', class: "stzh-socialmediastream-item__image-inner-wrapper" }, h("img", { key: '029b2d40c233eca33502f3369a4d37a2587acb87', src: this._item.image, alt: this._item.account.title })))), h("div", { key: '6928ef7b63c9e7026aeecc632aa84aaf51e0826c', class: "stzh-socialmediastream-item__content" }, h("div", { key: '7100f1db4726db79982da3c801dec9a77817c0eb', class: "stzh-socialmediastream-item__content-head" }, h("stzh-text", { key: '1bc8ad7d81fb8ad0fbdecd2a28190f695121d485', size: "nano", class: "stzh-socialmediastream-item__content-title" }, h("strong", { key: 'e11d2ea1c02376b23c9badc5858b246fcd3235b9' }, this._item.account.title), h("br", { key: '5e527a82280db5b1890836f26b04aa3439376759' }), this.dateAdapter.format(this.getParsedDate(this._item.date), "dateInput")), h("stzh-icon", { key: '1774cda6ba51958bec13cd4ba724cd513ebebc32', name: this.getIconName(this._item) })), h("div", { key: 'f7900847ad81fa65f625de40e839adf32433403b', class: "stzh-socialmediastream-item__content-body", innerHTML: this._item.text }), h("div", { key: '730c56fcf7d1bfac01dd18567c15021de211d77e', class: "stzh-socialmediastream-item__content-footer 1q23" }, this._item.actions &&
84
+ return (h(Host, { key: '451ffb4531182b23e3fdc6c0c784431b913907b5' }, h("a", { key: 'd44e214ac6a78e5f692ce6ad08638c8b5acd7c9d', class: classes, href: this._item.link, target: "_blank" }, this._item.image && (h("div", { key: '6155711535ac95e0191089033e4049ff13019bf0', class: "stzh-socialmediastream-item__image" }, h("stzh-ratio", { key: '500fc5fb9824e7f304e0f54eda0b82a81fbf4ed9', ratio: "1:1" }), h("div", { key: '0aa89a95f31dad77eee8fb87a6a6b64749f0a1cd', class: "stzh-socialmediastream-item__image-inner-wrapper" }, h("img", { key: 'c358e286c315bb7eb083acfc67a983b4fdbf1f9e', src: this._item.image, alt: this._item.account.title })))), h("div", { key: 'a71b06f04bf6e6df8f41a15438a16195473b3228', class: "stzh-socialmediastream-item__content" }, h("div", { key: 'bc4e20c47f08d1fe010d43882d268dff1adb3643', class: "stzh-socialmediastream-item__content-head" }, h("stzh-text", { key: 'fc2f2d52cb3dc36ae35b028c624c418564a09aae', size: "nano", class: "stzh-socialmediastream-item__content-title" }, h("strong", { key: '30066db3b5ca863902140a7829e0b6bb1d4b1b14' }, this._item.account.title), h("br", { key: 'cd515f69421007de450ed88dffe7c4ba92ca5889' }), this.dateAdapter.format(this.getParsedDate(this._item.date), "dateInput")), h("stzh-icon", { key: '50e23b1d0d1073e37e7b1c71fe073a5951516820', name: this.getIconName(this._item) })), h("div", { key: '0ff6ecf0e3fe75cc0f0b6d549b51480029d84784', class: "stzh-socialmediastream-item__content-body", innerHTML: this._item.text }), h("div", { key: 'c862b9ebf610d71241ca80439df051bcd917da54', class: "stzh-socialmediastream-item__content-footer 1q23" }, this._item.actions &&
85
85
  this._item.actions.map(action => (h("a", { href: action.url, title: action.title, class: "stzh-socialmediastream-item__action", target: "_blank" }, h("stzh-icon", { name: this.getActionIconName(action.variant) }), action.count))))))));
86
86
  }
87
87
  get element() { return this; }
@@ -127,4 +127,4 @@ function defineCustomElement() {
127
127
 
128
128
  export { StzhSocialmediastreamItem as S, defineCustomElement as d };
129
129
 
130
- //# sourceMappingURL=p-02c5b1ba.js.map
130
+ //# sourceMappingURL=p-78546000.js.map