@oiz/stzh-components 3.4.0-beta1 → 3.4.0-beta2

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 (307) hide show
  1. package/dist/cjs/{app-globals-1074eba6.js → app-globals-d9805497.js} +2 -2
  2. package/dist/cjs/{app-globals-1074eba6.js.map → app-globals-d9805497.js.map} +1 -1
  3. package/dist/cjs/index-92254d32.js +40 -16
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-actions.cjs.entry.js +10 -8
  7. package/dist/cjs/stzh-actions.cjs.entry.js.map +1 -1
  8. package/dist/cjs/stzh-archivelist.cjs.entry.js +6 -16
  9. package/dist/cjs/stzh-archivelist.cjs.entry.js.map +1 -1
  10. package/dist/cjs/{stzh-card_2.cjs.entry.js → stzh-card.cjs.entry.js} +55 -143
  11. package/dist/cjs/stzh-card.cjs.entry.js.map +1 -0
  12. package/dist/cjs/{stzh-sortable.cjs.entry.js → stzh-cardlist_2.cjs.entry.js} +92 -1
  13. package/dist/cjs/stzh-cardlist_2.cjs.entry.js.map +1 -0
  14. package/dist/cjs/{stzh-checkbox_4.cjs.entry.js → stzh-checkbox_3.cjs.entry.js} +4 -91
  15. package/dist/cjs/stzh-checkbox_3.cjs.entry.js.map +1 -0
  16. package/dist/cjs/{stzh-chip_2.cjs.entry.js → stzh-chip.cjs.entry.js} +1 -215
  17. package/dist/cjs/stzh-chip.cjs.entry.js.map +1 -0
  18. package/dist/cjs/stzh-chipgroup.cjs.entry.js +25 -0
  19. package/dist/cjs/stzh-chipgroup.cjs.entry.js.map +1 -0
  20. package/dist/cjs/stzh-chipselect.cjs.entry.js +234 -0
  21. package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -0
  22. package/dist/cjs/stzh-components.cjs.js +2 -2
  23. package/dist/cjs/stzh-dropdown.cjs.entry.js +53 -55
  24. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  25. package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-fieldset.cjs.entry.js.map +1 -1
  27. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +98 -41
  28. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js.map +1 -1
  29. package/dist/cjs/stzh-input.cjs.entry.js +6 -2
  30. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  31. package/dist/cjs/{stzh-chipgroup_2.cjs.entry.js → stzh-message.cjs.entry.js} +1 -18
  32. package/dist/cjs/stzh-message.cjs.entry.js.map +1 -0
  33. package/dist/cjs/stzh-overlay.cjs.entry.js +97 -0
  34. package/dist/cjs/stzh-overlay.cjs.entry.js.map +1 -0
  35. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
  37. package/dist/cjs/stzh-poicard.cjs.entry.js +52 -0
  38. package/dist/cjs/stzh-poicard.cjs.entry.js.map +1 -0
  39. package/dist/cjs/stzh-poilist.cjs.entry.js +122 -0
  40. package/dist/cjs/stzh-poilist.cjs.entry.js.map +1 -0
  41. package/dist/cjs/stzh-popover.cjs.entry.js +445 -0
  42. package/dist/cjs/stzh-popover.cjs.entry.js.map +1 -0
  43. package/dist/cjs/stzh-saptcha.cjs.entry.js +10 -9
  44. package/dist/cjs/stzh-saptcha.cjs.entry.js.map +1 -1
  45. package/dist/cjs/stzh-search.cjs.entry.js +52 -3
  46. package/dist/cjs/stzh-search.cjs.entry.js.map +1 -1
  47. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
  49. package/dist/cjs/{stzh-popover_2.cjs.entry.js → stzh-text.cjs.entry.js} +1 -438
  50. package/dist/cjs/stzh-text.cjs.entry.js.map +1 -0
  51. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js.map +1 -1
  53. package/dist/collection/assets/i18n/de.json +9 -0
  54. package/dist/collection/assets/i18n/en.json +9 -0
  55. package/dist/collection/collection-manifest.json +2 -0
  56. package/dist/collection/components/stzh-actions/stzh-actions.css +27 -0
  57. package/dist/collection/components/stzh-actions/stzh-actions.js +30 -10
  58. package/dist/collection/components/stzh-actions/stzh-actions.js.map +1 -1
  59. package/dist/collection/components/stzh-archivelist/stzh-archivelist.css +3 -0
  60. package/dist/collection/components/stzh-archivelist/stzh-archivelist.js +42 -16
  61. package/dist/collection/components/stzh-archivelist/stzh-archivelist.js.map +1 -1
  62. package/dist/collection/components/stzh-archivelist/stzh-archivelist.stories.js +109 -102
  63. package/dist/collection/components/stzh-card/stzh-card.css +5 -0
  64. package/dist/collection/components/stzh-card/stzh-card.js +72 -51
  65. package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
  66. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +5 -0
  67. package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +8 -8
  68. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +13 -1
  69. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  70. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +11 -1
  71. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +89 -55
  72. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  73. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +120 -0
  74. package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.css +2 -0
  75. package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.js +156 -51
  76. package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  77. package/dist/collection/components/stzh-geo-ref-data/stzh-geo-ref-data.stories.js +64 -63
  78. package/dist/collection/components/stzh-input/stzh-input.css +6 -0
  79. package/dist/collection/components/stzh-input/stzh-input.js +23 -1
  80. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  81. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.css +18 -3
  82. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.stories.js +30 -29
  83. package/dist/collection/components/stzh-poicard/stzh-poicard.css +231 -0
  84. package/dist/collection/components/stzh-poicard/stzh-poicard.e2e.js +16 -0
  85. package/dist/collection/components/stzh-poicard/stzh-poicard.e2e.js.map +1 -0
  86. package/dist/collection/components/stzh-poicard/stzh-poicard.js +86 -0
  87. package/dist/collection/components/stzh-poicard/stzh-poicard.js.map +1 -0
  88. package/dist/collection/components/stzh-poicard/stzh-poicard.stories.js +117 -0
  89. package/dist/collection/components/stzh-poilist/stzh-poilist.css +210 -0
  90. package/dist/collection/components/stzh-poilist/stzh-poilist.e2e.js +16 -0
  91. package/dist/collection/components/stzh-poilist/stzh-poilist.e2e.js.map +1 -0
  92. package/dist/collection/components/stzh-poilist/stzh-poilist.js +181 -0
  93. package/dist/collection/components/stzh-poilist/stzh-poilist.js.map +1 -0
  94. package/dist/collection/components/stzh-poilist/stzh-poilist.localization.js +2 -0
  95. package/dist/collection/components/stzh-poilist/stzh-poilist.localization.js.map +1 -0
  96. package/dist/collection/components/stzh-poilist/stzh-poilist.stories.js +31 -0
  97. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +31 -16
  98. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +34 -17
  99. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js.map +1 -1
  100. package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +3 -0
  101. package/dist/collection/components/stzh-search/stzh-search.css +4 -4
  102. package/dist/collection/components/stzh-search/stzh-search.js +122 -2
  103. package/dist/collection/components/stzh-search/stzh-search.js.map +1 -1
  104. package/dist/collection/components/stzh-section/stzh-section.css +19 -6
  105. package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js +1 -1
  106. package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js.map +1 -1
  107. package/dist/collection/index.js.map +1 -1
  108. package/dist/collection/pages/jobsearch/jobsearch.e2e.js +16 -0
  109. package/dist/collection/pages/jobsearch/jobsearch.e2e.js.map +1 -0
  110. package/dist/components/index.js +1 -1
  111. package/dist/components/index2.js.map +1 -1
  112. package/dist/components/stzh-actions.js +12 -9
  113. package/dist/components/stzh-actions.js.map +1 -1
  114. package/dist/components/stzh-archivelist.js +20 -22
  115. package/dist/components/stzh-archivelist.js.map +1 -1
  116. package/dist/components/stzh-card2.js +55 -51
  117. package/dist/components/stzh-card2.js.map +1 -1
  118. package/dist/components/stzh-cardlist2.js +1 -1
  119. package/dist/components/stzh-cardlist2.js.map +1 -1
  120. package/dist/components/stzh-chipselect2.js +14 -2
  121. package/dist/components/stzh-chipselect2.js.map +1 -1
  122. package/dist/components/stzh-dropdown2.js +55 -55
  123. package/dist/components/stzh-dropdown2.js.map +1 -1
  124. package/dist/components/stzh-fieldset.js +1 -1
  125. package/dist/components/stzh-fieldset.js.map +1 -1
  126. package/dist/components/stzh-geo-ref-data.js +109 -45
  127. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  128. package/dist/components/stzh-input2.js +7 -2
  129. package/dist/components/stzh-input2.js.map +1 -1
  130. package/dist/components/stzh-pi-teaser.js +1 -1
  131. package/dist/components/stzh-pi-teaser.js.map +1 -1
  132. package/dist/components/stzh-poicard.d.ts +11 -0
  133. package/dist/components/stzh-poicard.js +8 -0
  134. package/dist/components/stzh-poicard.js.map +1 -0
  135. package/dist/components/stzh-poicard2.js +108 -0
  136. package/dist/components/stzh-poicard2.js.map +1 -0
  137. package/dist/components/stzh-poilist.d.ts +11 -0
  138. package/dist/components/stzh-poilist.js +246 -0
  139. package/dist/components/stzh-poilist.js.map +1 -0
  140. package/dist/components/stzh-saptcha.js +13 -14
  141. package/dist/components/stzh-saptcha.js.map +1 -1
  142. package/dist/components/stzh-search.js +57 -3
  143. package/dist/components/stzh-search.js.map +1 -1
  144. package/dist/components/stzh-section.js +1 -1
  145. package/dist/components/stzh-section.js.map +1 -1
  146. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  147. package/dist/components/stzh-vbz-connection-finder.js.map +1 -1
  148. package/dist/esm/{app-globals-fbb949bd.js → app-globals-ca13b6e3.js} +2 -2
  149. package/dist/esm/{app-globals-fbb949bd.js.map → app-globals-ca13b6e3.js.map} +1 -1
  150. package/dist/esm/index-e3050b18.js +40 -16
  151. package/dist/esm/index.js.map +1 -1
  152. package/dist/esm/loader.js +2 -2
  153. package/dist/esm/stzh-actions.entry.js +10 -8
  154. package/dist/esm/stzh-actions.entry.js.map +1 -1
  155. package/dist/esm/stzh-archivelist.entry.js +6 -16
  156. package/dist/esm/stzh-archivelist.entry.js.map +1 -1
  157. package/dist/esm/{stzh-card_2.entry.js → stzh-card.entry.js} +56 -143
  158. package/dist/esm/stzh-card.entry.js.map +1 -0
  159. package/dist/esm/{stzh-sortable.entry.js → stzh-cardlist_2.entry.js} +92 -2
  160. package/dist/esm/stzh-cardlist_2.entry.js.map +1 -0
  161. package/dist/esm/{stzh-checkbox_4.entry.js → stzh-checkbox_3.entry.js} +5 -91
  162. package/dist/esm/stzh-checkbox_3.entry.js.map +1 -0
  163. package/dist/esm/{stzh-chip_2.entry.js → stzh-chip.entry.js} +3 -216
  164. package/dist/esm/stzh-chip.entry.js.map +1 -0
  165. package/dist/esm/stzh-chipgroup.entry.js +21 -0
  166. package/dist/esm/stzh-chipgroup.entry.js.map +1 -0
  167. package/dist/esm/stzh-chipselect.entry.js +230 -0
  168. package/dist/esm/stzh-chipselect.entry.js.map +1 -0
  169. package/dist/esm/stzh-components.js +2 -2
  170. package/dist/esm/stzh-dropdown.entry.js +53 -55
  171. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  172. package/dist/esm/stzh-fieldset.entry.js +1 -1
  173. package/dist/esm/stzh-fieldset.entry.js.map +1 -1
  174. package/dist/esm/stzh-geo-ref-data.entry.js +98 -41
  175. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  176. package/dist/esm/stzh-input.entry.js +6 -2
  177. package/dist/esm/stzh-input.entry.js.map +1 -1
  178. package/dist/esm/{stzh-chipgroup_2.entry.js → stzh-message.entry.js} +3 -19
  179. package/dist/esm/stzh-message.entry.js.map +1 -0
  180. package/dist/esm/stzh-overlay.entry.js +93 -0
  181. package/dist/esm/stzh-overlay.entry.js.map +1 -0
  182. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  183. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  184. package/dist/esm/stzh-poicard.entry.js +48 -0
  185. package/dist/esm/stzh-poicard.entry.js.map +1 -0
  186. package/dist/esm/stzh-poilist.entry.js +118 -0
  187. package/dist/esm/stzh-poilist.entry.js.map +1 -0
  188. package/dist/esm/stzh-popover.entry.js +441 -0
  189. package/dist/esm/stzh-popover.entry.js.map +1 -0
  190. package/dist/esm/stzh-saptcha.entry.js +11 -10
  191. package/dist/esm/stzh-saptcha.entry.js.map +1 -1
  192. package/dist/esm/stzh-search.entry.js +52 -3
  193. package/dist/esm/stzh-search.entry.js.map +1 -1
  194. package/dist/esm/stzh-section.entry.js +1 -1
  195. package/dist/esm/stzh-section.entry.js.map +1 -1
  196. package/dist/esm/{stzh-popover_2.entry.js → stzh-text.entry.js} +3 -439
  197. package/dist/esm/stzh-text.entry.js.map +1 -0
  198. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  199. package/dist/esm/stzh-vbz-connection-finder.entry.js.map +1 -1
  200. package/dist/stzh-components/assets/i18n/de.json +9 -0
  201. package/dist/stzh-components/assets/i18n/en.json +9 -0
  202. package/dist/stzh-components/index.esm.js.map +1 -1
  203. package/dist/stzh-components/{p-206ec94f.entry.js → p-0846f5a7.entry.js} +2 -2
  204. package/dist/stzh-components/p-0846f5a7.entry.js.map +1 -0
  205. package/dist/stzh-components/p-0d092d58.entry.js +2 -0
  206. package/dist/stzh-components/p-0d092d58.entry.js.map +1 -0
  207. package/dist/stzh-components/{p-38cd406c.entry.js → p-10c2c688.entry.js} +2 -2
  208. package/dist/stzh-components/p-10c2c688.entry.js.map +1 -0
  209. package/dist/stzh-components/{p-23de5712.entry.js → p-1391115f.entry.js} +2 -2
  210. package/dist/stzh-components/{p-23de5712.entry.js.map → p-1391115f.entry.js.map} +1 -1
  211. package/dist/stzh-components/p-1b2fb680.entry.js +9 -0
  212. package/dist/stzh-components/p-1b2fb680.entry.js.map +1 -0
  213. package/dist/stzh-components/p-1e121c5f.entry.js +2 -0
  214. package/dist/stzh-components/p-1e121c5f.entry.js.map +1 -0
  215. package/dist/stzh-components/p-35d842ce.entry.js +2 -0
  216. package/dist/stzh-components/p-35d842ce.entry.js.map +1 -0
  217. package/dist/stzh-components/p-3e2b4d92.entry.js +2 -0
  218. package/dist/stzh-components/p-3e2b4d92.entry.js.map +1 -0
  219. package/dist/stzh-components/p-47cb71af.entry.js +2 -0
  220. package/dist/stzh-components/p-47cb71af.entry.js.map +1 -0
  221. package/dist/stzh-components/p-4e2db8e9.entry.js +8 -0
  222. package/dist/stzh-components/p-4e2db8e9.entry.js.map +1 -0
  223. package/dist/stzh-components/{p-cded8c4a.js → p-57caee36.js} +2 -2
  224. package/dist/stzh-components/p-616ae3be.entry.js +2 -0
  225. package/dist/stzh-components/p-616ae3be.entry.js.map +1 -0
  226. package/dist/stzh-components/{p-15d008ea.entry.js → p-72c9db89.entry.js} +3 -3
  227. package/dist/stzh-components/p-72c9db89.entry.js.map +1 -0
  228. package/dist/stzh-components/p-7bb2eb4e.entry.js +2 -0
  229. package/dist/stzh-components/p-7bb2eb4e.entry.js.map +1 -0
  230. package/dist/stzh-components/p-8c4d543d.entry.js +2 -0
  231. package/dist/stzh-components/p-8c4d543d.entry.js.map +1 -0
  232. package/dist/stzh-components/p-9506f599.entry.js +2 -0
  233. package/dist/stzh-components/p-9506f599.entry.js.map +1 -0
  234. package/dist/stzh-components/p-9b1267a6.entry.js +2 -0
  235. package/dist/stzh-components/p-9b1267a6.entry.js.map +1 -0
  236. package/dist/stzh-components/p-a9216459.entry.js +2 -0
  237. package/dist/stzh-components/p-a9216459.entry.js.map +1 -0
  238. package/dist/stzh-components/p-b2920d7f.entry.js +2 -0
  239. package/dist/stzh-components/p-b2920d7f.entry.js.map +1 -0
  240. package/dist/stzh-components/p-b6f19446.entry.js +2 -0
  241. package/dist/stzh-components/p-b6f19446.entry.js.map +1 -0
  242. package/dist/stzh-components/p-b75800da.entry.js +2 -0
  243. package/dist/stzh-components/p-b75800da.entry.js.map +1 -0
  244. package/dist/stzh-components/{p-d058fc1e.entry.js → p-c4bbdbfe.entry.js} +2 -2
  245. package/dist/stzh-components/p-c4bbdbfe.entry.js.map +1 -0
  246. package/dist/stzh-components/p-c6504f41.entry.js +2 -0
  247. package/dist/stzh-components/p-c6504f41.entry.js.map +1 -0
  248. package/dist/stzh-components/p-d29fd503.entry.js +2 -0
  249. package/dist/stzh-components/p-d29fd503.entry.js.map +1 -0
  250. package/dist/stzh-components/stzh-components.esm.js +1 -1
  251. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  252. package/dist/types/components/stzh-actions/stzh-actions.d.ts +3 -1
  253. package/dist/types/components/stzh-archivelist/stzh-archivelist.d.ts +4 -0
  254. package/dist/types/components/stzh-card/stzh-card.d.ts +4 -2
  255. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +6 -2
  256. package/dist/types/components/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +16 -2
  257. package/dist/types/components/stzh-input/stzh-input.d.ts +2 -0
  258. package/dist/types/components/stzh-poicard/stzh-poicard.d.ts +14 -0
  259. package/dist/types/components/stzh-poilist/stzh-poilist.d.ts +31 -0
  260. package/dist/types/components/stzh-poilist/stzh-poilist.localization.d.ts +10 -0
  261. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +5 -4
  262. package/dist/types/components/stzh-search/stzh-search.d.ts +13 -0
  263. package/dist/types/components.d.ts +190 -10
  264. package/dist/types/index.d.ts +28 -0
  265. package/dist/vscode-data.json +104 -3
  266. package/package.json +1 -1
  267. package/dist/cjs/stzh-card_2.cjs.entry.js.map +0 -1
  268. package/dist/cjs/stzh-checkbox_4.cjs.entry.js.map +0 -1
  269. package/dist/cjs/stzh-chip_2.cjs.entry.js.map +0 -1
  270. package/dist/cjs/stzh-chipgroup_2.cjs.entry.js.map +0 -1
  271. package/dist/cjs/stzh-popover_2.cjs.entry.js.map +0 -1
  272. package/dist/cjs/stzh-sortable.cjs.entry.js.map +0 -1
  273. package/dist/esm/stzh-card_2.entry.js.map +0 -1
  274. package/dist/esm/stzh-checkbox_4.entry.js.map +0 -1
  275. package/dist/esm/stzh-chip_2.entry.js.map +0 -1
  276. package/dist/esm/stzh-chipgroup_2.entry.js.map +0 -1
  277. package/dist/esm/stzh-popover_2.entry.js.map +0 -1
  278. package/dist/esm/stzh-sortable.entry.js.map +0 -1
  279. package/dist/stzh-components/p-12851c24.entry.js +0 -2
  280. package/dist/stzh-components/p-12851c24.entry.js.map +0 -1
  281. package/dist/stzh-components/p-15d008ea.entry.js.map +0 -1
  282. package/dist/stzh-components/p-1b31cd8a.entry.js +0 -2
  283. package/dist/stzh-components/p-1b31cd8a.entry.js.map +0 -1
  284. package/dist/stzh-components/p-206ec94f.entry.js.map +0 -1
  285. package/dist/stzh-components/p-38cd406c.entry.js.map +0 -1
  286. package/dist/stzh-components/p-50c32fd1.entry.js +0 -2
  287. package/dist/stzh-components/p-50c32fd1.entry.js.map +0 -1
  288. package/dist/stzh-components/p-55349f2e.entry.js +0 -2
  289. package/dist/stzh-components/p-55349f2e.entry.js.map +0 -1
  290. package/dist/stzh-components/p-9c643610.entry.js +0 -2
  291. package/dist/stzh-components/p-9c643610.entry.js.map +0 -1
  292. package/dist/stzh-components/p-9cdd5e6f.entry.js +0 -2
  293. package/dist/stzh-components/p-9cdd5e6f.entry.js.map +0 -1
  294. package/dist/stzh-components/p-a672aaea.entry.js +0 -8
  295. package/dist/stzh-components/p-a672aaea.entry.js.map +0 -1
  296. package/dist/stzh-components/p-a77b49cb.entry.js +0 -2
  297. package/dist/stzh-components/p-a77b49cb.entry.js.map +0 -1
  298. package/dist/stzh-components/p-b509dedd.entry.js +0 -2
  299. package/dist/stzh-components/p-b509dedd.entry.js.map +0 -1
  300. package/dist/stzh-components/p-b870c799.entry.js +0 -2
  301. package/dist/stzh-components/p-b870c799.entry.js.map +0 -1
  302. package/dist/stzh-components/p-d058fc1e.entry.js.map +0 -1
  303. package/dist/stzh-components/p-da043311.entry.js +0 -9
  304. package/dist/stzh-components/p-da043311.entry.js.map +0 -1
  305. package/dist/stzh-components/p-fb077fd5.entry.js +0 -2
  306. package/dist/stzh-components/p-fb077fd5.entry.js.map +0 -1
  307. /package/dist/stzh-components/{p-cded8c4a.js.map → p-57caee36.js.map} +0 -0
