@oiz/stzh-components 4.12.2 → 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 (1023) hide show
  1. package/dist/cjs/{index-D-_ltZeJ.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 +4 -4
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +10 -10
  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 +20 -10
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +4 -4
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +4 -4
  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 +2 -2
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +7 -7
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +3 -3
  23. package/dist/cjs/stzh-chart.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +5 -5
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +5 -5
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +8 -8
  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 +1 -1
  32. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  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 +2 -2
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +4 -4
  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 +1 -1
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +11 -11
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-details.cjs.entry.js +2 -2
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +3 -3
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +6 -6
  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 +3 -4
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +2 -2
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +2 -2
  51. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-footer.cjs.entry.js +5 -4
  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 +2 -2
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +4 -4
  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 +3 -3
  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-BCu4biHD.js → stzh-input-description-CSsYU8AB.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-BCu4biHD.js.map → stzh-input-description-CSsYU8AB.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +7 -7
  69. package/dist/cjs/stzh-invert.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-link.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +2 -2
  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 +3 -3
  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 +2 -2
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +3 -3
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +3 -3
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +2 -2
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
  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 +1 -1
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +2 -2
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +3 -3
  97. package/dist/cjs/stzh-quote.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-rating.cjs.entry.js +4 -4
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -3
  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 +2 -2
  104. package/dist/cjs/stzh-search.cjs.entry.js +3 -3
  105. package/dist/cjs/stzh-section.cjs.entry.js +3 -3
  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 +2 -2
  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 +2 -2
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +2 -2
  117. package/dist/cjs/stzh-table.cjs.entry.js +2 -2
  118. package/dist/cjs/stzh-text.cjs.entry.js +3 -3
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +2 -2
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +2 -2
  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 +4 -4
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +5 -5
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +2 -2
  127. package/dist/cjs/stzh-upload.cjs.entry.js +6 -6
  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 +1 -1
  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/collection/assets/i18n/fr.json +460 -0
  138. package/dist/collection/assets/i18n/it.json +461 -0
  139. package/dist/collection/assets/media/icons/mono/easy-read.svg +1 -0
  140. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +2 -3
  141. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js.map +1 -1
  142. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +4 -0
  143. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  144. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  145. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  146. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  147. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  148. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  149. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  150. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  151. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  152. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  153. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  155. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +12 -2
  156. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  157. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +2 -2
  158. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +2 -2
  159. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  160. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -1
  161. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -0
  162. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  163. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  164. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +5 -6
  165. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  166. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  167. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  168. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  169. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -1
  170. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  171. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  172. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  173. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  174. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  175. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  176. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  177. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  178. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  179. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  180. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  181. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  182. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  183. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  184. package/dist/collection/components/stzh-appointments/stzh-appointments.js +23 -14
  185. package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
  186. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +53 -27
  187. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  188. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  189. package/dist/collection/components/stzh-banner/stzh-banner.js +1 -1
  190. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  191. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  192. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  193. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  194. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  195. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
  196. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  197. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +10 -42
  198. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  199. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  200. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  201. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  202. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  203. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  204. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  205. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  206. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +5 -5
  207. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  208. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  209. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  210. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  211. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  212. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  213. package/dist/collection/components/stzh-cta/stzh-cta.js.map +1 -1
  214. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  215. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  216. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  217. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  218. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  219. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  220. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  221. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  222. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  223. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  224. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  225. package/dist/collection/components/stzh-footer/stzh-footer.css +12 -0
  226. package/dist/collection/components/stzh-footer/stzh-footer.js +7 -6
  227. package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
  228. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +9 -2
  229. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  230. package/dist/collection/components/stzh-header/stzh-header.css +1 -1
  231. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  232. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  233. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  234. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  235. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  236. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  237. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  238. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  239. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  240. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  241. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  242. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  243. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  244. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  245. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  246. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  247. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  248. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  249. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  250. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  251. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  252. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  253. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  254. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  255. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  256. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  257. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  258. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  259. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  260. package/dist/collection/components/stzh-rating/stzh-rating.js +2 -2
  261. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  262. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  263. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  264. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  265. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  266. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  267. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  268. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  269. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  270. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  271. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  272. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  273. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  274. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  275. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  276. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  277. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  278. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  279. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  280. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  281. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  282. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  283. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  284. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  285. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  286. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  287. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  288. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  289. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  290. package/dist/collection/components/stzh-upload/stzh-upload.js +4 -4
  291. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  292. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  293. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  294. package/dist/collection/global/js/script.js +1 -1
  295. package/dist/components/index.js +2 -2
  296. package/dist/components/{p-RJIRkyt1.js → p-0Lt3woCB.js} +9 -9
  297. package/dist/components/{p-RJIRkyt1.js.map → p-0Lt3woCB.js.map} +1 -1
  298. package/dist/components/{p-C3-tTDZG.js → p-4bFqfRjC.js} +5 -5
  299. package/dist/components/{p-C3-tTDZG.js.map → p-4bFqfRjC.js.map} +1 -1
  300. package/dist/components/{p-CUN47AJ6.js → p-9KM31mTj.js} +4 -4
  301. package/dist/components/{p-CUN47AJ6.js.map → p-9KM31mTj.js.map} +1 -1
  302. package/dist/components/{p-DaIlRoxA.js → p-B-Ox_M1g.js} +5 -5
  303. package/dist/components/{p-DaIlRoxA.js.map → p-B-Ox_M1g.js.map} +1 -1
  304. package/dist/components/{p-CXhl6EKC.js → p-B3JVg6wh.js} +7 -7
  305. package/dist/components/{p-CXhl6EKC.js.map → p-B3JVg6wh.js.map} +1 -1
  306. package/dist/components/{p-DmRzqkUn.js → p-B3JgyjD6.js} +4 -4
  307. package/dist/components/{p-DmRzqkUn.js.map → p-B3JgyjD6.js.map} +1 -1
  308. package/dist/components/{p-rjZPG2L3.js → p-B446UYGz.js} +4 -4
  309. package/dist/components/{p-rjZPG2L3.js.map → p-B446UYGz.js.map} +1 -1
  310. package/dist/components/{p-dgzFBTky.js → p-BAcc6I3E.js} +4 -4
  311. package/dist/components/{p-dgzFBTky.js.map → p-BAcc6I3E.js.map} +1 -1
  312. package/dist/components/{p-CPdCE2fo.js → p-BAn4Ipj9.js} +8 -8
  313. package/dist/components/{p-CPdCE2fo.js.map → p-BAn4Ipj9.js.map} +1 -1
  314. package/dist/components/{p-C0lp0Fm8.js → p-BDTQkRkl.js} +4 -4
  315. package/dist/components/{p-C0lp0Fm8.js.map → p-BDTQkRkl.js.map} +1 -1
  316. package/dist/components/{p-BTNpLREK.js → p-BDyLmXTF.js} +11 -11
  317. package/dist/components/{p-BTNpLREK.js.map → p-BDyLmXTF.js.map} +1 -1
  318. package/dist/components/{p-Deiikj-l.js → p-BE4EipE7.js} +10 -10
  319. package/dist/components/p-BE4EipE7.js.map +1 -0
  320. package/dist/components/{p-CKLwcqdK.js → p-BHup0e1i.js} +12 -12
  321. package/dist/components/{p-CKLwcqdK.js.map → p-BHup0e1i.js.map} +1 -1
  322. package/dist/components/{p-R8ubFYun.js → p-BJz42pna.js} +9 -9
  323. package/dist/components/{p-R8ubFYun.js.map → p-BJz42pna.js.map} +1 -1
  324. package/dist/components/{p-DT8WI_DQ.js → p-BNb1mC_F.js} +6 -6
  325. package/dist/components/{p-DT8WI_DQ.js.map → p-BNb1mC_F.js.map} +1 -1
  326. package/dist/components/{p-DXesblGY.js → p-BdBBC-64.js} +8 -8
  327. package/dist/components/{p-DXesblGY.js.map → p-BdBBC-64.js.map} +1 -1
  328. package/dist/components/{p-DT0ux3Yn.js → p-Bi0j3C9E.js} +5 -5
  329. package/dist/components/{p-DT0ux3Yn.js.map → p-Bi0j3C9E.js.map} +1 -1
  330. package/dist/components/{p-xKyBBmWw.js → p-C1Uf6vu2.js} +4 -4
  331. package/dist/components/{p-xKyBBmWw.js.map → p-C1Uf6vu2.js.map} +1 -1
  332. package/dist/components/{p-C3YgJPrk.js → p-C5ORTu7L.js} +5 -5
  333. package/dist/components/{p-C3YgJPrk.js.map → p-C5ORTu7L.js.map} +1 -1
  334. package/dist/components/{p-JcCSKOtR.js → p-CDOLFG2o.js} +8 -8
  335. package/dist/components/{p-JcCSKOtR.js.map → p-CDOLFG2o.js.map} +1 -1
  336. package/dist/components/{p-4Vt8Vqot.js → p-CIG3atcV.js} +5 -5
  337. package/dist/components/{p-4Vt8Vqot.js.map → p-CIG3atcV.js.map} +1 -1
  338. package/dist/components/{p-EWvxAi6Y.js → p-CJgyNq5X.js} +10 -10
  339. package/dist/components/{p-EWvxAi6Y.js.map → p-CJgyNq5X.js.map} +1 -1
  340. package/dist/components/{p-KKaagY0f.js → p-CSdlcHhO.js} +11 -11
  341. package/dist/components/{p-KKaagY0f.js.map → p-CSdlcHhO.js.map} +1 -1
  342. package/dist/components/{p-Bsor2Gp2.js → p-CTF0VXbD.js} +10 -10
  343. package/dist/components/{p-Bsor2Gp2.js.map → p-CTF0VXbD.js.map} +1 -1
  344. package/dist/components/{p-DFEhv2Xw.js → p-CWohC9WI.js} +4 -4
  345. package/dist/components/{p-DFEhv2Xw.js.map → p-CWohC9WI.js.map} +1 -1
  346. package/dist/components/{p-BmG3hFM8.js → p-CbIALTef.js} +3 -3
  347. package/dist/components/{p-BmG3hFM8.js.map → p-CbIALTef.js.map} +1 -1
  348. package/dist/components/{p-BeN1KWYK.js → p-CfO-Zm5r.js} +10 -10
  349. package/dist/components/{p-BeN1KWYK.js.map → p-CfO-Zm5r.js.map} +1 -1
  350. package/dist/components/{p-BB0rFoJE.js → p-Cg2CourL.js} +9 -9
  351. package/dist/components/{p-BB0rFoJE.js.map → p-Cg2CourL.js.map} +1 -1
  352. package/dist/components/{p-CuR6yL1b.js → p-CgcoSQbB.js} +4 -4
  353. package/dist/components/{p-CuR6yL1b.js.map → p-CgcoSQbB.js.map} +1 -1
  354. package/dist/components/{p-BK6Q89R0.js → p-CrQrHbCR.js} +6 -6
  355. package/dist/components/{p-BK6Q89R0.js.map → p-CrQrHbCR.js.map} +1 -1
  356. package/dist/components/{p-DrLVNdlm.js → p-CxqE2nhG.js} +6 -6
  357. package/dist/components/{p-DrLVNdlm.js.map → p-CxqE2nhG.js.map} +1 -1
  358. package/dist/components/{p-D2yGNkLU.js → p-CyByUFaI.js} +4 -4
  359. package/dist/components/{p-D2yGNkLU.js.map → p-CyByUFaI.js.map} +1 -1
  360. package/dist/components/{p-BdtE_fpY.js → p-D-Yirlnl.js} +4 -4
  361. package/dist/components/{p-BdtE_fpY.js.map → p-D-Yirlnl.js.map} +1 -1
  362. package/dist/components/{p-DLBRj3YX.js → p-D1f9K1WI.js} +4 -4
  363. package/dist/components/{p-DLBRj3YX.js.map → p-D1f9K1WI.js.map} +1 -1
  364. package/dist/components/{p-CSqS_CuA.js → p-D653Lsik.js} +4 -4
  365. package/dist/components/{p-CSqS_CuA.js.map → p-D653Lsik.js.map} +1 -1
  366. package/dist/components/{p-CVHui8fR.js → p-D8P4IANZ.js} +5 -5
  367. package/dist/components/{p-CVHui8fR.js.map → p-D8P4IANZ.js.map} +1 -1
  368. package/dist/components/{p-DDAHV4ye.js → p-D8sqmC0t.js} +4 -4
  369. package/dist/components/{p-DDAHV4ye.js.map → p-D8sqmC0t.js.map} +1 -1
  370. package/dist/components/{p-Dp2_qh2g.js → p-D8xZNR0-.js} +10 -10
  371. package/dist/components/{p-Dp2_qh2g.js.map → p-D8xZNR0-.js.map} +1 -1
  372. package/dist/components/{p-BaU8F8yT.js → p-DI3R5qMv.js} +14 -14
  373. package/dist/components/{p-BaU8F8yT.js.map → p-DI3R5qMv.js.map} +1 -1
  374. package/dist/components/{p-AIPoMvau.js → p-DK163sow.js} +4 -4
  375. package/dist/components/{p-AIPoMvau.js.map → p-DK163sow.js.map} +1 -1
  376. package/dist/components/{p-DOnc5uKa.js → p-DYbJOAOh.js} +6 -6
  377. package/dist/components/{p-DOnc5uKa.js.map → p-DYbJOAOh.js.map} +1 -1
  378. package/dist/components/{p-CUfKtr7R.js → p-D_9Bm_mQ.js} +4 -4
  379. package/dist/components/{p-CUfKtr7R.js.map → p-D_9Bm_mQ.js.map} +1 -1
  380. package/dist/components/{p-D4c33pwr.js → p-DgLT1h5X.js} +17 -17
  381. package/dist/components/{p-D4c33pwr.js.map → p-DgLT1h5X.js.map} +1 -1
  382. package/dist/components/{p-Bc9gWpUe.js → p-DgdayHzY.js} +16 -16
  383. package/dist/components/{p-Bc9gWpUe.js.map → p-DgdayHzY.js.map} +1 -1
  384. package/dist/components/{p-B44NYxqN.js → p-DhDUHSh7.js} +14 -14
  385. package/dist/components/{p-B44NYxqN.js.map → p-DhDUHSh7.js.map} +1 -1
  386. package/dist/components/{p-SW8QhG6M.js → p-Div6COxG.js} +5 -5
  387. package/dist/components/{p-SW8QhG6M.js.map → p-Div6COxG.js.map} +1 -1
  388. package/dist/components/{p-Bg2ganSs.js → p-DmbPNk49.js} +4 -4
  389. package/dist/components/{p-Bg2ganSs.js.map → p-DmbPNk49.js.map} +1 -1
  390. package/dist/components/{p-DEfzwFSm.js → p-Dn7rMHvA.js} +4 -4
  391. package/dist/components/{p-DEfzwFSm.js.map → p-Dn7rMHvA.js.map} +1 -1
  392. package/dist/components/{p-BYIlBCuU.js → p-DoIM1--x.js} +8 -8
  393. package/dist/components/{p-BYIlBCuU.js.map → p-DoIM1--x.js.map} +1 -1
  394. package/dist/components/{p-BBg6OWDc.js → p-DqjRJcEM.js} +4 -45
  395. package/dist/components/p-DqjRJcEM.js.map +1 -0
  396. package/dist/components/{p-ChcKhy4e.js → p-DtzaWGPc.js} +7 -7
  397. package/dist/components/{p-ChcKhy4e.js.map → p-DtzaWGPc.js.map} +1 -1
  398. package/dist/components/{p-CWliRPVy.js → p-Dv3RTDbq.js} +6 -6
  399. package/dist/components/{p-CWliRPVy.js.map → p-Dv3RTDbq.js.map} +1 -1
  400. package/dist/components/{p-BiFb4c_S.js → p-DvCfh0K2.js} +8 -8
  401. package/dist/components/{p-BiFb4c_S.js.map → p-DvCfh0K2.js.map} +1 -1
  402. package/dist/components/{p-DPyihiYB.js → p-T-BXBdfL.js} +4 -4
  403. package/dist/components/{p-DPyihiYB.js.map → p-T-BXBdfL.js.map} +1 -1
  404. package/dist/components/{p-6cYGuE14.js → p-TyvIem42.js} +12 -12
  405. package/dist/components/{p-6cYGuE14.js.map → p-TyvIem42.js.map} +1 -1
  406. package/dist/components/{p-Cy--N6et.js → p-UdeeIE8s.js} +9 -9
  407. package/dist/components/{p-Cy--N6et.js.map → p-UdeeIE8s.js.map} +1 -1
  408. package/dist/components/{p-wa6O8ip3.js → p-_Wg6OwyH.js} +5 -5
  409. package/dist/components/{p-wa6O8ip3.js.map → p-_Wg6OwyH.js.map} +1 -1
  410. package/dist/components/{p-BDTpabg7.js → p-bQrbIG84.js} +4 -4
  411. package/dist/components/{p-BDTpabg7.js.map → p-bQrbIG84.js.map} +1 -1
  412. package/dist/components/{p-CriJMdWt.js → p-cUbqjhRn.js} +4 -4
  413. package/dist/components/{p-CriJMdWt.js.map → p-cUbqjhRn.js.map} +1 -1
  414. package/dist/components/{p-CX72zNNm.js → p-d0YyMFGG.js} +5 -5
  415. package/dist/components/{p-CX72zNNm.js.map → p-d0YyMFGG.js.map} +1 -1
  416. package/dist/components/{p-xa5yO3I6.js → p-h04oY9Fw.js} +9 -9
  417. package/dist/components/{p-xa5yO3I6.js.map → p-h04oY9Fw.js.map} +1 -1
  418. package/dist/components/{p-BsRNqz_b.js → p-jWC23U_9.js} +7 -7
  419. package/dist/components/{p-BsRNqz_b.js.map → p-jWC23U_9.js.map} +1 -1
  420. package/dist/components/{p-CRo_30JG.js → p-mPSUVIkD.js} +4 -4
  421. package/dist/components/{p-CRo_30JG.js.map → p-mPSUVIkD.js.map} +1 -1
  422. package/dist/components/{p-BbXrDPd7.js → p-nbFcugVj.js} +5 -5
  423. package/dist/components/{p-BbXrDPd7.js.map → p-nbFcugVj.js.map} +1 -1
  424. package/dist/components/{p-i5bFTONl.js → p-o7Gv1uJo.js} +5 -5
  425. package/dist/components/{p-i5bFTONl.js.map → p-o7Gv1uJo.js.map} +1 -1
  426. package/dist/components/{p-BiZ4OWbq.js → p-pfvnaMy-.js} +5 -5
  427. package/dist/components/{p-BiZ4OWbq.js.map → p-pfvnaMy-.js.map} +1 -1
  428. package/dist/components/{p-DTs8UJec.js → p-r4Fj5D10.js} +4 -4
  429. package/dist/components/{p-DTs8UJec.js.map → p-r4Fj5D10.js.map} +1 -1
  430. package/dist/components/{p-DL-zsyu2.js → p-yXgUFUQF.js} +16 -16
  431. package/dist/components/{p-DL-zsyu2.js.map → p-yXgUFUQF.js.map} +1 -1
  432. package/dist/components/stzh-accordion-item.js +1 -1
  433. package/dist/components/stzh-accordion.js +1 -1
  434. package/dist/components/stzh-actions.js +1 -1
  435. package/dist/components/stzh-actionset.js +1 -1
  436. package/dist/components/stzh-amount.js +10 -10
  437. package/dist/components/stzh-anchornav.js +6 -6
  438. package/dist/components/stzh-app-nav.js +1 -1
  439. package/dist/components/stzh-appointments.js +32 -22
  440. package/dist/components/stzh-appointments.js.map +1 -1
  441. package/dist/components/stzh-archivelist.js +7 -7
  442. package/dist/components/stzh-audio.js +8 -8
  443. package/dist/components/stzh-badge.js +1 -1
  444. package/dist/components/stzh-banner.js +5 -5
  445. package/dist/components/stzh-breadcrumb.js +1 -1
  446. package/dist/components/stzh-button.js +1 -1
  447. package/dist/components/stzh-buttongroup.js +1 -1
  448. package/dist/components/stzh-calendar.js +1 -1
  449. package/dist/components/stzh-card-navigation.js +3 -3
  450. package/dist/components/stzh-card-navigation.js.map +1 -1
  451. package/dist/components/stzh-card-searchresult.js +15 -15
  452. package/dist/components/stzh-card-superteaser.js +14 -14
  453. package/dist/components/stzh-card.js +1 -1
  454. package/dist/components/stzh-cardlist.js +1 -1
  455. package/dist/components/stzh-carousel.js +1 -1
  456. package/dist/components/stzh-cell.js +1 -1
  457. package/dist/components/stzh-chart.js +2 -2
  458. package/dist/components/stzh-checkbox.js +1 -1
  459. package/dist/components/stzh-checkboxgroup.js +8 -8
  460. package/dist/components/stzh-chip.js +1 -1
  461. package/dist/components/stzh-chipgroup.js +1 -1
  462. package/dist/components/stzh-chipselect.js +1 -1
  463. package/dist/components/stzh-clamp.js +1 -1
  464. package/dist/components/stzh-company-logo.js +2 -2
  465. package/dist/components/stzh-contact-cv.js +4 -4
  466. package/dist/components/stzh-contact.js +10 -10
  467. package/dist/components/stzh-container.js +1 -1
  468. package/dist/components/stzh-content.js +2 -2
  469. package/dist/components/stzh-cspace.js +1 -1
  470. package/dist/components/stzh-cta.js +4 -4
  471. package/dist/components/stzh-cta.js.map +1 -1
  472. package/dist/components/stzh-datalist-item.js +1 -1
  473. package/dist/components/stzh-datalist.js +1 -1
  474. package/dist/components/stzh-datamessagelist-item.js +12 -12
  475. package/dist/components/stzh-datamessagelist.js +2 -2
  476. package/dist/components/stzh-datatable.js +17 -17
  477. package/dist/components/stzh-datepicker.js +1 -1
  478. package/dist/components/stzh-daterange.js +5 -5
  479. package/dist/components/stzh-details.js +1 -1
  480. package/dist/components/stzh-dialog.js +1 -1
  481. package/dist/components/stzh-disturber.js +4 -4
  482. package/dist/components/stzh-dropdown.js +1 -1
  483. package/dist/components/stzh-editor.js +4 -4
  484. package/dist/components/stzh-eventdata.js +1 -1
  485. package/dist/components/stzh-eventinfo.js +7 -8
  486. package/dist/components/stzh-eventinfo.js.map +1 -1
  487. package/dist/components/stzh-feedreader-item.js +3 -3
  488. package/dist/components/stzh-feedreader.js +9 -9
  489. package/dist/components/stzh-fieldset.js +1 -1
  490. package/dist/components/stzh-figure.js +1 -1
  491. package/dist/components/stzh-flyingfocus.js +2 -2
  492. package/dist/components/stzh-footer.js +9 -8
  493. package/dist/components/stzh-footer.js.map +1 -1
  494. package/dist/components/stzh-gallery.js +9 -9
  495. package/dist/components/stzh-geo-ref-data.js +27 -27
  496. package/dist/components/stzh-ghettobox.js +5 -5
  497. package/dist/components/stzh-header.js +1 -1
  498. package/dist/components/stzh-heading.js +1 -1
  499. package/dist/components/stzh-homepage-search.js +3 -3
  500. package/dist/components/stzh-homepage-service-highlights.js +8 -8
  501. package/dist/components/stzh-hr.js +2 -2
  502. package/dist/components/stzh-hspace.js +1 -1
  503. package/dist/components/stzh-http-error.js +8 -8
  504. package/dist/components/stzh-icon.js +1 -1
  505. package/dist/components/stzh-iframe.js +1 -1
  506. package/dist/components/stzh-imagecomparison.js +4 -4
  507. package/dist/components/stzh-input.js +1 -1
  508. package/dist/components/stzh-invert.js +2 -2
  509. package/dist/components/stzh-link.js +1 -1
  510. package/dist/components/stzh-linklist.js +11 -11
  511. package/dist/components/stzh-list-item.js +1 -1
  512. package/dist/components/stzh-list.js +1 -1
  513. package/dist/components/stzh-loader.js +1 -1
  514. package/dist/components/stzh-loadingbar.js +2 -2
  515. package/dist/components/stzh-menu-item.js +1 -1
  516. package/dist/components/stzh-menu.js +1 -1
  517. package/dist/components/stzh-message.js +1 -1
  518. package/dist/components/stzh-microsite-teaserlist.js +21 -21
  519. package/dist/components/stzh-monthyearpicker.js +6 -6
  520. package/dist/components/stzh-offline-indicator.js +7 -7
  521. package/dist/components/stzh-olmap.js +1 -1
  522. package/dist/components/stzh-overlay.js +1 -1
  523. package/dist/components/stzh-page-skiplinks.js +2 -2
  524. package/dist/components/stzh-pagebottom.js +9 -9
  525. package/dist/components/stzh-pagecontent.js +2 -2
  526. package/dist/components/stzh-pagetitle-hero.js +2 -2
  527. package/dist/components/stzh-pagetitle-home.js +4 -4
  528. package/dist/components/stzh-pagetitle.js +3 -3
  529. package/dist/components/stzh-pagination.js +1 -1
  530. package/dist/components/stzh-panorama.js +13 -13
  531. package/dist/components/stzh-pi-content-navigation.js +4 -4
  532. package/dist/components/stzh-pi-content-navigation.js.map +1 -1
  533. package/dist/components/stzh-pi-menu.js +4 -4
  534. package/dist/components/stzh-pi-pagetitle.js +3 -3
  535. package/dist/components/stzh-pi-quote.js +2 -2
  536. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  537. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  538. package/dist/components/stzh-pi-teaser.js +3 -3
  539. package/dist/components/stzh-pi-teaser.js.map +1 -1
  540. package/dist/components/stzh-pkzh-qr.js +20 -20
  541. package/dist/components/stzh-popover.js +1 -1
  542. package/dist/components/stzh-print.js +1 -1
  543. package/dist/components/stzh-quote.js +2 -2
  544. package/dist/components/stzh-radio.js +1 -1
  545. package/dist/components/stzh-radiogroup.js +1 -1
  546. package/dist/components/stzh-rating.js +7 -7
  547. package/dist/components/stzh-ratio.js +1 -1
  548. package/dist/components/stzh-readspeaker.js +6 -6
  549. package/dist/components/stzh-richtext.js +3 -3
  550. package/dist/components/stzh-row.js +1 -1
  551. package/dist/components/stzh-saptcha.js +9 -9
  552. package/dist/components/stzh-scrollup.js +2 -2
  553. package/dist/components/stzh-search.js +18 -18
  554. package/dist/components/stzh-section.js +3 -3
  555. package/dist/components/stzh-share.js +1 -1
  556. package/dist/components/stzh-show.js +1 -1
  557. package/dist/components/stzh-sitemap.js +10 -10
  558. package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
  559. package/dist/components/stzh-skin-storybook-preview.js +2 -2
  560. package/dist/components/stzh-skiplink.js +2 -2
  561. package/dist/components/stzh-socialmediastream-item.js +1 -1
  562. package/dist/components/stzh-socialmediastream.js +7 -7
  563. package/dist/components/stzh-sortable.js +1 -1
  564. package/dist/components/stzh-space.js +1 -1
  565. package/dist/components/stzh-status.js +1 -1
  566. package/dist/components/stzh-stepper-item.js +1 -1
  567. package/dist/components/stzh-stepper.js +6 -6
  568. package/dist/components/stzh-sticky-actions.js +3 -3
  569. package/dist/components/stzh-sticky.js +1 -1
  570. package/dist/components/stzh-table.js +2 -2
  571. package/dist/components/stzh-tag.js +1 -1
  572. package/dist/components/stzh-text.js +1 -1
  573. package/dist/components/stzh-textandimage.js +2 -2
  574. package/dist/components/stzh-timeline-item.js +4 -4
  575. package/dist/components/stzh-timeline.js +2 -2
  576. package/dist/components/stzh-timepicker.js +6 -6
  577. package/dist/components/stzh-toast.js +1 -1
  578. package/dist/components/stzh-toastbar.js +1 -1
  579. package/dist/components/stzh-toggle.js +8 -8
  580. package/dist/components/stzh-tooltip.js +1 -1
  581. package/dist/components/stzh-twocolumns.js +2 -2
  582. package/dist/components/stzh-upload.js +17 -17
  583. package/dist/components/stzh-vbz-carousel.js +2 -2
  584. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  585. package/dist/components/stzh-vbz-intro.js +5 -5
  586. package/dist/components/stzh-vbz-linechip.js +1 -1
  587. package/dist/components/stzh-vbz-majorticker.js +7 -7
  588. package/dist/components/stzh-vbz-ticker.js +7 -7
  589. package/dist/components/stzh-visuallyhidden.js +3 -3
  590. package/dist/components/stzh-vspace.js +3 -3
  591. package/dist/components/stzh-youtube.js +7 -7
  592. package/dist/esm/{index-BMrO_esM.js → index-Cd_ra_Ay.js} +4 -45
  593. package/dist/esm/index-Cd_ra_Ay.js.map +1 -0
  594. package/dist/esm/loader.js +3 -3
  595. package/dist/esm/stzh-accordion_3.entry.js +4 -4
  596. package/dist/esm/stzh-actions_6.entry.js +10 -10
  597. package/dist/esm/stzh-actionset.entry.js +6 -6
  598. package/dist/esm/stzh-amount.entry.js +2 -2
  599. package/dist/esm/stzh-anchornav.entry.js +2 -2
  600. package/dist/esm/stzh-app-nav.entry.js +2 -2
  601. package/dist/esm/stzh-appointments.entry.js +20 -10
  602. package/dist/esm/stzh-appointments.entry.js.map +1 -1
  603. package/dist/esm/stzh-archivelist.entry.js +1 -1
  604. package/dist/esm/stzh-audio.entry.js +4 -4
  605. package/dist/esm/stzh-badge_3.entry.js +4 -4
  606. package/dist/esm/stzh-banner.entry.js +2 -2
  607. package/dist/esm/stzh-breadcrumb_2.entry.js +3 -3
  608. package/dist/esm/stzh-buttongroup.entry.js +2 -2
  609. package/dist/esm/stzh-calendar.entry.js +1 -1
  610. package/dist/esm/stzh-card-navigation.entry.js +2 -2
  611. package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
  612. package/dist/esm/stzh-card-searchresult.entry.js +2 -2
  613. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  614. package/dist/esm/stzh-card_2.entry.js +7 -7
  615. package/dist/esm/stzh-carousel.entry.js +3 -3
  616. package/dist/esm/stzh-chart.entry.js +2 -2
  617. package/dist/esm/stzh-checkbox.entry.js +5 -5
  618. package/dist/esm/stzh-checkboxgroup.entry.js +5 -5
  619. package/dist/esm/stzh-chip_2.entry.js +8 -8
  620. package/dist/esm/stzh-chipgroup.entry.js +2 -2
  621. package/dist/esm/stzh-clamp.entry.js +3 -3
  622. package/dist/esm/stzh-company-logo.entry.js +2 -2
  623. package/dist/esm/stzh-components.js +3 -3
  624. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  625. package/dist/esm/stzh-contact.entry.js +1 -1
  626. package/dist/esm/stzh-container_2.entry.js +3 -3
  627. package/dist/esm/stzh-content.entry.js +2 -2
  628. package/dist/esm/stzh-cta.entry.js +2 -2
  629. package/dist/esm/stzh-cta.entry.js.map +1 -1
  630. package/dist/esm/stzh-datalist_3.entry.js +4 -4
  631. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  632. package/dist/esm/stzh-datamessagelist.entry.js +2 -2
  633. package/dist/esm/stzh-datatable.entry.js +1 -1
  634. package/dist/esm/stzh-datepicker_3.entry.js +11 -11
  635. package/dist/esm/stzh-daterange.entry.js +2 -2
  636. package/dist/esm/stzh-details.entry.js +2 -2
  637. package/dist/esm/stzh-dialog.entry.js +3 -3
  638. package/dist/esm/stzh-disturber.entry.js +1 -1
  639. package/dist/esm/stzh-dropdown.entry.js +6 -6
  640. package/dist/esm/stzh-editor.entry.js +1 -1
  641. package/dist/esm/stzh-eventdata.entry.js +1 -1
  642. package/dist/esm/stzh-eventinfo.entry.js +3 -4
  643. package/dist/esm/stzh-eventinfo.entry.js.map +1 -1
  644. package/dist/esm/stzh-feedreader-item.entry.js +2 -2
  645. package/dist/esm/stzh-feedreader.entry.js +2 -2
  646. package/dist/esm/stzh-figure.entry.js +2 -2
  647. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  648. package/dist/esm/stzh-footer.entry.js +5 -4
  649. package/dist/esm/stzh-footer.entry.js.map +1 -1
  650. package/dist/esm/stzh-gallery.entry.js +2 -2
  651. package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
  652. package/dist/esm/stzh-ghettobox.entry.js +2 -2
  653. package/dist/esm/stzh-header_3.entry.js +4 -4
  654. package/dist/esm/stzh-heading.entry.js +2 -2
  655. package/dist/esm/stzh-homepage-search.entry.js +2 -2
  656. package/dist/esm/stzh-homepage-service-highlights.entry.js +3 -3
  657. package/dist/esm/stzh-hr.entry.js +2 -2
  658. package/dist/esm/stzh-hspace.entry.js +3 -3
  659. package/dist/esm/stzh-http-error.entry.js +2 -2
  660. package/dist/esm/stzh-iframe.entry.js +5 -5
  661. package/dist/esm/stzh-imagecomparison.entry.js +3 -3
  662. package/dist/esm/{stzh-input-description-F6xJmR4b.js → stzh-input-description-BLx_RZxZ.js} +3 -3
  663. package/dist/esm/{stzh-input-description-F6xJmR4b.js.map → stzh-input-description-BLx_RZxZ.js.map} +1 -1
  664. package/dist/esm/stzh-input.entry.js +7 -7
  665. package/dist/esm/stzh-invert.entry.js +2 -2
  666. package/dist/esm/stzh-link.entry.js +2 -2
  667. package/dist/esm/stzh-linklist.entry.js +2 -2
  668. package/dist/esm/stzh-list_2.entry.js +3 -3
  669. package/dist/esm/stzh-loader.entry.js +2 -2
  670. package/dist/esm/stzh-loadingbar.entry.js +2 -2
  671. package/dist/esm/stzh-menu_2.entry.js +3 -3
  672. package/dist/esm/stzh-message.entry.js +3 -3
  673. package/dist/esm/stzh-microsite-teaserlist.entry.js +2 -2
  674. package/dist/esm/stzh-monthyearpicker.entry.js +2 -2
  675. package/dist/esm/stzh-offline-indicator.entry.js +2 -2
  676. package/dist/esm/stzh-page-skiplinks.entry.js +2 -2
  677. package/dist/esm/stzh-pagebottom.entry.js +2 -2
  678. package/dist/esm/stzh-pagecontent.entry.js +2 -2
  679. package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
  680. package/dist/esm/stzh-pagetitle-home.entry.js +3 -3
  681. package/dist/esm/stzh-pagetitle.entry.js +2 -2
  682. package/dist/esm/stzh-panorama.entry.js +3 -3
  683. package/dist/esm/stzh-pi-content-navigation.entry.js +2 -2
  684. package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -1
  685. package/dist/esm/stzh-pi-menu.entry.js +2 -2
  686. package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
  687. package/dist/esm/stzh-pi-quote.entry.js +2 -2
  688. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
  689. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
  690. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  691. package/dist/esm/stzh-pi-teaser.entry.js +2 -2
  692. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  693. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  694. package/dist/esm/stzh-popover.entry.js +2 -2
  695. package/dist/esm/stzh-print_2.entry.js +3 -3
  696. package/dist/esm/stzh-quote.entry.js +2 -2
  697. package/dist/esm/stzh-rating.entry.js +4 -4
  698. package/dist/esm/stzh-ratio.entry.js +2 -2
  699. package/dist/esm/stzh-readspeaker.entry.js +3 -3
  700. package/dist/esm/stzh-richtext.entry.js +2 -2
  701. package/dist/esm/stzh-saptcha.entry.js +3 -3
  702. package/dist/esm/stzh-scrollup.entry.js +2 -2
  703. package/dist/esm/stzh-search.entry.js +3 -3
  704. package/dist/esm/stzh-section.entry.js +3 -3
  705. package/dist/esm/stzh-show.entry.js +3 -3
  706. package/dist/esm/stzh-sitemap.entry.js +2 -2
  707. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
  708. package/dist/esm/stzh-skin-storybook-preview.entry.js +2 -2
  709. package/dist/esm/stzh-skiplink.entry.js +2 -2
  710. package/dist/esm/stzh-socialmediastream-item.entry.js +2 -2
  711. package/dist/esm/stzh-socialmediastream.entry.js +2 -2
  712. package/dist/esm/stzh-stepper-item.entry.js +4 -4
  713. package/dist/esm/stzh-stepper.entry.js +4 -4
  714. package/dist/esm/stzh-sticky-actions.entry.js +2 -2
  715. package/dist/esm/stzh-sticky.entry.js +2 -2
  716. package/dist/esm/stzh-table.entry.js +2 -2
  717. package/dist/esm/stzh-text.entry.js +3 -3
  718. package/dist/esm/stzh-textandimage.entry.js +2 -2
  719. package/dist/esm/stzh-timeline-item.entry.js +2 -2
  720. package/dist/esm/stzh-timeline.entry.js +2 -2
  721. package/dist/esm/stzh-timepicker.entry.js +2 -2
  722. package/dist/esm/stzh-toast_2.entry.js +4 -4
  723. package/dist/esm/stzh-toggle.entry.js +5 -5
  724. package/dist/esm/stzh-tooltip.entry.js +2 -2
  725. package/dist/esm/stzh-twocolumns.entry.js +2 -2
  726. package/dist/esm/stzh-upload.entry.js +6 -6
  727. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  728. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  729. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  730. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  731. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  732. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  733. package/dist/esm/stzh-visuallyhidden.entry.js +3 -3
  734. package/dist/esm/stzh-vspace.entry.js +3 -3
  735. package/dist/esm/stzh-youtube.entry.js +2 -2
  736. package/dist/stzh-components/assets/i18n/fr.json +460 -0
  737. package/dist/stzh-components/assets/i18n/it.json +461 -0
  738. package/dist/stzh-components/assets/media/icons/mono/easy-read.svg +1 -0
  739. package/dist/stzh-components/{p-833bd793.entry.js → p-01df3db2.entry.js} +2 -2
  740. package/dist/stzh-components/{p-b9c11320.entry.js → p-079dcc0c.entry.js} +3 -3
  741. package/dist/stzh-components/{p-4e26f1e1.entry.js → p-07a3f13b.entry.js} +2 -2
  742. package/dist/stzh-components/{p-301c1aa1.entry.js → p-07f01850.entry.js} +2 -2
  743. package/dist/stzh-components/{p-e6d33dfe.entry.js → p-094f446c.entry.js} +2 -2
  744. package/dist/stzh-components/{p-fce7bd0a.entry.js → p-0b78dd4f.entry.js} +2 -2
  745. package/dist/stzh-components/{p-90db31fb.entry.js → p-0c981d74.entry.js} +2 -2
  746. package/dist/stzh-components/{p-c6ae1a73.entry.js → p-10f8a411.entry.js} +2 -2
  747. package/dist/stzh-components/{p-6af8d5cb.entry.js → p-1509f376.entry.js} +2 -2
  748. package/dist/stzh-components/{p-95b9d704.entry.js → p-1517a33d.entry.js} +2 -2
  749. package/dist/stzh-components/{p-51f6f724.entry.js → p-157b43ee.entry.js} +2 -2
  750. package/dist/stzh-components/{p-d591892c.entry.js → p-163e7402.entry.js} +2 -2
  751. package/dist/stzh-components/{p-d10e2ff4.entry.js → p-175bb0f6.entry.js} +2 -2
  752. package/dist/stzh-components/{p-357943a8.entry.js → p-19128327.entry.js} +2 -2
  753. package/dist/stzh-components/{p-e85f497a.entry.js → p-191ee433.entry.js} +2 -2
  754. package/dist/stzh-components/{p-44b7bd82.entry.js → p-1c93511c.entry.js} +2 -2
  755. package/dist/stzh-components/{p-85b5bdbd.entry.js → p-1e2fdef2.entry.js} +2 -2
  756. package/dist/stzh-components/p-1e2fdef2.entry.js.map +1 -0
  757. package/dist/stzh-components/{p-fd92dbe7.entry.js → p-202d72b1.entry.js} +2 -2
  758. package/dist/stzh-components/{p-80c514e1.entry.js → p-209f26fb.entry.js} +2 -2
  759. package/dist/stzh-components/{p-e04fe921.entry.js → p-20bfbc6f.entry.js} +2 -2
  760. package/dist/stzh-components/{p-f31d01ea.entry.js → p-2609419a.entry.js} +2 -2
  761. package/dist/stzh-components/{p-873bec1c.entry.js → p-28a1dfb8.entry.js} +2 -2
  762. package/dist/stzh-components/{p-2a127cc2.entry.js → p-29bce2da.entry.js} +2 -2
  763. package/dist/stzh-components/{p-7fef5a6d.entry.js → p-2c2ee11d.entry.js} +2 -2
  764. package/dist/stzh-components/{p-ec4dc01c.entry.js → p-2c4b646b.entry.js} +2 -2
  765. package/dist/stzh-components/{p-1c0d8bd1.entry.js → p-2cafe02c.entry.js} +2 -2
  766. package/dist/stzh-components/{p-e88b56a4.entry.js → p-31ddeb59.entry.js} +2 -2
  767. package/dist/stzh-components/{p-d57711e5.entry.js → p-37ab4757.entry.js} +2 -2
  768. package/dist/stzh-components/{p-683a19bb.entry.js → p-3deebf76.entry.js} +2 -2
  769. package/dist/stzh-components/{p-11375541.entry.js → p-3e949281.entry.js} +2 -2
  770. package/dist/stzh-components/{p-11375541.entry.js.map → p-3e949281.entry.js.map} +1 -1
  771. package/dist/stzh-components/{p-3066d7ac.entry.js → p-4306b004.entry.js} +2 -2
  772. package/dist/stzh-components/{p-2c7792b4.entry.js → p-441a69c8.entry.js} +2 -2
  773. package/dist/stzh-components/{p-61bf5c59.entry.js → p-47a3a92f.entry.js} +2 -2
  774. package/dist/stzh-components/{p-b67a197e.entry.js → p-49dbf5af.entry.js} +2 -2
  775. package/dist/stzh-components/{p-9b164561.entry.js → p-4cc94ab2.entry.js} +2 -2
  776. package/dist/stzh-components/{p-97be25ae.entry.js → p-4cf4a477.entry.js} +2 -2
  777. package/dist/stzh-components/{p-fdca724c.entry.js → p-4df5aaec.entry.js} +2 -2
  778. package/dist/stzh-components/{p-19425494.entry.js → p-5075d2b8.entry.js} +2 -2
  779. package/dist/stzh-components/p-5ab62d5a.entry.js +2 -0
  780. package/dist/stzh-components/{p-2a02f828.entry.js.map → p-5ab62d5a.entry.js.map} +1 -1
  781. package/dist/stzh-components/{p-d8cacb50.entry.js → p-608b3614.entry.js} +2 -2
  782. package/dist/stzh-components/{p-eec61b75.entry.js → p-615bce0c.entry.js} +2 -2
  783. package/dist/stzh-components/{p-90c4a686.entry.js → p-62b7f84a.entry.js} +2 -2
  784. package/dist/stzh-components/{p-a924e049.entry.js → p-64f49126.entry.js} +2 -2
  785. package/dist/stzh-components/{p-b322c0cd.entry.js → p-65d16d3d.entry.js} +2 -2
  786. package/dist/stzh-components/{p-b322c0cd.entry.js.map → p-65d16d3d.entry.js.map} +1 -1
  787. package/dist/stzh-components/{p-684d4d18.entry.js → p-66871ca6.entry.js} +3 -3
  788. package/dist/stzh-components/{p-117d79b0.entry.js → p-6837f9f3.entry.js} +2 -2
  789. package/dist/stzh-components/{p-56216434.entry.js → p-687aec65.entry.js} +2 -2
  790. package/dist/stzh-components/{p-15818fb6.entry.js → p-68902793.entry.js} +2 -2
  791. package/dist/stzh-components/{p-15818fb6.entry.js.map → p-68902793.entry.js.map} +1 -1
  792. package/dist/stzh-components/{p-34e31715.entry.js → p-6b9cd9d7.entry.js} +3 -3
  793. package/dist/stzh-components/{p-a466bef7.entry.js → p-6c03fa87.entry.js} +3 -3
  794. package/dist/stzh-components/{p-a6073abd.entry.js → p-6d317f61.entry.js} +2 -2
  795. package/dist/stzh-components/{p-b91a1fb5.entry.js → p-6d5286d5.entry.js} +2 -2
  796. package/dist/stzh-components/{p-7898ab3c.entry.js → p-6fb9484b.entry.js} +2 -2
  797. package/dist/stzh-components/p-70dfa010.entry.js +2 -0
  798. package/dist/stzh-components/p-70dfa010.entry.js.map +1 -0
  799. package/dist/stzh-components/{p-ea2a37fa.entry.js → p-72f80196.entry.js} +2 -2
  800. package/dist/stzh-components/{p-490d880f.entry.js → p-7365c477.entry.js} +2 -2
  801. package/dist/stzh-components/{p-a2313acc.entry.js → p-75291180.entry.js} +2 -2
  802. package/dist/stzh-components/{p-66aa2138.entry.js → p-761c5948.entry.js} +2 -2
  803. package/dist/stzh-components/{p-6e23fc8e.entry.js → p-7b65832f.entry.js} +2 -2
  804. package/dist/stzh-components/{p-f1fcc0d8.entry.js → p-7e6e6547.entry.js} +2 -2
  805. package/dist/stzh-components/{p-f1fcc0d8.entry.js.map → p-7e6e6547.entry.js.map} +1 -1
  806. package/dist/stzh-components/p-7ee51188.entry.js +2 -0
  807. package/dist/stzh-components/{p-9db9d368.entry.js.map → p-7ee51188.entry.js.map} +1 -1
  808. package/dist/stzh-components/{p-3efa45ca.entry.js → p-7fe9b54c.entry.js} +2 -2
  809. package/dist/stzh-components/{p-5eff4877.entry.js → p-8094cf86.entry.js} +2 -2
  810. package/dist/stzh-components/{p-4cc1d883.entry.js → p-80fc31a3.entry.js} +2 -2
  811. package/dist/stzh-components/{p-c1ccb40f.entry.js → p-8a37f308.entry.js} +2 -2
  812. package/dist/stzh-components/{p-bc49448d.entry.js → p-8afec643.entry.js} +2 -2
  813. package/dist/stzh-components/{p-defa4f14.entry.js → p-8b17a4ea.entry.js} +2 -2
  814. package/dist/stzh-components/{p-21d6ad19.entry.js → p-8c229068.entry.js} +2 -2
  815. package/dist/stzh-components/{p-11984d87.entry.js → p-8e0e50c7.entry.js} +2 -2
  816. package/dist/stzh-components/{p-c8332abd.entry.js → p-8f960061.entry.js} +2 -2
  817. package/dist/stzh-components/{p-ad5b037d.entry.js → p-9116a045.entry.js} +2 -2
  818. package/dist/stzh-components/{p-ad5b037d.entry.js.map → p-9116a045.entry.js.map} +1 -1
  819. package/dist/stzh-components/{p-2ddaf03b.entry.js → p-91293013.entry.js} +2 -2
  820. package/dist/stzh-components/{p-91083053.entry.js → p-9401dae4.entry.js} +2 -2
  821. package/dist/stzh-components/{p-9bd07097.entry.js → p-973d5106.entry.js} +2 -2
  822. package/dist/stzh-components/{p-2b767b1b.entry.js → p-9a13a429.entry.js} +2 -2
  823. package/dist/stzh-components/{p-ed66b150.entry.js → p-9b3646d1.entry.js} +2 -2
  824. package/dist/stzh-components/{p-7368a3bd.entry.js → p-9fa5627e.entry.js} +2 -2
  825. package/dist/stzh-components/p-Cd_ra_Ay.js +3 -0
  826. package/dist/stzh-components/p-Cd_ra_Ay.js.map +1 -0
  827. package/dist/stzh-components/{p--ooR_PU_.js → p-Cmnnu8LG.js} +2 -2
  828. package/dist/stzh-components/{p--ooR_PU_.js.map → p-Cmnnu8LG.js.map} +1 -1
  829. package/dist/stzh-components/p-a12a9a69.entry.js +2 -0
  830. package/dist/stzh-components/{p-d319b8db.entry.js.map → p-a12a9a69.entry.js.map} +1 -1
  831. package/dist/stzh-components/{p-77ab7971.entry.js → p-a344c074.entry.js} +2 -2
  832. package/dist/stzh-components/{p-687cae2d.entry.js → p-a4af5ab1.entry.js} +2 -2
  833. package/dist/stzh-components/{p-b93a07a9.entry.js → p-a5d371f1.entry.js} +2 -2
  834. package/dist/stzh-components/{p-49717f35.entry.js → p-a955037d.entry.js} +2 -2
  835. package/dist/stzh-components/{p-00353dba.entry.js → p-ab49825b.entry.js} +2 -2
  836. package/dist/stzh-components/{p-7a8d05c2.entry.js → p-abd035af.entry.js} +2 -2
  837. package/dist/stzh-components/{p-e7c05a67.entry.js → p-b1c3a46e.entry.js} +2 -2
  838. package/dist/stzh-components/{p-6c6e664c.entry.js → p-b282776f.entry.js} +2 -2
  839. package/dist/stzh-components/{p-cba7e887.entry.js → p-b29db204.entry.js} +2 -2
  840. package/dist/stzh-components/{p-1e895ec3.entry.js → p-b3376d98.entry.js} +2 -2
  841. package/dist/stzh-components/{p-ad11c427.entry.js → p-b5e6915e.entry.js} +2 -2
  842. package/dist/stzh-components/{p-b401f555.entry.js → p-b79a3cf6.entry.js} +2 -2
  843. package/dist/stzh-components/{p-ec958f98.entry.js → p-b93a3119.entry.js} +2 -2
  844. package/dist/stzh-components/{p-1c10554c.entry.js → p-b95d6d7e.entry.js} +2 -2
  845. package/dist/stzh-components/{p-7dc226b0.entry.js → p-b96726cd.entry.js} +2 -2
  846. package/dist/stzh-components/{p-32c6e24a.entry.js → p-bbf9c297.entry.js} +2 -2
  847. package/dist/stzh-components/{p-d3ae51da.entry.js → p-be131bb0.entry.js} +2 -2
  848. package/dist/stzh-components/{p-ab14b19a.entry.js → p-c0ca3937.entry.js} +2 -2
  849. package/dist/stzh-components/{p-3f5f0aaf.entry.js → p-c2b979f4.entry.js} +2 -2
  850. package/dist/stzh-components/{p-d0c780be.entry.js → p-ca122373.entry.js} +2 -2
  851. package/dist/stzh-components/{p-ca39f17b.entry.js → p-ca3018d9.entry.js} +2 -2
  852. package/dist/stzh-components/p-cabbf05e.entry.js +2 -0
  853. package/dist/stzh-components/{p-6add6579.entry.js.map → p-cabbf05e.entry.js.map} +1 -1
  854. package/dist/stzh-components/{p-1da17a3f.entry.js → p-cada8a35.entry.js} +2 -2
  855. package/dist/stzh-components/{p-6ec9e3dc.entry.js → p-cc8ee9b0.entry.js} +2 -2
  856. package/dist/stzh-components/{p-c359686c.entry.js → p-cd7b961a.entry.js} +2 -2
  857. package/dist/stzh-components/{p-89c070b8.entry.js → p-ced6cf29.entry.js} +2 -2
  858. package/dist/stzh-components/{p-8550b2d8.entry.js → p-cf9f8810.entry.js} +2 -2
  859. package/dist/stzh-components/{p-b9d617d4.entry.js → p-d0a705e4.entry.js} +2 -2
  860. package/dist/stzh-components/{p-3b764057.entry.js → p-d5811a44.entry.js} +2 -2
  861. package/dist/stzh-components/{p-7b070e13.entry.js → p-d681d6e4.entry.js} +2 -2
  862. package/dist/stzh-components/{p-9a732268.entry.js → p-d86f3f58.entry.js} +2 -2
  863. package/dist/stzh-components/{p-182be2cb.entry.js → p-dbd9d4dc.entry.js} +3 -3
  864. package/dist/stzh-components/{p-01b57dff.entry.js → p-dd861fbd.entry.js} +2 -2
  865. package/dist/stzh-components/{p-afbf7bd5.entry.js → p-df4d32b9.entry.js} +2 -2
  866. package/dist/stzh-components/{p-102abd6c.entry.js → p-e0df6f5e.entry.js} +2 -2
  867. package/dist/stzh-components/{p-b936ffdb.entry.js → p-e1f17ba4.entry.js} +2 -2
  868. package/dist/stzh-components/{p-b936ffdb.entry.js.map → p-e1f17ba4.entry.js.map} +1 -1
  869. package/dist/stzh-components/{p-39d6dad5.entry.js → p-e4713769.entry.js} +2 -2
  870. package/dist/stzh-components/{p-fdb2fa88.entry.js → p-e542834b.entry.js} +2 -2
  871. package/dist/stzh-components/{p-d10a459c.entry.js → p-e682f2ac.entry.js} +2 -2
  872. package/dist/stzh-components/{p-fe2e3916.entry.js → p-e7dc4502.entry.js} +2 -2
  873. package/dist/stzh-components/{p-b6518908.entry.js → p-e7fd376c.entry.js} +7 -7
  874. package/dist/stzh-components/{p-b0f5c226.entry.js → p-e9c52ffb.entry.js} +2 -2
  875. package/dist/stzh-components/{p-51069c51.entry.js → p-ea5e7024.entry.js} +2 -2
  876. package/dist/stzh-components/{p-9d3dcadd.entry.js → p-edf81efe.entry.js} +2 -2
  877. package/dist/stzh-components/{p-6b450966.entry.js → p-ef1dac1c.entry.js} +2 -2
  878. package/dist/stzh-components/{p-0d71a712.entry.js → p-f0494df6.entry.js} +2 -2
  879. package/dist/stzh-components/p-f3e31d46.entry.js +2 -0
  880. package/dist/stzh-components/{p-2a398b2e.entry.js.map → p-f3e31d46.entry.js.map} +1 -1
  881. package/dist/stzh-components/{p-f76c80da.entry.js → p-f57e38fd.entry.js} +2 -2
  882. package/dist/stzh-components/{p-0bcce878.entry.js → p-f5be3b98.entry.js} +2 -2
  883. package/dist/stzh-components/{p-66b8f10b.entry.js → p-f6abd4ab.entry.js} +2 -2
  884. package/dist/stzh-components/{p-223813c2.entry.js → p-f8f7101d.entry.js} +2 -2
  885. package/dist/stzh-components/{p-08c26fa4.entry.js → p-ff9946f2.entry.js} +2 -2
  886. package/dist/stzh-components/stzh-components.esm.js +1 -1
  887. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +7 -1
  888. package/dist/types/components/stzh-footer/stzh-footer.d.ts +2 -2
  889. package/dist/types/components/stzh-header/stzh-header.d.ts +1 -1
  890. package/dist/types/components.d.ts +10 -10
  891. package/dist/vscode-data.json +6 -3
  892. package/package.json +1 -1
  893. package/dist/cjs/index-D-_ltZeJ.js.map +0 -1
  894. package/dist/components/p-BBg6OWDc.js.map +0 -1
  895. package/dist/components/p-Deiikj-l.js.map +0 -1
  896. package/dist/esm/index-BMrO_esM.js.map +0 -1
  897. package/dist/stzh-components/p-2a02f828.entry.js +0 -2
  898. package/dist/stzh-components/p-2a398b2e.entry.js +0 -2
  899. package/dist/stzh-components/p-6add6579.entry.js +0 -2
  900. package/dist/stzh-components/p-85b5bdbd.entry.js.map +0 -1
  901. package/dist/stzh-components/p-9db9d368.entry.js +0 -2
  902. package/dist/stzh-components/p-BMrO_esM.js +0 -3
  903. package/dist/stzh-components/p-BMrO_esM.js.map +0 -1
  904. package/dist/stzh-components/p-d319b8db.entry.js +0 -2
  905. package/dist/stzh-components/p-d971957a.entry.js +0 -2
  906. package/dist/stzh-components/p-d971957a.entry.js.map +0 -1
  907. /package/dist/stzh-components/{p-833bd793.entry.js.map → p-01df3db2.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-b9c11320.entry.js.map → p-079dcc0c.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-4e26f1e1.entry.js.map → p-07a3f13b.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-301c1aa1.entry.js.map → p-07f01850.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-e6d33dfe.entry.js.map → p-094f446c.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-fce7bd0a.entry.js.map → p-0b78dd4f.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-90db31fb.entry.js.map → p-0c981d74.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-c6ae1a73.entry.js.map → p-10f8a411.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-6af8d5cb.entry.js.map → p-1509f376.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-95b9d704.entry.js.map → p-1517a33d.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-51f6f724.entry.js.map → p-157b43ee.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-d591892c.entry.js.map → p-163e7402.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-d10e2ff4.entry.js.map → p-175bb0f6.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-357943a8.entry.js.map → p-19128327.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-e85f497a.entry.js.map → p-191ee433.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-44b7bd82.entry.js.map → p-1c93511c.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-fd92dbe7.entry.js.map → p-202d72b1.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-80c514e1.entry.js.map → p-209f26fb.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-e04fe921.entry.js.map → p-20bfbc6f.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-f31d01ea.entry.js.map → p-2609419a.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-873bec1c.entry.js.map → p-28a1dfb8.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-2a127cc2.entry.js.map → p-29bce2da.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-7fef5a6d.entry.js.map → p-2c2ee11d.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-ec4dc01c.entry.js.map → p-2c4b646b.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-1c0d8bd1.entry.js.map → p-2cafe02c.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-e88b56a4.entry.js.map → p-31ddeb59.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-d57711e5.entry.js.map → p-37ab4757.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-683a19bb.entry.js.map → p-3deebf76.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-3066d7ac.entry.js.map → p-4306b004.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-2c7792b4.entry.js.map → p-441a69c8.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-61bf5c59.entry.js.map → p-47a3a92f.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-b67a197e.entry.js.map → p-49dbf5af.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-9b164561.entry.js.map → p-4cc94ab2.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-97be25ae.entry.js.map → p-4cf4a477.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-fdca724c.entry.js.map → p-4df5aaec.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-19425494.entry.js.map → p-5075d2b8.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-d8cacb50.entry.js.map → p-608b3614.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-eec61b75.entry.js.map → p-615bce0c.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-90c4a686.entry.js.map → p-62b7f84a.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-a924e049.entry.js.map → p-64f49126.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-684d4d18.entry.js.map → p-66871ca6.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-117d79b0.entry.js.map → p-6837f9f3.entry.js.map} +0 -0
  949. /package/dist/stzh-components/{p-56216434.entry.js.map → p-687aec65.entry.js.map} +0 -0
  950. /package/dist/stzh-components/{p-34e31715.entry.js.map → p-6b9cd9d7.entry.js.map} +0 -0
  951. /package/dist/stzh-components/{p-a466bef7.entry.js.map → p-6c03fa87.entry.js.map} +0 -0
  952. /package/dist/stzh-components/{p-a6073abd.entry.js.map → p-6d317f61.entry.js.map} +0 -0
  953. /package/dist/stzh-components/{p-b91a1fb5.entry.js.map → p-6d5286d5.entry.js.map} +0 -0
  954. /package/dist/stzh-components/{p-7898ab3c.entry.js.map → p-6fb9484b.entry.js.map} +0 -0
  955. /package/dist/stzh-components/{p-ea2a37fa.entry.js.map → p-72f80196.entry.js.map} +0 -0
  956. /package/dist/stzh-components/{p-490d880f.entry.js.map → p-7365c477.entry.js.map} +0 -0
  957. /package/dist/stzh-components/{p-a2313acc.entry.js.map → p-75291180.entry.js.map} +0 -0
  958. /package/dist/stzh-components/{p-66aa2138.entry.js.map → p-761c5948.entry.js.map} +0 -0
  959. /package/dist/stzh-components/{p-6e23fc8e.entry.js.map → p-7b65832f.entry.js.map} +0 -0
  960. /package/dist/stzh-components/{p-3efa45ca.entry.js.map → p-7fe9b54c.entry.js.map} +0 -0
  961. /package/dist/stzh-components/{p-5eff4877.entry.js.map → p-8094cf86.entry.js.map} +0 -0
  962. /package/dist/stzh-components/{p-4cc1d883.entry.js.map → p-80fc31a3.entry.js.map} +0 -0
  963. /package/dist/stzh-components/{p-c1ccb40f.entry.js.map → p-8a37f308.entry.js.map} +0 -0
  964. /package/dist/stzh-components/{p-bc49448d.entry.js.map → p-8afec643.entry.js.map} +0 -0
  965. /package/dist/stzh-components/{p-defa4f14.entry.js.map → p-8b17a4ea.entry.js.map} +0 -0
  966. /package/dist/stzh-components/{p-21d6ad19.entry.js.map → p-8c229068.entry.js.map} +0 -0
  967. /package/dist/stzh-components/{p-11984d87.entry.js.map → p-8e0e50c7.entry.js.map} +0 -0
  968. /package/dist/stzh-components/{p-c8332abd.entry.js.map → p-8f960061.entry.js.map} +0 -0
  969. /package/dist/stzh-components/{p-2ddaf03b.entry.js.map → p-91293013.entry.js.map} +0 -0
  970. /package/dist/stzh-components/{p-91083053.entry.js.map → p-9401dae4.entry.js.map} +0 -0
  971. /package/dist/stzh-components/{p-9bd07097.entry.js.map → p-973d5106.entry.js.map} +0 -0
  972. /package/dist/stzh-components/{p-2b767b1b.entry.js.map → p-9a13a429.entry.js.map} +0 -0
  973. /package/dist/stzh-components/{p-ed66b150.entry.js.map → p-9b3646d1.entry.js.map} +0 -0
  974. /package/dist/stzh-components/{p-7368a3bd.entry.js.map → p-9fa5627e.entry.js.map} +0 -0
  975. /package/dist/stzh-components/{p-77ab7971.entry.js.map → p-a344c074.entry.js.map} +0 -0
  976. /package/dist/stzh-components/{p-687cae2d.entry.js.map → p-a4af5ab1.entry.js.map} +0 -0
  977. /package/dist/stzh-components/{p-b93a07a9.entry.js.map → p-a5d371f1.entry.js.map} +0 -0
  978. /package/dist/stzh-components/{p-49717f35.entry.js.map → p-a955037d.entry.js.map} +0 -0
  979. /package/dist/stzh-components/{p-00353dba.entry.js.map → p-ab49825b.entry.js.map} +0 -0
  980. /package/dist/stzh-components/{p-7a8d05c2.entry.js.map → p-abd035af.entry.js.map} +0 -0
  981. /package/dist/stzh-components/{p-e7c05a67.entry.js.map → p-b1c3a46e.entry.js.map} +0 -0
  982. /package/dist/stzh-components/{p-6c6e664c.entry.js.map → p-b282776f.entry.js.map} +0 -0
  983. /package/dist/stzh-components/{p-cba7e887.entry.js.map → p-b29db204.entry.js.map} +0 -0
  984. /package/dist/stzh-components/{p-1e895ec3.entry.js.map → p-b3376d98.entry.js.map} +0 -0
  985. /package/dist/stzh-components/{p-ad11c427.entry.js.map → p-b5e6915e.entry.js.map} +0 -0
  986. /package/dist/stzh-components/{p-b401f555.entry.js.map → p-b79a3cf6.entry.js.map} +0 -0
  987. /package/dist/stzh-components/{p-ec958f98.entry.js.map → p-b93a3119.entry.js.map} +0 -0
  988. /package/dist/stzh-components/{p-1c10554c.entry.js.map → p-b95d6d7e.entry.js.map} +0 -0
  989. /package/dist/stzh-components/{p-7dc226b0.entry.js.map → p-b96726cd.entry.js.map} +0 -0
  990. /package/dist/stzh-components/{p-32c6e24a.entry.js.map → p-bbf9c297.entry.js.map} +0 -0
  991. /package/dist/stzh-components/{p-d3ae51da.entry.js.map → p-be131bb0.entry.js.map} +0 -0
  992. /package/dist/stzh-components/{p-ab14b19a.entry.js.map → p-c0ca3937.entry.js.map} +0 -0
  993. /package/dist/stzh-components/{p-3f5f0aaf.entry.js.map → p-c2b979f4.entry.js.map} +0 -0
  994. /package/dist/stzh-components/{p-d0c780be.entry.js.map → p-ca122373.entry.js.map} +0 -0
  995. /package/dist/stzh-components/{p-ca39f17b.entry.js.map → p-ca3018d9.entry.js.map} +0 -0
  996. /package/dist/stzh-components/{p-1da17a3f.entry.js.map → p-cada8a35.entry.js.map} +0 -0
  997. /package/dist/stzh-components/{p-6ec9e3dc.entry.js.map → p-cc8ee9b0.entry.js.map} +0 -0
  998. /package/dist/stzh-components/{p-c359686c.entry.js.map → p-cd7b961a.entry.js.map} +0 -0
  999. /package/dist/stzh-components/{p-89c070b8.entry.js.map → p-ced6cf29.entry.js.map} +0 -0
  1000. /package/dist/stzh-components/{p-8550b2d8.entry.js.map → p-cf9f8810.entry.js.map} +0 -0
  1001. /package/dist/stzh-components/{p-b9d617d4.entry.js.map → p-d0a705e4.entry.js.map} +0 -0
  1002. /package/dist/stzh-components/{p-3b764057.entry.js.map → p-d5811a44.entry.js.map} +0 -0
  1003. /package/dist/stzh-components/{p-7b070e13.entry.js.map → p-d681d6e4.entry.js.map} +0 -0
  1004. /package/dist/stzh-components/{p-9a732268.entry.js.map → p-d86f3f58.entry.js.map} +0 -0
  1005. /package/dist/stzh-components/{p-182be2cb.entry.js.map → p-dbd9d4dc.entry.js.map} +0 -0
  1006. /package/dist/stzh-components/{p-01b57dff.entry.js.map → p-dd861fbd.entry.js.map} +0 -0
  1007. /package/dist/stzh-components/{p-afbf7bd5.entry.js.map → p-df4d32b9.entry.js.map} +0 -0
  1008. /package/dist/stzh-components/{p-102abd6c.entry.js.map → p-e0df6f5e.entry.js.map} +0 -0
  1009. /package/dist/stzh-components/{p-39d6dad5.entry.js.map → p-e4713769.entry.js.map} +0 -0
  1010. /package/dist/stzh-components/{p-fdb2fa88.entry.js.map → p-e542834b.entry.js.map} +0 -0
  1011. /package/dist/stzh-components/{p-d10a459c.entry.js.map → p-e682f2ac.entry.js.map} +0 -0
  1012. /package/dist/stzh-components/{p-fe2e3916.entry.js.map → p-e7dc4502.entry.js.map} +0 -0
  1013. /package/dist/stzh-components/{p-b6518908.entry.js.map → p-e7fd376c.entry.js.map} +0 -0
  1014. /package/dist/stzh-components/{p-b0f5c226.entry.js.map → p-e9c52ffb.entry.js.map} +0 -0
  1015. /package/dist/stzh-components/{p-51069c51.entry.js.map → p-ea5e7024.entry.js.map} +0 -0
  1016. /package/dist/stzh-components/{p-9d3dcadd.entry.js.map → p-edf81efe.entry.js.map} +0 -0
  1017. /package/dist/stzh-components/{p-6b450966.entry.js.map → p-ef1dac1c.entry.js.map} +0 -0
  1018. /package/dist/stzh-components/{p-0d71a712.entry.js.map → p-f0494df6.entry.js.map} +0 -0
  1019. /package/dist/stzh-components/{p-f76c80da.entry.js.map → p-f57e38fd.entry.js.map} +0 -0
  1020. /package/dist/stzh-components/{p-0bcce878.entry.js.map → p-f5be3b98.entry.js.map} +0 -0
  1021. /package/dist/stzh-components/{p-66b8f10b.entry.js.map → p-f6abd4ab.entry.js.map} +0 -0
  1022. /package/dist/stzh-components/{p-223813c2.entry.js.map → p-f8f7101d.entry.js.map} +0 -0
  1023. /package/dist/stzh-components/{p-08c26fa4.entry.js.map → p-ff9946f2.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-BBg6OWDc.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
2
  import { a as api } from './p-Cpg2gH_9.js';
3
3
 
4
4
  const stzhShowCss = () => `: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{--show-display:contents;--hide-display:none;--current-display:var(--hide-display);display:var(--current-display)}:host([mikro]){--current-display:var(--show-display)}:host([mikro=false]){--current-display:var(--hide-display)}@media screen and (min-width: 600px){:host([small]){--current-display:var(--show-display)}}@media screen and (min-width: 600px){:host([small=false]){--current-display:var(--hide-display)}}@media screen and (min-width: 900px){:host([medium]){--current-display:var(--show-display)}}@media screen and (min-width: 900px){:host([medium=false]){--current-display:var(--hide-display)}}@media screen and (min-width: 1260px){:host([large]){--current-display:var(--show-display)}}@media screen and (min-width: 1260px){:host([large=false]){--current-display:var(--hide-display)}}@media screen and (min-width: 1600px){:host([ultra]){--current-display:var(--show-display)}}@media screen and (min-width: 1600px){:host([ultra=false]){--current-display:var(--hide-display)}}`;
@@ -57,9 +57,9 @@ const StzhShow = /*@__PURE__*/ proxyCustomElement(class StzhShow extends H {
57
57
  }
58
58
  render() {
59
59
  const timeNow = Date.now();
60
- return (h(Host, { key: '70a4992118264a868bafea6d72a9737e8aecddff', hidden: (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||
60
+ return (h(Host, { key: '127cc31da361580db8d9ffa32d5f26e9e9ae54d4', hidden: (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||
61
61
  (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||
62
- this.closedByCookie }, h("slot", { key: '40a2d597936375f8575a7717eba9c42831a3eeb3' })));
62
+ this.closedByCookie }, h("slot", { key: '7e3976c80768dfbdea6814f3347e4cdf282bdddc' })));
63
63
  }
64
64
  get element() { return this; }
65
65
  static get watchers() { return {
@@ -95,6 +95,6 @@ function defineCustomElement() {
95
95
  }
96
96
 
97
97
  export { StzhShow as S, defineCustomElement as d };
98
- //# sourceMappingURL=p-C3YgJPrk.js.map
98
+ //# sourceMappingURL=p-C5ORTu7L.js.map
99
99
 
100
- //# sourceMappingURL=p-C3YgJPrk.js.map
100
+ //# sourceMappingURL=p-C5ORTu7L.js.map
@@ -1 +1 @@
1
- {"file":"p-C3YgJPrk.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,k3DAAk3D,CAAC;;ACM94D,MAAM,gBAAgB,GAAG,4BAA4B;MAUxC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AA6BE;;;;;AAKG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAW,EAAE;AA2CrB,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAsBxC;AA9DC,IAAA,YAAY,CAAC,KAA0F,EAAA;AACrG,QAAA,IAAI,CAAC,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;AACtF,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,gBAAAC,GAAM,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAA,CAAA,EAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC;;;;AAM/E,IAAA,mBAAmB,CAAC,QAAuB,EAAA;AACzC,QAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAChC,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI;;aACpD;AACL,YAAA,IAAI,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","Cookie"],"sources":["src/components/stzh-show/stzh-show.scss?tag=stzh-show&encapsulation=shadow","src/components/stzh-show/stzh-show.tsx"],"sourcesContent":["/**\n * @prop --show-display: Display value that is used when content is shown (default `block`)\n * @prop --hide-display: Display value that is used when content is hidden (default `none`)\n * @prop --current-display: Current display value (readonly)\n */\n\n:host {\n --show-display: contents;\n --hide-display: none;\n --current-display: var(--hide-display);\n\n display: var(--current-display);\n}\n\n/* Mikro */\n\n:host([mikro]) {\n --current-display: var(--show-display);\n}\n\n:host([mikro=\"false\"]) {\n --current-display: var(--hide-display);\n}\n\n/* Small */\n\n:host([small]) {\n @include mq($from: small) {\n --current-display: var(--show-display);\n }\n}\n\n:host([small=\"false\"]) {\n @include mq($from: small) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Medium */\n\n:host([medium]) {\n @include mq($from: medium) {\n --current-display: var(--show-display);\n }\n}\n\n:host([medium=\"false\"]) {\n @include mq($from: medium) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Large */\n\n:host([large]) {\n @include mq($from: large) {\n --current-display: var(--show-display);\n }\n}\n\n:host([large=\"false\"]) {\n @include mq($from: large) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Ultra */\n\n:host([ultra]) {\n @include mq($from: ultra) {\n --current-display: var(--show-display);\n }\n}\n\n:host([ultra=\"false\"]) {\n @include mq($from: ultra) {\n --current-display: var(--hide-display);\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhBannerCloseEvent, StzhGhettoboxCloseEvent, StzhMessageCloseEvent } from \"../../index\";\n\nimport Cookie from \"js-cookie\";\n\nconst KEY_PREFIX_CLOSE = \"stzh-components-show-close\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true,\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Show from date */\n @Prop() showFromDate: Date | string;\n private _showFromDate: Date;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n /**\n * Close cookie name key.\n * Component will check for the cookie (stzh-components-show-close-{name})\n * and if not empty (component inside already closed before) will hide show.\n * Will also compare with showFromDate if given, to make sure cookie was set after showFromDate (otherwise will show again).\n */\n @Prop() closeKey: string = \"\";\n\n @Listen(\"stzhClose\")\n closeWatcher(event: CustomEvent<StzhBannerCloseEvent | StzhMessageCloseEvent | StzhGhettoboxCloseEvent>) {\n if ([\"stzh-banner\", \"stzh-message\", \"stzh-ghettobox\"].includes(event.detail.component)) {\n if (this.closeKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE}-${this.closeKey}`, Date.now().toString());\n }\n }\n }\n\n @Watch(\"showFromDate\")\n showFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._showFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._showFromDate = newValue;\n }\n\n let closedByCookie = false;\n\n if (this.closeKey) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE}-${this.closeKey}`);\n\n if (timeClosed && (!this._showFromDate || Number(timeClosed) >= this._showFromDate.getTime())) {\n closedByCookie = true;\n }\n }\n\n this.closedByCookie = closedByCookie;\n }\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n private closedByCookie: boolean = false;\n\n componentWillLoad() {\n this.showFromDateWatcher(this.showFromDate);\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n const timeNow = Date.now();\n\n return (\n <Host\n hidden={\n (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||\n (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||\n this.closedByCookie\n }\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-C5ORTu7L.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC,k3DAAk3D,CAAC;;ACM94D,MAAM,gBAAgB,GAAG,4BAA4B;MAUxC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;AA6BE;;;;;AAKG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAW,EAAE;AA2CrB,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAsBxC;AA9DC,IAAA,YAAY,CAAC,KAA0F,EAAA;AACrG,QAAA,IAAI,CAAC,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE;AACtF,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,gBAAAC,GAAM,CAAC,GAAG,CAAC,GAAG,gBAAgB,CAAA,CAAA,EAAI,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC;;;;AAM/E,IAAA,mBAAmB,CAAC,QAAuB,EAAA;AACzC,QAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAChC,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ,GAAG,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI;;aACpD;AACL,YAAA,IAAI,CAAC,aAAa,GAAG,QAAQ;;QAG/B,IAAI,cAAc,GAAG,KAAK;AAE1B,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,MA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sulation=shadow","src/components/stzh-show/stzh-show.tsx"],"sourcesContent":["/**\n * @prop --show-display: Display value that is used when content is shown (default `block`)\n * @prop --hide-display: Display value that is used when content is hidden (default `none`)\n * @prop --current-display: Current display value (readonly)\n */\n\n:host {\n --show-display: contents;\n --hide-display: none;\n --current-display: var(--hide-display);\n\n display: var(--current-display);\n}\n\n/* Mikro */\n\n:host([mikro]) {\n --current-display: var(--show-display);\n}\n\n:host([mikro=\"false\"]) {\n --current-display: var(--hide-display);\n}\n\n/* Small */\n\n:host([small]) {\n @include mq($from: small) {\n --current-display: var(--show-display);\n }\n}\n\n:host([small=\"false\"]) {\n @include mq($from: small) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Medium */\n\n:host([medium]) {\n @include mq($from: medium) {\n --current-display: var(--show-display);\n }\n}\n\n:host([medium=\"false\"]) {\n @include mq($from: medium) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Large */\n\n:host([large]) {\n @include mq($from: large) {\n --current-display: var(--show-display);\n }\n}\n\n:host([large=\"false\"]) {\n @include mq($from: large) {\n --current-display: var(--hide-display);\n }\n}\n\n/* Ultra */\n\n:host([ultra]) {\n @include mq($from: ultra) {\n --current-display: var(--show-display);\n }\n}\n\n:host([ultra=\"false\"]) {\n @include mq($from: ultra) {\n --current-display: var(--hide-display);\n }\n}\n","import { Component, Host, h, Element, Prop, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhBannerCloseEvent, StzhGhettoboxCloseEvent, StzhMessageCloseEvent } from \"../../index\";\n\nimport Cookie from \"js-cookie\";\n\nconst KEY_PREFIX_CLOSE = \"stzh-components-show-close\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true,\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Show from date */\n @Prop() showFromDate: Date | string;\n private _showFromDate: Date;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n /**\n * Close cookie name key.\n * Component will check for the cookie (stzh-components-show-close-{name})\n * and if not empty (component inside already closed before) will hide show.\n * Will also compare with showFromDate if given, to make sure cookie was set after showFromDate (otherwise will show again).\n */\n @Prop() closeKey: string = \"\";\n\n @Listen(\"stzhClose\")\n closeWatcher(event: CustomEvent<StzhBannerCloseEvent | StzhMessageCloseEvent | StzhGhettoboxCloseEvent>) {\n if ([\"stzh-banner\", \"stzh-message\", \"stzh-ghettobox\"].includes(event.detail.component)) {\n if (this.closeKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE}-${this.closeKey}`, Date.now().toString());\n }\n }\n }\n\n @Watch(\"showFromDate\")\n showFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._showFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._showFromDate = newValue;\n }\n\n let closedByCookie = false;\n\n if (this.closeKey) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE}-${this.closeKey}`);\n\n if (timeClosed && (!this._showFromDate || Number(timeClosed) >= this._showFromDate.getTime())) {\n closedByCookie = true;\n }\n }\n\n this.closedByCookie = closedByCookie;\n }\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = newValue ? new Date(newValue) : null;\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n private closedByCookie: boolean = false;\n\n componentWillLoad() {\n this.showFromDateWatcher(this.showFromDate);\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n const timeNow = Date.now();\n\n return (\n <Host\n hidden={\n (this._showFromDate && timeNow <= this._showFromDate.getTime()) ||\n (this._hideFromDate && timeNow >= this._hideFromDate.getTime()) ||\n this.closedByCookie\n }\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,8 +1,8 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-BBg6OWDc.js';
2
- import { d as defineCustomElement$4 } from './p-DEfzwFSm.js';
3
- import { d as defineCustomElement$3 } from './p-BiFb4c_S.js';
4
- import { d as defineCustomElement$2 } from './p-CRo_30JG.js';
5
- import { d as defineCustomElement$1 } from './p-DrLVNdlm.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 { d as defineCustomElement$4 } from './p-Dn7rMHvA.js';
3
+ import { d as defineCustomElement$3 } from './p-DvCfh0K2.js';
4
+ import { d as defineCustomElement$2 } from './p-mPSUVIkD.js';
5
+ import { d as defineCustomElement$1 } from './p-CxqE2nhG.js';
6
6
 
7
7
  const stzhTagCss = () => `.sc-stzh-tag-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-tag-h,[stzh-hidden].sc-stzh-tag-h{display:none}.sc-stzh-tag-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-tag-h *.sc-stzh-tag,.sc-stzh-tag-h *.sc-stzh-tag::before,.sc-stzh-tag-h *.sc-stzh-tag::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-tag-h .has-focus.sc-stzh-tag{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-tag-h .stzh-fylingfocus-focused.sc-stzh-tag{outline-style:none !important}.sc-stzh-tag-h .stzh-fylingfocus-focused.sc-stzh-tag::-moz-focus-inner{border:0 !important}.sc-stzh-tag-h{--color:var(--stzh-tag-color, var(--stzh-color-secondary60));--height:1.5rem;--padding-top:0;--padding-bottom:0;--padding-left:calc(var(--stzh-space-small) - var(--border-width));--padding-right:calc(var(--stzh-space-small) - var(--border-width));--border-width:0px;--background-color:var(--stzh-tag-background-color, var(--stzh-color-grey20));--hover-color:var(--stzh-tag-hover-color, var(--stzh-color-secondary60));--hover-background-color:var(
8
8
  --stzh-tag-hover-background-color,
@@ -107,7 +107,7 @@ const StzhTag = /*@__PURE__*/ proxyCustomElement(class StzhTag extends H {
107
107
  [`stzh-tag--${this.nonInteractive ? "not" : "is"}-interactive`]: true,
108
108
  };
109
109
  const Tag = this.nonInteractive ? "div" : this.href ? "a" : "button";
110
- return (h(Host, { key: 'e245949084a121262460c8f6300ee82255cd40ec', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'baaac8113b09f16293ccd615cb8b8e5b710255ad', class: classes }, this.href ? (h(Tag, { ref: el => (this.tag = el), class: {
110
+ return (h(Host, { key: '18b13050db1bb0d7bb10a21a84534c1627137c57', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '57a7bb1a02694ea343df1402086a3080dd1f2a9c', class: classes }, this.href ? (h(Tag, { ref: el => (this.tag = el), class: {
111
111
  "stzh-tag__button": true,
112
112
  "is-button": !this.nonInteractive && !this.href,
113
113
  "is-link": !this.nonInteractive && !!this.href,
@@ -168,6 +168,6 @@ function defineCustomElement() {
168
168
  }
169
169
 
170
170
  export { StzhTag as S, defineCustomElement as d };
171
- //# sourceMappingURL=p-JcCSKOtR.js.map
171
+ //# sourceMappingURL=p-CDOLFG2o.js.map
172
172
 
173
- //# sourceMappingURL=p-JcCSKOtR.js.map
173
+ //# sourceMappingURL=p-CDOLFG2o.js.map
@@ -1 +1 @@
1
- {"file":"p-JcCSKOtR.js","mappings":";;;;;;AAAA,MA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ation=scoped","src/components/stzh-tag/stzh-tag.tsx"],"sourcesContent":["/**\n * @prop --height: Height of tag\n * @prop --padding-top: Padding top of tag\n * @prop --padding-bottom: Padding bottom of tag\n * @prop --padding-left: Padding left of tag\n * @prop --padding-right: Padding right of tag\n * @prop --border-width: Border width of tag\n * @prop --color: Color of tag\n * @prop --background-color: Background color of tag\n * @prop --hover-color: Hover color of tag\n * @prop --hover-background-color: Hover background color of tag\n */\n\n@mixin tag--forced-colors-default() {\n --border-width: 2px;\n\n --color: CanvasText;\n --border-color: CanvasText;\n --background-color: Canvas;\n\n --hover-color: CanvasText;\n --hover-border-color: CanvasText;\n --hover-background-color: Canvas;\n}\n\n@mixin tag--forced-colors-button() {\n --border-width: 2px;\n\n --color: ButtonText;\n --border-color: ButtonBorder;\n --background-color: ButtonFace;\n\n --hover-color: HighlightText;\n --hover-border-color: Highlight;\n --hover-background-color: Highlight;\n}\n\n@mixin tag--forced-colors-link() {\n --border-width: 2px;\n\n --color: LinkText;\n --border-color: LinkText;\n --background-color: Canvas;\n\n --hover-color: LinkText;\n --hover-border-color: LinkText;\n --hover-background-color: Canvas;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: Canvas;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: Canvas;\n}\n\n:host {\n --color: var(--stzh-tag-color, #{$colorSecondary60});\n --height: 24px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: calc(#{space(\"small\")} - var(--border-width));\n --padding-right: calc(#{space(\"small\")} - var(--border-width));\n --border-width: 0px;\n --background-color: var(--stzh-tag-background-color, #{$colorGrey20});\n\n --hover-color: var(--stzh-tag-hover-color, #{$colorSecondary60});\n --hover-background-color: var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );\n\n display: inline-flex;\n\n &[size=\"large\"] {\n --height: 32px;\n }\n\n &[size=\"default\"][type=\"secondary\"] {\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[type=\"secondary\"] {\n --color: var(--stzh-tag-secondary-color, #{$colorWhite});\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n --hover-color: var(--stzh-tag-secondary-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n );\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-tag-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-tag-disabled-background-color,\n #{$colorGrey20}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n}\n\n.stzh-tag {\n position: relative;\n\n &__button {\n @include fontSize(\"nano\");\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n appearance: none;\n border: var(--border-width) solid transparent;\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n\n @media (forced-colors: active) {\n transition: none;\n }\n }\n\n &__label {\n text-align: left;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__button:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n /* Size */\n\n &--size-large &__button {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n }\n\n /* Non-Interactive */\n &--not-interactive {\n @media (forced-colors: active) {\n @include tag--forced-colors-default;\n }\n }\n\n /* Interactive & Button */\n &--is-interactive#{&}--no-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-button;\n }\n }\n\n /* Interactive & Link */\n &--is-interactive#{&}--has-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-link;\n }\n }\n\n /* Disabled */\n &--is-disabled &__button {\n cursor: not-allowed;\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Fragment } from \"@stencil/core\";\n\nimport { StzhTagType, StzhTagSize, StzhTagClickEvent, StzhTagFocusEvent, StzhTagBlurEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-tag\",\n styleUrl: \"stzh-tag.scss\",\n scoped: true,\n})\nexport class StzhTag {\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the tag should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether tag is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhTagType = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhTagSize = \"default\";\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhTagElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhTagClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhTagFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhTagBlurEvent>;\n\n private tag: HTMLButtonElement | HTMLAnchorElement | HTMLDivElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n if (!this.nonInteractive) {\n this.tag?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n }\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <stzh-clamp lines={1} class=\"stzh-tag__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n </stzh-clamp>\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tag.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n render() {\n const classes = {\n \"stzh-tag\": true,\n \"stzh-tag--is-disabled\": this.disabled,\n [`stzh-tag--size-${this.size}`]: !!this.size,\n [`stzh-tag--${this.type}`]: !!this.type,\n [`stzh-tag--${this.href ? \"has\" : \"no\"}-href`]: true,\n [`stzh-tag--${this.nonInteractive ? \"not\" : \"is\"}-interactive`]: true,\n };\n\n const Tag = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.href ? (\n <Tag\n ref={el => (this.tag = el as HTMLAnchorElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n ) : (\n <Tag\n ref={el => (this.tag = el as HTMLButtonElement | HTMLDivElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CDOLFG2o.js","mappings":";;;;;;AAAA,MAAM,UAAU,GAAG,MAAM,CAAC;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,koFAAkoF,CAAC;;MCHtnF,OAAO,iBAAAA,kBAAA,CAAA,MAAA,OAAA,SAAAC,CAAA,CAAA;AALpB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAM,CAAA,MAAA,GAAW,EAAE;;AAGF,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAG/B,QAAA,IAAI,CAAA,IAAA,GAAgB,SAAS;;AAG7B,QAAA,IAAI,CAAA,IAAA,GAAgB,SAAS;;AAG7B,QAAA,IAAQ,CAAA,QA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;AACL,gBAAA,kBAAkB,EAAE,IAAI;gBACxB,WAAW,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,IAAI;gBAC/C,SAAS,EAAE,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI;AAC/C,aAAA,EACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,YAAY,EACf,YAAA,EAAA,IAAI,CAAC,SAAS,IAAI,IAAI,EAChB,kBAAA,EAAA,IAAI,CAAC,eAAe,IAAI,IAAI,EAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EAElB,EAAA,IAAI,CAAC,WAAW,EAAE,CACf,CACP,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-tag/stzh-tag.scss?tag=stzh-tag&encapsulation=scoped","src/components/stzh-tag/stzh-tag.tsx"],"sourcesContent":["/**\n * @prop --height: Height of tag\n * @prop --padding-top: Padding top of tag\n * @prop --padding-bottom: Padding bottom of tag\n * @prop --padding-left: Padding left of tag\n * @prop --padding-right: Padding right of tag\n * @prop --border-width: Border width of tag\n * @prop --color: Color of tag\n * @prop --background-color: Background color of tag\n * @prop --hover-color: Hover color of tag\n * @prop --hover-background-color: Hover background color of tag\n */\n\n@mixin tag--forced-colors-default() {\n --border-width: 2px;\n\n --color: CanvasText;\n --border-color: CanvasText;\n --background-color: Canvas;\n\n --hover-color: CanvasText;\n --hover-border-color: CanvasText;\n --hover-background-color: Canvas;\n}\n\n@mixin tag--forced-colors-button() {\n --border-width: 2px;\n\n --color: ButtonText;\n --border-color: ButtonBorder;\n --background-color: ButtonFace;\n\n --hover-color: HighlightText;\n --hover-border-color: Highlight;\n --hover-background-color: Highlight;\n}\n\n@mixin tag--forced-colors-link() {\n --border-width: 2px;\n\n --color: LinkText;\n --border-color: LinkText;\n --background-color: Canvas;\n\n --hover-color: LinkText;\n --hover-border-color: LinkText;\n --hover-background-color: Canvas;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: Canvas;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: Canvas;\n}\n\n:host {\n --color: var(--stzh-tag-color, #{$colorSecondary60});\n --height: 24px;\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: calc(#{space(\"small\")} - var(--border-width));\n --padding-right: calc(#{space(\"small\")} - var(--border-width));\n --border-width: 0px;\n --background-color: var(--stzh-tag-background-color, #{$colorGrey20});\n\n --hover-color: var(--stzh-tag-hover-color, #{$colorSecondary60});\n --hover-background-color: var(\n --stzh-tag-hover-background-color,\n var(--background-color)\n );\n\n display: inline-flex;\n\n &[size=\"large\"] {\n --height: 32px;\n }\n\n &[size=\"default\"][type=\"secondary\"] {\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[type=\"secondary\"] {\n --color: var(--stzh-tag-secondary-color, #{$colorWhite});\n --background-color: var(\n --stzh-tag-secondary-background-color,\n #{$colorSecondary60}\n );\n --hover-color: var(--stzh-tag-secondary-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-tag-secondary-hover-background-color,\n var(--background-color)\n );\n }\n\n &[non-interactive]:not([non-interactive=\"false\"]) {\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: var(--stzh-tag-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-tag-disabled-background-color,\n #{$colorGrey20}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n }\n}\n\n.stzh-tag {\n position: relative;\n\n &__button {\n @include fontSize(\"nano\");\n font-family: inherit;\n height: var(--height);\n display: flex;\n flex-direction: row;\n align-items: center;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n appearance: none;\n border: var(--border-width) solid transparent;\n background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color;\n text-decoration-line: none;\n\n &.is-button,\n &.is-link {\n cursor: pointer;\n }\n\n @media (forced-colors: active) {\n transition: none;\n }\n }\n\n &__label {\n text-align: left;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &__button:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n /* Size */\n\n &--size-large &__button {\n @include font(\"heavy\");\n @include fontSize(\"milli\");\n }\n\n /* Non-Interactive */\n &--not-interactive {\n @media (forced-colors: active) {\n @include tag--forced-colors-default;\n }\n }\n\n /* Interactive & Button */\n &--is-interactive#{&}--no-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-button;\n }\n }\n\n /* Interactive & Link */\n &--is-interactive#{&}--has-href {\n @media (forced-colors: active) {\n @include tag--forced-colors-link;\n }\n }\n\n /* Disabled */\n &--is-disabled &__button {\n cursor: not-allowed;\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n}\n","import { Component, Host, h, Prop, Event, EventEmitter, Element, Fragment } from \"@stencil/core\";\n\nimport { StzhTagType, StzhTagSize, StzhTagClickEvent, StzhTagFocusEvent, StzhTagBlurEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label\n */\n@Component({\n tag: \"stzh-tag\",\n styleUrl: \"stzh-tag.scss\",\n scoped: true,\n})\nexport class StzhTag {\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the tag should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Whether tag is not interactive */\n @Prop({ reflect: true }) nonInteractive: boolean = false;\n\n /** Type */\n @Prop({ reflect: true }) type: StzhTagType = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhTagSize = \"default\";\n\n /** Disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: string;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the link/button */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the remove button element.\n * Default value will be taken from `removeLabel` prop.\n */\n @Prop() removeAnalyticsId: string;\n\n @Element() element: HTMLStzhTagElement;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhTagClickEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhTagFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhTagBlurEvent>;\n\n private tag: HTMLButtonElement | HTMLAnchorElement | HTMLDivElement;\n private text: HTMLElement;\n private focusedByInput: boolean = false;\n\n componentDidRender() {\n requestAnimationFrame(() => {\n if (!this.nonInteractive) {\n this.tag?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n }\n });\n }\n\n private renderInner(): DocumentFragment {\n return (\n <Fragment>\n <stzh-clamp lines={1} class=\"stzh-tag__label\" ref={el => (this.text = el as HTMLElement)}>\n {this.label ? this.label : <slot></slot>}\n </stzh-clamp>\n </Fragment>\n );\n }\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tag.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-tag\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n render() {\n const classes = {\n \"stzh-tag\": true,\n \"stzh-tag--is-disabled\": this.disabled,\n [`stzh-tag--size-${this.size}`]: !!this.size,\n [`stzh-tag--${this.type}`]: !!this.type,\n [`stzh-tag--${this.href ? \"has\" : \"no\"}-href`]: true,\n [`stzh-tag--${this.nonInteractive ? \"not\" : \"is\"}-interactive`]: true,\n };\n\n const Tag = this.nonInteractive ? \"div\" : this.href ? \"a\" : \"button\";\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.href ? (\n <Tag\n ref={el => (this.tag = el as HTMLAnchorElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n href={this.disabled ? null : this.href}\n target={this.target}\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n ) : (\n <Tag\n ref={el => (this.tag = el as HTMLButtonElement | HTMLDivElement)}\n class={{\n \"stzh-tag__button\": true,\n \"is-button\": !this.nonInteractive && !this.href,\n \"is-link\": !this.nonInteractive && !!this.href,\n }}\n disabled={this.disabled}\n type=\"button\"\n tabindex={this.a11yTabindex}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n {this.renderInner()}\n </Tag>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-BBg6OWDc.js';
1
+ import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
2
 
3
3
  const stzhTextCss = () => `.sc-stzh-text-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-text-h,[stzh-hidden].sc-stzh-text-h{display:none}.sc-stzh-text-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-text-h *.sc-stzh-text,.sc-stzh-text-h *.sc-stzh-text::before,.sc-stzh-text-h *.sc-stzh-text::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-text-h .has-focus.sc-stzh-text{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-text-h .stzh-fylingfocus-focused.sc-stzh-text{outline-style:none !important}.sc-stzh-text-h .stzh-fylingfocus-focused.sc-stzh-text::-moz-focus-inner{border:0 !important}.sc-stzh-text-h{--icon-size:1.25em;--icon-vertical-align:text-bottom;--color:var(--stzh-base-color);--display:var(--stzh-text-display, block);width:100%;color:var(--color);--grid-template-areas:var(
4
4
  --stzh-text-grid-template-areas,
@@ -43,7 +43,7 @@ const StzhText = /*@__PURE__*/ proxyCustomElement(class StzhText extends H {
43
43
  this.sizeUltra = "inherit";
44
44
  }
45
45
  render() {
46
- return (h(Host, { key: 'd450c2a2df5504dd70142892aad9a1d81bb47729' }, h("div", { key: 'e03fd12f42bd1f632de9775cbd55ed3f3087a52a', class: {
46
+ return (h(Host, { key: '28e2e7b5a061565551898f4d509ba0b7908f592b' }, h("div", { key: '66cdf412433d270244f654af9d633bcc13a46fb8', class: {
47
47
  "stzh-text": true,
48
48
  "stzh-text--is-lead": this.lead,
49
49
  [`stzh-text--font-${this.font}`]: !!this.font,
@@ -53,7 +53,7 @@ const StzhText = /*@__PURE__*/ proxyCustomElement(class StzhText extends H {
53
53
  [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,
54
54
  [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,
55
55
  [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,
56
- } }, h("div", { key: '49cbea83d2e708948392c0e571faec5fe7f6f906', class: "stzh-text__text" }, h("div", { key: 'f9d771ee233fdf095a15b242559e261dea4ed8a3', class: "stzh-text__icon" }, h("slot", { key: '264dfc25a49f2efa1bd3c79f19e2f8af4c08f858', name: "icon" })), h("div", { key: '7e459045623795dfb2a455111ab5bb249be4b814', class: "stzh-text__text-inner" }, h("slot", { key: '4e6d1126d32c519b9d59d83d919a036229e4d69e' }))))));
56
+ } }, h("div", { key: 'b0f364a885dea731283b76d14023490e34531417', class: "stzh-text__text" }, h("div", { key: '2f6ffe17910f84a2092f51a51151ff12f0e70102', class: "stzh-text__icon" }, h("slot", { key: '9ed2b8653b000a1eac82ae1476e30840057f2757', name: "icon" })), h("div", { key: '43b231aebbf9ce3fd072ffd087e4309b7f050299', class: "stzh-text__text-inner" }, h("slot", { key: 'ab35e6f3f752fe416f3784c066eb7f23233a536d' }))))));
57
57
  }
58
58
  static get style() { return stzhTextCss(); }
59
59
  }, [262, "stzh-text", {
@@ -82,6 +82,6 @@ function defineCustomElement() {
82
82
  }
83
83
 
84
84
  export { StzhText as S, defineCustomElement as d };
85
- //# sourceMappingURL=p-4Vt8Vqot.js.map
85
+ //# sourceMappingURL=p-CIG3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,gBAAA,EAAmB,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;gBAC7C,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,SAAS,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;gBAC7D,CAAC,CAAA,uBAAA,EAA0B,IAAI,CAAC,UAAU,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU;gBAChE,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,SAAS,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;gBAC7D,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,SAAS,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;AAC9D,aAAA,EAAA,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAQ,CACrB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-text/stzh-text.scss?tag=stzh-text&encapsulation=scoped","src/components/stzh-text/stzh-text.tsx"],"sourcesContent":["/**\n * @prop --color: Text color (also `color` can be overwritten)\n * @prop --icon-size: Icon size\n * @prop --icon-vertical-align: Icon vertical alignment\n *\n * @prop --stzh-base-color: **Global**: Text color\n * @prop --stzh-base-lead-color: **Global**: Lead text color\n */\n\n:host {\n --icon-size: 1.25em;\n --icon-vertical-align: text-bottom;\n --color: #{$baseColor};\n --display: var(--stzh-text-display, block);\n\n width: 100%;\n color: var(--color);\n\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumns}\n );\n\n @include mq($from: small) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n ::slotted(*:first-child) {\n margin-top: 0 !important;\n }\n\n ::slotted(*:last-child) {\n margin-bottom: 0 !important;\n }\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n\n @media (hover: none) {\n color: inherit;\n }\n }\n }\n\n ::slotted(b),\n ::slotted(strong),\n ::slotted(* b),\n ::slotted(* strong) {\n @include font(\"heavy\");\n }\n\n ::slotted(i),\n ::slotted(em),\n ::slotted(* i),\n ::slotted(* em) {\n @include font;\n }\n\n &[lead]:not([lead=\"false\"]) {\n --color: #{$baseLeadColor};\n }\n\n &[color=\"primary\"] {\n --color: #{$colorPrimary70};\n }\n\n &[color=\"secondary\"] {\n --color: #{$colorSecondary60};\n }\n\n &[color=\"info\"] {\n --color: #{$textInfoColor};\n }\n\n &[color=\"inherit\"] {\n --color: initial;\n }\n}\n\n.stzh-text {\n --stzh-icon-size: var(--icon-size);\n --stzh-icon-vertical-align: var(--icon-vertical-align);\n\n --stzh-list-font-size: \"\";\n --stzh-list-line-height: \"\";\n --stzh-list-letter-spacing: \"\";\n\n // default font styling without attributes\n @include fontCurve($textFontCurveDefault);\n @include gridGutter;\n display: var(--display);\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n color: var(--color);\n\n &__text {\n grid-area: text;\n display: flex;\n }\n\n &__icon {\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: 0.25em;\n }\n }\n\n &__text-inner {\n flex-grow: 1;\n }\n\n /* Lead variant */\n\n &--is-lead {\n @include font(\"heavy\");\n @include fontCurve(\"lead\", \"lead\");\n }\n\n /* Font variants */\n\n @each $font, $value in $fonts {\n &--font-#{$font} {\n @include font($font);\n }\n }\n\n /* Curve variants */\n\n &--curve-none {\n font-size: inherit;\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName);\n }\n }\n\n /* Size variants when consumer wants to overwrite predefined font curves */\n\n @each $size, $value in $fontSizes {\n &--size-#{$size} {\n @include fontSize($size);\n }\n }\n\n @each $breakpoint, $size in $breakpoints {\n @each $size, $value in $fontSizes {\n &--size-#{$breakpoint}-#{$size} {\n @include mq($from: $breakpoint) {\n @include fontSize($size);\n }\n }\n }\n }\n}\n\n.stzh-text__text-inner {\n text-overflow: var(--text-overflow, clip);\n white-space: var(--white-space, normal);\n overflow: var(--overflow, visible);\n width: var(--width, initial);\n max-width: var(--max-width, initial);\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for text and icons\n * @slot icon - Slot for icon that should be on left side of the text (not inline)\n */\n@Component({\n tag: \"stzh-text\",\n styleUrl: \"stzh-text.scss\",\n scoped: true,\n})\nexport class StzhText {\n /** Font used */\n @Prop() font: Font.Fonts = \"default\";\n\n /** Type of curve (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves = \"default\";\n\n /** Whether if text is lead text */\n @Prop({ reflect: true }) lead: boolean = false;\n\n /** Color used */\n @Prop({ reflect: true }) color: \"default\" | \"primary\" | \"secondary\" | \"info\" | \"inherit\" = \"default\";\n\n /** Manually overwrite font size applied by curve attribute (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() size: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above small breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeSmall: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above medium breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeMedium: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above large breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeLarge: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above ultra breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeUltra: Font.Sizes | \"inherit\" = \"inherit\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-text\": true,\n \"stzh-text--is-lead\": this.lead,\n [`stzh-text--font-${this.font}`]: !!this.font,\n [`stzh-text--curve-${this.curve}`]: !!this.curve,\n [`stzh-text--size-${this.size}`]: !!this.size,\n [`stzh-text--size-small-${this.sizeSmall}`]: !!this.sizeSmall,\n [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,\n [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,\n [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,\n }}\n >\n <div class=\"stzh-text__text\">\n <div class=\"stzh-text__icon\">\n <slot name=\"icon\"></slot>\n </div>\n <div class=\"stzh-text__text-inner\">\n <slot></slot>\n </div>\n </div>\n </div>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C,IAAI;gBAC7C,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,SAAS,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;gBAC7D,CAAC,CAAA,uBAAA,EAA0B,IAAI,CAAC,UAAU,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU;gBAChE,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,SAAS,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;gBAC7D,CAAC,CAAA,sBAAA,EAAyB,IAAI,CAAC,SAAS,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;AAC9D,aAAA,EAAA,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAA,CAAQ,CACrB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-text/stzh-text.scss?tag=stzh-text&encapsulation=scoped","src/components/stzh-text/stzh-text.tsx"],"sourcesContent":["/**\n * @prop --color: Text color (also `color` can be overwritten)\n * @prop --icon-size: Icon size\n * @prop --icon-vertical-align: Icon vertical alignment\n *\n * @prop --stzh-base-color: **Global**: Text color\n * @prop --stzh-base-lead-color: **Global**: Lead text color\n */\n\n:host {\n --icon-size: 1.25em;\n --icon-vertical-align: text-bottom;\n --color: #{$baseColor};\n --display: var(--stzh-text-display, block);\n\n width: 100%;\n color: var(--color);\n\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumns}\n );\n\n @include mq($from: small) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n ::slotted(*:first-child) {\n margin-top: 0 !important;\n }\n\n ::slotted(*:last-child) {\n margin-bottom: 0 !important;\n }\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n\n @media (hover: none) {\n color: inherit;\n }\n }\n }\n\n ::slotted(b),\n ::slotted(strong),\n ::slotted(* b),\n ::slotted(* strong) {\n @include font(\"heavy\");\n }\n\n ::slotted(i),\n ::slotted(em),\n ::slotted(* i),\n ::slotted(* em) {\n @include font;\n }\n\n &[lead]:not([lead=\"false\"]) {\n --color: #{$baseLeadColor};\n }\n\n &[color=\"primary\"] {\n --color: #{$colorPrimary70};\n }\n\n &[color=\"secondary\"] {\n --color: #{$colorSecondary60};\n }\n\n &[color=\"info\"] {\n --color: #{$textInfoColor};\n }\n\n &[color=\"inherit\"] {\n --color: initial;\n }\n}\n\n.stzh-text {\n --stzh-icon-size: var(--icon-size);\n --stzh-icon-vertical-align: var(--icon-vertical-align);\n\n --stzh-list-font-size: \"\";\n --stzh-list-line-height: \"\";\n --stzh-list-letter-spacing: \"\";\n\n // default font styling without attributes\n @include fontCurve($textFontCurveDefault);\n @include gridGutter;\n display: var(--display);\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n color: var(--color);\n\n &__text {\n grid-area: text;\n display: flex;\n }\n\n &__icon {\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: 0.25em;\n }\n }\n\n &__text-inner {\n flex-grow: 1;\n }\n\n /* Lead variant */\n\n &--is-lead {\n @include font(\"heavy\");\n @include fontCurve(\"lead\", \"lead\");\n }\n\n /* Font variants */\n\n @each $font, $value in $fonts {\n &--font-#{$font} {\n @include font($font);\n }\n }\n\n /* Curve variants */\n\n &--curve-none {\n font-size: inherit;\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName);\n }\n }\n\n /* Size variants when consumer wants to overwrite predefined font curves */\n\n @each $size, $value in $fontSizes {\n &--size-#{$size} {\n @include fontSize($size);\n }\n }\n\n @each $breakpoint, $size in $breakpoints {\n @each $size, $value in $fontSizes {\n &--size-#{$breakpoint}-#{$size} {\n @include mq($from: $breakpoint) {\n @include fontSize($size);\n }\n }\n }\n }\n}\n\n.stzh-text__text-inner {\n text-overflow: var(--text-overflow, clip);\n white-space: var(--white-space, normal);\n overflow: var(--overflow, visible);\n width: var(--width, initial);\n max-width: var(--max-width, initial);\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for text and icons\n * @slot icon - Slot for icon that should be on left side of the text (not inline)\n */\n@Component({\n tag: \"stzh-text\",\n styleUrl: \"stzh-text.scss\",\n scoped: true,\n})\nexport class StzhText {\n /** Font used */\n @Prop() font: Font.Fonts = \"default\";\n\n /** Type of curve (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves = \"default\";\n\n /** Whether if text is lead text */\n @Prop({ reflect: true }) lead: boolean = false;\n\n /** Color used */\n @Prop({ reflect: true }) color: \"default\" | \"primary\" | \"secondary\" | \"info\" | \"inherit\" = \"default\";\n\n /** Manually overwrite font size applied by curve attribute (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() size: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above small breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeSmall: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above medium breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeMedium: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above large breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeLarge: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above ultra breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeUltra: Font.Sizes | \"inherit\" = \"inherit\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-text\": true,\n \"stzh-text--is-lead\": this.lead,\n [`stzh-text--font-${this.font}`]: !!this.font,\n [`stzh-text--curve-${this.curve}`]: !!this.curve,\n [`stzh-text--size-${this.size}`]: !!this.size,\n [`stzh-text--size-small-${this.sizeSmall}`]: !!this.sizeSmall,\n [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,\n [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,\n [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,\n }}\n >\n <div class=\"stzh-text__text\">\n <div class=\"stzh-text__icon\">\n <slot name=\"icon\"></slot>\n </div>\n <div class=\"stzh-text__text-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,9 +1,9 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-BBg6OWDc.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DqjRJcEM.js';
2
2
  import { a as hasDefaultSlotContent, h as hasSlot } from './p-DBHUqFOB.js';
3
- import { S as StzhInputDescription } from './p-BmG3hFM8.js';
4
- import { d as defineCustomElement$3 } from './p-CRo_30JG.js';
5
- import { d as defineCustomElement$2 } from './p-DT0ux3Yn.js';
6
- import { d as defineCustomElement$1 } from './p-4Vt8Vqot.js';
3
+ import { S as StzhInputDescription } from './p-CbIALTef.js';
4
+ import { d as defineCustomElement$3 } from './p-mPSUVIkD.js';
5
+ import { d as defineCustomElement$2 } from './p-Bi0j3C9E.js';
6
+ import { d as defineCustomElement$1 } from './p-CIG3atcV.js';
7
7
 
8
8
  const stzhRadioCss = () => `.sc-stzh-radio-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-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::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-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(
9
9
  --stzh-radio-label-hover-checked-color,
@@ -163,11 +163,11 @@ const StzhRadio = /*@__PURE__*/ proxyCustomElement(class StzhRadio extends H {
163
163
  "stzh-radio--is-invalid": this.invalid || errorUsed,
164
164
  "stzh-radio--is-disabled": this.disabled,
165
165
  };
166
- return (h(Host, { key: 'cc1cdf3e2146ff465b612c7ca987ecfa94bd1fc3', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '16caff63681acb3dbe16d7c4d68c9783229af19e', class: classes }, labelWrapperUsed && (h("label", { key: 'd1c6f4593a3d5a79d311cd2970ed49e9e0109f35', class: "stzh-radio__field-wrapper" }, h("input", { key: '8b8aac42f4e53f32728e97b393f289c0aa28b9ea', class: "stzh-radio__input", ref: el => (this.input = el), type: "radio", id: this.inputId, name: this.name, value: String(this.value), disabled: this.disabled, "aria-describedby": `${this.inputId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid ? "true" : "false", checked: this.checked, defaultChecked: this.defaultChecked, onInput: this.onInput, onFocus: this.onFocus, onBlur: this.onBlur }), h("div", { key: '9db48703b9f360cf4965e556e5928fb07ac6ba8e', class: "stzh-radio__mark" }, h("div", { key: '85b46892882617eb783436d2691d1e3c243560c8', class: "stzh-radio__check" })), h("div", { key: 'ad4944283ca6a5d622a95810253dbe23827ef437', class: "stzh-radio__label" }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: 'b925096f24db80a9e145c8b1d4efd5e5f998c0b5', class: "stzh-radio__marker" }, h("span", { key: '8c7115b913be26988b593db69e6bc14a932c2af5', class: "stzh-radio__marker-symbol", "aria-hidden": "true" }, this.required
166
+ return (h(Host, { key: '6bd9ef10b3300e578fefe4ff653cf978816cf1c4', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'ebea8d7aba9224f046d56555098b282102ec0929', class: classes }, labelWrapperUsed && (h("label", { key: 'cdd4030cff6fd5cff42edf529971e5ef07265db0', class: "stzh-radio__field-wrapper" }, h("input", { key: '6c7d1137b279447f1c6ae8b27460c843c7003af2', class: "stzh-radio__input", ref: el => (this.input = el), type: "radio", id: this.inputId, name: this.name, value: String(this.value), disabled: this.disabled, "aria-describedby": `${this.inputId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid ? "true" : "false", checked: this.checked, defaultChecked: this.defaultChecked, onInput: this.onInput, onFocus: this.onFocus, onBlur: this.onBlur }), h("div", { key: 'c8509edd66148d8ac08321eb7697606d7c463167', class: "stzh-radio__mark" }, h("div", { key: '05ec9e5169f45e097eeac2738f37d971e2c0558a', class: "stzh-radio__check" })), h("div", { key: '1920c1b97402a54aa3d96fde0b90450fdeeccecc', class: "stzh-radio__label" }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: 'ceb36dd822f2270408df3d7febb1f11b18fc46f4', class: "stzh-radio__marker" }, h("span", { key: 'b9488232d4807504c0f17a968777071dcf40d6a6', class: "stzh-radio__marker-symbol", "aria-hidden": "true" }, this.required
167
167
  ? this.localization.$globals.requiredFieldMarker
168
- : this.localization.$globals.optionalFieldMarker), h("span", { key: 'e92d6e5758f0d6d0cbe1140338db427846c5a172', class: "stzh-radio__marker-text" }, this.required
168
+ : this.localization.$globals.optionalFieldMarker), h("span", { key: '2995c8fcfdc07aa29c760b2e3faf9c7332a962f5', class: "stzh-radio__marker-text" }, this.required
169
169
  ? this.localization.$globals.requiredFieldText
170
- : this.localization.$globals.optionalFieldText))), descriptionLongUsed && (h(StzhInputDescription, { key: 'e69652a157df0c226c3d592045baf3e63f64c995', classPrefix: "stzh-radio", id: `${this.inputId}-description-long`, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: true, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false }))))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '5918bcc3a41885efa965606f08cfa7790bde0db8', classPrefix: "stzh-radio", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
170
+ : this.localization.$globals.optionalFieldText))), descriptionLongUsed && (h(StzhInputDescription, { key: 'a6b974712e0875863f2a3815b8c92c9e873ea006', classPrefix: "stzh-radio", id: `${this.inputId}-description-long`, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: true, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false }))))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '73568d8f39d6f583916a427c4b25e914a4d38e3a', classPrefix: "stzh-radio", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
171
171
  }
172
172
  get element() { return this; }
173
173
  static get watchers() { return {
@@ -225,6 +225,6 @@ function defineCustomElement() {
225
225
  }
226
226
 
227
227
  export { StzhRadio as S, defineCustomElement as d };
228
- //# sourceMappingURL=p-EWvxAi6Y.js.map
228
+ //# sourceMappingURL=p-CJgyNq5X.js.map
229
229
 
230
- //# sourceMappingURL=p-EWvxAi6Y.js.map
230
+ //# sourceMappingURL=p-CJgyNq5X.js.map
@@ -1 +1 @@
1
- {"file":"p-EWvxAi6Y.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA;AACA,g1PAAg1P,CAAC;;ACMj1P,IAAI,YAAY,GAAG,CAAC;MAcP,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IA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","HTMLElement"],"sources":["src/components/stzh-radio/stzh-radio.scss?tag=stzh-radio&encapsulation=scoped","src/components/stzh-radio/stzh-radio.tsx"],"sourcesContent":[":host {\n --label-color: var(--stzh-radio-label-color, #{$baseColor});\n --label-hover-color: var(--stzh-radio-label-hover-color, #{$colorPrimary70});\n --label-hover-checked-color: var(\n --stzh-radio-label-hover-checked-color,\n #{$colorPrimary90}\n );\n --check-color: var(--stzh-radio-check-color, #{$colorPrimary70});\n --invalid-color: var(--stzh-radio-invalid-color, #{$colorError60});\n --disabled-color: var(--stzh-radio-disabled-color, #{$colorGrey50});\n\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radio {\n @include input-description;\n display: grid;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n @include radio__mark();\n }\n\n &__check {\n @include radio__check($color: $colorPrimary70);\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-flex;\n align-items: center;\n gap: space(\"xsmall\");\n color: var(--label-color);\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space(\"small\");\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__label-text {\n min-width: 0;\n }\n\n &__label > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__error,\n &__label &__description-text {\n display: none;\n }\n\n &__label &__description,\n &__label &__description-long {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n line-height: 1;\n }\n\n &__label stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n &__label-slot {\n display: block;\n }\n\n &__label-slot stzh-text {\n display: block;\n }\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked ~ &__label {\n color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark &__check {\n color: var(--label-hover-checked-color);\n }\n\n &__input:checked:hover ~ &__mark &__check {\n @media (forced-colors: active) {\n color: Highlight;\n }\n }\n\n &:hover &__mark,\n &__input:checked ~ &__mark {\n border-color: var(--label-hover-color);\n\n @media (forced-colors: active) {\n border-color: Highlight;\n }\n }\n\n &__input:checked:hover ~ &__mark {\n border-color: var(--label-hover-checked-color);\n\n @media (forced-colors: active) {\n border-color: Highlight;\n }\n }\n\n &__input:checked ~ &__mark &__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark &__check {\n @media (forced-colors: none) {\n color: var(--invalid-color);\n }\n }\n\n &--is-invalid &__input ~ &__mark {\n @media (forced-colors: none) {\n border-color: var(--invalid-color);\n }\n }\n\n /* Disabled */\n\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $colorGrey60;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark {\n border-color: var(--disabled-color);\n background-color: $colorGrey20;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark &__check {\n color: var(--disabled-color);\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Prop, Watch, State } from \"@stencil/core\";\n\nimport { StzhRadioBlurEvent, StzhRadioChangeEvent, StzhRadioFocusEvent, StzhRadioValue } from \"../../index\";\n\nimport { hasDefaultSlotContent, hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet radioCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radio\",\n styleUrl: \"stzh-radio.scss\",\n scoped: true,\n})\nexport class StzhRadio {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element. Note that boolean values only work with property binding (not with attribute binding). */\n @Prop({ mutable: true }) value: StzhRadioValue = \"\";\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 /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the radio button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Input change event */\n @Event() stzhChange: EventEmitter<StzhRadioChangeEvent>;\n\n /** Input focus event */\n @Event() stzhFocus: EventEmitter<StzhRadioFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhRadioBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n /**\n * Whether the component has meaningful default-slot content.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasDefaultSlot: boolean = false;\n\n /**\n * Indicates whether default-slot content detection has run at least once.\n * Used to avoid rendering state-dependent markup before the slot content\n * has been evaluated.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-radio\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-radio\",\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-radio\",\n originalEvent: event,\n });\n };\n\n /**\n * Re-evaluates default-slot content and updates the related render state.\n * Becomes obsolete with implementation of PDESI-1908.\n */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = hasDefaultSlotContent(this.element, [\"stzh-radio\"]);\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-radio-${radioCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radio\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-radio\": true,\n \"stzh-radio--has-description\": descriptionUsed,\n \"stzh-radio--has-description-long\": descriptionLongUsed,\n \"stzh-radio--has-error\": errorUsed,\n \"stzh-radio--is-required\": this.required,\n \"stzh-radio--is-invalid\": this.invalid || errorUsed,\n \"stzh-radio--is-disabled\": this.disabled,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {labelWrapperUsed && (\n <label class=\"stzh-radio__field-wrapper\">\n <input\n class=\"stzh-radio__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n id={this.inputId}\n name={this.name}\n value={String(this.value)}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-radio__mark\">\n <div class=\"stzh-radio__check\"></div>\n </div>\n\n <div class=\"stzh-radio__label\">\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-radio__marker\">\n <span class=\"stzh-radio__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radio__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-radio\"\n id={`${this.inputId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={true}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n </label>\n )}\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-radio\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CJgyNq5X.js","mappings":";;;;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA;AACA,g1PAAg1P,CAAC;;ACMj1P,IAAI,YAAY,GAAG,CAAC;MAcP,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AALtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAI,CAAA,I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"sources":["src/components/stzh-radio/stzh-radio.scss?tag=stzh-radio&encapsulation=scoped","src/components/stzh-radio/stzh-radio.tsx"],"sourcesContent":[":host {\n --label-color: var(--stzh-radio-label-color, #{$baseColor});\n --label-hover-color: var(--stzh-radio-label-hover-color, #{$colorPrimary70});\n --label-hover-checked-color: var(\n --stzh-radio-label-hover-checked-color,\n #{$colorPrimary90}\n );\n --check-color: var(--stzh-radio-check-color, #{$colorPrimary70});\n --invalid-color: var(--stzh-radio-invalid-color, #{$colorError60});\n --disabled-color: var(--stzh-radio-disabled-color, #{$colorGrey50});\n\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radio {\n @include input-description;\n display: grid;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n @include radio__mark();\n }\n\n &__check {\n @include radio__check($color: $colorPrimary70);\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-flex;\n align-items: center;\n gap: space(\"xsmall\");\n color: var(--label-color);\n transition: color $baseTransitionAnimationSpeed;\n margin-left: space(\"small\");\n line-height: 24px;\n\n &:empty {\n display: none;\n }\n }\n\n &__label-text {\n min-width: 0;\n }\n\n &__label > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__error,\n &__label &__description-text {\n display: none;\n }\n\n &__label &__description,\n &__label &__description-long {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n line-height: 1;\n }\n\n &__label stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n &__label-slot {\n display: block;\n }\n\n &__label-slot stzh-text {\n display: block;\n }\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &:hover &__label,\n &__input:checked ~ &__label {\n color: var(--label-hover-color);\n }\n\n &__input:checked:hover ~ &__label,\n &__input:checked:hover ~ &__mark &__check {\n color: var(--label-hover-checked-color);\n }\n\n &__input:checked:hover ~ &__mark &__check {\n @media (forced-colors: active) {\n color: Highlight;\n }\n }\n\n &:hover &__mark,\n &__input:checked ~ &__mark {\n border-color: var(--label-hover-color);\n\n @media (forced-colors: active) {\n border-color: Highlight;\n }\n }\n\n &__input:checked:hover ~ &__mark {\n border-color: var(--label-hover-checked-color);\n\n @media (forced-colors: active) {\n border-color: Highlight;\n }\n }\n\n &__input:checked ~ &__mark &__check {\n opacity: 1;\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label,\n &--is-invalid &__input ~ &__mark &__check {\n @media (forced-colors: none) {\n color: var(--invalid-color);\n }\n }\n\n &--is-invalid &__input ~ &__mark {\n @media (forced-colors: none) {\n border-color: var(--invalid-color);\n }\n }\n\n /* Disabled */\n\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $colorGrey60;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark {\n border-color: var(--disabled-color);\n background-color: $colorGrey20;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark &__check {\n color: var(--disabled-color);\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, Prop, Watch, State } from \"@stencil/core\";\n\nimport { StzhRadioBlurEvent, StzhRadioChangeEvent, StzhRadioFocusEvent, StzhRadioValue } from \"../../index\";\n\nimport { hasDefaultSlotContent, hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet radioCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radio\",\n styleUrl: \"stzh-radio.scss\",\n scoped: true,\n})\nexport class StzhRadio {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element. Note that boolean values only work with property binding (not with attribute binding). */\n @Prop({ mutable: true }) value: StzhRadioValue = \"\";\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 /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the radio button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Input change event */\n @Event() stzhChange: EventEmitter<StzhRadioChangeEvent>;\n\n /** Input focus event */\n @Event() stzhFocus: EventEmitter<StzhRadioFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhRadioBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n /**\n * Whether the component has meaningful default-slot content.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasDefaultSlot: boolean = false;\n\n /**\n * Indicates whether default-slot content detection has run at least once.\n * Used to avoid rendering state-dependent markup before the slot content\n * has been evaluated.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-radio\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-radio\",\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-radio\",\n originalEvent: event,\n });\n };\n\n /**\n * Re-evaluates default-slot content and updates the related render state.\n * Becomes obsolete with implementation of PDESI-1908.\n */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = hasDefaultSlotContent(this.element, [\"stzh-radio\"]);\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-radio-${radioCounter++}`;\n this.errorWatcher(this.error);\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radio\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-radio\": true,\n \"stzh-radio--has-description\": descriptionUsed,\n \"stzh-radio--has-description-long\": descriptionLongUsed,\n \"stzh-radio--has-error\": errorUsed,\n \"stzh-radio--is-required\": this.required,\n \"stzh-radio--is-invalid\": this.invalid || errorUsed,\n \"stzh-radio--is-disabled\": this.disabled,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {labelWrapperUsed && (\n <label class=\"stzh-radio__field-wrapper\">\n <input\n class=\"stzh-radio__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n id={this.inputId}\n name={this.name}\n value={String(this.value)}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-radio__mark\">\n <div class=\"stzh-radio__check\"></div>\n </div>\n\n <div class=\"stzh-radio__label\">\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-radio__marker\">\n <span class=\"stzh-radio__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radio__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-radio\"\n id={`${this.inputId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={true}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n </label>\n )}\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-radio\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,11 +1,11 @@
1
- import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-BBg6OWDc.js';
2
- import { d as defineCustomElement$7 } from './p-DEfzwFSm.js';
3
- import { d as defineCustomElement$6 } from './p-BK6Q89R0.js';
4
- import { d as defineCustomElement$5 } from './p-BdtE_fpY.js';
5
- import { d as defineCustomElement$4 } from './p-CRo_30JG.js';
6
- import { d as defineCustomElement$3 } from './p-B44NYxqN.js';
7
- import { d as defineCustomElement$2 } from './p-DT0ux3Yn.js';
8
- import { d as defineCustomElement$1 } from './p-4Vt8Vqot.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 { d as defineCustomElement$7 } from './p-Dn7rMHvA.js';
3
+ import { d as defineCustomElement$6 } from './p-CrQrHbCR.js';
4
+ import { d as defineCustomElement$5 } from './p-D-Yirlnl.js';
5
+ import { d as defineCustomElement$4 } from './p-mPSUVIkD.js';
6
+ import { d as defineCustomElement$3 } from './p-DhDUHSh7.js';
7
+ import { d as defineCustomElement$2 } from './p-Bi0j3C9E.js';
8
+ import { d as defineCustomElement$1 } from './p-CIG3atcV.js';
9
9
 
10
10
  const stzhPaginationCss = () => `.sc-stzh-pagination-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-pagination-h,[stzh-hidden].sc-stzh-pagination-h{display:none}.sc-stzh-pagination-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pagination-h *.sc-stzh-pagination,.sc-stzh-pagination-h *.sc-stzh-pagination::before,.sc-stzh-pagination-h *.sc-stzh-pagination::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-pagination-h .has-focus.sc-stzh-pagination{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-pagination-h .stzh-fylingfocus-focused.sc-stzh-pagination{outline-style:none !important}.sc-stzh-pagination-h .stzh-fylingfocus-focused.sc-stzh-pagination::-moz-focus-inner{border:0 !important}.sc-stzh-pagination-h{--justify-content:inherit;--padding-left:calc(var(--stzh-form-input-height) + var(--stzh-space-medium))}.stzh-pagination.sc-stzh-pagination{position:relative;display:flex;align-items:center;gap:var(--stzh-space-medium);padding-left:var(--padding-left);justify-content:var(--justify-content)}.stzh-pagination__input.sc-stzh-pagination{--text-align:center;--input-width:var(--stzh-form-input-height);--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;position:absolute;top:0;left:0}.stzh-pagination__total.sc-stzh-pagination{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);color:var(--stzh-color-grey70)}.stzh-pagination--size-small.sc-stzh-pagination{padding-left:calc(var(--stzh-form-input-small-height) + var(--stzh-space-medium))}.stzh-pagination--size-small.sc-stzh-pagination .stzh-pagination__input.sc-stzh-pagination{--input-width:var(--stzh-form-input-small-height)}`;
11
11
 
@@ -87,7 +87,7 @@ const StzhPagination = /*@__PURE__*/ proxyCustomElement(class StzhPagination ext
87
87
  "stzh-pagination": true,
88
88
  [`stzh-pagination--size-${this.size}`]: !!this.size,
89
89
  };
90
- return (h(Host, { key: 'a6f75265358d0e9528f3fa9e8f40253bd6d8bfaf', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '3cfd1d801e448d12520653767d619c2d9482368d', class: classes }, this.allowManualInput ? (h(Fragment, null, h("stzh-input", { class: "stzh-pagination__input", type: "number", min: 1, max: this.total, label: this.label || this.localization.label, labelHidden: true, ref: el => (this.input = el), onStzhChange: this.onInputChange, value: ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) || "", required: this.required, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, a11yDescribedby: this.a11yDescribedby, name: this.name, size: this.size, invalid: this.invalid, hideOptional: true, noAutocomplete: true }), h("div", { class: "stzh-pagination__total" }, this.localization.totalLabel.replace(/\{total\}/gi, this.total.toString())))) : (h("div", { class: "stzh-pagination__total" }, this.value, " ", this.localization.totalLabel.replace(/\{total\}/gi, this.total.toString()))), h("stzh-buttongroup", { key: 'e5ef6d8efa713aaa9e68e06fe6a6090eea7ade51' }, h("stzh-button", { key: '6cfd548163f9ef85ba998f3155f12ece9b41b27e', variant: "tertiary", icon: "angle-left", "icon-only": true, size: this.size, a11yDisabled: this.value <= 1, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label || this.localization.label}, ${this.localization.prevLabel}, ${this.localization.selectedPageLabel} ${this.value}`, disabled: this.disabled, onClick: () => this.prev() }), h("stzh-button", { key: '1788d6d7395903032fea2e7556ba29e4c701e425', variant: "tertiary", icon: "angle-right", "icon-only": true, size: this.size, a11yDisabled: this.value >= this.total, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label || this.localization.label}, ${this.localization.nextLabel}, ${this.localization.selectedPageLabel} ${this.value}`, disabled: this.disabled, onClick: () => this.next() })))));
90
+ return (h(Host, { key: 'c96bb076a8efad512d90319af275ecef18375c62', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'ee505d4f5672e5bf03cdf360dedad66e2b465f19', class: classes }, this.allowManualInput ? (h(Fragment, null, h("stzh-input", { class: "stzh-pagination__input", type: "number", min: 1, max: this.total, label: this.label || this.localization.label, labelHidden: true, ref: el => (this.input = el), onStzhChange: this.onInputChange, value: ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString()) || "", required: this.required, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, a11yDescribedby: this.a11yDescribedby, name: this.name, size: this.size, invalid: this.invalid, hideOptional: true, noAutocomplete: true }), h("div", { class: "stzh-pagination__total" }, this.localization.totalLabel.replace(/\{total\}/gi, this.total.toString())))) : (h("div", { class: "stzh-pagination__total" }, this.value, " ", this.localization.totalLabel.replace(/\{total\}/gi, this.total.toString()))), h("stzh-buttongroup", { key: 'ecd3781f378ecf11bfa0a772e0d32922af3bda7b' }, h("stzh-button", { key: '128b04fd667d1a3f52b5a78c0d05849da3bd1fbb', variant: "tertiary", icon: "angle-left", "icon-only": true, size: this.size, a11yDisabled: this.value <= 1, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label || this.localization.label}, ${this.localization.prevLabel}, ${this.localization.selectedPageLabel} ${this.value}`, disabled: this.disabled, onClick: () => this.prev() }), h("stzh-button", { key: 'ee96341a6dda021fba99cc25d6e817db792b54d6', variant: "tertiary", icon: "angle-right", "icon-only": true, size: this.size, a11yDisabled: this.value >= this.total, a11yDescribedby: this.a11yDescribedby, a11yLabel: `${this.label || this.localization.label}, ${this.localization.nextLabel}, ${this.localization.selectedPageLabel} ${this.value}`, disabled: this.disabled, onClick: () => this.next() })))));
91
91
  }
92
92
  get element() { return this; }
93
93
  static get style() { return stzhPaginationCss(); }
@@ -161,6 +161,6 @@ function defineCustomElement() {
161
161
  }
162
162
 
163
163
  export { StzhPagination as S, defineCustomElement as d };
164
- //# sourceMappingURL=p-KKaagY0f.js.map
164
+ //# sourceMappingURL=p-CSdlcHhO.js.map
165
165
 
166
- //# sourceMappingURL=p-KKaagY0f.js.map
166
+ //# sourceMappingURL=p-CSdlcHhO.js.map
@@ -1 +1 @@
1
- {"file":"p-KKaagY0f.js","mappings":";;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,umEAAumE,CAAC;;MCa5nE,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;AAL3B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;;AAGA,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;;AAGlC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAGX,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAgB,CAAA,gBAAA,GAAY,IAAI;;AAYhC,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAA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AC,iBACpB,CAAI,CAAA,EAAA,IAAI,CAAC,KAAK,CAAE,CAAA,EAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EACb,CAAA,EACf,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,aAAa,EAAA,WAAA,EAAA,IAAA,EAElB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,EACtC,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,SAAS,EAAE,CAAA,EAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAK,EAAA,EAAA,IAAI,CAAC,YAAY,CAAC,SAAS,CACjF,EAAA,EAAA,IAAI,CAAC,YAAY,CAAC,iBACpB,CAAA,CAAA,EAAI,IAAI,CAAC,KAAK,CAAA,CAAE,EAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EAAA,CACb,CACE,CACf,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-pagination/stzh-pagination.scss?tag=stzh-pagination&encapsulation=scoped","src/components/stzh-pagination/stzh-pagination.tsx"],"sourcesContent":[":host {\n --justify-content: inherit;\n --padding-left: calc(#{$formInputHeight} + #{space(\"medium\")});\n}\n\n.stzh-pagination {\n position: relative;\n display: flex;\n align-items: center;\n gap: space(\"medium\");\n padding-left: var(--padding-left);\n justify-content: var(--justify-content);\n\n &__input {\n --text-align: center;\n --input-width: #{$formInputHeight};\n --padding-top: 0px;\n --padding-bottom: 0px;\n --padding-left: 0px;\n --padding-right: 0px;\n\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &__total {\n @include fontSize(\"nano\");\n color: $colorGrey70;\n }\n\n &--size-small {\n padding-left: calc(#{$formInputHeightSmall} + #{space(\"medium\")});\n }\n\n &--size-small &__input {\n --input-width: #{$formInputHeightSmall};\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhInputChangeEvent, StzhPaginationChangeEvent } from \"../../index\";\n\nimport { StzhPaginationLocalizedText } from \"./stzh-pagination.localization\";\n\n/**\n */\n@Component({\n tag: \"stzh-pagination\",\n styleUrl: \"stzh-pagination.scss\",\n scoped: true,\n})\nexport class StzhPagination {\n /** Total pages available. */\n @Prop() total: number = 1;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Current page. */\n @Prop({ mutable: true }) value: number = 1;\n\n /** Label for dropdown */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the current page is mutable via input */\n @Prop({ reflect: true }) allowManualInput: boolean = true;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Translation strings. */\n @Prop() localization: StzhPaginationLocalizedText;\n\n /** Pagination change event */\n @Event() stzhChange: EventEmitter<StzhPaginationChangeEvent>;\n\n @Element() element: HTMLStzhPaginationElement;\n\n /** Set current page to previous */\n @Method()\n async prev() {\n this.gotoPage(this.value - 1);\n }\n\n /** Set current page to next */\n @Method()\n async next() {\n this.gotoPage(this.value + 1);\n }\n\n private input: HTMLStzhInputElement;\n\n private gotoPage = (newPage: number) => {\n const previous = this.value;\n\n if (newPage >= 1 && newPage <= this.total) {\n this.value = newPage;\n } else if (newPage > this.total) {\n this.value = this.total;\n } else {\n this.value = 1;\n }\n\n if (previous !== this.value) {\n this.stzhChange.emit({\n component: \"stzh-pagination\",\n page: Number(this.value),\n });\n }\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n const newPage = Number(event.detail.value) || 1;\n this.gotoPage(newPage);\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"pagination\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-pagination\": true,\n [`stzh-pagination--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.allowManualInput ? (\n <Fragment>\n <stzh-input\n class=\"stzh-pagination__input\"\n type=\"number\"\n min={1}\n max={this.total}\n label={this.label || this.localization.label}\n labelHidden={true}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n onStzhChange={this.onInputChange}\n value={this.value?.toString() || \"\"}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n invalid={this.invalid}\n hideOptional={true}\n noAutocomplete={true}\n ></stzh-input>\n <div class=\"stzh-pagination__total\">\n {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n </Fragment>\n ) : (\n <div class=\"stzh-pagination__total\">\n {this.value} {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n )}\n <stzh-buttongroup>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-left\"\n icon-only\n size={this.size}\n a11yDisabled={this.value <= 1}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.prevLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.prev()}\n ></stzh-button>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-right\"\n icon-only\n size={this.size}\n a11yDisabled={this.value >= this.total}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.nextLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.next()}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-CSdlcHhO.js","mappings":";;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,MAAM,CAAC,umEAAumE,CAAC;;MCa5nE,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;AAL3B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;;AAGA,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;;AAGlC,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK;;AAGX,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAgB,CAAA,gBAAA,GAAY,IAAI;;AAYhC,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAI,CAAA,IAAA,GA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Q,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EACb,CAAA,EACf,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,aAAa,EAAA,WAAA,EAAA,IAAA,EAElB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,YAAY,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,EACtC,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,SAAS,EAAE,CAAA,EAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,CAAK,EAAA,EAAA,IAAI,CAAC,YAAY,CAAC,SAAS,CACjF,EAAA,EAAA,IAAI,CAAC,YAAY,CAAC,iBACpB,CAAA,CAAA,EAAI,IAAI,CAAC,KAAK,CAAA,CAAE,EAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,EAAE,EAAA,CACb,CACE,CACf,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-pagination/stzh-pagination.scss?tag=stzh-pagination&encapsulation=scoped","src/components/stzh-pagination/stzh-pagination.tsx"],"sourcesContent":[":host {\n --justify-content: inherit;\n --padding-left: calc(#{$formInputHeight} + #{space(\"medium\")});\n}\n\n.stzh-pagination {\n position: relative;\n display: flex;\n align-items: center;\n gap: space(\"medium\");\n padding-left: var(--padding-left);\n justify-content: var(--justify-content);\n\n &__input {\n --text-align: center;\n --input-width: #{$formInputHeight};\n --padding-top: 0px;\n --padding-bottom: 0px;\n --padding-left: 0px;\n --padding-right: 0px;\n\n position: absolute;\n top: 0;\n left: 0;\n }\n\n &__total {\n @include fontSize(\"nano\");\n color: $colorGrey70;\n }\n\n &--size-small {\n padding-left: calc(#{$formInputHeightSmall} + #{space(\"medium\")});\n }\n\n &--size-small &__input {\n --input-width: #{$formInputHeightSmall};\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhInputChangeEvent, StzhPaginationChangeEvent } from \"../../index\";\n\nimport { StzhPaginationLocalizedText } from \"./stzh-pagination.localization\";\n\n/**\n */\n@Component({\n tag: \"stzh-pagination\",\n styleUrl: \"stzh-pagination.scss\",\n scoped: true,\n})\nexport class StzhPagination {\n /** Total pages available. */\n @Prop() total: number = 1;\n\n /** Name of the hidden date picker input. */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Current page. */\n @Prop({ mutable: true }) value: number = 1;\n\n /** Label for dropdown */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Whether the element is readonly or not */\n @Prop({ reflect: true }) readonly: boolean = false;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the current page is mutable via input */\n @Prop({ reflect: true }) allowManualInput: boolean = true;\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Translation strings. */\n @Prop() localization: StzhPaginationLocalizedText;\n\n /** Pagination change event */\n @Event() stzhChange: EventEmitter<StzhPaginationChangeEvent>;\n\n @Element() element: HTMLStzhPaginationElement;\n\n /** Set current page to previous */\n @Method()\n async prev() {\n this.gotoPage(this.value - 1);\n }\n\n /** Set current page to next */\n @Method()\n async next() {\n this.gotoPage(this.value + 1);\n }\n\n private input: HTMLStzhInputElement;\n\n private gotoPage = (newPage: number) => {\n const previous = this.value;\n\n if (newPage >= 1 && newPage <= this.total) {\n this.value = newPage;\n } else if (newPage > this.total) {\n this.value = this.total;\n } else {\n this.value = 1;\n }\n\n if (previous !== this.value) {\n this.stzhChange.emit({\n component: \"stzh-pagination\",\n page: Number(this.value),\n });\n }\n };\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n private onInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n const newPage = Number(event.detail.value) || 1;\n this.gotoPage(newPage);\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"pagination\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-pagination\": true,\n [`stzh-pagination--size-${this.size}`]: !!this.size,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {this.allowManualInput ? (\n <Fragment>\n <stzh-input\n class=\"stzh-pagination__input\"\n type=\"number\"\n min={1}\n max={this.total}\n label={this.label || this.localization.label}\n labelHidden={true}\n ref={el => (this.input = el as HTMLStzhInputElement)}\n onStzhChange={this.onInputChange}\n value={this.value?.toString() || \"\"}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n invalid={this.invalid}\n hideOptional={true}\n noAutocomplete={true}\n ></stzh-input>\n <div class=\"stzh-pagination__total\">\n {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n </Fragment>\n ) : (\n <div class=\"stzh-pagination__total\">\n {this.value} {this.localization.totalLabel.replace(/\\{total\\}/gi, this.total.toString())}\n </div>\n )}\n <stzh-buttongroup>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-left\"\n icon-only\n size={this.size}\n a11yDisabled={this.value <= 1}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.prevLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.prev()}\n ></stzh-button>\n <stzh-button\n variant=\"tertiary\"\n icon=\"angle-right\"\n icon-only\n size={this.size}\n a11yDisabled={this.value >= this.total}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label || this.localization.label}, ${this.localization.nextLabel}, ${\n this.localization.selectedPageLabel\n } ${this.value}`}\n disabled={this.disabled}\n onClick={() => this.next()}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}