@oiz/stzh-components 4.6.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (689) hide show
  1. package/dist/cjs/{app-globals-237b22c8.js → app-globals-c14f30c8.js} +2 -2
  2. package/dist/cjs/{app-globals-237b22c8.js.map → app-globals-c14f30c8.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-accordion_3.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  8. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-banner.cjs.entry.js.map +1 -1
  16. package/dist/cjs/stzh-bathstatus-item.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-cardlist_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/stzh-chipselect.cjs.entry.js +11 -6
  22. package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -1
  23. package/dist/cjs/stzh-components.cjs.js +2 -2
  24. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-dropdown.cjs.entry.js +11 -4
  28. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  29. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +24 -16
  35. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +2 -2
  37. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js.map +1 -1
  38. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
  50. package/dist/cjs/stzh-pi-menu.cjs.entry.js.map +1 -1
  51. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
  52. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
  53. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-upload.cjs.entry.js +45 -10
  66. package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
  67. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +46 -4
  68. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js.map +1 -1
  69. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +4 -2
  70. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js.map +1 -1
  71. package/dist/collection/collection-manifest.json +1 -1
  72. package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.stories.js +1 -3
  73. package/dist/collection/components/CMS/VBZ/stzh-vbz-carousel/stzh-vbz-carousel.stories.js +1 -3
  74. package/dist/collection/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.stories.js +1 -6
  75. package/dist/collection/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.stories.js +1 -3
  76. package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.js +48 -3
  77. package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.js.map +1 -1
  78. package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +1 -11
  79. package/dist/collection/components/CMS/VBZ/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +1 -6
  80. package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.js +22 -2
  81. package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.js.map +1 -1
  82. package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +2 -6
  83. package/dist/collection/components/CMS/stzh-archivelist/stzh-archivelist.stories.js +3 -5
  84. package/dist/collection/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.js +1 -1
  85. package/dist/collection/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.stories.js +1 -3
  86. package/dist/collection/components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.js +1 -1
  87. package/dist/collection/components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.stories.js +1 -3
  88. package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.js +1 -1
  89. package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.stories.js +3 -5
  90. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -1
  91. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +1 -3
  92. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  93. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.stories.js +1 -3
  94. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  95. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.stories.js +3 -5
  96. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  97. package/dist/collection/components/CMS/stzh-editor/stzh-editor.stories.js +1 -3
  98. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  99. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.stories.js +1 -3
  100. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  101. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +1 -3
  102. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  103. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.stories.js +3 -5
  104. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  105. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.stories.js +1 -3
  106. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +24 -16
  107. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  108. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.stories.js +1 -6
  109. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.css +3 -3
  110. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  111. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.stories.js +3 -5
  112. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  113. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.stories.js +3 -5
  114. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  115. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +1 -3
  116. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  117. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +1 -6
  118. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  119. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +1 -11
  120. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  121. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +1 -6
  122. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  123. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.stories.js +1 -9
  124. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  125. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.stories.js +1 -6
  126. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  127. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +1 -3
  128. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  129. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +1 -3
  130. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  131. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +1 -3
  132. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  133. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -5
  134. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.css +0 -1
  135. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  136. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.stories.js +3 -5
  137. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.css +3 -0
  138. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  139. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +1 -3
  140. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  141. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.stories.js +1 -4
  142. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  143. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +3 -5
  144. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +3 -6
  145. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  146. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +3 -5
  147. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  148. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.stories.js +1 -3
  149. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  150. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.stories.js +1 -3
  151. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  152. package/dist/collection/components/CMS/stzh-print/stzh-print.stories.js +1 -3
  153. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  154. package/dist/collection/components/CMS/stzh-search/stzh-search.stories.js +1 -3
  155. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  156. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.stories.js +2 -3
  157. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  158. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.stories.js +1 -3
  159. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.stories.js +1 -3
  161. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  162. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.stories.js +1 -3
  163. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  164. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.stories.js +1 -3
  165. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  166. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +3 -6
  167. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  168. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +4 -7
  169. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  170. package/dist/collection/components/stzh-actions/stzh-actions.stories.js +3 -5
  171. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  172. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +3 -5
  173. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  174. package/dist/collection/components/stzh-amount/stzh-amount.stories.js +3 -4
  175. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  176. package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +3 -4
  177. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  178. package/dist/collection/components/stzh-app-nav/stzh-app-nav.stories.js +3 -5
  179. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  180. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +17 -14
  181. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  182. package/dist/collection/components/stzh-audio/stzh-audio.stories.js +3 -5
  183. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  184. package/dist/collection/components/stzh-badge/stzh-badge.stories.js +3 -5
  185. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.css +1 -1
  186. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.e2e.js +2 -2
  187. package/dist/collection/components/stzh-banner/stzh-banner.e2e.js.map +1 -0
  188. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.js +4 -4
  189. package/dist/collection/components/stzh-banner/stzh-banner.js.map +1 -0
  190. package/dist/collection/components/stzh-banner/stzh-banner.localization.js.map +1 -0
  191. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.stories.js +6 -8
  192. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.stories.js +3 -5
  193. package/dist/collection/components/stzh-button/stzh-button.stories.js +4 -6
  194. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.stories.js +4 -3
  195. package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +3 -5
  196. package/dist/collection/components/stzh-card/stzh-card.stories.js +14 -17
  197. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.stories.js +3 -5
  198. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.stories.js +3 -5
  199. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +7 -6
  200. package/dist/collection/components/stzh-cardlist/stzh-cardlist.stories.js +3 -5
  201. package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +3 -5
  202. package/dist/collection/components/stzh-cell/stzh-cell.stories.js +3 -4
  203. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -3
  204. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +7 -10
  205. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +5 -9
  206. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +3 -5
  207. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.stories.js +1 -3
  208. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +11 -6
  209. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  210. package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +4 -6
  211. package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +3 -4
  212. package/dist/collection/components/stzh-company-logo/stzh-company-logo.stories.js +1 -6
  213. package/dist/collection/components/stzh-container/stzh-container.stories.js +1 -3
  214. package/dist/collection/components/stzh-content/stzh-content.stories.js +1 -6
  215. package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +1 -6
  216. package/dist/collection/components/stzh-cta/stzh-cta.stories.js +3 -5
  217. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +3 -5
  218. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +3 -5
  219. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +1 -3
  220. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +3 -5
  221. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +3 -5
  222. package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +3 -5
  223. package/dist/collection/components/stzh-daterange/stzh-daterange.stories.js +1 -6
  224. package/dist/collection/components/stzh-details/stzh-details.stories.js +3 -5
  225. package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +3 -5
  226. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +11 -4
  227. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  228. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +4 -6
  229. package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +6 -11
  230. package/dist/collection/components/stzh-figure/stzh-figure.stories.js +1 -3
  231. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +1 -3
  232. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +1 -3
  233. package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +1 -3
  234. package/dist/collection/components/stzh-header/stzh-header.stories.js +3 -5
  235. package/dist/collection/components/stzh-heading/stzh-heading.stories.js +1 -6
  236. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +1 -3
  237. package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +1 -6
  238. package/dist/collection/components/stzh-http-error/stzh-http-error.stories.js +1 -6
  239. package/dist/collection/components/stzh-icon/stzh-icon.stories.js +1 -6
  240. package/dist/collection/components/stzh-iframe/stzh-iframe.stories.js +3 -5
  241. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.stories.js +3 -5
  242. package/dist/collection/components/stzh-input/stzh-input.stories.js +6 -8
  243. package/dist/collection/components/stzh-invert/stzh-invert.stories.js +1 -3
  244. package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -4
  245. package/dist/collection/components/stzh-list/stzh-list.stories.js +1 -3
  246. package/dist/collection/components/stzh-loader/stzh-loader.stories.js +1 -6
  247. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +1 -3
  248. package/dist/collection/components/stzh-menu/stzh-menu.stories.js +1 -6
  249. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +3 -5
  250. package/dist/collection/components/stzh-message/stzh-message.stories.js +3 -5
  251. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.stories.js +3 -4
  252. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.stories.js +1 -3
  253. package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +3 -5
  254. package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +3 -5
  255. package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +3 -5
  256. package/dist/collection/components/stzh-panorama/stzh-panorama.stories.js +3 -5
  257. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +5 -8
  258. package/dist/collection/components/stzh-quote/stzh-quote.stories.js +1 -4
  259. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +7 -11
  260. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +6 -9
  261. package/dist/collection/components/stzh-rating/stzh-rating.stories.js +16 -23
  262. package/dist/collection/components/stzh-ratio/stzh-ratio.stories.js +1 -3
  263. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +1 -3
  264. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +1 -6
  265. package/dist/collection/components/stzh-row/stzh-row.stories.js +1 -5
  266. package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +3 -5
  267. package/dist/collection/components/stzh-scrollup/stzh-scrollup.stories.js +1 -17
  268. package/dist/collection/components/stzh-section/stzh-section.stories.js +1 -3
  269. package/dist/collection/components/stzh-share/stzh-share.stories.js +1 -3
  270. package/dist/collection/components/stzh-show/stzh-show.stories.js +1 -3
  271. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.stories.js +1 -6
  272. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.stories.js +1 -6
  273. package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +1 -6
  274. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +3 -5
  275. package/dist/collection/components/stzh-space/stzh-space.stories.js +1 -6
  276. package/dist/collection/components/stzh-status/stzh-status.stories.js +1 -3
  277. package/dist/collection/components/stzh-stepper/stzh-stepper.stories.js +4 -7
  278. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.stories.js +4 -7
  279. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +3 -5
  280. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.stories.js +1 -3
  281. package/dist/collection/components/stzh-table/stzh-table.stories.js +1 -3
  282. package/dist/collection/components/stzh-tag/stzh-tag.stories.js +3 -5
  283. package/dist/collection/components/stzh-text/stzh-text.stories.js +5 -7
  284. package/dist/collection/components/stzh-timeline/stzh-timeline.stories.js +3 -5
  285. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.stories.js +3 -5
  286. package/dist/collection/components/stzh-timepicker/stzh-timepicker.stories.js +3 -5
  287. package/dist/collection/components/stzh-toast/stzh-toast.stories.js +3 -5
  288. package/dist/collection/components/stzh-toastbar/stzh-toastbar.stories.js +1 -2
  289. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +3 -5
  290. package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +3 -5
  291. package/dist/collection/components/stzh-upload/stzh-upload.js +46 -11
  292. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  293. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +13 -12
  294. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +1 -6
  295. package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +1 -6
  296. package/dist/collection/components/stzh-youtube/stzh-youtube.stories.js +1 -3
  297. package/dist/collection/index.js.map +1 -1
  298. package/dist/components/index.js +1 -1
  299. package/dist/components/{p-79436c88.js → p-05fe3259.js} +2 -2
  300. package/dist/components/{p-79436c88.js.map → p-05fe3259.js.map} +1 -1
  301. package/dist/components/{p-0b630cac.js → p-06e3cf2d.js} +16 -11
  302. package/dist/components/p-06e3cf2d.js.map +1 -0
  303. package/dist/components/{p-27bf6b87.js → p-0e787824.js} +4 -4
  304. package/dist/components/{p-27bf6b87.js.map → p-0e787824.js.map} +1 -1
  305. package/dist/components/{p-cb0898ca.js → p-139d2041.js} +4 -4
  306. package/dist/components/{p-cb0898ca.js.map → p-139d2041.js.map} +1 -1
  307. package/dist/components/{p-a792adae.js → p-17e8405b.js} +3 -3
  308. package/dist/components/{p-a792adae.js.map → p-17e8405b.js.map} +1 -1
  309. package/dist/components/{p-db160bc1.js → p-1c6e00e3.js} +4 -4
  310. package/dist/components/{p-db160bc1.js.map → p-1c6e00e3.js.map} +1 -1
  311. package/dist/components/{p-95960509.js → p-1e18dc1d.js} +4 -4
  312. package/dist/components/{p-95960509.js.map → p-1e18dc1d.js.map} +1 -1
  313. package/dist/components/{p-5c7c4130.js → p-2b549cf6.js} +2 -2
  314. package/dist/components/{p-5c7c4130.js.map → p-2b549cf6.js.map} +1 -1
  315. package/dist/components/{p-2d80d228.js → p-31108932.js} +2 -2
  316. package/dist/components/{p-2d80d228.js.map → p-31108932.js.map} +1 -1
  317. package/dist/components/{p-2c27e000.js → p-33bb9ae6.js} +9 -9
  318. package/dist/components/{p-2c27e000.js.map → p-33bb9ae6.js.map} +1 -1
  319. package/dist/components/{p-78ad1fb5.js → p-349fbfd7.js} +2 -2
  320. package/dist/components/{p-78ad1fb5.js.map → p-349fbfd7.js.map} +1 -1
  321. package/dist/components/{p-31a89409.js → p-363adb38.js} +5 -5
  322. package/dist/components/{p-31a89409.js.map → p-363adb38.js.map} +1 -1
  323. package/dist/components/p-37c9ec06.js.map +1 -1
  324. package/dist/components/{p-7969eeb6.js → p-38e34484.js} +2 -2
  325. package/dist/components/{p-7969eeb6.js.map → p-38e34484.js.map} +1 -1
  326. package/dist/components/{p-c4637521.js → p-3ee4c2ec.js} +3 -3
  327. package/dist/components/{p-c4637521.js.map → p-3ee4c2ec.js.map} +1 -1
  328. package/dist/components/{p-1ec35678.js → p-4bdf2c0e.js} +5 -5
  329. package/dist/components/{p-1ec35678.js.map → p-4bdf2c0e.js.map} +1 -1
  330. package/dist/components/{p-2d2bf07d.js → p-5fe404aa.js} +49 -5
  331. package/dist/components/p-5fe404aa.js.map +1 -0
  332. package/dist/components/{p-1f315034.js → p-626168f9.js} +4 -4
  333. package/dist/components/{p-1f315034.js.map → p-626168f9.js.map} +1 -1
  334. package/dist/components/{p-b8fda153.js → p-6a1a040f.js} +2 -2
  335. package/dist/components/{p-b8fda153.js.map → p-6a1a040f.js.map} +1 -1
  336. package/dist/components/{p-bafc325d.js → p-74f1fb8a.js} +3 -3
  337. package/dist/components/{p-bafc325d.js.map → p-74f1fb8a.js.map} +1 -1
  338. package/dist/components/{p-ec5e2f2a.js → p-775cca3b.js} +2 -2
  339. package/dist/components/{p-ec5e2f2a.js.map → p-775cca3b.js.map} +1 -1
  340. package/dist/components/{p-c9320f27.js → p-804c5a42.js} +4 -4
  341. package/dist/components/{p-c9320f27.js.map → p-804c5a42.js.map} +1 -1
  342. package/dist/components/{p-28548919.js → p-8c402b5e.js} +3 -3
  343. package/dist/components/{p-28548919.js.map → p-8c402b5e.js.map} +1 -1
  344. package/dist/components/{p-e25baa50.js → p-8e42dbab.js} +3 -3
  345. package/dist/components/{p-e25baa50.js.map → p-8e42dbab.js.map} +1 -1
  346. package/dist/components/{p-c8267c9e.js → p-999b8661.js} +4 -4
  347. package/dist/components/p-999b8661.js.map +1 -0
  348. package/dist/components/{p-258d7bde.js → p-9a88d047.js} +3 -3
  349. package/dist/components/{p-258d7bde.js.map → p-9a88d047.js.map} +1 -1
  350. package/dist/components/{p-51253a86.js → p-a94140df.js} +3 -3
  351. package/dist/components/{p-51253a86.js.map → p-a94140df.js.map} +1 -1
  352. package/dist/components/{p-c484e7ca.js → p-af574b36.js} +2 -2
  353. package/dist/components/{p-c484e7ca.js.map → p-af574b36.js.map} +1 -1
  354. package/dist/components/{p-a3e94f5e.js → p-b379f4ca.js} +6 -6
  355. package/dist/components/{p-a3e94f5e.js.map → p-b379f4ca.js.map} +1 -1
  356. package/dist/components/{p-cac39de3.js → p-b38507d2.js} +2 -2
  357. package/dist/components/{p-cac39de3.js.map → p-b38507d2.js.map} +1 -1
  358. package/dist/components/{p-04567f95.js → p-b392fbfe.js} +4 -4
  359. package/dist/components/{p-04567f95.js.map → p-b392fbfe.js.map} +1 -1
  360. package/dist/components/{p-cccc2b32.js → p-bb5dd9ca.js} +6 -6
  361. package/dist/components/{p-cccc2b32.js.map → p-bb5dd9ca.js.map} +1 -1
  362. package/dist/components/{p-27688347.js → p-bec99b6c.js} +4 -4
  363. package/dist/components/{p-27688347.js.map → p-bec99b6c.js.map} +1 -1
  364. package/dist/components/{p-dc031c55.js → p-c16c2ca7.js} +6 -6
  365. package/dist/components/{p-dc031c55.js.map → p-c16c2ca7.js.map} +1 -1
  366. package/dist/components/{p-9dccba17.js → p-cac3a53e.js} +3 -3
  367. package/dist/components/{p-9dccba17.js.map → p-cac3a53e.js.map} +1 -1
  368. package/dist/components/{p-1462b0ac.js → p-e961f0da.js} +3 -3
  369. package/dist/components/{p-1462b0ac.js.map → p-e961f0da.js.map} +1 -1
  370. package/dist/components/{p-3d9ce94f.js → p-f07fda42.js} +12 -5
  371. package/dist/components/p-f07fda42.js.map +1 -0
  372. package/dist/components/stzh-accordion-item.js +1 -1
  373. package/dist/components/stzh-accordion.js +1 -1
  374. package/dist/components/stzh-actions.js +1 -1
  375. package/dist/components/stzh-actionset.js +1 -1
  376. package/dist/components/stzh-amount.js +5 -5
  377. package/dist/components/stzh-anchornav.js +4 -4
  378. package/dist/components/stzh-app-nav.js +1 -1
  379. package/dist/components/stzh-appointments.js +8 -8
  380. package/dist/components/stzh-archivelist.js +4 -4
  381. package/dist/components/stzh-audio.js +3 -3
  382. package/dist/components/stzh-badge.js +1 -1
  383. package/dist/components/stzh-banner.js +4 -4
  384. package/dist/components/stzh-banner.js.map +1 -1
  385. package/dist/components/stzh-bathstatus-item.js +1 -1
  386. package/dist/components/stzh-bathstatus-list.js +4 -4
  387. package/dist/components/stzh-button.js +1 -1
  388. package/dist/components/stzh-calendar.js +1 -1
  389. package/dist/components/stzh-card-searchresult.js +7 -7
  390. package/dist/components/stzh-card-superteaser.js +8 -8
  391. package/dist/components/stzh-card.js +1 -1
  392. package/dist/components/stzh-cardlist.js +1 -1
  393. package/dist/components/stzh-chip.js +1 -1
  394. package/dist/components/stzh-chipselect.js +1 -1
  395. package/dist/components/stzh-clamp.js +1 -1
  396. package/dist/components/stzh-contact-cv.js +1 -1
  397. package/dist/components/stzh-contact.js +5 -5
  398. package/dist/components/stzh-datalist-item.js +1 -1
  399. package/dist/components/stzh-datalist.js +1 -1
  400. package/dist/components/stzh-datamessagelist-item.js +6 -6
  401. package/dist/components/stzh-datatable.js +9 -9
  402. package/dist/components/stzh-datepicker.js +1 -1
  403. package/dist/components/stzh-daterange.js +2 -2
  404. package/dist/components/stzh-dialog.js +1 -1
  405. package/dist/components/stzh-disturber.js +3 -3
  406. package/dist/components/stzh-dropdown.js +1 -1
  407. package/dist/components/stzh-editor.js +3 -3
  408. package/dist/components/stzh-eventdata.js +1 -1
  409. package/dist/components/stzh-eventinfo.js +3 -3
  410. package/dist/components/stzh-feedreader-item.js +1 -1
  411. package/dist/components/stzh-feedreader.js +5 -5
  412. package/dist/components/stzh-footer.js +2 -2
  413. package/dist/components/stzh-gallery.js +2 -2
  414. package/dist/components/stzh-geo-ref-data.js +36 -28
  415. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  416. package/dist/components/stzh-ghettobox.js +1 -1
  417. package/dist/components/stzh-header.js +1 -1
  418. package/dist/components/stzh-homepage-search.js +1 -1
  419. package/dist/components/stzh-homepage-service-highlights.js +4 -4
  420. package/dist/components/stzh-http-error.js +2 -2
  421. package/dist/components/stzh-iframe.js +1 -1
  422. package/dist/components/stzh-input.js +1 -1
  423. package/dist/components/stzh-link.js +1 -1
  424. package/dist/components/stzh-linklist.js +5 -5
  425. package/dist/components/stzh-menu-item.js +1 -1
  426. package/dist/components/stzh-message.js +1 -1
  427. package/dist/components/stzh-microsite-teaserlist.js +11 -11
  428. package/dist/components/stzh-monthyearpicker.js +1 -1
  429. package/dist/components/stzh-offline-indicator.js +4 -4
  430. package/dist/components/stzh-page-skiplinks.js +1 -1
  431. package/dist/components/stzh-pagebottom.js +5 -5
  432. package/dist/components/stzh-pagecontent.js +1 -1
  433. package/dist/components/stzh-pagetitle-hero.js +1 -1
  434. package/dist/components/stzh-pagetitle-home.js +1 -1
  435. package/dist/components/stzh-pagetitle.js +1 -1
  436. package/dist/components/stzh-pagination.js +1 -1
  437. package/dist/components/stzh-panorama.js +4 -4
  438. package/dist/components/stzh-pi-content-navigation.js +1 -1
  439. package/dist/components/stzh-pi-menu.js +2 -2
  440. package/dist/components/stzh-pi-menu.js.map +1 -1
  441. package/dist/components/stzh-pi-pagetitle.js +2 -2
  442. package/dist/components/stzh-pi-pagetitle.js.map +1 -1
  443. package/dist/components/stzh-pi-quote.js +1 -1
  444. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  445. package/dist/components/stzh-pi-teaser-layout.js +1 -1
  446. package/dist/components/stzh-pi-teaser.js +1 -1
  447. package/dist/components/stzh-pkzh-qr.js +7 -7
  448. package/dist/components/stzh-poicard.js +1 -1
  449. package/dist/components/stzh-poilist.js +10 -10
  450. package/dist/components/stzh-print.js +1 -1
  451. package/dist/components/stzh-readspeaker.js +2 -2
  452. package/dist/components/stzh-saptcha.js +3 -3
  453. package/dist/components/stzh-search.js +10 -10
  454. package/dist/components/stzh-share.js +1 -1
  455. package/dist/components/stzh-sitemap.js +5 -5
  456. package/dist/components/stzh-socialmediastream-item.js +1 -1
  457. package/dist/components/stzh-socialmediastream.js +2 -2
  458. package/dist/components/stzh-tag.js +1 -1
  459. package/dist/components/stzh-textandimage.js +1 -1
  460. package/dist/components/stzh-timeline-item.js +1 -1
  461. package/dist/components/stzh-timepicker.js +1 -1
  462. package/dist/components/stzh-toast.js +1 -1
  463. package/dist/components/stzh-toastbar.js +1 -1
  464. package/dist/components/stzh-twocolumns.js +1 -1
  465. package/dist/components/stzh-upload.js +52 -17
  466. package/dist/components/stzh-upload.js.map +1 -1
  467. package/dist/components/stzh-vbz-intro.js +2 -2
  468. package/dist/components/stzh-vbz-linechip.js +1 -1
  469. package/dist/components/stzh-vbz-majorticker.js +3 -3
  470. package/dist/components/stzh-vbz-ticker.js +8 -5
  471. package/dist/components/stzh-vbz-ticker.js.map +1 -1
  472. package/dist/components/stzh-youtube.js +3 -3
  473. package/dist/esm/{app-globals-a962cea2.js → app-globals-a7ad59a2.js} +2 -2
  474. package/dist/esm/{app-globals-a962cea2.js.map → app-globals-a7ad59a2.js.map} +1 -1
  475. package/dist/esm/index.js.map +1 -1
  476. package/dist/esm/loader.js +2 -2
  477. package/dist/esm/stzh-accordion_3.entry.js +2 -2
  478. package/dist/esm/stzh-actions_6.entry.js +1 -1
  479. package/dist/esm/stzh-actionset.entry.js +5 -5
  480. package/dist/esm/stzh-amount.entry.js +1 -1
  481. package/dist/esm/stzh-anchornav.entry.js +1 -1
  482. package/dist/esm/stzh-app-nav.entry.js +1 -1
  483. package/dist/esm/stzh-appointments.entry.js +1 -1
  484. package/dist/esm/stzh-audio.entry.js +3 -3
  485. package/dist/esm/stzh-badge_3.entry.js +1 -1
  486. package/dist/esm/stzh-banner.entry.js +2 -2
  487. package/dist/esm/stzh-banner.entry.js.map +1 -1
  488. package/dist/esm/stzh-bathstatus-item.entry.js +1 -1
  489. package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
  490. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  491. package/dist/esm/stzh-cardlist_3.entry.js +1 -1
  492. package/dist/esm/stzh-cardlist_3.entry.js.map +1 -1
  493. package/dist/esm/stzh-chipselect.entry.js +11 -6
  494. package/dist/esm/stzh-chipselect.entry.js.map +1 -1
  495. package/dist/esm/stzh-components.js +2 -2
  496. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  497. package/dist/esm/stzh-contact.entry.js +1 -1
  498. package/dist/esm/stzh-disturber.entry.js +1 -1
  499. package/dist/esm/stzh-dropdown.entry.js +11 -4
  500. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  501. package/dist/esm/stzh-editor.entry.js +1 -1
  502. package/dist/esm/stzh-eventdata.entry.js +1 -1
  503. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  504. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  505. package/dist/esm/stzh-feedreader.entry.js +1 -1
  506. package/dist/esm/stzh-geo-ref-data.entry.js +24 -16
  507. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  508. package/dist/esm/stzh-ghettobox_3.entry.js +2 -2
  509. package/dist/esm/stzh-ghettobox_3.entry.js.map +1 -1
  510. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  511. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  512. package/dist/esm/stzh-linklist.entry.js +1 -1
  513. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  514. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  515. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  516. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  517. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  518. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  519. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  520. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  521. package/dist/esm/stzh-pi-menu.entry.js +2 -2
  522. package/dist/esm/stzh-pi-menu.entry.js.map +1 -1
  523. package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
  524. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
  525. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  526. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  527. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  528. package/dist/esm/stzh-poicard.entry.js +1 -1
  529. package/dist/esm/stzh-poilist.entry.js +1 -1
  530. package/dist/esm/stzh-print_2.entry.js +1 -1
  531. package/dist/esm/stzh-search.entry.js +2 -2
  532. package/dist/esm/stzh-sitemap.entry.js +1 -1
  533. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  534. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  535. package/dist/esm/stzh-textandimage.entry.js +1 -1
  536. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  537. package/dist/esm/stzh-upload.entry.js +45 -10
  538. package/dist/esm/stzh-upload.entry.js.map +1 -1
  539. package/dist/esm/stzh-vbz-linechip.entry.js +46 -4
  540. package/dist/esm/stzh-vbz-linechip.entry.js.map +1 -1
  541. package/dist/esm/stzh-vbz-ticker.entry.js +4 -2
  542. package/dist/esm/stzh-vbz-ticker.entry.js.map +1 -1
  543. package/dist/stzh-components/index.esm.js.map +1 -1
  544. package/dist/stzh-components/{p-50a81b5c.entry.js → p-0cf78c66.entry.js} +2 -2
  545. package/dist/stzh-components/{p-9b858b7e.entry.js → p-1047debc.entry.js} +2 -2
  546. package/dist/stzh-components/{p-d0e8b48e.entry.js → p-126e6d91.entry.js} +2 -2
  547. package/dist/stzh-components/{p-3064f4b9.entry.js → p-1724d14c.entry.js} +2 -2
  548. package/dist/stzh-components/{p-21c8ffbe.entry.js → p-1a926012.entry.js} +2 -2
  549. package/dist/stzh-components/{p-0585149c.entry.js → p-1b517ef0.entry.js} +2 -2
  550. package/dist/stzh-components/p-3677f45f.entry.js +2 -0
  551. package/dist/stzh-components/p-3677f45f.entry.js.map +1 -0
  552. package/dist/stzh-components/{p-2925f080.entry.js → p-37f3a254.entry.js} +2 -2
  553. package/dist/stzh-components/{p-6dd89068.entry.js → p-3e6c40f3.entry.js} +2 -2
  554. package/dist/stzh-components/{p-0585ce30.entry.js → p-40b71f43.entry.js} +2 -2
  555. package/dist/stzh-components/p-4248810c.entry.js +2 -0
  556. package/dist/stzh-components/p-4248810c.entry.js.map +1 -0
  557. package/dist/stzh-components/{p-b4743671.entry.js → p-49d1df6c.entry.js} +2 -2
  558. package/dist/stzh-components/{p-c58f66b7.entry.js → p-4c34707b.entry.js} +2 -2
  559. package/dist/stzh-components/{p-9dc09551.entry.js → p-4cc22e58.entry.js} +2 -2
  560. package/dist/stzh-components/p-53356df0.entry.js +2 -0
  561. package/dist/stzh-components/p-53356df0.entry.js.map +1 -0
  562. package/dist/stzh-components/{p-0c40b74a.entry.js → p-57350e0f.entry.js} +2 -2
  563. package/dist/stzh-components/{p-9868d9ae.entry.js → p-582dce2a.entry.js} +2 -2
  564. package/dist/stzh-components/{p-6e273ca9.entry.js → p-59f148b6.entry.js} +2 -2
  565. package/dist/stzh-components/{p-a06207b8.entry.js → p-5c6e3a8d.entry.js} +2 -2
  566. package/dist/stzh-components/p-64d9db0e.entry.js +2 -0
  567. package/dist/stzh-components/{p-08a557a9.entry.js.map → p-64d9db0e.entry.js.map} +1 -1
  568. package/dist/stzh-components/{p-f4a72255.entry.js → p-68eac8f8.entry.js} +2 -2
  569. package/dist/stzh-components/{p-71a0881e.entry.js → p-6caa57d2.entry.js} +2 -2
  570. package/dist/stzh-components/{p-51b68c35.entry.js → p-6f9d0b16.entry.js} +2 -2
  571. package/dist/stzh-components/{p-30190507.entry.js → p-75cb1777.entry.js} +5 -5
  572. package/dist/stzh-components/p-75cb1777.entry.js.map +1 -0
  573. package/dist/stzh-components/{p-53fbd93e.entry.js → p-7659680e.entry.js} +2 -2
  574. package/dist/stzh-components/{p-7c4475b1.entry.js → p-7a89cb17.entry.js} +2 -2
  575. package/dist/stzh-components/{p-a3227cea.entry.js → p-7cbdff42.entry.js} +2 -2
  576. package/dist/stzh-components/{p-8b77de57.entry.js → p-7cc03903.entry.js} +2 -2
  577. package/dist/stzh-components/{p-94c29a35.entry.js → p-7e2ccf70.entry.js} +2 -2
  578. package/dist/stzh-components/p-7e2ccf70.entry.js.map +1 -0
  579. package/dist/stzh-components/{p-c820956f.entry.js → p-80ad40e0.entry.js} +2 -2
  580. package/dist/stzh-components/{p-0d7b090a.entry.js → p-81223fd0.entry.js} +2 -2
  581. package/dist/stzh-components/{p-0504563f.entry.js → p-81cedb07.entry.js} +2 -2
  582. package/dist/stzh-components/{p-ff5abecf.entry.js → p-88771be4.entry.js} +2 -2
  583. package/dist/stzh-components/{p-51e9d435.entry.js → p-920fce3c.entry.js} +2 -2
  584. package/dist/stzh-components/{p-aca1cbd6.entry.js → p-93ec64d8.entry.js} +2 -2
  585. package/dist/stzh-components/{p-42ec2ee3.entry.js → p-a34af577.entry.js} +2 -2
  586. package/dist/stzh-components/p-a34af577.entry.js.map +1 -0
  587. package/dist/stzh-components/{p-54ba4496.entry.js → p-a406f00b.entry.js} +2 -2
  588. package/dist/stzh-components/{p-3a5acc86.entry.js → p-b0216e1c.entry.js} +2 -2
  589. package/dist/stzh-components/{p-e45aaf19.entry.js → p-b1f7a965.entry.js} +2 -2
  590. package/dist/stzh-components/{p-3a0112f4.entry.js → p-b2577810.entry.js} +2 -2
  591. package/dist/stzh-components/{p-d68f208f.js → p-b381bb3f.js} +2 -2
  592. package/dist/stzh-components/p-beb1274a.entry.js +2 -0
  593. package/dist/stzh-components/{p-24daddfd.entry.js.map → p-beb1274a.entry.js.map} +1 -1
  594. package/dist/stzh-components/{p-38570073.entry.js → p-beeb3c30.entry.js} +2 -2
  595. package/dist/stzh-components/{p-0edd3842.entry.js → p-c8319cd5.entry.js} +2 -2
  596. package/dist/stzh-components/{p-70805ea3.entry.js → p-c8d80b05.entry.js} +2 -2
  597. package/dist/stzh-components/{p-8de194c8.entry.js → p-ceb4aac5.entry.js} +2 -2
  598. package/dist/stzh-components/p-ceb4aac5.entry.js.map +1 -0
  599. package/dist/stzh-components/{p-15f3c6a1.entry.js → p-dbe28f96.entry.js} +2 -2
  600. package/dist/stzh-components/{p-3f4afd76.entry.js → p-de4b1f2b.entry.js} +2 -2
  601. package/dist/stzh-components/{p-13881ff2.entry.js → p-de8c2229.entry.js} +2 -2
  602. package/dist/stzh-components/{p-ee9f0975.entry.js → p-def94196.entry.js} +2 -2
  603. package/dist/stzh-components/p-def94196.entry.js.map +1 -0
  604. package/dist/stzh-components/p-e437fcf8.entry.js +2 -0
  605. package/dist/stzh-components/p-e437fcf8.entry.js.map +1 -0
  606. package/dist/stzh-components/{p-b1695c60.entry.js → p-e55ed246.entry.js} +2 -2
  607. package/dist/stzh-components/{p-9c552bd1.entry.js → p-f06def5a.entry.js} +2 -2
  608. package/dist/stzh-components/{p-380d1021.entry.js → p-f4a3b35e.entry.js} +2 -2
  609. package/dist/stzh-components/{p-380d1021.entry.js.map → p-f4a3b35e.entry.js.map} +1 -1
  610. package/dist/stzh-components/p-fe46e220.entry.js +2 -0
  611. package/dist/stzh-components/p-fe46e220.entry.js.map +1 -0
  612. package/dist/stzh-components/stzh-components.esm.js +1 -1
  613. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  614. package/dist/types/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +10 -2
  615. package/dist/types/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +4 -2
  616. package/dist/types/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +1 -0
  617. package/dist/types/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.d.ts +2 -2
  618. package/dist/types/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.localization.d.ts +1 -1
  619. package/dist/types/components.d.ts +28 -4
  620. package/dist/types/index.d.ts +22 -1
  621. package/dist/vscode-data.json +32 -0
  622. package/package.json +13 -24
  623. package/dist/collection/components/CMS/stzh-banner/stzh-banner.e2e.js.map +0 -1
  624. package/dist/collection/components/CMS/stzh-banner/stzh-banner.js.map +0 -1
  625. package/dist/collection/components/CMS/stzh-banner/stzh-banner.localization.js.map +0 -1
  626. package/dist/components/p-0b630cac.js.map +0 -1
  627. package/dist/components/p-2d2bf07d.js.map +0 -1
  628. package/dist/components/p-3d9ce94f.js.map +0 -1
  629. package/dist/components/p-c8267c9e.js.map +0 -1
  630. package/dist/stzh-components/p-08a557a9.entry.js +0 -2
  631. package/dist/stzh-components/p-24daddfd.entry.js +0 -2
  632. package/dist/stzh-components/p-30190507.entry.js.map +0 -1
  633. package/dist/stzh-components/p-357ce1c2.entry.js +0 -2
  634. package/dist/stzh-components/p-357ce1c2.entry.js.map +0 -1
  635. package/dist/stzh-components/p-42ec2ee3.entry.js.map +0 -1
  636. package/dist/stzh-components/p-520572a4.entry.js +0 -2
  637. package/dist/stzh-components/p-520572a4.entry.js.map +0 -1
  638. package/dist/stzh-components/p-7157b3d2.entry.js +0 -2
  639. package/dist/stzh-components/p-7157b3d2.entry.js.map +0 -1
  640. package/dist/stzh-components/p-7254baa2.entry.js +0 -2
  641. package/dist/stzh-components/p-7254baa2.entry.js.map +0 -1
  642. package/dist/stzh-components/p-846c28e5.entry.js +0 -2
  643. package/dist/stzh-components/p-846c28e5.entry.js.map +0 -1
  644. package/dist/stzh-components/p-8de194c8.entry.js.map +0 -1
  645. package/dist/stzh-components/p-94c29a35.entry.js.map +0 -1
  646. package/dist/stzh-components/p-ee9f0975.entry.js.map +0 -1
  647. /package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.localization.js +0 -0
  648. /package/dist/stzh-components/{p-50a81b5c.entry.js.map → p-0cf78c66.entry.js.map} +0 -0
  649. /package/dist/stzh-components/{p-9b858b7e.entry.js.map → p-1047debc.entry.js.map} +0 -0
  650. /package/dist/stzh-components/{p-d0e8b48e.entry.js.map → p-126e6d91.entry.js.map} +0 -0
  651. /package/dist/stzh-components/{p-3064f4b9.entry.js.map → p-1724d14c.entry.js.map} +0 -0
  652. /package/dist/stzh-components/{p-21c8ffbe.entry.js.map → p-1a926012.entry.js.map} +0 -0
  653. /package/dist/stzh-components/{p-0585149c.entry.js.map → p-1b517ef0.entry.js.map} +0 -0
  654. /package/dist/stzh-components/{p-2925f080.entry.js.map → p-37f3a254.entry.js.map} +0 -0
  655. /package/dist/stzh-components/{p-6dd89068.entry.js.map → p-3e6c40f3.entry.js.map} +0 -0
  656. /package/dist/stzh-components/{p-0585ce30.entry.js.map → p-40b71f43.entry.js.map} +0 -0
  657. /package/dist/stzh-components/{p-b4743671.entry.js.map → p-49d1df6c.entry.js.map} +0 -0
  658. /package/dist/stzh-components/{p-c58f66b7.entry.js.map → p-4c34707b.entry.js.map} +0 -0
  659. /package/dist/stzh-components/{p-9dc09551.entry.js.map → p-4cc22e58.entry.js.map} +0 -0
  660. /package/dist/stzh-components/{p-0c40b74a.entry.js.map → p-57350e0f.entry.js.map} +0 -0
  661. /package/dist/stzh-components/{p-9868d9ae.entry.js.map → p-582dce2a.entry.js.map} +0 -0
  662. /package/dist/stzh-components/{p-6e273ca9.entry.js.map → p-59f148b6.entry.js.map} +0 -0
  663. /package/dist/stzh-components/{p-a06207b8.entry.js.map → p-5c6e3a8d.entry.js.map} +0 -0
  664. /package/dist/stzh-components/{p-f4a72255.entry.js.map → p-68eac8f8.entry.js.map} +0 -0
  665. /package/dist/stzh-components/{p-71a0881e.entry.js.map → p-6caa57d2.entry.js.map} +0 -0
  666. /package/dist/stzh-components/{p-51b68c35.entry.js.map → p-6f9d0b16.entry.js.map} +0 -0
  667. /package/dist/stzh-components/{p-53fbd93e.entry.js.map → p-7659680e.entry.js.map} +0 -0
  668. /package/dist/stzh-components/{p-7c4475b1.entry.js.map → p-7a89cb17.entry.js.map} +0 -0
  669. /package/dist/stzh-components/{p-a3227cea.entry.js.map → p-7cbdff42.entry.js.map} +0 -0
  670. /package/dist/stzh-components/{p-8b77de57.entry.js.map → p-7cc03903.entry.js.map} +0 -0
  671. /package/dist/stzh-components/{p-c820956f.entry.js.map → p-80ad40e0.entry.js.map} +0 -0
  672. /package/dist/stzh-components/{p-0d7b090a.entry.js.map → p-81223fd0.entry.js.map} +0 -0
  673. /package/dist/stzh-components/{p-0504563f.entry.js.map → p-81cedb07.entry.js.map} +0 -0
  674. /package/dist/stzh-components/{p-ff5abecf.entry.js.map → p-88771be4.entry.js.map} +0 -0
  675. /package/dist/stzh-components/{p-51e9d435.entry.js.map → p-920fce3c.entry.js.map} +0 -0
  676. /package/dist/stzh-components/{p-aca1cbd6.entry.js.map → p-93ec64d8.entry.js.map} +0 -0
  677. /package/dist/stzh-components/{p-54ba4496.entry.js.map → p-a406f00b.entry.js.map} +0 -0
  678. /package/dist/stzh-components/{p-3a5acc86.entry.js.map → p-b0216e1c.entry.js.map} +0 -0
  679. /package/dist/stzh-components/{p-e45aaf19.entry.js.map → p-b1f7a965.entry.js.map} +0 -0
  680. /package/dist/stzh-components/{p-3a0112f4.entry.js.map → p-b2577810.entry.js.map} +0 -0
  681. /package/dist/stzh-components/{p-d68f208f.js.map → p-b381bb3f.js.map} +0 -0
  682. /package/dist/stzh-components/{p-38570073.entry.js.map → p-beeb3c30.entry.js.map} +0 -0
  683. /package/dist/stzh-components/{p-0edd3842.entry.js.map → p-c8319cd5.entry.js.map} +0 -0
  684. /package/dist/stzh-components/{p-70805ea3.entry.js.map → p-c8d80b05.entry.js.map} +0 -0
  685. /package/dist/stzh-components/{p-15f3c6a1.entry.js.map → p-dbe28f96.entry.js.map} +0 -0
  686. /package/dist/stzh-components/{p-3f4afd76.entry.js.map → p-de4b1f2b.entry.js.map} +0 -0
  687. /package/dist/stzh-components/{p-13881ff2.entry.js.map → p-de8c2229.entry.js.map} +0 -0
  688. /package/dist/stzh-components/{p-b1695c60.entry.js.map → p-e55ed246.entry.js.map} +0 -0
  689. /package/dist/stzh-components/{p-9c552bd1.entry.js.map → p-f06def5a.entry.js.map} +0 -0
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -168,8 +167,7 @@ export default {
168
167
  url: getFigmaLink('datamessagelist'),
169
168
  allowFullscreen: true
170
169
  }
171
- },
172
- decorators: [withActions]
170
+ }
173
171
  };