@@ -360,6 +360,15 @@
360
360
  "tagsLabel": "Tags",
361
361
  "showMore": "Mehr anzeigen"
362
362
  },
363
+ "poilist": {
364
+ "showMore": "Mehr anzeigen",
365
+ "geopositionError": "Es ist ein Fehler aufgetreten bei der Lokalisierung Ihrer Position.",
366
+ "geopositionLoading": "Ihre Position wird lokalisiert...",
367
+ "dataLoading": "Daten werden geladen...",
368
+ "sortByDistance": "Sortierung nach Entfernung",
369
+ "of": "von",
370
+ "sortByName": "Sortierung nach Name"
371
+ },
363
372
  "search": {
364
373
  "showMore": "Mehr anzeigen",
365
374
  "moreFilter": "Weitere Filter",
@@ -360,6 +360,15 @@
360
360
  "tagsLabel": "Tags",
361
361
  "showMore": "Show more"
362
362
  },
363
+ "poilist": {
364
+ "showMore": "Show more",
365
+ "geopositionError": "An error occured while trying to geolocate your position.",
366
+ "geopositionLoading": "Trying to find your geoposition...",
367
+ "dataLoading": "Loading data...",
368
+ "sortByDistance": "Sort by distance",
369
+ "of": "of",
370
+ "sortByName": "Sort by name"
371
+ },
363
372
  "search": {
364
373
  "showMore": "Show more",
365
374
  "moreFilter": "More filter",
@@ -93,6 +93,8 @@
93
93
  "components/stzh-pi-pagetitle/stzh-pi-pagetitle.js",
94
94
  "components/stzh-pi-quote/stzh-pi-quote.js",
95
95
  "components/stzh-pi-teaser/stzh-pi-teaser.js",
96
+ "components/stzh-poicard/stzh-poicard.js",
97
+ "components/stzh-poilist/stzh-poilist.js",
96
98
  "components/stzh-popover/stzh-popover.js",
97
99
  "components/stzh-print/stzh-print.js",
98
100
  "components/stzh-progressbar/stzh-progressbar.js",
@@ -168,7 +168,15 @@
168
168
  flex-grow: 1;
169
169
  margin: calc(var(--stzh-space-medium) / 2);
170
170
  }
