@oiz/stzh-components 4.12.1 → 4.13.0-beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1081) hide show
  1. package/dist/cjs/{index-Cj3dPOnE.js → index-DLshBNi6.js} +4 -45
  2. package/dist/cjs/index-DLshBNi6.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +5 -5
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +11 -11
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +6 -6
  7. package/dist/cjs/stzh-amount.cjs.entry.js +2 -2
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +2 -2
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +21 -11
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +5 -5
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +5 -5
  14. package/dist/cjs/stzh-banner.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +3 -3
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +3 -3
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +8 -8
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +4 -4
  23. package/dist/cjs/stzh-chart.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +36 -6
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +6 -6
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +9 -9
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +3 -3
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +2 -2
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact-cv.cjs.entry.js +2 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js +2 -2
  33. package/dist/cjs/stzh-container_2.cjs.entry.js +3 -3
  34. package/dist/cjs/stzh-content.cjs.entry.js +2 -2
  35. package/dist/cjs/stzh-cta.cjs.entry.js +3 -3
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +5 -5
  37. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
  38. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +2 -2
  39. package/dist/cjs/stzh-datatable.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +42 -12
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +3 -3
  42. package/dist/cjs/stzh-details.cjs.entry.js +3 -3
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +4 -4
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +7 -7
  46. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventinfo.cjs.entry.js +4 -5
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +3 -3
  51. package/dist/cjs/stzh-figure.cjs.entry.js +3 -3
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-footer.cjs.entry.js +6 -5
  54. package/dist/cjs/stzh-gallery.cjs.entry.js +2 -2
  55. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +4 -4
  56. package/dist/cjs/stzh-ghettobox.cjs.entry.js +3 -3
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +5 -5
  58. package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
  59. package/dist/cjs/stzh-homepage-search.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +4 -4
  61. package/dist/cjs/stzh-hr.cjs.entry.js +2 -2
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +3 -3
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +2 -2
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +5 -5
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +3 -3
  66. package/dist/cjs/{stzh-input-description-IeBc75qD.js → stzh-input-description-CSsYU8AB.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-IeBc75qD.js.map → stzh-input-description-CSsYU8AB.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +31 -36
  69. package/dist/cjs/stzh-invert.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-link.cjs.entry.js +3 -3
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +3 -3
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +3 -3
  73. package/dist/cjs/stzh-loader.cjs.entry.js +2 -2
  74. package/dist/cjs/stzh-loadingbar.cjs.entry.js +2 -2
  75. package/dist/cjs/stzh-menu_2.cjs.entry.js +4 -4
  76. package/dist/cjs/stzh-message.cjs.entry.js +3 -3
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +2 -2
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +2 -2
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +2 -2
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +2 -2
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +2 -2
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +3 -3
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +4 -4
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +3 -3
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +3 -3
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +3 -3
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +3 -3
  90. package/dist/cjs/stzh-pi-quote.cjs.entry.js +2 -2
  91. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +2 -2
  92. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +3 -3
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +3 -3
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +4 -4
  97. package/dist/cjs/stzh-quote.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-rating.cjs.entry.js +37 -9
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +4 -4
  101. package/dist/cjs/stzh-richtext.cjs.entry.js +2 -2
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +3 -3
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +3 -3
  104. package/dist/cjs/stzh-search.cjs.entry.js +4 -4
  105. package/dist/cjs/stzh-section.cjs.entry.js +4 -4
  106. package/dist/cjs/stzh-show.cjs.entry.js +3 -3
  107. package/dist/cjs/stzh-sitemap.cjs.entry.js +2 -2
  108. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +2 -2
  109. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +2 -2
  110. package/dist/cjs/stzh-skiplink.cjs.entry.js +2 -2
  111. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +2 -2
  112. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +3 -3
  113. package/dist/cjs/stzh-stepper-item.cjs.entry.js +4 -4
  114. package/dist/cjs/stzh-stepper.cjs.entry.js +4 -4
  115. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +3 -3
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +3 -3
  117. package/dist/cjs/stzh-table.cjs.entry.js +3 -3
  118. package/dist/cjs/stzh-text.cjs.entry.js +3 -3
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +3 -3
  121. package/dist/cjs/stzh-timeline.cjs.entry.js +2 -2
  122. package/dist/cjs/stzh-timepicker.cjs.entry.js +2 -2
  123. package/dist/cjs/stzh-toast_2.cjs.entry.js +5 -5
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +36 -7
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -3
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +3 -3
  127. package/dist/cjs/stzh-upload.cjs.entry.js +37 -8
  128. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +2 -2
  131. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +3 -3
  135. package/dist/cjs/stzh-vspace.cjs.entry.js +3 -3
  136. package/dist/cjs/stzh-youtube.cjs.entry.js +2 -2
  137. package/dist/cjs/{utils-BtvTjHH2.js → utils-CjJm84Uq.js} +59 -2
  138. package/dist/cjs/utils-CjJm84Uq.js.map +1 -0
  139. package/dist/collection/assets/i18n/fr.json +460 -0
  140. package/dist/collection/assets/i18n/it.json +461 -0
  141. package/dist/collection/assets/media/icons/mono/easy-read.svg +1 -0
  142. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +2 -3
  143. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js.map +1 -1
  144. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +4 -0
  145. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  146. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  147. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  148. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  149. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  150. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  151. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  152. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  153. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  155. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  156. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  157. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +12 -2
  158. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  159. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +2 -2
  160. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +2 -2
  161. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  162. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -1
  163. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -0
  164. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  165. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  166. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +5 -6
  167. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  168. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  169. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  170. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  171. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -1
  172. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  173. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  174. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  175. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  176. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  177. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  178. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  179. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  180. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  181. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  182. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  183. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  184. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  185. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  186. package/dist/collection/components/stzh-appointments/stzh-appointments.js +23 -14
  187. package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
  188. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +53 -27
  189. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  190. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  191. package/dist/collection/components/stzh-banner/stzh-banner.js +1 -1
  192. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  193. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  194. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  195. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  196. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  197. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
  198. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  199. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +10 -42
  200. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  201. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  202. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  203. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  204. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +40 -4
  205. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  206. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +12 -0
  207. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  208. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  209. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  210. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +5 -5
  211. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  212. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  213. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  214. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  215. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  216. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  217. package/dist/collection/components/stzh-cta/stzh-cta.js.map +1 -1
  218. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  219. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  220. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  221. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  222. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  223. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  224. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  225. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  226. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  227. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  228. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  229. package/dist/collection/components/stzh-footer/stzh-footer.css +12 -0
  230. package/dist/collection/components/stzh-footer/stzh-footer.js +7 -6
  231. package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
  232. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +9 -2
  233. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  234. package/dist/collection/components/stzh-header/stzh-header.css +1 -1
  235. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  236. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  237. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  238. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  239. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  240. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  241. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  242. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  243. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  244. package/dist/collection/components/stzh-input/stzh-input.js +29 -34
  245. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  246. package/dist/collection/components/stzh-input/stzh-input.stories.js +32 -9
  247. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  248. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  249. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  250. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  251. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  252. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  253. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  254. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  255. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  256. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  257. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  258. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  259. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  260. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  261. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  262. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  263. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  264. package/dist/collection/components/stzh-radio/stzh-radio.js +40 -4
  265. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  266. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +13 -1
  267. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  268. package/dist/collection/components/stzh-rating/stzh-rating.js +39 -9
  269. package/dist/collection/components/stzh-rating/stzh-rating.js.map +1 -1
  270. package/dist/collection/components/stzh-rating/stzh-rating.stories.js +11 -0
  271. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  272. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  273. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  274. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  275. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  276. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  277. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  278. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  279. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  280. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  281. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  282. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  283. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  284. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  285. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  286. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  287. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  288. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  289. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  290. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  291. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  292. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  293. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  294. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  295. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  296. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  297. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  298. package/dist/collection/components/stzh-toggle/stzh-toggle.js +40 -5
  299. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  300. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +15 -0
  301. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  302. package/dist/collection/components/stzh-upload/stzh-upload.js +37 -6
  303. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  304. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +9 -0
  305. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  306. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  307. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  308. package/dist/collection/global/js/script.js +1 -1
  309. package/dist/collection/utils/utils.js +56 -0
  310. package/dist/collection/utils/utils.js.map +1 -1
  311. package/dist/components/index.js +2 -2
  312. package/dist/components/{p-cNHNXCvC.js → p-0Lt3woCB.js} +10 -10
  313. package/dist/components/{p-cNHNXCvC.js.map → p-0Lt3woCB.js.map} +1 -1
  314. package/dist/components/{p-CHL7PZWx.js → p-4bFqfRjC.js} +5 -5
  315. package/dist/components/{p-CHL7PZWx.js.map → p-4bFqfRjC.js.map} +1 -1
  316. package/dist/components/{p-D4BnQdqZ.js → p-9KM31mTj.js} +5 -5
  317. package/dist/components/{p-D4BnQdqZ.js.map → p-9KM31mTj.js.map} +1 -1
  318. package/dist/components/{p-jcnUY7bc.js → p-B-Ox_M1g.js} +5 -5
  319. package/dist/components/{p-jcnUY7bc.js.map → p-B-Ox_M1g.js.map} +1 -1
  320. package/dist/components/{p-BROnohFy.js → p-B3JVg6wh.js} +7 -7
  321. package/dist/components/{p-BROnohFy.js.map → p-B3JVg6wh.js.map} +1 -1
  322. package/dist/components/{p-BJXTTK_V.js → p-B3JgyjD6.js} +5 -5
  323. package/dist/components/{p-BJXTTK_V.js.map → p-B3JgyjD6.js.map} +1 -1
  324. package/dist/components/{p-BKIlDLNH.js → p-B446UYGz.js} +4 -4
  325. package/dist/components/{p-BKIlDLNH.js.map → p-B446UYGz.js.map} +1 -1
  326. package/dist/components/{p-Cqgkebne.js → p-BAcc6I3E.js} +4 -4
  327. package/dist/components/{p-Cqgkebne.js.map → p-BAcc6I3E.js.map} +1 -1
  328. package/dist/components/{p-C_jR89kU.js → p-BAn4Ipj9.js} +8 -8
  329. package/dist/components/{p-C_jR89kU.js.map → p-BAn4Ipj9.js.map} +1 -1
  330. package/dist/components/{p-DF6aCFVH.js → p-BDTQkRkl.js} +4 -4
  331. package/dist/components/{p-DF6aCFVH.js.map → p-BDTQkRkl.js.map} +1 -1
  332. package/dist/components/{p-BVyHe4zB.js → p-BDyLmXTF.js} +12 -12
  333. package/dist/components/{p-BVyHe4zB.js.map → p-BDyLmXTF.js.map} +1 -1
  334. package/dist/components/{p-C7bl96a5.js → p-BE4EipE7.js} +10 -10
  335. package/dist/components/p-BE4EipE7.js.map +1 -0
  336. package/dist/components/{p-U00jMEtY.js → p-BHup0e1i.js} +12 -12
  337. package/dist/components/{p-U00jMEtY.js.map → p-BHup0e1i.js.map} +1 -1
  338. package/dist/components/{p-Nj7vgfBU.js → p-BJz42pna.js} +9 -9
  339. package/dist/components/{p-Nj7vgfBU.js.map → p-BJz42pna.js.map} +1 -1
  340. package/dist/components/{p-Bnxt1olk.js → p-BNb1mC_F.js} +7 -7
  341. package/dist/components/{p-Bnxt1olk.js.map → p-BNb1mC_F.js.map} +1 -1
  342. package/dist/components/{p-CXxKSOOe.js → p-BdBBC-64.js} +8 -8
  343. package/dist/components/{p-CXxKSOOe.js.map → p-BdBBC-64.js.map} +1 -1
  344. package/dist/components/{p-BNRtW-oE.js → p-Bi0j3C9E.js} +6 -6
  345. package/dist/components/{p-BNRtW-oE.js.map → p-Bi0j3C9E.js.map} +1 -1
  346. package/dist/components/{p-BOLjzZGE.js → p-C1Uf6vu2.js} +4 -4
  347. package/dist/components/{p-BOLjzZGE.js.map → p-C1Uf6vu2.js.map} +1 -1
  348. package/dist/components/{p-CnS9iJUS.js → p-C5ORTu7L.js} +5 -5
  349. package/dist/components/{p-CnS9iJUS.js.map → p-C5ORTu7L.js.map} +1 -1
  350. package/dist/components/{p-D7YAOnX0.js → p-CDOLFG2o.js} +8 -8
  351. package/dist/components/{p-D7YAOnX0.js.map → p-CDOLFG2o.js.map} +1 -1
  352. package/dist/components/{p-CqIeGIYq.js → p-CIG3atcV.js} +5 -5
  353. package/dist/components/{p-CqIeGIYq.js.map → p-CIG3atcV.js.map} +1 -1
  354. package/dist/components/{p-BmZW5NzL.js → p-CJgyNq5X.js} +44 -12
  355. package/dist/components/p-CJgyNq5X.js.map +1 -0
  356. package/dist/components/{p-RvRbhcRQ.js → p-CSdlcHhO.js} +11 -11
  357. package/dist/components/{p-RvRbhcRQ.js.map → p-CSdlcHhO.js.map} +1 -1
  358. package/dist/components/{p-BW2gjhHd.js → p-CTF0VXbD.js} +11 -11
  359. package/dist/components/{p-BW2gjhHd.js.map → p-CTF0VXbD.js.map} +1 -1
  360. package/dist/components/{p-B3K72yyt.js → p-CWohC9WI.js} +4 -4
  361. package/dist/components/{p-B3K72yyt.js.map → p-CWohC9WI.js.map} +1 -1
  362. package/dist/components/{p-x2lzAuxg.js → p-CbIALTef.js} +3 -3
  363. package/dist/components/{p-x2lzAuxg.js.map → p-CbIALTef.js.map} +1 -1
  364. package/dist/components/{p-DfpWfXtU.js → p-CfO-Zm5r.js} +10 -10
  365. package/dist/components/{p-DfpWfXtU.js.map → p-CfO-Zm5r.js.map} +1 -1
  366. package/dist/components/{p-LMO8z7aY.js → p-Cg2CourL.js} +10 -10
  367. package/dist/components/{p-LMO8z7aY.js.map → p-Cg2CourL.js.map} +1 -1
  368. package/dist/components/{p-p0_NS-tW.js → p-CgcoSQbB.js} +4 -4
  369. package/dist/components/{p-p0_NS-tW.js.map → p-CgcoSQbB.js.map} +1 -1
  370. package/dist/components/{p-B7_vqC4s.js → p-CrQrHbCR.js} +7 -7
  371. package/dist/components/{p-B7_vqC4s.js.map → p-CrQrHbCR.js.map} +1 -1
  372. package/dist/components/{p-D1qHu5Qi.js → p-CxqE2nhG.js} +7 -7
  373. package/dist/components/{p-D1qHu5Qi.js.map → p-CxqE2nhG.js.map} +1 -1
  374. package/dist/components/{p-CUg-9OV-.js → p-CyByUFaI.js} +5 -5
  375. package/dist/components/{p-CUg-9OV-.js.map → p-CyByUFaI.js.map} +1 -1
  376. package/dist/components/{p-CC0Gv1-E.js → p-D-Yirlnl.js} +4 -4
  377. package/dist/components/{p-CC0Gv1-E.js.map → p-D-Yirlnl.js.map} +1 -1
  378. package/dist/components/{p-COE06LBm.js → p-D1f9K1WI.js} +4 -4
  379. package/dist/components/{p-COE06LBm.js.map → p-D1f9K1WI.js.map} +1 -1
  380. package/dist/components/{p-AGCnIH-Q.js → p-D653Lsik.js} +4 -4
  381. package/dist/components/{p-AGCnIH-Q.js.map → p-D653Lsik.js.map} +1 -1
  382. package/dist/components/{p-DgsPcRuX.js → p-D8P4IANZ.js} +6 -6
  383. package/dist/components/{p-DgsPcRuX.js.map → p-D8P4IANZ.js.map} +1 -1
  384. package/dist/components/{p-B1ilR8O2.js → p-D8sqmC0t.js} +5 -5
  385. package/dist/components/{p-B1ilR8O2.js.map → p-D8sqmC0t.js.map} +1 -1
  386. package/dist/components/{p-DStLZwaI.js → p-D8xZNR0-.js} +44 -12
  387. package/dist/components/p-D8xZNR0-.js.map +1 -0
  388. package/dist/components/{p-CN5apKPb.js → p-DBHUqFOB.js} +59 -3
  389. package/dist/components/p-DBHUqFOB.js.map +1 -0
  390. package/dist/components/{p-BdnKcZer.js → p-DI3R5qMv.js} +15 -15
  391. package/dist/components/{p-BdnKcZer.js.map → p-DI3R5qMv.js.map} +1 -1
  392. package/dist/components/{p-Chfmq0ty.js → p-DK163sow.js} +4 -4
  393. package/dist/components/{p-Chfmq0ty.js.map → p-DK163sow.js.map} +1 -1
  394. package/dist/components/{p-CjzcK4cD.js → p-DYbJOAOh.js} +7 -7
  395. package/dist/components/{p-CjzcK4cD.js.map → p-DYbJOAOh.js.map} +1 -1
  396. package/dist/components/{p-IifQDlUC.js → p-D_9Bm_mQ.js} +4 -4
  397. package/dist/components/{p-IifQDlUC.js.map → p-D_9Bm_mQ.js.map} +1 -1
  398. package/dist/components/{p-CB6SGGWh.js → p-DgLT1h5X.js} +18 -18
  399. package/dist/components/{p-CB6SGGWh.js.map → p-DgLT1h5X.js.map} +1 -1
  400. package/dist/components/{p-a_AFmDN-.js → p-DgdayHzY.js} +17 -17
  401. package/dist/components/{p-a_AFmDN-.js.map → p-DgdayHzY.js.map} +1 -1
  402. package/dist/components/{p-G6s0H-yQ.js → p-DhDUHSh7.js} +38 -43
  403. package/dist/components/p-DhDUHSh7.js.map +1 -0
  404. package/dist/components/{p-gRw8yRKG.js → p-Div6COxG.js} +5 -5
  405. package/dist/components/{p-gRw8yRKG.js.map → p-Div6COxG.js.map} +1 -1
  406. package/dist/components/{p-CLg_b_CM.js → p-DmbPNk49.js} +4 -4
  407. package/dist/components/{p-CLg_b_CM.js.map → p-DmbPNk49.js.map} +1 -1
  408. package/dist/components/{p-Yktwo3G-.js → p-Dn7rMHvA.js} +4 -4
  409. package/dist/components/{p-Yktwo3G-.js.map → p-Dn7rMHvA.js.map} +1 -1
  410. package/dist/components/{p-uzlslKFU.js → p-DoIM1--x.js} +9 -9
  411. package/dist/components/{p-uzlslKFU.js.map → p-DoIM1--x.js.map} +1 -1
  412. package/dist/components/{p-5QD-jnDI.js → p-DqjRJcEM.js} +4 -45
  413. package/dist/components/p-DqjRJcEM.js.map +1 -0
  414. package/dist/components/{p-DFNN4tQ9.js → p-DtzaWGPc.js} +7 -7
  415. package/dist/components/{p-DFNN4tQ9.js.map → p-DtzaWGPc.js.map} +1 -1
  416. package/dist/components/{p-HFkl_vzF.js → p-Dv3RTDbq.js} +7 -7
  417. package/dist/components/{p-HFkl_vzF.js.map → p-Dv3RTDbq.js.map} +1 -1
  418. package/dist/components/{p-ts8WMMWF.js → p-DvCfh0K2.js} +8 -8
  419. package/dist/components/{p-ts8WMMWF.js.map → p-DvCfh0K2.js.map} +1 -1
  420. package/dist/components/{p-BQkPv0M-.js → p-T-BXBdfL.js} +5 -5
  421. package/dist/components/{p-BQkPv0M-.js.map → p-T-BXBdfL.js.map} +1 -1
  422. package/dist/components/{p-C3JKH-3Y.js → p-TyvIem42.js} +13 -13
  423. package/dist/components/{p-C3JKH-3Y.js.map → p-TyvIem42.js.map} +1 -1
  424. package/dist/components/{p-BaMZCxiX.js → p-UdeeIE8s.js} +9 -9
  425. package/dist/components/{p-BaMZCxiX.js.map → p-UdeeIE8s.js.map} +1 -1
  426. package/dist/components/{p-hX8escCp.js → p-_Wg6OwyH.js} +5 -5
  427. package/dist/components/{p-hX8escCp.js.map → p-_Wg6OwyH.js.map} +1 -1
  428. package/dist/components/{p-Bh1lCPM9.js → p-bQrbIG84.js} +4 -4
  429. package/dist/components/{p-Bh1lCPM9.js.map → p-bQrbIG84.js.map} +1 -1
  430. package/dist/components/{p-B4rimZ__.js → p-cUbqjhRn.js} +4 -4
  431. package/dist/components/{p-B4rimZ__.js.map → p-cUbqjhRn.js.map} +1 -1
  432. package/dist/components/{p-zn9oE-TU.js → p-d0YyMFGG.js} +5 -5
  433. package/dist/components/{p-zn9oE-TU.js.map → p-d0YyMFGG.js.map} +1 -1
  434. package/dist/components/{p-CaNZTZoV.js → p-h04oY9Fw.js} +10 -10
  435. package/dist/components/{p-CaNZTZoV.js.map → p-h04oY9Fw.js.map} +1 -1
  436. package/dist/components/{p-CFzhqAe_.js → p-jWC23U_9.js} +7 -7
  437. package/dist/components/{p-CFzhqAe_.js.map → p-jWC23U_9.js.map} +1 -1
  438. package/dist/components/{p-DZ_hOgVb.js → p-mPSUVIkD.js} +4 -4
  439. package/dist/components/{p-DZ_hOgVb.js.map → p-mPSUVIkD.js.map} +1 -1
  440. package/dist/components/{p-BErZsbTE.js → p-nbFcugVj.js} +5 -5
  441. package/dist/components/{p-BErZsbTE.js.map → p-nbFcugVj.js.map} +1 -1
  442. package/dist/components/{p-C9VQ8n2k.js → p-o7Gv1uJo.js} +5 -5
  443. package/dist/components/{p-C9VQ8n2k.js.map → p-o7Gv1uJo.js.map} +1 -1
  444. package/dist/components/{p-DX8rme7W.js → p-pfvnaMy-.js} +5 -5
  445. package/dist/components/{p-DX8rme7W.js.map → p-pfvnaMy-.js.map} +1 -1
  446. package/dist/components/{p-RtvhBPkV.js → p-r4Fj5D10.js} +5 -5
  447. package/dist/components/{p-RtvhBPkV.js.map → p-r4Fj5D10.js.map} +1 -1
  448. package/dist/components/{p-CfeU7ZQ3.js → p-yXgUFUQF.js} +16 -16
  449. package/dist/components/{p-CfeU7ZQ3.js.map → p-yXgUFUQF.js.map} +1 -1
  450. package/dist/components/stzh-accordion-item.js +1 -1
  451. package/dist/components/stzh-accordion.js +1 -1
  452. package/dist/components/stzh-actions.js +1 -1
  453. package/dist/components/stzh-actionset.js +1 -1
  454. package/dist/components/stzh-amount.js +10 -10
  455. package/dist/components/stzh-anchornav.js +6 -6
  456. package/dist/components/stzh-app-nav.js +1 -1
  457. package/dist/components/stzh-appointments.js +33 -23
  458. package/dist/components/stzh-appointments.js.map +1 -1
  459. package/dist/components/stzh-archivelist.js +7 -7
  460. package/dist/components/stzh-audio.js +9 -9
  461. package/dist/components/stzh-badge.js +1 -1
  462. package/dist/components/stzh-banner.js +5 -5
  463. package/dist/components/stzh-breadcrumb.js +1 -1
  464. package/dist/components/stzh-button.js +1 -1
  465. package/dist/components/stzh-buttongroup.js +1 -1
  466. package/dist/components/stzh-calendar.js +1 -1
  467. package/dist/components/stzh-card-navigation.js +4 -4
  468. package/dist/components/stzh-card-navigation.js.map +1 -1
  469. package/dist/components/stzh-card-searchresult.js +16 -16
  470. package/dist/components/stzh-card-superteaser.js +15 -15
  471. package/dist/components/stzh-card.js +1 -1
  472. package/dist/components/stzh-cardlist.js +1 -1
  473. package/dist/components/stzh-carousel.js +1 -1
  474. package/dist/components/stzh-cell.js +1 -1
  475. package/dist/components/stzh-chart.js +2 -2
  476. package/dist/components/stzh-checkbox.js +1 -1
  477. package/dist/components/stzh-checkboxgroup.js +9 -9
  478. package/dist/components/stzh-chip.js +1 -1
  479. package/dist/components/stzh-chipgroup.js +1 -1
  480. package/dist/components/stzh-chipselect.js +1 -1
  481. package/dist/components/stzh-clamp.js +1 -1
  482. package/dist/components/stzh-company-logo.js +2 -2
  483. package/dist/components/stzh-contact-cv.js +5 -5
  484. package/dist/components/stzh-contact.js +11 -11
  485. package/dist/components/stzh-container.js +1 -1
  486. package/dist/components/stzh-content.js +2 -2
  487. package/dist/components/stzh-cspace.js +1 -1
  488. package/dist/components/stzh-cta.js +5 -5
  489. package/dist/components/stzh-cta.js.map +1 -1
  490. package/dist/components/stzh-datalist-item.js +1 -1
  491. package/dist/components/stzh-datalist.js +1 -1
  492. package/dist/components/stzh-datamessagelist-item.js +12 -12
  493. package/dist/components/stzh-datamessagelist.js +2 -2
  494. package/dist/components/stzh-datatable.js +18 -18
  495. package/dist/components/stzh-datepicker.js +1 -1
  496. package/dist/components/stzh-daterange.js +6 -6
  497. package/dist/components/stzh-details.js +1 -1
  498. package/dist/components/stzh-dialog.js +1 -1
  499. package/dist/components/stzh-disturber.js +5 -5
  500. package/dist/components/stzh-dropdown.js +1 -1
  501. package/dist/components/stzh-editor.js +4 -4
  502. package/dist/components/stzh-eventdata.js +1 -1
  503. package/dist/components/stzh-eventinfo.js +8 -9
  504. package/dist/components/stzh-eventinfo.js.map +1 -1
  505. package/dist/components/stzh-feedreader-item.js +4 -4
  506. package/dist/components/stzh-feedreader.js +10 -10
  507. package/dist/components/stzh-fieldset.js +1 -1
  508. package/dist/components/stzh-figure.js +1 -1
  509. package/dist/components/stzh-flyingfocus.js +2 -2
  510. package/dist/components/stzh-footer.js +10 -9
  511. package/dist/components/stzh-footer.js.map +1 -1
  512. package/dist/components/stzh-gallery.js +9 -9
  513. package/dist/components/stzh-geo-ref-data.js +27 -27
  514. package/dist/components/stzh-ghettobox.js +6 -6
  515. package/dist/components/stzh-header.js +1 -1
  516. package/dist/components/stzh-heading.js +1 -1
  517. package/dist/components/stzh-homepage-search.js +3 -3
  518. package/dist/components/stzh-homepage-service-highlights.js +9 -9
  519. package/dist/components/stzh-hr.js +2 -2
  520. package/dist/components/stzh-hspace.js +1 -1
  521. package/dist/components/stzh-http-error.js +8 -8
  522. package/dist/components/stzh-icon.js +1 -1
  523. package/dist/components/stzh-iframe.js +1 -1
  524. package/dist/components/stzh-imagecomparison.js +4 -4
  525. package/dist/components/stzh-input.js +1 -1
  526. package/dist/components/stzh-invert.js +2 -2
  527. package/dist/components/stzh-link.js +1 -1
  528. package/dist/components/stzh-linklist.js +12 -12
  529. package/dist/components/stzh-list-item.js +1 -1
  530. package/dist/components/stzh-list.js +1 -1
  531. package/dist/components/stzh-loader.js +1 -1
  532. package/dist/components/stzh-loadingbar.js +2 -2
  533. package/dist/components/stzh-menu-item.js +1 -1
  534. package/dist/components/stzh-menu.js +1 -1
  535. package/dist/components/stzh-message.js +1 -1
  536. package/dist/components/stzh-microsite-teaserlist.js +21 -21
  537. package/dist/components/stzh-monthyearpicker.js +6 -6
  538. package/dist/components/stzh-offline-indicator.js +7 -7
  539. package/dist/components/stzh-olmap.js +1 -1
  540. package/dist/components/stzh-overlay.js +1 -1
  541. package/dist/components/stzh-page-skiplinks.js +2 -2
  542. package/dist/components/stzh-pagebottom.js +9 -9
  543. package/dist/components/stzh-pagecontent.js +3 -3
  544. package/dist/components/stzh-pagetitle-hero.js +3 -3
  545. package/dist/components/stzh-pagetitle-home.js +5 -5
  546. package/dist/components/stzh-pagetitle.js +4 -4
  547. package/dist/components/stzh-pagination.js +1 -1
  548. package/dist/components/stzh-panorama.js +13 -13
  549. package/dist/components/stzh-pi-content-navigation.js +5 -5
  550. package/dist/components/stzh-pi-content-navigation.js.map +1 -1
  551. package/dist/components/stzh-pi-menu.js +4 -4
  552. package/dist/components/stzh-pi-pagetitle.js +4 -4
  553. package/dist/components/stzh-pi-quote.js +2 -2
  554. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  555. package/dist/components/stzh-pi-teaser-layout.js +3 -3
  556. package/dist/components/stzh-pi-teaser.js +4 -4
  557. package/dist/components/stzh-pi-teaser.js.map +1 -1
  558. package/dist/components/stzh-pkzh-qr.js +20 -20
  559. package/dist/components/stzh-popover.js +1 -1
  560. package/dist/components/stzh-print.js +1 -1
  561. package/dist/components/stzh-quote.js +2 -2
  562. package/dist/components/stzh-radio.js +1 -1
  563. package/dist/components/stzh-radiogroup.js +1 -1
  564. package/dist/components/stzh-rating.js +42 -12
  565. package/dist/components/stzh-rating.js.map +1 -1
  566. package/dist/components/stzh-ratio.js +1 -1
  567. package/dist/components/stzh-readspeaker.js +7 -7
  568. package/dist/components/stzh-richtext.js +3 -3
  569. package/dist/components/stzh-row.js +1 -1
  570. package/dist/components/stzh-saptcha.js +9 -9
  571. package/dist/components/stzh-scrollup.js +3 -3
  572. package/dist/components/stzh-search.js +19 -19
  573. package/dist/components/stzh-section.js +4 -4
  574. package/dist/components/stzh-share.js +1 -1
  575. package/dist/components/stzh-show.js +1 -1
  576. package/dist/components/stzh-sitemap.js +10 -10
  577. package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
  578. package/dist/components/stzh-skin-storybook-preview.js +2 -2
  579. package/dist/components/stzh-skiplink.js +2 -2
  580. package/dist/components/stzh-socialmediastream-item.js +1 -1
  581. package/dist/components/stzh-socialmediastream.js +8 -8
  582. package/dist/components/stzh-sortable.js +1 -1
  583. package/dist/components/stzh-space.js +1 -1
  584. package/dist/components/stzh-status.js +1 -1
  585. package/dist/components/stzh-stepper-item.js +1 -1
  586. package/dist/components/stzh-stepper.js +6 -6
  587. package/dist/components/stzh-sticky-actions.js +4 -4
  588. package/dist/components/stzh-sticky.js +1 -1
  589. package/dist/components/stzh-table.js +3 -3
  590. package/dist/components/stzh-tag.js +1 -1
  591. package/dist/components/stzh-text.js +1 -1
  592. package/dist/components/stzh-textandimage.js +3 -3
  593. package/dist/components/stzh-timeline-item.js +5 -5
  594. package/dist/components/stzh-timeline.js +2 -2
  595. package/dist/components/stzh-timepicker.js +6 -6
  596. package/dist/components/stzh-toast.js +1 -1
  597. package/dist/components/stzh-toastbar.js +1 -1
  598. package/dist/components/stzh-toggle.js +42 -11
  599. package/dist/components/stzh-toggle.js.map +1 -1
  600. package/dist/components/stzh-tooltip.js +1 -1
  601. package/dist/components/stzh-twocolumns.js +3 -3
  602. package/dist/components/stzh-upload.js +50 -19
  603. package/dist/components/stzh-upload.js.map +1 -1
  604. package/dist/components/stzh-vbz-carousel.js +2 -2
  605. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  606. package/dist/components/stzh-vbz-intro.js +6 -6
  607. package/dist/components/stzh-vbz-linechip.js +1 -1
  608. package/dist/components/stzh-vbz-majorticker.js +8 -8
  609. package/dist/components/stzh-vbz-ticker.js +7 -7
  610. package/dist/components/stzh-visuallyhidden.js +3 -3
  611. package/dist/components/stzh-vspace.js +3 -3
  612. package/dist/components/stzh-youtube.js +7 -7
  613. package/dist/esm/{index-Qb46gVIp.js → index-Cd_ra_Ay.js} +4 -45
  614. package/dist/esm/index-Cd_ra_Ay.js.map +1 -0
  615. package/dist/esm/loader.js +3 -3
  616. package/dist/esm/stzh-accordion_3.entry.js +5 -5
  617. package/dist/esm/stzh-actions_6.entry.js +11 -11
  618. package/dist/esm/stzh-actionset.entry.js +6 -6
  619. package/dist/esm/stzh-amount.entry.js +2 -2
  620. package/dist/esm/stzh-anchornav.entry.js +2 -2
  621. package/dist/esm/stzh-app-nav.entry.js +2 -2
  622. package/dist/esm/stzh-appointments.entry.js +21 -11
  623. package/dist/esm/stzh-appointments.entry.js.map +1 -1
  624. package/dist/esm/stzh-archivelist.entry.js +1 -1
  625. package/dist/esm/stzh-audio.entry.js +5 -5
  626. package/dist/esm/stzh-badge_3.entry.js +5 -5
  627. package/dist/esm/stzh-banner.entry.js +2 -2
  628. package/dist/esm/stzh-breadcrumb_2.entry.js +3 -3
  629. package/dist/esm/stzh-buttongroup.entry.js +2 -2
  630. package/dist/esm/stzh-calendar.entry.js +1 -1
  631. package/dist/esm/stzh-card-navigation.entry.js +3 -3
  632. package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
  633. package/dist/esm/stzh-card-searchresult.entry.js +3 -3
  634. package/dist/esm/stzh-card-superteaser.entry.js +2 -2
  635. package/dist/esm/stzh-card_2.entry.js +8 -8
  636. package/dist/esm/stzh-carousel.entry.js +4 -4
  637. package/dist/esm/stzh-chart.entry.js +2 -2
  638. package/dist/esm/stzh-checkbox.entry.js +36 -6
  639. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  640. package/dist/esm/stzh-checkboxgroup.entry.js +6 -6
  641. package/dist/esm/stzh-chip_2.entry.js +9 -9
  642. package/dist/esm/stzh-chipgroup.entry.js +2 -2
  643. package/dist/esm/stzh-clamp.entry.js +3 -3
  644. package/dist/esm/stzh-company-logo.entry.js +2 -2
  645. package/dist/esm/stzh-components.js +3 -3
  646. package/dist/esm/stzh-contact-cv.entry.js +2 -2
  647. package/dist/esm/stzh-contact.entry.js +2 -2
  648. package/dist/esm/stzh-container_2.entry.js +3 -3
  649. package/dist/esm/stzh-content.entry.js +2 -2
  650. package/dist/esm/stzh-cta.entry.js +3 -3
  651. package/dist/esm/stzh-cta.entry.js.map +1 -1
  652. package/dist/esm/stzh-datalist_3.entry.js +5 -5
  653. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  654. package/dist/esm/stzh-datamessagelist.entry.js +2 -2
  655. package/dist/esm/stzh-datatable.entry.js +2 -2
  656. package/dist/esm/stzh-datepicker_3.entry.js +42 -12
  657. package/dist/esm/stzh-daterange.entry.js +3 -3
  658. package/dist/esm/stzh-details.entry.js +3 -3
  659. package/dist/esm/stzh-dialog.entry.js +4 -4
  660. package/dist/esm/stzh-disturber.entry.js +2 -2
  661. package/dist/esm/stzh-dropdown.entry.js +7 -7
  662. package/dist/esm/stzh-editor.entry.js +1 -1
  663. package/dist/esm/stzh-eventdata.entry.js +1 -1
  664. package/dist/esm/stzh-eventinfo.entry.js +4 -5
  665. package/dist/esm/stzh-eventinfo.entry.js.map +1 -1
  666. package/dist/esm/stzh-feedreader-item.entry.js +3 -3
  667. package/dist/esm/stzh-feedreader.entry.js +3 -3
  668. package/dist/esm/stzh-figure.entry.js +3 -3
  669. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  670. package/dist/esm/stzh-footer.entry.js +6 -5
  671. package/dist/esm/stzh-footer.entry.js.map +1 -1
  672. package/dist/esm/stzh-gallery.entry.js +2 -2
  673. package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
  674. package/dist/esm/stzh-ghettobox.entry.js +3 -3
  675. package/dist/esm/stzh-header_3.entry.js +5 -5
  676. package/dist/esm/stzh-heading.entry.js +2 -2
  677. package/dist/esm/stzh-homepage-search.entry.js +2 -2
  678. package/dist/esm/stzh-homepage-service-highlights.entry.js +4 -4
  679. package/dist/esm/stzh-hr.entry.js +2 -2
  680. package/dist/esm/stzh-hspace.entry.js +3 -3
  681. package/dist/esm/stzh-http-error.entry.js +2 -2
  682. package/dist/esm/stzh-iframe.entry.js +5 -5
  683. package/dist/esm/stzh-imagecomparison.entry.js +3 -3
  684. package/dist/esm/{stzh-input-description-CkiDnZXP.js → stzh-input-description-BLx_RZxZ.js} +3 -3
  685. package/dist/esm/{stzh-input-description-CkiDnZXP.js.map → stzh-input-description-BLx_RZxZ.js.map} +1 -1
  686. package/dist/esm/stzh-input.entry.js +31 -36
  687. package/dist/esm/stzh-input.entry.js.map +1 -1
  688. package/dist/esm/stzh-invert.entry.js +2 -2
  689. package/dist/esm/stzh-link.entry.js +3 -3
  690. package/dist/esm/stzh-linklist.entry.js +3 -3
  691. package/dist/esm/stzh-list_2.entry.js +3 -3
  692. package/dist/esm/stzh-loader.entry.js +2 -2
  693. package/dist/esm/stzh-loadingbar.entry.js +2 -2
  694. package/dist/esm/stzh-menu_2.entry.js +4 -4
  695. package/dist/esm/stzh-message.entry.js +3 -3
  696. package/dist/esm/stzh-microsite-teaserlist.entry.js +2 -2
  697. package/dist/esm/stzh-monthyearpicker.entry.js +2 -2
  698. package/dist/esm/stzh-offline-indicator.entry.js +2 -2
  699. package/dist/esm/stzh-page-skiplinks.entry.js +2 -2
  700. package/dist/esm/stzh-pagebottom.entry.js +2 -2
  701. package/dist/esm/stzh-pagecontent.entry.js +3 -3
  702. package/dist/esm/stzh-pagetitle-hero.entry.js +3 -3
  703. package/dist/esm/stzh-pagetitle-home.entry.js +4 -4
  704. package/dist/esm/stzh-pagetitle.entry.js +3 -3
  705. package/dist/esm/stzh-panorama.entry.js +3 -3
  706. package/dist/esm/stzh-pi-content-navigation.entry.js +3 -3
  707. package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -1
  708. package/dist/esm/stzh-pi-menu.entry.js +2 -2
  709. package/dist/esm/stzh-pi-pagetitle.entry.js +3 -3
  710. package/dist/esm/stzh-pi-quote.entry.js +2 -2
  711. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
  712. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
  713. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  714. package/dist/esm/stzh-pi-teaser.entry.js +3 -3
  715. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  716. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  717. package/dist/esm/stzh-popover.entry.js +3 -3
  718. package/dist/esm/stzh-print_2.entry.js +4 -4
  719. package/dist/esm/stzh-quote.entry.js +2 -2
  720. package/dist/esm/stzh-rating.entry.js +37 -9
  721. package/dist/esm/stzh-rating.entry.js.map +1 -1
  722. package/dist/esm/stzh-ratio.entry.js +2 -2
  723. package/dist/esm/stzh-readspeaker.entry.js +4 -4
  724. package/dist/esm/stzh-richtext.entry.js +2 -2
  725. package/dist/esm/stzh-saptcha.entry.js +3 -3
  726. package/dist/esm/stzh-scrollup.entry.js +3 -3
  727. package/dist/esm/stzh-search.entry.js +4 -4
  728. package/dist/esm/stzh-section.entry.js +4 -4
  729. package/dist/esm/stzh-show.entry.js +3 -3
  730. package/dist/esm/stzh-sitemap.entry.js +2 -2
  731. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
  732. package/dist/esm/stzh-skin-storybook-preview.entry.js +2 -2
  733. package/dist/esm/stzh-skiplink.entry.js +2 -2
  734. package/dist/esm/stzh-socialmediastream-item.entry.js +2 -2
  735. package/dist/esm/stzh-socialmediastream.entry.js +3 -3
  736. package/dist/esm/stzh-stepper-item.entry.js +4 -4
  737. package/dist/esm/stzh-stepper.entry.js +4 -4
  738. package/dist/esm/stzh-sticky-actions.entry.js +3 -3
  739. package/dist/esm/stzh-sticky.entry.js +3 -3
  740. package/dist/esm/stzh-table.entry.js +3 -3
  741. package/dist/esm/stzh-text.entry.js +3 -3
  742. package/dist/esm/stzh-textandimage.entry.js +3 -3
  743. package/dist/esm/stzh-timeline-item.entry.js +3 -3
  744. package/dist/esm/stzh-timeline.entry.js +2 -2
  745. package/dist/esm/stzh-timepicker.entry.js +2 -2
  746. package/dist/esm/stzh-toast_2.entry.js +5 -5
  747. package/dist/esm/stzh-toggle.entry.js +36 -7
  748. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  749. package/dist/esm/stzh-tooltip.entry.js +3 -3
  750. package/dist/esm/stzh-twocolumns.entry.js +3 -3
  751. package/dist/esm/stzh-upload.entry.js +37 -8
  752. package/dist/esm/stzh-upload.entry.js.map +1 -1
  753. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  754. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  755. package/dist/esm/stzh-vbz-intro.entry.js +2 -2
  756. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  757. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  758. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  759. package/dist/esm/stzh-visuallyhidden.entry.js +3 -3
  760. package/dist/esm/stzh-vspace.entry.js +3 -3
  761. package/dist/esm/stzh-youtube.entry.js +2 -2
  762. package/dist/esm/{utils-BnOofzDv.js → utils-CnvjJ2wY.js} +59 -3
  763. package/dist/esm/utils-CnvjJ2wY.js.map +1 -0
  764. package/dist/stzh-components/assets/i18n/fr.json +460 -0
  765. package/dist/stzh-components/assets/i18n/it.json +461 -0
  766. package/dist/stzh-components/assets/media/icons/mono/easy-read.svg +1 -0
  767. package/dist/stzh-components/{p-bae8c063.entry.js → p-01df3db2.entry.js} +2 -2
  768. package/dist/stzh-components/{p-ff03f780.entry.js → p-079dcc0c.entry.js} +3 -3
  769. package/dist/stzh-components/{p-93afea50.entry.js → p-07a3f13b.entry.js} +2 -2
  770. package/dist/stzh-components/{p-7f6e2c50.entry.js → p-07f01850.entry.js} +2 -2
  771. package/dist/stzh-components/{p-64b3d4c2.entry.js → p-094f446c.entry.js} +2 -2
  772. package/dist/stzh-components/{p-4640481a.entry.js → p-0b78dd4f.entry.js} +2 -2
  773. package/dist/stzh-components/{p-32a41205.entry.js → p-0c981d74.entry.js} +2 -2
  774. package/dist/stzh-components/{p-a41ed36a.entry.js → p-10f8a411.entry.js} +2 -2
  775. package/dist/stzh-components/{p-c5157043.entry.js → p-1509f376.entry.js} +2 -2
  776. package/dist/stzh-components/p-1517a33d.entry.js +2 -0
  777. package/dist/stzh-components/p-1517a33d.entry.js.map +1 -0
  778. package/dist/stzh-components/{p-d80119b5.entry.js → p-157b43ee.entry.js} +2 -2
  779. package/dist/stzh-components/{p-d7470d02.entry.js → p-163e7402.entry.js} +2 -2
  780. package/dist/stzh-components/{p-6ecf3d10.entry.js → p-175bb0f6.entry.js} +2 -2
  781. package/dist/stzh-components/{p-b4d3dd64.entry.js → p-19128327.entry.js} +2 -2
  782. package/dist/stzh-components/{p-42e5eb19.entry.js → p-191ee433.entry.js} +2 -2
  783. package/dist/stzh-components/{p-3edfb735.entry.js → p-1c93511c.entry.js} +2 -2
  784. package/dist/stzh-components/{p-a711447d.entry.js → p-1e2fdef2.entry.js} +2 -2
  785. package/dist/stzh-components/p-1e2fdef2.entry.js.map +1 -0
  786. package/dist/stzh-components/{p-ed8062c2.entry.js → p-202d72b1.entry.js} +2 -2
  787. package/dist/stzh-components/{p-80503011.entry.js → p-209f26fb.entry.js} +2 -2
  788. package/dist/stzh-components/p-20bfbc6f.entry.js +2 -0
  789. package/dist/stzh-components/p-20bfbc6f.entry.js.map +1 -0
  790. package/dist/stzh-components/{p-6ca9c23c.entry.js → p-2609419a.entry.js} +2 -2
  791. package/dist/stzh-components/{p-414a3145.entry.js → p-28a1dfb8.entry.js} +2 -2
  792. package/dist/stzh-components/{p-7635b6f5.entry.js → p-29bce2da.entry.js} +2 -2
  793. package/dist/stzh-components/{p-aee4a2ae.entry.js → p-2c2ee11d.entry.js} +2 -2
  794. package/dist/stzh-components/{p-14d86c1d.entry.js → p-2c4b646b.entry.js} +2 -2
  795. package/dist/stzh-components/{p-055e9962.entry.js → p-2cafe02c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-7960db96.entry.js → p-31ddeb59.entry.js} +2 -2
  797. package/dist/stzh-components/{p-a96614ae.entry.js → p-37ab4757.entry.js} +2 -2
  798. package/dist/stzh-components/{p-e95ee8a4.entry.js → p-3deebf76.entry.js} +2 -2
  799. package/dist/stzh-components/p-3e949281.entry.js +2 -0
  800. package/dist/stzh-components/{p-a1e07163.entry.js.map → p-3e949281.entry.js.map} +1 -1
  801. package/dist/stzh-components/{p-745161ef.entry.js → p-4306b004.entry.js} +2 -2
  802. package/dist/stzh-components/{p-9f3bbad2.entry.js → p-441a69c8.entry.js} +2 -2
  803. package/dist/stzh-components/{p-e8e9ceff.entry.js → p-47a3a92f.entry.js} +2 -2
  804. package/dist/stzh-components/{p-ced452d5.entry.js → p-49dbf5af.entry.js} +2 -2
  805. package/dist/stzh-components/{p-90807e9e.entry.js → p-4cc94ab2.entry.js} +2 -2
  806. package/dist/stzh-components/{p-af59c189.entry.js → p-4cf4a477.entry.js} +2 -2
  807. package/dist/stzh-components/{p-a29de908.entry.js → p-4df5aaec.entry.js} +2 -2
  808. package/dist/stzh-components/{p-d7ce73a1.entry.js → p-5075d2b8.entry.js} +2 -2
  809. package/dist/stzh-components/p-5ab62d5a.entry.js +2 -0
  810. package/dist/stzh-components/{p-d94cc86b.entry.js.map → p-5ab62d5a.entry.js.map} +1 -1
  811. package/dist/stzh-components/{p-326b55a2.entry.js → p-608b3614.entry.js} +2 -2
  812. package/dist/stzh-components/{p-216a9cc6.entry.js → p-615bce0c.entry.js} +2 -2
  813. package/dist/stzh-components/{p-4eefbac4.entry.js → p-62b7f84a.entry.js} +2 -2
  814. package/dist/stzh-components/{p-43882380.entry.js → p-64f49126.entry.js} +2 -2
  815. package/dist/stzh-components/{p-2c30f74d.entry.js → p-65d16d3d.entry.js} +2 -2
  816. package/dist/stzh-components/{p-2c30f74d.entry.js.map → p-65d16d3d.entry.js.map} +1 -1
  817. package/dist/stzh-components/{p-e947cbc0.entry.js → p-66871ca6.entry.js} +3 -3
  818. package/dist/stzh-components/{p-a6209841.entry.js → p-6837f9f3.entry.js} +2 -2
  819. package/dist/stzh-components/{p-70b8ed74.entry.js → p-687aec65.entry.js} +2 -2
  820. package/dist/stzh-components/{p-edffd239.entry.js → p-68902793.entry.js} +2 -2
  821. package/dist/stzh-components/{p-edffd239.entry.js.map → p-68902793.entry.js.map} +1 -1
  822. package/dist/stzh-components/{p-390766ab.entry.js → p-6b9cd9d7.entry.js} +3 -3
  823. package/dist/stzh-components/{p-37aae8ac.entry.js → p-6c03fa87.entry.js} +3 -3
  824. package/dist/stzh-components/{p-7fc9372f.entry.js → p-6d317f61.entry.js} +2 -2
  825. package/dist/stzh-components/{p-e5675129.entry.js → p-6d5286d5.entry.js} +2 -2
  826. package/dist/stzh-components/{p-ac647202.entry.js → p-6fb9484b.entry.js} +2 -2
  827. package/dist/stzh-components/p-70dfa010.entry.js +2 -0
  828. package/dist/stzh-components/p-70dfa010.entry.js.map +1 -0
  829. package/dist/stzh-components/{p-c52c1aef.entry.js → p-72f80196.entry.js} +2 -2
  830. package/dist/stzh-components/{p-f51d4bbe.entry.js → p-7365c477.entry.js} +2 -2
  831. package/dist/stzh-components/{p-d9d0a469.entry.js → p-75291180.entry.js} +2 -2
  832. package/dist/stzh-components/{p-19cc2896.entry.js → p-761c5948.entry.js} +2 -2
  833. package/dist/stzh-components/{p-23cdc8a4.entry.js → p-7b65832f.entry.js} +2 -2
  834. package/dist/stzh-components/{p-86ffdc58.entry.js → p-7e6e6547.entry.js} +2 -2
  835. package/dist/stzh-components/{p-86ffdc58.entry.js.map → p-7e6e6547.entry.js.map} +1 -1
  836. package/dist/stzh-components/p-7ee51188.entry.js +2 -0
  837. package/dist/stzh-components/{p-dc72b0de.entry.js.map → p-7ee51188.entry.js.map} +1 -1
  838. package/dist/stzh-components/{p-3084c3a5.entry.js → p-7fe9b54c.entry.js} +2 -2
  839. package/dist/stzh-components/{p-6cd6392a.entry.js → p-8094cf86.entry.js} +2 -2
  840. package/dist/stzh-components/{p-2d09b8b3.entry.js → p-80fc31a3.entry.js} +2 -2
  841. package/dist/stzh-components/{p-1341927f.entry.js → p-8a37f308.entry.js} +2 -2
  842. package/dist/stzh-components/{p-10c5d519.entry.js → p-8afec643.entry.js} +2 -2
  843. package/dist/stzh-components/{p-61d59943.entry.js → p-8b17a4ea.entry.js} +2 -2
  844. package/dist/stzh-components/{p-cbef543b.entry.js → p-8c229068.entry.js} +2 -2
  845. package/dist/stzh-components/{p-1bb272ca.entry.js → p-8e0e50c7.entry.js} +2 -2
  846. package/dist/stzh-components/{p-cf40ac5b.entry.js → p-8f960061.entry.js} +2 -2
  847. package/dist/stzh-components/{p-2940951b.entry.js → p-9116a045.entry.js} +2 -2
  848. package/dist/stzh-components/{p-2940951b.entry.js.map → p-9116a045.entry.js.map} +1 -1
  849. package/dist/stzh-components/{p-234bf6bf.entry.js → p-91293013.entry.js} +2 -2
  850. package/dist/stzh-components/{p-96c7ceb0.entry.js → p-9401dae4.entry.js} +2 -2
  851. package/dist/stzh-components/{p-923deb7b.entry.js → p-973d5106.entry.js} +2 -2
  852. package/dist/stzh-components/{p-6c517443.entry.js → p-9a13a429.entry.js} +2 -2
  853. package/dist/stzh-components/{p-1b92110f.entry.js → p-9b3646d1.entry.js} +2 -2
  854. package/dist/stzh-components/{p-bd256924.entry.js → p-9fa5627e.entry.js} +2 -2
  855. package/dist/stzh-components/p-Cd_ra_Ay.js +3 -0
  856. package/dist/stzh-components/p-Cd_ra_Ay.js.map +1 -0
  857. package/dist/stzh-components/{p-Be8ir2AL.js → p-Cmnnu8LG.js} +2 -2
  858. package/dist/stzh-components/{p-Be8ir2AL.js.map → p-Cmnnu8LG.js.map} +1 -1
  859. package/dist/stzh-components/p-DhuTERdU.js +2 -0
  860. package/dist/stzh-components/p-DhuTERdU.js.map +1 -0
  861. package/dist/stzh-components/p-a12a9a69.entry.js +2 -0
  862. package/dist/stzh-components/{p-0ed4cd7e.entry.js.map → p-a12a9a69.entry.js.map} +1 -1
  863. package/dist/stzh-components/{p-99b23557.entry.js → p-a344c074.entry.js} +2 -2
  864. package/dist/stzh-components/p-a4af5ab1.entry.js +2 -0
  865. package/dist/stzh-components/p-a4af5ab1.entry.js.map +1 -0
  866. package/dist/stzh-components/{p-dfb3d918.entry.js → p-a5d371f1.entry.js} +2 -2
  867. package/dist/stzh-components/{p-0dd74312.entry.js → p-a955037d.entry.js} +2 -2
  868. package/dist/stzh-components/{p-42707a5b.entry.js → p-ab49825b.entry.js} +2 -2
  869. package/dist/stzh-components/{p-94f25b97.entry.js → p-abd035af.entry.js} +2 -2
  870. package/dist/stzh-components/{p-e8b7bf12.entry.js → p-b1c3a46e.entry.js} +2 -2
  871. package/dist/stzh-components/{p-09f28398.entry.js → p-b282776f.entry.js} +2 -2
  872. package/dist/stzh-components/{p-1021e488.entry.js → p-b29db204.entry.js} +2 -2
  873. package/dist/stzh-components/p-b3376d98.entry.js +2 -0
  874. package/dist/stzh-components/p-b3376d98.entry.js.map +1 -0
  875. package/dist/stzh-components/{p-d2acf05b.entry.js → p-b5e6915e.entry.js} +2 -2
  876. package/dist/stzh-components/{p-7a726c47.entry.js → p-b79a3cf6.entry.js} +2 -2
  877. package/dist/stzh-components/{p-0cd89ab9.entry.js → p-b93a3119.entry.js} +2 -2
  878. package/dist/stzh-components/{p-0cf712e6.entry.js → p-b95d6d7e.entry.js} +2 -2
  879. package/dist/stzh-components/{p-b7b21a8c.entry.js → p-b96726cd.entry.js} +2 -2
  880. package/dist/stzh-components/{p-60c3106c.entry.js → p-bbf9c297.entry.js} +2 -2
  881. package/dist/stzh-components/{p-71291933.entry.js → p-be131bb0.entry.js} +2 -2
  882. package/dist/stzh-components/{p-bc3af3b4.entry.js → p-c0ca3937.entry.js} +2 -2
  883. package/dist/stzh-components/{p-d434e9ef.entry.js → p-c2b979f4.entry.js} +2 -2
  884. package/dist/stzh-components/{p-a85ed304.entry.js → p-ca122373.entry.js} +2 -2
  885. package/dist/stzh-components/{p-20735c80.entry.js → p-ca3018d9.entry.js} +2 -2
  886. package/dist/stzh-components/p-cabbf05e.entry.js +2 -0
  887. package/dist/stzh-components/{p-e236ee82.entry.js.map → p-cabbf05e.entry.js.map} +1 -1
  888. package/dist/stzh-components/{p-73a79275.entry.js → p-cada8a35.entry.js} +2 -2
  889. package/dist/stzh-components/{p-033c3b6b.entry.js → p-cc8ee9b0.entry.js} +2 -2
  890. package/dist/stzh-components/{p-647a80da.entry.js → p-cd7b961a.entry.js} +2 -2
  891. package/dist/stzh-components/{p-e7e813f8.entry.js → p-ced6cf29.entry.js} +2 -2
  892. package/dist/stzh-components/{p-c297a620.entry.js → p-cf9f8810.entry.js} +2 -2
  893. package/dist/stzh-components/{p-d7668a3b.entry.js → p-d0a705e4.entry.js} +2 -2
  894. package/dist/stzh-components/{p-83a059a0.entry.js → p-d5811a44.entry.js} +2 -2
  895. package/dist/stzh-components/{p-5204cd86.entry.js → p-d681d6e4.entry.js} +2 -2
  896. package/dist/stzh-components/{p-4b928978.entry.js → p-d86f3f58.entry.js} +2 -2
  897. package/dist/stzh-components/{p-af4ea4bc.entry.js → p-dbd9d4dc.entry.js} +5 -5
  898. package/dist/stzh-components/{p-51d869eb.entry.js → p-dd861fbd.entry.js} +2 -2
  899. package/dist/stzh-components/{p-ef8e4a95.entry.js → p-df4d32b9.entry.js} +2 -2
  900. package/dist/stzh-components/{p-2baa284a.entry.js → p-e0df6f5e.entry.js} +2 -2
  901. package/dist/stzh-components/{p-fb25534f.entry.js → p-e1f17ba4.entry.js} +2 -2
  902. package/dist/stzh-components/{p-fb25534f.entry.js.map → p-e1f17ba4.entry.js.map} +1 -1
  903. package/dist/stzh-components/{p-ecd3be50.entry.js → p-e4713769.entry.js} +2 -2
  904. package/dist/stzh-components/p-e542834b.entry.js +2 -0
  905. package/dist/stzh-components/p-e542834b.entry.js.map +1 -0
  906. package/dist/stzh-components/{p-0795bbcd.entry.js → p-e682f2ac.entry.js} +2 -2
  907. package/dist/stzh-components/{p-b47d51d7.entry.js → p-e7dc4502.entry.js} +2 -2
  908. package/dist/stzh-components/{p-b8f44c79.entry.js → p-e7fd376c.entry.js} +7 -7
  909. package/dist/stzh-components/p-e9c52ffb.entry.js +2 -0
  910. package/dist/stzh-components/p-e9c52ffb.entry.js.map +1 -0
  911. package/dist/stzh-components/{p-02cb3aae.entry.js → p-ea5e7024.entry.js} +2 -2
  912. package/dist/stzh-components/{p-7aca0e23.entry.js → p-edf81efe.entry.js} +2 -2
  913. package/dist/stzh-components/{p-0134136f.entry.js → p-ef1dac1c.entry.js} +2 -2
  914. package/dist/stzh-components/{p-a7bed4b7.entry.js → p-f0494df6.entry.js} +2 -2
  915. package/dist/stzh-components/p-f3e31d46.entry.js +2 -0
  916. package/dist/stzh-components/{p-58882212.entry.js.map → p-f3e31d46.entry.js.map} +1 -1
  917. package/dist/stzh-components/{p-e19b6d8c.entry.js → p-f57e38fd.entry.js} +2 -2
  918. package/dist/stzh-components/{p-62ffe60a.entry.js → p-f5be3b98.entry.js} +2 -2
  919. package/dist/stzh-components/{p-ec817cb2.entry.js → p-f6abd4ab.entry.js} +2 -2
  920. package/dist/stzh-components/{p-61c9ed2d.entry.js → p-f8f7101d.entry.js} +2 -2
  921. package/dist/stzh-components/{p-42628b3a.entry.js → p-ff9946f2.entry.js} +2 -2
  922. package/dist/stzh-components/stzh-components.esm.js +1 -1
  923. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +7 -1
  924. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +18 -0
  925. package/dist/types/components/stzh-footer/stzh-footer.d.ts +2 -2
  926. package/dist/types/components/stzh-header/stzh-header.d.ts +1 -1
  927. package/dist/types/components/stzh-input/stzh-input.d.ts +15 -4
  928. package/dist/types/components/stzh-radio/stzh-radio.d.ts +18 -0
  929. package/dist/types/components/stzh-rating/stzh-rating.d.ts +18 -0
  930. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +18 -0
  931. package/dist/types/components/stzh-upload/stzh-upload.d.ts +18 -0
  932. package/dist/types/components.d.ts +12 -12
  933. package/dist/types/utils/utils.d.ts +13 -0
  934. package/dist/vscode-data.json +6 -3
  935. package/package.json +1 -1
  936. package/dist/cjs/index-Cj3dPOnE.js.map +0 -1
  937. package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
  938. package/dist/components/p-5QD-jnDI.js.map +0 -1
  939. package/dist/components/p-BmZW5NzL.js.map +0 -1
  940. package/dist/components/p-C7bl96a5.js.map +0 -1
  941. package/dist/components/p-CN5apKPb.js.map +0 -1
  942. package/dist/components/p-DStLZwaI.js.map +0 -1
  943. package/dist/components/p-G6s0H-yQ.js.map +0 -1
  944. package/dist/esm/index-Qb46gVIp.js.map +0 -1
  945. package/dist/esm/utils-BnOofzDv.js.map +0 -1
  946. package/dist/stzh-components/p--MYN2wgX.js +0 -2
  947. package/dist/stzh-components/p--MYN2wgX.js.map +0 -1
  948. package/dist/stzh-components/p-0ed4cd7e.entry.js +0 -2
  949. package/dist/stzh-components/p-18237cd2.entry.js +0 -2
  950. package/dist/stzh-components/p-18237cd2.entry.js.map +0 -1
  951. package/dist/stzh-components/p-58882212.entry.js +0 -2
  952. package/dist/stzh-components/p-5f86ac2c.entry.js +0 -2
  953. package/dist/stzh-components/p-5f86ac2c.entry.js.map +0 -1
  954. package/dist/stzh-components/p-61aa75b0.entry.js +0 -2
  955. package/dist/stzh-components/p-61aa75b0.entry.js.map +0 -1
  956. package/dist/stzh-components/p-6a798b0a.entry.js +0 -2
  957. package/dist/stzh-components/p-6a798b0a.entry.js.map +0 -1
  958. package/dist/stzh-components/p-Qb46gVIp.js +0 -3
  959. package/dist/stzh-components/p-Qb46gVIp.js.map +0 -1
  960. package/dist/stzh-components/p-a1e07163.entry.js +0 -2
  961. package/dist/stzh-components/p-a711447d.entry.js.map +0 -1
  962. package/dist/stzh-components/p-b6d762b2.entry.js +0 -2
  963. package/dist/stzh-components/p-b6d762b2.entry.js.map +0 -1
  964. package/dist/stzh-components/p-d21526d5.entry.js +0 -2
  965. package/dist/stzh-components/p-d21526d5.entry.js.map +0 -1
  966. package/dist/stzh-components/p-d94cc86b.entry.js +0 -2
  967. package/dist/stzh-components/p-dc72b0de.entry.js +0 -2
  968. package/dist/stzh-components/p-e236ee82.entry.js +0 -2
  969. package/dist/stzh-components/p-facf3e9e.entry.js +0 -2
  970. package/dist/stzh-components/p-facf3e9e.entry.js.map +0 -1
  971. /package/dist/stzh-components/{p-bae8c063.entry.js.map → p-01df3db2.entry.js.map} +0 -0
  972. /package/dist/stzh-components/{p-ff03f780.entry.js.map → p-079dcc0c.entry.js.map} +0 -0
  973. /package/dist/stzh-components/{p-93afea50.entry.js.map → p-07a3f13b.entry.js.map} +0 -0
  974. /package/dist/stzh-components/{p-7f6e2c50.entry.js.map → p-07f01850.entry.js.map} +0 -0
  975. /package/dist/stzh-components/{p-64b3d4c2.entry.js.map → p-094f446c.entry.js.map} +0 -0
  976. /package/dist/stzh-components/{p-4640481a.entry.js.map → p-0b78dd4f.entry.js.map} +0 -0
  977. /package/dist/stzh-components/{p-32a41205.entry.js.map → p-0c981d74.entry.js.map} +0 -0
  978. /package/dist/stzh-components/{p-a41ed36a.entry.js.map → p-10f8a411.entry.js.map} +0 -0
  979. /package/dist/stzh-components/{p-c5157043.entry.js.map → p-1509f376.entry.js.map} +0 -0
  980. /package/dist/stzh-components/{p-d80119b5.entry.js.map → p-157b43ee.entry.js.map} +0 -0
  981. /package/dist/stzh-components/{p-d7470d02.entry.js.map → p-163e7402.entry.js.map} +0 -0
  982. /package/dist/stzh-components/{p-6ecf3d10.entry.js.map → p-175bb0f6.entry.js.map} +0 -0
  983. /package/dist/stzh-components/{p-b4d3dd64.entry.js.map → p-19128327.entry.js.map} +0 -0
  984. /package/dist/stzh-components/{p-42e5eb19.entry.js.map → p-191ee433.entry.js.map} +0 -0
  985. /package/dist/stzh-components/{p-3edfb735.entry.js.map → p-1c93511c.entry.js.map} +0 -0
  986. /package/dist/stzh-components/{p-ed8062c2.entry.js.map → p-202d72b1.entry.js.map} +0 -0
  987. /package/dist/stzh-components/{p-80503011.entry.js.map → p-209f26fb.entry.js.map} +0 -0
  988. /package/dist/stzh-components/{p-6ca9c23c.entry.js.map → p-2609419a.entry.js.map} +0 -0
  989. /package/dist/stzh-components/{p-414a3145.entry.js.map → p-28a1dfb8.entry.js.map} +0 -0
  990. /package/dist/stzh-components/{p-7635b6f5.entry.js.map → p-29bce2da.entry.js.map} +0 -0
  991. /package/dist/stzh-components/{p-aee4a2ae.entry.js.map → p-2c2ee11d.entry.js.map} +0 -0
  992. /package/dist/stzh-components/{p-14d86c1d.entry.js.map → p-2c4b646b.entry.js.map} +0 -0
  993. /package/dist/stzh-components/{p-055e9962.entry.js.map → p-2cafe02c.entry.js.map} +0 -0
  994. /package/dist/stzh-components/{p-7960db96.entry.js.map → p-31ddeb59.entry.js.map} +0 -0
  995. /package/dist/stzh-components/{p-a96614ae.entry.js.map → p-37ab4757.entry.js.map} +0 -0
  996. /package/dist/stzh-components/{p-e95ee8a4.entry.js.map → p-3deebf76.entry.js.map} +0 -0
  997. /package/dist/stzh-components/{p-745161ef.entry.js.map → p-4306b004.entry.js.map} +0 -0
  998. /package/dist/stzh-components/{p-9f3bbad2.entry.js.map → p-441a69c8.entry.js.map} +0 -0
  999. /package/dist/stzh-components/{p-e8e9ceff.entry.js.map → p-47a3a92f.entry.js.map} +0 -0
  1000. /package/dist/stzh-components/{p-ced452d5.entry.js.map → p-49dbf5af.entry.js.map} +0 -0
  1001. /package/dist/stzh-components/{p-90807e9e.entry.js.map → p-4cc94ab2.entry.js.map} +0 -0
  1002. /package/dist/stzh-components/{p-af59c189.entry.js.map → p-4cf4a477.entry.js.map} +0 -0
  1003. /package/dist/stzh-components/{p-a29de908.entry.js.map → p-4df5aaec.entry.js.map} +0 -0
  1004. /package/dist/stzh-components/{p-d7ce73a1.entry.js.map → p-5075d2b8.entry.js.map} +0 -0
  1005. /package/dist/stzh-components/{p-326b55a2.entry.js.map → p-608b3614.entry.js.map} +0 -0
  1006. /package/dist/stzh-components/{p-216a9cc6.entry.js.map → p-615bce0c.entry.js.map} +0 -0
  1007. /package/dist/stzh-components/{p-4eefbac4.entry.js.map → p-62b7f84a.entry.js.map} +0 -0
  1008. /package/dist/stzh-components/{p-43882380.entry.js.map → p-64f49126.entry.js.map} +0 -0
  1009. /package/dist/stzh-components/{p-e947cbc0.entry.js.map → p-66871ca6.entry.js.map} +0 -0
  1010. /package/dist/stzh-components/{p-a6209841.entry.js.map → p-6837f9f3.entry.js.map} +0 -0
  1011. /package/dist/stzh-components/{p-70b8ed74.entry.js.map → p-687aec65.entry.js.map} +0 -0
  1012. /package/dist/stzh-components/{p-390766ab.entry.js.map → p-6b9cd9d7.entry.js.map} +0 -0
  1013. /package/dist/stzh-components/{p-37aae8ac.entry.js.map → p-6c03fa87.entry.js.map} +0 -0
  1014. /package/dist/stzh-components/{p-7fc9372f.entry.js.map → p-6d317f61.entry.js.map} +0 -0
  1015. /package/dist/stzh-components/{p-e5675129.entry.js.map → p-6d5286d5.entry.js.map} +0 -0
  1016. /package/dist/stzh-components/{p-ac647202.entry.js.map → p-6fb9484b.entry.js.map} +0 -0
  1017. /package/dist/stzh-components/{p-c52c1aef.entry.js.map → p-72f80196.entry.js.map} +0 -0
  1018. /package/dist/stzh-components/{p-f51d4bbe.entry.js.map → p-7365c477.entry.js.map} +0 -0
  1019. /package/dist/stzh-components/{p-d9d0a469.entry.js.map → p-75291180.entry.js.map} +0 -0
  1020. /package/dist/stzh-components/{p-19cc2896.entry.js.map → p-761c5948.entry.js.map} +0 -0
  1021. /package/dist/stzh-components/{p-23cdc8a4.entry.js.map → p-7b65832f.entry.js.map} +0 -0
  1022. /package/dist/stzh-components/{p-3084c3a5.entry.js.map → p-7fe9b54c.entry.js.map} +0 -0
  1023. /package/dist/stzh-components/{p-6cd6392a.entry.js.map → p-8094cf86.entry.js.map} +0 -0
  1024. /package/dist/stzh-components/{p-2d09b8b3.entry.js.map → p-80fc31a3.entry.js.map} +0 -0
  1025. /package/dist/stzh-components/{p-1341927f.entry.js.map → p-8a37f308.entry.js.map} +0 -0
  1026. /package/dist/stzh-components/{p-10c5d519.entry.js.map → p-8afec643.entry.js.map} +0 -0
  1027. /package/dist/stzh-components/{p-61d59943.entry.js.map → p-8b17a4ea.entry.js.map} +0 -0
  1028. /package/dist/stzh-components/{p-cbef543b.entry.js.map → p-8c229068.entry.js.map} +0 -0
  1029. /package/dist/stzh-components/{p-1bb272ca.entry.js.map → p-8e0e50c7.entry.js.map} +0 -0
  1030. /package/dist/stzh-components/{p-cf40ac5b.entry.js.map → p-8f960061.entry.js.map} +0 -0
  1031. /package/dist/stzh-components/{p-234bf6bf.entry.js.map → p-91293013.entry.js.map} +0 -0
  1032. /package/dist/stzh-components/{p-96c7ceb0.entry.js.map → p-9401dae4.entry.js.map} +0 -0
  1033. /package/dist/stzh-components/{p-923deb7b.entry.js.map → p-973d5106.entry.js.map} +0 -0
  1034. /package/dist/stzh-components/{p-6c517443.entry.js.map → p-9a13a429.entry.js.map} +0 -0
  1035. /package/dist/stzh-components/{p-1b92110f.entry.js.map → p-9b3646d1.entry.js.map} +0 -0
  1036. /package/dist/stzh-components/{p-bd256924.entry.js.map → p-9fa5627e.entry.js.map} +0 -0
  1037. /package/dist/stzh-components/{p-99b23557.entry.js.map → p-a344c074.entry.js.map} +0 -0
  1038. /package/dist/stzh-components/{p-dfb3d918.entry.js.map → p-a5d371f1.entry.js.map} +0 -0
  1039. /package/dist/stzh-components/{p-0dd74312.entry.js.map → p-a955037d.entry.js.map} +0 -0
  1040. /package/dist/stzh-components/{p-42707a5b.entry.js.map → p-ab49825b.entry.js.map} +0 -0
  1041. /package/dist/stzh-components/{p-94f25b97.entry.js.map → p-abd035af.entry.js.map} +0 -0
  1042. /package/dist/stzh-components/{p-e8b7bf12.entry.js.map → p-b1c3a46e.entry.js.map} +0 -0
  1043. /package/dist/stzh-components/{p-09f28398.entry.js.map → p-b282776f.entry.js.map} +0 -0
  1044. /package/dist/stzh-components/{p-1021e488.entry.js.map → p-b29db204.entry.js.map} +0 -0
  1045. /package/dist/stzh-components/{p-d2acf05b.entry.js.map → p-b5e6915e.entry.js.map} +0 -0
  1046. /package/dist/stzh-components/{p-7a726c47.entry.js.map → p-b79a3cf6.entry.js.map} +0 -0
  1047. /package/dist/stzh-components/{p-0cd89ab9.entry.js.map → p-b93a3119.entry.js.map} +0 -0
  1048. /package/dist/stzh-components/{p-0cf712e6.entry.js.map → p-b95d6d7e.entry.js.map} +0 -0
  1049. /package/dist/stzh-components/{p-b7b21a8c.entry.js.map → p-b96726cd.entry.js.map} +0 -0
  1050. /package/dist/stzh-components/{p-60c3106c.entry.js.map → p-bbf9c297.entry.js.map} +0 -0
  1051. /package/dist/stzh-components/{p-71291933.entry.js.map → p-be131bb0.entry.js.map} +0 -0
  1052. /package/dist/stzh-components/{p-bc3af3b4.entry.js.map → p-c0ca3937.entry.js.map} +0 -0
  1053. /package/dist/stzh-components/{p-d434e9ef.entry.js.map → p-c2b979f4.entry.js.map} +0 -0
  1054. /package/dist/stzh-components/{p-a85ed304.entry.js.map → p-ca122373.entry.js.map} +0 -0
  1055. /package/dist/stzh-components/{p-20735c80.entry.js.map → p-ca3018d9.entry.js.map} +0 -0
  1056. /package/dist/stzh-components/{p-73a79275.entry.js.map → p-cada8a35.entry.js.map} +0 -0
  1057. /package/dist/stzh-components/{p-033c3b6b.entry.js.map → p-cc8ee9b0.entry.js.map} +0 -0
  1058. /package/dist/stzh-components/{p-647a80da.entry.js.map → p-cd7b961a.entry.js.map} +0 -0
  1059. /package/dist/stzh-components/{p-e7e813f8.entry.js.map → p-ced6cf29.entry.js.map} +0 -0
  1060. /package/dist/stzh-components/{p-c297a620.entry.js.map → p-cf9f8810.entry.js.map} +0 -0
  1061. /package/dist/stzh-components/{p-d7668a3b.entry.js.map → p-d0a705e4.entry.js.map} +0 -0
  1062. /package/dist/stzh-components/{p-83a059a0.entry.js.map → p-d5811a44.entry.js.map} +0 -0
  1063. /package/dist/stzh-components/{p-5204cd86.entry.js.map → p-d681d6e4.entry.js.map} +0 -0
  1064. /package/dist/stzh-components/{p-4b928978.entry.js.map → p-d86f3f58.entry.js.map} +0 -0
  1065. /package/dist/stzh-components/{p-af4ea4bc.entry.js.map → p-dbd9d4dc.entry.js.map} +0 -0
  1066. /package/dist/stzh-components/{p-51d869eb.entry.js.map → p-dd861fbd.entry.js.map} +0 -0
  1067. /package/dist/stzh-components/{p-ef8e4a95.entry.js.map → p-df4d32b9.entry.js.map} +0 -0
  1068. /package/dist/stzh-components/{p-2baa284a.entry.js.map → p-e0df6f5e.entry.js.map} +0 -0
  1069. /package/dist/stzh-components/{p-ecd3be50.entry.js.map → p-e4713769.entry.js.map} +0 -0
  1070. /package/dist/stzh-components/{p-0795bbcd.entry.js.map → p-e682f2ac.entry.js.map} +0 -0
  1071. /package/dist/stzh-components/{p-b47d51d7.entry.js.map → p-e7dc4502.entry.js.map} +0 -0
  1072. /package/dist/stzh-components/{p-b8f44c79.entry.js.map → p-e7fd376c.entry.js.map} +0 -0
  1073. /package/dist/stzh-components/{p-02cb3aae.entry.js.map → p-ea5e7024.entry.js.map} +0 -0
  1074. /package/dist/stzh-components/{p-7aca0e23.entry.js.map → p-edf81efe.entry.js.map} +0 -0
  1075. /package/dist/stzh-components/{p-0134136f.entry.js.map → p-ef1dac1c.entry.js.map} +0 -0
  1076. /package/dist/stzh-components/{p-a7bed4b7.entry.js.map → p-f0494df6.entry.js.map} +0 -0
  1077. /package/dist/stzh-components/{p-e19b6d8c.entry.js.map → p-f57e38fd.entry.js.map} +0 -0
  1078. /package/dist/stzh-components/{p-62ffe60a.entry.js.map → p-f5be3b98.entry.js.map} +0 -0
  1079. /package/dist/stzh-components/{p-ec817cb2.entry.js.map → p-f6abd4ab.entry.js.map} +0 -0
  1080. /package/dist/stzh-components/{p-61c9ed2d.entry.js.map → p-f8f7101d.entry.js.map} +0 -0
  1081. /package/dist/stzh-components/{p-42628b3a.entry.js.map → p-ff9946f2.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"file":"p-DBHUqFOB.js","mappings":"AAAM,SAAU,uBAAuB,CAAC,OAAe,EAAA;IACrD,MAAM,QAAQ,GAAG;AACd,SAAA,OAAO,CAAC,yBAAyB,EAAE,EAAE;AACrC,SAAA,OAAO,CAAC,yBAAyB,EAAE,EAAE;AACrC,SAAA,OAAO,CAAC,0BAA0B,EAAE,SAAS,CAAC;IAEjD,OAAO,CAAA,GAAA,EAAM,QAAQ,CAAA,IAAA,CAAM;AAC7B;AAEM,SAAU,SAAS,CAAC,UAAkB,EAAA;AAC1C,IAAA,OAAO;AACJ,SAAA,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC,EAAA;AAC/B,QAAA,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE;AAC3B,KAAC,CAAC;AACN;AAEM,SAAU,QAAQ,CAAC,WAAmB,EAAA;AAC1C,IAAA,OAAO,WAAW,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;AAClE;AAEgB,SAAA,cAAc,CAAC,IAAI,EAAE,MAAM,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AAI;AACvD;AAGA;AACA,SAAS,kBAAkB,CAAC,IAAe,EAAA;;AACzC,IAAA,OAAO,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,IAAI,CAAC,CAAA,EAAA,GAAA,IAAI,CAAC,WAAW,mCAAI,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;AACnF;AAEA;;;;AAIG;AACH,SAAS,oBAAoB,CAC3B,IAAe,EACf,iBAA2B,EAAA;IAE3B,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY,EAAE;AACvC,QAAA,OAAO,KAAK;;IAGd,MAAM,OAAO,GAAG,IAAmB;AAEnC,IAAA,QACE,CAAC,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC;AAC7B,QAAA,CAAC,iBAAiB,CAAC,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAE/E;;;;","names":[],"sources":["src/utils/string-utils.ts","src/utils/utils.ts"],"sourcesContent":["export function createParagraphsFromBrs(content: string) {\n const replaced = content\n .replace(/^\\s*(?:<br\\s*\\/?>\\s*)*/i, \"\")\n .replace(/\\s*(?:<br\\s*\\/?>\\s*)*$/i, \"\")\n .replace(/(?:<br\\s*\\/?>\\s*?){2,}/gi, \"</p><p>\");\n\n return `<p>${replaced}</p>`;\n}\n\nexport function camelCase(dashString: string) {\n return dashString\n .replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n });\n}\n\nexport function dashCase(camelString: string) {\n return camelString.replace(/[A-Z]/g, m => \"-\" + m.toLowerCase());\n}\n\nexport function abbreviateText(text, length) {\n if (text.length <= length) {\n return text;\n }\n\n var lastWhitespaceIndex = text.substring(0, length - 1).lastIndexOf(' ');\n\n if (lastWhitespaceIndex) {\n return text.substring(0, lastWhitespaceIndex) + '\\u2026';\n } else {\n return text.substring(0, length - 1);\n }\n}\n","import { dashCase } from \"./string-utils\";\n\n// Determines whether an element has a slot. If name is specified, the function will look for a corresponding named\n// slot, otherwise it will look for a \"default\" slot (e.g. a non-empty text node or an element with no slot attribute).\nexport function hasSlot(el: HTMLElement, name?: string) {\n // Look for a named slot\n if (name) {\n return el.querySelector(`[slot=\"${name}\"]`) !== null;\n }\n\n // Look for a default slot\n return Array.from(childNodes(el)).some((node) => {\n if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== \"\") {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n if (!el.hasAttribute(\"slot\")) {\n return true;\n }\n }\n\n return false;\n });\n}\n\nexport function setPropsIfNull(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n if (element.getAttribute(dashCase(attribute)) === null) {\n element[attribute] = attributes[attribute];\n }\n });\n}\n\nexport function setProps(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n element[attribute] = attributes[attribute];\n });\n}\n\nexport function isStzhElement(element: Element) {\n if (!element || element.nodeType !== 1) {\n return false;\n }\n\n return element.tagName.toLowerCase().indexOf(\"stzh-\") === 0;\n}\n\n// returns content of <meta name=\"\" content=\"\"> tags or '' if empty/non existant\nexport function getMeta(name) {\n const meta = document.querySelector(\n `meta[name=\"${name}\"],[property=\"${name}\"]`,\n );\n return meta ? meta.getAttribute(\"content\") : \"\";\n}\n\nexport function parents(node: Element | Node) {\n const parents = [];\n\n while (node) {\n parents.unshift(node);\n node = node.parentNode;\n }\n\n return parents;\n}\n\nexport function childNodes(node: Element) {\n const childNodes = node.childNodes;\n\n // check if element is stencil element without shadow dom\n // and then detect elements that were slotted into the element\n if (node[\"s-sc\"]) {\n const result = [];\n\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i][\"s-nr\"];\n\n if (slot) {\n result.push(slot);\n }\n }\n\n return result;\n }\n\n return Array.from(childNodes);\n}\n\nexport function isVisible(element: HTMLElement): boolean {\n // @ts-ignore\n if (typeof element.checkVisibility !== \"undefined\") {\n // @ts-ignore\n return element.checkVisibility({\n checkOpacity: false,\n checkVisibilityCSS: false,\n });\n } else {\n return !!(\n element.offsetWidth ||\n element.offsetHeight ||\n element.getClientRects().length\n );\n }\n}\n\nexport function offset(element): { top: number; left: number } {\n if (!element.getClientRects().length) {\n return { top: 0, left: 0 };\n }\n\n let rect = element.getBoundingClientRect();\n let win = element.ownerDocument.defaultView;\n\n return {\n top: rect.top + win.pageYOffset,\n left: rect.left + win.pageXOffset,\n };\n}\n\nexport async function raf() {\n return new Promise<void>((resolve) => {\n requestAnimationFrame(() => {\n resolve();\n });\n });\n}\n\nexport async function setTimeout(time: number) {\n return new Promise<void>((resolve) => {\n window.setTimeout(() => {\n resolve();\n }, time);\n });\n}\n\nexport enum StzhEnvironmentEnum {\n UNKNOWN = \"UNKNOWN\",\n DEV = \"DEV\",\n UAT = \"UAT\",\n PROD = \"PROD\",\n}\n\nexport function getStzhEnvironment(): StzhEnvironmentEnum {\n const url = window.location.href;\n\n switch (true) {\n // DEV\n case url.includes(\"localhost\"):\n case url.includes(\"test.stadt-zuerich.loc\"):\n case /\\.dev\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.DEV;\n\n // UAT\n case url.includes(\"integ.stadt-zuerich.ch\"):\n case /\\.uat\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.UAT;\n\n // PROD\n case url.includes(\"https://www.stadt-zuerich.ch\"):\n case url.includes(\"designsystem.stadt-zuerich.ch\"):\n case /\\.cmp\\.szh\\.loc/.test(url):\n return StzhEnvironmentEnum.PROD;\n\n // Fallback\n default:\n return StzhEnvironmentEnum.UNKNOWN;\n }\n}\n\nexport function addWordBreakToLinks(links: HTMLElement[]) {\n links.forEach((link) => {\n link.childNodes.forEach((node) => {\n if (node.nodeType === Node.TEXT_NODE && node.textContent?.includes(\"_\")) {\n const span = document.createElement(\"span\");\n span.innerHTML = node.textContent.replace(/_/g, \"_<wbr>\");\n link.replaceChild(span, node);\n }\n });\n });\n}\nexport function formatHeadingForHyphenation(heading) {\n return heading.replace(/(\\p{L})\\/(\\p{L})/gu, \"$1 / $2\");\n}\n\nexport function getTheme() {\n const htmlElement = document.documentElement;\n return Array.from(htmlElement.classList).find((className) =>\n className.startsWith(\"stzh-theme-\"),\n );\n}\n\n/** Below code becomes obsolete with the implementation of PDESI-1908 */\n/** ----------- */\n\n\ninterface StencilRelocatedNode extends ChildNode {\n /**\n * Internal Stencil runtime reference to the original relocated node.\n * This can exist when Stencil handles scoped slots / slot fallback nodes.\n * It is not part of the standard DOM API.\n */\n 's-nr'?: ChildNode;\n}\n\n/**\n * Checks whether a host element has meaningful default-slot content.\n *\n * This detects:\n * - normal default-slot content\n * - non-empty text nodes\n * - Stencil scoped-slot fallback / relocated nodes\n *\n * This ignores:\n * - named-slot content, meaning elements with a `slot` attribute\n * - elements with one of the provided ignored class names\n */\nexport function hasDefaultSlotContent(\n host: HTMLElement,\n ignoredClassNames: string[] = [],\n): boolean {\n if (hasSlot(host)) {\n return true;\n }\n\n return Array.from(host.childNodes).some(node => {\n const slotNode = getStencilRelocatedNode(node);\n\n if (isNonEmptyTextNode(slotNode)) {\n return true;\n }\n\n if (isDefaultSlotElement(slotNode, ignoredClassNames)) {\n return true;\n }\n\n return false;\n });\n}\n\n/**\n * Returns the original Stencil-relocated node if available.\n *\n * Stencil may attach an internal `s-nr` property to nodes when handling\n * scoped slots or slot fallback content. In that case, the useful content\n * information may be on the relocated node instead of the wrapper node.\n */\nfunction getStencilRelocatedNode(node: ChildNode): ChildNode {\n return (node as StencilRelocatedNode)['s-nr'] ?? node;\n}\n\n\n/** Checks whether the given node is a text node with visible content. */\nfunction isNonEmptyTextNode(node: ChildNode): boolean {\n return node.nodeType === Node.TEXT_NODE && (node.textContent ?? '').trim() !== '';\n}\n\n/**\n * Checks whether the given node is an element belonging to the default slot.\n * Elements with a `slot` attribute belong to a named slot and are therefore\n * not considered default-slot content.\n */\nfunction isDefaultSlotElement(\n node: ChildNode,\n ignoredClassNames: string[],\n): boolean {\n if (node.nodeType !== Node.ELEMENT_NODE) {\n return false;\n }\n\n const element = node as HTMLElement;\n\n return (\n !element.hasAttribute('slot') &&\n !ignoredClassNames.some(className => element.classList.contains(className))\n );\n}\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
- import { a as printISODate, d as defineCustomElement$6 } from './p-BaMZCxiX.js';
3
- import { h as hasSlot } from './p-CN5apKPb.js';
4
- import { d as defineCustomElement$8 } from './p-Yktwo3G-.js';
5
- import { d as defineCustomElement$7 } from './p-B7_vqC4s.js';
6
- import { d as defineCustomElement$5 } from './p-BVyHe4zB.js';
7
- import { d as defineCustomElement$4 } from './p-DZ_hOgVb.js';
8
- import { d as defineCustomElement$3 } from './p-G6s0H-yQ.js';
9
- import { d as defineCustomElement$2 } from './p-BNRtW-oE.js';
10
- import { d as defineCustomElement$1 } from './p-CqIeGIYq.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
+ import { a as printISODate, d as defineCustomElement$6 } from './p-UdeeIE8s.js';
3
+ import { h as hasSlot } from './p-DBHUqFOB.js';
4
+ import { d as defineCustomElement$8 } from './p-Dn7rMHvA.js';
5
+ import { d as defineCustomElement$7 } from './p-CrQrHbCR.js';
6
+ import { d as defineCustomElement$5 } from './p-BDyLmXTF.js';
7
+ import { d as defineCustomElement$4 } from './p-mPSUVIkD.js';
8
+ import { d as defineCustomElement$3 } from './p-DhDUHSh7.js';
9
+ import { d as defineCustomElement$2 } from './p-Bi0j3C9E.js';
10
+ import { d as defineCustomElement$1 } from './p-CIG3atcV.js';
11
11
 
12
12
  const stzhDatepickerCss = () => `.sc-stzh-datepicker-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-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::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-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}`;
13
13
 
@@ -190,11 +190,11 @@ const StzhDatepicker = /*@__PURE__*/ proxyCustomElement(class StzhDatepicker ext
190
190
  "stzh-datepicker--inline": this.inline,
191
191
  "stzh-datepicker--has-action": actionUsed,
192
192
  };
193
- return (h(Host, { key: 'f9ab0e2fb4575eb8542d1ec382f35481cf134fb6', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'b2c28f9dd72b3744607a266df158da76e9530262', class: classes }, h("input", { key: '4650d89af6b5c00f52c54a79f5e142ca81ec85a1', type: "hidden", name: this.name, value: this.value, defaultValue: this.defaultValue }), this.inline && (h(Fragment, { key: '79d0a144fecd99d047b825c70b8f7bc714d5f119' }, h("stzh-calendar", { key: 'f68c46fa1c548914947871b7c4b734712080f686',
193
+ return (h(Host, { key: 'd9b40c1e1a68c74879c273a174b8a63ffb3d10b2', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'c53891ea927dd1438358a5d217dc2f1e528dde72', class: classes }, h("input", { key: '41c4696e237df6813fb12753afaddb1146b3f73a', type: "hidden", name: this.name, value: this.value, defaultValue: this.defaultValue }), this.inline && (h(Fragment, { key: '6efba9d37a2bde968d953346016754cc070b8665' }, h("stzh-calendar", { key: '77150633a72adfa35e7798f17f40b53297f798a3',
194
194
  // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}
195
- value: this.calendarValue, class: "stzh-datepicker__calendar is-inline", isDateDisabled: this.calendarIsDateDisabled, min: this.calendarMin, max: this.calendarMax, onStzhChange: this.onCalendarChange }), h("div", { key: '9fbf7a789b1a913b49410b541c43d7f1632e06a4', class: "stzh-datepicker__actions" }, h("slot", { key: 'db2778590807eb867606d911e68ba8028c3bd7b2', name: "action" })))), !this.inline && (h("stzh-input", { key: '0873aa372a6f12d138e8eb27faf1625185e807b2', value: this.inputValue, label: this.label, labelHidden: this.labelHidden, ref: el => (this.input = el), noAutocomplete: true, onStzhChanged: this.onInputChanged, readonly: this.readonly, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, invalid: this.invalid, required: this.required, hideOptional: this.hideOptional, size: this.size }, h("stzh-popover", { key: '7078a7358bdd7d0ffac426a4403e746c09443af7', ref: el => (this.popoverElement = el), class: "stzh-datepicker__popover", slot: "button-right", placement: "bottom-end", strategy: "fixed", label: this.label }, h("stzh-button", { key: '3e918f15c8de06dbedf49d017cad568bdeb4c85c', "icon-only": true, icon: "calendar", size: this.size, disabled: this.disabled, a11yLabel: this.buttonLabel }), h("div", { key: 'ffdd219a08612fa9455b620fa9a2bc3b3c2a72ca', slot: "content" }, h("stzh-calendar", { key: 'cba8098fb2ad2bd4d71692923d66315210822176',
195
+ value: this.calendarValue, class: "stzh-datepicker__calendar is-inline", isDateDisabled: this.calendarIsDateDisabled, min: this.calendarMin, max: this.calendarMax, onStzhChange: this.onCalendarChange }), h("div", { key: 'f0e8a0edbb4c64ea411e30ab4578c0013c88b83f', class: "stzh-datepicker__actions" }, h("slot", { key: 'b5df0a6529ffaf2927a01f408d167695e5a002c5', name: "action" })))), !this.inline && (h("stzh-input", { key: 'b470051ac156e9bcbacd72fcd64b57645f67ee5e', value: this.inputValue, label: this.label, labelHidden: this.labelHidden, ref: el => (this.input = el), noAutocomplete: true, onStzhChanged: this.onInputChanged, readonly: this.readonly, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, invalid: this.invalid, required: this.required, hideOptional: this.hideOptional, size: this.size }, h("stzh-popover", { key: '2e29653c07a2e711b0753588e1393134c955b8c4', ref: el => (this.popoverElement = el), class: "stzh-datepicker__popover", slot: "button-right", placement: "bottom-end", strategy: "fixed", label: this.label }, h("stzh-button", { key: '6bd527b919554988a7b38504c8a8b400a533963e', "icon-only": true, icon: "calendar", size: this.size, disabled: this.disabled, a11yLabel: this.buttonLabel }), h("div", { key: '7c210df7753fcc03e8c739c9e1091e368283a773', slot: "content" }, h("stzh-calendar", { key: 'ca06852fe5518ff2addbbbd594a8b8d9cf5b30e7',
196
196
  // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}
197
- value: this.calendarValue, class: "stzh-datepicker__calendar is-popover", isDateDisabled: this.calendarIsDateDisabled, min: this.calendarMin, max: this.calendarMax, onStzhChange: this.onCalendarChange }), h("div", { key: '74bf18b052db32ded17eb2a5df1ab689d71a53a0', class: "stzh-datepicker__actions" }, h("slot", { key: '55a234b0b97e8c031619ca422f67413fd56aba3f', name: "action" })))))))));
197
+ value: this.calendarValue, class: "stzh-datepicker__calendar is-popover", isDateDisabled: this.calendarIsDateDisabled, min: this.calendarMin, max: this.calendarMax, onStzhChange: this.onCalendarChange }), h("div", { key: '29780d8533bec7a0b487451ab5357842dc9995f1', class: "stzh-datepicker__actions" }, h("slot", { key: 'cae8db696b99abf9c7c78f4826d0375fcc8471cd', name: "action" })))))))));
198
198
  }
