@oiz/stzh-components 2.11.0-beta1 → 2.11.1

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 (801) hide show
  1. package/dist/cjs/{app-globals-5b6fc14f.js → app-globals-7697372c.js} +2 -2
  2. package/dist/cjs/{app-globals-5b6fc14f.js.map → app-globals-7697372c.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-actionset_4.cjs.entry.js +3 -3
  7. package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -1
  8. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  11. package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
  12. package/dist/cjs/stzh-carousel.cjs.entry.js +4 -3
  13. package/dist/cjs/stzh-carousel.cjs.entry.js.map +1 -1
  14. package/dist/cjs/stzh-cell.cjs.entry.js +4 -4
  15. package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
  16. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-chip_2.cjs.entry.js +8 -1
  19. package/dist/cjs/stzh-chip_2.cjs.entry.js.map +1 -1
  20. package/dist/cjs/stzh-components.cjs.js +2 -2
  21. package/dist/cjs/stzh-contact.cjs.entry.js +7 -4
  22. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  23. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  25. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  29. package/dist/cjs/{stzh-ratio.cjs.entry.js → stzh-figure_2.cjs.entry.js} +33 -1
  30. package/dist/cjs/stzh-figure_2.cjs.entry.js.map +1 -0
  31. package/dist/cjs/stzh-footer.cjs.entry.js +22 -6
  32. package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
  33. package/dist/cjs/stzh-gallery.cjs.entry.js +9733 -0
  34. package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -0
  35. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-header.cjs.entry.js +3 -6
  37. package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
  38. package/dist/cjs/{stzh-hspace.cjs.entry.js → stzh-hspace_2.cjs.entry.js} +41 -6
  39. package/dist/cjs/stzh-hspace_2.cjs.entry.js.map +1 -0
  40. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +0 -2
  41. package/dist/cjs/stzh-imagecomparison.cjs.entry.js.map +1 -1
  42. package/dist/cjs/stzh-input.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-logo.cjs.entry.js +671 -0
  45. package/dist/cjs/stzh-logo.cjs.entry.js.map +1 -0
  46. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-panorama.cjs.entry.js +3 -2
  51. package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
  52. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-print.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +2 -1
  55. package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
  56. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-row.cjs.entry.js +4 -4
  58. package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
  59. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-share.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-space.cjs.entry.js +5 -5
  62. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  63. package/dist/cjs/stzh-sticky.cjs.entry.js +166 -15
  64. package/dist/cjs/stzh-sticky.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-text.cjs.entry.js.map +1 -1
  68. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-toast.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-vspace.cjs.entry.js +5 -5
  75. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  76. package/dist/cjs/{utils-77bc0ea1.js → utils-01c0bbdd.js} +25 -1
  77. package/dist/cjs/utils-01c0bbdd.js.map +1 -0
  78. package/dist/collection/assets/i18n/de.json +19 -10
  79. package/dist/collection/assets/i18n/en.json +19 -10
  80. package/dist/collection/collection-manifest.json +2 -0
  81. package/dist/collection/components/stzh-button/stzh-button.css +4 -0
  82. package/dist/collection/components/stzh-button/stzh-button.js +3 -3
  83. package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
  84. package/dist/collection/components/stzh-card/stzh-card.css +1 -0
  85. package/dist/collection/components/stzh-card-list/stzh-card-list.css +27 -38
  86. package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
  87. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -1
  88. package/dist/collection/components/stzh-carousel/stzh-carousel.js.map +1 -1
  89. package/dist/collection/components/stzh-cell/stzh-cell.js +9 -13
  90. package/dist/collection/components/stzh-cell/stzh-cell.js.map +1 -1
  91. package/dist/collection/components/stzh-clamp/stzh-clamp.js +9 -2
  92. package/dist/collection/components/stzh-clamp/stzh-clamp.js.map +1 -1
  93. package/dist/collection/components/stzh-contact/stzh-contact.js +25 -3
  94. package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
  95. package/dist/collection/components/stzh-cspace/stzh-cspace.css +5 -0
  96. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  97. package/dist/collection/components/stzh-figure/stzh-figure.css +5 -0
  98. package/dist/collection/components/stzh-footer/stzh-footer.css +1 -7
  99. package/dist/collection/components/stzh-footer/stzh-footer.js +21 -5
  100. package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
  101. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +2 -2
  102. package/dist/collection/components/stzh-gallery/assets/angle-left.svg +3 -0
  103. package/dist/collection/components/stzh-gallery/assets/angle-right.svg +3 -0
  104. package/dist/collection/components/stzh-gallery/assets/close.svg +3 -0
  105. package/dist/collection/components/stzh-gallery/stzh-gallery.css +839 -0
  106. package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js +22 -0
  107. package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js.map +1 -0
  108. package/dist/collection/components/stzh-gallery/stzh-gallery.js +410 -0
  109. package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -0
  110. package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js +2 -0
  111. package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js.map +1 -0
  112. package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +163 -0
  113. package/dist/collection/components/stzh-header/stzh-header.css +19 -1
  114. package/dist/collection/components/stzh-header/stzh-header.js +1 -4
  115. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  116. package/dist/collection/components/stzh-header/stzh-header.stories.js +5 -3
  117. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  118. package/dist/collection/components/stzh-hspace/stzh-hspace.js +13 -18
  119. package/dist/collection/components/stzh-hspace/stzh-hspace.js.map +1 -1
  120. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +0 -38
  121. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js.map +1 -1
  122. package/dist/collection/components/stzh-logo/assets/aoz.svg +15 -0
  123. package/dist/collection/components/stzh-logo/assets/pkzh.svg +207 -0
  124. package/dist/collection/components/stzh-logo/assets/stzh-default.svg +166 -0
  125. package/dist/collection/components/stzh-logo/assets/uvz.svg +85 -0
  126. package/dist/collection/components/stzh-logo/assets/vbz.svg +147 -0
  127. package/dist/collection/components/stzh-logo/stzh-logo.css +134 -0
  128. package/dist/collection/components/stzh-logo/stzh-logo.e2e.js +19 -0
  129. package/dist/collection/components/stzh-logo/stzh-logo.e2e.js.map +1 -0
  130. package/dist/collection/components/stzh-logo/stzh-logo.js +72 -0
  131. package/dist/collection/components/stzh-logo/stzh-logo.js.map +1 -0
  132. package/dist/collection/components/stzh-logo/stzh-logo.stories.js +51 -0
  133. package/dist/collection/components/stzh-panorama/stzh-panorama.js +21 -2
  134. package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
  135. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +3 -2
  136. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
  137. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +2 -4
  138. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  139. package/dist/collection/components/stzh-row/stzh-row.js +9 -13
  140. package/dist/collection/components/stzh-row/stzh-row.js.map +1 -1
  141. package/dist/collection/components/stzh-show/stzh-show.js +5 -5
  142. package/dist/collection/components/stzh-show/stzh-show.js.map +1 -1
  143. package/dist/collection/components/stzh-space/stzh-space.js +13 -18
  144. package/dist/collection/components/stzh-space/stzh-space.js.map +1 -1
  145. package/dist/collection/components/stzh-sticky/stzh-sticky.css +28 -17
  146. package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js +1 -0
  147. package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js.map +1 -1
  148. package/dist/collection/components/stzh-sticky/stzh-sticky.js +186 -14
  149. package/dist/collection/components/stzh-sticky/stzh-sticky.js.map +1 -1
  150. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +88 -44
  151. package/dist/collection/components/stzh-text/stzh-text.css +19 -0
  152. package/dist/collection/components/stzh-text/stzh-text.js +1 -1
  153. package/dist/collection/components/stzh-vspace/stzh-vspace.js +13 -18
  154. package/dist/collection/components/stzh-vspace/stzh-vspace.js.map +1 -1
  155. package/dist/collection/index.js.map +1 -1
  156. package/dist/collection/patterns/media/media.e2e.js +3 -1
  157. package/dist/collection/patterns/media/media.e2e.js.map +1 -1
  158. package/dist/collection/patterns/subpages/subpages.e2e.js +1 -0
  159. package/dist/collection/patterns/subpages/subpages.e2e.js.map +1 -1
  160. package/dist/collection/utils/utils.js +22 -0
  161. package/dist/collection/utils/utils.js.map +1 -1
  162. package/dist/components/index.js +1 -1
  163. package/dist/components/index2.js.map +1 -1
  164. package/dist/components/stzh-button2.js +2 -2
  165. package/dist/components/stzh-button2.js.map +1 -1
  166. package/dist/components/stzh-card-list2.js +1 -1
  167. package/dist/components/stzh-card-list2.js.map +1 -1
  168. package/dist/components/stzh-card2.js +1 -1
  169. package/dist/components/stzh-card2.js.map +1 -1
  170. package/dist/components/stzh-carousel2.js +3 -2
  171. package/dist/components/stzh-carousel2.js.map +1 -1
  172. package/dist/components/stzh-cell.js +9 -9
  173. package/dist/components/stzh-cell.js.map +1 -1
  174. package/dist/components/stzh-clamp2.js +8 -1
  175. package/dist/components/stzh-clamp2.js.map +1 -1
  176. package/dist/components/stzh-contact.js +7 -3
  177. package/dist/components/stzh-contact.js.map +1 -1
  178. package/dist/components/stzh-cspace.js +1 -1
  179. package/dist/components/stzh-cspace.js.map +1 -1
  180. package/dist/components/stzh-figure2.js +1 -1
  181. package/dist/components/stzh-figure2.js.map +1 -1
  182. package/dist/components/stzh-footer.js +21 -5
  183. package/dist/components/stzh-footer.js.map +1 -1
  184. package/dist/components/stzh-gallery.d.ts +11 -0
  185. package/dist/components/stzh-gallery.js +9808 -0
  186. package/dist/components/stzh-gallery.js.map +1 -0
  187. package/dist/components/stzh-header.js +2 -5
  188. package/dist/components/stzh-header.js.map +1 -1
  189. package/dist/components/stzh-hspace.js +1 -57
  190. package/dist/components/stzh-hspace.js.map +1 -1
  191. package/dist/{esm/stzh-hspace.entry.js → components/stzh-hspace2.js} +41 -13
  192. package/dist/components/stzh-hspace2.js.map +1 -0
  193. package/dist/components/stzh-imagecomparison.js +0 -4
  194. package/dist/components/stzh-imagecomparison.js.map +1 -1
  195. package/dist/components/stzh-logo.d.ts +11 -0
  196. package/dist/components/stzh-logo.js +687 -0
  197. package/dist/components/stzh-logo.js.map +1 -0
  198. package/dist/components/stzh-panorama.js +4 -2
  199. package/dist/components/stzh-panorama.js.map +1 -1
  200. package/dist/components/stzh-progressbar-item2.js +2 -1
  201. package/dist/components/stzh-progressbar-item2.js.map +1 -1
  202. package/dist/components/stzh-radiogroup2.js +1 -1
  203. package/dist/components/stzh-row.js +9 -9
  204. package/dist/components/stzh-row.js.map +1 -1
  205. package/dist/components/stzh-show.js +1 -59
  206. package/dist/components/stzh-show.js.map +1 -1
  207. package/dist/{esm/stzh-show.entry.js → components/stzh-show2.js} +34 -10
  208. package/dist/components/stzh-show2.js.map +1 -0
  209. package/dist/components/stzh-space.js +13 -13
  210. package/dist/components/stzh-space.js.map +1 -1
  211. package/dist/components/stzh-sticky.js +171 -17
  212. package/dist/components/stzh-sticky.js.map +1 -1
  213. package/dist/components/stzh-text2.js +1 -1
  214. package/dist/components/stzh-text2.js.map +1 -1
  215. package/dist/components/stzh-vbz-majorticker.js +1 -1
  216. package/dist/components/stzh-vspace.js +13 -13
  217. package/dist/components/stzh-vspace.js.map +1 -1
  218. package/dist/components/utils.js +23 -1
  219. package/dist/components/utils.js.map +1 -1
  220. package/dist/esm/{app-globals-2df573fd.js → app-globals-1a77c38b.js} +2 -2
  221. package/dist/esm/{app-globals-2df573fd.js.map → app-globals-1a77c38b.js.map} +1 -1
  222. package/dist/esm/index.js.map +1 -1
  223. package/dist/esm/loader.js +2 -2
  224. package/dist/esm/stzh-actions.entry.js +1 -1
  225. package/dist/esm/stzh-actionset_4.entry.js +3 -3
  226. package/dist/esm/stzh-actionset_4.entry.js.map +1 -1
  227. package/dist/esm/stzh-appnav.entry.js +1 -1
  228. package/dist/esm/stzh-audio.entry.js +1 -1
  229. package/dist/esm/stzh-badge_3.entry.js +3 -3
  230. package/dist/esm/stzh-badge_3.entry.js.map +1 -1
  231. package/dist/esm/stzh-carousel.entry.js +4 -3
  232. package/dist/esm/stzh-carousel.entry.js.map +1 -1
  233. package/dist/esm/stzh-cell.entry.js +4 -4
  234. package/dist/esm/stzh-cell.entry.js.map +1 -1
  235. package/dist/esm/stzh-checkbox.entry.js +1 -1
  236. package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
  237. package/dist/esm/stzh-chip_2.entry.js +8 -1
  238. package/dist/esm/stzh-chip_2.entry.js.map +1 -1
  239. package/dist/esm/stzh-components.js +2 -2
  240. package/dist/esm/stzh-contact.entry.js +7 -4
  241. package/dist/esm/stzh-contact.entry.js.map +1 -1
  242. package/dist/esm/stzh-cspace.entry.js +1 -1
  243. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  244. package/dist/esm/stzh-datepicker_3.entry.js +1 -1
  245. package/dist/esm/stzh-details.entry.js +1 -1
  246. package/dist/esm/stzh-dialog.entry.js +1 -1
  247. package/dist/esm/stzh-dropdown.entry.js +1 -1
  248. package/dist/esm/{stzh-ratio.entry.js → stzh-figure_2.entry.js} +33 -2
  249. package/dist/esm/stzh-figure_2.entry.js.map +1 -0
  250. package/dist/esm/stzh-footer.entry.js +22 -6
  251. package/dist/esm/stzh-footer.entry.js.map +1 -1
  252. package/dist/esm/stzh-gallery.entry.js +9729 -0
  253. package/dist/esm/stzh-gallery.entry.js.map +1 -0
  254. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  255. package/dist/esm/stzh-header.entry.js +3 -6
  256. package/dist/esm/stzh-header.entry.js.map +1 -1
  257. package/dist/esm/stzh-hspace_2.entry.js +67 -0
  258. package/dist/esm/stzh-hspace_2.entry.js.map +1 -0
  259. package/dist/esm/stzh-imagecomparison.entry.js +0 -2
  260. package/dist/esm/stzh-imagecomparison.entry.js.map +1 -1
  261. package/dist/esm/stzh-input.entry.js +1 -1
  262. package/dist/esm/stzh-link.entry.js +1 -1
  263. package/dist/esm/stzh-logo.entry.js +667 -0
  264. package/dist/esm/stzh-logo.entry.js.map +1 -0
  265. package/dist/esm/stzh-menu_2.entry.js +1 -1
  266. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  267. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  268. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  269. package/dist/esm/stzh-panorama.entry.js +3 -2
  270. package/dist/esm/stzh-panorama.entry.js.map +1 -1
  271. package/dist/esm/stzh-popover.entry.js +1 -1
  272. package/dist/esm/stzh-print.entry.js +1 -1
  273. package/dist/esm/stzh-progressbar-item.entry.js +2 -1
  274. package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
  275. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  276. package/dist/esm/stzh-row.entry.js +4 -4
  277. package/dist/esm/stzh-row.entry.js.map +1 -1
  278. package/dist/esm/stzh-scrollup.entry.js +1 -1
  279. package/dist/esm/stzh-share.entry.js +1 -1
  280. package/dist/esm/stzh-space.entry.js +5 -5
  281. package/dist/esm/stzh-space.entry.js.map +1 -1
  282. package/dist/esm/stzh-sticky.entry.js +166 -15
  283. package/dist/esm/stzh-sticky.entry.js.map +1 -1
  284. package/dist/esm/stzh-table.entry.js +1 -1
  285. package/dist/esm/stzh-text.entry.js +1 -1
  286. package/dist/esm/stzh-text.entry.js.map +1 -1
  287. package/dist/esm/stzh-textandimage.entry.js +1 -1
  288. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  289. package/dist/esm/stzh-toast.entry.js +1 -1
  290. package/dist/esm/stzh-toggle.entry.js +1 -1
  291. package/dist/esm/stzh-tooltip.entry.js +1 -1
  292. package/dist/esm/stzh-upload.entry.js +1 -1
  293. package/dist/esm/stzh-vspace.entry.js +5 -5
  294. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  295. package/dist/esm/{utils-107fad0f.js → utils-8bb4c3c6.js} +24 -2
  296. package/dist/esm/utils-8bb4c3c6.js.map +1 -0
  297. package/dist/esm-es5/{app-globals-2df573fd.js → app-globals-1a77c38b.js} +2 -2
  298. package/dist/esm-es5/{app-globals-2df573fd.js.map → app-globals-1a77c38b.js.map} +1 -1
  299. package/dist/esm-es5/index.js.map +1 -1
  300. package/dist/esm-es5/loader.js +1 -1
  301. package/dist/esm-es5/loader.js.map +1 -1
  302. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  303. package/dist/esm-es5/stzh-actionset_4.entry.js +2 -2
  304. package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -1
  305. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  306. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  307. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  308. package/dist/esm-es5/stzh-badge_3.entry.js.map +1 -1
  309. package/dist/esm-es5/stzh-carousel.entry.js +1 -1
  310. package/dist/esm-es5/stzh-carousel.entry.js.map +1 -1
  311. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  312. package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
  313. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  314. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  315. package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
  316. package/dist/esm-es5/stzh-chip_2.entry.js.map +1 -1
  317. package/dist/esm-es5/stzh-components.js +1 -1
  318. package/dist/esm-es5/stzh-components.js.map +1 -1
  319. package/dist/esm-es5/stzh-contact.entry.js +1 -1
  320. package/dist/esm-es5/stzh-contact.entry.js.map +1 -1
  321. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  322. package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
  323. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  324. package/dist/esm-es5/stzh-details.entry.js +1 -1
  325. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  326. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  327. package/dist/esm-es5/stzh-figure_2.entry.js +2 -0
  328. package/dist/esm-es5/stzh-figure_2.entry.js.map +1 -0
  329. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  330. package/dist/esm-es5/stzh-footer.entry.js.map +1 -1
  331. package/dist/esm-es5/stzh-gallery.entry.js +10 -0
  332. package/dist/esm-es5/stzh-gallery.entry.js.map +1 -0
  333. package/dist/esm-es5/stzh-ghettobox.entry.js +1 -1
  334. package/dist/esm-es5/stzh-header.entry.js +1 -1
  335. package/dist/esm-es5/stzh-header.entry.js.map +1 -1
  336. package/dist/esm-es5/stzh-hspace_2.entry.js +2 -0
  337. package/dist/esm-es5/stzh-hspace_2.entry.js.map +1 -0
  338. package/dist/esm-es5/stzh-imagecomparison.entry.js +1 -1
  339. package/dist/esm-es5/stzh-imagecomparison.entry.js.map +1 -1
  340. package/dist/esm-es5/stzh-input.entry.js +1 -1
  341. package/dist/esm-es5/stzh-link.entry.js +1 -1
  342. package/dist/esm-es5/stzh-logo.entry.js +2 -0
  343. package/dist/esm-es5/stzh-logo.entry.js.map +1 -0
  344. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  345. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  346. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  347. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  348. package/dist/esm-es5/stzh-panorama.entry.js +1 -1
  349. package/dist/esm-es5/stzh-panorama.entry.js.map +1 -1
  350. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  351. package/dist/esm-es5/stzh-print.entry.js +1 -1
  352. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  353. package/dist/esm-es5/stzh-progressbar-item.entry.js.map +1 -1
  354. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  355. package/dist/esm-es5/stzh-row.entry.js +1 -1
  356. package/dist/esm-es5/stzh-row.entry.js.map +1 -1
  357. package/dist/esm-es5/stzh-scrollup.entry.js +1 -1
  358. package/dist/esm-es5/stzh-share.entry.js +1 -1
  359. package/dist/esm-es5/stzh-space.entry.js +1 -1
  360. package/dist/esm-es5/stzh-space.entry.js.map +1 -1
  361. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  362. package/dist/esm-es5/stzh-sticky.entry.js.map +1 -1
  363. package/dist/esm-es5/stzh-table.entry.js +1 -1
  364. package/dist/esm-es5/stzh-text.entry.js +1 -1
  365. package/dist/esm-es5/stzh-text.entry.js.map +1 -1
  366. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  367. package/dist/esm-es5/stzh-timeline-item.entry.js +1 -1
  368. package/dist/esm-es5/stzh-toast.entry.js +1 -1
  369. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  370. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  371. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  372. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  373. package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
  374. package/dist/esm-es5/utils-8bb4c3c6.js +2 -0
  375. package/dist/esm-es5/utils-8bb4c3c6.js.map +1 -0
  376. package/dist/stzh-components/assets/i18n/de.json +19 -10
  377. package/dist/stzh-components/assets/i18n/en.json +19 -10
  378. package/dist/stzh-components/index.esm.js.map +1 -1
  379. package/dist/stzh-components/{p-a509436d.entry.js → p-0164f9d1.entry.js} +2 -2
  380. package/dist/stzh-components/p-0164f9d1.entry.js.map +1 -0
  381. package/dist/stzh-components/{p-1f1910e4.system.entry.js → p-0684cfac.system.entry.js} +2 -2
  382. package/dist/stzh-components/{p-1f1910e4.system.entry.js.map → p-0684cfac.system.entry.js.map} +1 -1
  383. package/dist/stzh-components/p-07819ba5.entry.js +2 -0
  384. package/dist/stzh-components/p-07819ba5.entry.js.map +1 -0
  385. package/dist/stzh-components/{p-6b9365fe.system.entry.js → p-0b4cba00.system.entry.js} +2 -2
  386. package/dist/stzh-components/{p-b1fbe1d1.system.entry.js → p-0b8a15cc.system.entry.js} +2 -2
  387. package/dist/stzh-components/p-0bb08043.system.js.map +1 -1
  388. package/dist/stzh-components/p-0c049996.system.entry.js +2 -0
  389. package/dist/stzh-components/p-0c049996.system.entry.js.map +1 -0
  390. package/dist/stzh-components/{p-9bd8613c.system.entry.js → p-0c2381f6.system.entry.js} +2 -2
  391. package/dist/stzh-components/p-0d9aa70c.entry.js +2 -0
  392. package/dist/stzh-components/p-0d9aa70c.entry.js.map +1 -0
  393. package/dist/stzh-components/{p-55a00af2.entry.js → p-10361297.entry.js} +2 -2
  394. package/dist/stzh-components/p-1095d872.system.entry.js +2 -0
  395. package/dist/stzh-components/p-1095d872.system.entry.js.map +1 -0
  396. package/dist/stzh-components/{p-26f37848.entry.js → p-11031613.entry.js} +2 -2
  397. package/dist/stzh-components/{p-062360a4.system.entry.js → p-153f8f3f.system.entry.js} +2 -2
  398. package/dist/stzh-components/p-15980af0.entry.js +10 -0
  399. package/dist/stzh-components/p-15980af0.entry.js.map +1 -0
  400. package/dist/stzh-components/{p-fbf4ee43.system.entry.js → p-1834deba.system.entry.js} +2 -2
  401. package/dist/stzh-components/{p-c1fa2872.system.entry.js → p-188dd49d.system.entry.js} +2 -2
  402. package/dist/stzh-components/{p-68e15c10.system.entry.js → p-1a49012e.system.entry.js} +2 -2
  403. package/dist/stzh-components/{p-2565c905.entry.js → p-1c9eee3d.entry.js} +2 -2
  404. package/dist/stzh-components/{p-badd636f.system.entry.js → p-24c0e33a.system.entry.js} +2 -2
  405. package/dist/stzh-components/{p-badd636f.system.entry.js.map → p-24c0e33a.system.entry.js.map} +1 -1
  406. package/dist/stzh-components/p-2547ec12.system.entry.js +2 -0
  407. package/dist/stzh-components/p-2547ec12.system.entry.js.map +1 -0
  408. package/dist/stzh-components/p-287edde1.system.entry.js +2 -0
  409. package/dist/stzh-components/p-287edde1.system.entry.js.map +1 -0
  410. package/dist/stzh-components/p-2a3fdd90.system.entry.js +2 -0
  411. package/dist/stzh-components/p-2a3fdd90.system.entry.js.map +1 -0
  412. package/dist/stzh-components/{p-af5151b6.entry.js → p-2abcca01.entry.js} +2 -2
  413. package/dist/stzh-components/p-2abcca01.entry.js.map +1 -0
  414. package/dist/stzh-components/{p-97b0b868.system.entry.js → p-2ff7c5db.system.entry.js} +2 -2
  415. package/dist/stzh-components/{p-e0e5d06f.system.entry.js → p-3154e4da.system.entry.js} +2 -2
  416. package/dist/stzh-components/{p-754f37ee.entry.js → p-34add4af.entry.js} +2 -2
  417. package/dist/stzh-components/{p-b28e5fd4.system.entry.js → p-34ff6606.system.entry.js} +2 -2
  418. package/dist/stzh-components/{p-46ccadd5.system.entry.js → p-3ab3a5a7.system.entry.js} +2 -2
  419. package/dist/stzh-components/{p-dd43141d.system.entry.js → p-3ceef7dd.system.entry.js} +2 -2
  420. package/dist/stzh-components/p-3df3f45c.entry.js +2 -0
  421. package/dist/stzh-components/p-3df3f45c.entry.js.map +1 -0
  422. package/dist/stzh-components/{p-e42dbd26.system.entry.js → p-42e25ae1.system.entry.js} +3 -3
  423. package/dist/stzh-components/p-42e25ae1.system.entry.js.map +1 -0
  424. package/dist/stzh-components/{p-38ebb72d.system.entry.js → p-42f483f6.system.entry.js} +2 -2
  425. package/dist/stzh-components/{p-508f6d3d.entry.js → p-488c5c8a.entry.js} +2 -2
  426. package/dist/stzh-components/{p-a5b55401.entry.js → p-4ad49ece.entry.js} +2 -2
  427. package/dist/stzh-components/{p-f8b5c7a8.entry.js → p-4c091b1b.entry.js} +2 -2
  428. package/dist/stzh-components/{p-66965853.entry.js → p-4cb041d5.entry.js} +2 -2
  429. package/dist/stzh-components/{p-9a22e78f.system.entry.js → p-509f90d0.system.entry.js} +2 -2
  430. package/dist/stzh-components/p-509f90d0.system.entry.js.map +1 -0
  431. package/dist/stzh-components/{p-ff2029b6.entry.js → p-5342d3ae.entry.js} +2 -2
  432. package/dist/stzh-components/{p-ff2029b6.entry.js.map → p-5342d3ae.entry.js.map} +1 -1
  433. package/dist/stzh-components/{p-243f3d8c.system.entry.js → p-54a1fdcc.system.entry.js} +2 -2
  434. package/dist/stzh-components/p-54dbcd0e.system.entry.js +11 -0
  435. package/dist/stzh-components/p-54dbcd0e.system.entry.js.map +1 -0
  436. package/dist/stzh-components/{p-1f6fe9f1.entry.js → p-5cea16ad.entry.js} +2 -2
  437. package/dist/stzh-components/{p-1f6fe9f1.entry.js.map → p-5cea16ad.entry.js.map} +1 -1
  438. package/dist/stzh-components/{p-b218ae94.system.entry.js → p-5d02c5e0.system.entry.js} +2 -2
  439. package/dist/stzh-components/{p-01436630.system.entry.js → p-5e861cb6.system.entry.js} +2 -2
  440. package/dist/stzh-components/{p-45e98de0.entry.js → p-64845b66.entry.js} +2 -2
  441. package/dist/stzh-components/{p-45e98de0.entry.js.map → p-64845b66.entry.js.map} +1 -1
  442. package/dist/stzh-components/{p-95e4bc28.entry.js → p-68feffea.entry.js} +2 -2
  443. package/dist/stzh-components/{p-a6938665.entry.js → p-6a91ac35.entry.js} +2 -2
  444. package/dist/stzh-components/p-6a91ac35.entry.js.map +1 -0
  445. package/dist/stzh-components/{p-93c73a62.entry.js → p-6b9b037a.entry.js} +2 -2
  446. package/dist/stzh-components/{p-93c73a62.entry.js.map → p-6b9b037a.entry.js.map} +1 -1
  447. package/dist/stzh-components/{p-98357b67.system.entry.js → p-6e979c9c.system.entry.js} +2 -2
  448. package/dist/stzh-components/{p-98357b67.system.entry.js.map → p-6e979c9c.system.entry.js.map} +1 -1
  449. package/dist/stzh-components/{p-d5b2327f.system.entry.js → p-709514fc.system.entry.js} +2 -2
  450. package/dist/stzh-components/{p-c9f0cf53.entry.js → p-73442cf1.entry.js} +2 -2
  451. package/dist/stzh-components/{p-fd41d303.entry.js → p-7873a639.entry.js} +2 -2
  452. package/dist/stzh-components/p-7c2aa5e8.entry.js +2 -0
  453. package/dist/stzh-components/{p-41b2f989.entry.js.map → p-7c2aa5e8.entry.js.map} +1 -1
  454. package/dist/stzh-components/{p-a7ef9c99.entry.js → p-80851e3d.entry.js} +2 -2
  455. package/dist/stzh-components/p-80f1f324.system.entry.js +2 -0
  456. package/dist/stzh-components/p-80f1f324.system.entry.js.map +1 -0
  457. package/dist/stzh-components/{p-e1bada00.entry.js → p-83a216d7.entry.js} +2 -2
  458. package/dist/stzh-components/{p-1e7376c9.system.js → p-84ae2651.system.js} +2 -2
  459. package/dist/stzh-components/{p-1e7376c9.system.js.map → p-84ae2651.system.js.map} +1 -1
  460. package/dist/stzh-components/{p-bd5b6832.system.entry.js → p-88adaf4b.system.entry.js} +2 -2
  461. package/dist/stzh-components/{p-34a359dd.entry.js → p-88e6248e.entry.js} +2 -2
  462. package/dist/stzh-components/{p-e4e8b73a.system.entry.js → p-8c1c75a7.system.entry.js} +2 -2
  463. package/dist/stzh-components/{p-e4e8b73a.system.entry.js.map → p-8c1c75a7.system.entry.js.map} +1 -1
  464. package/dist/stzh-components/{p-7e76c84a.entry.js → p-91e7dae0.entry.js} +2 -2
  465. package/dist/stzh-components/{p-a8c669b2.system.entry.js → p-97704eb0.system.entry.js} +2 -2
  466. package/dist/stzh-components/{p-a00db16c.js → p-98b60fb7.js} +2 -2
  467. package/dist/stzh-components/{p-a00db16c.js.map → p-98b60fb7.js.map} +1 -1
  468. package/dist/stzh-components/p-9d0fedfe.system.entry.js +2 -0
  469. package/dist/stzh-components/{p-8de3379f.system.entry.js.map → p-9d0fedfe.system.entry.js.map} +1 -1
  470. package/dist/stzh-components/{p-67a483cf.system.entry.js → p-a0b350c2.system.entry.js} +2 -2
  471. package/dist/stzh-components/{p-a4c5ef8d.entry.js → p-a312a505.entry.js} +2 -2
  472. package/dist/stzh-components/p-a60e85c8.system.entry.js +2 -0
  473. package/dist/stzh-components/p-a60e85c8.system.entry.js.map +1 -0
  474. package/dist/stzh-components/{p-99ec62a5.entry.js → p-a94dd79b.entry.js} +2 -2
  475. package/dist/stzh-components/{p-99ec62a5.entry.js.map → p-a94dd79b.entry.js.map} +1 -1
  476. package/dist/stzh-components/p-aa337ae2.entry.js +2 -0
  477. package/dist/stzh-components/p-aa337ae2.entry.js.map +1 -0
  478. package/dist/stzh-components/{p-80e08833.entry.js → p-abbcda3b.entry.js} +2 -2
  479. package/dist/stzh-components/p-ae8eaf99.entry.js +2 -0
  480. package/dist/stzh-components/p-ae8eaf99.entry.js.map +1 -0
  481. package/dist/stzh-components/{p-793a530d.entry.js → p-af33b013.entry.js} +2 -2
  482. package/dist/stzh-components/{p-19b7b131.entry.js → p-afb2885a.entry.js} +2 -2
  483. package/dist/stzh-components/p-b305ec22.entry.js +2 -0
  484. package/dist/stzh-components/p-b305ec22.entry.js.map +1 -0
  485. package/dist/stzh-components/p-b6fed7ff.entry.js +2 -0
  486. package/dist/stzh-components/p-b6fed7ff.entry.js.map +1 -0
  487. package/dist/stzh-components/{p-cc10a5c5.system.entry.js → p-bb2fe16f.system.entry.js} +2 -2
  488. package/dist/stzh-components/p-bb2fe16f.system.entry.js.map +1 -0
  489. package/dist/stzh-components/p-bde8bb45.system.js +2 -0
  490. package/dist/stzh-components/{p-044b80d8.system.js.map → p-bde8bb45.system.js.map} +1 -1
  491. package/dist/stzh-components/{p-7a7eb40f.system.entry.js → p-c143a3f0.system.entry.js} +2 -2
  492. package/dist/stzh-components/{p-0a57145c.system.entry.js → p-c1ab5b6a.system.entry.js} +2 -2
  493. package/dist/stzh-components/p-c1ab5b6a.system.entry.js.map +1 -0
  494. package/dist/stzh-components/{p-fb70c624.system.entry.js → p-c41d9fa7.system.entry.js} +2 -2
  495. package/dist/stzh-components/{p-ebd47e41.entry.js → p-c5a4865c.entry.js} +2 -2
  496. package/dist/stzh-components/{p-7007044a.entry.js → p-c7a068ee.entry.js} +2 -2
  497. package/dist/stzh-components/{p-ae44fab0.entry.js → p-cb906ad4.entry.js} +2 -2
  498. package/dist/stzh-components/{p-70461b7e.entry.js → p-cc260e20.entry.js} +2 -2
  499. package/dist/stzh-components/p-cc260e20.entry.js.map +1 -0
  500. package/dist/stzh-components/p-cfd1eed9.system.entry.js +2 -0
  501. package/dist/stzh-components/p-cfd1eed9.system.entry.js.map +1 -0
  502. package/dist/stzh-components/p-cfdb06e4.js +2 -0
  503. package/dist/stzh-components/p-cfdb06e4.js.map +1 -0
  504. package/dist/stzh-components/{p-54c0340b.entry.js → p-d0678cbb.entry.js} +2 -2
  505. package/dist/stzh-components/p-d22fbf2e.system.entry.js +2 -0
  506. package/dist/stzh-components/p-d22fbf2e.system.entry.js.map +1 -0
  507. package/dist/stzh-components/{p-42138c55.entry.js → p-d362dc3a.entry.js} +2 -2
  508. package/dist/stzh-components/{p-3ac03d9a.entry.js → p-ded183e7.entry.js} +2 -2
  509. package/dist/stzh-components/{p-58a6ed19.system.entry.js → p-df322682.system.entry.js} +2 -2
  510. package/dist/stzh-components/{p-d50495d5.entry.js → p-e24cfa3e.entry.js} +2 -2
  511. package/dist/stzh-components/{p-ffe3fbab.entry.js → p-e3cd443b.entry.js} +2 -2
  512. package/dist/stzh-components/{p-e58d6819.system.entry.js → p-e61f6afc.system.entry.js} +2 -2
  513. package/dist/stzh-components/{p-e58d6819.system.entry.js.map → p-e61f6afc.system.entry.js.map} +1 -1
  514. package/dist/stzh-components/{p-f16e40f8.system.entry.js → p-e670eba0.system.entry.js} +2 -2
  515. package/dist/stzh-components/p-ed2896cd.entry.js +2 -0
  516. package/dist/stzh-components/p-ed2896cd.entry.js.map +1 -0
  517. package/dist/stzh-components/{p-3ccf5529.system.entry.js → p-f159a561.system.entry.js} +2 -2
  518. package/dist/stzh-components/p-f6662aa5.entry.js +2 -0
  519. package/dist/stzh-components/p-f6662aa5.entry.js.map +1 -0
  520. package/dist/stzh-components/p-f73af272.entry.js +8 -0
  521. package/dist/stzh-components/p-f73af272.entry.js.map +1 -0
  522. package/dist/stzh-components/{p-75beb9f8.system.entry.js → p-f8511c39.system.entry.js} +2 -2
  523. package/dist/stzh-components/{p-b1851b3e.entry.js → p-f91187c8.entry.js} +2 -2
  524. package/dist/stzh-components/p-f9cb0fcd.system.js +2 -0
  525. package/dist/stzh-components/p-f9cb0fcd.system.js.map +1 -0
  526. package/dist/stzh-components/{p-4e32ee7a.system.entry.js → p-ff1d24e2.system.entry.js} +2 -2
  527. package/dist/stzh-components/{p-61589824.system.entry.js → p-ff356dc8.system.entry.js} +2 -2
  528. package/dist/stzh-components/{p-9145f8d9.system.entry.js → p-ff9a0645.system.entry.js} +2 -2
  529. package/dist/stzh-components/p-ff9a0645.system.entry.js.map +1 -0
  530. package/dist/stzh-components/stzh-components.esm.js +1 -1
  531. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  532. package/dist/stzh-components/stzh-components.js +1 -1
  533. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +15 -0
  534. package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +73 -0
  535. package/dist/types/components/stzh-actions/stzh-actions.d.ts +16 -0
  536. package/dist/types/components/stzh-actionset/stzh-actionset.d.ts +45 -0
  537. package/dist/types/components/stzh-amount/stzh-amount.d.ts +73 -0
  538. package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +23 -0
  539. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +73 -0
  540. package/dist/types/components/stzh-audio/stzh-audio.d.ts +58 -0
  541. package/dist/types/components/stzh-button/stzh-button.d.ts +105 -0
  542. package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +7 -0
  543. package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +88 -0
  544. package/dist/types/components/stzh-card/stzh-card.d.ts +127 -0
  545. package/dist/types/components/stzh-card-list/stzh-card-list.d.ts +31 -0
  546. package/dist/types/components/stzh-carousel/stzh-carousel.d.ts +175 -0
  547. package/dist/types/components/stzh-chart/stzh-chart.d.ts +15 -0
  548. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +57 -0
  549. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +64 -0
  550. package/dist/types/components/stzh-chip/stzh-chip.d.ts +74 -0
  551. package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +46 -0
  552. package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +49 -0
  553. package/dist/types/components/stzh-contact/stzh-contact.d.ts +54 -0
  554. package/dist/types/components/stzh-datalist/stzh-datalist.d.ts +51 -0
  555. package/dist/types/components/stzh-datalist-item/stzh-datalist-item.d.ts +62 -0
  556. package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +6 -0
  557. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +57 -0
  558. package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +103 -0
  559. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +91 -0
  560. package/dist/types/components/stzh-details/stzh-details.d.ts +35 -0
  561. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +64 -0
  562. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +173 -0
  563. package/dist/types/components/stzh-figure/stzh-figure.d.ts +21 -0
  564. package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +35 -0
  565. package/dist/types/components/stzh-footer/stzh-footer.d.ts +27 -0
  566. package/dist/types/components/stzh-gallery/stzh-gallery.d.ts +54 -0
  567. package/dist/types/components/stzh-gallery/stzh-gallery.localization.d.ts +10 -0
  568. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +50 -0
  569. package/dist/types/components/stzh-header/stzh-header.d.ts +68 -0
  570. package/dist/types/components/stzh-hr/stzh-hr.d.ts +7 -0
  571. package/dist/types/components/stzh-iframe/stzh-iframe.d.ts +60 -0
  572. package/dist/types/components/stzh-imagecomparison/stzh-imagecomparison.d.ts +29 -0
  573. package/dist/types/components/stzh-input/stzh-input.d.ts +104 -0
  574. package/dist/types/components/stzh-invert/stzh-invert.d.ts +7 -0
  575. package/dist/types/components/stzh-langnav/stzh-langnav.d.ts +19 -0
  576. package/dist/types/components/stzh-link/stzh-link.d.ts +88 -0
  577. package/dist/types/components/stzh-list/stzh-list.d.ts +9 -0
  578. package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +7 -0
  579. package/dist/types/components/stzh-loader/stzh-loader.d.ts +13 -0
  580. package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +12 -0
  581. package/dist/types/components/stzh-logo/stzh-logo.d.ts +9 -0
  582. package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +50 -0
  583. package/dist/types/components/stzh-message/stzh-message.d.ts +37 -0
  584. package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +11 -0
  585. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.d.ts +33 -0
  586. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +98 -0
  587. package/dist/types/components/stzh-olmap/stzh-olmap.d.ts +124 -0
  588. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +34 -0
  589. package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +11 -0
  590. package/dist/types/components/stzh-pagebottom/stzh-pagebottom.d.ts +29 -0
  591. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +15 -0
  592. package/dist/types/components/stzh-pagetitle-hero/stzh-pagetitle-hero.d.ts +25 -0
  593. package/dist/types/components/stzh-pagination/stzh-pagination.d.ts +52 -0
  594. package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +74 -0
  595. package/dist/types/components/stzh-popover/stzh-popover.d.ts +73 -0
  596. package/dist/types/components/stzh-print/stzh-print.d.ts +12 -0
  597. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +49 -0
  598. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +34 -0
  599. package/dist/types/components/stzh-radio/stzh-radio.d.ts +57 -0
  600. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +66 -0
  601. package/dist/types/components/stzh-ratio/stzh-ratio.d.ts +22 -0
  602. package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +18 -0
  603. package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +22 -0
  604. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +28 -0
  605. package/dist/types/components/stzh-scrollup/stzh-scrollup.d.ts +12 -0
  606. package/dist/types/components/stzh-share/stzh-share.d.ts +21 -0
  607. package/dist/types/components/stzh-show/stzh-show.d.ts +22 -0
  608. package/dist/types/components/stzh-sitemap/stzh-sitemap.d.ts +14 -0
  609. package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +38 -0
  610. package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +59 -0
  611. package/dist/types/components/stzh-status/stzh-status.d.ts +14 -0
  612. package/dist/types/components/stzh-sticky/stzh-sticky.d.ts +58 -0
  613. package/dist/types/components/stzh-table/stzh-table.d.ts +43 -0
  614. package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +14 -0
  615. package/dist/types/components/stzh-timeline/stzh-timeline.d.ts +23 -0
  616. package/dist/types/components/stzh-timeline-item/stzh-timeline-item.d.ts +78 -0
  617. package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +62 -0
  618. package/dist/types/components/stzh-toast/stzh-toast.d.ts +39 -0
  619. package/dist/types/components/stzh-toastbar/stzh-toastbar.d.ts +41 -0
  620. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +59 -0
  621. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +80 -0
  622. package/dist/types/components/stzh-upload/stzh-upload.d.ts +236 -0
  623. package/dist/types/components/stzh-vbz-carousel/stzh-vbz-carousel.d.ts +14 -0
  624. package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +37 -0
  625. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +41 -0
  626. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +34 -0
  627. package/dist/types/components/stzh-youtube/stzh-youtube.d.ts +30 -0
  628. package/dist/types/components.d.ts +101 -24
  629. package/dist/types/index.d.ts +899 -0
  630. package/dist/types/libraries/tom-select/types/constants.d.ts +12 -0
  631. package/dist/types/libraries/tom-select/types/contrib/highlight.d.ts +13 -0
  632. package/dist/types/libraries/tom-select/types/contrib/microevent.d.ts +20 -0
  633. package/dist/types/libraries/tom-select/types/contrib/microplugin.d.ts +71 -0
  634. package/dist/types/libraries/tom-select/types/defaults.d.ts +51 -0
  635. package/dist/types/libraries/tom-select/types/getSettings.d.ts +3 -0
  636. package/dist/types/libraries/tom-select/types/plugins/caret_position/plugin.d.ts +16 -0
  637. package/dist/types/libraries/tom-select/types/plugins/change_listener/plugin.d.ts +16 -0
  638. package/dist/types/libraries/tom-select/types/plugins/checkbox_options/plugin.d.ts +16 -0
  639. package/dist/types/libraries/tom-select/types/plugins/clear_button/plugin.d.ts +17 -0
  640. package/dist/types/libraries/tom-select/types/plugins/clear_button/types.d.ts +5 -0
  641. package/dist/types/libraries/tom-select/types/plugins/drag_drop/plugin.d.ts +16 -0
  642. package/dist/types/libraries/tom-select/types/plugins/dropdown_header/plugin.d.ts +17 -0
  643. package/dist/types/libraries/tom-select/types/plugins/dropdown_header/types.d.ts +8 -0
  644. package/dist/types/libraries/tom-select/types/plugins/dropdown_input/plugin.d.ts +16 -0
  645. package/dist/types/libraries/tom-select/types/plugins/input_autogrow/plugin.d.ts +15 -0
  646. package/dist/types/libraries/tom-select/types/plugins/no_active_items/plugin.d.ts +15 -0
  647. package/dist/types/libraries/tom-select/types/plugins/no_backspace_delete/plugin.d.ts +15 -0
  648. package/dist/types/libraries/tom-select/types/plugins/optgroup_columns/plugin.d.ts +16 -0
  649. package/dist/types/libraries/tom-select/types/plugins/remove_button/plugin.d.ts +17 -0
  650. package/dist/types/libraries/tom-select/types/plugins/remove_button/types.d.ts +6 -0
  651. package/dist/types/libraries/tom-select/types/plugins/restore_on_backspace/plugin.d.ts +21 -0
  652. package/dist/types/libraries/tom-select/types/plugins/virtual_scroll/plugin.d.ts +16 -0
  653. package/dist/types/libraries/tom-select/types/tom-select.complete.d.ts +2 -0
  654. package/dist/types/libraries/tom-select/types/tom-select.d.ts +596 -0
  655. package/dist/types/libraries/tom-select/types/tom-select.popular.d.ts +2 -0
  656. package/dist/types/libraries/tom-select/types/types/core.d.ts +48 -0
  657. package/dist/types/libraries/tom-select/types/types/index.d.ts +2 -0
  658. package/dist/types/libraries/tom-select/types/types/settings.d.ts +78 -0
  659. package/dist/types/libraries/tom-select/types/utils.d.ts +76 -0
  660. package/dist/types/libraries/tom-select/types/vanilla.d.ts +76 -0
  661. package/dist/types/types/svg.d.ts +4 -0
  662. package/dist/types/utils/utils.d.ts +5 -0
  663. package/package.json +2 -1
  664. package/dist/cjs/stzh-figure.cjs.entry.js +0 -40
  665. package/dist/cjs/stzh-figure.cjs.entry.js.map +0 -1
  666. package/dist/cjs/stzh-hspace.cjs.entry.js.map +0 -1
  667. package/dist/cjs/stzh-ratio.cjs.entry.js.map +0 -1
  668. package/dist/cjs/stzh-show.cjs.entry.js +0 -43
  669. package/dist/cjs/stzh-show.cjs.entry.js.map +0 -1
  670. package/dist/cjs/utils-77bc0ea1.js.map +0 -1
  671. package/dist/esm/stzh-figure.entry.js +0 -36
  672. package/dist/esm/stzh-figure.entry.js.map +0 -1
  673. package/dist/esm/stzh-hspace.entry.js.map +0 -1
  674. package/dist/esm/stzh-ratio.entry.js.map +0 -1
  675. package/dist/esm/stzh-show.entry.js.map +0 -1
  676. package/dist/esm/utils-107fad0f.js.map +0 -1
  677. package/dist/esm-es5/stzh-figure.entry.js +0 -2
  678. package/dist/esm-es5/stzh-figure.entry.js.map +0 -1
  679. package/dist/esm-es5/stzh-hspace.entry.js +0 -2
  680. package/dist/esm-es5/stzh-hspace.entry.js.map +0 -1
  681. package/dist/esm-es5/stzh-ratio.entry.js +0 -2
  682. package/dist/esm-es5/stzh-ratio.entry.js.map +0 -1
  683. package/dist/esm-es5/stzh-show.entry.js +0 -2
  684. package/dist/esm-es5/stzh-show.entry.js.map +0 -1
  685. package/dist/esm-es5/utils-107fad0f.js +0 -2
  686. package/dist/esm-es5/utils-107fad0f.js.map +0 -1
  687. package/dist/stzh-components/p-004b3030.system.entry.js +0 -2
  688. package/dist/stzh-components/p-004b3030.system.entry.js.map +0 -1
  689. package/dist/stzh-components/p-044b80d8.system.js +0 -2
  690. package/dist/stzh-components/p-0a57145c.system.entry.js.map +0 -1
  691. package/dist/stzh-components/p-0c8d651e.entry.js +0 -2
  692. package/dist/stzh-components/p-0c8d651e.entry.js.map +0 -1
  693. package/dist/stzh-components/p-0e5d39e2.system.entry.js +0 -2
  694. package/dist/stzh-components/p-0e5d39e2.system.entry.js.map +0 -1
  695. package/dist/stzh-components/p-0ed6eafb.system.entry.js +0 -2
  696. package/dist/stzh-components/p-0ed6eafb.system.entry.js.map +0 -1
  697. package/dist/stzh-components/p-168f0faa.entry.js +0 -8
  698. package/dist/stzh-components/p-168f0faa.entry.js.map +0 -1
  699. package/dist/stzh-components/p-18bf2b21.system.entry.js +0 -2
  700. package/dist/stzh-components/p-18bf2b21.system.entry.js.map +0 -1
  701. package/dist/stzh-components/p-2452dd71.system.entry.js +0 -2
  702. package/dist/stzh-components/p-2452dd71.system.entry.js.map +0 -1
  703. package/dist/stzh-components/p-330bdf15.system.entry.js +0 -2
  704. package/dist/stzh-components/p-330bdf15.system.entry.js.map +0 -1
  705. package/dist/stzh-components/p-341c1c6c.entry.js +0 -2
  706. package/dist/stzh-components/p-341c1c6c.entry.js.map +0 -1
  707. package/dist/stzh-components/p-41b2f989.entry.js +0 -2
  708. package/dist/stzh-components/p-52e9dbe5.entry.js +0 -2
  709. package/dist/stzh-components/p-52e9dbe5.entry.js.map +0 -1
  710. package/dist/stzh-components/p-53e44e89.system.js +0 -2
  711. package/dist/stzh-components/p-53e44e89.system.js.map +0 -1
  712. package/dist/stzh-components/p-645bbb42.entry.js +0 -2
  713. package/dist/stzh-components/p-645bbb42.entry.js.map +0 -1
  714. package/dist/stzh-components/p-70461b7e.entry.js.map +0 -1
  715. package/dist/stzh-components/p-74e07267.entry.js +0 -2
  716. package/dist/stzh-components/p-74e07267.entry.js.map +0 -1
  717. package/dist/stzh-components/p-7b044a55.entry.js +0 -2
  718. package/dist/stzh-components/p-7b044a55.entry.js.map +0 -1
  719. package/dist/stzh-components/p-7eaed674.system.entry.js +0 -2
  720. package/dist/stzh-components/p-7eaed674.system.entry.js.map +0 -1
  721. package/dist/stzh-components/p-8de3379f.system.entry.js +0 -2
  722. package/dist/stzh-components/p-9145f8d9.system.entry.js.map +0 -1
  723. package/dist/stzh-components/p-9a22e78f.system.entry.js.map +0 -1
  724. package/dist/stzh-components/p-a27c6c02.system.entry.js +0 -2
  725. package/dist/stzh-components/p-a27c6c02.system.entry.js.map +0 -1
  726. package/dist/stzh-components/p-a509436d.entry.js.map +0 -1
  727. package/dist/stzh-components/p-a6938665.entry.js.map +0 -1
  728. package/dist/stzh-components/p-a999bb48.entry.js +0 -2
  729. package/dist/stzh-components/p-a999bb48.entry.js.map +0 -1
  730. package/dist/stzh-components/p-af5151b6.entry.js.map +0 -1
  731. package/dist/stzh-components/p-ba8c574b.js +0 -2
  732. package/dist/stzh-components/p-ba8c574b.js.map +0 -1
  733. package/dist/stzh-components/p-c2fcd668.entry.js +0 -2
  734. package/dist/stzh-components/p-c2fcd668.entry.js.map +0 -1
  735. package/dist/stzh-components/p-cc10a5c5.system.entry.js.map +0 -1
  736. package/dist/stzh-components/p-d18665b6.system.entry.js +0 -2
  737. package/dist/stzh-components/p-d18665b6.system.entry.js.map +0 -1
  738. package/dist/stzh-components/p-e42dbd26.system.entry.js.map +0 -1
  739. package/dist/stzh-components/p-e6f1bae9.system.entry.js +0 -2
  740. package/dist/stzh-components/p-e6f1bae9.system.entry.js.map +0 -1
  741. package/dist/stzh-components/p-ebaf8f26.entry.js +0 -2
  742. package/dist/stzh-components/p-ebaf8f26.entry.js.map +0 -1
  743. package/dist/stzh-components/p-ef274d0c.entry.js +0 -2
  744. package/dist/stzh-components/p-ef274d0c.entry.js.map +0 -1
  745. package/dist/vscode-data.json +0 -7422
  746. /package/dist/stzh-components/{p-6b9365fe.system.entry.js.map → p-0b4cba00.system.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-b1fbe1d1.system.entry.js.map → p-0b8a15cc.system.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-9bd8613c.system.entry.js.map → p-0c2381f6.system.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-55a00af2.entry.js.map → p-10361297.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-26f37848.entry.js.map → p-11031613.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-062360a4.system.entry.js.map → p-153f8f3f.system.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-fbf4ee43.system.entry.js.map → p-1834deba.system.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-c1fa2872.system.entry.js.map → p-188dd49d.system.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-68e15c10.system.entry.js.map → p-1a49012e.system.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-2565c905.entry.js.map → p-1c9eee3d.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-97b0b868.system.entry.js.map → p-2ff7c5db.system.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-e0e5d06f.system.entry.js.map → p-3154e4da.system.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-754f37ee.entry.js.map → p-34add4af.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-b28e5fd4.system.entry.js.map → p-34ff6606.system.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-46ccadd5.system.entry.js.map → p-3ab3a5a7.system.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-dd43141d.system.entry.js.map → p-3ceef7dd.system.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-38ebb72d.system.entry.js.map → p-42f483f6.system.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-508f6d3d.entry.js.map → p-488c5c8a.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-a5b55401.entry.js.map → p-4ad49ece.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-f8b5c7a8.entry.js.map → p-4c091b1b.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-66965853.entry.js.map → p-4cb041d5.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-243f3d8c.system.entry.js.map → p-54a1fdcc.system.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-b218ae94.system.entry.js.map → p-5d02c5e0.system.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-01436630.system.entry.js.map → p-5e861cb6.system.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-95e4bc28.entry.js.map → p-68feffea.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-d5b2327f.system.entry.js.map → p-709514fc.system.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-c9f0cf53.entry.js.map → p-73442cf1.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-fd41d303.entry.js.map → p-7873a639.entry.js.map} +0 -0
  774. /package/dist/stzh-components/{p-a7ef9c99.entry.js.map → p-80851e3d.entry.js.map} +0 -0
  775. /package/dist/stzh-components/{p-e1bada00.entry.js.map → p-83a216d7.entry.js.map} +0 -0
  776. /package/dist/stzh-components/{p-bd5b6832.system.entry.js.map → p-88adaf4b.system.entry.js.map} +0 -0
  777. /package/dist/stzh-components/{p-34a359dd.entry.js.map → p-88e6248e.entry.js.map} +0 -0
  778. /package/dist/stzh-components/{p-7e76c84a.entry.js.map → p-91e7dae0.entry.js.map} +0 -0
  779. /package/dist/stzh-components/{p-a8c669b2.system.entry.js.map → p-97704eb0.system.entry.js.map} +0 -0
  780. /package/dist/stzh-components/{p-67a483cf.system.entry.js.map → p-a0b350c2.system.entry.js.map} +0 -0
  781. /package/dist/stzh-components/{p-a4c5ef8d.entry.js.map → p-a312a505.entry.js.map} +0 -0
  782. /package/dist/stzh-components/{p-80e08833.entry.js.map → p-abbcda3b.entry.js.map} +0 -0
  783. /package/dist/stzh-components/{p-793a530d.entry.js.map → p-af33b013.entry.js.map} +0 -0
  784. /package/dist/stzh-components/{p-19b7b131.entry.js.map → p-afb2885a.entry.js.map} +0 -0
  785. /package/dist/stzh-components/{p-7a7eb40f.system.entry.js.map → p-c143a3f0.system.entry.js.map} +0 -0
  786. /package/dist/stzh-components/{p-fb70c624.system.entry.js.map → p-c41d9fa7.system.entry.js.map} +0 -0
  787. /package/dist/stzh-components/{p-ebd47e41.entry.js.map → p-c5a4865c.entry.js.map} +0 -0
  788. /package/dist/stzh-components/{p-7007044a.entry.js.map → p-c7a068ee.entry.js.map} +0 -0
  789. /package/dist/stzh-components/{p-ae44fab0.entry.js.map → p-cb906ad4.entry.js.map} +0 -0
  790. /package/dist/stzh-components/{p-54c0340b.entry.js.map → p-d0678cbb.entry.js.map} +0 -0
  791. /package/dist/stzh-components/{p-42138c55.entry.js.map → p-d362dc3a.entry.js.map} +0 -0
  792. /package/dist/stzh-components/{p-3ac03d9a.entry.js.map → p-ded183e7.entry.js.map} +0 -0
  793. /package/dist/stzh-components/{p-58a6ed19.system.entry.js.map → p-df322682.system.entry.js.map} +0 -0
  794. /package/dist/stzh-components/{p-d50495d5.entry.js.map → p-e24cfa3e.entry.js.map} +0 -0
  795. /package/dist/stzh-components/{p-ffe3fbab.entry.js.map → p-e3cd443b.entry.js.map} +0 -0
  796. /package/dist/stzh-components/{p-f16e40f8.system.entry.js.map → p-e670eba0.system.entry.js.map} +0 -0
  797. /package/dist/stzh-components/{p-3ccf5529.system.entry.js.map → p-f159a561.system.entry.js.map} +0 -0
  798. /package/dist/stzh-components/{p-75beb9f8.system.entry.js.map → p-f8511c39.system.entry.js.map} +0 -0
  799. /package/dist/stzh-components/{p-b1851b3e.entry.js.map → p-f91187c8.entry.js.map} +0 -0
  800. /package/dist/stzh-components/{p-4e32ee7a.system.entry.js.map → p-ff1d24e2.system.entry.js.map} +0 -0
  801. /package/dist/stzh-components/{p-61589824.system.entry.js.map → p-ff356dc8.system.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-radiogroup.js","sourceRoot":"","sources":["../../../../src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,OAAO,EACP,KAAK,EACL,CAAC,EACD,MAAM,EACP,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,cAAc,GAAG,gDAAgD,CAAC;AAExE,IAAI,iBAAiB,GAAG,CAAC,CAAC;AAE1B;;;;;GAKG;AAMH,MAAM,OAAO,cAAc;;IA8CjB,6BAAwB,GAAa,EAAE,CAAC;IAiGxC,SAAI,GAAG,GAAG,EAAE;MAClB,gBAAgB;MAChB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC;MAExE,IAAI,CAAC,oBAAoB,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;MAChD,IAAI,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Prop,\n Element,\n Watch,\n h,\n Listen\n} from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../utils/translation-utils\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = 'stzh-radio, stzh-button[type=radio], stzh-card';\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"invalid\")\n watchInvalid(newValue: boolean) {\n this.updateRadiosProperty(\"invalid\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\n this.updateCheckedRadioByValue(newValue);\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n\n this.invalid = this._error.length > 0;\n }\n\n @Watch(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\n\n @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"name\" || (this._preventUpdateProperties.indexOf(prop) === -1)) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"show-marker\", false);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchInvalid(this.invalid);\n this.watchRequired(this.required);\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, 'radiogroup');\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, 'error') || !!this.error;\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction\n };\n\n return (\n <fieldset class={classes}>\n {this.legend &&\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {this.showMarker &&\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker\n }\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText\n }\n </span>\n </span>\n }\n </legend>\n }\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n </fieldset>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-radiogroup.js","sourceRoot":"","sources":["../../../../src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,OAAO,EACP,KAAK,EACL,CAAC,EACD,MAAM,EACP,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,MAAM,cAAc,GAAG,gDAAgD,CAAC;AAExE,IAAI,iBA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,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Prop,\n Element,\n Watch,\n h,\n Listen\n} from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../utils/translation-utils\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = 'stzh-radio, stzh-button[type=radio], stzh-card';\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Append text to label depending if field is optional/required. true -> show \"(optional)\", false -> show nothing */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"invalid\")\n watchInvalid(newValue: boolean) {\n this.updateRadiosProperty(\"invalid\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\n this.updateCheckedRadioByValue(newValue);\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n\n this.invalid = this._error.length > 0;\n }\n\n @Watch(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\n\n @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"name\" || (this._preventUpdateProperties.indexOf(prop) === -1)) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"show-marker\", false);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchInvalid(this.invalid);\n this.watchRequired(this.required);\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, 'radiogroup');\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, 'error') || !!this.error;\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction\n };\n\n return (\n <fieldset class={classes}>\n {this.legend &&\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {this.showMarker &&\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker\n }\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText\n }\n </span>\n </span>\n }\n </legend>\n }\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n </fieldset>\n );\n }\n}\n"]}
