@oiz/stzh-components 2.0.0-beta → 2.0.0

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 (272) hide show
  1. package/dist/cjs/{app-globals-58a084a9.js → app-globals-ec8cc33e.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-accordion-item.cjs.entry.js +33 -15
  4. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -9
  5. package/dist/cjs/stzh-badge_3.cjs.entry.js +17 -7
  6. package/dist/cjs/stzh-card-list.cjs.entry.js +19 -20
  7. package/dist/cjs/stzh-card.cjs.entry.js +34 -16
  8. package/dist/cjs/stzh-chip-select.cjs.entry.js +52 -4
  9. package/dist/cjs/stzh-chip.cjs.entry.js +3 -1
  10. package/dist/cjs/stzh-components.cjs.js +2 -2
  11. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-link.cjs.entry.js +8 -4
  21. package/dist/cjs/stzh-menu_2.cjs.entry.js +6 -2
  22. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-sortable.cjs.entry.js +3 -2
  27. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-upload.cjs.entry.js +47 -4
  29. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  31. package/dist/collection/assets/icons/mono/code-window.svg +3 -0
  32. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +34 -8
  33. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +123 -14
  34. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +9 -0
  35. package/dist/collection/components/stzh-actionset/stzh-actionset.js +1 -9
  36. package/dist/collection/components/stzh-badge/stzh-badge.css +22 -2
  37. package/dist/collection/components/stzh-badge/stzh-badge.js +25 -1
  38. package/dist/collection/components/stzh-button/stzh-button.js +45 -5
  39. package/dist/collection/components/stzh-card/stzh-card.css +2 -14
  40. package/dist/collection/components/stzh-card/stzh-card.js +37 -37
  41. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -4
  42. package/dist/collection/components/stzh-card-list/stzh-card-list.js +22 -49
  43. package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +2 -2
  44. package/dist/collection/components/stzh-chip/stzh-chip.js +38 -1
  45. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +80 -0
  46. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +213 -3
  47. package/dist/collection/components/stzh-cspace/stzh-cspace.css +87 -176
  48. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -8
  49. package/dist/collection/components/stzh-datatable/stzh-datatable.css +5 -0
  50. package/dist/collection/components/stzh-dialog/stzh-dialog.css +9 -19
  51. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +16 -16
  52. package/dist/collection/components/stzh-heading/stzh-heading.css +5 -15
  53. package/dist/collection/components/stzh-hspace/stzh-hspace.css +19 -24
  54. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +45 -32
  55. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  56. package/dist/collection/components/stzh-input/stzh-input.js +2 -2
  57. package/dist/collection/components/stzh-link/stzh-link.js +44 -4
  58. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +42 -2
  59. package/dist/collection/components/stzh-message/stzh-message.css +5 -0
  60. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -8
  61. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +226 -337
  62. package/dist/collection/components/stzh-richtext/stzh-richtext.css +88 -129
  63. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +8 -8
  64. package/dist/collection/components/stzh-sortable/stzh-sortable.css +12 -6
  65. package/dist/collection/components/stzh-sortable/stzh-sortable.js +2 -1
  66. package/dist/collection/components/stzh-table/stzh-table.css +5 -0
  67. package/dist/collection/components/stzh-upload/stzh-upload.css +16 -7
  68. package/dist/collection/components/stzh-upload/stzh-upload.js +46 -3
  69. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +1 -1
  70. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -7
  71. package/dist/collection/components/stzh-vspace/stzh-vspace.css +19 -24
  72. package/dist/collection/pages/meinkonto.stories.js +1 -1
  73. package/dist/components/index.js +1 -1
  74. package/dist/components/stzh-accordion-item.js +51 -16
  75. package/dist/components/stzh-actionset2.js +1 -9
  76. package/dist/components/stzh-badge2.js +10 -3
  77. package/dist/components/stzh-button2.js +11 -5
  78. package/dist/components/stzh-card-list.js +20 -22
  79. package/dist/components/stzh-card.js +34 -17
  80. package/dist/components/stzh-chip-select.js +63 -6
  81. package/dist/components/stzh-chip2.js +5 -1
  82. package/dist/components/stzh-cspace.js +1 -1
  83. package/dist/components/stzh-datamessagelist-item.js +1 -1
  84. package/dist/components/stzh-datatable.js +1 -1
  85. package/dist/components/stzh-dialog.js +1 -1
  86. package/dist/components/stzh-ghettobox2.js +1 -1
  87. package/dist/components/stzh-heading2.js +1 -1
  88. package/dist/components/stzh-hspace.js +1 -1
  89. package/dist/components/stzh-icon-sprite.js +1 -1
  90. package/dist/components/stzh-input2.js +2 -2
  91. package/dist/components/stzh-link2.js +10 -4
  92. package/dist/components/stzh-menu-item2.js +8 -2
  93. package/dist/components/stzh-message.js +1 -1
  94. package/dist/components/stzh-pagetitle.js +1 -1
  95. package/dist/components/stzh-portal-mitwirken.js +1 -1
  96. package/dist/components/stzh-richtext2.js +1 -1
  97. package/dist/components/stzh-saptcha.js +1 -1
  98. package/dist/components/stzh-sortable2.js +3 -2
  99. package/dist/components/stzh-table.js +1 -1
  100. package/dist/components/stzh-upload.js +47 -4
  101. package/dist/components/stzh-vbz-ticker.js +1 -1
  102. package/dist/components/stzh-vspace.js +1 -1
  103. package/dist/esm/{app-globals-6b6ff890.js → app-globals-e66420b3.js} +1 -1
  104. package/dist/esm/loader.js +2 -2
  105. package/dist/esm/stzh-accordion-item.entry.js +33 -15
  106. package/dist/esm/stzh-actionset.entry.js +1 -9
  107. package/dist/esm/stzh-badge_3.entry.js +17 -7
  108. package/dist/esm/stzh-card-list.entry.js +19 -20
  109. package/dist/esm/stzh-card.entry.js +34 -16
  110. package/dist/esm/stzh-chip-select.entry.js +52 -4
  111. package/dist/esm/stzh-chip.entry.js +3 -1
  112. package/dist/esm/stzh-components.js +2 -2
  113. package/dist/esm/stzh-cspace.entry.js +1 -1
  114. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  115. package/dist/esm/stzh-datatable.entry.js +1 -1
  116. package/dist/esm/stzh-dialog.entry.js +1 -1
  117. package/dist/esm/stzh-ghettobox_2.entry.js +2 -2
  118. package/dist/esm/stzh-heading.entry.js +1 -1
  119. package/dist/esm/stzh-hspace.entry.js +1 -1
  120. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  121. package/dist/esm/stzh-input.entry.js +2 -2
  122. package/dist/esm/stzh-link.entry.js +8 -4
  123. package/dist/esm/stzh-menu_2.entry.js +6 -2
  124. package/dist/esm/stzh-message.entry.js +1 -1
  125. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  126. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  127. package/dist/esm/stzh-saptcha.entry.js +1 -1
  128. package/dist/esm/stzh-sortable.entry.js +3 -2
  129. package/dist/esm/stzh-table.entry.js +1 -1
  130. package/dist/esm/stzh-upload.entry.js +47 -4
  131. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  132. package/dist/esm/stzh-vspace.entry.js +1 -1
  133. package/dist/esm-es5/app-globals-e66420b3.js +1 -0
  134. package/dist/esm-es5/loader.js +1 -1
  135. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  136. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  137. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  138. package/dist/esm-es5/stzh-card-list.entry.js +1 -1
  139. package/dist/esm-es5/stzh-card.entry.js +1 -1
  140. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  141. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  142. package/dist/esm-es5/stzh-components.js +1 -1
  143. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  144. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  145. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  146. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  147. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  148. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  149. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  150. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  151. package/dist/esm-es5/stzh-input.entry.js +1 -1
  152. package/dist/esm-es5/stzh-link.entry.js +1 -1
  153. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  154. package/dist/esm-es5/stzh-message.entry.js +1 -1
  155. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  156. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  157. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  158. package/dist/esm-es5/stzh-sortable.entry.js +1 -1
  159. package/dist/esm-es5/stzh-table.entry.js +1 -1
  160. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  161. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  162. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  163. package/dist/stzh-components/assets/icons/mono/code-window.svg +3 -0
  164. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +45 -32
  165. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  166. package/dist/stzh-components/{p-332e4fd3.entry.js → p-03ea86bd.entry.js} +1 -1
  167. package/dist/stzh-components/p-051bc2a8.entry.js +1 -0
  168. package/dist/stzh-components/{p-13f44000.entry.js → p-0711e511.entry.js} +1 -1
  169. package/dist/stzh-components/p-073c89b1.system.entry.js +1 -0
  170. package/dist/stzh-components/{p-8cbc987f.system.entry.js → p-1440163c.system.entry.js} +1 -1
  171. package/dist/stzh-components/p-18958371.entry.js +1 -0
  172. package/dist/stzh-components/p-20ef4a20.system.entry.js +1 -0
  173. package/dist/stzh-components/{p-8a9e588e.system.entry.js → p-21566d65.system.entry.js} +1 -1
  174. package/dist/stzh-components/{p-5975c355.system.entry.js → p-22701389.system.entry.js} +1 -1
  175. package/dist/stzh-components/p-252d3178.entry.js +1 -0
  176. package/dist/stzh-components/p-2ca4a828.system.entry.js +1 -0
  177. package/dist/stzh-components/p-3042b23e.entry.js +1 -0
  178. package/dist/stzh-components/p-3b912468.system.entry.js +1 -0
  179. package/dist/stzh-components/p-3beb58d6.system.entry.js +1 -0
  180. package/dist/stzh-components/p-3f0363db.entry.js +1 -0
  181. package/dist/stzh-components/{p-b084fcbf.system.entry.js → p-530252c6.system.entry.js} +1 -1
  182. package/dist/stzh-components/{p-3b27a43f.system.entry.js → p-5353ba86.system.entry.js} +2 -2
  183. package/dist/stzh-components/p-55cdbf79.entry.js +1 -0
  184. package/dist/stzh-components/p-562e6c52.entry.js +1 -0
  185. package/dist/stzh-components/{p-b9295dc2.entry.js → p-5f4eb46c.entry.js} +1 -1
  186. package/dist/stzh-components/p-62db1e59.entry.js +1 -0
  187. package/dist/stzh-components/{p-63d8db7b.entry.js → p-6425898c.entry.js} +1 -1
  188. package/dist/stzh-components/p-676fd54d.entry.js +1 -0
  189. package/dist/stzh-components/{p-e7a84e53.system.entry.js → p-684c345e.system.entry.js} +1 -1
  190. package/dist/stzh-components/{p-8f16b0ac.entry.js → p-713ae713.entry.js} +1 -1
  191. package/dist/stzh-components/p-764ba190.entry.js +1 -0
  192. package/dist/stzh-components/p-786a92d4.system.entry.js +1 -0
  193. package/dist/stzh-components/p-796ae62c.system.entry.js +1 -0
  194. package/dist/stzh-components/p-7ec2f3fd.entry.js +9 -0
  195. package/dist/stzh-components/p-80d70586.entry.js +1 -0
  196. package/dist/stzh-components/p-838df84a.system.entry.js +1 -0
  197. package/dist/stzh-components/p-84ab53cc.system.entry.js +1 -0
  198. package/dist/stzh-components/p-85161133.js +1 -0
  199. package/dist/stzh-components/p-864d7c50.entry.js +1 -0
  200. package/dist/stzh-components/p-8b6de2c0.system.entry.js +1 -0
  201. package/dist/stzh-components/{p-ab455116.system.entry.js → p-8c648042.system.entry.js} +1 -1
  202. package/dist/stzh-components/p-929dbdf1.system.entry.js +1 -0
  203. package/dist/stzh-components/p-9469b812.entry.js +1 -0
  204. package/dist/stzh-components/p-9e716229.entry.js +1 -0
  205. package/dist/stzh-components/p-a3fa6122.system.entry.js +1 -0
  206. package/dist/stzh-components/p-b391d962.system.entry.js +1 -0
  207. package/dist/stzh-components/p-b462a61f.entry.js +1 -0
  208. package/dist/stzh-components/{p-5987573e.system.entry.js → p-b5a85078.system.entry.js} +1 -1
  209. package/dist/stzh-components/p-b70bc70c.system.js +1 -0
  210. package/dist/stzh-components/{p-b9382599.entry.js → p-bb3c1249.entry.js} +1 -1
  211. package/dist/stzh-components/{p-b636a18a.system.entry.js → p-bbe4e3d1.system.entry.js} +1 -1
  212. package/dist/stzh-components/p-c4fc6433.system.entry.js +1 -0
  213. package/dist/stzh-components/p-cb1d4678.entry.js +1 -0
  214. package/dist/stzh-components/p-ccd30d73.system.entry.js +1 -0
  215. package/dist/stzh-components/p-cd795307.entry.js +1 -0
  216. package/dist/stzh-components/{p-c692e405.entry.js → p-cdc9e600.entry.js} +1 -1
  217. package/dist/stzh-components/p-d1552460.system.entry.js +1 -0
  218. package/dist/stzh-components/p-e3e3e88c.system.js +1 -0
  219. package/dist/stzh-components/p-eb61c369.entry.js +1 -0
  220. package/dist/stzh-components/p-ebeb8d7b.system.entry.js +1 -0
  221. package/dist/stzh-components/p-eca1732f.entry.js +1 -0
  222. package/dist/stzh-components/p-f24db7e8.system.entry.js +1 -0
  223. package/dist/stzh-components/stzh-components.css +1 -1
  224. package/dist/stzh-components/stzh-components.esm.js +1 -1
  225. package/dist/stzh-components/stzh-components.js +1 -1
  226. package/dist/types/components/stzh-badge/stzh-badge.d.ts +2 -0
  227. package/dist/types/components.d.ts +196 -28
  228. package/dist/types/index.d.ts +6 -1
  229. package/dist/vscode-data.json +180 -19
  230. package/package.json +1 -1
  231. package/dist/esm-es5/app-globals-6b6ff890.js +0 -1
  232. package/dist/stzh-components/p-0b8de542.system.entry.js +0 -1
  233. package/dist/stzh-components/p-0d5522dc.system.entry.js +0 -1
  234. package/dist/stzh-components/p-0efe125f.system.entry.js +0 -1
  235. package/dist/stzh-components/p-2818488f.entry.js +0 -1
  236. package/dist/stzh-components/p-373f79e8.entry.js +0 -1
  237. package/dist/stzh-components/p-3ac93a01.entry.js +0 -1
  238. package/dist/stzh-components/p-59c323ce.entry.js +0 -1
  239. package/dist/stzh-components/p-6354fee3.entry.js +0 -1
  240. package/dist/stzh-components/p-653c6bbc.entry.js +0 -1
  241. package/dist/stzh-components/p-67f906b1.entry.js +0 -1
  242. package/dist/stzh-components/p-6a81e64b.entry.js +0 -1
  243. package/dist/stzh-components/p-75cdc8a6.system.entry.js +0 -1
  244. package/dist/stzh-components/p-7ad87d98.system.entry.js +0 -1
  245. package/dist/stzh-components/p-7f9f9a8d.entry.js +0 -1
  246. package/dist/stzh-components/p-83b1e379.entry.js +0 -9
  247. package/dist/stzh-components/p-86bc421e.system.entry.js +0 -1
  248. package/dist/stzh-components/p-8aebb240.entry.js +0 -1
  249. package/dist/stzh-components/p-938ef748.entry.js +0 -1
  250. package/dist/stzh-components/p-9bda100f.system.js +0 -1
  251. package/dist/stzh-components/p-a99d3e97.system.entry.js +0 -1
  252. package/dist/stzh-components/p-af2664fc.system.entry.js +0 -1
  253. package/dist/stzh-components/p-b9c3f3cc.entry.js +0 -1
  254. package/dist/stzh-components/p-bd178c32.system.entry.js +0 -1
  255. package/dist/stzh-components/p-c013a00b.system.entry.js +0 -1
  256. package/dist/stzh-components/p-c456c04b.system.entry.js +0 -1
  257. package/dist/stzh-components/p-c499e04d.entry.js +0 -1
  258. package/dist/stzh-components/p-c83e4fec.system.entry.js +0 -1
  259. package/dist/stzh-components/p-ca062c11.system.js +0 -1
  260. package/dist/stzh-components/p-ce28428b.entry.js +0 -1
  261. package/dist/stzh-components/p-cfaac121.js +0 -1
  262. package/dist/stzh-components/p-d11a70e2.system.entry.js +0 -1
  263. package/dist/stzh-components/p-d1dba399.system.entry.js +0 -1
  264. package/dist/stzh-components/p-d2b5e066.entry.js +0 -1
  265. package/dist/stzh-components/p-d54f04c8.system.entry.js +0 -1
  266. package/dist/stzh-components/p-d645d645.entry.js +0 -1
  267. package/dist/stzh-components/p-da7b363e.entry.js +0 -1
  268. package/dist/stzh-components/p-de017b87.system.entry.js +0 -1
  269. package/dist/stzh-components/p-e009bfdc.entry.js +0 -1
  270. package/dist/stzh-components/p-f167eaa4.system.entry.js +0 -1
  271. package/dist/stzh-components/p-f2ee016a.entry.js +0 -1
  272. package/dist/stzh-components/p-ffa1e9dd.system.entry.js +0 -1
@@ -226,22 +226,14 @@
226
226
  :host ::slotted(*) h2,
227
227
  :host ::slotted(*) stzh-heading[level="1"],
228
228
  :host ::slotted(*) stzh-heading[level="2"] {
229
- margin-bottom: var(--stzh-space-medium);
230
- }
231
- @media screen and (min-width: 600px) {
232
- :host ::slotted(*) h1,
233
- :host ::slotted(*) h2,
234
- :host ::slotted(*) stzh-heading[level="1"],
235
- :host ::slotted(*) stzh-heading[level="2"] {
236
- margin-bottom: var(--stzh-space-large);
237
- }
229
+ margin-bottom: var(--stzh-space-xlarge);
238
230
  }
239
231
  @media screen and (min-width: 1024px) {
240
232
  :host ::slotted(*) h1,
241
233
  :host ::slotted(*) h2,
242
234
  :host ::slotted(*) stzh-heading[level="1"],
243
235
  :host ::slotted(*) stzh-heading[level="2"] {
244
- margin-bottom: var(--stzh-space-xlarge);
236
+ margin-bottom: var(--stzh-space-xxlarge);
245
237
  }
246
238
  }
247
239
  @media screen and (min-width: 1260px) {
@@ -249,108 +241,65 @@
249
241
  :host ::slotted(*) h2,
250
242
  :host ::slotted(*) stzh-heading[level="1"],
251
243
  :host ::slotted(*) stzh-heading[level="2"] {
252
- margin-bottom: var(--stzh-space-xxlarge);
244
+ margin-bottom: var(--stzh-space-xxxlarge);
253
245
  }
254
246
  }
255
247
  :host ::slotted(*) h1, :host ::slotted(*) h2 {
256
248
  padding-bottom: var(--stzh-space-xsmall);
257
249
  border-bottom: 0.0625rem solid var(--stzh-base-border-color);
258
250
  }
259
- @media screen and (min-width: 600px) {
260
- :host ::slotted(*) h1, :host ::slotted(*) h2 {
261
- padding-bottom: var(--stzh-space-small);
262
- }
263
- }
264
251
  @media screen and (min-width: 1024px) {
265
252
  :host ::slotted(*) h1, :host ::slotted(*) h2 {
266
- padding-bottom: var(--stzh-space-medium);
253
+ padding-bottom: var(--stzh-space-small);
267
254
  }
268
255
  }
269
256
  @media screen and (min-width: 1260px) {
270
257
  :host ::slotted(*) h1, :host ::slotted(*) h2 {
271
- padding-bottom: var(--stzh-space-large);
258
+ padding-bottom: var(--stzh-space-medium);
272
259
  }
273
260
  }
274
261
  :host ::slotted(*) h1,
275
- :host ::slotted(*) stzh-heading[level="1"] {
276
- margin-top: var(--stzh-space-large);
277
- }
278
- @media screen and (min-width: 600px) {
279
- :host ::slotted(*) h1,
280
- :host ::slotted(*) stzh-heading[level="1"] {
281
- margin-top: var(--stzh-space-xlarge);
282
- }
262
+ :host ::slotted(*) stzh-heading[level="1"],
263
+ :host ::slotted(*) h2,
264
+ :host ::slotted(*) stzh-heading[level="2"] {
265
+ margin-top: var(--stzh-space-xxlarge);
283
266
  }
284
267
  @media screen and (min-width: 1024px) {
285
268
  :host ::slotted(*) h1,
286
- :host ::slotted(*) stzh-heading[level="1"] {
287
- margin-top: var(--stzh-space-xxlarge);
269
+ :host ::slotted(*) stzh-heading[level="1"],
270
+ :host ::slotted(*) h2,
271
+ :host ::slotted(*) stzh-heading[level="2"] {
272
+ margin-top: var(--stzh-space-xxxlarge);
288
273
  }
289
274
  }
290
275
  @media screen and (min-width: 1260px) {
291
276
  :host ::slotted(*) h1,
292
- :host ::slotted(*) stzh-heading[level="1"] {
293
- margin-top: var(--stzh-space-xxxxlarge);
294
- }
295
- }
277
+ :host ::slotted(*) stzh-heading[level="1"],
296
278
  :host ::slotted(*) h2,
297
- :host ::slotted(*) stzh-heading[level="2"] {
298
- margin-top: var(--stzh-space-xxlarge);
299
- }
300
- @media screen and (min-width: 600px) {
301
- :host ::slotted(*) h2,
302
279
  :host ::slotted(*) stzh-heading[level="2"] {
303
280
  margin-top: var(--stzh-space-xxxxlarge);
304
281
  }
305
282
  }
306
- @media screen and (min-width: 1260px) {
307
- :host ::slotted(*) h2,
308
- :host ::slotted(*) stzh-heading[level="2"] {
309
- margin-top: var(--stzh-space-xbig);
310
- }
311
- }
312
283
  :host ::slotted(*) h3,
313
- :host ::slotted(*) stzh-heading[level="3"] {
314
- margin-top: var(--stzh-space-medium);
315
- }
316
- @media screen and (min-width: 600px) {
317
- :host ::slotted(*) h3,
318
- :host ::slotted(*) stzh-heading[level="3"] {
319
- margin-top: var(--stzh-space-large);
320
- }
321
- }
322
- @media screen and (min-width: 1024px) {
323
- :host ::slotted(*) h3,
324
- :host ::slotted(*) stzh-heading[level="3"] {
325
- margin-top: var(--stzh-space-xlarge);
326
- }
327
- }
328
- @media screen and (min-width: 1260px) {
329
- :host ::slotted(*) h3,
330
- :host ::slotted(*) stzh-heading[level="3"] {
331
- margin-top: var(--stzh-space-xxlarge);
332
- }
333
- }
284
+ :host ::slotted(*) stzh-heading[level="3"],
334
285
  :host ::slotted(*) h4,
335
286
  :host ::slotted(*) stzh-heading[level="4"] {
336
- margin-top: var(--stzh-space-medium);
337
- }
338
- @media screen and (min-width: 600px) {
339
- :host ::slotted(*) h4,
340
- :host ::slotted(*) stzh-heading[level="4"] {
341
- margin-top: var(--stzh-space-large);
342
- }
287
+ margin-top: var(--stzh-space-xlarge);
343
288
  }
344
289
  @media screen and (min-width: 1024px) {
345
- :host ::slotted(*) h4,
290
+ :host ::slotted(*) h3,
291
+ :host ::slotted(*) stzh-heading[level="3"],
292
+ :host ::slotted(*) h4,
346
293
  :host ::slotted(*) stzh-heading[level="4"] {
347
- margin-top: var(--stzh-space-xlarge);
294
+ margin-top: var(--stzh-space-xxlarge);
348
295
  }
349
296
  }
350
297
  @media screen and (min-width: 1260px) {
351
- :host ::slotted(*) h4,
298
+ :host ::slotted(*) h3,
299
+ :host ::slotted(*) stzh-heading[level="3"],
300
+ :host ::slotted(*) h4,
352
301
  :host ::slotted(*) stzh-heading[level="4"] {
353
- margin-top: var(--stzh-space-xxlarge);
302
+ margin-top: var(--stzh-space-xxxlarge);
354
303
  }
355
304
  }
356
305
  :host ::slotted(*) p,
@@ -372,6 +321,16 @@
372
321
  margin-top: var(--stzh-space-medium);
373
322
  }
374
323
  }
324
+ @media screen and (min-width: 1260px) {
325
+ :host ::slotted(*) p,
326
+ :host ::slotted(*) stzh-text,
327
+ :host ::slotted(*) ul,
328
+ :host ::slotted(*) ol,
329
+ :host ::slotted(*) dl,
330
+ :host ::slotted(*) stzh-list {
331
+ margin-top: var(--stzh-space-large);
332
+ }
333
+ }
375
334
  @media screen and (min-width: 1024px) {
376
335
  :host ::slotted(*) p,
377
336
  :host ::slotted(*) stzh-text,
@@ -382,6 +341,16 @@
382
341
  margin-bottom: var(--stzh-space-medium);
383
342
  }
384
343
  }