199
199
  get element() { return this; }
200
200
  static get watchers() { return {
@@ -292,6 +292,6 @@ function defineCustomElement() {
292
292
  }
293
293
 
294
294
  export { StzhDatepicker as S, defineCustomElement as d };
295
- //# sourceMappingURL=p-BdnKcZer.js.map
295
+ //# sourceMappingURL=p-DI3R5qMv.js.map
296
296
 
297
- //# sourceMappingURL=p-BdnKcZer.js.map
297
+ //# sourceMappingURL=p-DI3R5qMv.js.map
@@ -1 +1 @@
1
- {"file":"p-BdnKcZer.js","mappings":";;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,yiEAAyiE,CAAC;;MCiC9jE,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;AAL3B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AAME;;;AAGG;AACK,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;AAEhC;;;AAGG;AACK,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;AAEhC;;;AAGG;AACK,QAAA,IAAA,CAAA,sBAAsB,GAAsC,MAAM,KAAK;;AAGtD,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;AAClC,QAAA,IAAa,CAAA,aAAA,GAAW,EAAE;AAC1B,QAAA,IAAU,CAAA,UAAA,GAAW,EA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A,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EACjB,CAAA,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA;;AAEE,YAAA,KAAK,EAAE,IAAI,CAAC,aAAa,EACzB,KAAK,EAAC,sCAAsC,EAC5C,cAAc,EAAE,IAAI,CAAC,sBAAsB,EAC3C,GAAG,EAAE,IAAI,CAAC,WAAW,EACrB,GAAG,EAAE,IAAI,CAAC,WAAW,EACrB,YAAY,EAAE,IAAI,CAAC,gBAAgB,EACpB,CAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAA,CAAQ,CACvB,CACF,CACO,CACJ,CACd,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-datepicker/stzh-datepicker.scss?tag=stzh-datepicker&encapsulation=scoped","src/components/stzh-datepicker/stzh-datepicker.tsx"],"sourcesContent":[":host {\n --calendar-width: #{$calendarWidth};\n\n width: 100%;\n position: relative;\n\n &[inline]:not([inline=\"false\"]) {\n width: var(--calendar-width);\n }\n}\n\n.stzh-datepicker {\n &__popover {\n --width: auto;\n }\n\n &__calendar {\n margin-left: auto;\n margin-right: auto;\n\n &.is-inline {\n width: 100%;\n margin-left: 0px;\n margin-right: 0px;\n }\n }\n\n &__actions {\n display: flex;\n width: var(--calendar-width);\n margin-left: auto;\n margin-right: auto;\n\n &.is-inline {\n width: 100%;\n margin-left: 0px;\n margin-right: 0px;\n }\n\n &:not(:empty) {\n padding-left: space(\"small\");\n padding-right: space(\"small\");\n }\n }\n\n /* Has action */\n\n &--has-action &__popover {\n --content-padding: 0 0 #{space(\"small\")} 0;\n }\n}\n","import {\n Component,\n Prop,\n Host,\n Element,\n h,\n Event,\n EventEmitter,\n Method,\n Watch,\n Fragment,\n State,\n Listen,\n} from \"@stencil/core\";\n\nimport { StzhCalendarChangeEvent, StzhDatepickerChangeEvent } from \"../../index\";\n\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nimport { printISODate } from \"../../utils/date-utils\";\nimport { StzhLocaleAdapter } from \"../../index\";\n\nimport { StzhDatepickerLocalizedText } from \"./stzh-datepicker.localization\";\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot action - Slot for action below calendar (stzh-link element)\n */\n@Component({\n tag: \"stzh-datepicker\",\n styleUrl: \"stzh-datepicker.scss\",\n scoped: true,\n})\nexport class StzhDatepicker {\n /**\n * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the max property.\n */\n @Prop() calendarMin: string = \"\";\n\n /**\n * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the min property.\n */\n @Prop() calendarMax: string = \"\";\n\n /**\n * Controls which days are disabled and therefore disallowed.\n * For example, this can be used to disallow selection of weekends.\n */\n @Prop() calendarIsDateDisabled: StzhCalendarDateDisabledPredicate = () => false;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the hidden date picker input. If a date can be parsed (via picker always), the value is in ISO format. Otherwise the value equals the manual input. */\n @Prop({ mutable: true }) value: string = \"\";\n @State() calendarValue: string = \"\";\n @State() inputValue: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Label for input field and popover */\n @Prop() label: string = \"\";\n\n /** Whether label is visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Show calendar inline */\n @Prop({ reflect: true }) inline: boolean = false;\n\n /**\n * Date adapter visible date shown to the user, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /**\n * Date adapter for internal date passed to backend, for custom parsing/formatting.\n * Can be `\"iso\"` (default, date in ISO format) / `\"legacy\"` (date in `d.m.Y` format)\n * or `StzhLocaleAdapter` (must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.)\n */\n @Prop() internalDateAdapter: \"iso\" | \"legacy\" | StzhLocaleAdapter = \"iso\";\n private _internalDateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhDatepickerLocalizedText;\n\n @State() buttonLabel: string;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"localization\")\n createDateFormatters() {\n if (this.localization) {\n this.dateFormatLong = new Intl.DateTimeFormat(this.localization.$locale, {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n });\n }\n }\n\n /** Update calendar and input when value prop has changed */\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n if (!this._internalDateAdapter) {\n return;\n }\n\n const date = this._internalDateAdapter.parse(newValue, \"dateInput\");\n\n this.calendarValue = printISODate(date);\n this.inputValue = this.dateAdapter.format(date, \"dateInput\");\n\n this.updateButtonAccessibleLabel();\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"internalDateAdapter\")\n internalDateAdapterWatcher(newValue: \"iso\" | \"legacy\" | StzhLocaleAdapter) {\n if (newValue === \"iso\" || !newValue) {\n this._internalDateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formatsIso,\n this.localization.$globals,\n );\n } else if (newValue === \"legacy\") {\n this._internalDateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formatsLegacy,\n this.localization.$globals,\n );\n } else {\n this._internalDateAdapter = newValue;\n }\n }\n\n /** Set value by a JS Date object */\n @Method()\n async setDate(date: Date) {\n this.value = this._internalDateAdapter.format(date, \"dateInput\");\n }\n\n /** Return internal popover element */\n @Method()\n async getPopover(): Promise<HTMLStzhPopoverElement> {\n return this.popoverElement;\n }\n\n /** Datepicker change event */\n @Event() stzhChange: EventEmitter<StzhDatepickerChangeEvent>;\n\n @Element() element: HTMLStzhDatepickerElement;\n\n /**\n * To format dates exclusively for the benefit of screen readers.\n *\n * We prefer DateTimeFormat over date.toLocaleDateString, as the former has\n * better performance when formatting large number of dates. See:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance\n */\n private dateFormatLong: Intl.DateTimeFormat;\n\n private input: HTMLStzhInputElement;\n private popoverElement: HTMLStzhPopoverElement;\n // private calendar: HTMLStzhCalendarElement;\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChanged = () => {\n const parsedDate = this.dateAdapter.parse(this.input.value, \"dateInput\");\n\n if (this.input.value === \"\" || parsedDate) {\n const formattedDate = this._internalDateAdapter.format(parsedDate, \"dateInput\");\n\n if (this.value !== formattedDate) {\n this.value = formattedDate;\n } else {\n this.valueWatcher(formattedDate);\n }\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: parsedDate,\n });\n }\n };\n\n private onCalendarChange = (event: CustomEvent<StzhCalendarChangeEvent>) => {\n if (event.detail.component !== \"stzh-calendar\") {\n // Do not emit stzhChange event from year/month dropdowns\n event.stopPropagation();\n return;\n }\n\n this.value = event.detail.valueAsDate && this._internalDateAdapter.format(event.detail.valueAsDate, \"dateInput\");\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: event.detail.valueAsDate,\n });\n\n if (this.popoverElement) {\n this.popoverElement.hide();\n }\n };\n\n private updateButtonAccessibleLabel() {\n if (!this.localization) {\n return;\n }\n\n try {\n const valueAsDate = this._internalDateAdapter.parse(this.value, \"dateInput\");\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(valueAsDate)}`;\n } catch (err) {\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}`;\n }\n }\n\n connectedCallback() {\n this.createDateFormatters();\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"datepicker\");\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n this.internalDateAdapterWatcher(this.internalDateAdapter);\n this.valueWatcher(this.value);\n this.defaultValue = this.defaultValue || this.value;\n }\n\n render() {\n const actionUsed = hasSlot(this.element, \"action\");\n\n const classes = {\n \"stzh-datepicker\": true,\n \"stzh-datepicker--inline\": this.inline,\n \"stzh-datepicker--has-action\": actionUsed,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <input type=\"hidden\" name={this.name} value={this.value} defaultValue={this.defaultValue} />\n\n {this.inline && (\n <Fragment>\n <stzh-calendar\n // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n value={this.calendarValue}\n class=\"stzh-datepicker__calendar is-inline\"\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </Fragment>\n )}\n\n {!this.inline && (\n <stzh-input\n value={this.inputValue}\n label={this.label}\n labelHidden={this.labelHidden}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n noAutocomplete\n onStzhChanged={this.onInputChanged}\n readonly={this.readonly}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n hideOptional={this.hideOptional}\n size={this.size}\n >\n <stzh-popover\n ref={el => (this.popoverElement = el as HTMLStzhPopoverElement)}\n class=\"stzh-datepicker__popover\"\n slot=\"button-right\"\n placement=\"bottom-end\"\n strategy=\"fixed\"\n label={this.label}\n >\n <stzh-button\n icon-only\n icon=\"calendar\"\n size={this.size}\n disabled={this.disabled}\n a11yLabel={this.buttonLabel}\n ></stzh-button>\n <div slot=\"content\">\n <stzh-calendar\n // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n value={this.calendarValue}\n class=\"stzh-datepicker__calendar is-popover\"\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n </stzh-popover>\n </stzh-input>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DI3R5qMv.js","mappings":";;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,yiEAAyiE,CAAC;;MCiC9jE,cAAc,i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EAAE,KAAK,IAAI,CAAC,cAAc,GAAG,EAA4B,CAAC,EAC/D,KAAK,EAAC,0BAA0B,EAChC,IAAI,EAAC,cAAc,EACnB,SAAS,EAAC,YAAY,EACtB,QAAQ,EAAC,OAAO,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EAAA,EAEjB,CAEE,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,EAAC,UAAU,EACf,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAE,IAAI,CAAC,WAAW,EACd,CAAA,EACf,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EACjB,CAAA,CAAA,eAAA,EAAA,EAAA,GAAA,EAAA,0CAAA;;AAEE,YAAA,KAAK,EAAE,IAAI,CAAC,aAAa,EACzB,KAAK,EAAC,sCAAsC,EAC5C,cAAc,EAAE,IAAI,CAAC,sBAAsB,EAC3C,GAAG,EAAE,IAAI,CAAC,WAAW,EACrB,GAAG,EAAE,IAAI,CAAC,WAAW,EACrB,YAAY,EAAE,IAAI,CAAC,gBAAgB,EACpB,CAAA,EACjB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,0BAA0B,EAAA,EACnC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAA,CAAQ,CACvB,CACF,CACO,CACJ,CACd,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-datepicker/stzh-datepicker.scss?tag=stzh-datepicker&encapsulation=scoped","src/components/stzh-datepicker/stzh-datepicker.tsx"],"sourcesContent":[":host {\n --calendar-width: #{$calendarWidth};\n\n width: 100%;\n position: relative;\n\n &[inline]:not([inline=\"false\"]) {\n width: var(--calendar-width);\n }\n}\n\n.stzh-datepicker {\n &__popover {\n --width: auto;\n }\n\n &__calendar {\n margin-left: auto;\n margin-right: auto;\n\n &.is-inline {\n width: 100%;\n margin-left: 0px;\n margin-right: 0px;\n }\n }\n\n &__actions {\n display: flex;\n width: var(--calendar-width);\n margin-left: auto;\n margin-right: auto;\n\n &.is-inline {\n width: 100%;\n margin-left: 0px;\n margin-right: 0px;\n }\n\n &:not(:empty) {\n padding-left: space(\"small\");\n padding-right: space(\"small\");\n }\n }\n\n /* Has action */\n\n &--has-action &__popover {\n --content-padding: 0 0 #{space(\"small\")} 0;\n }\n}\n","import {\n Component,\n Prop,\n Host,\n Element,\n h,\n Event,\n EventEmitter,\n Method,\n Watch,\n Fragment,\n State,\n Listen,\n} from \"@stencil/core\";\n\nimport { StzhCalendarChangeEvent, StzhDatepickerChangeEvent } from \"../../index\";\n\nimport { StzhCalendarDateDisabledPredicate } from \"../../index\";\n\nimport { printISODate } from \"../../utils/date-utils\";\nimport { StzhLocaleAdapter } from \"../../index\";\n\nimport { StzhDatepickerLocalizedText } from \"./stzh-datepicker.localization\";\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot action - Slot for action below calendar (stzh-link element)\n */\n@Component({\n tag: \"stzh-datepicker\",\n styleUrl: \"stzh-datepicker.scss\",\n scoped: true,\n})\nexport class StzhDatepicker {\n /**\n * Minimum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the max property.\n */\n @Prop() calendarMin: string = \"\";\n\n /**\n * Maximum date allowed to be picked. Must be in IS0-8601 format: YYYY-MM-DD.\n * This setting can be used alone or together with the min property.\n */\n @Prop() calendarMax: string = \"\";\n\n /**\n * Controls which days are disabled and therefore disallowed.\n * For example, this can be used to disallow selection of weekends.\n */\n @Prop() calendarIsDateDisabled: StzhCalendarDateDisabledPredicate = () => false;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the hidden date picker input. If a date can be parsed (via picker always), the value is in ISO format. Otherwise the value equals the manual input. */\n @Prop({ mutable: true }) value: string = \"\";\n @State() calendarValue: string = \"\";\n @State() inputValue: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Label for input field and popover */\n @Prop() label: string = \"\";\n\n /** Whether label is visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Show calendar inline */\n @Prop({ reflect: true }) inline: boolean = false;\n\n /**\n * Date adapter visible date shown to the user, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /**\n * Date adapter for internal date passed to backend, for custom parsing/formatting.\n * Can be `\"iso\"` (default, date in ISO format) / `\"legacy\"` (date in `d.m.Y` format)\n * or `StzhLocaleAdapter` (must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.)\n */\n @Prop() internalDateAdapter: \"iso\" | \"legacy\" | StzhLocaleAdapter = \"iso\";\n private _internalDateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhDatepickerLocalizedText;\n\n @State() buttonLabel: string;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"localization\")\n createDateFormatters() {\n if (this.localization) {\n this.dateFormatLong = new Intl.DateTimeFormat(this.localization.$locale, {\n day: \"numeric\",\n month: \"long\",\n year: \"numeric\",\n });\n }\n }\n\n /** Update calendar and input when value prop has changed */\n @Watch(\"value\")\n valueWatcher(newValue: string) {\n if (!this._internalDateAdapter) {\n return;\n }\n\n const date = this._internalDateAdapter.parse(newValue, \"dateInput\");\n\n this.calendarValue = printISODate(date);\n this.inputValue = this.dateAdapter.format(date, \"dateInput\");\n\n this.updateButtonAccessibleLabel();\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"internalDateAdapter\")\n internalDateAdapterWatcher(newValue: \"iso\" | \"legacy\" | StzhLocaleAdapter) {\n if (newValue === \"iso\" || !newValue) {\n this._internalDateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formatsIso,\n this.localization.$globals,\n );\n } else if (newValue === \"legacy\") {\n this._internalDateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formatsLegacy,\n this.localization.$globals,\n );\n } else {\n this._internalDateAdapter = newValue;\n }\n }\n\n /** Set value by a JS Date object */\n @Method()\n async setDate(date: Date) {\n this.value = this._internalDateAdapter.format(date, \"dateInput\");\n }\n\n /** Return internal popover element */\n @Method()\n async getPopover(): Promise<HTMLStzhPopoverElement> {\n return this.popoverElement;\n }\n\n /** Datepicker change event */\n @Event() stzhChange: EventEmitter<StzhDatepickerChangeEvent>;\n\n @Element() element: HTMLStzhDatepickerElement;\n\n /**\n * To format dates exclusively for the benefit of screen readers.\n *\n * We prefer DateTimeFormat over date.toLocaleDateString, as the former has\n * better performance when formatting large number of dates. See:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString#Performance\n */\n private dateFormatLong: Intl.DateTimeFormat;\n\n private input: HTMLStzhInputElement;\n private popoverElement: HTMLStzhPopoverElement;\n // private calendar: HTMLStzhCalendarElement;\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChanged = () => {\n const parsedDate = this.dateAdapter.parse(this.input.value, \"dateInput\");\n\n if (this.input.value === \"\" || parsedDate) {\n const formattedDate = this._internalDateAdapter.format(parsedDate, \"dateInput\");\n\n if (this.value !== formattedDate) {\n this.value = formattedDate;\n } else {\n this.valueWatcher(formattedDate);\n }\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: parsedDate,\n });\n }\n };\n\n private onCalendarChange = (event: CustomEvent<StzhCalendarChangeEvent>) => {\n if (event.detail.component !== \"stzh-calendar\") {\n // Do not emit stzhChange event from year/month dropdowns\n event.stopPropagation();\n return;\n }\n\n this.value = event.detail.valueAsDate && this._internalDateAdapter.format(event.detail.valueAsDate, \"dateInput\");\n\n this.stzhChange.emit({\n component: \"stzh-datepicker\",\n value: this.value,\n valueAsDate: event.detail.valueAsDate,\n });\n\n if (this.popoverElement) {\n this.popoverElement.hide();\n }\n };\n\n private updateButtonAccessibleLabel() {\n if (!this.localization) {\n return;\n }\n\n try {\n const valueAsDate = this._internalDateAdapter.parse(this.value, \"dateInput\");\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(valueAsDate)}`;\n } catch (err) {\n this.buttonLabel = `${this.label}, ${this.localization.buttonLabel}`;\n }\n }\n\n connectedCallback() {\n this.createDateFormatters();\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"datepicker\");\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n this.internalDateAdapterWatcher(this.internalDateAdapter);\n this.valueWatcher(this.value);\n this.defaultValue = this.defaultValue || this.value;\n }\n\n render() {\n const actionUsed = hasSlot(this.element, \"action\");\n\n const classes = {\n \"stzh-datepicker\": true,\n \"stzh-datepicker--inline\": this.inline,\n \"stzh-datepicker--has-action\": actionUsed,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <input type=\"hidden\" name={this.name} value={this.value} defaultValue={this.defaultValue} />\n\n {this.inline && (\n <Fragment>\n <stzh-calendar\n // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n value={this.calendarValue}\n class=\"stzh-datepicker__calendar is-inline\"\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </Fragment>\n )}\n\n {!this.inline && (\n <stzh-input\n value={this.inputValue}\n label={this.label}\n labelHidden={this.labelHidden}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n noAutocomplete\n onStzhChanged={this.onInputChanged}\n readonly={this.readonly}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n hideOptional={this.hideOptional}\n size={this.size}\n >\n <stzh-popover\n ref={el => (this.popoverElement = el as HTMLStzhPopoverElement)}\n class=\"stzh-datepicker__popover\"\n slot=\"button-right\"\n placement=\"bottom-end\"\n strategy=\"fixed\"\n label={this.label}\n >\n <stzh-button\n icon-only\n icon=\"calendar\"\n size={this.size}\n disabled={this.disabled}\n a11yLabel={this.buttonLabel}\n ></stzh-button>\n <div slot=\"content\">\n <stzh-calendar\n // ref={(el) => (this.calendar = el as HTMLStzhCalendarElement)}\n value={this.calendarValue}\n class=\"stzh-datepicker__calendar is-popover\"\n isDateDisabled={this.calendarIsDateDisabled}\n min={this.calendarMin}\n max={this.calendarMax}\n onStzhChange={this.onCalendarChange}\n ></stzh-calendar>\n <div class=\"stzh-datepicker__actions\">\n <slot name=\"action\"></slot>\n </div>\n </div>\n </stzh-popover>\n </stzh-input>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
2
 
3
3
  const stzhRatioCss = () => `:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{--background-color:var(--stzh-ratio-background-color);--ratio:16 /
4
4
  9;--max-height:inherit;--overflow:inherit}:host ::slotted(*){position:absolute;width:100%;height:100%;inset:0;object-fit:cover}:host ::slotted(.stzh-card-searchresult__image-placeholder){display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--placeholder-image-color)}:host([fit=contain]) ::slotted(*){object-fit:contain}:host([portrait]:not([portrait=false])){--ratio:9 /
@@ -30,7 +30,7 @@ const StzhRatio = /*@__PURE__*/ proxyCustomElement(class StzhRatio extends H {
30
30
  const classes = {
31
31
  "stzh-ratio": true,
32
32
  };
33
- return (h(Host, { key: 'f0370e4bb53568bb83ec04c90655f236b632fd12' }, h("div", { key: '5a5f4b85b92674cda20685c62aa33578977f19ac', class: classes }, h("slot", { key: '423ad2c60178a174a2f154672c92c9ed652c9b37', name: "image" }), h("slot", { key: '7ee39b1115548d630f6c20a06557ebf8587325a2' }))));
33
+ return (h(Host, { key: 'f0c67239e76dd8eefe54d6fb4ca4ffc36de0e549' }, h("div", { key: '3a783be1629632126fdb694e8da2bbcb3e1df4cf', class: classes }, h("slot", { key: 'b72625e73a1cbf33626d5bb86a59df6037c26bef', name: "image" }), h("slot", { key: '046c5cab09d0d317597a8a3cf48bb4a055f26714' }))));
34
34
  }
35
35
  get element() { return this; }
36
36
  static get style() { return stzhRatioCss(); }
@@ -58,6 +58,6 @@ function defineCustomElement() {
58
58
  }
59
59
 
60
60
  export { StzhRatio as S, defineCustomElement as d };
61
- //# sourceMappingURL=p-Chfmq0ty.js.map
61
+ //# sourceMappingURL=p-DK163sow.js.map
62
62
 
63
- //# sourceMappingURL=p-Chfmq0ty.js.map
63
+ //# sourceMappingURL=p-DK163sow.js.map
@@ -1 +1 @@
1
- {"file":"p-Chfmq0ty.js","mappings":";;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA,0pMAA0pM,CAAC;;MCU9oM,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAE5B,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAW,CAAA,WAAA,GAA6B,SAAS;;AAEjD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAGhD,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAG,CAAA,GAAA,GAAwB,OAAO;AAkB5D;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,YAAY,EAAE,IAAI;SACnB;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,OAAO,EAAQ,CAAA,EAC1B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-ratio/stzh-ratio.scss?tag=stzh-ratio&encapsulation=shadow","src/components/stzh-ratio/stzh-ratio.tsx"],"sourcesContent":["@use \"sass:map\";\n@use \"sass:list\";\n\n/**\n * @prop --ratio: Ratio (e.g. 16 / 9)\n * @prop --background-color: Background color of ratio area\n * @prop --max-height: Max height of the ratio, useful when viewport is huge\n * @prop --overflow: In combination with max height you might wanna hide overflow\n *\n * @prop --stzh-ratio-background-color: **Global**: Background color of ratios\n */\n\n:host {\n --background-color: #{$ratioBackgroundColor};\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 1)} /\n #{list.nth(map.get($ratios, $ratioDefault), 2)};\n --max-height: inherit;\n --overflow: inherit;\n\n ::slotted(*) {\n position: absolute;\n width: 100%;\n height: 100%;\n inset: 0;\n object-fit: cover;\n }\n\n ::slotted(.stzh-card-searchresult__image-placeholder) {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n color: var(--placeholder-image-color);\n }\n}\n\n:host([fit=\"contain\"]) ::slotted(*) {\n object-fit: contain;\n}\n\n/* Ratio variants */\n\n:host([portrait]:not([portrait=\"false\"])) {\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 2)} /\n #{list.nth(map.get($ratios, $ratioDefault), 1)};\n}\n\n@mixin ratioProps($breakpoint: null) {\n @each $ratio, $value in $ratios {\n $firstNr: list.nth($value, 1);\n $secondNr: list.nth($value, 2);\n\n @if $breakpoint {\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"]) {\n @include mq($from: $breakpoint) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n }\n\n :host(\n [ratio-#{$breakpoint}=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])\n ) {\n @include mq($from: $breakpoint) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n } @else {\n :host([ratio=\"#{$ratio}\"]) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n\n :host([ratio=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n }\n}\n\n@include ratioProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include ratioProps($breakpoint);\n}\n\n.stzh-ratio {\n position: relative;\n width: 100%;\n aspect-ratio: var(--stzh-ratio, var(--ratio));\n background: var(--background-color);\n max-height: var(--max-height);\n overflow: var(--overflow);\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for e.g. image or video\n */\n@Component({\n tag: \"stzh-ratio\",\n styleUrl: \"stzh-ratio.scss\",\n shadow: true,\n})\nexport class StzhRatio {\n /** Aspect ratio */\n @Prop({ reflect: true }) ratio: Layout.Ratio = \"16:9\";\n /** Aspect ratio above small breakpoint */\n @Prop({ reflect: true }) ratioSmall: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above medium breakpoint */\n @Prop({ reflect: true }) ratioMedium: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above large breakpoint */\n @Prop({ reflect: true }) ratioLarge: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above ultra breakpoint */\n @Prop({ reflect: true }) ratioUltra: Layout.Ratio | \"inherit\" = \"inherit\";\n\n /** Whether aspect ratio is in portrait mode */\n @Prop({ reflect: true }) portrait: boolean = false;\n\n /** Fit mode */\n @Prop({ reflect: true }) fit: \"cover\" | \"contain\" = \"cover\";\n\n @Element() element: HTMLStzhRatioElement;\n\n render() {\n const classes = {\n \"stzh-ratio\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot name=\"image\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DK163sow.js","mappings":";;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA,0pMAA0pM,CAAC;;MCU9oM,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAK,CAAA,KAAA,GAAiB,MAAM;;AAE5B,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAW,CAAA,WAAA,GAA6B,SAAS;;AAEjD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAEhD,QAAA,IAAU,CAAA,UAAA,GAA6B,SAAS;;AAGhD,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAG,CAAA,GAAA,GAAwB,OAAO;AAkB5D;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,YAAY,EAAE,IAAI;SACnB;QAED,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,OAAO,EAAQ,CAAA,EAC1B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-ratio/stzh-ratio.scss?tag=stzh-ratio&encapsulation=shadow","src/components/stzh-ratio/stzh-ratio.tsx"],"sourcesContent":["@use \"sass:map\";\n@use \"sass:list\";\n\n/**\n * @prop --ratio: Ratio (e.g. 16 / 9)\n * @prop --background-color: Background color of ratio area\n * @prop --max-height: Max height of the ratio, useful when viewport is huge\n * @prop --overflow: In combination with max height you might wanna hide overflow\n *\n * @prop --stzh-ratio-background-color: **Global**: Background color of ratios\n */\n\n:host {\n --background-color: #{$ratioBackgroundColor};\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 1)} /\n #{list.nth(map.get($ratios, $ratioDefault), 2)};\n --max-height: inherit;\n --overflow: inherit;\n\n ::slotted(*) {\n position: absolute;\n width: 100%;\n height: 100%;\n inset: 0;\n object-fit: cover;\n }\n\n ::slotted(.stzh-card-searchresult__image-placeholder) {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n color: var(--placeholder-image-color);\n }\n}\n\n:host([fit=\"contain\"]) ::slotted(*) {\n object-fit: contain;\n}\n\n/* Ratio variants */\n\n:host([portrait]:not([portrait=\"false\"])) {\n --ratio: #{list.nth(map.get($ratios, $ratioDefault), 2)} /\n #{list.nth(map.get($ratios, $ratioDefault), 1)};\n}\n\n@mixin ratioProps($breakpoint: null) {\n @each $ratio, $value in $ratios {\n $firstNr: list.nth($value, 1);\n $secondNr: list.nth($value, 2);\n\n @if $breakpoint {\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"]) {\n @include mq($from: $breakpoint) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n }\n\n :host(\n [ratio-#{$breakpoint}=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])\n ) {\n @include mq($from: $breakpoint) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n } @else {\n :host([ratio=\"#{$ratio}\"]) {\n --ratio: #{$firstNr} / #{$secondNr};\n }\n\n :host([ratio=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n --ratio: #{$secondNr} / #{$firstNr};\n }\n }\n }\n}\n\n@include ratioProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include ratioProps($breakpoint);\n}\n\n.stzh-ratio {\n position: relative;\n width: 100%;\n aspect-ratio: var(--stzh-ratio, var(--ratio));\n background: var(--background-color);\n max-height: var(--max-height);\n overflow: var(--overflow);\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for e.g. image or video\n */\n@Component({\n tag: \"stzh-ratio\",\n styleUrl: \"stzh-ratio.scss\",\n shadow: true,\n})\nexport class StzhRatio {\n /** Aspect ratio */\n @Prop({ reflect: true }) ratio: Layout.Ratio = \"16:9\";\n /** Aspect ratio above small breakpoint */\n @Prop({ reflect: true }) ratioSmall: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above medium breakpoint */\n @Prop({ reflect: true }) ratioMedium: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above large breakpoint */\n @Prop({ reflect: true }) ratioLarge: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above ultra breakpoint */\n @Prop({ reflect: true }) ratioUltra: Layout.Ratio | \"inherit\" = \"inherit\";\n\n /** Whether aspect ratio is in portrait mode */\n @Prop({ reflect: true }) portrait: boolean = false;\n\n /** Fit mode */\n @Prop({ reflect: true }) fit: \"cover\" | \"contain\" = \"cover\";\n\n @Element() element: HTMLStzhRatioElement;\n\n render() {\n const classes = {\n \"stzh-ratio\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot name=\"image\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
- import { h as hasSlot } from './p-CN5apKPb.js';
3
- import { d as defineCustomElement$2 } from './p-Yktwo3G-.js';
4
- import { d as defineCustomElement$1 } from './p-DZ_hOgVb.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
+ import { h as hasSlot } from './p-DBHUqFOB.js';
3
+ import { d as defineCustomElement$2 } from './p-Dn7rMHvA.js';
4
+ import { d as defineCustomElement$1 } from './p-mPSUVIkD.js';
5
5
 
6
6
  const stzhMenuItemCss = () => `.sc-stzh-menu-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h,[stzh-hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-menu-item-h .has-focus.sc-stzh-menu-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item{outline-style:none !important}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item::-moz-focus-inner{border:0 !important}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-black);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--hover-color:var(--stzh-popover-item-hover-color, var(--stzh-color-black));--hover-background-color:var(--stzh-popover-item-hover-bg, var(--stzh-color-grey20))}@media (forced-colors: active){.sc-stzh-menu-item-h:where(:has(button)){--color:ButtonText;--hover-color:Highlight;--hover-background-color:transparent}}[size=large].sc-stzh-menu-item-h{--icon-size:var(--stzh-icon-size);--height:var(--stzh-menu-large-item-height);--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge)}[variant=secondary].sc-stzh-menu-item-h{--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-secondary30)}@media (forced-colors: active){[variant=secondary].sc-stzh-menu-item-h:where(:has(button)){--color:ButtonText;--hover-color:Highlight;--hover-background-color:transparent}}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-grey20)}@media (forced-colors: active){[active].sc-stzh-menu-item-h:not([active=false]){--color:SelectedItemText;--background-color:SelectedItem;--hover-color:SelectedItemText;--hover-background-color:SelectedItem}}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10)}@media (forced-colors: active){[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:GrayText;--background-color:Gray;--hover-color:GrayText;--hover-background-color:Gray}}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;display:flex;gap:var(--stzh-space-small);align-items:center;justify-content:stretch;appearance:none;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;cursor:pointer}@media (forced-colors: active){.stzh-menu-item.sc-stzh-menu-item{transition:none}}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{--stzh-icon-size:var(--icon-size);position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__text-wrapper.sc-stzh-menu-item{display:flex;gap:var(--stzh-space-xsmall)}.stzh-menu-item__counter.sc-stzh-menu-item{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (forced-colors: active){.stzh-menu-item__text.sc-stzh-menu-item{forced-color-adjust:preserve-parent-color}}.stzh-menu-item--size-large.sc-stzh-menu-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);gap:var(--stzh-space-medium)}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}`;
7
7
 
@@ -96,7 +96,7 @@ const StzhMenuItem = /*@__PURE__*/ proxyCustomElement(class StzhMenuItem extends
96
96
  [`stzh-menu-item--size-${this.size}`]: !!this.size,
97
97
  [`stzh-menu-item--${this.variant}`]: !!this.variant,
98
98
  };
99
- return (h(Host, { key: 'ebbfc5d801e36a9c99bc95dba332ab5703e270d7', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
99
+ return (h(Host, { key: '5b75caecdf88ceef333409eb0699b461d37daf2e', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
100
100
  }
101
101
  get element() { return this; }
102
102
  static get style() { return stzhMenuItemCss(); }
@@ -141,6 +141,6 @@ function defineCustomElement() {
141
141
  }
142
142
 
143
143
  export { StzhMenuItem as S, defineCustomElement as d };
144
- //# sourceMappingURL=p-CjzcK4cD.js.map
144
+ //# sourceMappingURL=p-DYbJOAOh.js.map
145
145
 
146
- //# sourceMappingURL=p-CjzcK4cD.js.map
146
+ //# sourceMappingURL=p-DYbJOAOh.js.map
@@ -1 +1 @@
1
- {"file":"p-CjzcK4cD.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,0hKAA0hK,CAAC;;MCsB7iK,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAAoB,SAAS;;AAGpC,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAM/C,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE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EACnF,IAAI,CAAC,IAAI,IACR,CAAA,CAAA,GAAA,EAAA,EACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC,IAAI,EACtC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,OAAO,gBACF,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACzB,KAEJ,CACE,CAAA,QAAA,EAAA,EAAA,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n\n @media (forced-colors: active) {\n --color: SelectedItemText;\n --background-color: SelectedItem;\n --hover-color: SelectedItemText;\n --hover-background-color: SelectedItem;\n }\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n\n @media (forced-colors: active) {\n --color: GrayText;\n --background-color: Gray;\n --hover-color: GrayText;\n --hover-background-color: Gray;\n }\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-DYbJOAOh.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,0hKAA0hK,CAAC;;MCsB7iK,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAAoB,SAAS;;AAGpC,QAAA,IAAI,CAAA,IAAA,GAAiB,SAAS;;AAM/C,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAS,CAAA,SAAA,GAAkB,SAAS;;AAGpC,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGxC,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;AA0BnB,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAE/B,QAAA,IAAW,CAAA,WAAA,GAAG,MAAK;AACzB,YAAA,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;AACxB,gBAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;;AAGvB,YAAA,IAAI,CAAC,cAAc,GAAG,KAAK;AAC7B,SAAC;AAEO,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,KAAiB,KAAI;AACtC,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI;AAE1B,YAAA,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,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AO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n\n @media (forced-colors: active) {\n &:where(:has(button)) {\n --color: ButtonText;\n --hover-color: Highlight;\n --hover-background-color: transparent;\n }\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n\n @media (forced-colors: active) {\n --color: SelectedItemText;\n --background-color: SelectedItem;\n --hover-color: SelectedItemText;\n --hover-background-color: SelectedItem;\n }\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n\n @media (forced-colors: active) {\n --color: GrayText;\n --background-color: Gray;\n --hover-color: GrayText;\n --hover-background-color: Gray;\n }\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-5QD-jnDI.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
2
 
3
3
  var Checkmark = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><g clip-path="url(#a)"><path fill="currentColor" d="m10 15.172 9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z"/></g><defs><clipPath id="a"><path fill="currentColor" d="M0 0h24v24H0z"/></clipPath></defs></svg>`;
