@oiz/stzh-components 2.2.0-beta → 2.2.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 (288) hide show
  1. package/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
  2. package/dist/cjs/{app-globals-f4ad4e99.js → app-globals-b6d82414.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion-item.cjs.entry.js +5 -2
  5. package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-card_3.cjs.entry.js +40 -10
  8. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
  11. package/dist/cjs/stzh-components.cjs.js +2 -2
  12. package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
  14. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-details.cjs.entry.js +4 -1
  16. package/dist/cjs/stzh-dialog.cjs.entry.js +4 -4
  17. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-input.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-popover.cjs.entry.js +19 -5
  27. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-textandimage.cjs.entry.js +3 -1
  29. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-tooltip.cjs.entry.js +28 -7
  31. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
  33. package/dist/collection/assets/i18n/de.json +9 -6
  34. package/dist/collection/assets/i18n/en.json +10 -7
  35. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
  36. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +1 -0
  37. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +3 -0
  38. package/dist/collection/components/stzh-button/stzh-button.css +1 -0
  39. package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
  40. package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
  41. package/dist/collection/components/stzh-card/stzh-card.css +36 -0
  42. package/dist/collection/components/stzh-card/stzh-card.js +26 -4
  43. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +1 -0
  44. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
  45. package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
  46. package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
  47. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
  48. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +31 -4
  49. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +1 -0
  50. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
  51. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
  52. package/dist/collection/components/stzh-details/stzh-details.js +3 -0
  53. package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
  54. package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
  55. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
  56. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +1 -0
  57. package/dist/collection/components/stzh-header/stzh-header.stories.js +1 -1
  58. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  59. package/dist/collection/components/stzh-input/stzh-input.css +1 -0
  60. package/dist/collection/components/stzh-link/stzh-link.css +1 -0
  61. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
  62. package/dist/collection/components/stzh-message/stzh-message.css +1 -0
  63. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  64. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  65. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
  66. package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
  67. package/dist/collection/components/stzh-popover/stzh-popover.js +18 -4
  68. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
  69. package/dist/collection/components/stzh-radio/stzh-radio.css +1 -0
  70. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
  71. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +38 -2
  72. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +20 -0
  73. package/dist/collection/components/stzh-toggle/stzh-toggle.css +1 -0
  74. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
  75. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +27 -6
  76. package/dist/collection/components/stzh-upload/stzh-upload.css +1 -0
  77. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +2 -1
  78. package/dist/collection/pages/egov.stories.js +9 -9
  79. package/dist/collection/pages/example.stories.js +1 -1
  80. package/dist/collection/pages/meinkonto.stories.js +3 -3
  81. package/dist/collection/patterns/contact.stories.js +56 -30
  82. package/dist/collection/patterns/subpages.stories.js +5 -5
  83. package/dist/collection/utils/animation-utils.js +3 -0
  84. package/dist/components/animation-utils.js +3 -0
  85. package/dist/components/index.js +1 -1
  86. package/dist/components/stzh-accordion-item.js +4 -1
  87. package/dist/components/stzh-button2.js +1 -1
  88. package/dist/components/stzh-calendar2.js +1 -1
  89. package/dist/components/stzh-card2.js +9 -5
  90. package/dist/components/stzh-checkbox.js +1 -1
  91. package/dist/components/stzh-checkboxgroup.js +1 -1
  92. package/dist/components/stzh-chip-select2.js +32 -5
  93. package/dist/components/stzh-chip2.js +7 -5
  94. package/dist/components/stzh-datalist-item2.js +1 -1
  95. package/dist/components/stzh-datamessagelist-item.js +3 -2
  96. package/dist/components/stzh-details.js +3 -0
  97. package/dist/components/stzh-dialog.js +4 -4
  98. package/dist/components/stzh-dropdown2.js +1 -1
  99. package/dist/components/stzh-ghettobox2.js +1 -1
  100. package/dist/components/stzh-icon2.js +1 -1
  101. package/dist/components/stzh-input2.js +1 -1
  102. package/dist/components/stzh-link2.js +1 -1
  103. package/dist/components/stzh-menu-item2.js +1 -1
  104. package/dist/components/stzh-message.js +1 -1
  105. package/dist/components/stzh-microsite-teaserlist.js +1 -1
  106. package/dist/components/stzh-olmap.js +1 -1
  107. package/dist/components/stzh-popover2.js +18 -4
  108. package/dist/components/stzh-progressbar-item2.js +1 -1
  109. package/dist/components/stzh-radio2.js +1 -1
  110. package/dist/components/stzh-radiogroup2.js +1 -1
  111. package/dist/components/stzh-textandimage.js +4 -1
  112. package/dist/components/stzh-toggle.js +1 -1
  113. package/dist/components/stzh-tooltip2.js +27 -6
  114. package/dist/components/stzh-upload.js +1 -1
  115. package/dist/components/stzh-vbz-linechip2.js +2 -1
  116. package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
  117. package/dist/esm/{app-globals-17c2ba8d.js → app-globals-ff581b69.js} +1 -1
  118. package/dist/esm/loader.js +2 -2
  119. package/dist/esm/stzh-accordion-item.entry.js +5 -2
  120. package/dist/esm/stzh-badge_3.entry.js +2 -2
  121. package/dist/esm/stzh-calendar.entry.js +1 -1
  122. package/dist/esm/stzh-card_3.entry.js +40 -10
  123. package/dist/esm/stzh-checkbox.entry.js +1 -1
  124. package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
  125. package/dist/esm/stzh-chip.entry.js +6 -5
  126. package/dist/esm/stzh-components.js +2 -2
  127. package/dist/esm/stzh-datalist_2.entry.js +1 -1
  128. package/dist/esm/stzh-datamessagelist-item.entry.js +3 -2
  129. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  130. package/dist/esm/stzh-details.entry.js +4 -1
  131. package/dist/esm/stzh-dialog.entry.js +4 -4
  132. package/dist/esm/stzh-dropdown.entry.js +1 -1
  133. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  134. package/dist/esm/stzh-ghettobox_2.entry.js +1 -1
  135. package/dist/esm/stzh-input.entry.js +1 -1
  136. package/dist/esm/stzh-link.entry.js +1 -1
  137. package/dist/esm/stzh-menu_2.entry.js +1 -1
  138. package/dist/esm/stzh-message.entry.js +1 -1
  139. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  140. package/dist/esm/stzh-olmap.entry.js +1 -1
  141. package/dist/esm/stzh-popover.entry.js +19 -5
  142. package/dist/esm/stzh-progressbar-item.entry.js +1 -1
  143. package/dist/esm/stzh-textandimage.entry.js +3 -1
  144. package/dist/esm/stzh-toggle.entry.js +1 -1
  145. package/dist/esm/stzh-tooltip.entry.js +28 -7
  146. package/dist/esm/stzh-upload.entry.js +1 -1
  147. package/dist/esm/stzh-vbz-linechip.entry.js +2 -1
  148. package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
  149. package/dist/esm-es5/app-globals-ff581b69.js +1 -0
  150. package/dist/esm-es5/loader.js +1 -1
  151. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  152. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  153. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  154. package/dist/esm-es5/stzh-card_3.entry.js +1 -1
  155. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  156. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  157. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  158. package/dist/esm-es5/stzh-components.js +1 -1
  159. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  160. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  161. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  162. package/dist/esm-es5/stzh-details.entry.js +1 -1
  163. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  164. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  165. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  166. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  167. package/dist/esm-es5/stzh-input.entry.js +1 -1
  168. package/dist/esm-es5/stzh-link.entry.js +1 -1
  169. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  170. package/dist/esm-es5/stzh-message.entry.js +1 -1
  171. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
  172. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  173. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  174. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  175. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  176. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  177. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  178. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  179. package/dist/stzh-components/assets/i18n/de.json +9 -6
  180. package/dist/stzh-components/assets/i18n/en.json +10 -7
  181. package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
  182. package/dist/stzh-components/{p-1da26ca1.entry.js → p-0743d7fa.entry.js} +1 -1
  183. package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
  184. package/dist/stzh-components/{p-2b5b1e4a.system.entry.js → p-0cc8bbd7.system.entry.js} +1 -1
  185. package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
  186. package/dist/stzh-components/p-17645237.entry.js +1 -0
  187. package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
  188. package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
  189. package/dist/stzh-components/{p-037357fc.system.entry.js → p-21cad060.system.entry.js} +1 -1
  190. package/dist/stzh-components/{p-171c5795.system.entry.js → p-23829f75.system.entry.js} +1 -1
  191. package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
  192. package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
  193. package/dist/stzh-components/{p-2862cdd8.system.entry.js → p-3200f52a.system.entry.js} +1 -1
  194. package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
  195. package/dist/stzh-components/p-3ad67331.entry.js +1 -0
  196. package/dist/stzh-components/p-3e850dce.entry.js +1 -0
  197. package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
  198. package/dist/stzh-components/{p-c26aec94.entry.js → p-4b369bac.entry.js} +1 -1
  199. package/dist/stzh-components/p-5011f10c.js +1 -0
  200. package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
  201. package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
  202. package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
  203. package/dist/stzh-components/p-57a0f895.entry.js +1 -0
  204. package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
  205. package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
  206. package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
  207. package/dist/stzh-components/{p-f37be5d7.entry.js → p-67c6f0f2.entry.js} +1 -1
  208. package/dist/stzh-components/{p-f59b3545.system.entry.js → p-6d009f56.system.entry.js} +1 -1
  209. package/dist/stzh-components/{p-213959b7.entry.js → p-76165227.entry.js} +1 -1
  210. package/dist/stzh-components/{p-3145cd2f.entry.js → p-7704b10b.entry.js} +1 -1
  211. package/dist/stzh-components/p-7941cf38.js +1 -0
  212. package/dist/stzh-components/{p-af63f1a4.entry.js → p-7b86c022.entry.js} +1 -1
  213. package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
  214. package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
  215. package/dist/stzh-components/p-853a1f92.entry.js +1 -0
  216. package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
  217. package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
  218. package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
  219. package/dist/stzh-components/p-912706bb.entry.js +1 -0
  220. package/dist/stzh-components/{p-68400ee7.entry.js → p-aae4655f.entry.js} +1 -1
  221. package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
  222. package/dist/stzh-components/{p-a17754c7.system.entry.js → p-afedafa6.system.entry.js} +1 -1
  223. package/dist/stzh-components/{p-5c3c9ad4.entry.js → p-b3dc4913.entry.js} +1 -1
  224. package/dist/stzh-components/p-b937ae70.system.js +1 -0
  225. package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
  226. package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
  227. package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
  228. package/dist/stzh-components/p-d240494d.entry.js +1 -0
  229. package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
  230. package/dist/stzh-components/{p-af0ab448.system.entry.js → p-d9bf09b1.system.entry.js} +1 -1
  231. package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
  232. package/dist/stzh-components/{p-4c7e52aa.entry.js → p-e0f063ac.entry.js} +1 -1
  233. package/dist/stzh-components/{p-0b9dc96d.system.js → p-e32bc982.system.js} +1 -1
  234. package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
  235. package/dist/stzh-components/{p-34b45788.entry.js → p-ec7b6ce8.entry.js} +1 -1
  236. package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
  237. package/dist/stzh-components/{p-3848d8ee.entry.js → p-f133eba2.entry.js} +1 -1
  238. package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
  239. package/dist/stzh-components/{p-f5db6234.entry.js → p-fee6a938.entry.js} +1 -1
  240. package/dist/stzh-components/stzh-components.esm.js +1 -1
  241. package/dist/stzh-components/stzh-components.js +1 -1
  242. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
  243. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
  244. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
  245. package/dist/types/components.d.ts +26 -2
  246. package/dist/types/index.d.ts +5 -0
  247. package/dist/vscode-data.json +13 -1
  248. package/package.json +1 -1
  249. package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
  250. package/dist/esm-es5/app-globals-17c2ba8d.js +0 -1
  251. package/dist/stzh-components/p-02fd7470.entry.js +0 -1
  252. package/dist/stzh-components/p-04a45622.system.entry.js +0 -1
  253. package/dist/stzh-components/p-0b264a7a.entry.js +0 -1
  254. package/dist/stzh-components/p-1ca12032.system.entry.js +0 -1
  255. package/dist/stzh-components/p-1fe1169e.entry.js +0 -1
  256. package/dist/stzh-components/p-231e6e6a.system.entry.js +0 -1
  257. package/dist/stzh-components/p-2a5855f8.js +0 -1
  258. package/dist/stzh-components/p-31029226.entry.js +0 -1
  259. package/dist/stzh-components/p-311813bc.system.entry.js +0 -1
  260. package/dist/stzh-components/p-38f9cbf3.system.entry.js +0 -1
  261. package/dist/stzh-components/p-3905ca20.entry.js +0 -1
  262. package/dist/stzh-components/p-4228cd58.system.entry.js +0 -1
  263. package/dist/stzh-components/p-4bd7dafb.system.entry.js +0 -1
  264. package/dist/stzh-components/p-4cd9f5c7.system.entry.js +0 -1
  265. package/dist/stzh-components/p-55f6fa41.system.entry.js +0 -1
  266. package/dist/stzh-components/p-5b379647.system.entry.js +0 -1
  267. package/dist/stzh-components/p-65675e11.entry.js +0 -1
  268. package/dist/stzh-components/p-7684506e.system.entry.js +0 -1
  269. package/dist/stzh-components/p-7da446d5.js +0 -1
  270. package/dist/stzh-components/p-83830baa.system.entry.js +0 -1
  271. package/dist/stzh-components/p-84c86e4c.system.entry.js +0 -1
  272. package/dist/stzh-components/p-88cbd2c0.entry.js +0 -1
  273. package/dist/stzh-components/p-99f92c6d.system.entry.js +0 -1
  274. package/dist/stzh-components/p-a795868f.entry.js +0 -1
  275. package/dist/stzh-components/p-ab28e094.system.entry.js +0 -1
  276. package/dist/stzh-components/p-addc48e5.entry.js +0 -1
  277. package/dist/stzh-components/p-b0fe9349.entry.js +0 -1
  278. package/dist/stzh-components/p-c065387a.entry.js +0 -1
  279. package/dist/stzh-components/p-c42435be.entry.js +0 -1
  280. package/dist/stzh-components/p-cfc0bc2e.system.entry.js +0 -1
  281. package/dist/stzh-components/p-d1d5825d.entry.js +0 -1
  282. package/dist/stzh-components/p-d4405931.system.entry.js +0 -1
  283. package/dist/stzh-components/p-dce19efd.entry.js +0 -1
  284. package/dist/stzh-components/p-e2e54f09.system.js +0 -1
  285. package/dist/stzh-components/p-e71cd5cd.system.entry.js +0 -1
  286. package/dist/stzh-components/p-e72ca013.system.entry.js +0 -1
  287. package/dist/stzh-components/p-e812d35e.system.entry.js +0 -1
  288. package/dist/stzh-components/p-f792fc8f.entry.js +0 -1
@@ -118,6 +118,7 @@
118
118
  -webkit-appearance: none;
119
119
  -moz-appearance: none;
120
120
  appearance: none;
121
+ font-family: inherit;
121
122
  background-color: transparent;
122
123
  border: none;
123
124
  cursor: pointer;
@@ -127,12 +128,23 @@
127
128
  color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
128
129
  border-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
129
130
  }