344
+ @media screen and (min-width: 1260px) {
345
+ :host ::slotted(*) p,
346
+ :host ::slotted(*) stzh-text,
347
+ :host ::slotted(*) ul,
348
+ :host ::slotted(*) ol,
349
+ :host ::slotted(*) dl,
350
+ :host ::slotted(*) stzh-list {
351
+ margin-bottom: var(--stzh-space-large);
352
+ }
353
+ }
385
354
  :host ::slotted(*) ul ul,
386
355
  :host ::slotted(*) ul ol,
387
356
  :host ::slotted(*) ul dl,
@@ -403,46 +372,32 @@
403
372
  }
404
373
  :host ::slotted(*) stzh-text[curve=hero],
405
374
  :host ::slotted(*) stzh-heading[curve=hero] {
406
- margin-bottom: var(--stzh-space-medium);
407
- }
408
- @media screen and (min-width: 600px) {
409
- :host ::slotted(*) stzh-text[curve=hero],
410
- :host ::slotted(*) stzh-heading[curve=hero] {
411
- margin-bottom: var(--stzh-space-large);
412
- }
375
+ margin-bottom: var(--stzh-space-xlarge);
413
376
  }
414
377
  @media screen and (min-width: 1024px) {
415
378
  :host ::slotted(*) stzh-text[curve=hero],
416
379
  :host ::slotted(*) stzh-heading[curve=hero] {
417
- margin-bottom: var(--stzh-space-xlarge);
380
+ margin-bottom: var(--stzh-space-xxlarge);
418
381
  }
419
382
  }
