@oiz/stzh-components 2.4.0 → 2.5.0-alpha-carousel

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 (346) hide show
  1. package/dist/cjs/app-globals-d7bd37fe.js +889 -0
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-actions.cjs.entry.js +3 -1
  4. package/dist/cjs/stzh-actionset.cjs.entry.js +11 -6
  5. package/dist/cjs/stzh-appnav.cjs.entry.js +3 -1
  6. package/dist/cjs/stzh-badge_3.cjs.entry.js +12 -7
  7. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-card_3.cjs.entry.js +19 -11
  9. package/dist/cjs/stzh-carousel.cjs.entry.js +522 -0
  10. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -1
  11. package/dist/cjs/stzh-chip_2.cjs.entry.js +82 -5
  12. package/dist/cjs/stzh-components.cjs.js +2 -2
  13. package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-datatable.cjs.entry.js +15 -3
  15. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -1
  16. package/dist/cjs/stzh-dialog.cjs.entry.js +16 -13
  17. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-footer.cjs.entry.js +3 -1
  19. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -1
  20. package/dist/cjs/stzh-header.cjs.entry.js +32 -27
  21. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-input.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-link.cjs.entry.js +6 -2
  25. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  27. package/dist/cjs/stzh-metanav.cjs.entry.js +3 -1
  28. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +3 -1
  30. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +4 -2
  31. package/dist/cjs/stzh-pagetitle.cjs.entry.js +3 -1
  32. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
  35. package/dist/cjs/stzh-sortable.cjs.entry.js +4 -2
  36. package/dist/cjs/stzh-space.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-sticky.cjs.entry.js +3 -1
  38. package/dist/cjs/stzh-table.cjs.entry.js +14 -4
  39. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  40. package/dist/collection/assets/i18n/de.json +8 -0
  41. package/dist/collection/assets/i18n/en.json +8 -0
  42. package/dist/collection/collection-manifest.json +1 -0
  43. package/dist/collection/components/stzh-actions/stzh-actions.js +3 -1
  44. package/dist/collection/components/stzh-actionset/stzh-actionset.js +11 -33
  45. package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -1
  46. package/dist/collection/components/stzh-button/stzh-button.css +5 -1
  47. package/dist/collection/components/stzh-button/stzh-button.js +45 -6
  48. package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -1
  49. package/dist/collection/components/stzh-card/stzh-card.css +33 -8
  50. package/dist/collection/components/stzh-card/stzh-card.js +35 -36
  51. package/dist/collection/components/stzh-carousel/stzh-carousel.css +253 -0
  52. package/dist/collection/components/stzh-carousel/stzh-carousel.js +966 -0
  53. package/dist/collection/components/stzh-carousel/stzh-carousel.localization.js +1 -0
  54. package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +138 -0
  55. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -1
  56. package/dist/collection/components/stzh-chip/stzh-chip.css +17 -15
  57. package/dist/collection/components/stzh-chip/stzh-chip.js +2 -1
  58. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +1 -1
  59. package/dist/collection/components/stzh-clamp/stzh-clamp.css +46 -160
  60. package/dist/collection/components/stzh-clamp/stzh-clamp.js +218 -8
  61. package/dist/collection/components/stzh-clamp/stzh-clamp.localization.js +1 -0
  62. package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +1 -1
  63. package/dist/collection/components/stzh-datalist/stzh-datalist.js +18 -18
  64. package/dist/collection/components/stzh-datatable/stzh-datatable.js +15 -12
  65. package/dist/collection/components/stzh-dialog/stzh-dialog.css +2 -2
  66. package/dist/collection/components/stzh-dialog/stzh-dialog.js +15 -12
  67. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +1 -1
  68. package/dist/collection/components/stzh-footer/stzh-footer.js +3 -1
  69. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +3 -1
  70. package/dist/collection/components/stzh-header/stzh-header.js +32 -45
  71. package/dist/collection/components/stzh-hspace/stzh-hspace.css +4 -0
  72. package/dist/collection/components/stzh-input/stzh-input.css +1 -1
  73. package/dist/collection/components/stzh-invert/stzh-invert.css +3 -3
  74. package/dist/collection/components/stzh-link/stzh-link.js +40 -2
  75. package/dist/collection/components/stzh-loader/stzh-loader.css +4 -4
  76. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +27 -27
  77. package/dist/collection/components/stzh-metanav/stzh-metanav.js +3 -1
  78. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  79. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +3 -1
  80. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +3 -1
  81. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +3 -3
  82. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +3 -1
  83. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -3
  84. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +6 -6
  85. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -1
  86. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +3 -1
  87. package/dist/collection/components/stzh-sortable/stzh-sortable.css +1 -1
  88. package/dist/collection/components/stzh-sortable/stzh-sortable.js +3 -1
  89. package/dist/collection/components/stzh-space/stzh-space.css +4 -0
  90. package/dist/collection/components/stzh-sticky/stzh-sticky.js +3 -1
  91. package/dist/collection/components/stzh-table/stzh-table.js +14 -13
  92. package/dist/collection/components/stzh-vspace/stzh-vspace.css +4 -0
  93. package/dist/collection/global/js/script.js +2 -0
  94. package/dist/components/index.d.ts +1 -0
  95. package/dist/components/index.js +835 -1
  96. package/dist/components/stzh-actions.js +3 -1
  97. package/dist/components/stzh-actionset2.js +12 -7
  98. package/dist/components/stzh-appnav.js +3 -1
  99. package/dist/components/stzh-button2.js +14 -7
  100. package/dist/components/stzh-calendar2.js +1 -1
  101. package/dist/components/stzh-card2.js +20 -11
  102. package/dist/components/stzh-carousel.d.ts +11 -0
  103. package/dist/components/stzh-carousel.js +568 -0
  104. package/dist/components/stzh-checkboxgroup.js +3 -1
  105. package/dist/components/stzh-chip-select2.js +21 -9
  106. package/dist/components/stzh-chip2.js +19 -6
  107. package/dist/components/stzh-clamp2.js +110 -11
  108. package/dist/components/stzh-datalist2.js +3 -3
  109. package/dist/components/stzh-datamessagelist-item.js +16 -10
  110. package/dist/components/stzh-datatable.js +16 -4
  111. package/dist/components/stzh-dialog.js +16 -13
  112. package/dist/components/stzh-dropdown2.js +1 -1
  113. package/dist/components/stzh-footer.js +3 -1
  114. package/dist/components/stzh-ghettobox2.js +3 -1
  115. package/dist/components/stzh-header.js +33 -28
  116. package/dist/components/stzh-hspace.js +1 -1
  117. package/dist/components/stzh-input2.js +1 -1
  118. package/dist/components/stzh-invert.js +1 -1
  119. package/dist/components/stzh-link2.js +8 -2
  120. package/dist/components/stzh-loader2.js +1 -1
  121. package/dist/components/stzh-menu-item2.js +4 -4
  122. package/dist/components/stzh-metanav.js +3 -1
  123. package/dist/components/stzh-microsite-teaserlist.js +1 -1
  124. package/dist/components/stzh-page-skiplinks.js +3 -1
  125. package/dist/components/stzh-pagetitle-hero.js +4 -2
  126. package/dist/components/stzh-pagetitle.js +3 -1
  127. package/dist/components/stzh-popover2.js +1 -1
  128. package/dist/components/stzh-portal-mitwirken.js +1 -1
  129. package/dist/components/stzh-radiogroup2.js +3 -1
  130. package/dist/components/stzh-readspeaker.js +3 -1
  131. package/dist/components/stzh-sortable2.js +4 -2
  132. package/dist/components/stzh-space.js +1 -1
  133. package/dist/components/stzh-sticky.js +3 -1
  134. package/dist/components/stzh-table.js +15 -5
  135. package/dist/components/stzh-vspace.js +1 -1
  136. package/dist/esm/app-globals-62e1178d.js +887 -0
  137. package/dist/esm/loader.js +2 -2
  138. package/dist/esm/stzh-actions.entry.js +3 -1
  139. package/dist/esm/stzh-actionset.entry.js +11 -6
  140. package/dist/esm/stzh-appnav.entry.js +3 -1
  141. package/dist/esm/stzh-badge_3.entry.js +12 -7
  142. package/dist/esm/stzh-calendar.entry.js +1 -1
  143. package/dist/esm/stzh-card_3.entry.js +19 -11
  144. package/dist/esm/stzh-carousel.entry.js +518 -0
  145. package/dist/esm/stzh-checkboxgroup.entry.js +3 -1
  146. package/dist/esm/stzh-chip_2.entry.js +82 -5
  147. package/dist/esm/stzh-components.js +2 -2
  148. package/dist/esm/stzh-datalist_2.entry.js +1 -1
  149. package/dist/esm/stzh-datatable.entry.js +15 -3
  150. package/dist/esm/stzh-datepicker_3.entry.js +3 -1
  151. package/dist/esm/stzh-dialog.entry.js +16 -13
  152. package/dist/esm/stzh-dropdown.entry.js +1 -1
  153. package/dist/esm/stzh-footer.entry.js +3 -1
  154. package/dist/esm/stzh-ghettobox_2.entry.js +3 -1
  155. package/dist/esm/stzh-header.entry.js +32 -27
  156. package/dist/esm/stzh-hspace.entry.js +1 -1
  157. package/dist/esm/stzh-input.entry.js +1 -1
  158. package/dist/esm/stzh-invert.entry.js +1 -1
  159. package/dist/esm/stzh-link.entry.js +6 -2
  160. package/dist/esm/stzh-loader.entry.js +1 -1
  161. package/dist/esm/stzh-menu_2.entry.js +2 -2
  162. package/dist/esm/stzh-metanav.entry.js +3 -1
  163. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  164. package/dist/esm/stzh-page-skiplinks.entry.js +3 -1
  165. package/dist/esm/stzh-pagetitle-hero.entry.js +4 -2
  166. package/dist/esm/stzh-pagetitle.entry.js +3 -1
  167. package/dist/esm/stzh-popover.entry.js +1 -1
  168. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  169. package/dist/esm/stzh-readspeaker.entry.js +3 -1
  170. package/dist/esm/stzh-sortable.entry.js +4 -2
  171. package/dist/esm/stzh-space.entry.js +1 -1
  172. package/dist/esm/stzh-sticky.entry.js +3 -1
  173. package/dist/esm/stzh-table.entry.js +14 -4
  174. package/dist/esm/stzh-vspace.entry.js +1 -1
  175. package/dist/esm-es5/app-globals-62e1178d.js +1 -0
  176. package/dist/esm-es5/loader.js +1 -1
  177. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  178. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  179. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  180. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  181. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  182. package/dist/esm-es5/stzh-card_3.entry.js +1 -1
  183. package/dist/esm-es5/stzh-carousel.entry.js +1 -0
  184. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  185. package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
  186. package/dist/esm-es5/stzh-components.js +1 -1
  187. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  188. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  189. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  190. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  191. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  192. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  193. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  194. package/dist/esm-es5/stzh-header.entry.js +1 -1
  195. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  196. package/dist/esm-es5/stzh-input.entry.js +1 -1
  197. package/dist/esm-es5/stzh-invert.entry.js +1 -1
  198. package/dist/esm-es5/stzh-link.entry.js +1 -1
  199. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  200. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  201. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  202. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
  203. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  204. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  205. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  206. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  207. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  208. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  209. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  210. package/dist/esm-es5/stzh-space.entry.js +1 -1
  211. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  212. package/dist/esm-es5/stzh-table.entry.js +1 -1
  213. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  214. package/dist/stzh-components/assets/i18n/de.json +8 -0
  215. package/dist/stzh-components/assets/i18n/en.json +8 -0
  216. package/dist/stzh-components/p-0a408348.entry.js +1 -0
  217. package/dist/stzh-components/{p-ff328114.system.entry.js → p-0c779613.system.entry.js} +1 -1
  218. package/dist/stzh-components/{p-55752bd5.system.entry.js → p-0e690e3e.system.entry.js} +1 -1
  219. package/dist/stzh-components/{p-8c141cae.system.entry.js → p-10b4fedd.system.entry.js} +1 -1
  220. package/dist/stzh-components/p-14729939.entry.js +1 -0
  221. package/dist/stzh-components/p-1494b502.entry.js +1 -0
  222. package/dist/stzh-components/p-14d5a56d.entry.js +1 -0
  223. package/dist/stzh-components/p-205f5111.system.entry.js +1 -0
  224. package/dist/stzh-components/p-2ed20db5.entry.js +1 -0
  225. package/dist/stzh-components/p-322e74e9.system.entry.js +1 -0
  226. package/dist/stzh-components/p-353294ce.entry.js +1 -0
  227. package/dist/stzh-components/p-396697db.system.entry.js +1 -0
  228. package/dist/stzh-components/p-3af95b5d.entry.js +1 -0
  229. package/dist/stzh-components/{p-6c73f6ad.entry.js → p-3f80ce87.entry.js} +1 -1
  230. package/dist/stzh-components/{p-6a94e520.system.entry.js → p-454e50f8.system.entry.js} +1 -1
  231. package/dist/stzh-components/p-48d40c7c.system.entry.js +1 -0
  232. package/dist/stzh-components/{p-5c72664e.system.entry.js → p-4acb6752.system.entry.js} +1 -1
  233. package/dist/stzh-components/{p-b1ffc2a9.system.entry.js → p-4b995fe4.system.entry.js} +1 -1
  234. package/dist/stzh-components/{p-be97cb22.entry.js → p-4da7ebff.entry.js} +1 -1
  235. package/dist/stzh-components/p-4f8085e5.entry.js +1 -0
  236. package/dist/stzh-components/{p-2f4448c9.system.entry.js → p-558f336d.system.entry.js} +1 -1
  237. package/dist/stzh-components/p-5a4aef52.entry.js +1 -0
  238. package/dist/stzh-components/{p-72a62d0d.system.entry.js → p-6659b6f6.system.entry.js} +1 -1
  239. package/dist/stzh-components/{p-1a98470f.system.entry.js → p-6a26c9eb.system.entry.js} +1 -1
  240. package/dist/stzh-components/p-6bc7f44a.entry.js +1 -0
  241. package/dist/stzh-components/p-7ff1640c.entry.js +1 -0
  242. package/dist/stzh-components/{p-32ae64a3.entry.js → p-814e5ae7.entry.js} +1 -1
  243. package/dist/stzh-components/{p-37de872c.system.entry.js → p-821ca4af.system.entry.js} +1 -1
  244. package/dist/stzh-components/{p-d95b44c6.system.entry.js → p-884793dd.system.entry.js} +1 -1
  245. package/dist/stzh-components/{p-d5948025.system.entry.js → p-88fbb2fc.system.entry.js} +1 -1
  246. package/dist/stzh-components/p-8b16550d.entry.js +1 -0
  247. package/dist/stzh-components/{p-963a7526.system.entry.js → p-8c371d1d.system.entry.js} +1 -1
  248. package/dist/stzh-components/p-8eda017e.entry.js +1 -0
  249. package/dist/stzh-components/p-949f7885.system.js +1 -0
  250. package/dist/stzh-components/p-99d85a97.entry.js +1 -0
  251. package/dist/stzh-components/p-9a94b249.system.entry.js +1 -0
  252. package/dist/stzh-components/{p-32a03d1c.entry.js → p-9ed30a9f.entry.js} +1 -1
  253. package/dist/stzh-components/{p-febba79b.entry.js → p-9f29e6c3.entry.js} +1 -1
  254. package/dist/stzh-components/{p-67816aa4.entry.js → p-a0b2739a.entry.js} +1 -1
  255. package/dist/stzh-components/p-a2121744.system.entry.js +1 -0
  256. package/dist/stzh-components/p-a22ac109.entry.js +1 -0
  257. package/dist/stzh-components/p-a3bf419d.entry.js +1 -0
  258. package/dist/stzh-components/{p-088b16c6.system.entry.js → p-abf13db9.system.entry.js} +1 -1
  259. package/dist/stzh-components/p-ad96eb50.entry.js +1 -0
  260. package/dist/stzh-components/p-ae7255f6.entry.js +1 -0
  261. package/dist/stzh-components/p-af05718d.system.entry.js +1 -0
  262. package/dist/stzh-components/p-b4c28bf5.entry.js +1 -0
  263. package/dist/stzh-components/p-b4db3558.js +1 -0
  264. package/dist/stzh-components/p-b61f7404.entry.js +1 -0
  265. package/dist/stzh-components/p-b9adebdc.entry.js +1 -0
  266. package/dist/stzh-components/{p-c4c620fa.system.entry.js → p-b9bd42e6.system.entry.js} +1 -1
  267. package/dist/stzh-components/p-b9f784e4.system.entry.js +1 -0
  268. package/dist/stzh-components/{p-7e9fa7f5.entry.js → p-bcfba21f.entry.js} +1 -1
  269. package/dist/stzh-components/p-bd1a5d6d.system.entry.js +1 -0
  270. package/dist/stzh-components/p-c457dad2.system.entry.js +1 -0
  271. package/dist/stzh-components/{p-f8feb07b.entry.js → p-c80a9d50.entry.js} +1 -1
  272. package/dist/stzh-components/p-cab1a192.entry.js +1 -0
  273. package/dist/stzh-components/p-cd59cead.system.js +1 -0
  274. package/dist/stzh-components/{p-102e2bcd.system.entry.js → p-cd979ce9.system.entry.js} +1 -1
  275. package/dist/stzh-components/{p-512c38b3.system.entry.js → p-ce5db779.system.entry.js} +1 -1
  276. package/dist/stzh-components/p-d29fd401.entry.js +1 -0
  277. package/dist/stzh-components/{p-51b3a560.system.entry.js → p-d585e8fd.system.entry.js} +1 -1
  278. package/dist/stzh-components/p-d5994419.system.entry.js +1 -0
  279. package/dist/stzh-components/p-d6e5f396.system.entry.js +1 -0
  280. package/dist/stzh-components/p-e1501622.system.entry.js +1 -0
  281. package/dist/stzh-components/p-e2d80ee3.entry.js +1 -0
  282. package/dist/stzh-components/p-e54f66ea.system.entry.js +1 -0
  283. package/dist/stzh-components/{p-7bb82e56.entry.js → p-eb16ad0d.entry.js} +1 -1
  284. package/dist/stzh-components/p-eb1ea7f0.entry.js +1 -0
  285. package/dist/stzh-components/{p-e1b2785b.entry.js → p-ec87506f.entry.js} +1 -1
  286. package/dist/stzh-components/{p-309fc559.system.entry.js → p-ee20b95b.system.entry.js} +1 -1
  287. package/dist/stzh-components/p-f122e15d.system.entry.js +1 -0
  288. package/dist/stzh-components/{p-809ed955.system.entry.js → p-f27d1a06.system.entry.js} +1 -1
  289. package/dist/stzh-components/p-f449f909.entry.js +1 -0
  290. package/dist/stzh-components/p-fe1c8047.system.entry.js +1 -0
  291. package/dist/stzh-components/stzh-components.css +1 -1
  292. package/dist/stzh-components/stzh-components.esm.js +1 -1
  293. package/dist/stzh-components/stzh-components.js +1 -1
  294. package/dist/types/components/stzh-carousel/stzh-carousel.localization.d.ts +5 -0
  295. package/dist/types/components/stzh-clamp/stzh-clamp.localization.d.ts +5 -0
  296. package/dist/types/components.d.ts +217 -1
  297. package/dist/types/index.d.ts +20 -0
  298. package/dist/vscode-data.json +90 -1
  299. package/package.json +4 -2
  300. package/dist/cjs/app-globals-8fbeeb92.js +0 -56
  301. package/dist/esm/app-globals-f5264f95.js +0 -54
  302. package/dist/esm-es5/app-globals-f5264f95.js +0 -1
  303. package/dist/stzh-components/p-05e742b4.js +0 -1
  304. package/dist/stzh-components/p-07dc23a3.system.entry.js +0 -1
  305. package/dist/stzh-components/p-09a6a4be.system.js +0 -1
  306. package/dist/stzh-components/p-0ab2f949.entry.js +0 -1
  307. package/dist/stzh-components/p-0ba944ab.entry.js +0 -1
  308. package/dist/stzh-components/p-12856e02.system.entry.js +0 -1
  309. package/dist/stzh-components/p-18e20038.entry.js +0 -1
  310. package/dist/stzh-components/p-1bcda13d.system.entry.js +0 -1
  311. package/dist/stzh-components/p-216b89d7.system.entry.js +0 -1
  312. package/dist/stzh-components/p-2e40e63c.system.entry.js +0 -1
  313. package/dist/stzh-components/p-340eedda.system.entry.js +0 -1
  314. package/dist/stzh-components/p-3721f7b2.entry.js +0 -1
  315. package/dist/stzh-components/p-37920e74.system.entry.js +0 -1
  316. package/dist/stzh-components/p-4633b93d.entry.js +0 -1
  317. package/dist/stzh-components/p-5b85324c.entry.js +0 -1
  318. package/dist/stzh-components/p-5d55a672.system.entry.js +0 -1
  319. package/dist/stzh-components/p-62791751.entry.js +0 -1
  320. package/dist/stzh-components/p-64cdef2f.entry.js +0 -1
  321. package/dist/stzh-components/p-660125e0.system.entry.js +0 -1
  322. package/dist/stzh-components/p-6932ce19.system.js +0 -1
  323. package/dist/stzh-components/p-761ee059.entry.js +0 -1
  324. package/dist/stzh-components/p-7d42654b.system.entry.js +0 -1
  325. package/dist/stzh-components/p-7f857e56.entry.js +0 -1
  326. package/dist/stzh-components/p-907f59dd.entry.js +0 -1
  327. package/dist/stzh-components/p-923dffc7.entry.js +0 -1
  328. package/dist/stzh-components/p-951b04ab.entry.js +0 -1
  329. package/dist/stzh-components/p-990f395b.entry.js +0 -1
  330. package/dist/stzh-components/p-9be21c72.entry.js +0 -1
  331. package/dist/stzh-components/p-9c35c9cd.entry.js +0 -1
  332. package/dist/stzh-components/p-a11ef2d6.system.entry.js +0 -1
  333. package/dist/stzh-components/p-a6be6aca.system.entry.js +0 -1
  334. package/dist/stzh-components/p-a7eb3e02.system.entry.js +0 -1
  335. package/dist/stzh-components/p-aa4f87cc.entry.js +0 -1
  336. package/dist/stzh-components/p-ae38f1d2.entry.js +0 -1
  337. package/dist/stzh-components/p-b9b1b7cf.entry.js +0 -1
  338. package/dist/stzh-components/p-bb698e26.entry.js +0 -1
  339. package/dist/stzh-components/p-bc545121.entry.js +0 -1
  340. package/dist/stzh-components/p-c2a22eb8.entry.js +0 -1
  341. package/dist/stzh-components/p-d1cfe06b.entry.js +0 -1
  342. package/dist/stzh-components/p-ddcec4e1.system.entry.js +0 -1
  343. package/dist/stzh-components/p-e09ac5e3.system.entry.js +0 -1
  344. package/dist/stzh-components/p-f0e2a32d.entry.js +0 -1
  345. package/dist/stzh-components/p-fd15cc86.entry.js +0 -1
  346. package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +0 -16
