@oiz/stzh-components 2.1.0-alpha → 2.1.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 (386) hide show
  1. package/dist/cjs/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
  2. package/dist/cjs/{app-globals-e1f4f1d9.js → app-globals-dc82b9ca.js} +1 -1
  3. package/dist/cjs/{js.cookie-9c263d23.js → js.cookie-226c94ed.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion-item.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-actions.cjs.entry.js +2 -2
  7. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  8. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -1
  10. package/dist/cjs/stzh-chart.cjs.entry.js +26127 -0
  11. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  12. package/dist/cjs/stzh-chip.cjs.entry.js +13 -6
  13. package/dist/cjs/stzh-components.cjs.js +2 -2
  14. package/dist/cjs/stzh-contactaddress.cjs.entry.js +65 -0
  15. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-footer.cjs.entry.js +12 -6
  21. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-link.cjs.entry.js +2 -1
  26. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
  30. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
  31. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-share.cjs.entry.js +113 -0
  33. package/dist/cjs/stzh-upload.cjs.entry.js +52 -36
  34. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +12 -4
  35. package/dist/collection/assets/i18n/de.json +10 -0
  36. package/dist/collection/assets/i18n/en.json +10 -0
  37. package/dist/collection/assets/icons/mono/facebook-filled.svg +3 -0
  38. package/dist/collection/assets/icons/mono/linkedin-filled.svg +12 -0
  39. package/dist/collection/assets/icons/mono/mail-filled.svg +6 -0
  40. package/dist/collection/assets/icons/mono/star-filled.svg +1 -1
  41. package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -0
  42. package/dist/collection/assets/icons/mono/xing-filled.svg +4 -0
  43. package/dist/collection/assets/media/olmap/marker-active.png +0 -0
  44. package/dist/collection/assets/media/olmap/marker.png +0 -0
  45. package/dist/collection/collection-manifest.json +5 -0
  46. package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
  47. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +51 -3
  48. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  49. package/dist/collection/components/stzh-actions/stzh-actions.css +7 -1
  50. package/dist/collection/components/stzh-actions/stzh-actions.js +3 -3
  51. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
  52. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +5 -0
  53. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  54. package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
  55. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
  56. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  57. package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
  58. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
  59. package/dist/collection/components/stzh-button/stzh-button.css +3 -0
  60. package/dist/collection/components/stzh-button/stzh-button.js +19 -1
  61. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
  62. package/dist/collection/components/stzh-card/stzh-card.css +3 -0
  63. package/dist/collection/components/stzh-card-list/stzh-card-list.css +3 -0
  64. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
  65. package/dist/collection/components/stzh-chart/stzh-chart.css +799 -0
  66. package/dist/collection/components/stzh-chart/stzh-chart.js +110 -0
  67. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +287 -0
  68. package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
  69. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -3
  70. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
  71. package/dist/collection/components/stzh-chip/stzh-chip.css +4 -21
  72. package/dist/collection/components/stzh-chip/stzh-chip.js +49 -24
  73. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +0 -9
  74. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
  75. package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
  76. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +153 -0
  77. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +321 -0
  78. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +100 -0
  79. package/dist/collection/components/stzh-container/stzh-container.css +3 -0
  80. package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
  81. package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
  82. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +13 -2
  83. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -11
  84. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  85. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  86. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
  87. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
  88. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
  89. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
  90. package/dist/collection/components/stzh-figure/stzh-figure.css +3 -1
  91. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
  92. package/dist/collection/components/stzh-footer/stzh-footer.css +53 -0
  93. package/dist/collection/components/stzh-footer/stzh-footer.js +46 -18
  94. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +21 -1
  95. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +10 -10
  96. package/dist/collection/components/stzh-header/stzh-header.css +3 -0
  97. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  98. package/dist/collection/components/stzh-heading/stzh-heading.css +9 -6
  99. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  100. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
  101. package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
  102. package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
  103. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +95 -30
  104. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  105. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +8 -1
  106. package/dist/collection/components/stzh-input/stzh-input.css +3 -0
  107. package/dist/collection/components/stzh-link/stzh-link.css +3 -0
  108. package/dist/collection/components/stzh-link/stzh-link.js +19 -1
  109. package/dist/collection/components/stzh-list/stzh-list.css +3 -0
  110. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
  111. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
  112. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
  113. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
  114. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
  115. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
  116. package/dist/collection/components/stzh-message/stzh-message.css +3 -0
  117. package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
  118. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
  119. package/dist/collection/components/stzh-olmap/stzh-olmap.js +2 -2
  120. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
  121. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
  122. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +153 -0
  123. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
  124. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
  125. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -0
  126. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
  127. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
  128. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +396 -0
  129. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +157 -0
  130. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +94 -0
  131. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
  132. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +8 -4
  133. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
  134. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
  135. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
  136. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
  137. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
  138. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
  139. package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
  140. package/dist/collection/components/stzh-row/stzh-row.css +3 -0
  141. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
  142. package/dist/collection/components/stzh-section/stzh-section.css +3 -0
  143. package/dist/collection/components/stzh-share/stzh-share.css +149 -0
  144. package/dist/collection/components/stzh-share/stzh-share.js +184 -0
  145. package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
  146. package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
  147. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
  148. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
  149. package/dist/collection/components/stzh-status/stzh-status.css +3 -0
  150. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
  151. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +1 -1
  152. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  153. package/dist/collection/components/stzh-text/stzh-text.css +3 -0
  154. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
  155. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
  156. package/dist/collection/components/stzh-upload/stzh-upload.css +44 -19
  157. package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
  158. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
  159. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
  160. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
  161. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
  162. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
  163. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
  164. package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
  165. package/dist/components/_commonjsHelpers.js +16 -1
  166. package/dist/components/index.d.ts +5 -0
  167. package/dist/components/index.js +6 -1
  168. package/dist/components/stzh-accordion-item.js +2 -2
  169. package/dist/components/stzh-actions.js +2 -2
  170. package/dist/components/stzh-anchornav.js +2 -2
  171. package/dist/components/stzh-appointments.js +1 -1
  172. package/dist/components/stzh-button2.js +3 -1
  173. package/dist/components/stzh-chart.d.ts +11 -0
  174. package/dist/components/stzh-chart.js +26144 -0
  175. package/dist/components/stzh-checkbox.js +2 -2
  176. package/dist/components/stzh-chip2.js +16 -8
  177. package/dist/components/stzh-contactaddress.d.ts +11 -0
  178. package/dist/components/stzh-contactaddress.js +93 -0
  179. package/dist/components/stzh-datamessagelist-item.js +14 -8
  180. package/dist/components/stzh-datamessagelist.js +1 -1
  181. package/dist/components/stzh-figure.js +1 -1
  182. package/dist/components/stzh-footer.js +14 -7
  183. package/dist/components/stzh-ghettobox2.js +1 -1
  184. package/dist/components/stzh-header.js +1 -1
  185. package/dist/components/stzh-heading2.js +2 -2
  186. package/dist/components/stzh-icon-sprite.js +2 -2
  187. package/dist/components/stzh-link2.js +3 -1
  188. package/dist/components/stzh-list-item.js +1 -1
  189. package/dist/components/stzh-olmap.js +1 -1
  190. package/dist/components/stzh-pagebottom.d.ts +11 -0
  191. package/dist/components/stzh-pagebottom.js +70 -0
  192. package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
  193. package/dist/components/stzh-pagetitle-hero.js +116 -0
  194. package/dist/components/stzh-portal-mitwirken.js +1 -1
  195. package/dist/components/stzh-share.d.ts +11 -0
  196. package/dist/components/stzh-share.js +6 -0
  197. package/dist/components/stzh-share2.js +139 -0
  198. package/dist/components/stzh-upload.js +53 -36
  199. package/dist/components/stzh-vbz-linechip2.js +11 -3
  200. package/dist/esm/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
  201. package/dist/esm/{app-globals-453acbdb.js → app-globals-246b5e49.js} +1 -1
  202. package/dist/esm/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  203. package/dist/esm/loader.js +2 -2
  204. package/dist/esm/stzh-accordion-item.entry.js +2 -2
  205. package/dist/esm/stzh-actions.entry.js +2 -2
  206. package/dist/esm/stzh-anchornav.entry.js +2 -2
  207. package/dist/esm/stzh-appointments.entry.js +1 -1
  208. package/dist/esm/stzh-badge_3.entry.js +2 -1
  209. package/dist/esm/stzh-chart.entry.js +26123 -0
  210. package/dist/esm/stzh-checkbox.entry.js +2 -2
  211. package/dist/esm/stzh-chip.entry.js +14 -7
  212. package/dist/esm/stzh-components.js +2 -2
  213. package/dist/esm/stzh-contactaddress.entry.js +61 -0
  214. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  215. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  216. package/dist/esm/stzh-datatable.entry.js +1 -1
  217. package/dist/esm/stzh-dropdown.entry.js +1 -1
  218. package/dist/esm/stzh-figure.entry.js +1 -1
  219. package/dist/esm/stzh-footer.entry.js +12 -6
  220. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  221. package/dist/esm/stzh-header.entry.js +1 -1
  222. package/dist/esm/stzh-heading.entry.js +2 -2
  223. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  224. package/dist/esm/stzh-link.entry.js +2 -1
  225. package/dist/esm/stzh-list-item.entry.js +1 -1
  226. package/dist/esm/stzh-message.entry.js +2 -2
  227. package/dist/esm/stzh-olmap.entry.js +2 -2
  228. package/dist/esm/stzh-pagebottom.entry.js +28 -0
  229. package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
  230. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  231. package/dist/esm/stzh-share.entry.js +109 -0
  232. package/dist/esm/stzh-upload.entry.js +52 -36
  233. package/dist/esm/stzh-vbz-linechip.entry.js +12 -4
  234. package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +1 -0
  235. package/dist/esm-es5/app-globals-246b5e49.js +1 -0
  236. package/dist/esm-es5/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
  237. package/dist/esm-es5/loader.js +1 -1
  238. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  239. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  240. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  241. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  242. package/dist/esm-es5/stzh-chart.entry.js +3 -0
  243. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  244. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  245. package/dist/esm-es5/stzh-components.js +1 -1
  246. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -0
  247. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  248. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  249. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  250. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  251. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  252. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  253. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  254. package/dist/esm-es5/stzh-header.entry.js +1 -1
  255. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  256. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  257. package/dist/esm-es5/stzh-link.entry.js +1 -1
  258. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  259. package/dist/esm-es5/stzh-message.entry.js +1 -1
  260. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  261. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
  262. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -0
  263. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  264. package/dist/esm-es5/stzh-share.entry.js +1 -0
  265. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  266. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  267. package/dist/stzh-components/assets/i18n/de.json +10 -0
  268. package/dist/stzh-components/assets/i18n/en.json +10 -0
  269. package/dist/stzh-components/assets/icons/mono/facebook-filled.svg +3 -0
  270. package/dist/stzh-components/assets/icons/mono/linkedin-filled.svg +12 -0
  271. package/dist/stzh-components/assets/icons/mono/mail-filled.svg +6 -0
  272. package/dist/stzh-components/assets/icons/mono/star-filled.svg +1 -1
  273. package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -0
  274. package/dist/stzh-components/assets/icons/mono/xing-filled.svg +4 -0
  275. package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
  276. package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
  277. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +95 -30
  278. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  279. package/dist/stzh-components/{p-29d9a568.entry.js → p-105a11cb.entry.js} +1 -1
  280. package/dist/stzh-components/{p-b491bcd7.system.entry.js → p-14e457c6.system.entry.js} +1 -1
  281. package/dist/stzh-components/p-17ae6581.entry.js +1 -0
  282. package/dist/stzh-components/{p-3e24b964.entry.js → p-229d4ad2.entry.js} +1 -1
  283. package/dist/stzh-components/{p-3f8976bc.system.entry.js → p-22c9a00d.system.entry.js} +1 -1
  284. package/dist/stzh-components/{p-8e363084.system.entry.js → p-238a8c83.system.entry.js} +1 -1
  285. package/dist/stzh-components/{p-b10682ee.js → p-24b8df26.js} +1 -1
  286. package/dist/stzh-components/p-25ef050a.entry.js +1 -0
  287. package/dist/stzh-components/p-293ceb5e.entry.js +1 -0
  288. package/dist/stzh-components/p-2ba8b5c9.system.entry.js +1 -0
  289. package/dist/stzh-components/{p-e7afcd6f.entry.js → p-38b9e5e9.entry.js} +1 -1
  290. package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
  291. package/dist/stzh-components/p-44dd74d1.system.entry.js +1 -0
  292. package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
  293. package/dist/stzh-components/{p-5db542ae.system.js → p-484a366f.system.js} +1 -1
  294. package/dist/stzh-components/{p-a61bf274.entry.js → p-4a3f9353.entry.js} +1 -1
  295. package/dist/stzh-components/{p-d69b12f8.entry.js → p-4e6ddb5f.entry.js} +1 -1
  296. package/dist/stzh-components/p-4fd4a703.entry.js +3 -0
  297. package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
  298. package/dist/stzh-components/p-5caa837c.system.entry.js +3 -0
  299. package/dist/stzh-components/{p-3b33fa76.system.entry.js → p-5ed4d1d5.system.entry.js} +1 -1
  300. package/dist/stzh-components/p-60d8e2da.entry.js +1 -0
  301. package/dist/stzh-components/p-61c9ca5d.entry.js +1 -0
  302. package/dist/stzh-components/p-61d4852f.system.entry.js +1 -0
  303. package/dist/stzh-components/p-6830f839.entry.js +1 -0
  304. package/dist/stzh-components/p-6d22bd0d.entry.js +1 -0
  305. package/dist/stzh-components/{p-6f7a7f7a.entry.js → p-71220066.entry.js} +1 -1
  306. package/dist/stzh-components/p-71d757d3.js +1 -0
  307. package/dist/stzh-components/p-7909f56b.entry.js +1 -0
  308. package/dist/stzh-components/p-7a584d3f.system.entry.js +1 -0
  309. package/dist/stzh-components/p-7aef399f.entry.js +1 -0
  310. package/dist/stzh-components/{p-c5749124.system.entry.js → p-7c172e64.system.entry.js} +1 -1
  311. package/dist/stzh-components/p-7dec02ca.entry.js +1 -0
  312. package/dist/stzh-components/p-84aace40.system.entry.js +1 -0
  313. package/dist/stzh-components/{p-6b5f447c.system.entry.js → p-8ab86ca3.system.entry.js} +1 -1
  314. package/dist/stzh-components/p-8f9de52f.system.entry.js +1 -0
  315. package/dist/stzh-components/p-909d7a3c.system.js +1 -0
  316. package/dist/stzh-components/p-95defe16.system.entry.js +1 -0
  317. package/dist/stzh-components/p-98a972b7.system.entry.js +1 -0
  318. package/dist/stzh-components/p-9c90535a.system.js +1 -0
  319. package/dist/stzh-components/p-a6d4a8b1.js +1 -0
  320. package/dist/stzh-components/p-a866b3a3.entry.js +1 -0
  321. package/dist/stzh-components/p-ac409e7b.system.entry.js +1 -0
  322. package/dist/stzh-components/p-ad119aca.entry.js +1 -0
  323. package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
  324. package/dist/stzh-components/{p-020379d7.system.entry.js → p-b1ff3a21.system.entry.js} +2 -2
  325. package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
  326. package/dist/stzh-components/p-bc34bf07.system.entry.js +1 -0
  327. package/dist/stzh-components/p-bd5b8114.system.entry.js +1 -0
  328. package/dist/stzh-components/p-c2238fbf.entry.js +1 -0
  329. package/dist/stzh-components/p-c3846ccf.system.entry.js +1 -0
  330. package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
  331. package/dist/stzh-components/p-ce06b4f2.system.js +1 -0
  332. package/dist/stzh-components/p-cf781b59.entry.js +1 -0
  333. package/dist/stzh-components/{p-bb8f71a4.entry.js → p-d4b93488.entry.js} +2 -2
  334. package/dist/stzh-components/p-d5ee4ac0.entry.js +1 -0
  335. package/dist/stzh-components/{p-fd811f6b.system.entry.js → p-daa34275.system.entry.js} +2 -2
  336. package/dist/stzh-components/p-e161760f.system.entry.js +1 -0
  337. package/dist/stzh-components/p-e785d9cc.entry.js +1 -0
  338. package/dist/stzh-components/{p-641126a8.system.entry.js → p-f5f3475c.system.entry.js} +1 -1
  339. package/dist/stzh-components/p-f6ab391e.system.entry.js +1 -0
  340. package/dist/stzh-components/{p-74786856.system.entry.js → p-ff2a6bdf.system.entry.js} +1 -1
  341. package/dist/stzh-components/p-ff534e27.entry.js +1 -0
  342. package/dist/stzh-components/stzh-components.css +1 -1
  343. package/dist/stzh-components/stzh-components.esm.js +1 -1
  344. package/dist/stzh-components/stzh-components.js +1 -1
  345. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
  346. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
  347. package/dist/types/components.d.ts +351 -13
  348. package/dist/types/index.d.ts +7 -1
  349. package/dist/vscode-data.json +201 -11
  350. package/package.json +6 -2
  351. package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +0 -1
  352. package/dist/esm-es5/app-globals-453acbdb.js +0 -1
  353. package/dist/stzh-components/p-011dcf30.system.entry.js +0 -1
  354. package/dist/stzh-components/p-08714718.system.entry.js +0 -1
  355. package/dist/stzh-components/p-0977d9b6.entry.js +0 -1
  356. package/dist/stzh-components/p-0e474d1a.system.entry.js +0 -1
  357. package/dist/stzh-components/p-1399b2d7.entry.js +0 -1
  358. package/dist/stzh-components/p-2bf021f2.js +0 -1
  359. package/dist/stzh-components/p-2c891eee.entry.js +0 -1
  360. package/dist/stzh-components/p-3623b3a5.system.js +0 -1
  361. package/dist/stzh-components/p-3a73b8b5.system.js +0 -1
  362. package/dist/stzh-components/p-3e8ff66b.js +0 -1
  363. package/dist/stzh-components/p-4b93fb24.entry.js +0 -1
  364. package/dist/stzh-components/p-554fb3ac.system.js +0 -1
  365. package/dist/stzh-components/p-58714045.entry.js +0 -1
  366. package/dist/stzh-components/p-59970f71.entry.js +0 -1
  367. package/dist/stzh-components/p-62c7caed.entry.js +0 -1
  368. package/dist/stzh-components/p-648e03bc.entry.js +0 -1
  369. package/dist/stzh-components/p-6b2282cd.system.entry.js +0 -1
  370. package/dist/stzh-components/p-6c76e51d.entry.js +0 -1
  371. package/dist/stzh-components/p-6cbdbd06.entry.js +0 -1
  372. package/dist/stzh-components/p-90941379.system.entry.js +0 -1
  373. package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
  374. package/dist/stzh-components/p-9d58c713.entry.js +0 -1
  375. package/dist/stzh-components/p-a4a4370d.entry.js +0 -1
  376. package/dist/stzh-components/p-a6da8c06.system.entry.js +0 -1
  377. package/dist/stzh-components/p-afaa9c37.system.entry.js +0 -1
  378. package/dist/stzh-components/p-bb9e8364.entry.js +0 -1
  379. package/dist/stzh-components/p-bd7dd853.system.entry.js +0 -1
  380. package/dist/stzh-components/p-be534671.entry.js +0 -1
  381. package/dist/stzh-components/p-c7c3735a.entry.js +0 -1
  382. package/dist/stzh-components/p-da857e0d.entry.js +0 -1
  383. package/dist/stzh-components/p-de8f9508.system.entry.js +0 -1
  384. package/dist/stzh-components/p-e56d7b16.system.entry.js +0 -1
  385. package/dist/stzh-components/p-eb3425a1.system.entry.js +0 -1
  386. package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -230,7 +230,7 @@ export class StzhRadiogroup {
230
230
  "optional": false,
231
231
  "docs": {
232
232
  "tags": [],
233
- "text": "The name of the input radio elements"
233
+ "text": "The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name"
234
234
  },
235
235
  "attribute": "name",
236
236
  "reflect": true
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -5,6 +5,9 @@
5
5
  /*
6
6
  * Base
7
7
  */
8
+ /**
9
+ * Flyingfocus
10
+ */
8
11
  /**
9
12
  * Link
10
13
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -0,0 +1,149 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /*
5
+ * Base
6
+ */
7
+ /**
8
+ * Flyingfocus
9
+ */
10
+ /**
11
+ * Link
12
+ */
13
+ /**
14
+ * Text
15
+ */
16
+ /**
17
+ * Richtext
18
+ */
19
+ /**
20
+ * Section
21
+ */
22
+ /**
23
+ * Header
24
+ */
25
+ /**
26
+ * Appnav
27
+ */
28
+ /**
29
+ * Progressbar
30
+ */
31
+ /**
32
+ * Loader
33
+ */
34
+ /**
35
+ * Table
36
+ */
37
+ /**
38
+ * Heading
39
+ */
40
+ /**
41
+ * Menu (Item)
42
+ */
43
+ /**
44
+ * Form Elements (Input / Checkbox / Radio / Select / Datepicker)
45
+ */
46
+ /**
47
+ * Popover
48
+ */
49
+ /**
50
+ * Tooltips
51
+ */
52
+ /**
53
+ * Accordions
54
+ */
55
+ /**
56
+ * Buttons
57
+ */
58
+ /**
59
+ * Box Shadows
60
+ */
61
+ /**
62
+ * Z-Indexes
63
+ * Inspired by https://www.duetds.com/tokens/#z-index
64
+ */
65
+ /**
66
+ * Icon sizes
67
+ */
68
+ /**
69
+ * Grid
70
+ */
71
+ /**
72
+ * Breakpoints
73
+ */
74
+ /**
75
+ * Container
76
+ */
77
+ /**
78
+ * Spaces
79
+ */
80
+ /**
81
+ * Fonts
82
+ */
83
+ :host {
84
+ font-family: var(--stzh-font-family-regular);
85
+ font-weight: var(--stzh-font-weight-regular);
86
+ font-style: normal;
87
+ color: var(--stzh-base-color);
88
+ box-sizing: border-box;
89
+ display: block;
90
+ }
91
+ :host[hidden] {
92
+ display: none;
93
+ }
94
+ :host *,
95
+ :host *::before,
96
+ :host *::after {
97
+ box-sizing: border-box;
98
+ }
99
+
100
+ .stzh-share__list {
101
+ list-style: none;
102
+ margin: 0;
103
+ padding: 0;
104
+ display: flex;
105
+ }
106
+ .stzh-share__item:not(:last-child) {
107
+ margin-right: var(--stzh-space-small);
108
+ }
109
+ .stzh-share__icon {
110
+ --size: var(--stzh-icon-size-xsmall);
111
+ }
112
+ .stzh-share__button {
113
+ color: var(--stzh-color-white);
114
+ border-radius: var(--stzh-button-border-radius);
115
+ display: grid;
116
+ place-items: center;
117
+ width: 2.875rem;
118
+ height: 1.625rem;
119
+ }
120
+ .stzh-share__button.is-facebook {
121
+ background-color: #3b5998;
122
+ }
123
+ .stzh-share__button.is-facebook:hover {
124
+ background-color: #23355B;
125
+ }
126
+ .stzh-share__button.is-twitter {
127
+ background-color: #1da1f2;
128
+ }
129
+ .stzh-share__button.is-twitter:hover {
130
+ background-color: #116091;
131
+ }
132
+ .stzh-share__button.is-linkedin {
133
+ background-color: #1485BD;
134
+ }
135
+ .stzh-share__button.is-linkedin:hover {
136
+ background-color: #0C4F71;
137
+ }
138
+ .stzh-share__button.is-xing {
139
+ background-color: #0E7574;
140
+ }
141
+ .stzh-share__button.is-xing:hover {
142
+ background-color: #084645;
143
+ }
144
+ .stzh-share__button.is-mail {
145
+ background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
146
+ }
147
+ .stzh-share__button.is-mail:hover {
148
+ background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
149
+ }
@@ -0,0 +1,184 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { fetchTranslations } from "../../utils/translation-utils";
3
+ const abbreviateText = function (text, length) {
4
+ if (text.length <= length) {
5
+ return text;
6
+ }
7
+ var lastWhitespaceIndex = text.substring(0, length - 1).lastIndexOf(' ');
8
+ if (lastWhitespaceIndex) {
9
+ return text.substring(0, lastWhitespaceIndex) + '\u2026';
10
+ }
11
+ else {
12
+ return text.substring(0, length - 1);
13
+ }
14
+ };
15
+ // returns content of <meta name="" content=""> tags or '' if empty/non existant
16
+ const getMeta = function (name) {
17
+ const meta = document.querySelector(`meta[name="${name}"],[property="${name}"]`);
18
+ return meta ? meta.getAttribute("content") : "";
19
+ };
20
+ /**
21
+ */
22
+ export class StzhShare {
23
+ constructor() {
24
+ this._services = [];
25
+ this.openPopup = (url, event) => {
26
+ event.preventDefault();
27
+ window.open(url, "_blank", "width=600,height=460");
28
+ };
29
+ this.localization = undefined;
30
+ this.url = window.location.href;
31
+ this.services = [
32
+ "facebook", "twitter", "linkedin", "xing", "mail"
33
+ ];
34
+ }
35
+ servicesWatcher(newValue) {
36
+ if (typeof newValue === "string") {
37
+ this._services = JSON.parse(newValue);
38
+ }
39
+ else {
40
+ this._services = newValue;
41
+ }
42
+ }
43
+ async componentWillLoad() {
44
+ this.servicesWatcher(this.services);
45
+ if (!this.localization) {
46
+ this.localization = await fetchTranslations(this.element, "share");
47
+ }
48
+ }
49
+ render() {
50
+ var _a;
51
+ const classes = {
52
+ "stzh-share": true
53
+ };
54
+ const shareUrl = encodeURIComponent(this.url);
55
+ const mailSubject = encodeURIComponent(this.localization.mailSubject);
56
+ const mailBody = encodeURIComponent((_a = this.localization.mailBody) === null || _a === void 0 ? void 0 : _a.replace(/\{shareUrl\}/gi, this.url));
57
+ const title = encodeURIComponent(document.title);
58
+ const description = encodeURIComponent(getMeta("description"));
59
+ // 280 - URL (always 24) = 256
60
+ const maxTweetLength = 256;
61
+ const serviceData = {
62
+ "facebook": {
63
+ popup: true,
64
+ blank: true,
65
+ url: `https://www.facebook.com/sharer/sharer.php?u=${shareUrl}`,
66
+ text: this.localization.shareFacebook,
67
+ icon: "facebook-filled"
68
+ },
69
+ "twitter": {
70
+ popup: true,
71
+ blank: true,
72
+ url: `https://twitter.com/intent/tweet?text=${abbreviateText(title, maxTweetLength)}&url=${shareUrl}`,
73
+ text: this.localization.shareTwitter,
74
+ icon: "twitter-filled"
75
+ },
76
+ "linkedin": {
77
+ popup: true,
78
+ blank: true,
79
+ url: `https://www.linkedin.com/shareArticle?mini=true&summary=${description}&title=${title}&url=${shareUrl}`,
80
+ text: this.localization.shareLinkedin,
81
+ icon: "linkedin-filled"
82
+ },
83
+ "xing": {
84
+ popup: true,
85
+ blank: true,
86
+ url: `https://www.xing.com/spi/shares/new?url=${shareUrl}`,
87
+ text: this.localization.shareXing,
88
+ icon: "xing-filled"
89
+ },
90
+ "mail": {
91
+ popup: false,
92
+ blank: false,
93
+ url: `mailto:?subject=${mailSubject}&body=${mailBody}`,
94
+ text: this.localization.shareMail,
95
+ icon: "mail-filled"
96
+ }
97
+ };
98
+ return (h(Host, null, h("div", { class: classes }, h("ul", { class: "stzh-share__list" }, this._services.map((service) => h("li", { class: "stzh-share__item" }, h("stzh-tooltip", { content: serviceData[service].text }, h("a", { class: `stzh-share__button is-${service}`, href: serviceData[service].url, "aria-label": serviceData[service].text, rel: serviceData[service].blank ? "nofollow noopener noreferrer" : "nofollow", target: serviceData[service].blank ? "_blank" : "_self", onClick: serviceData[service].popup ? (e) => this.openPopup(serviceData[service].url, e) : null }, h("stzh-icon", { class: "stzh-share__icon", name: serviceData[service].icon })))))))));
99
+ }
100
+ static get is() { return "stzh-share"; }
101
+ static get encapsulation() { return "scoped"; }
102
+ static get originalStyleUrls() {
103
+ return {
104
+ "$": ["stzh-share.scss"]
105
+ };
106
+ }
107
+ static get styleUrls() {
108
+ return {
109
+ "$": ["stzh-share.css"]
110
+ };
111
+ }
112
+ static get properties() {
113
+ return {
114
+ "localization": {
115
+ "type": "unknown",
116
+ "mutable": false,
117
+ "complexType": {
118
+ "original": "StzhShareLocalizedText",
119
+ "resolved": "StzhLocaleComponent & { mailSubject: string; mailBody: string; shareFacebook: string; shareTwitter: string; shareLinkedin: string; shareXing: string; shareMail: string; }",
120
+ "references": {
121
+ "StzhShareLocalizedText": {
122
+ "location": "import",
123
+ "path": "./stzh-share.localization"
124
+ }
125
+ }
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": "Translation strings"
132
+ }
133
+ },
134
+ "url": {
135
+ "type": "string",
136
+ "mutable": false,
137
+ "complexType": {
138
+ "original": "string",
139
+ "resolved": "string",
140
+ "references": {}
141
+ },
142
+ "required": false,
143
+ "optional": false,
144
+ "docs": {
145
+ "tags": [],
146
+ "text": "URL of current site (uses full URL by default)"
147
+ },
148
+ "attribute": "url",
149
+ "reflect": false,
150
+ "defaultValue": "window.location.href"
151
+ },
152
+ "services": {
153
+ "type": "string",
154
+ "mutable": false,
155
+ "complexType": {
156
+ "original": "ShareService[] | string",
157
+ "resolved": "ShareService[] | string",
158
+ "references": {
159
+ "ShareService": {
160
+ "location": "import",
161
+ "path": "../../index"
162
+ }
163
+ }
164
+ },
165
+ "required": false,
166
+ "optional": false,
167
+ "docs": {
168
+ "tags": [],
169
+ "text": "Array of enabled share buttons.\nPossible services: `facebook` / `twitter` / `linkedin` / `xing` / `mail`"
170
+ },
171
+ "attribute": "services",
172
+ "reflect": false,
173
+ "defaultValue": "[\n \"facebook\", \"twitter\", \"linkedin\", \"xing\", \"mail\"\n ]"
174
+ }
175
+ };
176
+ }
177
+ static get elementRef() { return "element"; }
178
+ static get watchers() {
179
+ return [{
180
+ "propName": "services",
181
+ "methodName": "servicesWatcher"
182
+ }];
183
+ }
184
+ }
@@ -0,0 +1,33 @@
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/Share',
8
+ component: 'stzh-share',
9
+ parameters: {
10
+ docs: {
11
+ description: {
12
+ component: readme
13
+ }
14
+ },
15
+ design: {
16
+ type: 'figma',
17
+ url: getFigmaLink('share'),
18
+ allowFullscreen: true
19
+ }
20
+ },
21
+ decorators: [
22
+ withDesign
23
+ ]
24
+ };
25
+
26
+ const Template = (args) => (
27
+ <stzh-share {...args}></stzh-share>
28
+ );
29
+
30
+ export const Default = Template.bind({});
31
+ Default.args = {
32
+ url: 'https://www.stadt-zuerich.ch/gud/de/index/gesundheitsversorgung/public-health/coronavirus-sars-cov-2/BliibDraa.html',
33
+ };
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -52,7 +52,7 @@ const Template = (args) => (
52
52
  </stzh-text>
53
53
 
54
54
  <stzh-sticky {...args}>
55
- <stzh-actions>
55
+ <stzh-actions variant="cta">
56
56
  <stzh-button slot="primary" label="Label" effect="cta" icon="arrow-right-long" icon-position="right"></stzh-button>
57
57
  </stzh-actions>
58
58
  </stzh-sticky>
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -4,6 +4,9 @@
4
4
  /*
5
5
  * Base
6
6
  */
7
+ /**
8
+ * Flyingfocus
9
+ */
7
10
  /**
8
11
  * Link
9
12
  */
@@ -263,8 +266,29 @@ stzh-upload *::after {
263
266
  display: none;
264
267
  }
265
268
  .stzh-upload__preview {
269
+ display: flex;
270
+ align-items: center;
271
+ border: 0.0625rem solid var(--stzh-base-border-color);
272
+ border-bottom: none;
273
+ padding: var(--stzh-space-xsmall);
274
+ padding-left: var(--stzh-space-medium);
275
+ padding-right: var(--stzh-space-small);
276
+ }
277
+ .stzh-upload__preview:not(.dz-error):last-child, .stzh-upload__errors:last-child .stzh-upload__preview:last-child {
266
278
  border-bottom: 0.0625rem solid var(--stzh-base-border-color);
267
279
  }
280
+ .stzh-upload__errors .stzh-upload__preview:first-child, .stzh-upload__errors:empty + .stzh-upload__preview {
281
+ border-top-left-radius: var(--stzh-button-border-radius);
282
+ border-top-right-radius: var(--stzh-button-border-radius);
283
+ }
284
+ .stzh-upload__preview:last-child {
285
+ border-bottom-left-radius: var(--stzh-button-border-radius);
286
+ border-bottom-right-radius: var(--stzh-button-border-radius);
287
+ }
288
+ .stzh-upload:has(> .stzh-upload__preview) .stzh-upload__errors .stzh-upload__preview:last-child {
289
+ border-bottom-left-radius: 0;
290
+ border-bottom-right-radius: 0;
291
+ }
268
292
  .stzh-upload__preview.dz-error .stzh-upload__title {
269
293
  color: var(--stzh-color-error);
270
294
  }
@@ -289,11 +313,6 @@ stzh-upload *::after {
289
313
  .stzh-upload__preview.dz-empty .stzh-upload__size {
290
314
  display: none;
291
315
  }
292
- .stzh-upload__inner {
293
- height: 3.875rem;
294
- display: flex;
295
- align-items: center;
296
- }
297
316
  .stzh-upload__details {
298
317
  flex-grow: 1;
299
318
  display: flex;
@@ -312,7 +331,6 @@ stzh-upload *::after {
312
331
  flex-shrink: 0;
313
332
  display: flex;
314
333
  align-items: center;
315
- margin-left: var(--stzh-space-medium);
316
334
  }
317
335
  .stzh-upload__infos {
318
336
  font-size: var(--stzh-font-milli-font-size);
@@ -334,6 +352,12 @@ stzh-upload *::after {
334
352
  letter-spacing: var(--stzh-font-curve---text-letter-spacing);
335
353
  color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
336
354
  }
355
+ .stzh-upload__link[href] {
356
+ color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
357
+ }
358
+ .stzh-upload__link[href]:hover {
359
+ color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
360
+ }
337
361
  .stzh-upload__meta {
338
362
  font-size: var(--stzh-font-nano-font-size);
339
363
  line-height: var(--stzh-font-nano-text-line-height);
@@ -373,16 +397,17 @@ stzh-upload *::after {
373
397
  .stzh-upload__extension::after {
374
398
  content: " | ";
375
399
  }
376
- .stzh-upload__delete {
377
- cursor: pointer;
378
- -webkit-appearance: none;
379
- -moz-appearance: none;
380
- appearance: none;
381
- border: none;
382
- padding: 0;
383
- background: none;
400
+ .stzh-upload__download, .stzh-upload__delete {
401
+ margin-left: var(--stzh-space-xsmall);
402
+ }
403
+ .stzh-upload__download[variant=tertiary][icon-only], .stzh-upload__delete[variant=tertiary][icon-only] {
404
+ --color: var(--stzh-color-grey70);
405
+ }
406
+ .stzh-upload__download[variant=tertiary] {
407
+ display: none;
408
+ }
409
+ .stzh-upload__download[variant=tertiary][href] {
384
410
  display: flex;
385
- color: var(--stzh-base-color);
386
411
  }
387
412
  .stzh-upload__error-message {
388
413
  font-size: var(--stzh-font-nano-font-size);
@@ -392,11 +417,11 @@ stzh-upload *::after {
392
417
  transition: color var(--stzh-base-transition-animation-speed);
393
418
  display: none;
394
419
  }
395
- .stzh-upload.dz-started .stzh-upload__clickarea {
396
- margin-bottom: var(--stzh-space-small);
420
+ .stzh-upload.dz-started .stzh-upload__errors {
421
+ margin-top: var(--stzh-space-small);
397
422
  }
398
- .stzh-upload:has(.stzh-upload__preview) .stzh-upload__clickarea {
399
- margin-bottom: var(--stzh-space-small);
423
+ .stzh-upload:has(.stzh-upload__preview) .stzh-upload__errors {
424
+ margin-top: var(--stzh-space-small);
400
425
  }
401
426
  .stzh-upload.dz-drag-hover .stzh-upload__clickarea {
402
427
  background-color: var(--stzh-color-primary4);