171
+ @media screen and (min-width: 600px) {
172
+ :host[space-between=true] ::slotted([slot=tertiary]) {
173
+ flex-grow: inherit;
174
+ }
175
+ }
171
176
 
177
+ .stzh-actions {
178
+ /* space between */
179
+ }
172
180
  .stzh-actions__actions {
173
181
  display: flex;
174
182
  flex-direction: column-reverse;
@@ -206,4 +214,23 @@
206
214
  }
207
215
  .stzh-actions--search .stzh-actions__actions {
208
216
  justify-content: flex-end;
217
+ }
218
+ .stzh-actions--space-between .stzh-actions__actions {
219
+ justify-content: space-between;
220
+ }
221
+ @media screen and (min-width: 600px) {
222
+ .stzh-actions--space-between .stzh-actions__actions {
223
+ flex-direction: column;
224
+ }
225
+ }
226
+ @media screen and (min-width: 900px) {
227
+ .stzh-actions--space-between .stzh-actions__actions {
228
+ flex-direction: row;
229
+ }
230
+ }
231
+ @media screen and (min-width: 600px) {
232
+ .stzh-actions--space-between .stzh-actions__wrapper {
233
+ display: flex;
234
+ justify-content: flex-end;
235
+ }
209
236
  }
@@ -1,4 +1,4 @@
1
- import { Host, h } from "@stencil/core";
1
+ import { h, Host } from "@stencil/core";
2
2
  import { setPropsIfNull } from "../../utils/utils";
