@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,138 @@
1
+ import { h } from '../../utils/h';
2
+ import readme from './readme.md';
3
+ import { withDesign } from 'storybook-addon-designs';
4
+ import { getFigmaLink } from '../../../figma';
5
+
6
+ export default {
7
+ title: 'Components/Carousel',
8
+ component: 'stzh-carousel',
9
+ parameters: {
10
+ layout: 'fullscreen',
11
+ actions: {
12
+ handles: ['stzhSlideStart', 'stzhSlidePassed', 'stzhSlideEnd']
13
+ },
14
+ docs: {
15
+ description: {
16
+ component: readme
17
+ }
18
+ },
19
+ design: {
20
+ type: 'figma',
21
+ url: getFigmaLink('carousel'),
22
+ allowFullscreen: true
23
+ }
24
+ },
25
+ decorators: [
26
+ withDesign
27
+ ]
28
+ };
29
+
30
+ const Card = (args) => (
31
+ <stzh-card {...args}>
32
+ <stzh-ratio slot="image">
33
+ <img src="media/images/example.jpg" loading="lazy" alt="Example image" />
34
+ </stzh-ratio>
35
+ <div slot="content">Laboris laborum aute id laboris culpa esse aliquip nisi anim velit.</div>
36
+ </stzh-card>
37
+ );
38
+
39
+ const Template = (args) => (
40
+ <stzh-container>
41
+ <stzh-vspace curve="big"></stzh-vspace>
42
+ <stzh-carousel {...args}>
43
+ <stzh-ratio slot="actions">
44
+ <stzh-hspace justify="end" items="end" size="none">
45
+ <stzh-button
46
+ data-stzh-carousel-previous
47
+ variant="secondary"
48
+ size="small"
49
+ icon="angle-left"
50
+ label="Previous slide"
51
+ icon-only
52
+ ></stzh-button>
53
+ <stzh-button
54
+ data-stzh-carousel-next
55
+ variant="secondary"
56
+ size="small"
57
+ icon="angle-right"
58
+ label="Next slide"
59
+ icon-only
60
+ ></stzh-button>
61
+ </stzh-hspace>
62
+ </stzh-ratio>
63
+
64
+ <stzh-figure caption="Lorem ipsum">
65
+ <stzh-ratio>
66
+ <img src="media/images/example.jpg" loading="lazy" alt="Example image" />
67
+ </stzh-ratio>
68
+ </stzh-figure>
69
+ <stzh-figure caption="Lorem ipsum">
70
+ <stzh-ratio>
71
+ <img src="media/images/example2.jpg" loading="lazy" alt="Example image" />
72
+ </stzh-ratio>
73
+ </stzh-figure>
74
+ <stzh-figure caption="Lorem ipsum">
75
+ <stzh-ratio>
76
+ <img src="media/images/example3.png" loading="lazy" alt="Example image" />
77
+ </stzh-ratio>
78
+ </stzh-figure>
79
+ <stzh-figure caption="Lorem ipsum">
80
+ <stzh-ratio>
81
+ <img src="media/images/example4.png" loading="lazy" alt="Example image" />
82
+ </stzh-ratio>
83
+ </stzh-figure>
84
+ </stzh-carousel>
85
+ <stzh-vspace curve="big"></stzh-vspace>
86
+ </stzh-container>
87
+ );
88
+
89
+ const TemplateCards = (args) => (
90
+ <stzh-container>
91
+ <stzh-vspace curve="big"></stzh-vspace>
92
+ <stzh-carousel {...args}>
93
+ <stzh-hspace slot="actions" justify="end" items="center" size="medium">
94
+ <stzh-text curve="p2" data-stzh-carousel-navigation-text>7 Offers</stzh-text>
95
+ <div>
96
+ <stzh-button
97
+ data-stzh-carousel-previous
98
+ variant="secondary"
99
+ size="small"
100
+ icon="angle-left"
101
+ label="Previous slide"
102
+ icon-only
103
+ ></stzh-button>
104
+ <stzh-button
105
+ data-stzh-carousel-next
106
+ variant="secondary"
107
+ size="small"
108
+ icon="angle-right"
109
+ label="Next slide"
110
+ icon-only
111
+ ></stzh-button>
112
+ </div>
113
+ </stzh-hspace>
114
+
115
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
116
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
117
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
118
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
119
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
120
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
121
+ {Card({ heading: "Lorem ipsum", href: '/', 'hide-header-border': true, 'hide-elevation': true })}
122
+ </stzh-carousel>
123
+ <stzh-vspace curve="big"></stzh-vspace>
124
+ </stzh-container>
125
+ );
126
+
127
+ export const Default = Template.bind({});
128
+ Default.args = {
129
+ 'aria-label': 'Carousel name'
130
+ };
131
+
132
+ export const Cards = TemplateCards.bind({});
133
+ Cards.args = {
134
+ 'variant': 'cards',
135
+ 'slides-small': '2',
136
+ 'slides-medium': '3',
137
+ 'slides-large': '4'
138
+ };
@@ -138,7 +138,9 @@ export class StzhCheckboxgroup {
138
138
  });