420
383
  @media screen and (min-width: 1260px) {
421
384
  :host ::slotted(*) stzh-text[curve=hero],
422
385
  :host ::slotted(*) stzh-heading[curve=hero] {
423
- margin-bottom: var(--stzh-space-xxlarge);
386
+ margin-bottom: var(--stzh-space-xxxlarge);
424
387
  }
425
388
  }
426
389
  :host ::slotted(*) stzh-text[curve=h1],
427
390
  :host ::slotted(*) stzh-heading[curve=h1],
428
391
  :host ::slotted(*) stzh-text[curve=h2],
429
392
  :host ::slotted(*) stzh-heading[curve=h2] {
430
- margin-bottom: var(--stzh-space-medium);
431
- }
432
- @media screen and (min-width: 600px) {
433
- :host ::slotted(*) stzh-text[curve=h1],
434
- :host ::slotted(*) stzh-heading[curve=h1],
435
- :host ::slotted(*) stzh-text[curve=h2],
436
- :host ::slotted(*) stzh-heading[curve=h2] {
437
- margin-bottom: var(--stzh-space-large);
438
- }
393
+ margin-bottom: var(--stzh-space-xlarge);
439
394
  }
440
395
  @media screen and (min-width: 1024px) {
441
396
  :host ::slotted(*) stzh-text[curve=h1],
442
397
  :host ::slotted(*) stzh-heading[curve=h1],
443
398
  :host ::slotted(*) stzh-text[curve=h2],
444
399
  :host ::slotted(*) stzh-heading[curve=h2] {
445
- margin-bottom: var(--stzh-space-xlarge);
400
+ margin-bottom: var(--stzh-space-xxlarge);
446
401
  }
447
402
  }
