@oiz/stzh-components 1.5.0-alpha → 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 (515) hide show
  1. package/dist/cjs/{app-globals-3b6f75bd.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 +156 -0
  5. package/dist/cjs/stzh-badge_3.cjs.entry.js +39 -8
  6. package/dist/cjs/stzh-card-list.cjs.entry.js +78 -0
  7. package/dist/cjs/stzh-card.cjs.entry.js +312 -0
  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-datalist.cjs.entry.js +74 -0
  13. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +5 -4
  16. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -6
  18. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
  19. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-input.cjs.entry.js +4 -5
  23. package/dist/cjs/stzh-link.cjs.entry.js +9 -5
  24. package/dist/cjs/stzh-menu_2.cjs.entry.js +6 -2
  25. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-overlay.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-popover.cjs.entry.js +30 -28
  29. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-sortable.cjs.entry.js +20 -2
  32. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -1
  34. package/dist/cjs/stzh-upload.cjs.entry.js +47 -4
  35. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  37. package/dist/collection/assets/i18n/de.json +7 -2
  38. package/dist/collection/assets/i18n/en.json +7 -2
  39. package/dist/collection/assets/icons/mono/code-window.svg +3 -0
  40. package/dist/collection/assets/icons/mono/recycling-outline.svg +11 -0
  41. package/dist/collection/assets/icons/mono/recycling.svg +10 -0
  42. package/dist/collection/assets/icons/mono/smartphone.svg +10 -0
  43. package/dist/collection/assets/icons/mono/target.svg +11 -0
  44. package/dist/collection/collection-manifest.json +4 -2
  45. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +34 -8
  46. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +123 -14
  47. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +9 -0
  48. package/dist/collection/components/stzh-actionset/stzh-actionset.css +147 -0
  49. package/dist/collection/components/stzh-actionset/stzh-actionset.js +343 -0
  50. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.localization.js → stzh-actionset/stzh-actionset.localization.js} +0 -0
  51. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +72 -0
  52. package/dist/collection/components/stzh-badge/stzh-badge.css +22 -2
  53. package/dist/collection/components/stzh-badge/stzh-badge.js +25 -1
  54. package/dist/collection/components/stzh-button/stzh-button.css +66 -0
  55. package/dist/collection/components/stzh-button/stzh-button.js +141 -7
  56. package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
  57. package/dist/collection/components/stzh-card/stzh-card.css +396 -0
  58. package/dist/collection/components/stzh-card/stzh-card.js +771 -0
  59. package/dist/collection/components/stzh-card/stzh-card.localization.js +1 -0
  60. package/dist/collection/components/stzh-card/stzh-card.stories.js +134 -0
  61. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.css → stzh-card-list/stzh-card-list.css} +9 -9
  62. package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.js → stzh-card-list/stzh-card-list.js} +61 -60
  63. package/dist/collection/components/{stzh-servicecard/stzh-servicecard.localization.js → stzh-card-list/stzh-card-list.localization.js} +0 -0
  64. package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +132 -0
  65. package/dist/collection/components/stzh-chip/stzh-chip.js +38 -1
  66. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +80 -0
  67. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +213 -3
  68. package/dist/collection/components/stzh-cspace/stzh-cspace.css +96 -178
  69. package/dist/collection/components/stzh-datalist/stzh-datalist.css +621 -0
  70. package/dist/collection/components/stzh-datalist/stzh-datalist.js +237 -0
  71. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +66 -0
  72. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -8
  73. package/dist/collection/components/stzh-datatable/stzh-datatable.css +5 -0
  74. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -21
  75. package/dist/collection/components/stzh-dialog/stzh-dialog.css +11 -20
  76. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -3
  77. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +7 -26
  78. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +16 -16
  79. package/dist/collection/components/stzh-heading/stzh-heading.css +5 -15
  80. package/dist/collection/components/stzh-hspace/stzh-hspace.css +19 -24
  81. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +93 -28
  82. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  83. package/dist/collection/components/stzh-input/stzh-input.css +5 -5
  84. package/dist/collection/components/stzh-input/stzh-input.js +3 -24
  85. package/dist/collection/components/stzh-link/stzh-link.css +5 -0
  86. package/dist/collection/components/stzh-link/stzh-link.js +46 -6
  87. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +42 -2
  88. package/dist/collection/components/stzh-message/stzh-message.css +5 -0
  89. package/dist/collection/components/stzh-overlay/stzh-overlay.css +5 -1
  90. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -8
  91. package/dist/collection/components/stzh-popover/stzh-popover.js +52 -32
  92. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +519 -338
  93. package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
  94. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +4 -3
  95. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +3 -0
  96. package/dist/collection/components/stzh-richtext/stzh-richtext.css +233 -129
  97. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +19 -0
  98. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +8 -8
  99. package/dist/collection/components/stzh-sortable/stzh-sortable.css +12 -6
  100. package/dist/collection/components/stzh-sortable/stzh-sortable.js +40 -1
  101. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +1 -1
  102. package/dist/collection/components/stzh-table/stzh-table.css +5 -0
  103. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +21 -1
  104. package/dist/collection/components/stzh-upload/stzh-upload.css +16 -7
  105. package/dist/collection/components/stzh-upload/stzh-upload.js +46 -3
  106. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +1 -1
  107. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -7
  108. package/dist/collection/components/stzh-vspace/stzh-vspace.css +19 -24
  109. package/dist/collection/pages/meinkonto.stories.js +93 -88
  110. package/dist/components/index.d.ts +4 -2
  111. package/dist/components/index.js +5 -3
  112. package/dist/components/stzh-accordion-item.js +51 -16
  113. package/dist/components/{stzh-servicecard.d.ts → stzh-actionset.d.ts} +4 -4
  114. package/dist/components/stzh-actionset.js +6 -0
  115. package/dist/components/stzh-actionset2.js +219 -0
  116. package/dist/components/stzh-badge2.js +10 -3
  117. package/dist/components/stzh-button2.js +36 -6
  118. package/dist/components/{stzh-servicecard-list.d.ts → stzh-card-list.d.ts} +4 -4
  119. package/dist/components/stzh-card-list.js +121 -0
  120. package/dist/components/stzh-card.d.ts +11 -0
  121. package/dist/components/stzh-card.js +393 -0
  122. package/dist/components/stzh-chip-select.js +63 -6
  123. package/dist/components/stzh-chip2.js +5 -1
  124. package/dist/components/stzh-cspace.js +1 -1
  125. package/dist/components/stzh-datalist.d.ts +11 -0
  126. package/dist/components/stzh-datalist.js +113 -0
  127. package/dist/components/stzh-datamessagelist-item.js +1 -1
  128. package/dist/components/stzh-datatable.js +1 -1
  129. package/dist/components/stzh-datepicker2.js +1 -2
  130. package/dist/components/stzh-dialog.js +1 -1
  131. package/dist/components/stzh-dropdown2.js +4 -7
  132. package/dist/components/stzh-ghettobox2.js +1 -1
  133. package/dist/components/stzh-heading2.js +1 -1
  134. package/dist/components/stzh-hspace.js +1 -1
  135. package/dist/components/stzh-icon-sprite.js +1 -1
  136. package/dist/components/stzh-input2.js +4 -6
  137. package/dist/components/stzh-link2.js +11 -5
  138. package/dist/components/stzh-menu-item2.js +8 -2
  139. package/dist/components/stzh-message.js +1 -1
  140. package/dist/components/stzh-overlay.js +1 -1
  141. package/dist/components/stzh-pagetitle.js +1 -1
  142. package/dist/components/stzh-popover2.js +31 -28
  143. package/dist/components/stzh-portal-mitwirken.js +1 -1
  144. package/dist/components/stzh-radio2.js +1 -1
  145. package/dist/components/stzh-radiogroup2.js +3 -2
  146. package/dist/components/stzh-richtext2.js +1 -1
  147. package/dist/components/stzh-saptcha.js +1 -1
  148. package/dist/components/stzh-sortable2.js +20 -2
  149. package/dist/components/stzh-table.js +1 -1
  150. package/dist/components/stzh-tooltip2.js +4 -1
  151. package/dist/components/stzh-upload.js +47 -4
  152. package/dist/components/stzh-vbz-ticker.js +1 -1
  153. package/dist/components/stzh-vspace.js +1 -1
  154. package/dist/esm/{app-globals-c42494e9.js → app-globals-e66420b3.js} +1 -1
  155. package/dist/esm/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
  156. package/dist/esm/loader.js +3 -3
  157. package/dist/esm/stzh-accordion-item.entry.js +34 -16
  158. package/dist/esm/stzh-accordion.entry.js +1 -1
  159. package/dist/esm/stzh-actions.entry.js +1 -1
  160. package/dist/esm/stzh-actionset.entry.js +152 -0
  161. package/dist/esm/stzh-appnav.entry.js +1 -1
  162. package/dist/esm/stzh-appointments.entry.js +1 -1
  163. package/dist/esm/stzh-badge_3.entry.js +40 -9
  164. package/dist/esm/stzh-calendar.entry.js +1 -1
  165. package/dist/esm/stzh-card-list.entry.js +74 -0
  166. package/dist/esm/stzh-card.entry.js +308 -0
  167. package/dist/esm/stzh-cell.entry.js +1 -1
  168. package/dist/esm/stzh-checkbox.entry.js +2 -2
  169. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  170. package/dist/esm/stzh-chip-select.entry.js +53 -5
  171. package/dist/esm/stzh-chip.entry.js +4 -2
  172. package/dist/esm/stzh-components.js +3 -3
  173. package/dist/esm/stzh-container.entry.js +1 -1
  174. package/dist/esm/stzh-cspace.entry.js +2 -2
  175. package/dist/esm/stzh-datalist.entry.js +70 -0
  176. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  177. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  178. package/dist/esm/stzh-datatable.entry.js +2 -2
  179. package/dist/esm/stzh-datepicker_4.entry.js +7 -6
  180. package/dist/esm/stzh-dialog.entry.js +2 -2
  181. package/dist/esm/stzh-dropdown.entry.js +6 -8
  182. package/dist/esm/stzh-fieldset.entry.js +1 -1
  183. package/dist/esm/stzh-figure.entry.js +1 -1
  184. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  185. package/dist/esm/stzh-footer.entry.js +1 -1
  186. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  187. package/dist/esm/stzh-header.entry.js +1 -1
  188. package/dist/esm/stzh-heading.entry.js +2 -2
  189. package/dist/esm/stzh-hr.entry.js +1 -1
  190. package/dist/esm/stzh-hspace.entry.js +2 -2
  191. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  192. package/dist/esm/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
  193. package/dist/esm/stzh-input.entry.js +6 -7
  194. package/dist/esm/stzh-link.entry.js +10 -6
  195. package/dist/esm/stzh-list-item.entry.js +1 -1
  196. package/dist/esm/stzh-list.entry.js +1 -1
  197. package/dist/esm/stzh-loader.entry.js +1 -1
  198. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  199. package/dist/esm/stzh-menu_2.entry.js +7 -3
  200. package/dist/esm/stzh-message.entry.js +2 -2
  201. package/dist/esm/stzh-metanav.entry.js +1 -1
  202. package/dist/esm/stzh-overlay.entry.js +2 -2
  203. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  204. package/dist/esm/stzh-pagetitle.entry.js +2 -2
  205. package/dist/esm/stzh-popover.entry.js +31 -29
  206. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  207. package/dist/esm/stzh-progressbar-item.entry.js +1 -1
  208. package/dist/esm/stzh-progressbar.entry.js +1 -1
  209. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  210. package/dist/esm/stzh-row.entry.js +1 -1
  211. package/dist/esm/stzh-saptcha.entry.js +2 -2
  212. package/dist/esm/stzh-section.entry.js +1 -1
  213. package/dist/esm/stzh-skiplink.entry.js +1 -1
  214. package/dist/esm/stzh-sortable.entry.js +21 -3
  215. package/dist/esm/stzh-status.entry.js +1 -1
  216. package/dist/esm/stzh-table.entry.js +2 -2
  217. package/dist/esm/stzh-toggle.entry.js +2 -2
  218. package/dist/esm/stzh-tooltip.entry.js +4 -2
  219. package/dist/esm/stzh-upload.entry.js +49 -6
  220. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  221. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  222. package/dist/esm/stzh-vbz-ticker.entry.js +2 -2
  223. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  224. package/dist/esm/stzh-vspace.entry.js +2 -2
  225. package/dist/esm-es5/app-globals-e66420b3.js +1 -0
  226. package/dist/esm-es5/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
  227. package/dist/esm-es5/loader.js +1 -1
  228. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  229. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  230. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  231. package/dist/esm-es5/stzh-actionset.entry.js +1 -0
  232. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  233. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  234. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  235. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  236. package/dist/esm-es5/stzh-card-list.entry.js +1 -0
  237. package/dist/esm-es5/stzh-card.entry.js +1 -0
  238. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  239. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  240. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  241. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  242. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  243. package/dist/esm-es5/stzh-components.js +1 -1
  244. package/dist/esm-es5/stzh-container.entry.js +1 -1
  245. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  246. package/dist/esm-es5/stzh-datalist.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 +2 -2
  250. package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
  251. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  252. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  253. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  254. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  255. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  256. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  257. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  258. package/dist/esm-es5/stzh-header.entry.js +1 -1
  259. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  260. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  261. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  262. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  263. package/dist/esm-es5/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
  264. package/dist/esm-es5/stzh-input.entry.js +1 -1
  265. package/dist/esm-es5/stzh-link.entry.js +1 -1
  266. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  267. package/dist/esm-es5/stzh-list.entry.js +1 -1
  268. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  269. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  270. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  271. package/dist/esm-es5/stzh-message.entry.js +1 -1
  272. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  273. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  274. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  275. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  276. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  277. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  278. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  279. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  280. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  281. package/dist/esm-es5/stzh-row.entry.js +1 -1
  282. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  283. package/dist/esm-es5/stzh-section.entry.js +1 -1
  284. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  285. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  286. package/dist/esm-es5/stzh-status.entry.js +1 -1
  287. package/dist/esm-es5/stzh-table.entry.js +1 -1
  288. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  289. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  290. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  291. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  292. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  293. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  294. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  295. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  296. package/dist/stzh-components/assets/i18n/de.json +7 -2
  297. package/dist/stzh-components/assets/i18n/en.json +7 -2
  298. package/dist/stzh-components/assets/icons/mono/code-window.svg +3 -0
  299. package/dist/stzh-components/assets/icons/mono/recycling-outline.svg +11 -0
  300. package/dist/stzh-components/assets/icons/mono/recycling.svg +10 -0
  301. package/dist/stzh-components/assets/icons/mono/smartphone.svg +10 -0
  302. package/dist/stzh-components/assets/icons/mono/target.svg +11 -0
  303. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +93 -28
  304. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  305. package/dist/stzh-components/{p-32988d74.entry.js → p-001b7d10.entry.js} +1 -1
  306. package/dist/stzh-components/{p-11d0c8f3.entry.js → p-03ea86bd.entry.js} +1 -1
  307. package/dist/stzh-components/p-051bc2a8.entry.js +1 -0
  308. package/dist/stzh-components/p-0711e511.entry.js +1 -0
  309. package/dist/stzh-components/p-073c89b1.system.entry.js +1 -0
  310. package/dist/stzh-components/{p-0837657c.entry.js → p-08a564af.entry.js} +1 -1
  311. package/dist/stzh-components/{p-8db4279d.system.entry.js → p-0bbbbe85.system.entry.js} +1 -1
  312. package/dist/stzh-components/{p-87ab53c4.system.entry.js → p-0fc06049.system.entry.js} +1 -1
  313. package/dist/stzh-components/p-0fc83964.system.entry.js +1 -0
  314. package/dist/stzh-components/{p-08d4ed80.entry.js → p-13b3500e.entry.js} +1 -1
  315. package/dist/stzh-components/{p-f1a58a7c.system.entry.js → p-1440163c.system.entry.js} +1 -1
  316. package/dist/stzh-components/{p-65444117.system.entry.js → p-17c6c1db.system.entry.js} +1 -1
  317. package/dist/stzh-components/p-18958371.entry.js +1 -0
  318. package/dist/stzh-components/{p-b34774e7.entry.js → p-190de4de.entry.js} +1 -1
  319. package/dist/stzh-components/{p-b2c8c31e.system.entry.js → p-19bff884.system.entry.js} +1 -1
  320. package/dist/stzh-components/p-20ef4a20.system.entry.js +1 -0
  321. package/dist/stzh-components/{p-346e26f2.system.entry.js → p-21566d65.system.entry.js} +1 -1
  322. package/dist/stzh-components/{p-debb00e6.entry.js → p-216577b4.entry.js} +1 -1
  323. package/dist/stzh-components/p-22701389.system.entry.js +1 -0
  324. package/dist/stzh-components/p-252d3178.entry.js +1 -0
  325. package/dist/stzh-components/{p-6edd58a4.system.entry.js → p-27fd6c6f.system.entry.js} +1 -1
  326. package/dist/stzh-components/{p-fba76dba.entry.js → p-29427863.entry.js} +1 -1
  327. package/dist/stzh-components/{p-d8471675.entry.js → p-2b338050.entry.js} +1 -1
  328. package/dist/stzh-components/p-2ca4a828.system.entry.js +1 -0
  329. package/dist/stzh-components/p-2cf1ae40.system.entry.js +1 -0
  330. package/dist/stzh-components/{p-fa8651dd.entry.js → p-2e559062.entry.js} +1 -1
  331. package/dist/stzh-components/p-3042b23e.entry.js +1 -0
  332. package/dist/stzh-components/{p-c863ffd0.system.entry.js → p-33c0229f.system.entry.js} +1 -1
  333. package/dist/stzh-components/p-3b912468.system.entry.js +1 -0
  334. package/dist/stzh-components/p-3beb58d6.system.entry.js +1 -0
  335. package/dist/stzh-components/{p-1cde29ea.entry.js → p-3d8317b5.entry.js} +1 -1
  336. package/dist/stzh-components/p-3f0363db.entry.js +1 -0
  337. package/dist/stzh-components/{p-48bbcc26.system.entry.js → p-45bab70d.system.entry.js} +1 -1
  338. package/dist/stzh-components/{p-3f03fd94.system.entry.js → p-48b5b697.system.entry.js} +1 -1
  339. package/dist/stzh-components/{p-ece7ad4d.system.entry.js → p-4c6989ae.system.entry.js} +1 -1
  340. package/dist/stzh-components/p-530252c6.system.entry.js +1 -0
  341. package/dist/stzh-components/{p-c7c17bb7.system.entry.js → p-5353ba86.system.entry.js} +2 -2
  342. package/dist/stzh-components/{p-bb2e1dda.entry.js → p-552f49c4.entry.js} +1 -1
  343. package/dist/stzh-components/p-55cdbf79.entry.js +1 -0
  344. package/dist/stzh-components/{p-562394a9.system.entry.js → p-55d23a3c.system.entry.js} +1 -1
  345. package/dist/stzh-components/{p-07772cd7.system.entry.js → p-560f96f0.system.entry.js} +1 -1
  346. package/dist/stzh-components/p-562e6c52.entry.js +1 -0
  347. package/dist/stzh-components/{p-f48a2b00.system.entry.js → p-56b9cc3c.system.entry.js} +1 -1
  348. package/dist/stzh-components/{p-33946fed.system.entry.js → p-58d886cb.system.entry.js} +1 -1
  349. package/dist/stzh-components/{p-68a8b7b7.system.entry.js → p-5997e418.system.entry.js} +1 -1
  350. package/dist/stzh-components/{p-49968bbf.entry.js → p-5a02ef03.entry.js} +1 -1
  351. package/dist/stzh-components/{p-1c88ceff.system.entry.js → p-5a354428.system.entry.js} +1 -1
  352. package/dist/stzh-components/{p-0a71fbac.entry.js → p-5bd2849d.entry.js} +1 -1
  353. package/dist/stzh-components/{p-3ed69b16.entry.js → p-5f4eb46c.entry.js} +1 -1
  354. package/dist/stzh-components/{p-4a398453.system.entry.js → p-61aac051.system.entry.js} +1 -1
  355. package/dist/stzh-components/p-62db1e59.entry.js +1 -0
  356. package/dist/stzh-components/{p-ade1ebcf.system.entry.js → p-6305db38.system.entry.js} +1 -1
  357. package/dist/stzh-components/{p-95eb03b2.entry.js → p-638bedfa.entry.js} +1 -1
  358. package/dist/stzh-components/{p-9c0494a6.system.js → p-63d89b96.system.js} +1 -1
  359. package/dist/stzh-components/{p-33d75303.entry.js → p-6425898c.entry.js} +1 -1
  360. package/dist/stzh-components/{p-818634d2.entry.js → p-64b4cc74.entry.js} +1 -1
  361. package/dist/stzh-components/p-676fd54d.entry.js +1 -0
  362. package/dist/stzh-components/{p-7a6e347d.system.entry.js → p-684c345e.system.entry.js} +2 -2
  363. package/dist/stzh-components/{p-f44f4d26.system.entry.js → p-69c3187f.system.entry.js} +1 -1
  364. package/dist/stzh-components/{p-95a297aa.entry.js → p-69f4a27e.entry.js} +1 -1
  365. package/dist/stzh-components/p-6a873872.entry.js +1 -0
  366. package/dist/stzh-components/{p-b281b653.entry.js → p-713ae713.entry.js} +2 -2
  367. package/dist/stzh-components/{p-03b16275.entry.js → p-72f29f07.entry.js} +1 -1
  368. package/dist/stzh-components/p-764ba190.entry.js +1 -0
  369. package/dist/stzh-components/p-786a92d4.system.entry.js +1 -0
  370. package/dist/stzh-components/p-796ae62c.system.entry.js +1 -0
  371. package/dist/stzh-components/p-7d8c9866.entry.js +1 -0
  372. package/dist/stzh-components/p-7ec2f3fd.entry.js +9 -0
  373. package/dist/stzh-components/p-80d70586.entry.js +1 -0
  374. package/dist/stzh-components/p-838df84a.system.entry.js +1 -0
  375. package/dist/stzh-components/p-84ab53cc.system.entry.js +1 -0
  376. package/dist/stzh-components/p-85161133.js +1 -0
  377. package/dist/stzh-components/{p-aec2d2d1.system.entry.js → p-851e0caa.system.entry.js} +1 -1
  378. package/dist/stzh-components/p-864d7c50.entry.js +1 -0
  379. package/dist/stzh-components/{p-690d14cd.entry.js → p-88e0f453.entry.js} +1 -1
  380. package/dist/stzh-components/{p-0338cec3.system.entry.js → p-89274cd5.system.entry.js} +1 -1
  381. package/dist/stzh-components/p-8b6de2c0.system.entry.js +1 -0
  382. package/dist/stzh-components/{p-936cc626.system.entry.js → p-8c648042.system.entry.js} +1 -1
  383. package/dist/stzh-components/{p-0ae3e066.system.entry.js → p-8d0da18d.system.entry.js} +1 -1
  384. package/dist/stzh-components/{p-56fccfa3.system.entry.js → p-8d547247.system.entry.js} +1 -1
  385. package/dist/stzh-components/p-929dbdf1.system.entry.js +1 -0
  386. package/dist/stzh-components/{p-65282c9d.js → p-93e8e31f.js} +1 -1
  387. package/dist/stzh-components/p-9469b812.entry.js +1 -0
  388. package/dist/stzh-components/{p-e9ca8ddc.entry.js → p-961cb979.entry.js} +1 -1
  389. package/dist/stzh-components/{p-98afd4b0.system.entry.js → p-981b2629.system.entry.js} +1 -1
  390. package/dist/stzh-components/{p-0ec28130.system.entry.js → p-9c72f491.system.entry.js} +1 -1
  391. package/dist/stzh-components/p-9e716229.entry.js +1 -0
  392. package/dist/stzh-components/{p-8cf287d8.system.entry.js → p-9fb4da92.system.entry.js} +1 -1
  393. package/dist/stzh-components/p-a3fa6122.system.entry.js +1 -0
  394. package/dist/stzh-components/{p-409c0d50.entry.js → p-a448f5a5.entry.js} +1 -1
  395. package/dist/stzh-components/{p-96fd158c.entry.js → p-a646c09a.entry.js} +1 -1
  396. package/dist/stzh-components/p-a6627504.entry.js +1 -0
  397. package/dist/stzh-components/{p-6c3b2508.system.entry.js → p-a67e09cd.system.entry.js} +1 -1
  398. package/dist/stzh-components/{p-378be0be.system.entry.js → p-a7c35778.system.entry.js} +1 -1
  399. package/dist/stzh-components/{p-c8bc2812.entry.js → p-a7ee2636.entry.js} +1 -1
  400. package/dist/stzh-components/{p-148de4e6.entry.js → p-ab246b66.entry.js} +1 -1
  401. package/dist/stzh-components/p-b391d962.system.entry.js +1 -0
  402. package/dist/stzh-components/p-b462a61f.entry.js +1 -0
  403. package/dist/stzh-components/p-b550feaa.system.entry.js +1 -0
  404. package/dist/stzh-components/p-b5a85078.system.entry.js +1 -0
  405. package/dist/stzh-components/p-b70bc70c.system.js +1 -0
  406. package/dist/stzh-components/{p-46f301c0.entry.js → p-b9a027aa.entry.js} +1 -1
  407. package/dist/stzh-components/{p-7e3924a0.system.entry.js → p-ba94e315.system.entry.js} +1 -1
  408. package/dist/stzh-components/{p-f2050d1e.entry.js → p-bb3c1249.entry.js} +1 -1
  409. package/dist/stzh-components/{p-a760352a.system.entry.js → p-bbe4e3d1.system.entry.js} +1 -1
  410. package/dist/stzh-components/{p-e972a44f.system.entry.js → p-be461e19.system.entry.js} +1 -1
  411. package/dist/stzh-components/{p-30b347ee.system.js → p-bf0fdd23.system.js} +2 -2
  412. package/dist/stzh-components/{p-983f6070.entry.js → p-c1337453.entry.js} +1 -1
  413. package/dist/stzh-components/{p-915e8ad6.entry.js → p-c3d93395.entry.js} +1 -1
  414. package/dist/stzh-components/{p-e9bc3a43.entry.js → p-c4b7c2be.entry.js} +1 -1
  415. package/dist/stzh-components/p-c4fc6433.system.entry.js +1 -0
  416. package/dist/stzh-components/{p-df422d36.entry.js → p-c58dd9de.entry.js} +1 -1
  417. package/dist/stzh-components/p-cb1d4678.entry.js +1 -0
  418. package/dist/stzh-components/p-ccd30d73.system.entry.js +1 -0
  419. package/dist/stzh-components/p-cd795307.entry.js +1 -0
  420. package/dist/stzh-components/{p-7d2237ca.entry.js → p-cdc9e600.entry.js} +1 -1
  421. package/dist/stzh-components/{p-586cae98.entry.js → p-ce070ccd.entry.js} +1 -1
  422. package/dist/stzh-components/{p-04d7b18f.entry.js → p-d0aa9d3b.entry.js} +1 -1
  423. package/dist/stzh-components/p-d1552460.system.entry.js +1 -0
  424. package/dist/stzh-components/{p-006135ed.system.entry.js → p-d6c07494.system.entry.js} +1 -1
  425. package/dist/stzh-components/{p-cf162e67.entry.js → p-d7893dfd.entry.js} +1 -1
  426. package/dist/stzh-components/{p-73194e28.entry.js → p-d9643cc4.entry.js} +1 -1
  427. package/dist/stzh-components/{p-58917ce2.entry.js → p-db5363ef.entry.js} +1 -1
  428. package/dist/stzh-components/{p-fc9c4fc3.system.entry.js → p-e213663c.system.entry.js} +1 -1
  429. package/dist/stzh-components/p-e3e3e88c.system.js +1 -0
  430. package/dist/stzh-components/p-eb61c369.entry.js +1 -0
  431. package/dist/stzh-components/p-ebeb8d7b.system.entry.js +1 -0
  432. package/dist/stzh-components/p-eca1732f.entry.js +1 -0
  433. package/dist/stzh-components/{p-14d728f0.entry.js → p-ee22256f.entry.js} +1 -1
  434. package/dist/stzh-components/{p-670d4834.entry.js → p-f1356a85.entry.js} +1 -1
  435. package/dist/stzh-components/p-f24db7e8.system.entry.js +1 -0
  436. package/dist/stzh-components/{p-1ace5d80.entry.js → p-f788a468.entry.js} +1 -1
  437. package/dist/stzh-components/{p-99533090.system.entry.js → p-f832e938.system.entry.js} +1 -1
  438. package/dist/stzh-components/{p-32b78d65.js → p-f84fa2a4.js} +1 -1
  439. package/dist/stzh-components/{p-80db7aa6.system.entry.js → p-fa56fc0d.system.entry.js} +1 -1
  440. package/dist/stzh-components/{p-88a4f756.system.entry.js → p-fc13d017.system.entry.js} +1 -1
  441. package/dist/stzh-components/{p-b4fc71ff.system.entry.js → p-fc6b4f91.system.entry.js} +1 -1
  442. package/dist/stzh-components/p-fdd1998f.entry.js +1 -0
  443. package/dist/stzh-components/{p-370b82e7.system.entry.js → p-fdf0b4bc.system.entry.js} +1 -1
  444. package/dist/stzh-components/stzh-components.css +1 -1
  445. package/dist/stzh-components/stzh-components.esm.js +1 -1
  446. package/dist/stzh-components/stzh-components.js +1 -1
  447. package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +5 -0
  448. package/dist/types/components/stzh-badge/stzh-badge.d.ts +2 -0
  449. package/dist/types/components/{stzh-servicecard/stzh-servicecard.localization.d.ts → stzh-card/stzh-card.localization.d.ts} +2 -1
  450. package/dist/types/components/{stzh-servicecard-list/stzh-servicecard-list.localization.d.ts → stzh-card-list/stzh-card-list.localization.d.ts} +1 -1
  451. package/dist/types/components.d.ts +626 -245
  452. package/dist/types/index.d.ts +61 -14
  453. package/dist/vscode-data.json +559 -183
  454. package/package.json +1 -1
  455. package/dist/cjs/stzh-servicecard-list.cjs.entry.js +0 -73
  456. package/dist/cjs/stzh-servicecard.cjs.entry.js +0 -234
  457. package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +0 -558
  458. package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +0 -614
  459. package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +0 -73
  460. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +0 -116
  461. package/dist/components/stzh-servicecard-list.js +0 -117
  462. package/dist/components/stzh-servicecard.js +0 -305
  463. package/dist/esm/stzh-servicecard-list.entry.js +0 -69
  464. package/dist/esm/stzh-servicecard.entry.js +0 -230
  465. package/dist/esm-es5/app-globals-c42494e9.js +0 -1
  466. package/dist/esm-es5/stzh-servicecard-list.entry.js +0 -1
  467. package/dist/esm-es5/stzh-servicecard.entry.js +0 -1
  468. package/dist/stzh-components/p-03e2634c.entry.js +0 -1
  469. package/dist/stzh-components/p-1cebd703.entry.js +0 -1
  470. package/dist/stzh-components/p-1f15a4e0.system.entry.js +0 -1
  471. package/dist/stzh-components/p-2b11d549.system.entry.js +0 -1
  472. package/dist/stzh-components/p-33d033a3.system.entry.js +0 -1
  473. package/dist/stzh-components/p-34190502.entry.js +0 -1
  474. package/dist/stzh-components/p-3c799247.entry.js +0 -1
  475. package/dist/stzh-components/p-3ebd2c03.js +0 -1
  476. package/dist/stzh-components/p-4e9bfeb8.system.entry.js +0 -1
  477. package/dist/stzh-components/p-58ffc722.system.entry.js +0 -1
  478. package/dist/stzh-components/p-5e0cccc9.system.entry.js +0 -1
  479. package/dist/stzh-components/p-5ea652ae.system.entry.js +0 -1
  480. package/dist/stzh-components/p-632d9076.system.entry.js +0 -1
  481. package/dist/stzh-components/p-63b5068a.system.entry.js +0 -1
  482. package/dist/stzh-components/p-66556f67.entry.js +0 -1
  483. package/dist/stzh-components/p-6fc271d0.system.entry.js +0 -1
  484. package/dist/stzh-components/p-7921db30.system.entry.js +0 -1
  485. package/dist/stzh-components/p-79bfc485.entry.js +0 -1
  486. package/dist/stzh-components/p-7bb1bd3b.entry.js +0 -1
  487. package/dist/stzh-components/p-7d098987.entry.js +0 -9
  488. package/dist/stzh-components/p-7d62dfeb.system.entry.js +0 -1
  489. package/dist/stzh-components/p-82e6148a.system.entry.js +0 -1
  490. package/dist/stzh-components/p-85d78e08.entry.js +0 -1
  491. package/dist/stzh-components/p-8a60addb.entry.js +0 -1
  492. package/dist/stzh-components/p-8bd3ba06.entry.js +0 -1
  493. package/dist/stzh-components/p-90a10825.system.entry.js +0 -1
  494. package/dist/stzh-components/p-a7253852.entry.js +0 -1
  495. package/dist/stzh-components/p-a86c6487.entry.js +0 -1
  496. package/dist/stzh-components/p-aaa2e48f.system.js +0 -1
  497. package/dist/stzh-components/p-b35b0270.entry.js +0 -1
  498. package/dist/stzh-components/p-b3b5ee7e.entry.js +0 -1
  499. package/dist/stzh-components/p-b651f251.entry.js +0 -1
  500. package/dist/stzh-components/p-bdba7714.entry.js +0 -1
  501. package/dist/stzh-components/p-c581e798.system.entry.js +0 -1
  502. package/dist/stzh-components/p-c6cad5ed.system.entry.js +0 -1
  503. package/dist/stzh-components/p-da063c7e.system.entry.js +0 -1
  504. package/dist/stzh-components/p-e12db90a.entry.js +0 -1
  505. package/dist/stzh-components/p-e2ce48f1.system.entry.js +0 -1
  506. package/dist/stzh-components/p-e4347cfe.entry.js +0 -1
  507. package/dist/stzh-components/p-ec3d4dd4.entry.js +0 -1
  508. package/dist/stzh-components/p-ee5ceac4.entry.js +0 -1
  509. package/dist/stzh-components/p-f0ca6848.system.entry.js +0 -1
  510. package/dist/stzh-components/p-f21440b3.entry.js +0 -1
  511. package/dist/stzh-components/p-f610f725.entry.js +0 -1
  512. package/dist/stzh-components/p-faf20030.system.js +0 -1
  513. package/dist/stzh-components/p-fce0e218.system.entry.js +0 -1
  514. package/dist/stzh-components/p-fd16e20e.system.entry.js +0 -1
  515. package/dist/stzh-components/p-fe9f8a09.system.entry.js +0 -1