139
139
  }
140
140
  disconnectedCallback() {
141
- this.observer.disconnect();
141
+ if (this.observer) {
142
+ this.observer.disconnect();
143
+ }
142
144
  }
143
145
  render() {
144
146
  const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
@@ -101,7 +101,7 @@
101
101
  --color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
102
102
  --height: 2rem;
103
103
  --padding: 0 var(--stzh-space-medium);
104
- --border: 0.0625rem solid var(--stzh-color-grey13);
104
+ --border-color: var(--stzh-color-grey13);
105
105
  --border-radius: 1rem;
106
106
  --remove-color: var(--stzh-base-lead-color);
107
107
  --remove-border-radius: 1.5rem;
@@ -110,7 +110,7 @@
110
110
  --icon-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
111
111
  --counter-color: var(--stzh-color-primary60op);
112
112
  --hover-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
113
- --hover-border: var(--border);
113
+ --hover-border-color: var(--border-color);
114
114
  --hover-background-color: var(--stzh-color-primary8);
115
115
  --hover-remove-color: var(--hover-color);
116
116
  --hover-remove-background-color: var(--hover-background-color);
@@ -140,18 +140,18 @@
140
140
  --icon-size: var(--stzh-icon-size-xsmall);
141
141
  }
142
142
  :host[variant=input] {
143
- --border: 0.0625rem solid transparent;
143
+ --border-color: transparent;
144
144
  --background-color: var(--stzh-color-grey5);
145
- --hover-border: 0.0625rem solid transparent;
145
+ --hover-border-color: transparent;
146
146
  }
147
147
  :host[variant=tag] {
148
148
  --color: var(--stzh-base-color);
149
149
  --icon-color: var(--stzh-base-color);
150
150
  --counter-color: var(--stzh-base-color);
151
- --border: 0.0625rem solid transparent;
151
+ --border-color: transparent;
152
152
  --background-color: var(--stzh-color-black8);
153
153
  --hover-color: var(--stzh-base-color);
154
- --hover-border: 0.0625rem solid transparent;
154
+ --hover-border-color: transparent;
155
155
  --hover-background-color: var(--stzh-color-black8);
156
156
  --hover-icon-color: var(--stzh-base-color);
157
157
  --hover-counter-color: var(--stzh-base-color);
@@ -177,13 +177,13 @@
177
177
  }