131
+ @media (forced-colors: active), (-ms-high-contrast: active) {
132
+ .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
133
+ color: Highlight;
134
+ border-color: Highlight;
135
+ }
136
+ }
130
137
  .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block::after, .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block::after {
131
138
  background-color: var(--stzh-color-primary8);
132
139
  }
133
140
  .stzh-progressbar-item__button:hover .stzh-progressbar-item__label-block, .stzh-progressbar-item__button:focus .stzh-progressbar-item__label-block {
134
141
  color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
135
142
  }
143
+ @media (forced-colors: active), (-ms-high-contrast: active) {
144
+ .stzh-progressbar-item__button:hover .stzh-progressbar-item__label-block, .stzh-progressbar-item__button:focus .stzh-progressbar-item__label-block {
145
+ color: Highlight;
146
+ }
147
+ }
136
148
  .stzh-progressbar-item__number-block {
137
149
  font-family: var(--stzh-font-family-heavy);
138
150
  font-weight: var(--stzh-font-weight-heavy);
@@ -181,6 +193,11 @@
181
193
  z-index: -2;
182
194
  overflow: hidden;
183
195
  }
196
+ @media (forced-colors: active), (-ms-high-contrast: active) {
197
+ .stzh-progressbar-item__number-block::before {
198
+ background-color: CanvasText;
199
+ }
200
+ }
184
201
  @media screen and (min-width: 600px) {
185
202
  .stzh-progressbar-item__number-block::before {
186
203
  top: 1.25rem;
@@ -224,6 +241,11 @@
224
241
  transform: translate(-50%, -50%);
225
242
  color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
226
243
  }
244
+ @media (forced-colors: active), (-ms-high-contrast: active) {
245
+ .stzh-progressbar-item__icon, .stzh-progressbar-item__user-icon, .stzh-progressbar-item__dotted-icon {
246
+ color: CanvasText;
247
+ }
248
+ }
227
249
  .stzh-progressbar-item__user-icon {
228
250
  --size: var(--stzh-icon-size-small);
229
251
  color: currentColor;
@@ -233,6 +255,7 @@
233
255
  -webkit-appearance: none;
234
256
  -moz-appearance: none;
235
257
  appearance: none;
258
+ font-family: inherit;
236
259
  position: absolute;
237
260
  top: 0.1875rem;
238
261
  width: 1.6875rem;
@@ -247,9 +270,19 @@
247
270
  .stzh-progressbar-item__dotted:hover, .stzh-progressbar-item__dotted:focus {
248
271
  border-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
249
272
  }
273
+ @media (forced-colors: active), (-ms-high-contrast: active) {
274
+ .stzh-progressbar-item__dotted:hover, .stzh-progressbar-item__dotted:focus {
275
+ border-color: Highlight;
276
+ }
277
+ }
250
278
  .stzh-progressbar-item__dotted:hover::after, .stzh-progressbar-item__dotted:focus::after {
251
279
  background-color: var(--stzh-color-primary8);
252
280
  }
281
+ @media (forced-colors: active), (-ms-high-contrast: active) {
282
+ .stzh-progressbar-item__dotted:hover::after, .stzh-progressbar-item__dotted:focus::after {
283
+ background-color: Canvas;
284
+ }
285
+ }
253
286
  @media screen and (min-width: 600px) {
254
287
  .stzh-progressbar-item__dotted {
255
288
  top: 0.3125rem;
@@ -260,6 +293,11 @@
260
293
  .stzh-progressbar-item__dotted:hover .stzh-progressbar-item__dotted-icon, .stzh-progressbar-item__dotted:focus .stzh-progressbar-item__dotted-icon {
261
294
  color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
262
295
  }
296
+ @media (forced-colors: active), (-ms-high-contrast: active) {
297
+ .stzh-progressbar-item__dotted:hover .stzh-progressbar-item__dotted-icon, .stzh-progressbar-item__dotted:focus .stzh-progressbar-item__dotted-icon {
298
+ color: Highlight;
299
+ }
300
+ }
263
301
  .stzh-progressbar-item--first .stzh-progressbar-item__number-block::before, .stzh-progressbar-item--last .stzh-progressbar-item__number-block::before {
264
302
  display: block;
265
303
  }
@@ -278,31 +316,57 @@
278
316
  right: calc((100% / var(--steps)) - (0.96875rem));
279
317
  }
280
318
  }
281
- .stzh-progressbar-item--passed .stzh-progressbar-item__number-block {
282
- background-color: var(--stzh-color-white);
283
- border: solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));
284
- }
285
319
  .stzh-progressbar-item--passed .stzh-progressbar-item__label-block {
286
320
  font-family: var(--stzh-font-family-heavy);
287
321
  font-weight: var(--stzh-font-weight-heavy);
288
322
  font-style: normal;
289
323
  color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
290
324
  }