174
172
 
175
173
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -15,8 +14,8 @@ export default {
15
14
  title: 'Components/DatamessagelistItem',
16
15
  component: COMPONENT_NAME,
17
16
  parameters: {
18
- actions: {
19
- handles: ['stzhClick', 'stzhActionClick']
17
+ stzhActions: {
18
+ events: ['stzhClick', 'stzhActionClick']
20
19
  },
21
20
  docs: {
22
21
  description: {
@@ -28,8 +27,7 @@ export default {
28
27
  url: getFigmaLink('datamessagelist'),
29
28
  allowFullscreen: true
30
29
  }
31
- },
32
- decorators: [withActions]
30
+ }
33
31
  };
34
32
 
35
33
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -25,8 +24,8 @@ export default {
25
24
  component: COMPONENT_NAME,
26
25
  parameters: {
27
26
  layout: 'padded',
28
- actions: {
29
- handles: [
27
+ stzhActions: {
28
+ events: [
30
29
  'stzhRowClick',
31
30
  'stzhCellClick',
32
31
  'stzhHeadingCellClick',
@@ -45,8 +44,7 @@ export default {
45
44
  url: getFigmaLink('table'),
46
45
  allowFullscreen: true
47
46
  }
48
- },
49
- decorators: [withActions]
47
+ }
50
48
  };
51
49
 
52
50
  const rows = [
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -16,8 +15,8 @@ export default {
16
15
  component: COMPONENT_NAME,
17
16
  parameters: {
18
17
  layout: 'padded',
19
- actions: {
20
- handles: ['stzhChange', 'stzhChanged']
18
+ stzhActions: {
19
+ events: ['stzhChange', 'stzhChanged', 'stzhClick']
21
20
  },
22
21
  docs: {
23
22
  description: {
@@ -29,8 +28,7 @@ export default {
29
28
  url: getFigmaLink('datepicker'),
30
29
  allowFullscreen: true
31
30
  }
32
- },
33
- decorators: [withActions]
31
+ }
34
32
  };
35
33
 
36
34
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -19,9 +18,6 @@ export default {
19
18
  component: COMPONENT_NAME,
20
19
  parameters: {
21
20
  layout: 'padded',
22
- actions: {
23
- handles: []
24
- },
25
21
  docs: {
26
22
  description: {
27
23
  component: readme
@@ -32,8 +28,7 @@ export default {
32
28
  url: getFigmaLink('daterange'),
33
29
  allowFullscreen: true
34
30
  }
35
- },
36
- decorators: [withActions]
31
+ }
37
32
  };
38
33
 
39
34
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -20,8 +19,8 @@ export default {
20
19
  title: 'Components/Details',
21
20
  component: COMPONENT_NAME,
22
21
  parameters: {
23
- actions: {
24
- handles: ['stzhOpen', 'stzhOpened', 'stzhClose', 'stzhClosed']
22
+ stzhActions: {
23
+ events: ['stzhOpen', 'stzhOpened', 'stzhClose', 'stzhClosed']
25
24
  },
26
25
  layout: 'padded',
27
26
  docs: {
@@ -34,8 +33,7 @@ export default {
34
33
  url: getFigmaLink('details'),
35
34
  allowFullscreen: true
36
35
  }
37
- },
38
- decorators: [withActions]
36
+ }
39
37
  };
40
38
 
41
39
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -76,8 +75,8 @@ export default {
76
75
  title: 'Components/Dialog',
77
76
  component: COMPONENT_NAME,
78
77
  parameters: {
79
- actions: {
80
- handles: ['stzhOpen', 'stzhClose']
78
+ stzhActions: {
79
+ events: ['stzhOpen', 'stzhClose']
81
80
  },
82
81
  docs: {
83
82
  story: { inline: false },
@@ -90,8 +89,7 @@ export default {
90
89
  url: getFigmaLink('dialog'),
91
90
  allowFullscreen: true
92
91
  }
93
- },
94
- decorators: [withActions]
92
+ }
95
93
  };
96
94
 
97
95
  export const Default = {
@@ -408,7 +408,14 @@ export class StzhDropdown {
408
408
  });
409
409
  },
410
410
  onDropdownOpen: () => {
411
+ var _a;
411
412
  this.isOpen = true;
413
+ const checkboxes = (_a = this.dropdownWrapperElement) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.stzh-dropdown__dropdown input[type="checkbox"]');
414
+ checkboxes === null || checkboxes === void 0 ? void 0 : checkboxes.forEach(cb => {
415
+ const input = cb;
416
+ input.tabIndex = -1;
417
+ input.setAttribute('aria-hidden', 'true');
418
+ });
412
419
  this.stzhOpen.emit({
413
420
  component: "stzh-dropdown",
414
421
  });
@@ -519,14 +526,14 @@ export class StzhDropdown {
519
526
  [`stzh-dropdown--size-${this.size}`]: !!this.size,
520
527
  [`stzh-dropdown--${this.variant}`]: !!this.variant,
521
528
  };
522
- return (h(Host, { key: '5b025973be9b3816f65b04ba4f278a63ba16ebf2', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'cfd8afb93fa33ca458e66b63a77dd7fb4214f3fa', class: classes, ref: el => (this.rootElement = el) }, h("div", { key: '6c0519f26b9b446af6efb4211c64081ff404cdbc', class: "stzh-dropdown__wrapper" }, h("label", { key: '7fe9015887823cdb9779dccc23b9ccaca1c61ade', id: `${this.dropdownId}-label`, class: {
529
+ return (h(Host, { key: '43e4fe695b29d09186cc89a63d114a32db62497e', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '47f70953075e3f8aea174a03b7b78baa34a334cf', class: classes, ref: el => (this.rootElement = el) }, h("div", { key: '0d19c3df359b0c6c9c7980d950960b1666cc8583', class: "stzh-dropdown__wrapper" }, h("label", { key: '046f47beee5ddc3535a62117b255b557d304a466', id: `${this.dropdownId}-label`, class: {
523
530
  "stzh-dropdown__label": true,
524
531
  "no-label-truncate": this.noLabelTruncate,
525
- }, htmlFor: this.dropdownId }, this.label ? this.label : h("slot", { name: "label" }), !this.hideOptional && (h("span", { key: '62ea57a37f38825f9d7f4510f6b8c03fc0fe777e', class: "stzh-dropdown__marker" }, h("span", { key: 'e003849ef73c016347bd68c6d635208fe9604bd9', class: "stzh-dropdown__marker-symbol", "aria-hidden": "true" }, this.required
532
+ }, htmlFor: this.dropdownId }, this.label ? this.label : h("slot", { name: "label" }), !this.hideOptional && (h("span", { key: '01e78ec719f2a6ee24f93af09356265b9b49bc44', class: "stzh-dropdown__marker" }, h("span", { key: '59b288b6e298d3e63a79d964b69e0b132bdfe0c6', class: "stzh-dropdown__marker-symbol", "aria-hidden": "true" }, this.required
526
533
  ? this.localization.$globals.requiredFieldMarker
527
- : this.localization.$globals.optionalFieldMarker), h("span", { key: '140844c8bac0b5ae844dbed52cbd31b0b774d0f6', class: "stzh-dropdown__marker-text" }, this.required
534
+ : this.localization.$globals.optionalFieldMarker), h("span", { key: '8545d830e7f5ea338e296daa28b82415add31ce8', class: "stzh-dropdown__marker-text" }, this.required
528
535
  ? this.localization.$globals.requiredFieldText
529
- : this.localization.$globals.optionalFieldText)))), h("div", { key: '8cb5a1048a8a61bcaa457adf6900ce4f391099ed', class: "stzh-dropdown__field-wrapper" }, h("select", { key: '58adaec8559b819e7ebc6c556a9d9dae703a1ad6', id: this.dropdownId, class: "stzh-dropdown__select", ref: el => (this.select = el), multiple: this.multiple, name: this.name, disabled: this.disabled, "aria-labelledby": `${this.dropdownId}-label ${this.dropdownId}-not-loading ${this.dropdownId}-no-results ${this.hideOptional && this.required && `${this.dropdownId}-required`} ${this.invalid && `${this.dropdownId}-invalid`} ${this.dropdownId}-description ${this.a11yDescribedby}` }, h("slot", { key: 'e6ab0c203dc33c761cdf6cb71db7b50a3718d6cb' })), this.inline && this.label && h("div", { key: '69334293fb5ce937e4f2eb5f0979f6b291cb8e07', class: "stzh-dropdown__sizer" }, this.label), h("div", { key: '9e61b80ff217f4f31fe6c403e7fed121314ec46c', class: "stzh-dropdown__icon-angle-wrapper" }, this.iconAngle ? (h("stzh-icon", { name: this.iconAngle, class: "stzh-dropdown__icon-angle" })) : (h("slot", { name: "icon-angle" }))), h("div", { key: '94e0ba6374db92d0f1233b13c1f440fbb80a1a50', class: "stzh-dropdown__icon-wrapper" }, this.icon ? (h("stzh-icon", { class: "stzh-dropdown__icon", name: this.icon })) : (h("slot", { name: "icon" }))), this.hideOptional && this.required && (h("div", { key: '7521eb2e7cb1f745e44dc30a325c3fbc2e9eaa55', id: `${this.dropdownId}-required`, class: "stzh-dropdown__vhidden" }, this.localization.$globals.requiredFieldText)), this.invalid && (h("div", { key: '043a8f352108135e13fc3d2a06a39d987200e5dd', id: `${this.dropdownId}-invalid`, class: "stzh-dropdown__vhidden" }, this.localization.$globals.invalidFieldText)))), h("div", { key: 'bb0b3ae5f601bca89c060f040b5f76dd7779e0ba', class: "stzh-dropdown__dropdown-wrapper", ref: el => (this.dropdownWrapperElement = el) }), (errorUsed || this.description || this.descriptionLong) && (h(StzhInputDescription, { key: 'e54d0df4aee6b25e7ea18cdc45ae3f5e4624870a', classPrefix: "stzh-dropdown", id: `${this.dropdownId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })))));
536
+ : this.localization.$globals.optionalFieldText)))), h("div", { key: '48118c0191d05626c888951e42622af1936d95e0', class: "stzh-dropdown__field-wrapper" }, h("select", { key: '81e1d0029aaafa30b1e053b727a2ae2b31b50e8e', id: this.dropdownId, class: "stzh-dropdown__select", ref: el => (this.select = el), multiple: this.multiple, name: this.name, disabled: this.disabled, "aria-labelledby": `${this.dropdownId}-label ${this.dropdownId}-not-loading ${this.dropdownId}-no-results ${this.hideOptional && this.required && `${this.dropdownId}-required`} ${this.invalid && `${this.dropdownId}-invalid`} ${this.dropdownId}-description ${this.a11yDescribedby}` }, h("slot", { key: '090a6c8e27f1256e3e4c12d18537fe80b1a980da' })), this.inline && this.label && h("div", { key: '2df2af2ba249d67b112b8b4deaf36fb8029bf7e0', class: "stzh-dropdown__sizer" }, this.label), h("div", { key: 'bf23520b4a42940663d51723380a8a28bd6c31fa', class: "stzh-dropdown__icon-angle-wrapper" }, this.iconAngle ? (h("stzh-icon", { name: this.iconAngle, class: "stzh-dropdown__icon-angle" })) : (h("slot", { name: "icon-angle" }))), h("div", { key: '67c264d55048287a2535080d3729742fc57e75b0', class: "stzh-dropdown__icon-wrapper" }, this.icon ? (h("stzh-icon", { class: "stzh-dropdown__icon", name: this.icon })) : (h("slot", { name: "icon" }))), this.hideOptional && this.required && (h("div", { key: '988e71e18fe24aff04f86537f2b6c890fd7d1a48', id: `${this.dropdownId}-required`, class: "stzh-dropdown__vhidden" }, this.localization.$globals.requiredFieldText)), this.invalid && (h("div", { key: '53bcd69666fbad5881420306f9bdea1bf0799bf7', id: `${this.dropdownId}-invalid`, class: "stzh-dropdown__vhidden" }, this.localization.$globals.invalidFieldText)))), h("div", { key: '2418f8550ea59ba3ab4964077568fc4d4b7a4000', class: "stzh-dropdown__dropdown-wrapper", ref: el => (this.dropdownWrapperElement = el) }), (errorUsed || this.description || this.descriptionLong) && (h(StzhInputDescription, { key: 'f8283dcc4ceb9fe9f116df5c37409c61640c600d', classPrefix: "stzh-dropdown", id: `${this.dropdownId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })))));
530
537
  }
531
538
  static get is() { return "stzh-dropdown"; }
532
539
  static get originalStyleUrls() {
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-dropdown.js","sourceRoot":"","sources":["../../../../src/components/stzh-dropdown/stzh-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,eAAe,CAAC;AAE9G,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAmB5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,SAAS,MAAM,8CAA8C,CAAC;AACrE,OAAO,qBAAqB,MAAM,gEAAgE,CAAC;AACnG,OAAO,wBAAwB,MAAM,mEAAmE,CAAC;AACzG,OAAO,sBAAsB,MAAM,iEAAiE,CAAC;AACrG,OAAO,0BAA0B,MAAM,sEAAsE,CAAC;AAE9G,MAAM,sBAAsB,GAAG,UAAU,eAAe;IACtD,MAAM,IAAI,GAAG,IAAI,CAAC;IAElB,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;QACzB,MAAM,KAAK,GAAG,IAAI,CAAC,aAAiC,CAAC;QACrD,IAAI,KAAK;YAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,0BAA0B,CAAC;AAChD,MAAM,WAAW,GAAG,0B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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h, Element, Watch, Method, Event, EventEmitter, Listen } from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\nimport {\n StzhDropdownSize,\n StzhDropdownOption,\n StzhDropdownChangeEvent,\n StzhDropdownItemAddEvent,\n StzhDropdownItemRemoveEvent,\n StzhDropdownOptionAddEvent,\n StzhDropdownOptionRemoveEvent,\n StzhDropdownOpenEvent,\n StzhDropdowCloseEvent,\n StzhDropdownFocusEvent,\n StzhDropdownBlurEvent,\n StzhDropdowInitEvent,\n} from \"../../index\";\n\nimport { StzhDropdownLocalizedText } from \"./stzh-dropdown.localization\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nimport TomSelect from \"../../libraries/tom-select/esm/tom-select.js\";\nimport TomSelectRemoveButton from \"../../libraries/tom-select/esm/plugins/remove_button/plugin.js\";\nimport TomSelectCheckboxOptions from \"../../libraries/tom-select/esm/plugins/checkbox_options/plugin.js\";\nimport TomSelectInputAutogrow from \"../../libraries/tom-select/esm/plugins/input_autogrow/plugin.js\";\nimport TomSelectNoBackspaceDelete from \"../../libraries/tom-select/esm/plugins/no_backspace_delete/plugin.js\";\n\nconst TomSelectInputReadonly = function (_plugin_options) {\n const self = this;\n\n self.on(\"initialize\", () => {\n const input = self.control_input as HTMLInputElement;\n if (input) input.readOnly = true;\n });\n};\n\nconst CLASS_FILLED = \"stzh-dropdown--is-filled\";\nconst CLASS_FOCUS = \"stzh-dropdown--has-focus\";\n\nTomSelect.define(\"remove_button\", TomSelectRemoveButton);\nTomSelect.define(\"checkbox_options\", TomSelectCheckboxOptions);\nTomSelect.define(\"input_autogrow\", TomSelectInputAutogrow);\nTomSelect.define(\"no_backspace_delete\", TomSelectNoBackspaceDelete);\nTomSelect.define(\"input_readonly\", TomSelectInputReadonly);\n\nlet dropdownCounter = 0;\n\n/**\n * @slot label - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot icon - Slot for left icon\n * @slot icon-angle - Slot for angle icon\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-dropdown\",\n styleUrl: \"stzh-dropdown.scss\",\n})\nexport class StzhDropdown {\n /** Available options */\n @Prop() options: StzhDropdownOption[] | string;\n private _options: StzhDropdownOption[];\n\n /**\n * Option groups that options will be bucketed into.\n * Make sure each object in the array has a property named whatever `optgroupValueField` is set to.\n */\n @Prop() optgroups: any[] | string;\n private _optgroups: any[];\n\n /**\n * Set selected option values. Always set this in usage with stzh-components-angular (see examples in usage docs).\n * To get the current (user) selected options, use `getItems` method.\n */\n @Prop({ mutable: true }) items: string[] | string;\n private _items: string[];\n\n /**\n * Default items (used by reset)\n */\n @Prop({ mutable: true }) defaultItems: string[];\n\n /**\n * An array of property names to analyze when filtering options.\n * Weights can be given to each field to improve search result:\n * `[{\"field\":\"text\",\"weight\":2},{\"field\":\"text2\",\"weight\":0.5}]`\n */\n @Prop() searchField: string[] | string = [\"text\"];\n private _searchField: string[];\n\n /** Whether multiple items option can be selected */\n @Prop({ reflect: true }) multiple: boolean = false;\n\n /** Show inline (auto width) */\n @Prop({ reflect: true }) inline: boolean = false;\n\n /** Don't wrap words when using inline (auto width) */\n @Prop({ reflect: true }) noWrap: boolean = false;\n\n /** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */\n @Prop() maxOptions: number | null = null;\n\n /** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */\n @Prop() searchConjunction: \"and\" | \"or\" = \"and\";\n\n /** Transform applied to input value before e.g. search is executed */\n @Prop() transformLoadQuery: \"trim\" | \"trim-to-single-ws\" | \"join\" | Function = \"trim\";\n\n /** If true, any options with a \"\" value will be treated like a normal option. This defaults to false to accommodate the common <select> practice of having the first empty option to act as a placeholder. */\n @Prop() allowEmptyOption: boolean = false;\n\n /** Show the dropdown immediately when the control receives focus. */\n @Prop() openOnFocus: boolean = true;\n\n /** After a selection is made, the dropdown will remain open if in a multi-selection control or will close in a single-selection control. Setting closeAfterSelect to true will force the dropdown to close after selections are made. Setting closeAfterSelect to false will keep the dropdown open after selections are made. */\n @Prop() closeAfterSelect: boolean | null = null;\n\n /** Invoked when new options should be loaded from the server. Called with the current query string and a callback function to call with the results when they are loaded (or nothing when an error arises). */\n @Prop() load: (query: string, callback: Function) => any[] | null = null;\n\n /** Minimum of characters required to execute the `load` function */\n @Prop() minCharacters: number = 3;\n\n /** The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled. Useful when loading options dynamically while the user types a search / filter expression. */\n @Prop() loadThrottle: number = 300;\n\n /** If true, the load function will be called upon control initialization (with an empty search). Alternatively it can be set to 'focus' to call the load function when control receives focus. */\n @Prop() preload: boolean | \"focus\" = false;\n\n /** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */\n @Prop() labelField: string = \"text\";\n\n /** The name of the property to use as the value when an item is selected. */\n @Prop() valueField: string = \"value\";\n\n /** Only used for Angular control value accessors. Use `items` property to define preselected options. */\n @Prop({ mutable: true }) value: string | string[] = \"\";\n\n /** The name of the property to group items by. */\n @Prop() optgroupField: string = \"optgroup\";\n\n /** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */\n @Prop() optgroupLabelField: string = \"label\";\n\n /** The name of the option group property that serves as its unique identifier. */\n @Prop() optgroupValueField: string = \"value\";\n\n /** If truthy, all optgroups will be displayed in the same order as they were added (by the `$order` property). Otherwise, it will order based on the score of the results in each. */\n @Prop() lockOptgroupOrder: true;\n\n /** Name of hidden select element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Initial open state */\n @Prop() open: boolean = false;\n\n /** Current open state (readonly) */\n @Prop({ reflect: true }) isOpen: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"plain\" | \"filter\" = \"default\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhDropdownSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhDropdownSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhDropdownSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhDropdownSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhDropdownSize;\n\n /** Whether the dropdown is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement */\n @Prop({ reflect: true }) popoverPlacement:\n | \"bottom\"\n | \"bottom-end\"\n | \"bottom-center\"\n | \"top\"\n | \"top-end\"\n | \"top-center\" = \"bottom\";\n\n /** Whether to stretch popover to fullwith of parent */\n @Prop({ reflect: true }) popoverFullwidth: \"horizontal\" | \"\" = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label should be truncate or not */\n @Prop() noLabelTruncate: boolean = false;\n\n /** Whether label should be visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Angle icon */\n @Prop() iconAngle: string = \"angle-down\";\n\n /** Prevent option search */\n @Prop() noSearch: boolean = false;\n\n /** Prevent backspace delete */\n @Prop() noBackspaceDelete: 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 /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\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 /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Translation strings */\n @Prop() localization: StzhDropdownLocalizedText;\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"options\")\n optionsWatcher(newValue: any[] | string) {\n if (typeof newValue === \"string\") {\n this._options = JSON.parse(newValue);\n } else {\n this._options = newValue;\n }\n }\n\n @Watch(\"items\")\n itemsWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n this.value = this._items;\n }\n\n @Watch(\"searchField\")\n searchFieldWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._searchField = JSON.parse(newValue);\n } else {\n this._searchField = newValue;\n }\n }\n\n @Watch(\"optgroups\")\n optgroupsWatcher(newValue: any[] | string) {\n if (typeof newValue === \"string\") {\n this._optgroups = JSON.parse(newValue);\n } else {\n this._optgroups = newValue;\n }\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\n @Element() element: HTMLStzhDropdownElement;\n\n /**\n * Returns the value of the control.\n * If multiple items can be selected,\n * this returns an array, otherwise a string.\n */\n @Method()\n async getValue(): Promise<string | string[]> {\n return this.tomSelect.getValue();\n }\n\n /** Set new value */\n @Method()\n async setValue(newValue: string | string[], silent: boolean = false) {\n this.tomSelect.setValue(newValue, silent);\n }\n\n /** Reset loaded/cached search queries (calls from load property function) */\n @Method()\n async resetLoadedSearches() {\n this.tomSelect.loadedSearches = {};\n }\n\n /** Return loaded/cached search queries (calls from load property function) */\n @Method()\n async getLoadedSearches() {\n return this.tomSelect.loadedSearches;\n }\n\n /** Return current selected items */\n @Method()\n async getItems() {\n return this.tomSelect.items;\n }\n\n /** Load items by calling load property/function */\n @Method()\n async loadItems(query: string) {\n return this.tomSelect.load(query);\n }\n\n /** Show dropdown popover */\n @Method()\n async show() {\n return this.tomSelect.open();\n }\n\n /** Hide dropdown popover */\n @Method()\n async hide() {\n return this.tomSelect.close();\n }\n\n /** Dropdown change event */\n @Event() stzhChange: EventEmitter<StzhDropdownChangeEvent>;\n\n /** Dropdown item added event */\n @Event() stzhItemAdd: EventEmitter<StzhDropdownItemAddEvent>;\n\n /** Dropdown item removed event */\n @Event() stzhItemRemove: EventEmitter<StzhDropdownItemRemoveEvent>;\n\n /** Dropdown option added event */\n @Event() stzhOptionAdd: EventEmitter<StzhDropdownOptionAddEvent>;\n\n /** Dropdown option removed event */\n @Event() stzhOptionRemove: EventEmitter<StzhDropdownOptionRemoveEvent>;\n\n /** Dropdown open event */\n @Event() stzhOpen: EventEmitter<StzhDropdownOpenEvent>;\n\n /** Dropdown close event */\n @Event() stzhClose: EventEmitter<StzhDropdowCloseEvent>;\n\n /** Dropdown focus event */\n @Event() stzhFocus: EventEmitter<StzhDropdownFocusEvent>;\n\n /** Dropdown blur event */\n @Event() stzhBlur: EventEmitter<StzhDropdownBlurEvent>;\n\n /** Dropdown focus event */\n @Event() stzhInit: EventEmitter<StzhDropdowInitEvent>;\n\n private tomSelect: TomSelect;\n private select: HTMLSelectElement;\n private rootElement: HTMLElement;\n private dropdownWrapperElement: HTMLElement;\n private dropdownId: string;\n private focusedByInput: boolean = false;\n\n private updateFilled() {\n if (this._items?.length > 0) {\n this.rootElement.classList.add(CLASS_FILLED);\n this.element.setAttribute(\"is-filled\", \"true\");\n } else {\n this.rootElement.classList.remove(CLASS_FILLED);\n this.element.removeAttribute(\"is-filled\");\n }\n }\n\n private handleReset = () => {\n this.items = [...this.defaultItems];\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tomSelect.focus();\n }\n\n this.focusedByInput = false;\n };\n\n async componentWillLoad() {\n this.dropdownId = `stzh-dropdown-${dropdownCounter++}`;\n\n this.optionsWatcher(this.options);\n this.optgroupsWatcher(this.optgroups);\n this.itemsWatcher(this.items);\n this.searchFieldWatcher(this.searchField);\n this.errorWatcher(this.error);\n\n this.defaultItems = this.defaultItems || this._items;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"dropdown\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return [\"isOpen\", \"value\"].includes(prop) === false;\n }\n\n async componentWillUpdate() {\n if (this.tomSelect) {\n this.tomSelect.destroy();\n this.tomSelect = null;\n }\n }\n\n async componentDidRender() {\n if (this.tomSelect) {\n return;\n }\n\n const plugins = {};\n\n if (this.noSearch) {\n plugins[\"input_readonly\"] = {};\n } else {\n plugins[\"input_autogrow\"] = {};\n }\n\n if (this.noBackspaceDelete) {\n plugins[\"no_backspace_delete\"] = {};\n }\n\n if (this.multiple) {\n plugins[\"checkbox_options\"] = {};\n }\n\n if (this.multiple || this.variant === \"filter\") {\n plugins[\"remove_button\"] = {\n title: this.localization.removeButtonTitle,\n label: '<stzh-icon name=\"close-big\" class=\"stzh-dropdown__remove-icon\"></stzh-icon>',\n };\n }\n\n const tomSelectOptions: any = {\n dropdownParent: this.dropdownWrapperElement,\n openDisplay: \"flex\",\n plugins,\n maxItems: this.multiple ? null : 1,\n maxOptions: this.maxOptions,\n items: this._items,\n optgroups: this._optgroups,\n searchField: this._searchField,\n searchConjunction: this.searchConjunction,\n allowEmptyOption: this.allowEmptyOption,\n closeAfterSelect: this.closeAfterSelect !== null ? this.closeAfterSelect : !this.multiple,\n labelField: this.labelField,\n valueField: this.valueField,\n optgroupField: this.optgroupField,\n optgroupLabelField: this.optgroupLabelField,\n optgroupValueField: this.optgroupValueField,\n lockOptgroupOrder: this.lockOptgroupOrder,\n load: this.load,\n transformLoadQuery: (inputValue: string) => {\n if (typeof this.transformLoadQuery === \"function\") {\n return this.transformLoadQuery(inputValue);\n } else if (this.transformLoadQuery === \"join\") {\n const lastQueries = Array.from(this.tomSelect.controlChildren()).map(\n (element: HTMLElement) => element.innerText,\n );\n\n return (\n (lastQueries.length > 0 ? lastQueries.join(\" \") + (inputValue ? \" \" : \"\") : \"\") +\n inputValue.replace(/\\s\\s+/g, \" \")\n );\n } else if (this.transformLoadQuery === \"trim-to-single-ws\") {\n return inputValue.replace(/\\s\\s+/g, \" \");\n } else {\n return inputValue.trim();\n }\n },\n shouldLoad: (query: string) => {\n return query.length >= this.minCharacters;\n },\n loadThrottle: this.loadThrottle,\n preload: this.preload,\n openOnFocus: this.openOnFocus,\n loadingClass: \"is-loading\",\n hideSelected: false,\n duplicates: false,\n delimiter: \",\",\n copyClassesToDropdown: false,\n hidePlaceholder: null,\n // if you want the user to be able to add own items enable this option\n // (but checkbox_options plugin throws an error and would need a fix first)\n // create: function(input, callback) {\n // callback({ value: input, text: input });\n // },\n // createOnBlur: false,\n // createFilter: null,\n // persist: false,\n render: {\n option: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__option\">\n <span class=\"stzh-dropdown__option-title\">\n ${escape(data[this.labelField])}\n </span>\n <stzh-icon name=\"checkmark\" class=\"stzh-dropdown__option-check\"></stzh-icon>\n </div>\n `;\n },\n item: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__item\">\n ${escape(data[this.labelField])}\n </div>\n `;\n },\n option_create: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__create\">\n ${this.localization.create.replace(/\\{x\\}/gi, escape(data.input))}&hellip;\n </div>\n `;\n },\n no_results: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__no-results\" id=\"${this.dropdownId}-no-results\">\n ${this.localization.noResults.replace(/\\{x\\}/gi, escape(data.input))}\n </div>`;\n },\n not_loading:\n this.load === null\n ? null\n : (_data, escape) => {\n return `\n <div class=\"stzh-dropdown__not-loading\" id=\"${this.dropdownId}-not-loading\">\n ${this.localization.notLoading.replace(/\\{x\\}/gi, escape(this.minCharacters.toString()))}\n </div>\n `;\n },\n optgroup: data => {\n let optgroup = document.createElement(\"div\");\n optgroup.className = \"stzh-dropdown__optgroup\";\n optgroup.appendChild(data.options);\n return optgroup;\n },\n optgroup_header: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__optgroup-header\">\n ${escape(data.label)}\n </div>\n `;\n },\n loading: () => {\n return `\n <div class=\"stzh-dropdown__loader\">\n <stzh-loader></stzh-loader>\n </div>\n `;\n },\n dropdown: () => {\n return `<div class=\"stzh-dropdown__dropdown\"></div>`;\n },\n },\n onChange: value => {\n this._items = this.tomSelect.items;\n this.updateFilled();\n this.value = this.multiple ? this._items : this._items[0];\n this.stzhChange.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onItemAdd: value => {\n this._items = this.tomSelect.items;\n this.stzhItemAdd.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onItemRemove: value => {\n this._items = this.tomSelect.items;\n this.stzhItemRemove.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onOptionAdd: value => {\n this._options = this.tomSelect.options;\n this.updateFilled();\n\n this.stzhOptionAdd.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onOptionRemove: value => {\n this._options = this.tomSelect.options;\n this.updateFilled();\n\n this.stzhOptionRemove.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onDropdownOpen: () => {\n this.isOpen = true;\n this.stzhOpen.emit({\n component: \"stzh-dropdown\",\n });\n },\n onDropdownClose: () => {\n this.isOpen = false;\n this.stzhClose.emit({\n component: \"stzh-dropdown\",\n });\n },\n onFocus: () => {\n this.focusedByInput = true;\n\n if (this.tomSelect.load && this.preload === \"focus\") {\n // to be able to execute load function again, we reset loaded searches\n this.resetLoadedSearches();\n\n // if results have been preloaded before, load them now directly with load function\n if (this.tomSelect.wrapper.classList.contains(\"preloaded\")) {\n // since tomSelect.preload() doesn't call tomSelect.shouldCall() method internally (to check for minCharacters),\n // we will also not call it (this.tomSelect.settings.shouldLoad.call(this.tomSelect, ''))\n this.tomSelect.load(\"\");\n }\n }\n\n this.rootElement.classList.add(CLASS_FOCUS);\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-dropdown\",\n originalEvent: {\n target: this.tomSelect.control,\n },\n });\n },\n onBlur: () => {\n this.rootElement.classList.remove(CLASS_FOCUS);\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-dropdown\",\n });\n },\n onInitialize: () => {\n this.stzhInit.emit({\n component: \"stzh-dropdown\",\n });\n },\n onLoad: () => {\n this._options = this.tomSelect.options;\n },\n };\n\n if (this._options) {\n tomSelectOptions.options = this._options;\n }\n\n if (this._optgroups) {\n tomSelectOptions.optgroups = this._optgroups;\n }\n\n if (this._items) {\n tomSelectOptions.items = this._items;\n }\n\n this.updateFilled();\n this.tomSelect = new TomSelect(this.select, tomSelectOptions);\n\n if (!this.openOnFocus) {\n // we still want to enable opening the dropdown by click\n this.tomSelect.control.addEventListener(\"click\", () => {\n this.tomSelect.open();\n });\n }\n\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n if (this.tomSelect) {\n this.tomSelect.destroy();\n this.tomSelect = null;\n }\n }\n\n render() {\n const iconUsed = hasSlot(this.element, \"icon\") || !!this.icon;\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?.length > 0;\n\n const classes = {\n \"stzh-dropdown\": true,\n \"stzh-dropdown--is-inline\": this.inline,\n \"stzh-dropdown--has-no-wrap\": this.noWrap,\n \"stzh-dropdown--is-multiple\": this.multiple,\n \"stzh-dropdown--is-disabled\": this.disabled,\n \"stzh-dropdown--is-required\": this.required,\n \"stzh-dropdown--is-invalid\": this.invalid || errorUsed,\n [CLASS_FILLED]: this._items && this._items.length > 0,\n \"stzh-dropdown--has-icon\": iconUsed,\n \"stzh-dropdown--has-description\": descriptionUsed,\n \"stzh-dropdown--has-description-long\": descriptionLongUsed,\n \"stzh-dropdown--has-error\": errorUsed,\n \"stzh-dropdown--has-no-search\": this.noSearch,\n \"stzh-dropdown--has-label-hidden\": this.labelHidden,\n [`stzh-dropdown--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n [`stzh-dropdown--popover-fullwidth-${this.popoverFullwidth}`]: !!this.popoverFullwidth,\n [`stzh-dropdown--size-${this.size}`]: !!this.size,\n [`stzh-dropdown--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes} ref={el => (this.rootElement = el as HTMLDivElement)}>\n <div class=\"stzh-dropdown__wrapper\">\n <label\n id={`${this.dropdownId}-label`}\n class={{\n \"stzh-dropdown__label\": true,\n \"no-label-truncate\": this.noLabelTruncate,\n }}\n htmlFor={this.dropdownId}\n >\n {this.label ? this.label : <slot name=\"label\"></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-dropdown__marker\">\n <span class=\"stzh-dropdown__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-dropdown__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n <div class=\"stzh-dropdown__field-wrapper\">\n {/* tom-select replaces this select with an combobox.\n Since it doesn't support aria-(describedby/required/invalid),\n we write necessary status information in the aria-labelledby */}\n <select\n id={this.dropdownId}\n class=\"stzh-dropdown__select\"\n ref={el => (this.select = el as HTMLSelectElement)}\n multiple={this.multiple}\n name={this.name}\n disabled={this.disabled}\n aria-labelledby={`${this.dropdownId}-label ${\n this.dropdownId\n }-not-loading ${this.dropdownId}-no-results ${\n this.hideOptional && this.required && `${this.dropdownId}-required`\n } ${this.invalid && `${this.dropdownId}-invalid`} ${\n this.dropdownId\n }-description ${this.a11yDescribedby}`}\n >\n <slot></slot>\n </select>\n\n {this.inline && this.label && <div class=\"stzh-dropdown__sizer\">{this.label}</div>}\n\n <div class=\"stzh-dropdown__icon-angle-wrapper\">\n {this.iconAngle ? (\n <stzh-icon name={this.iconAngle} class=\"stzh-dropdown__icon-angle\"></stzh-icon>\n ) : (\n <slot name=\"icon-angle\"></slot>\n )}\n </div>\n\n <div class=\"stzh-dropdown__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-dropdown__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n </div>\n\n {this.hideOptional && this.required && (\n <div id={`${this.dropdownId}-required`} class=\"stzh-dropdown__vhidden\">\n {this.localization.$globals.requiredFieldText}\n </div>\n )}\n\n {this.invalid && (\n <div id={`${this.dropdownId}-invalid`} class=\"stzh-dropdown__vhidden\">\n {this.localization.$globals.invalidFieldText}\n </div>\n )}\n </div>\n </div>\n\n <div\n class=\"stzh-dropdown__dropdown-wrapper\"\n ref={el => (this.dropdownWrapperElement = el as HTMLDivElement)}\n ></div>\n\n {(errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-dropdown\"\n id={`${this.dropdownId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-dropdown.js","sourceRoot":"","sources":["../../../../src/components/stzh-dropdown/stzh-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,EAAE,MAAM,eAAe,CAAC;AAE9G,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAmB5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Prop, h, Element, Watch, Method, Event, EventEmitter, Listen } from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\nimport {\n StzhDropdownSize,\n StzhDropdownOption,\n StzhDropdownChangeEvent,\n StzhDropdownItemAddEvent,\n StzhDropdownItemRemoveEvent,\n StzhDropdownOptionAddEvent,\n StzhDropdownOptionRemoveEvent,\n StzhDropdownOpenEvent,\n StzhDropdowCloseEvent,\n StzhDropdownFocusEvent,\n StzhDropdownBlurEvent,\n StzhDropdowInitEvent,\n} from \"../../index\";\n\nimport { StzhDropdownLocalizedText } from \"./stzh-dropdown.localization\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nimport TomSelect from \"../../libraries/tom-select/esm/tom-select.js\";\nimport TomSelectRemoveButton from \"../../libraries/tom-select/esm/plugins/remove_button/plugin.js\";\nimport TomSelectCheckboxOptions from \"../../libraries/tom-select/esm/plugins/checkbox_options/plugin.js\";\nimport TomSelectInputAutogrow from \"../../libraries/tom-select/esm/plugins/input_autogrow/plugin.js\";\nimport TomSelectNoBackspaceDelete from \"../../libraries/tom-select/esm/plugins/no_backspace_delete/plugin.js\";\n\nconst TomSelectInputReadonly = function (_plugin_options) {\n const self = this;\n\n self.on(\"initialize\", () => {\n const input = self.control_input as HTMLInputElement;\n if (input) input.readOnly = true;\n });\n};\n\nconst CLASS_FILLED = \"stzh-dropdown--is-filled\";\nconst CLASS_FOCUS = \"stzh-dropdown--has-focus\";\n\nTomSelect.define(\"remove_button\", TomSelectRemoveButton);\nTomSelect.define(\"checkbox_options\", TomSelectCheckboxOptions);\nTomSelect.define(\"input_autogrow\", TomSelectInputAutogrow);\nTomSelect.define(\"no_backspace_delete\", TomSelectNoBackspaceDelete);\nTomSelect.define(\"input_readonly\", TomSelectInputReadonly);\n\nlet dropdownCounter = 0;\n\n/**\n * @slot label - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot icon - Slot for left icon\n * @slot icon-angle - Slot for angle icon\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-dropdown\",\n styleUrl: \"stzh-dropdown.scss\",\n})\nexport class StzhDropdown {\n /** Available options */\n @Prop() options: StzhDropdownOption[] | string;\n private _options: StzhDropdownOption[];\n\n /**\n * Option groups that options will be bucketed into.\n * Make sure each object in the array has a property named whatever `optgroupValueField` is set to.\n */\n @Prop() optgroups: any[] | string;\n private _optgroups: any[];\n\n /**\n * Set selected option values. Always set this in usage with stzh-components-angular (see examples in usage docs).\n * To get the current (user) selected options, use `getItems` method.\n */\n @Prop({ mutable: true }) items: string[] | string;\n private _items: string[];\n\n /**\n * Default items (used by reset)\n */\n @Prop({ mutable: true }) defaultItems: string[];\n\n /**\n * An array of property names to analyze when filtering options.\n * Weights can be given to each field to improve search result:\n * `[{\"field\":\"text\",\"weight\":2},{\"field\":\"text2\",\"weight\":0.5}]`\n */\n @Prop() searchField: string[] | string = [\"text\"];\n private _searchField: string[];\n\n /** Whether multiple items option can be selected */\n @Prop({ reflect: true }) multiple: boolean = false;\n\n /** Show inline (auto width) */\n @Prop({ reflect: true }) inline: boolean = false;\n\n /** Don't wrap words when using inline (auto width) */\n @Prop({ reflect: true }) noWrap: boolean = false;\n\n /** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */\n @Prop() maxOptions: number | null = null;\n\n /** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */\n @Prop() searchConjunction: \"and\" | \"or\" = \"and\";\n\n /** Transform applied to input value before e.g. search is executed */\n @Prop() transformLoadQuery: \"trim\" | \"trim-to-single-ws\" | \"join\" | Function = \"trim\";\n\n /** If true, any options with a \"\" value will be treated like a normal option. This defaults to false to accommodate the common <select> practice of having the first empty option to act as a placeholder. */\n @Prop() allowEmptyOption: boolean = false;\n\n /** Show the dropdown immediately when the control receives focus. */\n @Prop() openOnFocus: boolean = true;\n\n /** After a selection is made, the dropdown will remain open if in a multi-selection control or will close in a single-selection control. Setting closeAfterSelect to true will force the dropdown to close after selections are made. Setting closeAfterSelect to false will keep the dropdown open after selections are made. */\n @Prop() closeAfterSelect: boolean | null = null;\n\n /** Invoked when new options should be loaded from the server. Called with the current query string and a callback function to call with the results when they are loaded (or nothing when an error arises). */\n @Prop() load: (query: string, callback: Function) => any[] | null = null;\n\n /** Minimum of characters required to execute the `load` function */\n @Prop() minCharacters: number = 3;\n\n /** The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled. Useful when loading options dynamically while the user types a search / filter expression. */\n @Prop() loadThrottle: number = 300;\n\n /** If true, the load function will be called upon control initialization (with an empty search). Alternatively it can be set to 'focus' to call the load function when control receives focus. */\n @Prop() preload: boolean | \"focus\" = false;\n\n /** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */\n @Prop() labelField: string = \"text\";\n\n /** The name of the property to use as the value when an item is selected. */\n @Prop() valueField: string = \"value\";\n\n /** Only used for Angular control value accessors. Use `items` property to define preselected options. */\n @Prop({ mutable: true }) value: string | string[] = \"\";\n\n /** The name of the property to group items by. */\n @Prop() optgroupField: string = \"optgroup\";\n\n /** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */\n @Prop() optgroupLabelField: string = \"label\";\n\n /** The name of the option group property that serves as its unique identifier. */\n @Prop() optgroupValueField: string = \"value\";\n\n /** If truthy, all optgroups will be displayed in the same order as they were added (by the `$order` property). Otherwise, it will order based on the score of the results in each. */\n @Prop() lockOptgroupOrder: true;\n\n /** Name of hidden select element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Initial open state */\n @Prop() open: boolean = false;\n\n /** Current open state (readonly) */\n @Prop({ reflect: true }) isOpen: boolean = false;\n\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"plain\" | \"filter\" = \"default\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhDropdownSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhDropdownSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhDropdownSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhDropdownSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhDropdownSize;\n\n /** Whether the dropdown is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement */\n @Prop({ reflect: true }) popoverPlacement:\n | \"bottom\"\n | \"bottom-end\"\n | \"bottom-center\"\n | \"top\"\n | \"top-end\"\n | \"top-center\" = \"bottom\";\n\n /** Whether to stretch popover to fullwith of parent */\n @Prop({ reflect: true }) popoverFullwidth: \"horizontal\" | \"\" = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label should be truncate or not */\n @Prop() noLabelTruncate: boolean = false;\n\n /** Whether label should be visually hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Angle icon */\n @Prop() iconAngle: string = \"angle-down\";\n\n /** Prevent option search */\n @Prop() noSearch: boolean = false;\n\n /** Prevent backspace delete */\n @Prop() noBackspaceDelete: 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 /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\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 /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Translation strings */\n @Prop() localization: StzhDropdownLocalizedText;\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"options\")\n optionsWatcher(newValue: any[] | string) {\n if (typeof newValue === \"string\") {\n this._options = JSON.parse(newValue);\n } else {\n this._options = newValue;\n }\n }\n\n @Watch(\"items\")\n itemsWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n this.value = this._items;\n }\n\n @Watch(\"searchField\")\n searchFieldWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._searchField = JSON.parse(newValue);\n } else {\n this._searchField = newValue;\n }\n }\n\n @Watch(\"optgroups\")\n optgroupsWatcher(newValue: any[] | string) {\n if (typeof newValue === \"string\") {\n this._optgroups = JSON.parse(newValue);\n } else {\n this._optgroups = newValue;\n }\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\n @Element() element: HTMLStzhDropdownElement;\n\n /**\n * Returns the value of the control.\n * If multiple items can be selected,\n * this returns an array, otherwise a string.\n */\n @Method()\n async getValue(): Promise<string | string[]> {\n return this.tomSelect.getValue();\n }\n\n /** Set new value */\n @Method()\n async setValue(newValue: string | string[], silent: boolean = false) {\n this.tomSelect.setValue(newValue, silent);\n }\n\n /** Reset loaded/cached search queries (calls from load property function) */\n @Method()\n async resetLoadedSearches() {\n this.tomSelect.loadedSearches = {};\n }\n\n /** Return loaded/cached search queries (calls from load property function) */\n @Method()\n async getLoadedSearches() {\n return this.tomSelect.loadedSearches;\n }\n\n /** Return current selected items */\n @Method()\n async getItems() {\n return this.tomSelect.items;\n }\n\n /** Load items by calling load property/function */\n @Method()\n async loadItems(query: string) {\n return this.tomSelect.load(query);\n }\n\n /** Show dropdown popover */\n @Method()\n async show() {\n return this.tomSelect.open();\n }\n\n /** Hide dropdown popover */\n @Method()\n async hide() {\n return this.tomSelect.close();\n }\n\n /** Dropdown change event */\n @Event() stzhChange: EventEmitter<StzhDropdownChangeEvent>;\n\n /** Dropdown item added event */\n @Event() stzhItemAdd: EventEmitter<StzhDropdownItemAddEvent>;\n\n /** Dropdown item removed event */\n @Event() stzhItemRemove: EventEmitter<StzhDropdownItemRemoveEvent>;\n\n /** Dropdown option added event */\n @Event() stzhOptionAdd: EventEmitter<StzhDropdownOptionAddEvent>;\n\n /** Dropdown option removed event */\n @Event() stzhOptionRemove: EventEmitter<StzhDropdownOptionRemoveEvent>;\n\n /** Dropdown open event */\n @Event() stzhOpen: EventEmitter<StzhDropdownOpenEvent>;\n\n /** Dropdown close event */\n @Event() stzhClose: EventEmitter<StzhDropdowCloseEvent>;\n\n /** Dropdown focus event */\n @Event() stzhFocus: EventEmitter<StzhDropdownFocusEvent>;\n\n /** Dropdown blur event */\n @Event() stzhBlur: EventEmitter<StzhDropdownBlurEvent>;\n\n /** Dropdown focus event */\n @Event() stzhInit: EventEmitter<StzhDropdowInitEvent>;\n\n private tomSelect: TomSelect;\n private select: HTMLSelectElement;\n private rootElement: HTMLElement;\n private dropdownWrapperElement: HTMLElement;\n private dropdownId: string;\n private focusedByInput: boolean = false;\n\n private updateFilled() {\n if (this._items?.length > 0) {\n this.rootElement.classList.add(CLASS_FILLED);\n this.element.setAttribute(\"is-filled\", \"true\");\n } else {\n this.rootElement.classList.remove(CLASS_FILLED);\n this.element.removeAttribute(\"is-filled\");\n }\n }\n\n private handleReset = () => {\n this.items = [...this.defaultItems];\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.tomSelect.focus();\n }\n\n this.focusedByInput = false;\n };\n\n async componentWillLoad() {\n this.dropdownId = `stzh-dropdown-${dropdownCounter++}`;\n\n this.optionsWatcher(this.options);\n this.optgroupsWatcher(this.optgroups);\n this.itemsWatcher(this.items);\n this.searchFieldWatcher(this.searchField);\n this.errorWatcher(this.error);\n\n this.defaultItems = this.defaultItems || this._items;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"dropdown\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return [\"isOpen\", \"value\"].includes(prop) === false;\n }\n\n async componentWillUpdate() {\n if (this.tomSelect) {\n this.tomSelect.destroy();\n this.tomSelect = null;\n }\n }\n\n async componentDidRender() {\n if (this.tomSelect) {\n return;\n }\n\n const plugins = {};\n\n if (this.noSearch) {\n plugins[\"input_readonly\"] = {};\n } else {\n plugins[\"input_autogrow\"] = {};\n }\n\n if (this.noBackspaceDelete) {\n plugins[\"no_backspace_delete\"] = {};\n }\n\n if (this.multiple) {\n plugins[\"checkbox_options\"] = {};\n }\n\n if (this.multiple || this.variant === \"filter\") {\n plugins[\"remove_button\"] = {\n title: this.localization.removeButtonTitle,\n label: '<stzh-icon name=\"close-big\" class=\"stzh-dropdown__remove-icon\"></stzh-icon>',\n };\n }\n\n const tomSelectOptions: any = {\n dropdownParent: this.dropdownWrapperElement,\n openDisplay: \"flex\",\n plugins,\n maxItems: this.multiple ? null : 1,\n maxOptions: this.maxOptions,\n items: this._items,\n optgroups: this._optgroups,\n searchField: this._searchField,\n searchConjunction: this.searchConjunction,\n allowEmptyOption: this.allowEmptyOption,\n closeAfterSelect: this.closeAfterSelect !== null ? this.closeAfterSelect : !this.multiple,\n labelField: this.labelField,\n valueField: this.valueField,\n optgroupField: this.optgroupField,\n optgroupLabelField: this.optgroupLabelField,\n optgroupValueField: this.optgroupValueField,\n lockOptgroupOrder: this.lockOptgroupOrder,\n load: this.load,\n transformLoadQuery: (inputValue: string) => {\n if (typeof this.transformLoadQuery === \"function\") {\n return this.transformLoadQuery(inputValue);\n } else if (this.transformLoadQuery === \"join\") {\n const lastQueries = Array.from(this.tomSelect.controlChildren()).map(\n (element: HTMLElement) => element.innerText,\n );\n\n return (\n (lastQueries.length > 0 ? lastQueries.join(\" \") + (inputValue ? \" \" : \"\") : \"\") +\n inputValue.replace(/\\s\\s+/g, \" \")\n );\n } else if (this.transformLoadQuery === \"trim-to-single-ws\") {\n return inputValue.replace(/\\s\\s+/g, \" \");\n } else {\n return inputValue.trim();\n }\n },\n shouldLoad: (query: string) => {\n return query.length >= this.minCharacters;\n },\n loadThrottle: this.loadThrottle,\n preload: this.preload,\n openOnFocus: this.openOnFocus,\n loadingClass: \"is-loading\",\n hideSelected: false,\n duplicates: false,\n delimiter: \",\",\n copyClassesToDropdown: false,\n hidePlaceholder: null,\n // if you want the user to be able to add own items enable this option\n // (but checkbox_options plugin throws an error and would need a fix first)\n // create: function(input, callback) {\n // callback({ value: input, text: input });\n // },\n // createOnBlur: false,\n // createFilter: null,\n // persist: false,\n render: {\n option: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__option\">\n <span class=\"stzh-dropdown__option-title\">\n ${escape(data[this.labelField])}\n </span>\n <stzh-icon name=\"checkmark\" class=\"stzh-dropdown__option-check\"></stzh-icon>\n </div>\n `;\n },\n item: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__item\">\n ${escape(data[this.labelField])}\n </div>\n `;\n },\n option_create: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__create\">\n ${this.localization.create.replace(/\\{x\\}/gi, escape(data.input))}&hellip;\n </div>\n `;\n },\n no_results: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__no-results\" id=\"${this.dropdownId}-no-results\">\n ${this.localization.noResults.replace(/\\{x\\}/gi, escape(data.input))}\n </div>`;\n },\n not_loading:\n this.load === null\n ? null\n : (_data, escape) => {\n return `\n <div class=\"stzh-dropdown__not-loading\" id=\"${this.dropdownId}-not-loading\">\n ${this.localization.notLoading.replace(/\\{x\\}/gi, escape(this.minCharacters.toString()))}\n </div>\n `;\n },\n optgroup: data => {\n let optgroup = document.createElement(\"div\");\n optgroup.className = \"stzh-dropdown__optgroup\";\n optgroup.appendChild(data.options);\n return optgroup;\n },\n optgroup_header: (data, escape) => {\n return `\n <div class=\"stzh-dropdown__optgroup-header\">\n ${escape(data.label)}\n </div>\n `;\n },\n loading: () => {\n return `\n <div class=\"stzh-dropdown__loader\">\n <stzh-loader></stzh-loader>\n </div>\n `;\n },\n dropdown: () => {\n return `<div class=\"stzh-dropdown__dropdown\"></div>`;\n },\n },\n onChange: value => {\n this._items = this.tomSelect.items;\n this.updateFilled();\n this.value = this.multiple ? this._items : this._items[0];\n this.stzhChange.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onItemAdd: value => {\n this._items = this.tomSelect.items;\n this.stzhItemAdd.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onItemRemove: value => {\n this._items = this.tomSelect.items;\n this.stzhItemRemove.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onOptionAdd: value => {\n this._options = this.tomSelect.options;\n this.updateFilled();\n\n this.stzhOptionAdd.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onOptionRemove: value => {\n this._options = this.tomSelect.options;\n this.updateFilled();\n\n this.stzhOptionRemove.emit({\n component: \"stzh-dropdown\",\n value,\n });\n },\n onDropdownOpen: () => {\n this.isOpen = true;\n const checkboxes = this.dropdownWrapperElement?.querySelectorAll(\n '.stzh-dropdown__dropdown input[type=\"checkbox\"]'\n );\n checkboxes?.forEach(cb => {\n const input = cb as HTMLInputElement;\n input.tabIndex = -1;\n input.setAttribute('aria-hidden', 'true');\n });\n this.stzhOpen.emit({\n component: \"stzh-dropdown\",\n });\n },\n onDropdownClose: () => {\n this.isOpen = false;\n this.stzhClose.emit({\n component: \"stzh-dropdown\",\n });\n },\n onFocus: () => {\n this.focusedByInput = true;\n\n if (this.tomSelect.load && this.preload === \"focus\") {\n // to be able to execute load function again, we reset loaded searches\n this.resetLoadedSearches();\n\n // if results have been preloaded before, load them now directly with load function\n if (this.tomSelect.wrapper.classList.contains(\"preloaded\")) {\n // since tomSelect.preload() doesn't call tomSelect.shouldCall() method internally (to check for minCharacters),\n // we will also not call it (this.tomSelect.settings.shouldLoad.call(this.tomSelect, ''))\n this.tomSelect.load(\"\");\n }\n }\n\n this.rootElement.classList.add(CLASS_FOCUS);\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-dropdown\",\n originalEvent: {\n target: this.tomSelect.control,\n },\n });\n },\n onBlur: () => {\n this.rootElement.classList.remove(CLASS_FOCUS);\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-dropdown\",\n });\n },\n onInitialize: () => {\n this.stzhInit.emit({\n component: \"stzh-dropdown\",\n });\n },\n onLoad: () => {\n this._options = this.tomSelect.options;\n },\n };\n\n if (this._options) {\n tomSelectOptions.options = this._options;\n }\n\n if (this._optgroups) {\n tomSelectOptions.optgroups = this._optgroups;\n }\n\n if (this._items) {\n tomSelectOptions.items = this._items;\n }\n\n this.updateFilled();\n this.tomSelect = new TomSelect(this.select, tomSelectOptions);\n\n if (!this.openOnFocus) {\n // we still want to enable opening the dropdown by click\n this.tomSelect.control.addEventListener(\"click\", () => {\n this.tomSelect.open();\n });\n }\n\n if (this.open) {\n this.show();\n }\n }\n\n disconnectedCallback() {\n if (this.tomSelect) {\n this.tomSelect.destroy();\n this.tomSelect = null;\n }\n }\n\n render() {\n const iconUsed = hasSlot(this.element, \"icon\") || !!this.icon;\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?.length > 0;\n\n const classes = {\n \"stzh-dropdown\": true,\n \"stzh-dropdown--is-inline\": this.inline,\n \"stzh-dropdown--has-no-wrap\": this.noWrap,\n \"stzh-dropdown--is-multiple\": this.multiple,\n \"stzh-dropdown--is-disabled\": this.disabled,\n \"stzh-dropdown--is-required\": this.required,\n \"stzh-dropdown--is-invalid\": this.invalid || errorUsed,\n [CLASS_FILLED]: this._items && this._items.length > 0,\n \"stzh-dropdown--has-icon\": iconUsed,\n \"stzh-dropdown--has-description\": descriptionUsed,\n \"stzh-dropdown--has-description-long\": descriptionLongUsed,\n \"stzh-dropdown--has-error\": errorUsed,\n \"stzh-dropdown--has-no-search\": this.noSearch,\n \"stzh-dropdown--has-label-hidden\": this.labelHidden,\n [`stzh-dropdown--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n [`stzh-dropdown--popover-fullwidth-${this.popoverFullwidth}`]: !!this.popoverFullwidth,\n [`stzh-dropdown--size-${this.size}`]: !!this.size,\n [`stzh-dropdown--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes} ref={el => (this.rootElement = el as HTMLDivElement)}>\n <div class=\"stzh-dropdown__wrapper\">\n <label\n id={`${this.dropdownId}-label`}\n class={{\n \"stzh-dropdown__label\": true,\n \"no-label-truncate\": this.noLabelTruncate,\n }}\n htmlFor={this.dropdownId}\n >\n {this.label ? this.label : <slot name=\"label\"></slot>}\n {!this.hideOptional && (\n <span class=\"stzh-dropdown__marker\">\n <span class=\"stzh-dropdown__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-dropdown__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </label>\n\n <div class=\"stzh-dropdown__field-wrapper\">\n {/* tom-select replaces this select with an combobox.\n Since it doesn't support aria-(describedby/required/invalid),\n we write necessary status information in the aria-labelledby */}\n <select\n id={this.dropdownId}\n class=\"stzh-dropdown__select\"\n ref={el => (this.select = el as HTMLSelectElement)}\n multiple={this.multiple}\n name={this.name}\n disabled={this.disabled}\n aria-labelledby={`${this.dropdownId}-label ${\n this.dropdownId\n }-not-loading ${this.dropdownId}-no-results ${\n this.hideOptional && this.required && `${this.dropdownId}-required`\n } ${this.invalid && `${this.dropdownId}-invalid`} ${\n this.dropdownId\n }-description ${this.a11yDescribedby}`}\n >\n <slot></slot>\n </select>\n\n {this.inline && this.label && <div class=\"stzh-dropdown__sizer\">{this.label}</div>}\n\n <div class=\"stzh-dropdown__icon-angle-wrapper\">\n {this.iconAngle ? (\n <stzh-icon name={this.iconAngle} class=\"stzh-dropdown__icon-angle\"></stzh-icon>\n ) : (\n <slot name=\"icon-angle\"></slot>\n )}\n </div>\n\n <div class=\"stzh-dropdown__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-dropdown__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n </div>\n\n {this.hideOptional && this.required && (\n <div id={`${this.dropdownId}-required`} class=\"stzh-dropdown__vhidden\">\n {this.localization.$globals.requiredFieldText}\n </div>\n )}\n\n {this.invalid && (\n <div id={`${this.dropdownId}-invalid`} class=\"stzh-dropdown__vhidden\">\n {this.localization.$globals.invalidFieldText}\n </div>\n )}\n </div>\n </div>\n\n <div\n class=\"stzh-dropdown__dropdown-wrapper\"\n ref={el => (this.dropdownWrapperElement = el as HTMLDivElement)}\n ></div>\n\n {(errorUsed || this.description || this.descriptionLong) && (\n <StzhInputDescription\n classPrefix=\"stzh-dropdown\"\n id={`${this.dropdownId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,12 +1,10 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
6
5
  import { fullwidthCentered } from '../../utils/decorators';
7
6
  import { expectIsVisible, getComponentByTestId } from '../../../.storybook/utils/component-test-utils';
8
- import { expect } from '@storybook/jest';
9
- import { userEvent, waitFor } from '@storybook/testing-library';
7
+ import { expect, userEvent } from 'storybook/test';
10
8
 
11
9
  const COMPONENT_NAME = 'stzh-dropdown';
12
10
  const story = createComponentStory(COMPONENT_NAME);
@@ -22,8 +20,8 @@ export default {
22
20
  title: 'Components/Dropdown',
23
21
  component: COMPONENT_NAME,
24
22
  parameters: {
25
- actions: {
26
- handles: [
23
+ stzhActions: {
24
+ events: [
27
25
  'stzhChange',
28
26
  'stzhItemAdd',
29
27
  'stzhItemRemove',
@@ -47,7 +45,7 @@ export default {
47
45
  allowFullscreen: true
48
46
  }
49
47
  },
50
- decorators: [withActions, fullwidthCentered]
48
+ decorators: [fullwidthCentered]
51
49
  };
52
50
 
53
51
  export const Single = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -10,7 +9,7 @@ const story = createComponentStory(COMPONENT_NAME);
10
9
  const TEMPLATE = `
11
10
  <stzh-fieldset>
12
11
  <stzh-row>
13
- <stzh-cell span-small="12">
12
+ <stzh-cell span-small="12">
14
13
  <stzh-radiogroup direction="horizontal" name="title">
15
14
  <stzh-radio value="0">Mr.</stzh-radio>
16
15
  <stzh-radio value="1">Mrs.</stzh-radio>
@@ -25,13 +24,13 @@ const TEMPLATE = `
25
24
  <stzh-input label="Last name"></stzh-input>
26
25
  </stzh-cell>
27
26
  </stzh-row>
28
-
27
+
29
28
  <stzh-row>
30
29
  <stzh-cell span-small="12">
31
30
  <stzh-input label="Message" multiline></stzh-input>
32
31
  </stzh-cell>
33
32
  </stzh-row>
34
-
33
+
35
34
  <div class="stzh-fieldset-row">
36
35
  <stzh-radiogroup name="department">
37
36
  <stzh-radio value="0">AOZ</stzh-radio>
@@ -40,13 +39,13 @@ const TEMPLATE = `
40
39
  <stzh-radio value="3">AOZ</stzh-radio>
41
40
  </stzh-radiogroup>
42
41
  </div>
43
-
42
+
44
43
  <div class="stzh-fieldset-row">
45
44
  <stzh-input label="More"></stzh-input>
46
45
  <stzh-input label="More"></stzh-input>
47
46
  <cq></cq>
48
47
  </div>
49
-
48
+
50
49
  <div class="stzh-fieldset-row">
51
50
  <stzh-text curve="p2"><p>Example text</p></stzh-text>
52
51
  <stzh-checkbox label="Test"></stzh-checkbox>
@@ -63,9 +62,6 @@ export default {
63
62
  title: 'Components/Fieldset',
64
63
  component: COMPONENT_NAME,
65
64
  parameters: {
66
- actions: {
67
- handles: []
68
- },
69
65
  docs: {
70
66
  description: {
71
67
  component: readme
@@ -76,8 +72,7 @@ export default {
76
72
  url: getFigmaLink('fieldset'),
77
73
  allowFullscreen: true
78
74
  }
79
- },
80
- decorators: [withActions]
75
+ }
81
76
  };
82
77
 
83
78
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -27,8 +26,7 @@ export default {
27
26
  url: getFigmaLink('figure'),
28
27
  allowFullscreen: true
29
28
  }
30
- },
31
- decorators: [withActions]
29
+ }
32
30
  };
33
31
 
34
32
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  const COMPONENT_NAME = 'stzh-flyingfocus';
@@ -23,8 +22,7 @@ export default {
23
22
  component: readme
24
23
  }
25
24
  }
26
- },
27
- decorators: [withActions]
25
+ }
28
26
  };
29
27
 
30
28
  export const Default = {
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../figma';
@@ -61,8 +60,7 @@ export default {
61
60
  url: getFigmaLink('footer'),
62
61
  allowFullscreen: true
63
62
  }
64
- },
65
- decorators: [withActions]
63
+ }
66
64
  };
67
65
 
68
66
  export const Default = {