448
403
  @media screen and (min-width: 1260px) {
@@ -450,23 +405,17 @@
450
405
  :host ::slotted(*) stzh-heading[curve=h1],
451
406
  :host ::slotted(*) stzh-text[curve=h2],
452
407
  :host ::slotted(*) stzh-heading[curve=h2] {
453
- margin-bottom: var(--stzh-space-xxlarge);
408
+ margin-bottom: var(--stzh-space-xxxlarge);
454
409
  }
455
410
  }
456
411
  :host ::slotted(*) stzh-text[curve=h1],
457
412
  :host ::slotted(*) stzh-heading[curve=h1] {
458
- margin-top: var(--stzh-space-large);
459
- }
460
- @media screen and (min-width: 600px) {
461
- :host ::slotted(*) stzh-text[curve=h1],
462
- :host ::slotted(*) stzh-heading[curve=h1] {
463
- margin-top: var(--stzh-space-xlarge);
464
- }
413
+ margin-top: var(--stzh-space-xxlarge);
465
414
  }
466
415
  @media screen and (min-width: 1024px) {
467
416
  :host ::slotted(*) stzh-text[curve=h1],
468
417
  :host ::slotted(*) stzh-heading[curve=h1] {
469
- margin-top: var(--stzh-space-xxlarge);
418
+ margin-top: var(--stzh-space-xxxlarge);
470
419
  }
471
420
  }