178
178
  :host[active]:not([active=false]) {
179
179
  --color: var(--stzh-color-white);
180
- --border: 0.0625rem solid transparent;
180
+ --border-color: transparent;
181
181
  --remove-color: var(--stzh-color-white);
182
182
  --background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
183
183
  --icon-color: var(--stzh-color-white);
184
184
  --counter-color: var(--stzh-color-white56);
185
185
  --hover-color: var(--stzh-color-white);
186
- --hover-border: 0.0625rem solid transparent;
186
+ --hover-border-color: transparent;
187
187
  --hover-background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
188
188
  --hover-remove-color: var(--stzh-color-white);
189
189
  --hover-remove-background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
@@ -193,13 +193,13 @@
193
193
  @media (forced-colors: active), (-ms-high-contrast: active) {
194
194
  :host[active]:not([active=false]) {
195
195
  --color: SelectedItem;
196
- --border: 0.0625rem solid SelectedItem;
196
+ --border-color: SelectedItem;
197
197
  --remove-color: SelectedItem;
198
198
  --background-color: Canvas;
199
199
  --icon-color: SelectedItem;
200
200
  --counter-color: SelectedItem;
201
201
  --hover-color: Highlight;
202
- --hover-border: 0.0625rem solid Highlight;
202
+ --hover-border-color: Highlight;
203
203
  --hover-background-color: Canvas;
204
204
  --hover-remove-color: Highlight;
205
205
  --hover-remove-background-color: Canvas;
@@ -209,20 +209,20 @@
209
209
  }
210
210
  :host[non-interactive]:not([non-interactive=false]) {
211
211
  --hover-color: var(--color);
212
- --hover-border: var(--border);
212
+ --hover-border: var(--border-color);
213
213
  --hover-background-color: var(--background-color);
214
214
  --hover-icon-color: var(--icon-color);
215
215
  --hover-counter-color: var(--counter-color);
216
216
  }
217
217
  :host[disabled]:not([disabled=false]) {
218
218
  --color: var(--stzh-color-grey25);
219
- --border: 0.0625rem solid var(--stzh-base-border-color);
219
+ --border-color: var(--stzh-base-border-color);
220
220
  --remove-color: var(--stzh-color-grey13);
221
221
  --background-color: var(--stzh-color-white);
222
222
  --icon-color: var(--stzh-color-grey25);
223
223
  --counter-color: var(--stzh-color-grey25);
224
224
  --hover-color: var(--stzh-color-grey25);
225
- --hover-border: 0.0625rem solid var(--stzh-base-border-color);
225
+ --hover-border-color: var(--stzh-base-border-color);
226
226
  --hover-background-color: var(--stzh-color-white);
227
227
  --hover-remove-color: var(--stzh-color-grey13);
228
228
  --hover-remove-background-color: transparent;
@@ -266,7 +266,9 @@
266
266
  -webkit-appearance: none;
267
267
  -moz-appearance: none;
268
268
  appearance: none;
269
- border: var(--border);
269
+ border-width: 0.0625rem;
270
+ border-style: solid;
271
+ border-color: var(--border-color);
270
272
  background-color: var(--background-color);
271
273
  transition: all var(--stzh-base-transition-animation-speed);
272
274
  text-decoration: none;
@@ -325,7 +327,7 @@
325
327
  .stzh-chip__button:hover, .stzh-chip__remove:hover + .stzh-chip__button {
326
328
  color: var(--hover-color);
327
329
  background-color: var(--hover-background-color);
328
- border: var(--hover-border);
330
+ border-color: var(--hover-border-color);
329
331
  }
330
332
  .stzh-chip__button:hover .stzh-chip__counter {
331
333
  color: var(--hover-counter-color);
@@ -66,7 +66,8 @@ export class StzhChip {
66
66
  return (h(Fragment, null, h("div", { class: "stzh-chip__icon-wrapper" }, this.icon ?
67
67
  h("stzh-icon", { class: "stzh-chip__icon", name: this.icon })
68
68
  :
69
- h("slot", { name: "icon" })), h("stzh-clamp", { lines: 1, class: "stzh-chip__label" }, this.label ? this.label : h("slot", null), h("span", { class: "stzh-chip__vhidden" }, "\u00A0(", this.counter, ")")), this.counter &&
69
+ h("slot", { name: "icon" })), h("stzh-clamp", { lines: 1, class: "stzh-chip__label" }, this.label ? this.label : h("slot", null), this.counter &&
70
+ h("span", { class: "stzh-chip__vhidden" }, "\u00A0(", this.counter, ")")), this.counter &&
70
71
  h("div", { class: "stzh-chip__counter", "aria-hidden": "true" }, this.counter)));
71
72
  }
72
73
  render() {
@@ -186,7 +186,7 @@
186
186
  margin: calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2);
187
187
  }
188
188
  .stzh-chip-select__chip.is-focused, .stzh-chip-select__chip.is-focused[active]:not([active=false]) {
189
- --border: 0.0625rem solid var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
189
+ --border-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
190
190
  }
191
191
  .stzh-chip-select__chip.is-focused[active]:not([active=false]) {
192
192
  --background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
@@ -97,8 +97,14 @@
97
97
  box-sizing: border-box;
98
98
  }
99
99
 
100
- :host {
101
- --lines: 1;
100
+ stzh-clamp {
101
+ font-family: var(--stzh-font-family-regular);
102
+ font-weight: var(--stzh-font-weight-regular);
103
+ font-style: normal;
104
+ color: var(--stzh-base-color);
105
+ box-sizing: border-box;
106
+ display: block;
107
+ --current-lines: var(--lines, 0);
102
108
  width: 100%;
103
109
  color: inherit;
104
110
  font-family: inherit;
@@ -107,178 +113,39 @@
107
113
  font-size: inherit;
108
114
  line-height: inherit;
109
115
  }
110
-
111
- :host([lines="1"]) {
112
- --lines: 1;
113
- }
114
-
115
- :host([lines="2"]) {
116
- --lines: 2;
117
- }
118
-
119
- :host([lines="3"]) {
120
- --lines: 3;
121
- }
122
-
123
- :host([lines="4"]) {
124
- --lines: 4;
125
- }
126
-
127
- :host([lines="5"]) {
128
- --lines: 5;
129
- }
130
-
131
- @media screen and (min-width: 600px) {
132
- :host([lines-small="1"]) {
133
- --lines: 1;
134
- }
135
- }
136
-
137
- @media screen and (min-width: 600px) {
138
- :host([lines-small="2"]) {
139
- --lines: 2;
140
- }
141
- }
142
-
143
- @media screen and (min-width: 600px) {
144
- :host([lines-small="3"]) {
145
- --lines: 3;
146
- }
116
+ stzh-clamp[hidden] {
117
+ display: none;
147
118
  }
148
-
149
- @media screen and (min-width: 600px) {
150
- :host([lines-small="4"]) {
151
- --lines: 4;
152
- }
119
+ stzh-clamp *,
120
+ stzh-clamp *::before,
121
+ stzh-clamp *::after {
122
+ box-sizing: border-box;
153
123
  }
154
-
155
124
  @media screen and (min-width: 600px) {
156
- :host([lines-small="5"]) {
157
- --lines: 5;
125
+ stzh-clamp {
126
+ --current-lines: var(--lines-small, var(--lines, 0));
158
127
  }
159
128
  }
160
-
161
- @media screen and (min-width: 800px) {
162
- :host([lines-smallheader="1"]) {
163
- --lines: 1;
164
- }
165
- }
166
-
167
- @media screen and (min-width: 800px) {
168
- :host([lines-smallheader="2"]) {
169
- --lines: 2;
170
- }
171
- }
172
-
173
- @media screen and (min-width: 800px) {
174
- :host([lines-smallheader="3"]) {
175
- --lines: 3;
176
- }
177
- }
178
-
179
- @media screen and (min-width: 800px) {
180
- :host([lines-smallheader="4"]) {
181
- --lines: 4;
182
- }
183
- }
184
-
185
- @media screen and (min-width: 800px) {
186
- :host([lines-smallheader="5"]) {
187
- --lines: 5;
188
- }
189
- }
190
-
191
- @media screen and (min-width: 1024px) {
192
- :host([lines-medium="1"]) {
193
- --lines: 1;
194
- }
195
- }
196
-
197
129
  @media screen and (min-width: 1024px) {
198
- :host([lines-medium="2"]) {
199
- --lines: 2;
130
+ stzh-clamp {
131
+ --current-lines: var(--lines-medium, var(--lines-small, var(--lines, 0)));
200
132
  }
201
133
  }
202
-
203
- @media screen and (min-width: 1024px) {
204
- :host([lines-medium="3"]) {
205
- --lines: 3;
206
- }
207
- }
208
-
209
- @media screen and (min-width: 1024px) {
210
- :host([lines-medium="4"]) {
211
- --lines: 4;
212
- }
213
- }
214
-
215
- @media screen and (min-width: 1024px) {
216
- :host([lines-medium="5"]) {
217
- --lines: 5;
218
- }
219
- }
220
-
221
134
  @media screen and (min-width: 1260px) {
222
- :host([lines-large="1"]) {
223
- --lines: 1;
135
+ stzh-clamp {
136
+ --current-lines: var(--lines-large, var(--lines-medium, var(--lines-small, var(--lines, 0))));
224
137
  }
225
138
  }
226
-
227
- @media screen and (min-width: 1260px) {
228
- :host([lines-large="2"]) {
229
- --lines: 2;
230
- }
231
- }
232
-
233
- @media screen and (min-width: 1260px) {
234
- :host([lines-large="3"]) {
235
- --lines: 3;
236
- }
237
- }
238
-
239
- @media screen and (min-width: 1260px) {
240
- :host([lines-large="4"]) {
241
- --lines: 4;
242
- }
243
- }
244
-
245
- @media screen and (min-width: 1260px) {
246
- :host([lines-large="5"]) {
247
- --lines: 5;
248
- }
249
- }
250
-
251
- @media screen and (min-width: 1440px) {
252
- :host([lines-ultra="1"]) {
253
- --lines: 1;
254
- }
255
- }
256
-
257
- @media screen and (min-width: 1440px) {
258
- :host([lines-ultra="2"]) {
259
- --lines: 2;
260
- }
261
- }
262
-
263
- @media screen and (min-width: 1440px) {
264
- :host([lines-ultra="3"]) {
265
- --lines: 3;
266
- }
267
- }
268
-
269
139
  @media screen and (min-width: 1440px) {
270
- :host([lines-ultra="4"]) {
271
- --lines: 4;
272
- }
273
- }
274
-
275
- @media screen and (min-width: 1440px) {
276
- :host([lines-ultra="5"]) {
277
- --lines: 5;
140
+ stzh-clamp {
141
+ --current-lines: var(--lines-ultra, var(--lines-large, var(--lines-medium, var(--lines-small, var(--lines, 0)))));
278
142
  }
279
143
  }
280
144
 
281
145
  .stzh-clamp {
146
+ position: relative;
147
+ }
148
+ .stzh-clamp__text {
282
149
  overflow-wrap: break-word;
283
150
  word-wrap: break-word;
284
151
  word-break: break-word;
@@ -286,7 +153,26 @@
286
153
  hyphens: auto;
287
154
  display: -webkit-box;
288
155
  -webkit-box-orient: vertical;
289
- -webkit-line-clamp: var(--lines);
290
- line-clamp: var(--lines);
291
156
  overflow: hidden;
157
+ }
158
+ .stzh-clamp__text > *:first-child {
159
+ margin-top: 0 !important;
160
+ }
161
+ .stzh-clamp__text > *:last-child {
162
+ margin-bottom: 0 !important;
163
+ }
164
+ .stzh-clamp__text.is-clone {
165
+ position: absolute;
166
+ visibility: hidden;
167
+ opacity: 0;
168
+ top: 0;
169
+ left: 0;
170
+ width: 100%;
171
+ }
172
+ .stzh-clamp__trigger {
173
+ margin-top: var(--stzh-space-xxsmall);
174
+ }
175
+ .stzh-clamp--is-not-expanded .stzh-clamp__text, .stzh-clamp__text.is-clone {
176
+ -webkit-line-clamp: var(--current-lines);
177
+ line-clamp: var(--current-lines);
292
178
  }