291
- .stzh-progressbar-item--passed .stzh-progressbar-item__user-icon {
292
- color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
325
+ .stzh-progressbar-item--passed .stzh-progressbar-item__number-block {
326
+ background-color: var(--stzh-color-white);
327
+ border: solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));
328
+ }
329
+ @media (forced-colors: active), (-ms-high-contrast: active) {
330
+ .stzh-progressbar-item--passed .stzh-progressbar-item__number-block {
331
+ background-color: Canvas;
332
+ border-color: CanvasText;
333
+ }
334
+ }
335
+ @media (forced-colors: active), (-ms-high-contrast: active) {
336
+ .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
337
+ border-color: Highlight;
338
+ }
293
339
  }
294
340
  .stzh-progressbar-item--passed .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
295
341
  color: transparent;
296
342
  }
343
+ @media (forced-colors: active), (-ms-high-contrast: active) {
344
+ .stzh-progressbar-item--passed .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
345
+ color: Canvas;
346
+ }
347
+ }
348
+ .stzh-progressbar-item--passed .stzh-progressbar-item__user-icon {
349
+ color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
350
+ }
297
351
  .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__user-icon, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__user-icon {
298
352
  color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
299
353
  }
354
+ @media (forced-colors: active), (-ms-high-contrast: active) {
355
+ .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__user-icon, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__user-icon {
356
+ color: Highlight;
357
+ }
358
+ }
300
359
  .stzh-progressbar-item--current .stzh-progressbar-item__label-block {
301
360
  font-family: var(--stzh-font-family-heavy);
302
361
  font-weight: var(--stzh-font-weight-heavy);
303
362
  font-style: normal;
304
363
  color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
305
364
  }