4
4
 
@@ -16,7 +16,7 @@ const StzhListItem = /*@__PURE__*/ proxyCustomElement(class StzhListItem extends
16
16
  const classes = {
17
17
  "stzh-list-item": true,
18
18
  };
19
- return (h(Host, { key: 'd02bdd8ef1fbc47649b3c2de0bee24c9dd84cbe7' }, h("div", { key: '30aa183a5e6ec9ac22701bc67723dbedd4cd10b2', class: classes, role: "listitem" }, h("div", { key: '724d71b78f5d49720fe31e17bd5d5225867df1ca', class: "stzh-list-item__checkmark-icon", innerHTML: Checkmark }), h("div", { key: '1decc4fe2bfd89e1eb6f030f15af4af4dd32ec66', class: "stzh-list-item__text" }, h("slot", { key: '2c6a43159a65e52bff21e51e6ab689ef8ea9d153' })))));
19
+ return (h(Host, { key: '2c79f84788f5018ff37f253303393bd8bfacbaa8' }, h("div", { key: '8a3e2c7c8b320a325edb00a5a3cb9b97328e8af0', class: classes, role: "listitem" }, h("div", { key: '532af0aadca647938e43a2d14bf2fc9d00be0061', class: "stzh-list-item__checkmark-icon", innerHTML: Checkmark }), h("div", { key: 'f15313752797391c81e860e189211fe8d48cd088', class: "stzh-list-item__text" }, h("slot", { key: 'a7baac8f56323fd34c343939cc1e821cf6a32a67' })))));
20
20
  }