@@ -5,10 +5,10 @@ import { Host, h, } from "@stencil/core";
5
5
  export class StzhRow {
6
6
  constructor() {
7
7
  this.span = 12;
8
- this.spanSmall = 0;
9
- this.spanMedium = 0;
10
- this.spanLarge = 0;
11
- this.spanUltra = 0;
8
+ this.spanSmall = undefined;
9
+ this.spanMedium = undefined;
10
+ this.spanLarge = undefined;
11
+ this.spanUltra = undefined;
12
12
  this.justify = "start";
13
13
  this.items = "start";
14
14
  this.content = "start";
@@ -50,7 +50,7 @@ export class StzhRow {
50
50
  "text": "Default span of each cell"
51
51
  },
52
52
  "attribute": "span",
53
- "reflect": false,
53
+ "reflect": true,
54
54
  "defaultValue": "12"
55
55
  },
56
56
  "spanSmall": {
@@ -68,8 +68,7 @@ export class StzhRow {
68
68
  "text": "Default span of each cell above small breakpoint"
69
69
  },
70
70
  "attribute": "span-small",
71
- "reflect": false,
72
- "defaultValue": "0"
71
+ "reflect": true
73
72
  },
74
73
  "spanMedium": {
75
74
  "type": "number",
@@ -86,8 +85,7 @@ export class StzhRow {
86
85
  "text": "Default span of each cell above medium breakpoint"
87
86
  },
88
87
  "attribute": "span-medium",
89
- "reflect": false,
90
- "defaultValue": "0"
88
+ "reflect": true
91
89
  },
92
90
  "spanLarge": {
93
91
  "type": "number",
@@ -104,8 +102,7 @@ export class StzhRow {
104
102
  "text": "Default span of each cell above large breakpoint"
105
103
  },
106
104
  "attribute": "span-large",
107
- "reflect": false,
108
- "defaultValue": "0"
105
+ "reflect": true
109
106
  },
110
107
  "spanUltra": {
111
108
  "type": "number",
@@ -122,8 +119,7 @@ export class StzhRow {
122
119
  "text": "Default span of each cell above ultra breakpoint"
123
120
  },
124
121
  "attribute": "span-ultra",
125
- "reflect": false,
126
- "defaultValue": "0"
122
+ "reflect": true
127
123
  },
128
124
  "justify": {
129
125
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-row.js","sourceRoot":"","sources":["../../../../src/components/stzh-row/stzh-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,GACL,MAAM,eAAe,CAAC;AAIvB;;GAEG;AAMH,MAAM,OAAO,OAAO;;gBAEK,EAAE;qBAEG,CAAC;sBAEA,CAAC;qBAEF,CAAC;qBAED,CAAC;mBAGsB,OAAO;iBAGX,OAAO;mBAGH,OAAO;;EAE1D,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,WACE,KAAK,EAAE;UACL,UAAU,EAAE,IAAI;UAChB,CAAC,qBAAqB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;UACrD,CAAC,mBAAmB,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;UAC/C,CAAC,qBAAqB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;SACtD;QAED,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for `stzh-cell` elements\n */\n@Component({\n tag: \"stzh-row\",\n styleUrl: \"stzh-row.scss\",\n shadow: true\n})\nexport class StzhRow {\n /** Default span of each cell */\n @Prop() span: number = 12;\n /** Default span of each cell above small breakpoint */\n @Prop() spanSmall: number = 0;\n /** Default span of each cell above medium breakpoint */\n @Prop() spanMedium: number = 0;\n /** Default span of each cell above large breakpoint */\n @Prop() spanLarge: number = 0;\n /** Default span of each cell above ultra breakpoint */\n @Prop() spanUltra: number = 0;\n\n /** Controlling how cells are positioned along a container's main axis */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Utilities for controlling how rows are positioned in multi-row flex containers. */\n @Prop({ reflect: true }) content: Layout.Justify = \"start\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-row\": true,\n [`stzh-row--justify-${this.justify}`]: !!this.justify,\n [`stzh-row--items-${this.items}`]: !!this.items,\n [`stzh-row--content-${this.content}`]: !!this.content\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-row.js","sourceRoot":"","sources":["../../../../src/components/stzh-row/stzh-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,GACL,MAAM,eAAe,CAAC;AAIvB;;GAEG;AAMH,MAAM,OAAO,OAAO;;gBAEsB,EAAE;;;;;mBAWS,OAAO;iBAGX,OAAO;mBAGH,OAAO;;EAE1D,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,WACE,KAAK,EAAE;UACL,UAAU,EAAE,IAAI;UAChB,CAAC,qBAAqB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;UACrD,CAAC,mBAAmB,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;UAC/C,CAAC,qBAAqB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;SACtD;QAED,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for `stzh-cell` elements\n */\n@Component({\n tag: \"stzh-row\",\n styleUrl: \"stzh-row.scss\",\n shadow: true\n})\nexport class StzhRow {\n /** Default span of each cell */\n @Prop({ reflect: true }) span: number = 12;\n /** Default span of each cell above small breakpoint */\n @Prop({ reflect: true }) spanSmall: number;\n /** Default span of each cell above medium breakpoint */\n @Prop({ reflect: true }) spanMedium: number;\n /** Default span of each cell above large breakpoint */\n @Prop({ reflect: true }) spanLarge: number;\n /** Default span of each cell above ultra breakpoint */\n @Prop({ reflect: true }) spanUltra: number;\n\n /** Controlling how cells are positioned along a container's main axis */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Utilities for controlling how rows are positioned in multi-row flex containers. */\n @Prop({ reflect: true }) content: Layout.Justify = \"start\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-row\": true,\n [`stzh-row--justify-${this.justify}`]: !!this.justify,\n [`stzh-row--items-${this.items}`]: !!this.items,\n [`stzh-row--content-${this.content}`]: !!this.content\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -55,7 +55,7 @@ export class StzhShow {
55
55
  "text": "Mikro"
56
56
  },
57
57
  "attribute": "mikro",
58
- "reflect": false
58
+ "reflect": true
59
59
  },
60
60
  "small": {
61
61
  "type": "boolean",
@@ -72,7 +72,7 @@ export class StzhShow {
72
72
  "text": "Small"
73
73
  },
74
74
  "attribute": "small",
75
- "reflect": false
75
+ "reflect": true
76
76
  },
77
77
  "medium": {
78
78
  "type": "boolean",
@@ -89,7 +89,7 @@ export class StzhShow {
89
89
  "text": "Medium"
90
90
  },
91
91
  "attribute": "medium",
92
- "reflect": false
92
+ "reflect": true
93
93
  },
94
94
  "large": {
95
95
  "type": "boolean",
@@ -106,7 +106,7 @@ export class StzhShow {
106
106
  "text": "Large"
107
107
  },
108
108
  "attribute": "large",
109
- "reflect": false
109
+ "reflect": true
110
110
  },
111
111
  "ultra": {
112
112
  "type": "boolean",
@@ -123,7 +123,7 @@ export class StzhShow {
123
123
  "text": "Ultra"
124
124
  },
125
125
  "attribute": "ultra",
126
- "reflect": false
126
+ "reflect": true
127
127
  },
128
128
  "hideFromDate": {
129
129
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-show.js","sourceRoot":"","sources":["../../../../src/components/stzh-show/stzh-show.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,OAAO,EACP,IAAI,EACJ,KAAK,EACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;GAEG;AAMH,MAAM,OAAO,QAAQ;;;;;;;;;EAqBnB,mBAAmB,CAAC,QAAuB;IACzC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MAChC,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;KAC7C;SAAM;MACL,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;KAC/B;EACH,CAAC;EAID,iBAAiB;IACf,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;EAC9C,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,MAAM,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE;MAC5E,eAAa,CACR,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Watch\n} from \"@stencil/core\";\n\nimport { parseISODate } from \"../../utils/date-utils\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true\n})\nexport class StzhShow {\n /** Mikro */\n @Prop() mikro: boolean;\n\n /** Small */\n @Prop() small: boolean;\n\n /** Medium */\n @Prop() medium: boolean;\n\n /** Large */\n @Prop() large: boolean;\n\n /** Ultra */\n @Prop() ultra: boolean;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = parseISODate(newValue);\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n componentWillLoad() {\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n return (\n <Host hidden={this._hideFromDate && Date.now() >= this._hideFromDate.getTime()}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-show.js","sourceRoot":"","sources":["../../../../src/components/stzh-show/stzh-show.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,OAAO,EACP,IAAI,EACJ,KAAK,EACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD;;GAEG;AAMH,MAAM,OAAO,QAAQ;;;;;;;;;EAqBnB,mBAAmB,CAAC,QAAuB;IACzC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MAChC,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;KAC7C;SAAM;MACL,IAAI,CAAC,aAAa,GAAG,QAAQ,CAAC;KAC/B;EACH,CAAC;EAID,iBAAiB;IACf,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;EAC9C,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,MAAM,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE;MAC5E,eAAa,CACR,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Watch\n} from \"@stencil/core\";\n\nimport { parseISODate } from \"../../utils/date-utils\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-show\",\n styleUrl: \"stzh-show.scss\",\n shadow: true\n})\nexport class StzhShow {\n /** Mikro */\n @Prop({ reflect: true }) mikro: boolean;\n\n /** Small */\n @Prop({ reflect: true }) small: boolean;\n\n /** Medium */\n @Prop({ reflect: true }) medium: boolean;\n\n /** Large */\n @Prop({ reflect: true }) large: boolean;\n\n /** Ultra */\n @Prop({ reflect: true }) ultra: boolean;\n\n /** Hide from date */\n @Prop() hideFromDate: Date | string;\n private _hideFromDate: Date;\n\n @Watch(\"hideFromDate\")\n hideFromDateWatcher(newValue: Date | string) {\n if (typeof newValue === \"string\") {\n this._hideFromDate = parseISODate(newValue);\n } else {\n this._hideFromDate = newValue;\n }\n }\n\n @Element() element: HTMLStzhShowElement;\n\n componentWillLoad() {\n this.hideFromDateWatcher(this.hideFromDate);\n }\n\n render() {\n return (\n <Host hidden={this._hideFromDate && Date.now() >= this._hideFromDate.getTime()}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -5,11 +5,11 @@ import { Host, h, } from "@stencil/core";
5
5
  export class StzhSpace {
6
6
  constructor() {
7
7
  this.curve = "none";
8
- this.size = "inherit";
9
- this.sizeSmall = "inherit";
10
- this.sizeMedium = "inherit";
11
- this.sizeLarge = "inherit";
12
- this.sizeUltra = "inherit";
8
+ this.size = undefined;
9
+ this.sizeSmall = undefined;
10
+ this.sizeMedium = undefined;
11
+ this.sizeLarge = undefined;
12
+ this.sizeUltra = undefined;
13
13
  this.justify = "start";
14
14
  this.items = "start";
15
15
  this.around = false;
@@ -58,7 +58,7 @@ export class StzhSpace {
58
58
  "text": "Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info)."
59
59
  },
60
60
  "attribute": "curve",
61
- "reflect": false,
61
+ "reflect": true,
62
62
  "defaultValue": "\"none\""
63
63
  },
64
64
  "size": {
@@ -82,8 +82,7 @@ export class StzhSpace {
82
82
  "text": "Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
83
83
  },
84
84
  "attribute": "size",
85
- "reflect": false,
86
- "defaultValue": "\"inherit\""
85
+ "reflect": true
87
86
  },
88
87
  "sizeSmall": {
89
88
  "type": "string",
@@ -106,8 +105,7 @@ export class StzhSpace {
106
105
  "text": "Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
107
106
  },
108
107
  "attribute": "size-small",
109
- "reflect": false,
110
- "defaultValue": "\"inherit\""
108
+ "reflect": true
111
109
  },
112
110
  "sizeMedium": {
113
111
  "type": "string",
@@ -130,8 +128,7 @@ export class StzhSpace {
130
128
  "text": "Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
131
129
  },
132
130
  "attribute": "size-medium",
133
- "reflect": false,
134
- "defaultValue": "\"inherit\""
131
+ "reflect": true
135
132
  },
136
133
  "sizeLarge": {
137
134
  "type": "string",
@@ -154,8 +151,7 @@ export class StzhSpace {
154
151
  "text": "Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
155
152
  },
156
153
  "attribute": "size-large",
157
- "reflect": false,
158
- "defaultValue": "\"inherit\""
154
+ "reflect": true
159
155
  },
160
156
  "sizeUltra": {
161
157
  "type": "string",
@@ -178,8 +174,7 @@ export class StzhSpace {
178
174
  "text": "Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
179
175
  },
180
176
  "attribute": "size-ultra",
181
- "reflect": false,
182
- "defaultValue": "\"inherit\""
177
+ "reflect": true
183
178
  },
184
179
  "justify": {
185
180
  "type": "string",
@@ -202,7 +197,7 @@ export class StzhSpace {
202
197
  "text": "Alignment"
203
198
  },
204
199
  "attribute": "justify",
205
- "reflect": false,
200
+ "reflect": true,
206
201
  "defaultValue": "\"start\""
207
202
  },
208
203
  "items": {
@@ -226,7 +221,7 @@ export class StzhSpace {
226
221
  "text": "Control how cells items are positioned along a container's cross axis"
227
222
  },
228
223
  "attribute": "items",
229
- "reflect": false,
224
+ "reflect": true,
230
225
  "defaultValue": "\"start\""
231
226
  },
232
227
  "around": {
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-space.js","sourceRoot":"","sources":["../../../../src/components/stzh-space/stzh-space.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,GACL,MAAM,eAAe,CAAC;AAIvB;;GAEG;AAMH,MAAM,OAAO,SAAS;;iBAEU,MAAM;gBAGR,SAAS;qBAEJ,SAAS;sBAER,SAAS;qBAEV,SAAS;qBAET,SAAS;mBAGR,OAAO;iBAGX,OAAO;kBAGM,KAAK;kBAG8D,MAAM;;EAEpH,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,WACE,KAAK,EAAE;UACL,YAAY,EAAE,IAAI;UAClB,uBAAuB,EAAE,IAAI,CAAC,MAAM;UACpC,CAAC,uBAAuB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;UACvD,CAAC,qBAAqB,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;SAClD;QAED,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be vertically spaced\n */\n@Component({\n tag: \"stzh-space\",\n styleUrl: \"stzh-space.scss\",\n shadow: true\n})\nexport class StzhSpace {\n /** Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info). */\n @Prop() curve: Space.Curves = \"none\";\n\n /** Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop() size: Space.Sizes = \"inherit\";\n /** Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop() sizeSmall: Space.Sizes = \"inherit\";\n /** Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop() sizeMedium: Space.Sizes = \"inherit\";\n /** Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop() sizeLarge: Space.Sizes = \"inherit\";\n /** Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop() sizeUltra: Space.Sizes = \"inherit\";\n\n /** Alignment */\n @Prop() justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop() items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"top\" | \"bottom\" | \"left\" | \"right\" | \"left-right\" | \"top-bottom\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-space\": true,\n 'stzh-space--is-around': this.around,\n [`stzh-space--justify-${this.justify}`]: !!this.justify,\n [`stzh-space--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-space.js","sourceRoot":"","sources":["../../../../src/components/stzh-space/stzh-space.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,GACL,MAAM,eAAe,CAAC;AAIvB;;GAEG;AAMH,MAAM,OAAO,SAAS;;iBAE2B,MAAM;;;;;;mBAcF,OAAO;iBAGX,OAAO;kBAGX,KAAK;kBAG8D,MAAM;;EAEpH,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,WACE,KAAK,EAAE;UACL,YAAY,EAAE,IAAI;UAClB,uBAAuB,EAAE,IAAI,CAAC,MAAM;UACpC,CAAC,uBAAuB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;UACvD,CAAC,qBAAqB,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;SAClD;QAED,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be vertically spaced\n */\n@Component({\n tag: \"stzh-space\",\n styleUrl: \"stzh-space.scss\",\n shadow: true\n})\nexport class StzhSpace {\n /** Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Space.Curves = \"none\";\n\n /** Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) size: Space.Sizes;\n /** Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeSmall: Space.Sizes;\n /** Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeMedium: Space.Sizes;\n /** Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeLarge: Space.Sizes;\n /** Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeUltra: Space.Sizes;\n\n /** Alignment */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"top\" | \"bottom\" | \"left\" | \"right\" | \"left-right\" | \"top-bottom\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-space\": true,\n 'stzh-space--is-around': this.around,\n [`stzh-space--justify-${this.justify}`]: !!this.justify,\n [`stzh-space--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -124,28 +124,30 @@
124
124
  */
125
125
  :host {
126
126
  --padding: var(--stzh-space-large) 0;
127
- position: -webkit-sticky;
128
- position: sticky;
129
- top: -0.0625rem;
130
- bottom: -0.0625rem;
127
+ display: contents;
131
128
  }
132
129
  @media print {
133
130
  :host {
134
131
  display: none;
135
132
  }
136
133
  }
137
- :host[disable-sticky-top]:not([disable-sticky-top=false]) {
138
- top: auto;
139
- }
140
- :host[disable-sticky-bottom]:not([disable-sticky-bottom=false]) {
141
- bottom: auto;
142
- }
143
134
 
144
135
  .stzh-sticky {
136
+ display: contents;
137
+ /* Position sticky variant */
138
+ }
139
+ .stzh-sticky__sticky {
140
+ position: -webkit-sticky;
141
+ position: sticky;
142
+ top: -0.0625rem;
143
+ bottom: -0.0625rem;
144
+ z-index: var(--stzh-z-index-sticky);
145
+ }
146
+ .stzh-sticky__content {
145
147
  position: relative;
146
148
  padding: var(--padding);
147
149
  }
148
- .stzh-sticky::before, .stzh-sticky::after {
150
+ .stzh-sticky__content::before, .stzh-sticky__content::after {
149
151
  content: "";
150
152
  pointer-events: none;
151
153
  display: block;
@@ -156,26 +158,35 @@
156
158
  opacity: 0;
157
159
  transition: opacity var(--stzh-base-transition-animation-speed);
158
160
  }
159
- .stzh-sticky::before {
161
+ .stzh-sticky__content::before {
160
162
  background: linear-gradient(0deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
161
163
  top: 0;
162
164
  transform: translateY(-100%);
163
165
  }
164
- .stzh-sticky::after {
166
+ .stzh-sticky__content::after {
165
167
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
166
168
  bottom: 0;
167
169
  transform: translateY(100%);
168
170
  }
169
- .stzh-sticky--is-stuck {
171
+ .stzh-sticky__spacer {
172
+ display: none;
173
+ }
174
+ .stzh-sticky--is-disabled-sticky-top .stzh-sticky__sticky {
175
+ top: auto;
176
+ }
177
+ .stzh-sticky--is-disabled-sticky-bottom .stzh-sticky__sticky {
178
+ bottom: auto;
179
+ }
180
+ .stzh-sticky--is-stuck .stzh-sticky__content {
170
181
  background-color: var(--stzh-color-white);
171
182
  }
172
- .stzh-sticky--is-stuck-bottom::before {
183
+ .stzh-sticky--is-stuck-bottom .stzh-sticky__content::before {
173
184
  opacity: 1;
174
185
  }
175
- .stzh-sticky--is-stuck-top::after {
186
+ .stzh-sticky--is-stuck-top .stzh-sticky__content::after {
176
187
  opacity: 1;
177
188
  }
178
- .stzh-sticky--is-breakout {
189
+ .stzh-sticky--is-breakout .stzh-sticky__content {
179
190
  position: relative;
180
191
  left: 50%;
181
192
  right: 50%;
@@ -3,6 +3,7 @@ import { visualDiff } from "../../../.build/test/utils";
3
3
  const URL = "components-sticky";
4
4
  const STORIES = [
5
5
  "default",
6
+ "nested-fixed",
6
7
  ];
7
8
  test.describe("sticky", () => {
8
9
  STORIES.forEach((storyId) => {
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-sticky.e2e.js","sourceRoot":"","sources":["../../../../src/components/stzh-sticky/stzh-sticky.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,GAAG,GAAG,mBAAmB,CAAC;AAEhC,MAAM,OAAO,GAAG;EACd,SAAS;CACV,CAAC;AAEF,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;EAC3B,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IAC1B,IAAI,CAAC,SAAS,OAAO,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;MACtD,MAAM,UAAU,CAAC;QACf,OAAO;QACP,IAAI;QACJ,GAAG,EAAE,GAAG;QACR,QAAQ,EAAE,KAAK;OAChB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { test } from \"@playwright/test\";\nimport { visualDiff } from \"../../../.build/test/utils\";\n\nconst URL = \"components-sticky\";\n\nconst STORIES = [\n \"default\",\n];\n\ntest.describe(\"sticky\", () => {\n STORIES.forEach((storyId) => {\n test(`story ${storyId} visual diff`, async ({ page }) => {\n await visualDiff({\n storyId,\n page,\n url: URL,\n fullPage: false\n });\n });\n });\n});\n"]}
1
+ {"version":3,"file":"stzh-sticky.e2e.js","sourceRoot":"","sources":["../../../../src/components/stzh-sticky/stzh-sticky.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,GAAG,GAAG,mBAAmB,CAAC;AAEhC,MAAM,OAAO,GAAG;EACd,SAAS;EACT,cAAc;CACf,CAAC;AAEF,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;EAC3B,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IAC1B,IAAI,CAAC,SAAS,OAAO,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;MACtD,MAAM,UAAU,CAAC;QACf,OAAO;QACP,IAAI;QACJ,GAAG,EAAE,GAAG;QACR,QAAQ,EAAE,KAAK;OAChB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { test } from \"@playwright/test\";\nimport { visualDiff } from \"../../../.build/test/utils\";\n\nconst URL = \"components-sticky\";\n\nconst STORIES = [\n \"default\",\n \"nested-fixed\",\n];\n\ntest.describe(\"sticky\", () => {\n STORIES.forEach((storyId) => {\n test(`story ${storyId} visual diff`, async ({ page }) => {\n await visualDiff({\n storyId,\n page,\n url: URL,\n fullPage: false\n });\n });\n });\n});\n"]}