365
+ @media (forced-colors: active), (-ms-high-contrast: active) {
366
+ .stzh-progressbar-item--current .stzh-progressbar-item__label-block {
367
+ color: SelectedItem;
368
+ }
369
+ }
306
370
  .stzh-progressbar-item--current .stzh-progressbar-item__label-block:hover {
307
371
  text-decoration: none;
308
372
  }
@@ -311,17 +375,49 @@
311
375
  border: solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));
312
376
  color: var(--stzh-color-white);
313
377
  }
378
+ @media (forced-colors: active), (-ms-high-contrast: active) {
379
+ .stzh-progressbar-item--current .stzh-progressbar-item__number-block {
380
+ color: SelectedItem;
381
+ border-color: SelectedItem;
382
+ background-color: Canvas;
383
+ }
384
+ }
314
385
  .stzh-progressbar-item--current .stzh-progressbar-item__number-block::before {
315
386
  display: block;
316
387
  background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
317
388
  z-index: -1;
318
389
  }
390
+ @media (forced-colors: active), (-ms-high-contrast: active) {
391
+ .stzh-progressbar-item--current .stzh-progressbar-item__number-block::before {
392
+ background-color: CanvasText;
393
+ }
394
+ }
319
395
  .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
320
396
  color: var(--stzh-color-white);