@@ -0,0 +1,393 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host, Fragment } from '@stencil/core/internal/client';
2
+ import { s as setPropsIfNull, h as hasSlot } from './utils.js';
3
+ import { m as media } from './media-utils.js';
4
+ import { f as fetchTranslations } from './translation-utils.js';
5
+ import { d as defineCustomElement$9 } from './stzh-actionset2.js';
6
+ import { d as defineCustomElement$8 } from './stzh-badge2.js';
7
+ import { d as defineCustomElement$7 } from './stzh-button2.js';
8
+ import { d as defineCustomElement$6 } from './stzh-icon2.js';
9
+ import { d as defineCustomElement$5 } from './stzh-menu2.js';
10
+ import { d as defineCustomElement$4 } from './stzh-menu-item2.js';
11
+ import { d as defineCustomElement$3 } from './stzh-popover2.js';
12
+ import { d as defineCustomElement$2 } from './stzh-tooltip2.js';
13
+
14
+ const stzhCardCss = ".sc-stzh-card-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--dnd-visibility:hidden;--dnd-opacity:0;position:relative;border-radius:var(--border-radius)}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.stzh-card.sc-stzh-card{background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 600px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:\",\";position:absolute;left:0}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}";
15
+
16
+ const StzhCard$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
17
+ constructor() {
18
+ super();
19
+ this.__registerHost();
20
+ this.stzhCollapse = createEvent(this, "stzhCollapse", 7);
21
+ this.stzhSubtitleClick = createEvent(this, "stzhSubtitleClick", 7);
22
+ this.stzhStarClick = createEvent(this, "stzhStarClick", 7);
23
+ this.stzhHeaderActionClick = createEvent(this, "stzhHeaderActionClick", 7);
24
+ /** Whether card is collapsed or not */
25
+ this.collapsed = false;
26
+ /** Whether card was starred */
27
+ this.starred = false;
28
+ /**
29
+ * Whether card star is displayed (with tooltip and menu-item in mobile popover).
30
+ * The tooltip / menu-item text can be adjusted in the translations file (`actionAdd` & `actionRemove`).
31
+ */
32
+ this.starrable = false;
33
+ /** Whether card is selectable */
34
+ this.selectable = false;
35
+ /** Whether card is checked (if card is selectable) */
36
+ this.checked = false;
37
+ /** The name of the input element (if card is selectable) */
38
+ this.name = "";
39
+ /** The value of the input element (if card is selectable) */
40
+ this.value = "";
41
+ /** Whether the element is disabled or not (if card is selectable) */
42
+ this.disabled = false;
43
+ /** Heading */
44
+ this.heading = "";
45
+ /** Subtitle */
46
+ this.subtitle = "";
47
+ this._subtitles = [];
48
+ /** Card header actions */
49
+ this.headerActions = [];
50
+ /**
51
+ * Card footer actions.
52
+ * The [`stzh-actionset`](?path=/story/components-actionset) component is used internally.
53
+ * You can listen to clicks with the `stzhActionClick` event.
54
+ */
55
+ this.footerActions = [];
56
+ /** Whether subtitle should be rendered as button and event `stzhSubtitleClick` executed on click */
57
+ this.subtitleInteractive = false;
58
+ /**
59
+ * Whether sorting should be disabled.
60
+ * Has no effect if card is not inside a `card-list` element, which has `sortableEnabled` property set to true.
61
+ */
62
+ this.sortableDisabled = false;
63
+ /** Whether card is collapsible */
64
+ this.collapsible = false;
65
+ /** Whether to hide header separation border */
66
+ this.hideHeaderBorder = false;
67
+ /** Whether to hide footer separation border */
68
+ this.hideFooterBorder = false;
69
+ /**
70
+ * Whether movement menu items should be shown.
71
+ * Has no effect if card is not inside a `card-list` element, which has `sortableEnabled` property set to true.
72
+ */
73
+ this.hideMovementActions = false;
74
+ this.nodeChange = (entries) => {
75
+ let changeInSlot = false;
76
+ entries.forEach((entry) => {
77
+ if (entry.target.closest('[slot]') || entry.target.hasAttribute('slot')) {
78
+ changeInSlot = true;
79
+ }
80
+ });
81
+ if (changeInSlot) {
82
+ forceUpdate(this.element);
83
+ }
84
+ };
85
+ this.update = () => {
86
+ if (!this.mainElement) {
87
+ return;
88
+ }
89
+ this.mainElement.classList.remove("stzh-card--has-collapsed-header");
90
+ if (media('medium').matches) {
91
+ const headerWidth = this.headerElement.clientWidth;
92
+ const leftWidth = this.headerLeftElement.clientWidth;
93
+ const rightWidth = this.headerRightElement.clientWidth;
94
+ if (headerWidth - leftWidth <= rightWidth) {
95
+ this.mainElement.classList.add("stzh-card--has-collapsed-header");
96
+ }
97
+ }
98
+ };
99
+ this.headerClick = (event) => {
100
+ if (!this.collapsible) {
101
+ return;
102
+ }
103
+ const filterTags = ["stzh-popover", "stzh-tooltip", "button", "a", "input", "select", "textarea", "iframe", "details", "label", "area"];
104
+ const composedPathTags = event.composedPath().map(element => { var _a; return (_a = element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase(); });
105
+ const found = composedPathTags.some(r => filterTags.includes(r));
106
+ if (!found) {
107
+ this.collapsed = !this.collapsed;
108
+ this.stzhCollapse.emit({
109
+ component: "stzh-card",
110
+ collapsed: this.collapsed
111
+ });
112
+ }
113
+ };
114
+ this.subtitleClick = () => {
115
+ if (this.subtitleInteractive) {
116
+ this.stzhSubtitleClick.emit({
117
+ component: "stzh-card"
118
+ });
119
+ }
120
+ };
121
+ this.starToggleClick = () => {
122
+ this.stzhStarClick.emit({
123
+ component: "stzh-card",
124
+ starred: this.starred
125
+ });
126
+ };
127
+ this.actionClick = (action) => {
128
+ this.stzhHeaderActionClick.emit({
129
+ component: "stzh-card",
130
+ action
131
+ });
132
+ };
133
+ this.arrowUpClick = () => {
134
+ const sortable = this.element.closest("stzh-sortable");
135
+ if (sortable) {
136
+ const element = this.findSortableChildElement();
137
+ sortable.moveItem(element, "up");
138
+ }
139
+ };
140
+ this.arrowDownClick = () => {
141
+ const sortable = this.element.closest("stzh-sortable");
142
+ if (sortable) {
143
+ const element = this.findSortableChildElement();
144
+ sortable.moveItem(element, "down");
145
+ }
146
+ };
147
+ this.updateElementInsideSortable = () => {
148
+ const currentSortable = this.element.closest("stzh-sortable");
149
+ // check if element is still inside sortable
150
+ if (!currentSortable) {
151
+ this.sortable.removeEventListener("stzhUpdate", this.updateElementInsideSortable);
152
+ this.sortable.removeEventListener("stzhDisable", this.updateElementInsideSortable);
153
+ return;
154
+ }
155
+ if (this.element) {
156
+ forceUpdate(this.element);
157
+ }
158
+ };
159
+ this.init = () => {
160
+ const chips = this.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');
161
+ chips.forEach((chip) => {
162
+ setPropsIfNull(chip, {
163
+ size: "small"
164
+ });
165
+ });
166
+ };
167
+ this.handleMutation = (entries) => {
168
+ this.init();
169
+ this.nodeChange(entries);
170
+ };
171
+ this.handleSelectionChange = (event) => {
172
+ this.checked = event.detail.checked;
173
+ };
174
+ }
175
+ handleResize() {
176
+ if (this.debounceResize) {
177
+ window.cancelAnimationFrame(this.debounceResize);
178
+ }
179
+ this.debounceResize = requestAnimationFrame(this.update);
180
+ }
181
+ subtitleWatcher(newValue) {
182
+ if (typeof newValue === "string") {
183
+ try {
184
+ this._subtitles = JSON.parse(newValue);
185
+ }
186
+ catch (err) {
187
+ this._subtitles = [newValue];
188
+ }
189
+ }
190
+ else {
191
+ this._subtitles = newValue;
192
+ }
193
+ }
194
+ headerActionsWatcher(newValue) {
195
+ if (typeof newValue === "string") {
196
+ this._headerActions = JSON.parse(newValue);
197
+ }
198
+ else {
199
+ this._headerActions = newValue;
200
+ }
201
+ }
202
+ footerActionsWatcher(newValue) {
203
+ if (typeof newValue === "string") {
204
+ this._footerActions = JSON.parse(newValue);
205
+ }
206
+ else {
207
+ this._footerActions = newValue;
208
+ }
209
+ }
210
+ findSortableChildElement() {
211
+ const sortable = this.element.closest("stzh-sortable");
212
+ if (sortable) {
213
+ let element = this.element;
214
+ let sortableContainer = null;
215
+ if (typeof sortable.container === "function") {
216
+ sortableContainer = sortable.container();
217
+ }
218
+ else {
219
+ sortableContainer = sortable.container;
220
+ }
221
+ while (element.parentElement && element.parentElement !== sortableContainer) {
222
+ element = element.parentElement;
223
+ }
224
+ return element;
225
+ }
226
+ }
227
+ async componentWillLoad() {
228
+ this.subtitleWatcher(this.subtitle);
229
+ this.headerActionsWatcher(this.headerActions);
230
+ this.footerActionsWatcher(this.footerActions);
231
+ if (!this.localization) {
232
+ this.localization = await fetchTranslations(this.element, "card");
233
+ }
234
+ }
235
+ componentDidLoad() {
236
+ this.sortable = this.element.closest("stzh-sortable");
237
+ if (this.sortable) {
238
+ this.sortable.addEventListener("stzhUpdate", this.updateElementInsideSortable);
239
+ this.sortable.addEventListener("stzhDisable", this.updateElementInsideSortable);
240
+ }
241
+ }
242
+ connectedCallback() {
243
+ this.init();
244
+ this.observer = new MutationObserver(this.handleMutation);
245
+ this.observer.observe(this.element, {
246
+ childList: true,
247
+ subtree: true
248
+ });
249
+ }
250
+ disconnectedCallback() {
251
+ this.observer.disconnect();
252
+ }
253
+ render() {
254
+ var _a, _b, _c;
255
+ const imageUsed = hasSlot(this.element, "image");
256
+ const contentUsed = hasSlot(this.element, "content");
257
+ const classes = {
258
+ "stzh-card": true,
259
+ "stzh-card--has-image": imageUsed,
260
+ "stzh-card--has-content": contentUsed,
261
+ "stzh-card--has-subtitle": !!this.subtitle,
262
+ "stzh-card--has-subtitle-interactive": !!this.subtitle && this.subtitleInteractive,
263
+ "stzh-card--has-hidden-header-border": this.hideHeaderBorder,
264
+ "stzh-card--has-hidden-footer-border": this.hideFooterBorder,
265
+ "stzh-card--is-collapsed": this.collapsed,
266
+ "stzh-card--is-starred": this.starred,
267
+ "stzh-card--is-checked": this.checked
268
+ };
269
+ const Subtitle = `${this.subtitleInteractive ? 'button' : 'span'}`;
270
+ const sortableChildElement = this.findSortableChildElement();
271
+ const isFirstItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
272
+ && Array.from((_a = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _a === void 0 ? void 0 : _a.children)
273
+ .indexOf(sortableChildElement) === 0;
274
+ const isLastItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
275
+ && Array.from((_b = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _b === void 0 ? void 0 : _b.children)
276
+ .indexOf(sortableChildElement) === ((_c = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _c === void 0 ? void 0 : _c.children.length) - 1;
277
+ const sortableActionsEnabled = !this.sortableDisabled
278
+ && !this.hideMovementActions
279
+ && this.sortable
280
+ && !this.sortable.disabled;
281
+ const nonCollapsingTextHeaderActions = this._headerActions.filter(action => !action.onlyCollapseText);
282
+ // const headerActions = [
283
+ // ...this._headerActions
284
+ // ];
285
+ return (h(Host, { role: "listitem", "aria-label": this.heading }, h("article", { ref: (el) => (this.mainElement = el), class: classes }, h("slot", { name: "image" }), h("div", { class: "stzh-card__content-wrapper" }, h("stzh-icon", { class: "stzh-card__dnd", name: "drag" }), h("header", { ref: (el) => (this.headerElement = el), class: "stzh-card__header", onClick: this.headerClick }, h("div", { class: "stzh-card__header-top" }, h("div", { ref: (el) => (this.headerLeftElement = el), class: "stzh-card__header-left" }, h("div", { class: "stzh-card__title-area" }, h("h3", { class: "stzh-card__title" }, this.heading), this._subtitles.length > 0 &&
286
+ h(Subtitle, { class: "stzh-card__subtitle", onClick: this.subtitleClick }, this._subtitles.map(subtitle => (h("span", { class: "stzh-card__subtitle-text" }, subtitle)))))), h("div", { ref: (el) => (this.headerRightElement = el), class: "stzh-card__header-right" }, h("div", { class: "stzh-card__card-actions" }, this._headerActions.map(action => (h("stzh-button", { class: {
287
+ "stzh-card__card-action": true,
288
+ "is-button": true,
289
+ "show-medium": !action.onlyCollapseText,
290
+ "hide-when-collapsed": !action.onlyCollapseText,
291
+ "hide-text-when-collapsed": action.onlyCollapseText
292
+ }, icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, variant: "tertiary", size: "tiny", badgePosition: "icon", onClick: () => { this.actionClick(action); } }, h("span", { class: {
293
+ "show-medium": action.onlyCollapseText,
294
+ "hide-when-collapsed": action.onlyCollapseText
295
+ } }, action.label)))), this.starrable &&
296
+ h("stzh-tooltip", null, h("stzh-button", { class: "stzh-card__card-action is-star", icon: this.starred ? "star-filled" : "star", variant: "tertiary", size: "tiny", iconOnly: true, onClick: this.starToggleClick }), h("div", { slot: "content" }, this.starred ? this.localization.actionRemove : this.localization.actionAdd)), (nonCollapsingTextHeaderActions.length > 0 || this.starrable || sortableActionsEnabled) &&
297
+ h("stzh-popover", { label: this.localization.actionsPopoverLabel, placement: "bottom-end", class: {
298
+ "stzh-card__card-action-popover": true,
299
+ "hide-medium show-when-collapsed": !this.starrable && !sortableActionsEnabled
300
+ } }, h("stzh-button", { class: "stzh-card__card-action is-further", variant: "tertiary", size: "tiny", icon: "more-vertical", iconOnly: true }), h("stzh-menu", { slot: "content" }, this.starrable &&
301
+ h("stzh-menu-item", { icon: this.starred ? "star-filled" : "star", onClick: this.starToggleClick }, this.starred ? this.localization.actionRemove : this.localization.actionAdd), nonCollapsingTextHeaderActions.map(action => (h("stzh-menu-item", { class: "hide-medium show-when-collapsed", icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: () => { this.actionClick(action); } }, action.label))), sortableActionsEnabled &&
302
+ h(Fragment, null, !isFirstItemInSortable &&
303
+ h("stzh-menu-item", { icon: "arrow-up", onClick: this.arrowUpClick }, this.localization.actionMoveUp), !isLastItemInSortable &&
304
+ h("stzh-menu-item", { icon: "arrow-down", onClick: this.arrowDownClick }, this.localization.actionMoveDown))))))), h("div", { class: "stzh-card__header-meta" }, h("slot", { name: "meta" }))), h("div", { class: "stzh-card__content hide-when-collapsed" }, h("slot", { name: "content" })), h("div", { class: "stzh-card__footer hide-when-collapsed" }, this._footerActions.length > 0 &&
305
+ h("stzh-actionset", { actions: this._footerActions }), this.selectable &&
306
+ h("stzh-button", { fullwidth: true, type: "radio", variant: "secondary", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, label: this.localization.select, onStzhChange: this.handleSelectionChange }))))));
307
+ }
308
+ get element() { return this; }
309
+ static get watchers() { return {
310
+ "subtitle": ["subtitleWatcher"],
311
+ "headerActions": ["headerActionsWatcher"],
312
+ "footerActions": ["footerActionsWatcher"]
313
+ }; }
314
+ static get style() { return stzhCardCss; }
315
+ }, [6, "stzh-card", {
316
+ "localization": [16],
317
+ "collapsed": [1540],
318
+ "starred": [1540],
319
+ "starrable": [516],
320
+ "selectable": [516],
321
+ "checked": [516],
322
+ "name": [513],
323
+ "value": [1025],
324
+ "disabled": [516],
325
+ "heading": [1],
326
+ "subtitle": [1],
327
+ "headerActions": [1, "header-actions"],
328
+ "footerActions": [1, "footer-actions"],
329
+ "subtitleInteractive": [4, "subtitle-interactive"],
330
+ "sortableDisabled": [516, "sortable-disabled"],
331
+ "collapsible": [516],
332
+ "hideHeaderBorder": [516, "hide-header-border"],
333
+ "hideFooterBorder": [516, "hide-footer-border"],
334
+ "hideMovementActions": [4, "hide-movement-actions"]
335
+ }, [[9, "resize", "handleResize"]]]);
336
+ function defineCustomElement$1() {
337
+ if (typeof customElements === "undefined") {
338
+ return;
339
+ }
340
+ const components = ["stzh-card", "stzh-actionset", "stzh-badge", "stzh-button", "stzh-icon", "stzh-menu", "stzh-menu-item", "stzh-popover", "stzh-tooltip"];
341
+ components.forEach(tagName => { switch (tagName) {
342
+ case "stzh-card":
343
+ if (!customElements.get(tagName)) {
344
+ customElements.define(tagName, StzhCard$1);
345
+ }
346
+ break;
347
+ case "stzh-actionset":
348
+ if (!customElements.get(tagName)) {
349
+ defineCustomElement$9();
350
+ }
351
+ break;
352
+ case "stzh-badge":
353
+ if (!customElements.get(tagName)) {
354
+ defineCustomElement$8();
355
+ }
356
+ break;
357
+ case "stzh-button":
358
+ if (!customElements.get(tagName)) {
359
+ defineCustomElement$7();
360
+ }
361
+ break;
362
+ case "stzh-icon":
363
+ if (!customElements.get(tagName)) {
364
+ defineCustomElement$6();
365
+ }
366
+ break;
367
+ case "stzh-menu":
368
+ if (!customElements.get(tagName)) {
369
+ defineCustomElement$5();
370
+ }
371
+ break;
372
+ case "stzh-menu-item":
373
+ if (!customElements.get(tagName)) {
374
+ defineCustomElement$4();
375
+ }
376
+ break;
377
+ case "stzh-popover":
378
+ if (!customElements.get(tagName)) {
379
+ defineCustomElement$3();
380
+ }
381
+ break;
382
+ case "stzh-tooltip":
383
+ if (!customElements.get(tagName)) {
384
+ defineCustomElement$2();
385
+ }
386
+ break;
387
+ } });
388
+ }
389
+
390
+ const StzhCard = StzhCard$1;
391
+ const defineCustomElement = defineCustomElement$1;
392
+
393
+ export { StzhCard, defineCustomElement };
@@ -1,11 +1,14 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { S as StzhInputDescription } from './stzh-input-description.js';
3
+ import { f as fetchTranslations } from './translation-utils.js';
2
4
  import { d as defineCustomElement$5 } from './stzh-chip2.js';
3
5
  import { d as defineCustomElement$4 } from './stzh-dropdown2.js';
4
6
  import { d as defineCustomElement$3 } from './stzh-icon2.js';
5
7
  import { d as defineCustomElement$2 } from './stzh-popover2.js';
6
8
 
7
- const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}";
9
+ const stzhChipSelectCss = ".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";
8
10
 
11
+ let chipSelectCounter = 0;
9
12
  const StzhChipSelect$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
10
13
  constructor() {
11
14
  super();
@@ -19,6 +22,14 @@ const StzhChipSelect$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
19
22
  this.label = "";
20
23
  /** Value */
21
24
  this.value = "";
25
+ /** Invalid status */
26
+ this.invalid = false;
27
+ /** Required status */
28
+ this.required = false;
29
+ /** Whether the element is disabled or not */
30
+ this.disabled = false;
31
+ /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
32
+ this.a11yDescribedby = "";
22
33
  this.chipClick = (data) => {
23
34
  this.value = data.value;
24
35
  this.stzhChange.emit({
@@ -48,24 +59,70 @@ const StzhChipSelect$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
48
59
  };
49
60
  });
50
61
  }
62
+ errorWatcher(newValue) {
63
+ if (typeof newValue === "string") {
64
+ try {
65
+ this._error = JSON.parse(newValue);
66
+ }
67
+ catch (e) {
68
+ if (newValue) {
69
+ this._error = [newValue];
70
+ }
71
+ else {
72
+ this._error = [];
73
+ }
74
+ }
75
+ }
76
+ else if (newValue) {
77
+ this._error = newValue;
78
+ }
79
+ else {
80
+ this._error = [];
81
+ }
82
+ this.invalid = this._error.length > 0;
83
+ }
51
84
  async componentWillLoad() {
85
+ this.inputId = `stzh-chip-select-${chipSelectCounter++}`;
52
86
  this.dataWatcher(this.data);
87
+ this.errorWatcher(this.error);
88
+ if (!this.localization) {
89
+ this.localization = await fetchTranslations(this.element, "chip-select");
90
+ }
53
91
  }
54
92
  render() {
93
+ const descriptionUsed = !!this.description;
94
+ const descriptionLongUsed = !!this.descriptionLong;
95
+ const errorUsed = !!this.error;
55
96
  const classes = {
56
- "stzh-chip-select": true
97
+ "stzh-chip-select": true,
98
+ "stzh-chip-select--has-description": descriptionUsed,
99
+ "stzh-chip-select--has-description-long": descriptionLongUsed,
100
+ "stzh-chip-select--has-error": errorUsed,
101
+ "stzh-chip-select--is-invalid": this.invalid,
102
+ "stzh-chip-select--is-disabled": this.disabled,
103
+ "stzh-chip-select--is-required": this.required
57
104
  };
58
- return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-chip-select__chips" }, this._data.map((data) => (h("stzh-chip", { class: "stzh-chip-select__chip", label: data.label, counter: data.counter, icon: data.icon, type: data.type, variant: data.variant, size: data.size, active: this.value === data.value, onClick: () => this.chipClick(data) })))), h("stzh-dropdown", { class: "stzh-chip-select__dropdown", items: [this.value], label: this.label, options: this._dataDropdown, onStzhChange: this.onDropdownChange }))));
105
+ return (h(Host, null, h("div", { class: classes }, h("input", { type: "hidden", name: this.name, value: this.value }), h("div", { class: "stzh-chip-select__chips", role: "listbox" }, this._data.map((data) => (h("stzh-chip", { role: "option", class: "stzh-chip-select__chip", label: data.label, counter: data.counter, icon: data.icon, type: data.type, variant: data.variant, size: data.size, disabled: this.disabled || data.disabled, active: this.value === data.value, "aria-selected": this.value === data.value ? "true" : null, a11yDescribedby: `${this.inputId}-description ${this.a11yDescribedby}`, onClick: () => this.chipClick(data) })))), h(StzhInputDescription, { classPrefix: "stzh-chip-select", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel }), h("stzh-dropdown", { class: "stzh-chip-select__dropdown", disabled: this.disabled, error: this._error, description: this.description, descriptionLong: this.descriptionLong, required: this.required, invalid: this.invalid, items: [this.value], label: this.label, options: this._dataDropdown, onStzhChange: this.onDropdownChange }))));
59
106
  }
60
107
  get element() { return this; }
61
108
  static get watchers() { return {
62
- "data": ["dataWatcher"]
109
+ "data": ["dataWatcher"],
110
+ "error": ["errorWatcher"]
63
111
  }; }
64
112
  static get style() { return stzhChipSelectCss; }
65
- }, [2, "stzh-chip-select", {
113
+ }, [6, "stzh-chip-select", {
114
+ "localization": [16],
66
115
  "data": [1],
116
+ "name": [513],
67
117
  "label": [1],
68
- "value": [1]
118
+ "value": [1],
119
+ "description": [1],
120
+ "descriptionLong": [1, "description-long"],
121
+ "error": [1],
122
+ "invalid": [516],
123
+ "required": [516],
124
+ "disabled": [516],
125
+ "a11yDescribedby": [1, "a11y-describedby"]
69
126
  }]);