@@ -0,0 +1,568 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { i as isStzhElement } from './utils.js';
3
+ import { f as fetchTranslations } from './translation-utils.js';
4
+ import { a as addMediaChangeListener, r as removeMediaChangeListener, m as media } from './media-utils.js';
5
+
6
+ const stzhCarouselCss = ".sc-stzh-carousel-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-carousel-h{display:none}.sc-stzh-carousel-h *.sc-stzh-carousel,.sc-stzh-carousel-h *.sc-stzh-carousel::before,.sc-stzh-carousel-h *.sc-stzh-carousel::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-carousel-h{--peek:calc(var(--peek-in, 0px) + var(--peek-out, 0px));--peek-out:1.25rem;--padding-top:0px;--padding-bottom:0px;--gutter:var(--stzh-space-xxxsmall);--snap-stop:always;--slides:1;--slide-size:calc((100% - (var(--slides) - 1) * var(--gutter)) / var(--slides))}@media screen and (min-width: 600px){.sc-stzh-carousel-h{--peek-out:0px}}[variant=cards].sc-stzh-carousel-h{--padding-top:0.25rem;--padding-bottom:0.25rem;--gutter:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){[variant=cards].sc-stzh-carousel-h{--peek-out:2rem}}@media screen and (min-width: 1024px){[variant=cards].sc-stzh-carousel-h{--peek-out:2.5rem;--gutter:var(--stzh-space-small)}}@media screen and (min-width: 1260px){[variant=cards].sc-stzh-carousel-h{--peek-out:5.5rem;--gutter:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){[variant=cards].sc-stzh-carousel-h{--peek-out:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.sc-stzh-carousel-h .sc-stzh-carousel-s>*{width:100%;height:100%;-ms-flex-negative:0;flex-shrink:0;scroll-snap-align:start;scroll-snap-stop:var(--snap-stop)}.sc-stzh-carousel-h .sc-stzh-carousel-s img{-webkit-user-drag:none;user-drag:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions]{position:absolute;top:0;left:0;z-index:1;pointer-events:none;padding:0 var(--peek)}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-text{width:auto}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button{pointer-events:all}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button[data-stzh-carousel-previous]{--border-radius:var(--stzh-button-border-radius) 0 0 var(--stzh-button-border-radius);--border-width:0.0625rem 0 0.0625rem 0.0625rem}.sc-stzh-carousel-h .sc-stzh-carousel-s>[slot=actions] stzh-button[data-stzh-carousel-next]{--border-radius:0 var(--stzh-button-border-radius) var(--stzh-button-border-radius) 0}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-space,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-hspace,.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions] stzh-vspace{padding:var(--stzh-space-xsmall)}.sc-stzh-carousel-h .sc-stzh-carousel-s>stzh-ratio[slot=actions]{--background-color:transparent}.sc-stzh-carousel-h[variant=cards] .sc-stzh-carousel-s>[slot=actions]{position:relative;-ms-flex-order:1;order:1;margin-top:calc(var(--stzh-space-medium) - var(--padding-bottom))}.stzh-carousel.sc-stzh-carousel{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:calc(100% + var(--peek-out) * 2);margin-left:calc(var(--peek-out) / -1);margin-right:calc(var(--peek-out) / -1)}.stzh-carousel__vhidden.sc-stzh-carousel{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-carousel__scroll.sc-stzh-carousel{position:relative;grid-area:slides;display:grid;width:100%;height:100%;place-items:center;overflow-x:auto;overflow-y:visible;grid-auto-flow:column;grid-auto-columns:var(--slide-size);grid-auto-rows:100%;-moz-column-gap:var(--gutter);-webkit-column-gap:var(--gutter);column-gap:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scroll-padding:0 var(--peek);padding:var(--padding-top) var(--peek) var(--padding-bottom)}@media (prefers-reduced-motion: reduce){.stzh-carousel__scroll.sc-stzh-carousel{scroll-behavior:auto}}.stzh-carousel__scroll.sc-stzh-carousel::-webkit-scrollbar{display:none}.stzh-carousel--is-draggable.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grab;cursor:grab}.stzh-carousel--is-dragging.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:-webkit-grabbing;cursor:grabbing}.stzh-carousel--is-disabled.sc-stzh-carousel .stzh-carousel__scroll.sc-stzh-carousel{cursor:not-allowed;overflow:hidden}";
7
+
8
+ const reducedMotionMedia = window.matchMedia("(prefers-reduced-motion: reduce)");
9
+ let carouselCounter = 0;
10
+ const StzhCarousel$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
11
+ constructor() {
12
+ super();
13
+ this.__registerHost();
14
+ this.stzhSlideStart = createEvent(this, "stzhSlideStart", 7);
15
+ this.stzhSlidePassed = createEvent(this, "stzhSlidePassed", 7);
16
+ this.stzhSlideEnd = createEvent(this, "stzhSlideEnd", 7);
17
+ /** Current scroll position */
18
+ this.slideScrollLeft = 0;
19
+ /** Flag whether scrolling was done by user or not */
20
+ this.scrolledByAutoplay = false;
21
+ /** Timeout ID used to catch the end of scroll events */
22
+ this.scrollTimeoutId = null;
23
+ /** Last drag event position */
24
+ this.lastX = null;
25
+ /** Where the dragging started */
26
+ this.startX = null;
27
+ /** Where the dragging started scroll position */
28
+ this.startScrollLeft = null;
29
+ /** Timeout ID for a smooth drag release */
30
+ this.disableTimeoutId = null;
31
+ /** Whether user has just stopped dragging */
32
+ this.stoppedDragging = false;
33
+ this.onReducedMotionMediaChange = () => {
34
+ this.autoplayDisabledByMotionMedia = reducedMotionMedia.matches;
35
+ };
36
+ this.onMouseenter = () => {
37
+ this.autoplayDisabledByMouse = true;
38
+ };
39
+ this.onMouseleave = () => {
40
+ this.autoplayDisabledByMouse = false;
41
+ };
42
+ this.onFocusin = () => {
43
+ this.autoplayDisabledByFocus = true;
44
+ };
45
+ this.onFocusout = () => {
46
+ this.autoplayDisabledByFocus = false;
47
+ };
48
+ this.onPreviousClick = () => {
49
+ this.scrollToPreviousSnapPoint();
50
+ };
51
+ this.onNextClick = () => {
52
+ this.scrollToNextSnapPoint();
53
+ };
54
+ this.onSlideResize = () => {
55
+ if (this.scrollElement) {
56
+ this.itemSize = this.sizingMethod();
57
+ }
58
+ };
59
+ this.onMutation = () => {
60
+ if (!this.scrollElement) {
61
+ return;
62
+ }
63
+ this.slideElements = Array.from(this.scrollElement.children);
64
+ this.slideElements.forEach((slide, index) => {
65
+ slide.setAttribute("role", "group");
66
+ slide.setAttribute("aria-roledescription", "slide");
67
+ slide.setAttribute("aria-label", this.localization.slideLabel
68
+ .replace(/\{current\}/gi, (index + 1).toString())
69
+ .replace(/\{total\}/gi, this.slideElements.length.toString()));
70
+ });
71
+ this.previousElements = Array.from(this.element.querySelectorAll("[data-stzh-carousel-previous]"));
72
+ this.nextElements = Array.from(this.element.querySelectorAll("[data-stzh-carousel-next]"));
73
+ this.navigationTextElements = Array.from(this.element.querySelectorAll("[data-stzh-carousel-navigation-text]"));
74
+ };
75
+ this.onScroll = () => {
76
+ if (this.scrollTimeoutId === null) {
77
+ const direction = (this.scrollElement.scrollLeft > this.slideScrollLeft) ? 1 : -1;
78
+ this.scrolling = true;
79
+ if (!this.scrolledByAutoplay) {
80
+ this.autoplay = false;
81
+ }
82
+ this.stzhSlideStart.emit({
83
+ component: "stzh-carousel",
84
+ index: this.slide + direction
85
+ });
86
+ }
87
+ if (this.slide !== this.calculateSlide()) {
88
+ this.update();
89
+ this.stzhSlidePassed.emit({
90
+ component: "stzh-carousel",
91
+ index: this.slide
92
+ });
93
+ }
94
+ this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);
95
+ this.scrollTimeoutId = window.setTimeout(this.onScrollEnd, this.scrollTimeout);
96
+ };
97
+ this.onScrollEnd = () => {
98
+ this.scrollTimeoutId = null;
99
+ this.update();
100
+ this.scrolling = false;
101
+ this.scrolledByAutoplay = false;
102
+ if (this.stoppedDragging) {
103
+ this.stoppedDragging = false;
104
+ this.scrollElement.style.removeProperty("scroll-behavior");
105
+ this.scrollElement.style.removeProperty("scroll-snap-type");
106
+ }
107
+ if (this.tabThrough || this.variant === "cards") {
108
+ this.ariaLive = "";
109
+ }
110
+ else {
111
+ this.ariaLive = (this.currentSlides > 1 ? this.localization.slidesLabel : this.localization.slideLabel)
112
+ .replace(/\{(current|from)\}/gi, (this.slide + 1).toString())
113
+ .replace(/\{to\}/gi, (this.slide + this.currentSlides).toString())
114
+ .replace(/\{total\}/gi, this.slideElements.length.toString());
115
+ }
116
+ this.stzhSlideEnd.emit({
117
+ component: "stzh-carousel",
118
+ index: this.slide
119
+ });
120
+ };
121
+ this.onMediaChange = () => {
122
+ const ultra = media("ultra").matches;
123
+ const large = media("large").matches;
124
+ const medium = media("medium").matches;
125
+ const small = media("small").matches;
126
+ if (ultra && this.slidesUltra !== 0) {
127
+ this.currentSlides = this.slidesUltra;
128
+ }
129
+ else if (large && this.slidesLarge !== 0) {
130
+ this.currentSlides = this.slidesLarge;
131
+ }
132
+ else if (medium && this.slidesMedium !== 0) {
133
+ this.currentSlides = this.slidesMedium;
134
+ }
135
+ else if (small && this.slidesSmall !== 0) {
136
+ this.currentSlides = this.slidesSmall;
137
+ }
138
+ else {
139
+ this.currentSlides = this.slides;
140
+ }
141
+ // if (ultra && this.swipeSlidesUltra !== 0) {
142
+ // this.currentSwipeSlides = this.swipeSlidesUltra;
143
+ // } else if (large && this.swipeSlidesLarge !== 0) {
144
+ // this.currentSwipeSlides = this.swipeSlidesLarge;
145
+ // } else if (medium && this.swipeSlidesMedium !== 0) {
146
+ // this.currentSwipeSlides = this.swipeSlidesMedium;
147
+ // } else if (small && this.swipeSlidesSmall !== 0) {
148
+ // this.currentSwipeSlides = this.swipeSlidesSmall;
149
+ // } else {
150
+ // this.currentSwipeSlides = this.swipeSlides;
151
+ // }
152
+ this.currentSwipeSlides = this.currentSlides;
153
+ };
154
+ /** Scroll the slider the appropriate amount of pixels and update the last event position */
155
+ this.mouseMove = (event) => {
156
+ const distance = this.lastX - event.clientX;
157
+ this.lastX = event.clientX;
158
+ this.scrollElement.scrollLeft += distance;
159
+ };
160
+ /** Clear disable timeout, set up variables and styles and attach the listener. */
161
+ this.startDragging = (event) => {
162
+ event.preventDefault();
163
+ this.disableTimeoutId && window.clearTimeout(this.disableTimeoutId);
164
+ this.disableTimeoutId = null;
165
+ this.startX = this.lastX = event.clientX;
166
+ this.startScrollLeft = this.scrollElement.scrollLeft;
167
+ this.scrollElement.style.setProperty("scroll-behavior", "auto");
168
+ this.scrollElement.style.setProperty("scroll-snap-type", "unset");
169
+ this.dragging = true;
170
+ this.autoplay = false;
171
+ window.addEventListener("mousemove", this.mouseMove);
172
+ window.addEventListener("mouseup", this.stopDragging, { capture: true });
173
+ window.addEventListener("click", this.checkClick, { capture: true });
174
+ };
175
+ /** User stopped dragging */
176
+ this.stopDragging = (event) => {
177
+ event.preventDefault();
178
+ const distance = Math.abs(this.startX - this.lastX);
179
+ const minimumReached = distance > this.distanceQuickSwipe;
180
+ const direction = (this.lastX > this.startX) ? 1 : -1;
181
+ this.dragging = false;
182
+ const endDraddingLeft = this.scrollElement.scrollLeft;
183
+ this.scrollElement.style.removeProperty("scroll-snap-type");
184
+ const finalLeft = this.scrollElement.scrollLeft;
185
+ this.scrollElement.style.setProperty("scroll-snap-type", "unset");
186
+ this.scrollElement.scrollTo({ left: endDraddingLeft, behavior: "auto" });
187
+ if (finalLeft !== this.startScrollLeft || !minimumReached) {
188
+ this.scrollElement.scrollTo({ left: finalLeft, behavior: reducedMotionMedia.matches ? "auto" : "smooth" });
189
+ }
190
+ else if (direction === 1) {
191
+ this.slideToPrevious();
192
+ }
193
+ else {
194
+ this.slideToNext();
195
+ }
196
+ window.removeEventListener("mousemove", this.mouseMove);
197
+ window.removeEventListener("mouseup", this.stopDragging, { capture: true });
198
+ this.stoppedDragging = true;
199
+ };
200
+ this.checkClick = (event) => {
201
+ const distance = Math.abs(this.startX - this.lastX);
202
+ const minimumReached = distance > this.distancePreventClick;
203
+ if (minimumReached) {
204
+ event.preventDefault();
205
+ }
206
+ this.lastX = null;
207
+ window.removeEventListener("click", this.checkClick, { capture: true });
208
+ };
209
+ this.autoplayInterval = () => {
210
+ this.scrolledByAutoplay = true;
211
+ if (this.hasReachedLastSlide()) {
212
+ this.slideTo(0);
213
+ }
214
+ else {
215
+ this.slideToNext();
216
+ }
217
+ };
218
+ this.localization = undefined;
219
+ this.variant = "default";
220
+ this.disabled = false;
221
+ this.slides = 1;
222
+ this.slidesSmall = 0;
223
+ this.slidesMedium = 0;
224
+ this.slidesLarge = 0;
225
+ this.slidesUltra = 0;
226
+ this.slide = 0;
227
+ this.autoplay = false;
228
+ this.tabThrough = false;
229
+ this.preventMouseDrag = false;
230
+ this.scrollTimeout = 100;
231
+ this.autoplayTimeout = 3000;
232
+ this.distanceQuickSwipe = 40;
233
+ this.distancePreventClick = 6;
234
+ this.autoplayRunning = false;
235
+ this.autoplayDisabledByMotionMedia = false;
236
+ this.autoplayDisabledByMouse = false;
237
+ this.autoplayDisabledByFocus = false;
238
+ this.dragging = false;
239
+ this.scrolling = false;
240
+ this.ariaLive = "";
241
+ this.currentSlides = 1;
242
+ this.currentSwipeSlides = 1;
243
+ this.slideElements = [];
244
+ this.previousElements = [];
245
+ this.nextElements = [];
246
+ this.navigationTextElements = [];
247
+ }
248
+ /** Scroll to a slide by index */
249
+ async slideTo(index, behaviour = "smooth") {
250
+ this.scrollToSlide(index, behaviour);
251
+ }
252
+ /** Scroll to previous snap point */
253
+ async slideToPrevious(behaviour = "smooth") {
254
+ this.scrollToPreviousSnapPoint(behaviour);
255
+ }
256
+ /** Scroll to next snap point */
257
+ async slideToNext(behaviour = "smooth") {
258
+ this.scrollToNextSnapPoint(behaviour);
259
+ }
260
+ disabledWatcher() {
261
+ if (this.disabled) {
262
+ this.scrollElement && this.scrollElement.removeEventListener("scroll", this.onScroll);
263
+ this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);
264
+ this.scrollTimeoutId = null;
265
+ this.element.removeEventListener("mouseenter", this.onMouseenter);
266
+ this.element.removeEventListener("mouseleave", this.onMouseleave);
267
+ this.element.removeEventListener("focusin", this.onFocusin);
268
+ this.element.removeEventListener("focusout", this.onFocusout);
269
+ this.onReducedMotionMediaChange();
270
+ reducedMotionMedia && reducedMotionMedia.removeEventListener("change", this.onReducedMotionMediaChange);
271
+ }
272
+ else {
273
+ this.scrollElement && this.scrollElement.addEventListener("scroll", this.onScroll, { passive: true });
274
+ this.element.addEventListener("mouseenter", this.onMouseenter);
275
+ this.element.addEventListener("mouseleave", this.onMouseleave);
276
+ this.element.addEventListener("focusin", this.onFocusin);
277
+ this.element.addEventListener("focusout", this.onFocusout);
278
+ reducedMotionMedia && reducedMotionMedia.addEventListener("change", this.onReducedMotionMediaChange);
279
+ }
280
+ }
281
+ preventMouseDragWatcher() {
282
+ if (this.preventMouseDrag || this.disabled) {
283
+ this.disableTimeoutId && window.clearTimeout(this.disableTimeoutId);
284
+ this.disableTimeoutId = null;
285
+ this.scrollElement && this.scrollElement.removeEventListener("mousedown", this.startDragging);
286
+ this.lastX = null;
287
+ }
288
+ else {
289
+ this.scrollElement && this.scrollElement.addEventListener("mousedown", this.startDragging);
290
+ }
291
+ }
292
+ autoplayRunningWatcher() {
293
+ if (!this.autoplay
294
+ || this.disabled
295
+ || this.autoplayDisabledByMotionMedia
296
+ || this.autoplayDisabledByMouse
297
+ || this.autoplayDisabledByFocus) {
298
+ this.autoplayIntervalId && window.clearInterval(this.autoplayIntervalId);
299
+ this.autoplayIntervalId = null;
300
+ this.autoplayRunning = false;
301
+ }
302
+ else {
303
+ this.autoplayIntervalId && window.clearInterval(this.autoplayIntervalId);
304
+ this.autoplayIntervalId = window.setInterval(this.autoplayInterval, this.autoplayTimeout);
305
+ this.autoplayRunning = true;
306
+ }
307
+ }
308
+ snapAlignWatcher() {
309
+ this.slideElements.forEach((slide, index) => {
310
+ const shouldSnap = (index - this.currentSwipeSlides) % this.currentSwipeSlides === 0;
311
+ if (shouldSnap) {
312
+ slide.style.removeProperty("scroll-snap-align");
313
+ }
314
+ else {
315
+ slide.style.setProperty("scroll-snap-align", "none");
316
+ }
317
+ });
318
+ }
319
+ inertWatcher() {
320
+ this.slideElements.forEach((slide, index) => {
321
+ const isActive = this.tabThrough
322
+ || this.variant === "cards"
323
+ || index >= this.slide && index < this.slide + this.currentSlides;
324
+ slide.inert = !isActive;
325
+ if (isActive) {
326
+ slide.removeAttribute("aria-hidden");
327
+ }
328
+ else {
329
+ slide.setAttribute("aria-hidden", isActive ? "false" : "true");
330
+ }
331
+ });
332
+ }
333
+ prevNextNavigationWatcher() {
334
+ const tabThrough = this.tabThrough || this.variant === "cards";
335
+ const setAriaAttributes = (element) => {
336
+ const isStzh = isStzhElement(element);
337
+ if (tabThrough) {
338
+ element.setAttribute("aria-hidden", "true");
339
+ element.setAttribute(isStzh ? "a11y-tabindex" : "tabindex", "-1");
340
+ }
341
+ else {
342
+ element.removeAttribute("aria-hidden");
343
+ element.removeAttribute(isStzh ? "a11y-tabindex" : "tabindex");
344
+ }
345
+ };
346
+ this.nextElements.forEach(setAriaAttributes);
347
+ this.previousElements.forEach(setAriaAttributes);
348
+ }
349
+ prevNextHiddenWatcher() {
350
+ const hideElements = this.slideElements.length <= this.currentSlides;
351
+ const setHiddenAttribute = (element) => {
352
+ if (hideElements) {
353
+ element.setAttribute("hidden", "");
354
+ }
355
+ else {
356
+ element.removeAttribute("hidden");
357
+ }
358
+ };
359
+ this.navigationTextElements.forEach(setHiddenAttribute);
360
+ this.nextElements.forEach(setHiddenAttribute);
361
+ this.previousElements.forEach(setHiddenAttribute);
362
+ }
363
+ nextPrevDisabledWatcher() {
364
+ if (!this.scrollElement) {
365
+ return;
366
+ }
367
+ const reachedFirstSlide = this.slide === 0;
368
+ const reachedLastSlide = this.hasReachedLastSlide();
369
+ this.nextElements.forEach((element) => {
370
+ const isStzh = isStzhElement(element);
371
+ element.setAttribute(isStzh ? "a11y-disabled" : "aria-disabled", reachedLastSlide ? "true" : "false");
372
+ });
373
+ this.previousElements.forEach((element) => {
374
+ const isStzh = isStzhElement(element);
375
+ element.setAttribute(isStzh ? "a11y-disabled" : "aria-disabled", reachedFirstSlide ? "true" : "false");
376
+ });
377
+ }
378
+ nextElementsWatcher() {
379
+ this.nextElements.forEach((nextElement) => {
380
+ const isStzh = isStzhElement(nextElement);
381
+ nextElement.addEventListener("click", this.onNextClick);
382
+ nextElement.setAttribute(isStzh ? "a11y-controls" : "aria-controls", `${this.carouselId}-scroll`);
383
+ });
384
+ }
385
+ previousElementsWatcher() {
386
+ this.previousElements.forEach((previousElement) => {
387
+ const isStzh = isStzhElement(previousElement);
388
+ previousElement.addEventListener("click", this.onPreviousClick);
389
+ previousElement.setAttribute(isStzh ? "a11y-controls" : "aria-controls", `${this.carouselId}-scroll`);
390
+ });
391
+ }
392
+ scrollToSlide(index, behaviour = "smooth") {
393
+ if (this.disabled) {
394
+ return;
395
+ }
396
+ this.scrollElement.scrollTo({
397
+ left: index * this.itemSize,
398
+ behavior: reducedMotionMedia.matches ? "auto" : behaviour
399
+ });
400
+ }
401
+ /** Width of a slide */
402
+ sizingMethod() {
403
+ const css = window.getComputedStyle(this.scrollElement);
404
+ return this.scrollElement.firstElementChild.offsetWidth
405
+ + parseInt(css.getPropertyValue("column-gap"), 10);
406
+ }
407
+ /**
408
+ * Calculates the active slide.
409
+ * The scroll-snap-type property makes sure that the container snaps perfectly to integer multiples.
410
+ */
411
+ calculateSlide() {
412
+ // Math.round: Dispatch 'stzhSlidePassed' events around the center of each slide
413
+ // Math.ceil: Dispatch 'stzhSlidePassed' events as soon as the next one is visible
414
+ // Math.floor: Dispatch 'stzhSlidePassed' events only when the next one is fully visible
415
+ return Math.floor(this.scrollElement.scrollLeft / this.itemSize);
416
+ }
417
+ scrollToPreviousSnapPoint(behaviour = "smooth") {
418
+ if (this.disabled) {
419
+ return;
420
+ }
421
+ let previousIndex = this.slide;
422
+ let canSnap = false;
423
+ while (!canSnap && previousIndex > 0) {
424
+ previousIndex = previousIndex - 1;
425
+ canSnap = (previousIndex - this.currentSwipeSlides) % this.currentSwipeSlides === 0;
426
+ }
427
+ this.slideTo(previousIndex, behaviour);
428
+ }
429
+ scrollToNextSnapPoint(behaviour = "smooth") {
430
+ if (this.disabled) {
431
+ return;
432
+ }
433
+ this.slideTo(this.slide + this.currentSwipeSlides, behaviour);
434
+ }
435
+ update() {
436
+ this.slide = this.calculateSlide();
437
+ this.slideScrollLeft = this.slide * this.itemSize;
438
+ this.onMutation();
439
+ }
440
+ hasReachedLastSlide() {
441
+ const { scrollLeft, offsetWidth, scrollWidth } = this.scrollElement;
442
+ return Math.ceil(scrollLeft + offsetWidth) >= scrollWidth;
443
+ }
444
+ async componentWillLoad() {
445
+ this.carouselId = `stzh-carousel-${carouselCounter++}`;
446
+ this.onMediaChange();
447
+ if (!this.localization) {
448
+ this.localization = await fetchTranslations(this.element, "carousel");
449
+ }
450
+ }
451
+ componentDidLoad() {
452
+ this.itemSize = this.sizingMethod();
453
+ this.update();
454
+ this.disabledWatcher();
455
+ this.preventMouseDragWatcher();
456
+ this.autoplayRunningWatcher();
457
+ }
458
+ connectedCallback() {
459
+ addMediaChangeListener(this.onMediaChange);
460
+ this.resizeObserver = new ResizeObserver(this.onSlideResize);
461
+ this.resizeObserver.observe(this.element);
462
+ this.mutationObserver = new MutationObserver(this.onMutation);
463
+ this.mutationObserver.observe(this.element, {
464
+ childList: true,
465
+ subtree: true
466
+ });
467
+ }
468
+ disconnectedCallback() {
469
+ this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);
470
+ this.scrollTimeoutId = null;
471
+ this.disabled = true;
472
+ removeMediaChangeListener(this.onMediaChange);
473
+ if (this.resizeObserver) {
474
+ this.resizeObserver.disconnect();
475
+ }
476
+ if (this.mutationObserver) {
477
+ this.mutationObserver.disconnect();
478
+ }
479
+ }
480
+ render() {
481
+ const classes = {
482
+ "stzh-carousel": true,
483
+ "stzh-carousel--is-disabled": this.disabled,
484
+ "stzh-carousel--is-draggable": !this.preventMouseDrag,
485
+ "stzh-carousel--is-dragging": this.dragging,
486
+ "stzh-carousel--is-scrolling": this.scrolling,
487
+ "stzh-carousel--has-autoplay": this.autoplay,
488
+ "stzh-carousel--is-autoplay-running": this.autoplayRunning,
489
+ "stzh-carousel--is-autoplay-disabled-by-motion-media": this.autoplayDisabledByMotionMedia,
490
+ "stzh-carousel--is-autoplay-disabled-by-mouse": this.autoplayDisabledByMouse,
491
+ "stzh-carousel--is-autoplay-disabled-by-focus": this.autoplayDisabledByFocus
492
+ };
493
+ return (h(Host, { "aria-roledescription": "carousel", style: {
494
+ '--slides': this.currentSlides.toString()
495
+ } }, h("div", { class: classes }, h("slot", { name: "actions" }), h("div", { class: "stzh-carousel__vhidden", "aria-live": this.autoplayDisabledByFocus || this.autoplayDisabledByMouse ? "polite" : "off" }, this.ariaLive), h("div", { ref: (el) => (this.scrollElement = el), id: `${this.carouselId}-scroll`, class: "stzh-carousel__scroll" }, h("slot", null)))));
496
+ }
497
+ get element() { return this; }
498
+ static get watchers() { return {
499
+ "disabled": ["disabledWatcher", "preventMouseDragWatcher", "autoplayRunningWatcher"],
500
+ "preventMouseDrag": ["preventMouseDragWatcher"],
501
+ "autoplay": ["autoplayRunningWatcher"],
502
+ "autoplayDisabledByMotionMedia": ["autoplayRunningWatcher"],
503
+ "autoplayDisabledByMouse": ["autoplayRunningWatcher"],
504
+ "autoplayDisabledByFocus": ["autoplayRunningWatcher"],
505
+ "autoplayTimeout": ["autoplayRunningWatcher"],
506
+ "slideElements": ["snapAlignWatcher", "inertWatcher", "prevNextHiddenWatcher", "nextPrevDisabledWatcher"],
507
+ "currentSwipeSlides": ["snapAlignWatcher"],
508
+ "slide": ["inertWatcher", "nextPrevDisabledWatcher"],
509
+ "variant": ["inertWatcher", "prevNextNavigationWatcher"],
510
+ "currentSlides": ["inertWatcher", "prevNextHiddenWatcher", "nextPrevDisabledWatcher"],
511
+ "tabThrough": ["inertWatcher", "prevNextNavigationWatcher"],
512
+ "nextElements": ["prevNextNavigationWatcher", "prevNextHiddenWatcher", "nextPrevDisabledWatcher", "nextElementsWatcher"],
513
+ "previousElements": ["prevNextNavigationWatcher", "prevNextHiddenWatcher", "nextPrevDisabledWatcher", "previousElementsWatcher"],
514
+ "navigationTextElements": ["prevNextHiddenWatcher"]
515
+ }; }
516
+ static get style() { return stzhCarouselCss; }
517
+ }, [6, "stzh-carousel", {
518
+ "localization": [16],
519
+ "variant": [513],
520
+ "disabled": [516],
521
+ "slides": [2],
522
+ "slidesSmall": [2, "slides-small"],
523
+ "slidesMedium": [2, "slides-medium"],
524
+ "slidesLarge": [2, "slides-large"],
525
+ "slidesUltra": [2, "slides-ultra"],
526
+ "slide": [2],
527
+ "autoplay": [1028],
528
+ "tabThrough": [4, "tab-through"],
529
+ "preventMouseDrag": [32],
530
+ "scrollTimeout": [32],
531
+ "autoplayTimeout": [32],
532
+ "distanceQuickSwipe": [32],
533
+ "distancePreventClick": [32],
534
+ "autoplayRunning": [32],
535
+ "autoplayDisabledByMotionMedia": [32],
536
+ "autoplayDisabledByMouse": [32],
537
+ "autoplayDisabledByFocus": [32],
538
+ "dragging": [32],
539
+ "scrolling": [32],
540
+ "ariaLive": [32],
541
+ "currentSlides": [32],
542
+ "currentSwipeSlides": [32],
543
+ "slideElements": [32],
544
+ "previousElements": [32],
545
+ "nextElements": [32],
546
+ "navigationTextElements": [32],
547
+ "slideTo": [64],
548
+ "slideToPrevious": [64],
549
+ "slideToNext": [64]
550
+ }]);
551
+ function defineCustomElement$1() {
552
+ if (typeof customElements === "undefined") {
553
+ return;
554
+ }
555
+ const components = ["stzh-carousel"];
556
+ components.forEach(tagName => { switch (tagName) {
557
+ case "stzh-carousel":
558
+ if (!customElements.get(tagName)) {
559
+ customElements.define(tagName, StzhCarousel$1);
560
+ }
561
+ break;
562
+ } });
563
+ }
564
+
565
+ const StzhCarousel = StzhCarousel$1;
566
+ const defineCustomElement = defineCustomElement$1;
567
+
568
+ export { StzhCarousel, defineCustomElement };
@@ -139,7 +139,9 @@ const StzhCheckboxgroup$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
139
139
  });