3
3
  /**
4
4
  * @slot primary - Slot for primary button
@@ -10,25 +10,26 @@ export class StzhActions {
10
10
  this.init = () => {
11
11
  const secondaryButtons = this.element.querySelectorAll('stzh-button[slot="secondary"], [slot="secondary"] stzh-button');
12
12
  const tertiaryButtons = this.element.querySelectorAll('stzh-button[slot="tertiary"], [slot="tertiary"] stzh-button');
13
- secondaryButtons.forEach((button) => {
13
+ secondaryButtons.forEach(button => {
14
14
  setPropsIfNull(button, {
15
- variant: "secondary"
15
+ variant: "secondary",
16
16
  });
17
17
  });
18
- tertiaryButtons.forEach((button) => {
18
+ tertiaryButtons.forEach(button => {
19
19
  setPropsIfNull(button, {
20
- variant: "tertiary"
20
+ variant: "tertiary",
21
21
  });
22
22
  });
23
23
  };
24
24
  this.variant = "form";
25
+ this.spaceBetween = false;
25
26
  }
26
27
  connectedCallback() {
27
28
  this.init();
28
29
  this.observer = new MutationObserver(this.init);
29
30
  this.observer.observe(this.element, {
30
31
  childList: true,
31
- subtree: true
32
+ subtree: true,
32
33
  });
33
34
  }
34
35
  disconnectedCallback() {
@@ -39,9 +40,10 @@ export class StzhActions {
39
40
  render() {
40
41
  const classes = {
41
42
  "stzh-actions": true,
42
- [`stzh-actions--${this.variant}`]: !!this.variant
43
+ "stzh-actions--space-between": this.spaceBetween,
44
+ [`stzh-actions--${this.variant}`]: !!this.variant,
43
45
  };
44
- return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-actions__actions", role: "group" }, h("div", { class: "stzh-actions__tertiary-actions" }, h("slot", { name: "tertiary" })), h("div", { class: "stzh-actions__wrapper" }, h("div", { class: "stzh-actions__secondary-actions" }, h("slot", { name: "secondary" })), h("div", { class: "stzh-actions__primary-actions" }, h("slot", { name: "primary" })))))));
46
+ return (h(Host, { "space-between": this.spaceBetween }, h("div", { class: classes }, h("div", { class: "stzh-actions__actions", role: "group" }, h("div", { class: "stzh-actions__tertiary-actions" }, h("slot", { name: "tertiary" })), h("div", { class: "stzh-actions__wrapper" }, h("div", { class: "stzh-actions__secondary-actions" }, h("slot", { name: "secondary" })), h("div", { class: "stzh-actions__primary-actions" }, h("slot", { name: "primary" })))))));
45
47
  }
46
48
  static get is() { return "stzh-actions"; }
47
49
  static get encapsulation() { return "scoped"; }
@@ -61,8 +63,8 @@ export class StzhActions {
61
63
  "type": "string",
62
64
  "mutable": false,
63
65
  "complexType": {
64
- "original": "\"form\" | \"dialog\" | \"process\" | \"cta\"",
65
- "resolved": "\"cta\" | \"dialog\" | \"form\" | \"process\"",
66
+ "original": "\"form\" | \"dialog\" | \"process\" | \"search\"",
67
+ "resolved": "\"dialog\" | \"form\" | \"process\" | \"search\"",
66
68
  "references": {}
67
69
  },
68
70
  "required": false,
@@ -74,6 +76,24 @@ export class StzhActions {
74
76
  "attribute": "variant",
75
77
  "reflect": true,
76
78
  "defaultValue": "\"form\""
79
+ },
80
+ "spaceBetween": {
81
+ "type": "boolean",
82
+ "mutable": false,
83
+ "complexType": {
84
+ "original": "boolean",
85
+ "resolved": "boolean",
86
+ "references": {}
87
+ },
88
+ "required": false,
89
+ "optional": false,
90
+ "docs": {
91
+ "tags": [],
92
+ "text": "Whether to split tertiary and primary/secondary from each other (left and right)."
93
+ },
94
+ "attribute": "space-between",
95
+ "reflect": true,
96
+ "defaultValue": "false"
77
97
  }
78
98
  };
79
99
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-actions.js","sourceRoot":"","sources":["../../../../src/components/stzh-actions/stzh-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,OAAO,EACR,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;GAIG;AAMH,MAAM,OAAO,WAAW;;IAQd,SAAI,GAAG,GAAG,EAAE;MAClB,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACpD,+DAA+D,CAChE,CAAC;MAEF,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACnD,6DAA6D,CAC9D,CAAC;MAEF,gBAAgB,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;QAClC,cAAc,CAAC,MAAM,EAAE;UACrB,OAAO,EAAE,WAAW;SACI,CAAC,CAAA;MAC7B,CA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\n Prop,\n h,\n Element\n} from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot primary - Slot for primary button\n * @slot secondary - Slot for secondary button\n * @slot tertiary - Slot for tertiary button\n */\n@Component({\n tag: \"stzh-actions\",\n styleUrl: \"stzh-actions.scss\",\n scoped: true\n})\nexport class StzhActions {\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"form\" | \"dialog\" | \"process\" | \"cta\" = \"form\";\n\n @Element() element: HTMLStzhActionsElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const secondaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"secondary\"], [slot=\"secondary\"] stzh-button'\n );\n\n const tertiaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"tertiary\"], [slot=\"tertiary\"] stzh-button'\n );\n\n secondaryButtons.forEach((button) => {\n setPropsIfNull(button, {\n variant: \"secondary\"\n } as HTMLStzhButtonElement)\n });\n\n tertiaryButtons.forEach((button) => {\n setPropsIfNull(button, {\n variant: \"tertiary\"\n } as HTMLStzhButtonElement)\n });\n }\n\n connectedCallback() {\n this.init();\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 classes = {\n \"stzh-actions\": true,\n [`stzh-actions--${this.variant}`]: !!this.variant\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-actions__actions\" role=\"group\">\n <div class=\"stzh-actions__tertiary-actions\">\n <slot name=\"tertiary\"></slot>\n </div>\n <div class=\"stzh-actions__wrapper\">\n <div class=\"stzh-actions__secondary-actions\">\n <slot name=\"secondary\"></slot>\n </div>\n <div class=\"stzh-actions__primary-actions\">\n <slot name=\"primary\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-actions.js","sourceRoot":"","sources":["../../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BAA6B,EAAE,IAAI,CAAC,YAAY;MAChD,CAAC,iBAAiB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;KAClD,CAAC;IAEF,OAAO,CACL,EAAC,IAAI,qBAAgB,IAAI,CAAC,YAAY;MACpC,WAAK,KAAK,EAAE,OAAO;QACjB,WAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO;UAC7C,WAAK,KAAK,EAAC,gCAAgC;YACzC,YAAM,IAAI,EAAC,UAAU,GAAQ,CACzB;UACN,WAAK,KAAK,EAAC,uBAAuB;YAChC,WAAK,KAAK,EAAC,iCAAiC;cAC1C,YAAM,IAAI,EAAC,WAAW,GAAQ,CAC1B;YACN,WAAK,KAAK,EAAC,+BAA+B;cACxC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACF,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot primary - Slot for primary button\n * @slot secondary - Slot for secondary button\n * @slot tertiary - Slot for tertiary button\n */\n@Component({\n tag: \"stzh-actions\",\n styleUrl: \"stzh-actions.scss\",\n scoped: true,\n})\nexport class StzhActions {\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"form\" | \"dialog\" | \"process\" | \"search\" = \"form\";\n\n /** Whether to split tertiary and primary/secondary from each other (left and right). */\n @Prop({ reflect: true }) spaceBetween: boolean = false;\n\n @Element() element: HTMLStzhActionsElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const secondaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"secondary\"], [slot=\"secondary\"] stzh-button'\n );\n\n const tertiaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"tertiary\"], [slot=\"tertiary\"] stzh-button'\n );\n\n secondaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"secondary\",\n } as HTMLStzhButtonElement);\n });\n\n tertiaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n connectedCallback() {\n this.init();\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 classes = {\n \"stzh-actions\": true,\n \"stzh-actions--space-between\": this.spaceBetween,\n [`stzh-actions--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host space-between={this.spaceBetween}>\n <div class={classes}>\n <div class=\"stzh-actions__actions\" role=\"group\">\n <div class=\"stzh-actions__tertiary-actions\">\n <slot name=\"tertiary\"></slot>\n </div>\n <div class=\"stzh-actions__wrapper\">\n <div class=\"stzh-actions__secondary-actions\">\n <slot name=\"secondary\"></slot>\n </div>\n <div class=\"stzh-actions__primary-actions\">\n <slot name=\"primary\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -212,4 +212,7 @@
212
212
  .stzh-archivelist__actions {
213
213
  margin-top: var(--stzh-space-xxxxlarge);
214
214
  }
215
+ }
216
+ .stzh-archivelist__heading {
217
+ margin-bottom: var(--stzh-space-medium);
215
218
  }
@@ -1,4 +1,4 @@
1
- import { Host, h, Fragment } from "@stencil/core";
1
+ import { Fragment, h, Host } from "@stencil/core";
2
2
  /**
3
3
  *
4
4
  */
@@ -11,6 +11,8 @@ export class StzhArchivelist {
11
11
  this.localization = undefined;
12
12
  this.showItems = 9;
13
13
  this.stepItems = 9;
14
+ this.heading = "";
15
+ this.headingLevel = "3";
14
16
  this.items = [];
15
17
  }
16
18
  itemsWatcher(newValue) {
@@ -30,7 +32,7 @@ export class StzhArchivelist {
30
32
  this.stzhItemClick.emit({
31
33
  component: "stzh-archivelist",
32
34
  item,
33
- originalEvent
35
+ originalEvent,
34
36
  });
35
37
  }
36
38
  async componentWillLoad() {
@@ -42,21 +44,9 @@ export class StzhArchivelist {
42
44
  }
43
45
  render() {
44
46
  const classes = {
45
- "stzh-archivelist": true
47
+ "stzh-archivelist": true,
46
48
  };
47
- return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-archivelist__list", role: "list" }, this._itemsShown.map((item) => h("a", { class: "stzh-archivelist__item", role: "listitem", href: item.href, onClick: (e) => this.handleClick(item, e) }, item.dateline &&
48
- h("div", { class: "stzh-archivelist__dateline" }, item.dateline), item.label &&
49
- h("div", { class: "stzh-archivelist__label" }, item.labelClamp
50
- ?
51
- h("stzh-clamp", Object.assign({}, item.labelClamp), item.label)
52
- :
53
- h(Fragment, null, item.label)), item.description &&
54
- h("div", { class: "stzh-archivelist__description" }, item.descriptionClamp
55
- ?
56
- h("stzh-clamp", Object.assign({}, item.descriptionClamp), item.description)
57
- :
58
- h(Fragment, null, item.description))))), this._showMoreLink &&
59
- h("div", { class: "stzh-archivelist__actions" }, h("stzh-button", { variant: "secondary", size: "small", sizeMedium: "default", label: this.localization.showMore, onClick: this.handleMoreClick })))));
49
+ return (h(Host, null, h("div", { class: classes }, this.heading && (h("stzh-heading", { level: this.headingLevel, class: "stzh-archivelist__heading" }, this.heading)), h("div", { class: "stzh-archivelist__list", role: "list" }, this._itemsShown.map(item => (h("a", { class: "stzh-archivelist__item", role: "listitem", href: item.href, onClick: e => this.handleClick(item, e) }, item.dateline && h("div", { class: "stzh-archivelist__dateline" }, item.dateline), item.label && (h("div", { class: "stzh-archivelist__label" }, item.labelClamp ? (h("stzh-clamp", Object.assign({}, item.labelClamp), item.label)) : (h(Fragment, null, item.label)))), item.description && (h("div", { class: "stzh-archivelist__description" }, item.descriptionClamp ? (h("stzh-clamp", Object.assign({}, item.descriptionClamp), item.description)) : (h(Fragment, null, item.description)))))))), this._showMoreLink && (h("div", { class: "stzh-archivelist__actions" }, h("stzh-button", { variant: "secondary", size: "small", sizeMedium: "default", label: this.localization.showMore, onClick: this.handleMoreClick }))))));
60
50
  }