472
421
  @media screen and (min-width: 1260px) {
@@ -477,7 +426,7 @@
477
426
  }
478
427
  :host ::slotted(*) stzh-text[curve=h2],
479
428
  :host ::slotted(*) stzh-heading[curve=h2] {
480
- margin-top: var(--stzh-space-xxlarge);
429
+ margin-top: var(--stzh-space-xxxlarge);
481
430
  }
482
431
  @media screen and (min-width: 600px) {
483
432
  :host ::slotted(*) stzh-text[curve=h2],
@@ -485,6 +434,12 @@
485
434
  margin-top: var(--stzh-space-xxxxlarge);
486
435
  }
487
436
  }
437
+ @media screen and (min-width: 1024px) {
438
+ :host ::slotted(*) stzh-text[curve=h2],
439
+ :host ::slotted(*) stzh-heading[curve=h2] {
440
+ margin-top: var(--stzh-space-big);
441
+ }
442
+ }
488
443
  @media screen and (min-width: 1260px) {
489
444
  :host ::slotted(*) stzh-text[curve=h2],
490
445
  :host ::slotted(*) stzh-heading[curve=h2] {
@@ -493,46 +448,34 @@
493
448
  }
494
449
  :host ::slotted(*) stzh-text[curve=h3],
495
450
  :host ::slotted(*) stzh-heading[curve=h3] {
496
- margin-top: var(--stzh-space-medium);
497
- }
498
- @media screen and (min-width: 600px) {
499
- :host ::slotted(*) stzh-text[curve=h3],
500
- :host ::slotted(*) stzh-heading[curve=h3] {
501
- margin-top: var(--stzh-space-large);
502
- }
451
+ margin-top: var(--stzh-space-xlarge);
503
452
  }
504
453
  @media screen and (min-width: 1024px) {
505
454
  :host ::slotted(*) stzh-text[curve=h3],
506
455
  :host ::slotted(*) stzh-heading[curve=h3] {
507
- margin-top: var(--stzh-space-xlarge);
456
+ margin-top: var(--stzh-space-xxlarge);
508
457
  }
509
458
  }
510
459
  @media screen and (min-width: 1260px) {
511
460
  :host ::slotted(*) stzh-text[curve=h3],
512
461
  :host ::slotted(*) stzh-heading[curve=h3] {
513
- margin-top: var(--stzh-space-xxlarge);
462
+ margin-top: var(--stzh-space-xxxlarge);
514
463
  }
515
464
  }
516
465
  :host ::slotted(*) stzh-text[curve=h4],
517
466
  :host ::slotted(*) stzh-heading[curve=h4] {
518
- margin-top: var(--stzh-space-medium);
519
- }
520
- @media screen and (min-width: 600px) {
521
- :host ::slotted(*) stzh-text[curve=h4],
522
- :host ::slotted(*) stzh-heading[curve=h4] {
523
- margin-top: var(--stzh-space-large);
524
- }
467
+ margin-top: var(--stzh-space-xlarge);
525
468
  }
526
469
  @media screen and (min-width: 1024px) {
527
470
  :host ::slotted(*) stzh-text[curve=h4],
528
471
  :host ::slotted(*) stzh-heading[curve=h4] {
529
- margin-top: var(--stzh-space-xlarge);
472
+ margin-top: var(--stzh-space-xxlarge);
530
473
  }
531
474
  }
532
475
  @media screen and (min-width: 1260px) {
533
476
  :host ::slotted(*) stzh-text[curve=h4],
534
477
  :host ::slotted(*) stzh-heading[curve=h4] {
535
- margin-top: var(--stzh-space-xxlarge);
478
+ margin-top: var(--stzh-space-xxxlarge);
536
479
  }
537
480
  }
538
481
  :host ::slotted(*) stzh-text[curve=p1],
@@ -550,6 +493,14 @@
550
493
  margin-top: var(--stzh-space-medium);
551
494
  }