321
397
  }
398
+ @media (forced-colors: active), (-ms-high-contrast: active) {
399
+ .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
400
+ color: Highlight;
401
+ }
402
+ }
322
403
  .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block::after, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block::after {
323
404
  background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
324
405
  }
406
+ @media (forced-colors: active), (-ms-high-contrast: active) {
407
+ .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block::after, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block::after {
408
+ background-color: Canvas;
409
+ }
410
+ }
411
+ @media (forced-colors: active), (-ms-high-contrast: active) {
412
+ .stzh-progressbar-item--current .stzh-progressbar-item__user-icon {
413
+ color: SelectedItem;
414
+ }
415
+ }
416
+ @media (forced-colors: active), (-ms-high-contrast: active) {
417
+ .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__icon, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__icon, .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__user-icon, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__user-icon {
418
+ color: Highlight;
419
+ }
420
+ }
325
421
  .stzh-progressbar-item--dotted.stzh-progressbar-item--first .stzh-progressbar-item__number-block {
326
422
  margin-bottom: 0;
327
423
  }
@@ -364,4 +460,9 @@
364
460
  .stzh-progressbar-item--first .stzh-progressbar-item__number-block::before {
365
461
  background-color: var(--stzh-color-white);
366
462
  z-index: 1;
463
+ }
464
+ @media (forced-colors: active), (-ms-high-contrast: active) {
465
+ .stzh-progressbar-item--first .stzh-progressbar-item__number-block::before {
466
+ background-color: Canvas;
467
+ }
367
468
  }
@@ -165,6 +165,7 @@
165
165
  -webkit-appearance: none;
166
166
  -moz-appearance: none;
167
167
  appearance: none;
168
+ font-family: inherit;
168
169
  padding: 0;
169
170
  border: none;
170
171
  background-color: transparent;
@@ -165,6 +165,7 @@
165
165
  -webkit-appearance: none;
166
166
  -moz-appearance: none;
167
167
  appearance: none;
168
+ font-family: inherit;
168
169
  padding: 0;
169
170
  border: none;
170
171
  background-color: transparent;
@@ -121,6 +121,24 @@
121
121
  }
122
122
  }
123
123
 
124
+ @media screen and (min-width: 600px) {
125
+ :host([floating]:not([floating=false])) {
126
+ --col-left-width: 45%;
127
+ }
128
+ }
129
+
130
+ @media screen and (min-width: 600px) {
131
+ :host([size=small][floating]:not([floating=false])) {
132
+ --col-left-width: 33%;
133
+ }
134
+ }
135
+
136
+ @media screen and (min-width: 600px) {
137
+ :host([size=large][floating]:not([floating=false])) {
138
+ --col-left-width: 55%;
139
+ }
140
+ }
141
+
124
142
  :host ::slotted([slot=left]) {
125
143
  margin-bottom: var(--stzh-space-xxxlarge);
126
144
  }
@@ -130,12 +148,26 @@
130
148
  }
131
149
  }
132
150
 