70
127
  function defineCustomElement$1() {
71
128
  if (typeof customElements === "undefined") {
@@ -33,6 +33,8 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
33
33
  this.disabled = false;
34
34
  /** Invert (only available for tag variant) */
35
35
  this.invert = false;
36
+ /** Id for element which describes the button */
37
+ this.a11yDescribedby = "";
36
38
  this.onFocus = (event) => {
37
39
  const focusEvent = new FocusEvent("focus", {
38
40
  view: window,
@@ -86,7 +88,7 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
86
88
  [`stzh-chip--${this.variant}`]: !!this.variant
87
89
  };
88
90
  return (h(Host, null, h("div", { class: classes }, this.removable &&
89
- h("button", { class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button" }, h("stzh-icon", { class: "stzh-chip__remove-icon", name: "close" })), h("button", { class: "stzh-chip__button", onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, disabled: this.disabled, type: "button" }, h("div", { class: "stzh-chip__icon-wrapper" }, this.icon ?
91
+ h("button", { class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button" }, h("stzh-icon", { class: "stzh-chip__remove-icon", name: "close" })), h("button", { class: "stzh-chip__button", onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, disabled: this.disabled, type: "button", "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby }, h("div", { class: "stzh-chip__icon-wrapper" }, this.icon ?
90
92
  h("stzh-icon", { class: "stzh-chip__icon", name: this.icon })
91
93
  :
92
94
  h("slot", { name: "icon" })), h("div", { class: "stzh-chip__label" }, this.label ? this.label : h("slot", null)), this.counter &&
@@ -106,6 +108,8 @@ const StzhChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
106
108
  "active": [516],
107
109
  "disabled": [516],
108
110
  "invert": [516],
111
+ "a11yLabel": [1, "a11y-label"],
112
+ "a11yDescribedby": [1, "a11y-describedby"],
109
113
  "setFocus": [64]
110
114
  }]);
111
115
  function defineCustomElement() {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const stzhCspaceCss = ".sc-stzh-cspace-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-cspace-h{display:none}.sc-stzh-cspace-h *.sc-stzh-cspace,.sc-stzh-cspace-h *.sc-stzh-cspace::before,.sc-stzh-cspace-h *.sc-stzh-cspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-input,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datepicker,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-dropdown,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-upload,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkbox,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkboxgroup,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radio,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radiogroup{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"]{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-bottom:var(--stzh-space-medium)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-medium)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-figure{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-medium);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions[variant=process]{margin-top:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset[legend]{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>:first-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-top]{margin-top:0}.sc-stzh-cspace-h .sc-stzh-cspace-s>:last-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-bottom]{margin-bottom:0}.sc-stzh-cspace-h :has(:nth-child(1)[hidden]).sc-stzh-cspace-s>:nth-child(2){margin-top:0}.sc-stzh-cspace-h :has(:nth-last-child(1)[hidden]).sc-stzh-cspace-s>:nth-last-child(2){margin-bottom:0}";
3
+ const stzhCspaceCss = ".sc-stzh-cspace-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-cspace-h{display:none}.sc-stzh-cspace-h *.sc-stzh-cspace,.sc-stzh-cspace-h *.sc-stzh-cspace::before,.sc-stzh-cspace-h *.sc-stzh-cspace::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-input,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datepicker,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-dropdown,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-upload,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkbox,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-checkboxgroup,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radio,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-radiogroup{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h1,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"1\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h2,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"2\"]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>h3,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"3\"],.sc-stzh-cspace-h .sc-stzh-cspace-s>h4,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[level=\"4\"]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>p,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text,.sc-stzh-cspace-h .sc-stzh-cspace-s>ul,.sc-stzh-cspace-h .sc-stzh-cspace-s>ol,.sc-stzh-cspace-h .sc-stzh-cspace-s>dl,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-list{margin-bottom:var(--stzh-space-large)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=hero],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h3],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=h4],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-text[curve=p2],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p1],.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-large)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-figure{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datalist,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datalist,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datalist,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datalist,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datalist,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-progressbar,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-section,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-hr{margin-bottom:var(--stzh-space-xxxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-medium);margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-table,.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-datatable{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-actions[variant=process]{margin-top:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset{margin-top:var(--stzh-space-large);margin-bottom:var(--stzh-space-large)}.sc-stzh-cspace-h .sc-stzh-cspace-s>stzh-fieldset[legend]{margin-top:var(--stzh-space-xxlarge)}.sc-stzh-cspace-h .sc-stzh-cspace-s>:first-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-top]{margin-top:0}.sc-stzh-cspace-h .sc-stzh-cspace-s>:last-child,.sc-stzh-cspace-h .sc-stzh-cspace-s>[no-cspace-bottom]{margin-bottom:0}.sc-stzh-cspace-h :has(:nth-child(1)[hidden]).sc-stzh-cspace-s>:nth-child(2){margin-top:0}.sc-stzh-cspace-h :has(:nth-last-child(1)[hidden]).sc-stzh-cspace-s>:nth-last-child(2){margin-bottom:0}";
4
4
 
5
5
  const StzhCspace$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface StzhDatalist extends Components.StzhDatalist, HTMLElement {}
4
+ export const StzhDatalist: {
5
+ prototype: StzhDatalist;
6
+ new (): StzhDatalist;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;