552
495
  }
496
+ @media screen and (min-width: 1260px) {
497
+ :host ::slotted(*) stzh-text[curve=p1],
498
+ :host ::slotted(*) stzh-text[curve=p2],
499
+ :host ::slotted(*) stzh-heading[curve=p1],
500
+ :host ::slotted(*) stzh-heading[curve=p2] {
501
+ margin-top: var(--stzh-space-large);
502
+ }
503
+ }
553
504
  @media screen and (min-width: 1024px) {
554
505
  :host ::slotted(*) stzh-text[curve=p1],
555
506
  :host ::slotted(*) stzh-text[curve=p2],
@@ -558,6 +509,14 @@
558
509
  margin-bottom: var(--stzh-space-medium);
559
510
  }
560
511
  }
512
+ @media screen and (min-width: 1260px) {
513
+ :host ::slotted(*) stzh-text[curve=p1],
514
+ :host ::slotted(*) stzh-text[curve=p2],
515
+ :host ::slotted(*) stzh-heading[curve=p1],
516
+ :host ::slotted(*) stzh-heading[curve=p2] {
517
+ margin-bottom: var(--stzh-space-large);
518
+ }
519
+ }
561
520
  :host ::slotted(*) ul, :host ::slotted(*) ol, :host ::slotted(*) dl {
562
521
  list-style: none;
563
522
  padding-left: 0;
@@ -602,7 +561,7 @@
602
561
  letter-spacing: var(--stzh-font-curve-h3-default-text-letter-spacing);
603
562
  padding-left: var(--stzh-space-medium);
604
563
  padding-right: var(--stzh-space-medium);
605
- margin: var(--stzh-space-large);
564
+ margin: var(--stzh-space-xxlarge);
606
565
  color: var(--stzh-richttext-blockquote-color);
607
566
  position: relative;
608
567
  }
@@ -640,14 +599,9 @@
640
599
  padding-right: var(--stzh-space-xlarge);
641
600
  }
642
601
  }
643
- @media screen and (min-width: 600px) {
644
- :host ::slotted(*) blockquote {
645
- margin: var(--stzh-space-xlarge);
646
- }
647
- }
648
602
  @media screen and (min-width: 1024px) {
649
603
  :host ::slotted(*) blockquote {
650
- margin: var(--stzh-space-xxlarge);
604
+ margin: var(--stzh-space-xxxlarge);
651
605
  }
652
606
  }