21
21
  get element() { return this; }
22
22
  static get style() { return stzhListItemCss(); }
@@ -36,6 +36,6 @@ function defineCustomElement() {
36
36
  }
37
37
 
38
38
  export { StzhListItem as S, defineCustomElement as d };
39
- //# sourceMappingURL=p-IifQDlUC.js.map
39
+ //# sourceMappingURL=p-D_9Bm_mQ.js.map
40
40
 
41
- //# sourceMappingURL=p-IifQDlUC.js.map
41
+ //# sourceMappingURL=p-D_9Bm_mQ.js.map
@@ -1 +1 @@
1
- {"file":"p-IifQDlUC.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,qvCAAqvC,CAAC;;MCYxwC,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;;;;;;;;IAGvB,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,gBAAgB,EAAE,IAAI;SACvB;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,UAAU,EAAA,EAClC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,gCAAgC,EAAC,SAAS,EAAE,SAAS,EAAQ,CAAA,EAExE,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACD;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list-item/stzh-list-item.scss?tag=stzh-list-item&encapsulation=shadow","src/components/stzh-list-item/stzh-list-item.tsx"],"sourcesContent":[":host {\n --icon-checklist-visibility: hidden;\n\n &::before {\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n }\n}\n\n.stzh-list-item {\n &__checkmark-icon {\n visibility: var(--icon-checklist-visibility);\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 1px;\n left: 0;\n\n svg {\n width: 1.5em;\n height: 1.5em;\n display: block;\n }\n }\n}\n","import { Component, Host, h, Element } from \"@stencil/core\";\n\nimport Checkmark from \"./assets/checkmark.svg\";\n\n/**\n * @slot - Slot for text\n */\n@Component({\n tag: \"stzh-list-item\",\n styleUrl: \"stzh-list-item.scss\",\n shadow: true,\n})\nexport class StzhListItem {\n @Element() element: HTMLStzhListItemElement;\n\n render() {\n const classes = {\n \"stzh-list-item\": true,\n };\n\n return (\n <Host>\n <div class={classes} role=\"listitem\">\n <div class=\"stzh-list-item__checkmark-icon\" innerHTML={Checkmark}></div>\n\n <div class=\"stzh-list-item__text\">\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-D_9Bm_mQ.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,qvCAAqvC,CAAC;;MCYxwC,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;;;;;;;;IAGvB,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,gBAAgB,EAAE,IAAI;SACvB;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,UAAU,EAAA,EAClC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,gCAAgC,EAAC,SAAS,EAAE,SAAS,EAAQ,CAAA,EAExE,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAA,EAC/B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACD;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list-item/stzh-list-item.scss?tag=stzh-list-item&encapsulation=shadow","src/components/stzh-list-item/stzh-list-item.tsx"],"sourcesContent":[":host {\n --icon-checklist-visibility: hidden;\n\n &::before {\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n }\n}\n\n.stzh-list-item {\n &__checkmark-icon {\n visibility: var(--icon-checklist-visibility);\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 1px;\n left: 0;\n\n svg {\n width: 1.5em;\n height: 1.5em;\n display: block;\n }\n }\n}\n","import { Component, Host, h, Element } from \"@stencil/core\";\n\nimport Checkmark from \"./assets/checkmark.svg\";\n\n/**\n * @slot - Slot for text\n */\n@Component({\n tag: \"stzh-list-item\",\n styleUrl: \"stzh-list-item.scss\",\n shadow: true,\n})\nexport class StzhListItem {\n @Element() element: HTMLStzhListItemElement;\n\n render() {\n const classes = {\n \"stzh-list-item\": true,\n };\n\n return (\n <Host>\n <div class={classes} role=\"listitem\">\n <div class=\"stzh-list-item__checkmark-icon\" innerHTML={Checkmark}></div>\n\n <div class=\"stzh-list-item__text\">\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,14 +1,14 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-5QD-jnDI.js';
2
- import { S as StzhInputDescription } from './p-x2lzAuxg.js';
3
- import { h as hasSlot } from './p-CN5apKPb.js';
4
- import { d as defineCustomElement$8 } from './p-Yktwo3G-.js';
5
- import { d as defineCustomElement$7 } from './p-C_jR89kU.js';
6
- import { d as defineCustomElement$6 } from './p-ts8WMMWF.js';
7
- import { d as defineCustomElement$5 } from './p-BVyHe4zB.js';
8
- import { d as defineCustomElement$4 } from './p-DZ_hOgVb.js';
9
- import { d as defineCustomElement$3 } from './p-D1qHu5Qi.js';
10
- import { d as defineCustomElement$2 } from './p-BNRtW-oE.js';
11
- import { d as defineCustomElement$1 } from './p-CqIeGIYq.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
+ import { S as StzhInputDescription } from './p-CbIALTef.js';
3
+ import { h as hasSlot } from './p-DBHUqFOB.js';
4
+ import { d as defineCustomElement$8 } from './p-Dn7rMHvA.js';
5
+ import { d as defineCustomElement$7 } from './p-BAn4Ipj9.js';
6
+ import { d as defineCustomElement$6 } from './p-DvCfh0K2.js';
7
+ import { d as defineCustomElement$5 } from './p-BDyLmXTF.js';
8
+ import { d as defineCustomElement$4 } from './p-mPSUVIkD.js';
9
+ import { d as defineCustomElement$3 } from './p-CxqE2nhG.js';
10
+ import { d as defineCustomElement$2 } from './p-Bi0j3C9E.js';
11
+ import { d as defineCustomElement$1 } from './p-CIG3atcV.js';
12
12
 
13
13
  const stzhChipselectCss = () => `.sc-stzh-chipselect-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-chipselect-h,[stzh-hidden].sc-stzh-chipselect-h{display:none}.sc-stzh-chipselect-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chipselect-h *.sc-stzh-chipselect,.sc-stzh-chipselect-h *.sc-stzh-chipselect::before,.sc-stzh-chipselect-h *.sc-stzh-chipselect::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-chipselect-h .has-focus.sc-stzh-chipselect{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chipselect-h .stzh-fylingfocus-focused.sc-stzh-chipselect{outline-style:none !important}.sc-stzh-chipselect-h .stzh-fylingfocus-focused.sc-stzh-chipselect::-moz-focus-inner{border:0 !important}.sc-stzh-chipselect-h{width:100%}[disabled].sc-stzh-chipselect-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}[active].sc-stzh-chipselect-h:not([active=false]){--background-color:var(
14
14
  --stzh-chip-active-background-color,
@@ -269,12 +269,12 @@ const StzhChipselect = /*@__PURE__*/ proxyCustomElement(class StzhChipselect ext
269
269
  "stzh-chipselect--is-required": this.required,
270
270
  "stzh-chipselect--has-label-hidden": this.labelHidden,
271
271
  };
272
- return (h(Host, { key: '6d2c378e763f9846d5bcef6fbdf00f24956046a5', "is-invalid": this.invalid || errorUsed }, h("div", { key: '8c6db8e943fa6c1d9728f895fea83f6e95dd30db', class: classes }, !this.useDropdownOnMobile &&
273
- (this.multiple ? (h(Fragment, null, this._value.map(value => (h("input", { type: "hidden", name: this.name, value: value }))))) : (h("input", { type: "hidden", name: this.name, value: this.value }))), !this.useDropdownOnMobile && labelWrapperUsed && (h("div", { key: '939cf90d05cc4a7677287d41992366a9024a1258', class: "stzh-chipselect__label-wrapper" }, h("label", { key: '3e6d0006b9f8b6a5aa696969150aac1342ef6717', class: "stzh-chipselect__label", htmlFor: this.id }, this.label ? this.label : h("slot", null), !this.hideOptional && (h("span", { key: '8072a604dc9304930a2d8b88083a4c3d9ad1e625', class: "stzh-chipselect__marker" }, h("span", { key: 'd5fd00632be1a47cc07ca936133ca1d4d79fc6ab', class: "stzh-chipselect__marker-symbol", "aria-hidden": "true" }, this.required
272
+ return (h(Host, { key: '05ab7504d218a6292c49e110130200f0554cdd0a', "is-invalid": this.invalid || errorUsed }, h("div", { key: '9d1ca4121ccf5b0cca470b825a3013eb28678788', class: classes }, !this.useDropdownOnMobile &&
273
+ (this.multiple ? (h(Fragment, null, this._value.map(value => (h("input", { type: "hidden", name: this.name, value: value }))))) : (h("input", { type: "hidden", name: this.name, value: this.value }))), !this.useDropdownOnMobile && labelWrapperUsed && (h("div", { key: 'd8d8a5a86faf5ada89e69412de983bd4879b0c58', class: "stzh-chipselect__label-wrapper" }, h("label", { key: '25511e529d9bebfe0f2297f679716caca3bdc95b', class: "stzh-chipselect__label", htmlFor: this.id }, this.label ? this.label : h("slot", null), !this.hideOptional && (h("span", { key: '5225daf3a443d28a5da915fb262b288381763c49', class: "stzh-chipselect__marker" }, h("span", { key: 'd0da978f5e09c1f7fa94e02f890989d4b9cd69d9', class: "stzh-chipselect__marker-symbol", "aria-hidden": "true" }, this.required
274
274
  ? this.localization.$globals.requiredFieldMarker
275
- : this.localization.$globals.optionalFieldMarker), h("span", { key: 'f501bb9f1e8c132f639ed72ca195eb1a669c167c', class: "stzh-chipselect__marker-text" }, this.required
275
+ : this.localization.$globals.optionalFieldMarker), h("span", { key: 'c1bf469c695d35d21969ae80848c3135f46c32d4', class: "stzh-chipselect__marker-text" }, this.required
276
276
  ? this.localization.$globals.requiredFieldText
277
- : this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: '9ff27d167b8cbac6770de6c0bfbb9121a329c9ef', classPrefix: "stzh-chipselect", id: `${this.id}-description-long`, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false })))), this._data.length > 0 && (h(Fragment, { key: '130d007cfa576382f900029823900bbc16f5b8b2' }, !this.useDropdownOnMobile ? (h(Fragment, null, h("div", { id: this.id, class: "stzh-chipselect__chips", role: "listbox", tabindex: "0", "aria-multiselectable": this.multiple ? "true" : "false", "aria-activedescendant": activeId, "aria-describedby": `${this.id}-description ${this.a11yDescribedby}`, onKeyDown: this.handleKeydown }, this._data.map((data, index) => (h("stzh-chip", { role: "option", class: {
277
+ : this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: '37a97e0660c0a5da100332e96246ba8fb6a29a4d', classPrefix: "stzh-chipselect", id: `${this.id}-description-long`, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false })))), this._data.length > 0 && (h(Fragment, { key: '5d1b7d2738ae981aba22b1c6d46a002598f16e4a' }, !this.useDropdownOnMobile ? (h(Fragment, null, h("div", { id: this.id, class: "stzh-chipselect__chips", role: "listbox", tabindex: "0", "aria-multiselectable": this.multiple ? "true" : "false", "aria-activedescendant": activeId, "aria-describedby": `${this.id}-description ${this.a11yDescribedby}`, onKeyDown: this.handleKeydown }, this._data.map((data, index) => (h("stzh-chip", { role: "option", class: {
278
278
  "stzh-chipselect__chip": true,
279
279
  "is-focused": this.activeFocusOptionIndex === index,
280
280
  }, label: data.label, counter: data.counter, icon: data.icon, variant: data.variant || "filter", inverted: data.inverted, size: data.size || "small", disabled: this.disabled || data.disabled, active: this._value.includes(data.value) ||
@@ -287,7 +287,7 @@ const StzhChipselect = /*@__PURE__*/ proxyCustomElement(class StzhChipselect ext
287
287
  this.multiple &&
288
288
  (this._value.length === 0 || (this._value.length === 1 && this._value[0] === "")))
289
289
  ? "true"
290
- : "false", id: `${this.id}-option-${index}`, a11yTabindex: "-1", onClick: () => this.handleChipClick(data, index) })))))) : (h("stzh-dropdown", { class: "stzh-chipselect__dropdown", name: this.name, multiple: this.multiple, disabled: this.disabled, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, required: this.required, invalid: this.invalid, items: this.multiple ? this._value : this._value.length > 0 ? [this._value[0]] : [], label: this.label, labelHidden: this.labelHidden, options: this._dataDropdown, hideOptional: this.hideOptional, onStzhChange: this.handleDropdownChange })))), !this.useDropdownOnMobile && (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '74c035663687909bf314c14223de6b16893fd9f7', classPrefix: "stzh-chipselect", id: `${this.id}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
290
+ : "false", id: `${this.id}-option-${index}`, a11yTabindex: "-1", onClick: () => this.handleChipClick(data, index) })))))) : (h("stzh-dropdown", { class: "stzh-chipselect__dropdown", name: this.name, multiple: this.multiple, disabled: this.disabled, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, required: this.required, invalid: this.invalid, items: this.multiple ? this._value : this._value.length > 0 ? [this._value[0]] : [], label: this.label, labelHidden: this.labelHidden, options: this._dataDropdown, hideOptional: this.hideOptional, onStzhChange: this.handleDropdownChange })))), !this.useDropdownOnMobile && (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '4614585a3e7594fda4fc34e3d75961750e44e8e3', classPrefix: "stzh-chipselect", id: `${this.id}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
291
291
  }
292
292
  get element() { return this; }
293
293
  static get watchers() { return {
@@ -377,6 +377,6 @@ function defineCustomElement() {
377
377
  }
378
378
 
379
379
  export { StzhChipselect as S, defineCustomElement as d };
380
- //# sourceMappingURL=p-CB6SGGWh.js.map
380
+ //# sourceMappingURL=p-DgLT1h5X.js.map
381
381
 
382
- //# sourceMappingURL=p-CB6SGGWh.js.map
382
+ //# sourceMappingURL=p-DgLT1h5X.js.map