133
- :host([floating]:not([floating=false])) ::slotted([slot=left]) {
151
+ :host([fullwidth]:not([fullwidth=false])) ::slotted([slot=left]) {
152
+ margin-bottom: var(--stzh-space-xxlarge);
153
+ }
154
+ @media screen and (min-width: 1024px) {
155
+ :host([fullwidth]:not([fullwidth=false])) ::slotted([slot=left]) {
156
+ margin-bottom: var(--stzh-space-xxxlarge);
157
+ }
158
+ }
159
+ @media screen and (min-width: 1260px) {
160
+ :host([fullwidth]:not([fullwidth=false])) ::slotted([slot=left]) {
161
+ margin-bottom: var(--stzh-space-xxxxlarge);
162
+ }
163
+ }
164
+
165
+ :host([floating]:not([floating=false]):not([fullwidth]:not([fullwidth=false]))) ::slotted([slot=left]) {
134
166
  float: left;
135
167
  width: 100%;
136
168
  }
137
169
  @media screen and (min-width: 600px) {
138
- :host([floating]:not([floating=false])) ::slotted([slot=left]) {
170
+ :host([floating]:not([floating=false]):not([fullwidth]:not([fullwidth=false]))) ::slotted([slot=left]) {
139
171
  width: calc(var(--col-left-width) - var(--stzh-space-large) / 2);
140
172
  margin-right: var(--stzh-space-large);
141
173
  }
@@ -146,6 +178,7 @@
146
178
  flex-wrap: wrap;
147
179
  justify-content: flex-start;
148
180
  margin: 0 calc(var(--stzh-space-large) / -2);
181
+ /* Fullwidth variant */
149
182
  /* Floating variant */
150
183
  }
151
184
  .stzh-textandimage__left, .stzh-textandimage__right  {
@@ -162,6 +195,9 @@
162
195
  width: calc(100% - var(--col-left-width));
163
196
  }
164
197
  }
198
+ .stzh-textandimage--is-fullwidth .stzh-textandimage__left, .stzh-textandimage--is-fullwidth .stzh-textandimage__right {
199
+ width: 100%;
200
+ }
165
201
  .stzh-textandimage--is-floating .stzh-textandimage__left {
166
202
  width: auto;
167
203
  }
@@ -7,6 +7,7 @@ import { hasSlot } from "../../utils/utils";
7
7
  export class StzhTextandimage {
8
8
  constructor() {
9
9
  this.floating = false;
10
+ this.fullwidth = false;
10
11
  this.size = "default";
11
12
  }
12
13
  render() {
@@ -16,6 +17,7 @@ export class StzhTextandimage {
16
17
  "stzh-textandimage": true,
17
18
  "stzh-textandimage--has-left": leftSlotUsed,
18
19
  "stzh-textandimage--has-right": rightSlotUsed,
20
+ "stzh-textandimage--is-fullwidth": this.fullwidth,
19
21
  "stzh-textandimage--is-floating": this.floating,
20
22
  [`stzh-textandimage--size-${this.size}`]: !!this.size
21
23
  };
@@ -54,6 +56,24 @@ export class StzhTextandimage {
54
56
  "reflect": true,
55
57
  "defaultValue": "false"
56
58
  },
59
+ "fullwidth": {
60
+ "type": "boolean",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "boolean",
64
+ "resolved": "boolean",
65
+ "references": {}
66
+ },
67
+ "required": false,
68
+ "optional": false,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": "Whether display columns fullwidth on every breakpoint (not just mobile)"
72
+ },
73
+ "attribute": "fullwidth",
74
+ "reflect": true,
75
+ "defaultValue": "false"
76
+ },
57
77
  "size": {
58
78
  "type": "string",
59
79
  "mutable": false,
@@ -167,6 +167,7 @@
167
167
  -webkit-appearance: none;
168
168
  -moz-appearance: none;
169
169
  appearance: none;
170
+ font-family: inherit;
170
171
  padding: 0;
171
172
  border: none;
172
173
  background-color: transparent;
@@ -155,6 +155,7 @@
155
155
  -webkit-appearance: none;
156
156
  -moz-appearance: none;
157
157
  appearance: none;
158
+ font-family: inherit;
158
159
  border: none;
159
160
  background-color: transparent;
160
161
  padding: 0;
@@ -169,6 +169,9 @@ export class StzhTooltip {
169
169
  return await this.computePosition();
170
170
  }
171
171
  async openWatcher(newValue) {
172
+ if (!this.contentElement) {
173
+ return;
174
+ }
172
175
  if (newValue) {
173
176
  if (this.toggledByMethod) {
174
177
  this.stzhOpen.emit({
@@ -224,7 +227,7 @@ export class StzhTooltip {
224
227
  return this._trigger.indexOf(trigger) > -1;
225
228
  }
226
229
  async componentWillLoad() {
227
- this.labelId = `stzh-tooltip-label-${tooltipCounter++}`;
230
+ this.id = `stzh-tooltip-${tooltipCounter++}`;
228
231
  this.triggerWatcher(this.trigger);
229
232
  if (!this.localization) {
230
233
  this.localization = await fetchTranslations(this.element, "tooltip");
@@ -232,10 +235,27 @@ export class StzhTooltip {
232
235
  }
233
236
  componentDidRender() {
234
237
  this.computePosition();
235
- if (this.interactive) {
236
- const isStzh = isStzhElement(this.triggerElement.firstElementChild);
238
+ const isStzh = isStzhElement(this.triggerElement.firstElementChild);
239
+ if (this.hasTrigger("click")) {
237
240
  this.triggerElement.firstElementChild
238
241
  .setAttribute(isStzh ? "a11y-expanded" : "aria-expanded", this.open ? "true" : "false");
242
+ if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-describedby"))
243
+ || this.triggerElement.firstElementChild.getAttribute("aria-describedby")) {
244
+ this.triggerElement.firstElementChild
245
+ .setAttribute(isStzh ? "a11y-describedby" : "aria-describedby", `${this.id}-trigger-description`);
246
+ }
247
+ if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-label"))
248
+ || this.triggerElement.firstElementChild.getAttribute("aria-label")) {
249
+ this.triggerElement.firstElementChild
250
+ .setAttribute(isStzh ? "a11y-label" : "aria-label", this.label);
251
+ }
252
+ }
253
+ else {
254
+ if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-describedby"))
255
+ || this.triggerElement.firstElementChild.getAttribute("aria-describedby")) {
256
+ this.triggerElement.firstElementChild
257
+ .setAttribute(isStzh ? "a11y-describedby" : "aria-describedby", `${this.id}-content`);
258
+ }
239
259
  }
240
260
  if (this.trap) {
241
261
  this.open ? this.trap.activate() : this.trap.deactivate();
@@ -294,8 +314,9 @@ export class StzhTooltip {
294
314
  [`stzh-tooltip--open`]: this.open,
295
315
  [`stzh-tooltip--placement-${this.computedPlacement}`]: !!this.computedPlacement
296
316
  };
297
- return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-tooltip__trigger", ref: (el) => (this.triggerElement = el) }, h("slot", null)), h("div", { class: "stzh-tooltip__content", ref: (el) => (this.contentElement = el), tabindex: "-1", "aria-labelledby": this.label ? this.labelId : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.onEscKey, onMouseEnter: this.onMouseEnterTrigger, onMouseLeave: this.onMouseLeaveTrigger, onFocusin: this.onFocusTrigger, onFocusout: this.onBlurTrigger }, h("div", { class: "stzh-tooltip__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), this.label &&
298
- h("h2", { id: this.labelId, class: "stzh-tooltip__vhidden" }, this.label), h("div", { class: "stzh-tooltip__content-slot" }, this.content ? this.content : h("slot", { name: "content" })), this.hasTrigger("click") &&
317
+ return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-tooltip__trigger", ref: (el) => (this.triggerElement = el) }, h("slot", null)), this.hasTrigger("click") &&
318
+ h("div", { class: "stzh-tooltip__vhidden", id: `${this.id}-trigger-description` }, this.localization.open), h("div", { class: "stzh-tooltip__content", id: `${this.id}-content`, ref: (el) => (this.contentElement = el), tabindex: "-1", "aria-labelledby": this.label ? `${this.id}-label` : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.onEscKey, onMouseEnter: this.onMouseEnterTrigger, onMouseLeave: this.onMouseLeaveTrigger, onFocusin: this.onFocusTrigger, onFocusout: this.onBlurTrigger }, h("div", { class: "stzh-tooltip__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), this.label &&
319
+ h("h2", { id: `${this.id}-label`, class: "stzh-tooltip__vhidden" }, this.label), h("div", { class: "stzh-tooltip__content-slot" }, this.content ? this.content : h("slot", { name: "content" })), this.hasTrigger("click") &&
299
320
  h("button", { class: "stzh-tooltip__close", onClick: () => this.hide(), type: "button" }, h("stzh-icon", { name: "close", class: "stzh-tooltip__icon" }), h("span", { class: "stzh-tooltip__vhidden" }, this.localization.close))))));
300
321
  }
301
322
  static get is() { return "stzh-tooltip"; }
@@ -484,7 +505,7 @@ export class StzhTooltip {
484
505
  "mutable": false,
485
506
  "complexType": {
486
507
  "original": "StzhTooltipLocalizedText",
487
- "resolved": "StzhLocaleComponent & { close: string; }",
508
+ "resolved": "StzhLocaleComponent & { open: string; close: string; }",
488
509
  "references": {
489
510
  "StzhTooltipLocalizedText": {
490
511
  "location": "import",
@@ -184,6 +184,7 @@ stzh-upload *::after {
184
184
  -webkit-appearance: none;
185
185
  -moz-appearance: none;
186
186
  appearance: none;
187
+ font-family: inherit;
187
188
  padding: 0;
188
189
  border: none;
189
190
  background-color: transparent;
@@ -40,7 +40,8 @@ export class StzhVbzLinechip {
40
40
  this.chip.focus();
41
41
  }
42
42
  render() {
43
- const lineData = LineColors[this.line] || {};
43
+ const lineData = LineColors[this.line]
44
+ || {};
44
45
  const styles = {
45
46
  color: this.global
46
47
  ? "rgb(0, 0, 0)"
@@ -26,7 +26,7 @@ const Template = (args) => (
26
26
  <img
27
27
  slot="logo"
28
28
  src="media/logo/stzh-default.svg"
29
- alt="Logo Stadt Zürich"
29
+ alt="Logo City Zürich, go to homepage"
30
30
  ></img>
31
31
 
32
32
  <nav slot="nav" id="anchorNavMeta">
@@ -100,16 +100,16 @@ const Template = (args) => (
100
100
  </stzh-message>
101
101
 
102
102
  <stzh-fieldset legend="Name, E-Mail and Password">
103
- <stzh-dropdown
103
+ <stzh-radiogroup
104
104
  show-marker
105
105
  name="salutation"
106
- no-search
107
- label="Salutation"
108
- options='[
109
- { "text": "Mrs.", "value": "mrs" },
110
- { "text": "Mr.", "value": "mr" }
111
- ]'
112
- ></stzh-dropdown>
106
+ legend="Salutation"
107
+ direction="horizontal"
108
+ required
109
+ >
110
+ <stzh-radio value="mrs">Mrs.</stzh-radio>
111
+ <stzh-radio value="mr">Mr</stzh-radio>
112
+ </stzh-radiogroup>
113
113
 
114
114
  <stzh-input show-marker name="title" label="Title" description="Helptext"></stzh-input>
115
115
 
@@ -27,7 +27,7 @@ const Template = (args) => (
27
27
  <img
28
28
  slot="logo"
29
29
  src="media/logo/stzh-default.svg"
30
- alt="Logo Stadt Zürich"
30
+ alt="Logo City Zürich, go to homepage"
31
31
  ></img>
32
32
 
33
33
  <nav slot="nav" id="anchorNavMeta">
@@ -61,7 +61,7 @@ const TemplateServices = (args) => (
61
61
  <img
62
62
  slot="logo"
63
63
  src="media/logo/stzh-default.svg"
64
- alt="Logo Stadt Zürich"
64
+ alt="Logo City Zürich, go to homepage"
65
65
  ></img>
66
66
 
67
67
  <nav slot="nav" id="anchorNavMeta">
@@ -256,7 +256,7 @@ const TemplateMessages = (args) => (
256
256
  <img
257
257
  slot="logo"
258
258
  src="media/logo/stzh-default.svg"
259
- alt="Logo Stadt Zürich"
259
+ alt="Logo City Zürich, go to homepage"
260
260
  ></img>
261
261
 
262
262
  <nav slot="nav" id="anchorNavMeta">
@@ -518,7 +518,7 @@ const TemplateActivities = (args) => (
518
518
  <img
519
519
  slot="logo"
520
520
  src="media/logo/stzh-default.svg"
521
- alt="Logo Stadt Zürich"
521
+ alt="Logo City Zürich, go to homepage"
522
522
  ></img>
523
523
 
524
524
  <nav slot="nav" id="anchorNavMeta">
@@ -5,7 +5,9 @@ import { getFigmaLink } from '../../figma';
5
5
  import {
6
6
  OrganizationWithPobox as Contactaddress_OrganizationWithPobox,
7
7
  FurtherContactOrganization as Contactaddress_FurtherContactOrganization,
8
- WithImageAndAvailability as Contactaddress_WithImageAndAvailability
8
+ WithImageAndAvailability as Contactaddress_WithImageAndAvailability,
9
+ MinimalOrganization as Contactaddress_MinimalOrganization,
10
+ FurtherContactPerson as Contactaddress_FurtherContactPerson
9
11
  } from '../components/stzh-contactaddress/stzh-contactaddress.stories';
10
12
 
11
13
  import {
@@ -34,6 +36,55 @@ export default {
34
36
  ]
35
37
  };
36
38
 
39
+ const Template = (args) => (
40
+ <div>
41
+ <stzh-heading level="2" with-border>Kontakt</stzh-heading>
42
+ <stzh-vspace curve="medium"></stzh-vspace>
43
+
44
+ <Contactaddress_OrganizationWithPobox {... {...Contactaddress_OrganizationWithPobox.args, 'with-border': false } }></Contactaddress_OrganizationWithPobox>
45
+ <stzh-vspace curve="small"></stzh-vspace>
46
+
47
+ <stzh-datalist>
48
+ <stzh-datalist-item value="Website" href="#"></stzh-datalist-item>
49
+ <stzh-details>
50
+ <stzh-datalist-item value="Kontaktformular"></stzh-datalist-item>
51
+ <Contactform {...Contactform.args} slot="content"></Contactform>
52
+ </stzh-details>
53
+ </stzh-datalist>
54
+
55
+ <stzh-vspace curve="medium"></stzh-vspace>
56
+ <stzh-olmap></stzh-olmap>
57
+
58
+ <stzh-vspace curve="medium"></stzh-vspace>
59
+ <Contactaddress_FurtherContactOrganization {... {...Contactaddress_FurtherContactOrganization.args, 'with-border': false } }></Contactaddress_FurtherContactOrganization>
60
+ <stzh-vspace curve="small"></stzh-vspace>
61
+
62
+ <stzh-datalist>
63
+ <stzh-datalist-item value="Website" href="#" target="_blank" rel="external nofollow"></stzh-datalist-item>
64
+ </stzh-datalist>
65
+ </div>
66
+ );
67
+
68
+ const TemplateFurtherContact = (args) => (
69
+ <div>
70
+ <stzh-heading level="2" with-border>Kontakt</stzh-heading>
71
+ <stzh-vspace curve="medium"></stzh-vspace>
72
+
73
+ <Contactaddress_MinimalOrganization {... {...Contactaddress_MinimalOrganization.args, 'with-border': false } }></Contactaddress_MinimalOrganization>
74
+ <stzh-vspace curve="small"></stzh-vspace>
75
+
76
+ <stzh-datalist>
77
+ <stzh-details>
78
+ <stzh-datalist-item value="Kontaktformular"></stzh-datalist-item>
79
+ <Contactform {...Contactform.args} slot="content"></Contactform>
80
+ </stzh-details>
81
+ </stzh-datalist>
82
+
83
+ <stzh-vspace curve="medium"></stzh-vspace>
84
+ <Contactaddress_FurtherContactPerson {... {...Contactaddress_FurtherContactPerson.args, 'with-border': false } }></Contactaddress_FurtherContactPerson>
85
+ </div>
86
+ );
87
+
37
88
  const TemplateNew = (args) => (
38
89
  <div>
39
90
  <stzh-cspace>
@@ -80,39 +131,14 @@ const TemplateNew = (args) => (
80
131
  </div>
81
132
  );
82
133
 
83
- const Template = (args) => (
84
- <div>
85
- <stzh-heading level="2" with-border>Kontakt</stzh-heading>
86
- <stzh-vspace curve="medium"></stzh-vspace>
87
-
88
- <Contactaddress_OrganizationWithPobox {... {...Contactaddress_OrganizationWithPobox.args, 'with-border': false } }></Contactaddress_OrganizationWithPobox>
89
- <stzh-vspace curve="small"></stzh-vspace>
90
-
91
- <stzh-datalist>
92
- <stzh-datalist-item value="Website" href="#"></stzh-datalist-item>
93
- <stzh-details>
94
- <stzh-datalist-item value="Kontaktformular"></stzh-datalist-item>
95
- <Contactform {...Contactform.args} slot="content"></Contactform>
96
- </stzh-details>
97
- </stzh-datalist>
98
-
99
- <stzh-vspace curve="medium"></stzh-vspace>
100
- <stzh-olmap></stzh-olmap>
101
-
102
- <stzh-vspace curve="medium"></stzh-vspace>
103
- <Contactaddress_FurtherContactOrganization {... {...Contactaddress_FurtherContactOrganization.args, 'with-border': false } }></Contactaddress_FurtherContactOrganization>
104
- <stzh-vspace curve="small"></stzh-vspace>
105
-
106
- <stzh-datalist>
107
- <stzh-datalist-item value="Website" href="#" target="_blank" rel="external nofollow"></stzh-datalist-item>
108
- </stzh-datalist>
109
- </div>
110
- );
111
-
112
134
  export const Default = Template.bind({});
113
135
  Default.args = {
114
136
  };
115
137
 
138
+ export const FurtherContact = TemplateFurtherContact.bind({});
139
+ FurtherContact.args = {
140
+ };
141
+
116
142
  export const New = TemplateNew.bind({});
117
143
  New.args = {
118
144
  };