61
51
  static get is() { return "stzh-archivelist"; }
62
52
  static get encapsulation() { return "scoped"; }
@@ -129,6 +119,42 @@ export class StzhArchivelist {
129
119
  "reflect": false,
130
120
  "defaultValue": "9"
131
121
  },
122
+ "heading": {
123
+ "type": "string",
124
+ "mutable": false,
125
+ "complexType": {
126
+ "original": "string",
127
+ "resolved": "string",
128
+ "references": {}
129
+ },
130
+ "required": false,
131
+ "optional": false,
132
+ "docs": {
133
+ "tags": [],
134
+ "text": "Heading"
135
+ },
136
+ "attribute": "heading",
137
+ "reflect": false,
138
+ "defaultValue": "\"\""
139
+ },
140
+ "headingLevel": {
141
+ "type": "string",
142
+ "mutable": false,
143
+ "complexType": {
144
+ "original": "\"1\" | \"2\" | \"3\" | \"4\"",
145
+ "resolved": "\"1\" | \"2\" | \"3\" | \"4\"",
146
+ "references": {}
147
+ },
148
+ "required": false,
149
+ "optional": false,
150
+ "docs": {
151
+ "tags": [],
152
+ "text": "Heading level"
153
+ },
154
+ "attribute": "heading-level",
155
+ "reflect": false,
156
+ "defaultValue": "\"3\""
157
+ },
132
158
  "items": {
133
159
  "type": "string",
134
160
  "mutable": false,
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-archivelist.js","sourceRoot":"","sources":["../../../../src/components/stzh-archivelist/stzh-archivelist.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,EACJ,KAAK,EACL,KAAK,EAEL,OAAO,EACP,QAAQ,EACT,MAAM,eAAe,CAAC;AASvB;;GAEG;AAMH,MAAM,OAAO,eAAe;;IAmBlB,kBAAa,GAAY,KAAK,CAAC;IAgC/B,oBAAe,GAAG,GAAG,EAAE;MAC7B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IACnD,CAAC,CAAA;;qBAhD4C,CAAC;qBAIlB,CAAC;i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,\n EventEmitter,\n Element,\n Fragment\n} from \"@stencil/core\";\n\nimport {\n StzhArchivelistItem,\n StzhArchivelistItemClickEvent\n} from \"../../index\";\n\nimport { StzhArchivelistLocalizedText } from \"./stzh-archivelist.localization\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-archivelist\",\n styleUrl: \"stzh-archivelist.scss\",\n scoped: true\n})\nexport class StzhArchivelist {\n /** Translation strings */\n @Prop() localization: StzhArchivelistLocalizedText;\n\n /** Nr of entries shown */\n @Prop({ mutable: true }) showItems: number = 9;\n private _initialShowItems: number;\n\n /** Nr of items loaded when more link is clicked */\n @Prop() stepItems: number = 9;\n\n /**\n * Initial selected values.\n * Array of objects with `label`, `href`, optionally: `dateline`, `description`, `labelClamp` and `descriptionClamp` attribute:\n * `[{\"href\":\"#lorem\", \"label\": \"Label 1\"}, {\"href\":\"#lorem2\", \"label\": \"Label 2\", \"labelClamp\": { \"lines\": 2, \"linesMedium\": 1 }}]`\n */\n @Prop() items: StzhArchivelistItem[] | string = [];\n private _items: StzhArchivelistItem[];\n private _itemsShown: StzhArchivelistItem[];\n private _showMoreLink: boolean = false;\n\n @Element() element: HTMLStzhArchivelistElement;\n\n @Watch(\"items\")\n itemsWatcher(newValue: StzhArchivelistItem[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n\n this.showItemsWatcher(this._initialShowItems);\n }\n\n @Watch(\"showItems\")\n showItemsWatcher(newValue: number) {\n this._itemsShown = this._items.slice(0, newValue);\n this._showMoreLink = newValue < this._items.length;\n }\n\n /** Item click event */\n @Event() stzhItemClick: EventEmitter<StzhArchivelistItemClickEvent>;\n\n private handleClick(item: StzhArchivelistItem, originalEvent: MouseEvent) {\n this.stzhItemClick.emit({\n component: \"stzh-archivelist\",\n item,\n originalEvent\n })\n }\n\n private handleMoreClick = () => {\n this.showItems = this.stepItems + this.showItems;\n }\n\n async componentWillLoad() {\n this._initialShowItems = this.showItems;\n this.itemsWatcher(this.items);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"archivelist\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-archivelist\": true\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-archivelist__list\" role=\"list\">\n {this._itemsShown.map((item) =>\n <a\n class=\"stzh-archivelist__item\"\n role=\"listitem\"\n href={item.href}\n onClick={(e) => this.handleClick(item, e)}\n >\n {item.dateline &&\n <div class=\"stzh-archivelist__dateline\">\n {item.dateline}\n </div>\n }\n\n {item.label &&\n <div class=\"stzh-archivelist__label\">\n {item.labelClamp\n ?\n <stzh-clamp {...item.labelClamp}>{item.label}</stzh-clamp>\n :\n <Fragment>{item.label}</Fragment>\n }\n </div>\n }\n\n {item.description &&\n <div class=\"stzh-archivelist__description\">\n {item.descriptionClamp\n ?\n <stzh-clamp {...item.descriptionClamp}>{item.description}</stzh-clamp>\n :\n <Fragment>{item.description}</Fragment>\n }\n </div>\n }\n </a>\n )}\n </div>\n\n {this._showMoreLink &&\n <div class=\"stzh-archivelist__actions\">\n <stzh-button\n variant=\"secondary\"\n size=\"small\"\n sizeMedium=\"default\"\n label={this.localization.showMore}\n onClick={this.handleMoreClick}\n ></stzh-button>\n </div>\n }\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-archivelist.js","sourceRoot":"","sources":["../../../../src/components/stzh-archivelist/stzh-archivelist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAMxG;;GAEG;AAMH,MAAM,OAAO,eAAe;;IAyBlB,kBAAa,GAAY,KAAK,CAAC;IAgC/B,oBAAe,GAAG,GAAG,EAAE;MAC7B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;IACnD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jC,OAAO,EAAE,IAAI,CAAC,eAAe,GAChB,CACX,CACP,CACG,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhArchivelistItem, StzhArchivelistItemClickEvent } from \"../../index\";\n\nimport { StzhArchivelistLocalizedText } from \"./stzh-archivelist.localization\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-archivelist\",\n styleUrl: \"stzh-archivelist.scss\",\n scoped: true,\n})\nexport class StzhArchivelist {\n /** Translation strings */\n @Prop() localization: StzhArchivelistLocalizedText;\n\n /** Nr of entries shown */\n @Prop({ mutable: true }) showItems: number = 9;\n private _initialShowItems: number;\n\n /** Nr of items loaded when more link is clicked */\n @Prop() stepItems: number = 9;\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /**\n * Initial selected values.\n * Array of objects with `label`, `href`, optionally: `dateline`, `description`, `labelClamp` and `descriptionClamp` attribute:\n * `[{\"href\":\"#lorem\", \"label\": \"Label 1\"}, {\"href\":\"#lorem2\", \"label\": \"Label 2\", \"labelClamp\": { \"lines\": 2, \"linesMedium\": 1 }}]`\n */\n @Prop() items: StzhArchivelistItem[] | string = [];\n private _items: StzhArchivelistItem[];\n private _itemsShown: StzhArchivelistItem[];\n private _showMoreLink: boolean = false;\n\n @Element() element: HTMLStzhArchivelistElement;\n\n @Watch(\"items\")\n itemsWatcher(newValue: StzhArchivelistItem[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n\n this.showItemsWatcher(this._initialShowItems);\n }\n\n @Watch(\"showItems\")\n showItemsWatcher(newValue: number) {\n this._itemsShown = this._items.slice(0, newValue);\n this._showMoreLink = newValue < this._items.length;\n }\n\n /** Item click event */\n @Event() stzhItemClick: EventEmitter<StzhArchivelistItemClickEvent>;\n\n private handleClick(item: StzhArchivelistItem, originalEvent: MouseEvent) {\n this.stzhItemClick.emit({\n component: \"stzh-archivelist\",\n item,\n originalEvent,\n });\n }\n\n private handleMoreClick = () => {\n this.showItems = this.stepItems + this.showItems;\n };\n\n async componentWillLoad() {\n this._initialShowItems = this.showItems;\n this.itemsWatcher(this.items);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"archivelist\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-archivelist\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n {this.heading && (\n <stzh-heading level={this.headingLevel} class=\"stzh-archivelist__heading\">\n {this.heading}\n </stzh-heading>\n )}\n <div class=\"stzh-archivelist__list\" role=\"list\">\n {this._itemsShown.map(item => (\n <a\n class=\"stzh-archivelist__item\"\n role=\"listitem\"\n href={item.href}\n onClick={e => this.handleClick(item, e)}\n >\n {item.dateline && <div class=\"stzh-archivelist__dateline\">{item.dateline}</div>}\n\n {item.label && (\n <div class=\"stzh-archivelist__label\">\n {item.labelClamp ? (\n <stzh-clamp {...item.labelClamp}>{item.label}</stzh-clamp>\n ) : (\n <Fragment>{item.label}</Fragment>\n )}\n </div>\n )}\n\n {item.description && (\n <div class=\"stzh-archivelist__description\">\n {item.descriptionClamp ? (\n <stzh-clamp {...item.descriptionClamp}>{item.description}</stzh-clamp>\n ) : (\n <Fragment>{item.description}</Fragment>\n )}\n </div>\n )}\n </a>\n ))}\n </div>\n\n {this._showMoreLink && (\n <div class=\"stzh-archivelist__actions\">\n <stzh-button\n variant=\"secondary\"\n size=\"small\"\n sizeMedium=\"default\"\n label={this.localization.showMore}\n onClick={this.handleMoreClick}\n ></stzh-button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -30,147 +30,151 @@ export default {
30
30
  allowFullscreen: true
31
31
  }
32
32
  },
33
- decorators: [
34
- withActions,
35
- withDesign
36
- ]
37
- }
33
+ decorators: [withActions, withDesign]
34
+ };
38
35
 