653
607
  @media screen and (min-width: 1260px) {
@@ -674,6 +628,11 @@
674
628
  margin-bottom: var(--stzh-space-medium);
675
629
  }
676
630
  }
631
+ @media screen and (min-width: 1260px) {
632
+ :host ::slotted(*) blockquote p {
633
+ margin-bottom: var(--stzh-space-large);
634
+ }
635
+ }
677
636
  :host ::slotted(*) blockquote p::before, :host ::slotted(*) blockquote p::after {
678
637
  display: inline-block;
679
638
  }
@@ -96,7 +96,7 @@
96
96
 
97
97
  .stzh-saptcha__box {
98
98
  padding-top: var(--stzh-space-medium);
99
- padding-bottom: var(--stzh-space-medium);
99
+ padding-bottom: var(--stzh-space-xlarge);
100
100
  padding-left: var(--stzh-space-medium);
101
101
  padding-right: var(--stzh-space-medium);
102
102
  background-color: var(--stzh-section-highlight-background-color);
@@ -111,19 +111,14 @@
111
111
  padding-top: var(--stzh-space-xlarge);
112
112
  }
113
113
  }
114
- @media screen and (min-width: 600px) {
115
- .stzh-saptcha__box {
116
- padding-bottom: var(--stzh-space-large);
117
- }
118
- }
119
114
  @media screen and (min-width: 1024px) {
120
115
  .stzh-saptcha__box {
121
- padding-bottom: var(--stzh-space-xlarge);
116
+ padding-bottom: var(--stzh-space-xxlarge);
122
117
  }
123
118
  }
124
119
  @media screen and (min-width: 1260px) {
125
120
  .stzh-saptcha__box {
126
- padding-bottom: var(--stzh-space-xxlarge);
121
+ padding-bottom: var(--stzh-space-xxxlarge);
127
122
  }
128
123
  }
129
124
  @media screen and (min-width: 1024px) {
@@ -167,4 +162,9 @@
167
162
  .stzh-saptcha__input {
168
163
  margin-top: var(--stzh-space-medium);
169
164
  }
165
+ }
166
+ @media screen and (min-width: 1260px) {
167
+ .stzh-saptcha__input {
168
+ margin-top: var(--stzh-space-large);
169
+ }
170
170
  }
@@ -95,24 +95,30 @@
95
95
  }
96
96
 
97
97
  :host {
98
+ --cursor: grab;
99
+ --grabbing-cursor: grabbing;
98
100
  --unselected-item-opacity: 0.6;
99
101
  --ghost-item-background: var(--stzh-color-grey5);
100
102
  --ghost-item-box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.32);
101
103
  }
104
+ :host[disabled] {
105
+ --cursor: inherit;
106
+ }
107
+ :host[disabled] ::slotted(*) *.is-sortable-item {
108
+ -webkit-user-select: auto;
109
+ -moz-user-select: auto;
110
+ user-select: auto;
111
+ }
102
112
  :host ::slotted(*) *.is-sortable-item {
103
113
  position: relative;
104
114
  transition: opacity var(--stzh-base-transition-animation-speed);
105
115
  -webkit-user-select: none;
106
116
  -moz-user-select: none;
107
117
  user-select: none;
108
- cursor: move;
109
- cursor: -webkit-grab;
110
- cursor: grab;
118
+ cursor: var(--cursor);
111
119
  }
112
120
  :host ::slotted(*) *.is-sortable-item.is-drag, :host ::slotted(*) *.is-sortable-item.is-chosen, :host ::slotted(*) *.is-sortable-item.is-ghost, :host ::slotted(*) *.is-sortable-item.is-selected {
113
- cursor: move;
114
- cursor: -webkit-grabbing;
115
- cursor: grabbing;
121
+ cursor: var(--grabbing-cursor);
116
122
  }
117
123
  :host ::slotted(*) *.is-sortable-item.is-drag {
118
124
  opacity: 1 !important;
@@ -302,7 +302,8 @@ export class StzhSortable {
302
302
  }
303
303
  render() {
304
304
  const classes = {
305
- "stzh-sortable": true
305
+ "stzh-sortable": true,
306
+ "stzh-sortable--disabled": this.disabled
306
307
  };
307
308
  return (h(Host, null, h("div", { class: classes }, h("div", { id: `${this.sortableId}-description`, class: "stzh-sortable__description" }, this.localization.description), h("div", { ref: (el) => (this.ariaLiveElement = el), "aria-live": "assertive", class: "stzh-sortable__aria-live" }), h("div", { ref: (el) => (this.containerElement = el), class: "stzh-sortable__container" }, h("slot", null)))));
308
309
  }
@@ -131,6 +131,11 @@ stzh-table *::after {
131
131
  padding-bottom: var(--stzh-space-medium);
132
132
  }
133
133
  }