140
140
  }
141
141
  disconnectedCallback() {
142
- this.observer.disconnect();
142
+ if (this.observer) {
143
+ this.observer.disconnect();
144
+ }
143
145
  }
144
146
  render() {
145
147
  const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
@@ -1,13 +1,15 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { S as StzhInputDescription } from './stzh-input-description.js';
3
3
  import { f as fetchTranslations } from './translation-utils.js';
4
- import { d as defineCustomElement$5 } from './stzh-chip2.js';
5
- import { d as defineCustomElement$4 } from './stzh-clamp2.js';
6
- import { d as defineCustomElement$3 } from './stzh-dropdown2.js';
7
- import { d as defineCustomElement$2 } from './stzh-icon2.js';
4
+ import { d as defineCustomElement$7 } from './stzh-badge2.js';
5
+ import { d as defineCustomElement$6 } from './stzh-chip2.js';
6
+ import { d as defineCustomElement$5 } from './stzh-clamp2.js';
7
+ import { d as defineCustomElement$4 } from './stzh-dropdown2.js';
8
+ import { d as defineCustomElement$3 } from './stzh-icon2.js';
9
+ import { d as defineCustomElement$2 } from './stzh-link2.js';
8
10
  import { d as defineCustomElement$1 } from './stzh-popover2.js';
9
11
 
10
- const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2);border-radius:var(--stzh-button-border-radius)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}.stzh-chip-select__chip.is-focused.sc-stzh-chip-select,.stzh-chip-select__chip.is-focused[active].sc-stzh-chip-select:not([active=false]){--border:0.0625rem solid var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-chip-select__chip.is-focused[active].sc-stzh-chip-select:not([active=false]){--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";
12
+ const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2);border-radius:var(--stzh-button-border-radius)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}.stzh-chip-select__chip.is-focused.sc-stzh-chip-select,.stzh-chip-select__chip.is-focused[active].sc-stzh-chip-select:not([active=false]){--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-chip-select__chip.is-focused[active].sc-stzh-chip-select:not([active=false]){--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";
11
13
 
12
14
  let chipSelectCounter = 0;
13
15
  const StzhChipSelect = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
@@ -161,29 +163,39 @@ function defineCustomElement() {
161
163
  if (typeof customElements === "undefined") {
162
164
  return;
163
165
  }
164
- const components = ["stzh-chip-select", "stzh-chip", "stzh-clamp", "stzh-dropdown", "stzh-icon", "stzh-popover"];
166
+ const components = ["stzh-chip-select", "stzh-badge", "stzh-chip", "stzh-clamp", "stzh-dropdown", "stzh-icon", "stzh-link", "stzh-popover"];
165
167
  components.forEach(tagName => { switch (tagName) {
166
168
  case "stzh-chip-select":
167
169
  if (!customElements.get(tagName)) {
168
170
  customElements.define(tagName, StzhChipSelect);
169
171
  }
170
172
  break;
173
+ case "stzh-badge":
174
+ if (!customElements.get(tagName)) {
175
+ defineCustomElement$7();
176
+ }
177
+ break;
171
178
  case "stzh-chip":
172
179
  if (!customElements.get(tagName)) {
173
- defineCustomElement$5();
180
+ defineCustomElement$6();
174
181
  }
175
182
  break;
176
183
  case "stzh-clamp":
177
184
  if (!customElements.get(tagName)) {
178
- defineCustomElement$4();
185
+ defineCustomElement$5();
179
186
  }
180
187
  break;
181
188
  case "stzh-dropdown":
182
189
  if (!customElements.get(tagName)) {
183
- defineCustomElement$3();
190
+ defineCustomElement$4();
184
191
  }
185
192
  break;
186
193
  case "stzh-icon":
194
+ if (!customElements.get(tagName)) {
195
+ defineCustomElement$3();
196
+ }
197
+ break;
198
+ case "stzh-link":
187
199
  if (!customElements.get(tagName)) {
188
200
  defineCustomElement$2();
189
201
  }