39
36
  const itemsOnlyLink = [
40
37
  {
41
- "label": "Lorem Ipsum Dolor",
42
- "href": "#laboris"
38
+ label: 'Lorem Ipsum Dolor',
39
+ href: '#laboris'
43
40
  },
44
41
  {
45
- "label": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit",
46
- "href": "#lorem"
42
+ label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
43
+ href: '#lorem'
47
44
  },
48
45
  {
49
- "label": "Lorem Ipsum Dolor",
50
- "href": "#lorem"
46
+ label: 'Lorem Ipsum Dolor',
47
+ href: '#lorem'
51
48
  },
52
49
  {
53
- "label": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit",
54
- "href": "#lorem"
50
+ label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
51
+ href: '#lorem'
55
52
  },
56
53
  {
57
- "label": "Lorem Ipsum Dolor",
58
- "href": "#lorem"
54
+ label: 'Lorem Ipsum Dolor',
55
+ href: '#lorem'
59
56
  },
60
57
  {
61
- "label": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit",
62
- "href": "#lorem"
58
+ label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
59
+ href: '#lorem'
63
60
  },
64
61
  {
65
- "label": "Lorem Ipsum Dolor",
66
- "href": "#lorem"
62
+ label: 'Lorem Ipsum Dolor',
63
+ href: '#lorem'
67
64
  }
68
65
  ];