134
+ @media screen and (min-width: 1260px) {
135
+ .stzh-table__header {
136
+ padding-bottom: var(--stzh-space-large);
137
+ }
138
+ }
134
139
  @media screen and (min-width: 1024px) {
135
140
  .stzh-table__header {
136
141
  margin-bottom: var(--stzh-space-large);
@@ -218,7 +218,7 @@ stzh-upload *::after {
218
218
  font-size: var(--stzh-font-milli-font-size);
219
219
  line-height: var(--stzh-font-milli-text-line-height);
220
220
  letter-spacing: var(--stzh-font-curve---text-letter-spacing);
221
- padding: var(--stzh-space-large);
221
+ padding: var(--stzh-space-xxlarge);
222
222
  display: flex;
223
223
  flex-direction: column;
224
224
  align-items: center;
@@ -230,14 +230,9 @@ stzh-upload *::after {
230
230
  border-image-repeat: round;
231
231
  transition: background-color var(--stzh-base-transition-animation-speed);
232
232
  }
233
- @media screen and (min-width: 600px) {
234
- .stzh-upload__clickarea {
235
- padding: var(--stzh-space-xlarge);
236
- }
237
- }
238
233
  @media screen and (min-width: 1024px) {
239
234
  .stzh-upload__clickarea {
240
- padding: var(--stzh-space-xxlarge);
235
+ padding: var(--stzh-space-xxxlarge);
241
236
  }
242
237
  }
243
238
  @media screen and (min-width: 1260px) {
@@ -259,6 +254,11 @@ stzh-upload *::after {
259
254
  margin-top: var(--stzh-space-medium);
260
255
  }
261
256
  }
257
+ @media screen and (min-width: 1260px) {
258
+ .stzh-upload__button {
259
+ margin-top: var(--stzh-space-large);
260
+ }
261
+ }
262
262
  .stzh-upload stzh-icon.stzh-upload__delete-icon-error {
263
263
  display: none;
264
264
  }
@@ -283,6 +283,12 @@ stzh-upload *::after {
283
283
  .stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete {
284
284
  display: flex;
285
285
  }
286
+ .stzh-upload__preview.dz-empty .stzh-upload__extension::after {
287
+ content: "";
288
+ }
289
+ .stzh-upload__preview.dz-empty .stzh-upload__size {
290
+ display: none;
291
+ }
286
292
  .stzh-upload__inner {
287
293
  height: 3.875rem;
288
294
  display: flex;
@@ -364,6 +370,9 @@ stzh-upload *::after {
364
370
  .stzh-upload__extension {
365
371
  text-transform: uppercase;
366
372
  }
373
+ .stzh-upload__extension::after {
374
+ content: " | ";
375
+ }
367
376
  .stzh-upload__delete {
368
377
  cursor: pointer;
369
378
  -webkit-appearance: none;
@@ -263,12 +263,56 @@ export class StzhUpload {
263
263
  dictResponseError: this.localization.responseError,
264
264
  dictInvalidFileType: this.localization.invalidFileType,
265
265
  dictFileTooBig: this.localization.fileTooBig,
266
+ // Called when a file is added to the queue
267
+ // Receives `file`
268
+ // Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L594
269
+ addedfile(file) {
270
+ if (this.element === this.previewsContainer) {
271
+ this.element.classList.add("dz-started");
272
+ }
273
+ if (this.previewsContainer && !this.options.disablePreviews) {
274
+ file.previewElement = Dropzone.createElement(this.options.previewTemplate.trim());
275
+ file.previewTemplate = file.previewElement; // Backwards compatibility
276
+ this.previewsContainer.appendChild(file.previewElement);
277
+ if (file.size == 0) {
278
+ file.previewElement.classList.add('dz-empty');
279
+ }
280
+ for (var node of file.previewElement.querySelectorAll("[data-dz-name]")) {
281
+ node.textContent = file.name;
282
+ }
283
+ for (node of file.previewElement.querySelectorAll("[data-dz-size]")) {
284
+ node.innerHTML = this.filesize(file.size);
285
+ }
286
+ if (this.options.addRemoveLinks) {
287
+ file._removeLink = Dropzone.createElement(`<a class="dz-remove" href="javascript:undefined;" data-dz-remove>${this.options.dictRemoveFile}</a>`);
288
+ file.previewElement.appendChild(file._removeLink);
289
+ }
290
+ let removeFileEvent = (e) => {
291
+ e.preventDefault();
292
+ e.stopPropagation();
293
+ if (file.status === Dropzone.UPLOADING) {
294
+ return Dropzone.confirm(this.options.dictCancelUploadConfirmation, () => this.removeFile(file));
295
+ }
296
+ else {
297
+ if (this.options.dictRemoveFileConfirmation) {
298
+ return Dropzone.confirm(this.options.dictRemoveFileConfirmation, () => this.removeFile(file));
299
+ }
300
+ else {
301
+ return this.removeFile(file);
302
+ }
303
+ }
304
+ };
305
+ for (let removeLink of file.previewElement.querySelectorAll("[data-dz-remove]")) {
306
+ removeLink.addEventListener("click", removeFileEvent);
307
+ }
308
+ }
309
+ },
266
310
  // When the upload is finished, either with success or an error.
267
311
  // Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L752
268
312
  complete(file) {
269
313
  for (let node of file.previewElement.querySelectorAll("[data-dz-remove]")) {
270
- node.setAttribute('title', this.options.dictRemoveFile);
271
- node.setAttribute('aria-label', this.options.dictRemoveFile);
314
+ node.setAttribute("title", this.options.dictRemoveFile);
315
+ node.setAttribute("aria-label", this.options.dictRemoveFile);
272
316
  }
273
317
  // move file uploads with errors to another element, so they are grouped together
274
318
  if (file.status === "error") {
@@ -348,7 +392,6 @@ export class StzhUpload {
348
392
  </div>
349
393
  <div class="stzh-upload__meta">
350
394
  <span class="stzh-upload__extension" data-dz-extension></span>
351
- |
352
395
  <span class="stzh-upload__size" data-dz-size></span>
353
396
  </div>
354
397
  <div class="stzh-upload__error-message">
@@ -66,6 +66,6 @@ ExistingFiles.args = {
66
66
  'existing-files': `[
67
67
  { "name": "Filename.pdf", "size": 12345, "id": "upload-1" },
68
68
  { "name": "Filename2.pdf", "size": 22345, "id": "upload-2" },
69
- { "name": "Filename3.pdf", "size": 32345, "id": "upload-3" }
69
+ { "name": "Filename3.pdf", "size": 0, "id": "upload-3" }
70
70
  ]`
71
71
  };
@@ -154,19 +154,14 @@
154
154
  line-height: var(--stzh-font-micro-text-line-height);
155
155
  margin-top: var(--stzh-space-xsmall);
156
156
  }
157
- @media screen and (min-width: 600px) {
158
- .stzh-vbz-ticker__description {
159
- margin-top: var(--stzh-space-small);
160
- }
161
- }
162
157
  @media screen and (min-width: 1024px) {
163
158
  .stzh-vbz-ticker__description {
164
- margin-top: var(--stzh-space-medium);
159
+ margin-top: var(--stzh-space-small);
165
160
  }
166
161
  }
167
162
  @media screen and (min-width: 1260px) {
168
163
  .stzh-vbz-ticker__description {
169
- margin-top: var(--stzh-space-large);
164
+ margin-top: var(--stzh-space-medium);
170
165
  }
171
166
  }
172
167
  .stzh-vbz-ticker__link {