69
66
 
70
67
  const itemsWithDescription = [
71
68
  {
72
- "dateline": "1938.10.28",
73
- "label": "Lorem Ipsum Dolor",
74
- "labelClamp": {
75
- "lines": "2",
76
- "linesMedium": "1"
69
+ dateline: '1938.10.28',
70
+ label: 'Lorem Ipsum Dolor',
71
+ labelClamp: {
72
+ lines: '2',
73
+ linesMedium: '1'
77
74
  },
78
- "href": "#laboris",
79
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
80
- "descriptionClamp": {
81
- "lines": "3",
82
- "linesSmall": "2",
83
- "linesMedium": "1"
75
+ href: '#laboris',
76
+ description:
77
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
78
+ descriptionClamp: {
79
+ lines: '3',
80
+ linesSmall: '2',
81
+ linesMedium: '1'
84
82
  }
85
83
  },
86
84
  {
87
- "dateline": "1938.10.28",
88
- "label": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit",
89
- "labelClamp": {
90
- "lines": "2",
91
- "linesMedium": "1"
85
+ dateline: '1938.10.28',
86
+ label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
87
+ labelClamp: {
88
+ lines: '2',
89
+ linesMedium: '1'
92
90
  },
93
- "href": "#lorem",
94
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
95
- "descriptionClamp": {
96
- "lines": "3",
97
- "linesSmall": "2",
98
- "linesMedium": "1"
91
+ href: '#lorem',
92
+ description:
93
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
94
+ descriptionClamp: {
95
+ lines: '3',
96
+ linesSmall: '2',
97
+ linesMedium: '1'
99
98
  }
100
99
  },
101
100
  {
102
- "dateline": "1938.10.28",
103
- "label": "Lorem Ipsum Dolor",
104
- "labelClamp": {
105
- "lines": "2",
106
- "linesMedium": "1"
101
+ dateline: '1938.10.28',
102
+ label: 'Lorem Ipsum Dolor',
103
+ labelClamp: {
104
+ lines: '2',
105
+ linesMedium: '1'
107
106
  },
108
- "href": "#lorem",
109
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
110
- "descriptionClamp": {
111
- "lines": "3",
112
- "linesSmall": "2",
113
- "linesMedium": "1"
107
+ href: '#lorem',
108
+ description:
109
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
110
+ descriptionClamp: {
111
+ lines: '3',
112
+ linesSmall: '2',
113
+ linesMedium: '1'
114
114
  }
115
115
  },
116
116
  {
117
- "dateline": "1938.10.28",
118
- "label": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit",
119
- "labelClamp": {
120
- "lines": "2",
121
- "linesMedium": "1"
117
+ dateline: '1938.10.28',
118
+ label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
119
+ labelClamp: {
120
+ lines: '2',
121
+ linesMedium: '1'
122
122
  },
123
- "href": "#lorem",
124
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
125
- "descriptionClamp": {
126
- "lines": "3",
127
- "linesSmall": "2",
128
- "linesMedium": "1"
123
+ href: '#lorem',
124
+ description:
125
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
126
+ descriptionClamp: {
127
+ lines: '3',
128
+ linesSmall: '2',
129
+ linesMedium: '1'
129
130
  }
130
131
  },
131
132
  {
132
- "dateline": "1938.10.28",
133
- "label": "Lorem Ipsum Dolor",
134
- "labelClamp": {
135
- "lines": "2",
136
- "linesMedium": "1"
133
+ dateline: '1938.10.28',
134
+ label: 'Lorem Ipsum Dolor',
135
+ labelClamp: {
136
+ lines: '2',
137
+ linesMedium: '1'
137
138
  },
138
- "href": "#lorem",
139
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
140
- "descriptionClamp": {
141
- "lines": "3",
142
- "linesSmall": "2",
143
- "linesMedium": "1"
139
+ href: '#lorem',
140
+ description:
141
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
142
+ descriptionClamp: {
143
+ lines: '3',
144
+ linesSmall: '2',
145
+ linesMedium: '1'
144
146
  }
145
147
  },
146
148
  {
147
- "dateline": "1938.10.28",
148
- "label": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit",
149
- "labelClamp": {
150
- "lines": "2",
151
- "linesMedium": "1"
149
+ dateline: '1938.10.28',
150
+ label: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit',
151
+ labelClamp: {
152
+ lines: '2',
153
+ linesMedium: '1'
152
154
  },
153
- "href": "#lorem",
154
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
155
- "descriptionClamp": {
156
- "lines": "3",
157
- "linesSmall": "2",
158
- "linesMedium": "1"
155
+ href: '#lorem',
156
+ description:
157
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
158
+ descriptionClamp: {
159
+ lines: '3',
160
+ linesSmall: '2',
161
+ linesMedium: '1'
159
162
  }
160
163
  },
161
164
  {
162
- "dateline": "1938.10.28",
163
- "label": "Lorem Ipsum Dolor",
164
- "labelClamp": {
165
- "lines": "2",
166
- "linesMedium": "1"
165
+ dateline: '1938.10.28',
166
+ label: 'Lorem Ipsum Dolor',
167
+ labelClamp: {
168
+ lines: '2',
169
+ linesMedium: '1'
167
170
  },
168
- "href": "#lorem",
169
- "description": "Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.",
170
- "descriptionClamp": {
171
- "lines": "3",
172
- "linesSmall": "2",
173
- "linesMedium": "1"
171
+ href: '#lorem',
172
+ description:
173
+ 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim. Reprehenderit deserunt ut occaecat sit sit ullamco laborum deserunt. Eu pariatur est exercitation ea ut tempor laborum. Amet veniam consectetur cupidatat Lorem eu ipsum.',
174
+ descriptionClamp: {
175
+ lines: '3',
176
+ linesSmall: '2',
177
+ linesMedium: '1'
174
178
  }
175
179
  }
176
180
  ];
@@ -178,23 +182,26 @@ const itemsWithDescription = [
178
182
  export const OnlyLink = {
179
183
  render: (args) => story(args, TEMPLATE),
180
184
  args: {
181
- items: itemsOnlyLink
185
+ items: itemsOnlyLink,
186
+ heading: 'Lorem Ipsum Dolor',
187
+ headingLevel: 2
182
188
  }
183
189
  };
184
190
 
185
191
  export const OnlyLinkWithMore = {
186
192
  render: (args) => story(args, TEMPLATE),
187
193
  args: {
188
- items: [
189
- ...itemsOnlyLink,
190
- ...itemsOnlyLink
191
- ]
194
+ items: [...itemsOnlyLink, ...itemsOnlyLink],
195
+ heading: 'Lorem Ipsum Dolor',
196
+ headingLevel: 2
192
197
  }
193
198
  };
194
199
 
195
200
  export const WithDescription = {
196
201
  render: (args) => story(args, TEMPLATE),
197
202
  args: {
198
- items: itemsWithDescription
203
+ items: itemsWithDescription,
204
+ heading: 'Lorem Ipsum Dolor',
205
+ headingLevel: 2
199
206
  }
200
207
  };