@dso-toolkit/core 100.3.0 → 100.4.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 (541) hide show
  1. package/dist/bundle/dso-accordion-section.js +20 -11
  2. package/dist/bundle/dso-accordion.js +3 -3
  3. package/dist/bundle/dso-action-list-item.js +4 -4
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +6 -6
  6. package/dist/bundle/dso-alert.js +1 -1
  7. package/dist/bundle/dso-annotation-activiteit.js +10 -10
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
  9. package/dist/bundle/dso-annotation-kaart.js +5 -5
  10. package/dist/bundle/dso-annotation-locatie.js +1 -1
  11. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
  12. package/dist/bundle/dso-attachments-counter.js +1 -1
  13. package/dist/bundle/dso-autosuggest.js +7 -7
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +4 -4
  16. package/dist/bundle/dso-button-group.js +1 -1
  17. package/dist/bundle/dso-card-container.js +2 -2
  18. package/dist/bundle/dso-card.js +2 -2
  19. package/dist/bundle/dso-contact-information.js +1 -1
  20. package/dist/bundle/dso-cursor-tooltip.js +2 -2
  21. package/dist/bundle/dso-date-picker.js +1 -1
  22. package/dist/bundle/dso-document-card.js +2 -2
  23. package/dist/bundle/dso-document-component.js +1 -1
  24. package/dist/bundle/dso-dropdown-menu-group.js +2 -2
  25. package/dist/bundle/dso-dropdown-menu-item.js +3 -3
  26. package/dist/bundle/dso-dropdown-menu.js +6 -6
  27. package/dist/bundle/dso-expandable.js +1 -1
  28. package/dist/bundle/dso-grid-column.js +3 -4
  29. package/dist/bundle/dso-header.js +24 -8
  30. package/dist/bundle/dso-hero-image.js +1 -1
  31. package/dist/bundle/dso-highlight-box.js +2 -2
  32. package/dist/bundle/dso-history-item.js +2 -2
  33. package/dist/bundle/dso-icon-button.js +1 -1
  34. package/dist/bundle/dso-icon.js +1 -1
  35. package/dist/bundle/dso-image-overlay.js +1 -1
  36. package/dist/bundle/dso-info-button.js +1 -1
  37. package/dist/bundle/dso-info.js +1 -1
  38. package/dist/bundle/dso-input-range.js +3 -3
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +5 -5
  41. package/dist/bundle/dso-legend-item.js +8 -8
  42. package/dist/bundle/dso-legend.js +6 -6
  43. package/dist/bundle/dso-list-button.js +8 -8
  44. package/dist/bundle/dso-logo.js +2 -2
  45. package/dist/bundle/dso-map-base-layers.js +9 -9
  46. package/dist/bundle/dso-map-controls.js +7 -7
  47. package/dist/bundle/dso-map-layer-object.js +4 -4
  48. package/dist/bundle/dso-map-layer.js +4 -4
  49. package/dist/bundle/dso-map-message.js +4 -4
  50. package/dist/bundle/dso-map-overlays.js +9 -9
  51. package/dist/bundle/dso-mark-bar.js +4 -4
  52. package/dist/bundle/dso-modal.js +1 -1
  53. package/dist/bundle/dso-onboarding-tip.js +5 -5
  54. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  55. package/dist/bundle/dso-ozon-content.js +1 -1
  56. package/dist/bundle/dso-pagination.js +3 -3
  57. package/dist/bundle/dso-panel.js +1 -1
  58. package/dist/bundle/dso-plekinfo-card.js +4 -4
  59. package/dist/bundle/dso-progress-indicator.js +1 -1
  60. package/dist/bundle/dso-project-item.js +5 -5
  61. package/dist/bundle/dso-renvooi.js +1 -1
  62. package/dist/bundle/dso-responsive-element.js +1 -1
  63. package/dist/bundle/dso-scrollable.js +1 -1
  64. package/dist/bundle/dso-segmented-button.js +2 -2
  65. package/dist/bundle/dso-selectable.js +1 -1
  66. package/dist/bundle/dso-shopping-cart-item.js +3 -3
  67. package/dist/bundle/dso-shopping-cart.js +5 -5
  68. package/dist/bundle/dso-skiplink.js +3 -3
  69. package/dist/bundle/dso-slide-toggle.js +1 -1
  70. package/dist/bundle/dso-survey-rating.js +6 -6
  71. package/dist/bundle/dso-tab.js +1 -1
  72. package/dist/bundle/dso-table.js +1 -1
  73. package/dist/bundle/dso-tabs.js +2 -2
  74. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  75. package/dist/bundle/dso-tree-view.js +4 -4
  76. package/dist/bundle/dso-viewer-grid.js +3 -3
  77. package/dist/bundle/dsot-document-component-demo.js +18 -18
  78. package/dist/bundle/index.js +2 -2
  79. package/dist/bundle/{p-hkT73OMa.js → p-6lwKSTtN.js} +9 -9
  80. package/dist/bundle/{p-i3p8engD.js → p-B1sfJaTU.js} +16 -45
  81. package/dist/bundle/{p-DCB4WOS7.js → p-B5zDTnXM.js} +6 -6
  82. package/dist/bundle/{p-ClxcNLxu.js → p-BHAfq_R9.js} +8 -8
  83. package/dist/bundle/{p-O1XEOqgC.js → p-BHPEhHca.js} +2 -2
  84. package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
  85. package/dist/bundle/{p-CSFTUYxS.js → p-BMhDrgpW.js} +4 -4
  86. package/dist/bundle/{p-BUMxb_Ev.js → p-BZr7fJps.js} +16 -27
  87. package/dist/bundle/{p-jornOoTk.js → p-BdK56OMA.js} +7 -7
  88. package/dist/bundle/{p-DPvJlcnu.js → p-BdO8V8e5.js} +5 -5
  89. package/dist/bundle/{p-OmU7Yv3A.js → p-BiTWJ9tJ.js} +29 -79
  90. package/dist/bundle/{p-CkzyPAOs.js → p-Brr0tC8B.js} +1 -1
  91. package/dist/bundle/p-BsaL-EuM.js +76 -0
  92. package/dist/bundle/{p-CwsxKEZu.js → p-BvB8dh8P.js} +2 -2
  93. package/dist/bundle/p-C49HfF1N.js +60 -0
  94. package/dist/bundle/{p-Ba4T-27v.js → p-CDD0hRMQ.js} +10 -10
  95. package/dist/bundle/{p-CFU9xZQK.js → p-CDym9tDn.js} +4 -4
  96. package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
  97. package/dist/bundle/{p-BdIkNKXy.js → p-CSbcQBj9.js} +2 -2
  98. package/dist/bundle/{p-C_h0uNbd.js → p-Ccf_D9uM.js} +6 -6
  99. package/dist/bundle/{p-Cg-toWNU.js → p-CvUpjPda.js} +1 -1
  100. package/dist/bundle/{p-CfRHoykw.js → p-D09qaSTl.js} +3 -3
  101. package/dist/bundle/{p-nIEuIxSJ.js → p-D7-d0naf.js} +18 -42
  102. package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
  103. package/dist/bundle/{p-euQGyPM7.js → p-DStIHFXU.js} +17 -17
  104. package/dist/bundle/{p-DFhKaDMe.js → p-DZCYhv_b.js} +1 -1
  105. package/dist/bundle/{p-D33uqBOM.js → p-D_wg33r9.js} +3 -3
  106. package/dist/bundle/{p-jgC8pS3f.js → p-Diwr4pu4.js} +16 -30
  107. package/dist/bundle/{p-DG8Kv-AI.js → p-DixhcduG.js} +4 -3
  108. package/dist/bundle/{p-CiFTQ7lb.js → p-DtUeWj74.js} +76 -33
  109. package/dist/bundle/{p-ZSFwKURq.js → p-Dtkoi4Xj.js} +2 -2
  110. package/dist/bundle/{p-DjR55R0Z.js → p-d1IkgLLm.js} +1 -1
  111. package/dist/bundle/{p-GK7sI8Gb.js → p-uUZVT-Ex.js} +4 -4
  112. package/dist/bundle/{p-CCOI5nUo.js → p-xDSTG4OU.js} +28 -1
  113. package/dist/cjs/{annotation-body-H_YdGRBP.js → annotation-body-CCYWAvBu.js} +1 -1
  114. package/dist/cjs/{annotation-list-renvooi-values-DnvYPhrD.js → annotation-list-renvooi-values-UnGybDbb.js} +1 -1
  115. package/dist/cjs/{annotation-watcher-DXLGEmn8.js → annotation-watcher-D9lm8RSy.js} +1 -1
  116. package/dist/cjs/dso-accordion-section.cjs.entry.js +13 -4
  117. package/dist/cjs/dso-accordion.cjs.entry.js +3 -3
  118. package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -3
  119. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  120. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  121. package/dist/cjs/dso-alert_7.cjs.entry.js +50 -115
  122. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  123. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  124. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  125. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +9 -9
  126. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  127. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
  128. package/dist/cjs/dso-autosuggest.cjs.entry.js +4 -4
  129. package/dist/cjs/dso-banner.cjs.entry.js +3 -3
  130. package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
  131. package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
  132. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  136. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +2 -2
  138. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
  139. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +4 -4
  140. package/dist/cjs/dso-grid-column.cjs.entry.js +3 -4
  141. package/dist/cjs/dso-header.cjs.entry.js +22 -6
  142. package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  144. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  145. package/dist/cjs/dso-icon_2.cjs.entry.js +19 -47
  146. package/dist/cjs/dso-info_3.cjs.entry.js +18 -42
  147. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  148. package/dist/cjs/dso-label_3.cjs.entry.js +16 -27
  149. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  150. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  151. package/dist/cjs/dso-legend.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  153. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  154. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  155. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
  157. package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
  158. package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
  159. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  160. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  161. package/dist/cjs/dso-modal.cjs.entry.js +3 -3
  162. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  163. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  164. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
  165. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  166. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-scrollable.cjs.entry.js +4 -4
  169. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  170. package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
  171. package/dist/cjs/dso-shopping-cart.cjs.entry.js +3 -3
  172. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  173. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  174. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  175. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  176. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  177. package/dist/cjs/dso-toolkit.cjs.js +2 -2
  178. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  179. package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
  180. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  181. package/dist/cjs/{i18n-DH0Su3jj.js → i18n-Bzut_vVm.js} +28 -1
  182. package/dist/cjs/{index-CfwUrDXc.js → index-BBx5yytN.js} +76 -33
  183. package/dist/cjs/{index-EngjN4P3.js → index-DZPLxT1W.js} +1 -1
  184. package/dist/cjs/loader.cjs.js +1 -1
  185. package/dist/cjs/{parse-wijzigactie-from-node.function-B2dUQ7Rf.js → parse-wijzigactie-from-node.function-CYUDdIa0.js} +1 -1
  186. package/dist/cjs/toggletip.controller-BB-Voe-Z.js +63 -0
  187. package/dist/cjs/tooltip.controller-Cvac0qe3.js +78 -0
  188. package/dist/cjs/{tooltip.functional-component-BEcuvKwS.js → tooltip.functional-component-DOBjuEpE.js} +1 -1
  189. package/dist/cjs/{wrap-wijzigactie.functional-component-DodUwf7_.js → wrap-wijzigactie.functional-component-D1UjZ36u.js} +1 -1
  190. package/dist/collection/collection-manifest.json +1 -1
  191. package/dist/collection/components/accordion/accordion.js +4 -1
  192. package/dist/collection/components/accordion/components/accordion-section.css +4 -0
  193. package/dist/collection/components/accordion/components/accordion-section.js +15 -2
  194. package/dist/collection/components/action-list/action-list.js +4 -1
  195. package/dist/collection/components/action-list/components/action-list-item.js +5 -2
  196. package/dist/collection/components/alert/alert.js +8 -5
  197. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -4
  198. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -4
  199. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -4
  200. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -6
  201. package/dist/collection/components/autosuggest/autosuggest.js +5 -2
  202. package/dist/collection/components/badge/badge.js +26 -77
  203. package/dist/collection/components/banner/banner.js +5 -2
  204. package/dist/collection/components/button-group/button-group.js +4 -1
  205. package/dist/collection/components/card-container/card-container.js +4 -1
  206. package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +4 -1
  207. package/dist/collection/components/document-component/document-component.js +6 -4
  208. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +4 -1
  209. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +4 -1
  210. package/dist/collection/components/dropdown-menu/dropdown-menu.css +1 -0
  211. package/dist/collection/components/dropdown-menu/dropdown-menu.js +4 -1
  212. package/dist/collection/components/expandable/expandable.js +5 -2
  213. package/dist/collection/components/grid-column/grid-column.js +2 -3
  214. package/dist/collection/components/header/header.css +32 -14
  215. package/dist/collection/components/header/header.js +22 -3
  216. package/dist/collection/components/highlight-box/highlight-box.js +5 -1
  217. package/dist/collection/components/icon/icon.js +3 -2
  218. package/dist/collection/components/icon-button/icon-button.js +13 -43
  219. package/dist/collection/components/image-overlay/image-overlay.js +5 -0
  220. package/dist/collection/components/info/info.js +4 -1
  221. package/dist/collection/components/info-button/info-button.js +16 -38
  222. package/dist/collection/components/input-range/input-range.js +2 -2
  223. package/dist/collection/components/label/label.js +16 -24
  224. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  225. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  226. package/dist/collection/components/legend/legend.js +4 -1
  227. package/dist/collection/components/list-button/list-button.js +4 -1
  228. package/dist/collection/components/logo/logo.js +1 -1
  229. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  230. package/dist/collection/components/map-controls/map-controls.js +4 -1
  231. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  232. package/dist/collection/components/map-layer/map-layer.js +1 -1
  233. package/dist/collection/components/map-message/map-message.js +2 -2
  234. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  235. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  236. package/dist/collection/components/modal/modal.js +1 -1
  237. package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
  238. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
  239. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  240. package/dist/collection/components/panel/panel.js +1 -1
  241. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  242. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  243. package/dist/collection/components/project-item/project-item.js +7 -1
  244. package/dist/collection/components/responsive-element/responsive-element.js +4 -1
  245. package/dist/collection/components/scrollable/scrollable.css +1 -1
  246. package/dist/collection/components/scrollable/scrollable.js +5 -2
  247. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  248. package/dist/collection/components/selectable/selectable.js +1 -1
  249. package/dist/collection/components/shopping-cart/shopping-cart.js +2 -2
  250. package/dist/collection/components/skiplink/skiplink.js +1 -1
  251. package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
  252. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  253. package/dist/collection/components/table/table.js +5 -1
  254. package/dist/collection/components/tabs/tabs.js +1 -1
  255. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
  256. package/dist/collection/components/tree-view/tree-view.js +1 -1
  257. package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
  258. package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
  259. package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
  260. package/dist/components/alert.js +1 -1
  261. package/dist/components/annotation-locatie.js +1 -1
  262. package/dist/components/badge.js +1 -1
  263. package/dist/components/button-group.js +1 -1
  264. package/dist/components/document-component.js +1 -1
  265. package/dist/components/dso-accordion-section.js +1 -1
  266. package/dist/components/dso-accordion.js +1 -1
  267. package/dist/components/dso-action-list-item.js +1 -1
  268. package/dist/components/dso-action-list.js +1 -1
  269. package/dist/components/dso-annotation-activiteit.js +1 -1
  270. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  271. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  272. package/dist/components/dso-autosuggest.js +1 -1
  273. package/dist/components/dso-banner.js +1 -1
  274. package/dist/components/dso-card-container.js +1 -1
  275. package/dist/components/dso-cursor-tooltip.js +1 -1
  276. package/dist/components/dso-dropdown-menu-group.js +1 -1
  277. package/dist/components/dso-dropdown-menu-item.js +1 -1
  278. package/dist/components/dso-dropdown-menu.js +1 -1
  279. package/dist/components/dso-grid-column.js +1 -1
  280. package/dist/components/dso-header.js +1 -1
  281. package/dist/components/dso-highlight-box.js +1 -1
  282. package/dist/components/dso-input-range.js +1 -1
  283. package/dist/components/dso-legend-group.js +1 -1
  284. package/dist/components/dso-legend-item.js +1 -1
  285. package/dist/components/dso-legend.js +1 -1
  286. package/dist/components/dso-list-button.js +1 -1
  287. package/dist/components/dso-logo.js +1 -1
  288. package/dist/components/dso-map-base-layers.js +1 -1
  289. package/dist/components/dso-map-controls.js +1 -1
  290. package/dist/components/dso-map-layer-object.js +1 -1
  291. package/dist/components/dso-map-layer.js +1 -1
  292. package/dist/components/dso-map-message.js +1 -1
  293. package/dist/components/dso-map-overlays.js +1 -1
  294. package/dist/components/dso-mark-bar.js +1 -1
  295. package/dist/components/dso-onboarding-tip.js +1 -1
  296. package/dist/components/dso-plekinfo-card.js +1 -1
  297. package/dist/components/dso-project-item.js +1 -1
  298. package/dist/components/dso-segmented-button.js +1 -1
  299. package/dist/components/dso-shopping-cart.js +1 -1
  300. package/dist/components/dso-skiplink.js +1 -1
  301. package/dist/components/dso-survey-rating.js +1 -1
  302. package/dist/components/dso-tabs.js +1 -1
  303. package/dist/components/dso-tijdreis-banner.js +1 -1
  304. package/dist/components/dso-tree-view.js +1 -1
  305. package/dist/components/dso-viewer-grid.js +1 -1
  306. package/dist/components/expandable.js +1 -1
  307. package/dist/components/i18n.js +1 -1
  308. package/dist/components/icon-button.js +1 -1
  309. package/dist/components/icon.js +1 -1
  310. package/dist/components/info-button.js +1 -1
  311. package/dist/components/info.js +1 -1
  312. package/dist/components/label.js +1 -1
  313. package/dist/components/modal.js +1 -1
  314. package/dist/components/ozon-content-toggletip.js +1 -1
  315. package/dist/components/ozon-content.js +1 -1
  316. package/dist/components/panel.js +1 -1
  317. package/dist/components/progress-indicator.js +1 -1
  318. package/dist/components/responsive-element.js +1 -1
  319. package/dist/components/scrollable.js +1 -1
  320. package/dist/components/selectable.js +1 -1
  321. package/dist/components/slide-toggle.js +1 -1
  322. package/dist/components/table.js +1 -1
  323. package/dist/components/toggletip.controller.js +1 -0
  324. package/dist/components/tooltip.controller.js +1 -0
  325. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  326. package/dist/dso-toolkit/{p-126561a7.entry.js → p-0150c527.entry.js} +1 -1
  327. package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
  328. package/dist/dso-toolkit/{p-99db12e8.entry.js → p-13e28f82.entry.js} +1 -1
  329. package/dist/dso-toolkit/p-179c804c.entry.js +1 -0
  330. package/dist/dso-toolkit/{p-294f153d.entry.js → p-19fa3db4.entry.js} +1 -1
  331. package/dist/dso-toolkit/{p-e114e967.entry.js → p-1ee5fdd2.entry.js} +1 -1
  332. package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
  333. package/dist/dso-toolkit/{p-46d970fe.entry.js → p-2153bba4.entry.js} +1 -1
  334. package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
  335. package/dist/dso-toolkit/{p-f5fd3664.entry.js → p-300882d5.entry.js} +1 -1
  336. package/dist/dso-toolkit/{p-96c786ed.entry.js → p-32b07ce7.entry.js} +1 -1
  337. package/dist/dso-toolkit/{p-6a6a38e6.entry.js → p-36a98cb8.entry.js} +1 -1
  338. package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
  339. package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
  340. package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
  341. package/dist/dso-toolkit/p-42bf0148.entry.js +1 -0
  342. package/dist/dso-toolkit/p-432f9847.entry.js +1 -0
  343. package/dist/dso-toolkit/{p-288ad631.entry.js → p-4632a0df.entry.js} +1 -1
  344. package/dist/dso-toolkit/{p-356ca90c.entry.js → p-47e2a6ae.entry.js} +1 -1
  345. package/dist/dso-toolkit/{p-2381e415.entry.js → p-4aa3ca6c.entry.js} +1 -1
  346. package/dist/dso-toolkit/{p-f273babf.entry.js → p-4d7fa0e9.entry.js} +1 -1
  347. package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-b4a169c3.entry.js → p-52d7dd12.entry.js} +1 -1
  349. package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
  350. package/dist/dso-toolkit/p-5612fca8.entry.js +1 -0
  351. package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
  352. package/dist/dso-toolkit/p-63fce2aa.entry.js +1 -0
  353. package/dist/dso-toolkit/{p-ac4e9345.entry.js → p-640306bf.entry.js} +1 -1
  354. package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
  355. package/dist/dso-toolkit/{p-4b81e58d.entry.js → p-67bdfcdd.entry.js} +1 -1
  356. package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
  357. package/dist/dso-toolkit/{p-5018c559.entry.js → p-6a53b29f.entry.js} +1 -1
  358. package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
  359. package/dist/dso-toolkit/{p-85a18053.entry.js → p-6f7241e5.entry.js} +1 -1
  360. package/dist/dso-toolkit/p-7119884a.entry.js +1 -0
  361. package/dist/dso-toolkit/{p-1abdd4e4.entry.js → p-780ebd6c.entry.js} +1 -1
  362. package/dist/dso-toolkit/{p-6ba25c12.entry.js → p-7ebf7e11.entry.js} +1 -1
  363. package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
  364. package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
  365. package/dist/dso-toolkit/{p-09531c36.entry.js → p-8eda69f2.entry.js} +1 -1
  366. package/dist/dso-toolkit/{p-90a4e408.entry.js → p-9aea5b98.entry.js} +1 -1
  367. package/dist/dso-toolkit/{p-79af2ba3.entry.js → p-9c96a21a.entry.js} +1 -1
  368. package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
  369. package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
  370. package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
  371. package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
  372. package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
  373. package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
  374. package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
  375. package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
  376. package/dist/dso-toolkit/{p-634b0a98.entry.js → p-a00c540b.entry.js} +1 -1
  377. package/dist/dso-toolkit/{p-0061cf42.entry.js → p-a0ac6345.entry.js} +1 -1
  378. package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
  379. package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
  380. package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
  381. package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
  382. package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
  383. package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
  384. package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
  385. package/dist/dso-toolkit/p-c8ead3ad.entry.js +1 -0
  386. package/dist/dso-toolkit/{p-3e1e08b2.entry.js → p-cafa54b4.entry.js} +1 -1
  387. package/dist/dso-toolkit/{p-bd1ce8d2.entry.js → p-cca237f7.entry.js} +1 -1
  388. package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
  389. package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
  390. package/dist/dso-toolkit/{p-df3c0dad.entry.js → p-d8dfaacb.entry.js} +1 -1
  391. package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
  392. package/dist/dso-toolkit/{p-a3750b36.entry.js → p-e2ff8b0c.entry.js} +1 -1
  393. package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
  394. package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
  395. package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
  396. package/dist/dso-toolkit/{p-3c4477df.entry.js → p-e5cd6084.entry.js} +1 -1
  397. package/dist/dso-toolkit/p-ead6c401.entry.js +1 -0
  398. package/dist/dso-toolkit/{p-088a1cf9.entry.js → p-f1047e57.entry.js} +1 -1
  399. package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
  400. package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
  401. package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
  402. package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
  403. package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
  404. package/dist/esm/dso-accordion-section.entry.js +13 -4
  405. package/dist/esm/dso-accordion.entry.js +3 -3
  406. package/dist/esm/dso-action-list-item.entry.js +3 -3
  407. package/dist/esm/dso-action-list.entry.js +2 -2
  408. package/dist/esm/dso-advanced-select.entry.js +1 -1
  409. package/dist/esm/dso-alert_7.entry.js +50 -115
  410. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  411. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  412. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  413. package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
  414. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  415. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  416. package/dist/esm/dso-autosuggest.entry.js +4 -4
  417. package/dist/esm/dso-banner.entry.js +3 -3
  418. package/dist/esm/dso-button-group.entry.js +2 -2
  419. package/dist/esm/dso-card-container.entry.js +2 -2
  420. package/dist/esm/dso-card.entry.js +1 -1
  421. package/dist/esm/dso-contact-information.entry.js +1 -1
  422. package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
  423. package/dist/esm/dso-date-picker.entry.js +1 -1
  424. package/dist/esm/dso-document-card.entry.js +1 -1
  425. package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
  426. package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
  427. package/dist/esm/dso-dropdown-menu.entry.js +4 -4
  428. package/dist/esm/dso-grid-column.entry.js +3 -4
  429. package/dist/esm/dso-header.entry.js +22 -6
  430. package/dist/esm/dso-hero-image.entry.js +1 -1
  431. package/dist/esm/dso-highlight-box.entry.js +2 -2
  432. package/dist/esm/dso-history-item.entry.js +1 -1
  433. package/dist/esm/dso-icon_2.entry.js +19 -47
  434. package/dist/esm/dso-info_3.entry.js +18 -42
  435. package/dist/esm/dso-input-range.entry.js +3 -3
  436. package/dist/esm/dso-label_3.entry.js +16 -27
  437. package/dist/esm/dso-legend-group.entry.js +3 -3
  438. package/dist/esm/dso-legend-item.entry.js +3 -3
  439. package/dist/esm/dso-legend.entry.js +3 -3
  440. package/dist/esm/dso-list-button.entry.js +2 -2
  441. package/dist/esm/dso-logo.entry.js +2 -2
  442. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  443. package/dist/esm/dso-map-controls.entry.js +3 -3
  444. package/dist/esm/dso-map-layer-object.entry.js +3 -3
  445. package/dist/esm/dso-map-layer.entry.js +3 -3
  446. package/dist/esm/dso-map-message.entry.js +3 -3
  447. package/dist/esm/dso-map-overlays.entry.js +3 -3
  448. package/dist/esm/dso-mark-bar.entry.js +2 -2
  449. package/dist/esm/dso-modal.entry.js +3 -3
  450. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  451. package/dist/esm/dso-pagination.entry.js +1 -1
  452. package/dist/esm/dso-plekinfo-card.entry.js +3 -3
  453. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  454. package/dist/esm/dso-project-item.entry.js +2 -2
  455. package/dist/esm/dso-responsive-element.entry.js +2 -2
  456. package/dist/esm/dso-scrollable.entry.js +4 -4
  457. package/dist/esm/dso-segmented-button.entry.js +2 -2
  458. package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
  459. package/dist/esm/dso-shopping-cart.entry.js +3 -3
  460. package/dist/esm/dso-skiplink.entry.js +2 -2
  461. package/dist/esm/dso-survey-rating.entry.js +3 -3
  462. package/dist/esm/dso-tab.entry.js +1 -1
  463. package/dist/esm/dso-tabs.entry.js +2 -2
  464. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  465. package/dist/esm/dso-toolkit.js +3 -3
  466. package/dist/esm/dso-tree-view.entry.js +2 -2
  467. package/dist/esm/dso-viewer-grid.entry.js +3 -3
  468. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  469. package/dist/esm/{i18n-CCOI5nUo.js → i18n-xDSTG4OU.js} +28 -1
  470. package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
  471. package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
  472. package/dist/esm/loader.js +2 -2
  473. package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
  474. package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
  475. package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
  476. package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
  477. package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
  478. package/dist/types/components/accordion/accordion.d.ts +3 -0
  479. package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
  480. package/dist/types/components/action-list/action-list.d.ts +3 -0
  481. package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
  482. package/dist/types/components/alert/alert.d.ts +3 -0
  483. package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
  484. package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
  485. package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
  486. package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
  487. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
  488. package/dist/types/components/badge/badge.d.ts +2 -8
  489. package/dist/types/components/banner/banner.d.ts +3 -0
  490. package/dist/types/components/button-group/button-group.d.ts +3 -0
  491. package/dist/types/components/card-container/card-container.d.ts +3 -0
  492. package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
  493. package/dist/types/components/document-component/document-component.d.ts +2 -0
  494. package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
  495. package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
  496. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +3 -0
  497. package/dist/types/components/expandable/expandable.d.ts +3 -0
  498. package/dist/types/components/header/header.d.ts +8 -0
  499. package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
  500. package/dist/types/components/icon-button/icon-button.d.ts +2 -7
  501. package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
  502. package/dist/types/components/info/info.d.ts +3 -0
  503. package/dist/types/components/info-button/info-button.d.ts +4 -2
  504. package/dist/types/components/label/label.d.ts +5 -2
  505. package/dist/types/components/legend/legend.d.ts +3 -0
  506. package/dist/types/components/list-button/list-button.d.ts +3 -0
  507. package/dist/types/components/map-controls/map-controls.d.ts +3 -0
  508. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
  509. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
  510. package/dist/types/components/project-item/project-item.d.ts +6 -0
  511. package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
  512. package/dist/types/components/scrollable/scrollable.d.ts +3 -0
  513. package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
  514. package/dist/types/components/table/table.d.ts +4 -0
  515. package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
  516. package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
  517. package/dist/types/components.d.ts +1 -13
  518. package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
  519. package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
  520. package/dist/types/stencil-public-runtime.d.ts +12 -0
  521. package/loader/index.d.ts +1 -1
  522. package/package.json +10 -10
  523. package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
  524. package/dist/dso-toolkit/p-2d79df59.entry.js +0 -1
  525. package/dist/dso-toolkit/p-32fba74e.entry.js +0 -1
  526. package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
  527. package/dist/dso-toolkit/p-591d65b2.entry.js +0 -1
  528. package/dist/dso-toolkit/p-65c6df97.entry.js +0 -1
  529. package/dist/dso-toolkit/p-8f408a07.entry.js +0 -1
  530. package/dist/dso-toolkit/p-9ca7e45e.entry.js +0 -1
  531. package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
  532. package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
  533. package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
  534. package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
  535. package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
  536. package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
  537. package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
  538. package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
  539. package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
  540. package/dist/dso-toolkit/p-d7defe72.entry.js +0 -1
  541. package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
@@ -1,7 +1,10 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - A slot for action list items.
4
+ */
2
5
  export class ActionList {
3
6
  render() {
4
- return (h(Host, { key: '420035c23ceca58542a8d098fa92198bd520563a' }, h("h2", { key: 'd1ddb040ad32fc98eddbbe53f4dc197c644b1102' }, this.listTitle), h("ol", { key: 'a6d98f395738f743d5790bfa39de8ea51ca728bd', class: "dso-action-list-content" }, h("slot", { key: '0e606525e27ee30e69623b1437029e71ecc5dff2' }))));
7
+ return (h(Host, { key: 'dfe96b219b653bbe07abe788596e5201d979677f' }, h("h2", { key: '0eb6a73564937b25f7751c7dcf1c7adf79a588be' }, this.listTitle), h("ol", { key: '24e9a7a5a5ef0563d37551d014dd2bb183657d9f', class: "dso-action-list-content" }, h("slot", { key: '8cb0d6f7867bc5cbc5f135129782a7ade686bb04' }))));
5
8
  }
6
9
  static get is() { return "dso-action-list"; }
7
10
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - A slot for the main content body placed underneath the item title.
4
+ */
2
5
  export class ActionListItem {
3
6
  constructor() {
4
7
  /**
@@ -15,10 +18,10 @@ export class ActionListItem {
15
18
  this.divider = false;
16
19
  }
17
20
  render() {
18
- return (h(Host, { key: 'b1c3db0071452b989a473547a99d014ba49fdd64', role: "listitem", class: {
21
+ return (h(Host, { key: '021d59845a21a0a6cc3a6fb00177da37532c39eb', role: "listitem", class: {
19
22
  divider: this.divider,
20
23
  "flow-line": this.flowLine,
21
- } }, h("div", { key: '624a01adf7d382fd4951295c6b319becbe43ea9e', class: "dso-action-list-item" }, this.warning ? (h("dso-icon", { icon: "status-warning", "aria-hidden": "true" })) : (h("div", { class: "dso-step-counter", "aria-hidden": "true" }, this.step)), h("div", { key: '5f339ba18a93b07219a1c060a1d9047d2c4d3c76', class: "action-list-item-content" }, h("span", { key: '9c6912432f965af4275ed7c7d3dc8af1c80bc894', class: "sr-only" }, "Stap ", this.step, ": "), this.itemTitle && h("h3", { key: 'aa15b80007456ddd9e5a5bf2e1be2dd64af658c5' }, this.itemTitle), h("slot", { key: 'ea30de8a9146aa22eeb483ef0a55a721cef4ea8d' })))));
24
+ } }, h("div", { key: '7e2641bf6fc4bd8af6840b5dc5b1ed2e0b9c0fe3', class: "dso-action-list-item" }, this.warning ? (h("dso-icon", { icon: "status-warning", "aria-hidden": "true" })) : (h("div", { class: "dso-step-counter", "aria-hidden": "true" }, this.step)), h("div", { key: '734e4c29664e468e68dd940dfdac6f9a0969b41d', class: "action-list-item-content" }, h("span", { key: '5575eaab75942d9f2af64ced178a8bcf13603e0d', class: "sr-only" }, "Stap ", this.step, ": "), this.itemTitle && h("h3", { key: 'b83a36e54e40ea847e922c0ddbb47ece357978a3' }, this.itemTitle), h("slot", { key: '4d7213d7aaaac80eccef9940ba2d00145aa0621c' })))));
22
25
  }
23
26
  static get is() { return "dso-action-list-item"; }
24
27
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,10 @@
1
- import { h } from "@stencil/core";
1
+ import { Fragment, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import { i18n } from "../../utils/i18n";
4
4
  import { translations } from "./alert.i18n";
5
+ /**
6
+ * @slot - A slot for the main content body of the alert message.
7
+ */
5
8
  export class Alert {
6
9
  constructor() {
7
10
  /**
@@ -11,11 +14,11 @@ export class Alert {
11
14
  this.text = i18n(() => this.host, translations);
12
15
  }
13
16
  render() {
14
- const status = this.text(this.status);
15
- if (!status) {
16
- throw new Error(`Invalid status ${this.status}`);
17
+ const isValidStatus = ["success", "info", "warning", "error"].includes(this.status);
18
+ if (!isValidStatus) {
19
+ console.warn(`Invalid status ${this.status}`);
17
20
  }
18
- return (h("div", { key: '380c0b63895dd09da7dd26fa0df808e06b29b124', class: clsx("alert", `alert-${this.status}`, { "dso-compact": this.compact }), role: this.roleAlert ? "alert" : undefined }, !this.compact && (h("dso-icon", { key: 'cfae1f66964060d7cd813113332879babdf96375', class: "icon-status", icon: `status-${this.status === "info" ? "info-solid" : this.status}`, "aria-hidden": "true" })), h("span", { key: 'de9706e5a1644fd0bf28a8b8e3519e59c24099b8', class: "sr-only" }, status, ":"), h("slot", { key: 'c9e44c74c5759ede5fb50f482c922a3758ab917f' }), this.closable && (h("dso-icon-button", { key: '8925c33d756c03fa2df660ec5a2949f45e0ae96c', label: this.text("close"), variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }))));
21
+ return (h("div", { key: 'd442da267a8983bc71ecd194250fe01f04cd9dab', class: clsx("alert", { [`alert-${this.status}`]: isValidStatus }, { "dso-compact": this.compact }), role: this.roleAlert ? "alert" : undefined }, isValidStatus && (h(Fragment, null, !this.compact && (h("dso-icon", { key: '6961871f69e99c778b7bee28e5fd458b4082eab9', class: "icon-status", icon: `status-${this.status === "info" ? "info-solid" : this.status}`, "aria-hidden": "true" })), h("span", { key: 'd016153d5e46460b68a8ba2d9a73d3e82dc8795e', class: "sr-only" }, this.text(this.status), ":"))), h("slot", { key: 'a5d90a9fd35f9b4178bfa7d13d13b5f52c0f3666' }), this.closable && (h("dso-icon-button", { key: '400cd28d62ff4d709cd9a32bb232a1f55fa5d4c9', label: this.text("close"), variant: "tertiary", icon: "cross", onDsoClick: (e) => this.dsoClose.emit({ originalEvent: e }) }))));
19
22
  }
20
23
  static get is() { return "dso-alert"; }
21
24
  static get encapsulation() { return "shadow"; }
@@ -4,9 +4,6 @@ import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationListRenvooiValues } from "../annotation-list-renvooi-values";
5
5
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
6
6
  import { watcher } from "../annotation-watcher";
7
- /**
8
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
9
- */
10
7
  export class AnnotationActiviteit {
11
8
  constructor() {
12
9
  this.watcher = watcher(this.host);
@@ -19,7 +16,7 @@ export class AnnotationActiviteit {
19
16
  }
20
17
  render() {
21
18
  const hasSymbool = this.watcher.hasSymbool();
22
- return (h(AnnotationBody, { key: 'aadf536c8cac09a876e043471149bc827591aec4', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h("dso-renvooi", { value: this.naam }), data: h(Fragment, null, h("span", { class: "content" }, this.regelKwalificatie && (h(Fragment, null, h("dso-renvooi", { value: this.regelKwalificatie }), " ")), this.regelKwalificatieVoorzetsel && `${this.regelKwalificatieVoorzetsel}: `, h(AnnotationListRenvooiValues, { values: this.locatieNoemers })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
19
+ return (h(AnnotationBody, { key: '1f1994f6b40d3de640db8b0d31b21954c0ca8fb6', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h("dso-renvooi", { value: this.naam }), data: h(Fragment, null, h("span", { class: "content" }, this.regelKwalificatie && (h(Fragment, null, h("dso-renvooi", { value: this.regelKwalificatie }), " ")), this.regelKwalificatieVoorzetsel && `${this.regelKwalificatieVoorzetsel}: `, h(AnnotationListRenvooiValues, { values: this.locatieNoemers })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
23
20
  }
24
21
  static get is() { return "dso-annotation-activiteit"; }
25
22
  static get encapsulation() { return "shadow"; }
@@ -3,9 +3,6 @@ import { AnnotationBody } from "../annotation-body";
3
3
  import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
5
5
  import { watcher } from "../annotation-watcher";
6
- /**
7
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
8
- */
9
6
  export class AnnotationGebiedsaanwijzing {
10
7
  constructor() {
11
8
  this.watcher = watcher(this.host);
@@ -18,7 +15,7 @@ export class AnnotationGebiedsaanwijzing {
18
15
  }
19
16
  render() {
20
17
  const hasSymbool = this.watcher.hasSymbool();
21
- return (h(AnnotationBody, { key: '00e27fbe56da61452aee7050c7076327e202aa41', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.naam })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
18
+ return (h(AnnotationBody, { key: '7977d084eaa970de4f5123ac410679388e1a9327', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.naam })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
22
19
  }
23
20
  static get is() { return "dso-annotation-gebiedsaanwijzing"; }
24
21
  static get encapsulation() { return "shadow"; }
@@ -3,9 +3,6 @@ import { AnnotationBody } from "../annotation-body";
3
3
  import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
5
5
  import { watcher } from "../annotation-watcher";
6
- /**
7
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
8
- */
9
6
  export class AnnotationLocatie {
10
7
  constructor() {
11
8
  this.watcher = watcher(this.host);
@@ -18,7 +15,7 @@ export class AnnotationLocatie {
18
15
  }
19
16
  render() {
20
17
  const hasSymbool = this.watcher.hasSymbool();
21
- return (h(AnnotationBody, { key: '2b422f0518dcf047a46cccdd2772d14beed5d484', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.locatieNoemer })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
18
+ return (h(AnnotationBody, { key: '31c1814b37b8d5d3f38f4c09d65739bb64e455fa', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("span", { class: "content" }, h("dso-renvooi", { value: this.locatieNoemer })), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
22
19
  }
23
20
  static get is() { return "dso-annotation-locatie"; }
24
21
  static get encapsulation() { return "shadow"; }
@@ -4,11 +4,6 @@ import { AnnotationGewijzigdeLocatie } from "../annotation-gewijzigde-locatie";
4
4
  import { AnnotationListRenvooiValues } from "../annotation-list-renvooi-values";
5
5
  import { AnnotationSymbolSlot } from "../annotation-symbol-slot";
6
6
  import { watcher } from "../annotation-watcher";
7
- /**
8
- * Dit component wordt voor een Omgevingsnorm en Omgevingswaarde gebruikt.
9
- *
10
- * @slot symbool - Een optionele afbeelding die de annotatie symboliseert.
11
- */
12
7
  export class AnnotationOmgevingsnormwaarde {
13
8
  constructor() {
14
9
  this.watcher = watcher(this.host);
@@ -21,7 +16,7 @@ export class AnnotationOmgevingsnormwaarde {
21
16
  }
22
17
  render() {
23
18
  const hasSymbool = this.watcher.hasSymbool();
24
- return (h(AnnotationBody, { key: '50b77235d6190dc04eb44adf97be066d9dab45a1', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active || false, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("dso-renvooi", { value: this.naam }), this.eenheid && (h(Fragment, null, " ", "(in ", h("dso-renvooi", { value: this.eenheid }), ")"))), data: h(Fragment, null, h("span", { class: "content" }, this.toelichting && h(Fragment, null, this.toelichting), this.waardes && this.waardes.length > 0 && (h(Fragment, null, ": ", h(AnnotationListRenvooiValues, { values: this.waardes })))), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
19
+ return (h(AnnotationBody, { key: 'fda01fda5064588690297137e76229623341dd8f', symbol: hasSymbool ? h(AnnotationSymbolSlot, null) : undefined, active: this.active || false, dsoActiveChange: this.dsoActiveChange, title: h(Fragment, null, h("dso-renvooi", { value: this.naam }), this.eenheid && (h(Fragment, null, " ", "(in ", h("dso-renvooi", { value: this.eenheid }), ")"))), data: h(Fragment, null, h("span", { class: "content" }, this.toelichting && h(Fragment, null, this.toelichting), this.waardes && this.waardes.length > 0 && (h(Fragment, null, ": ", h(AnnotationListRenvooiValues, { values: this.waardes })))), this.gewijzigdeLocatie && h(AnnotationGewijzigdeLocatie, null)) }));
25
20
  }
26
21
  static get is() { return "dso-annotation-omgevingsnormwaarde"; }
27
22
  static get encapsulation() { return "shadow"; }
@@ -23,6 +23,9 @@ function isFlat(suggestions) {
23
23
  suggestions.length > 0 &&
24
24
  suggestions.every((suggestion) => suggestion !== undefined && "value" in suggestion && suggestion.value !== undefined));
25
25
  }
26
+ /**
27
+ * @slot - The input element to be enhanced with autosuggest functionality.
28
+ */
26
29
  export class Autosuggest {
27
30
  constructor() {
28
31
  /**
@@ -505,7 +508,7 @@ export class Autosuggest {
505
508
  else if (this.input) {
506
509
  this.input.removeAttribute("aria-controls");
507
510
  }
508
- return (h(Fragment, null, h("slot", { key: 'e61b6aaa76d0051d0db1bf3a526d81be6a34bc4e' }), this.loading && this.showLoading ? (h("div", { class: "autosuggest-progress-box" }, h("dso-progress-indicator", { label: this.loadingLabel }))) : (showListbox && (h(Fragment, null, h("dso-scrollable", { class: "listbox-container", ref: (element) => (this.listboxContainer = element), _preventFocus: true }, h("div", { class: "listbox", role: "listbox", id: this.listboxId, "aria-labelledby": this.labelId, ref: (element) => (this.listbox = element) }, (flat &&
511
+ return (h(Fragment, null, h("slot", { key: 'ee666573ff41dd5932180e345fa312eaa69e38f2' }), this.loading && this.showLoading ? (h("div", { class: "autosuggest-progress-box" }, h("dso-progress-indicator", { label: this.loadingLabel }))) : (showListbox && (h(Fragment, null, h("dso-scrollable", { class: "listbox-container", ref: (element) => (this.listboxContainer = element), _preventFocus: true }, h("div", { class: "listbox", role: "listbox", id: this.listboxId, "aria-labelledby": this.labelId, ref: (element) => (this.listbox = element) }, (flat &&
509
512
  this.showSuggestions &&
510
513
  this.suggestions &&
511
514
  this.suggestions.map((suggestion) => (h(Option, { id: this.listboxItemId(suggestion), mouseEnter: () => this.selectSuggestion(suggestion), mouseLeave: () => this.resetSelectedSuggestion(), click: this.onOptionClick, selected: (suggestion === this.selectedSuggestion).toString(), suggestion: suggestion, ref: (element) => element && this.listboxItems.push(element), markedSuggestion: this.getMarkedSuggestions(suggestion) })))) ||
@@ -517,7 +520,7 @@ export class Autosuggest {
517
520
  return (h("div", { role: "group", class: "group", "aria-labelledby": groupLabelId }, h("div", { class: "group-label", role: "presentation", id: groupLabelId, ref: (element) => element && this.listboxItems.push(element) }, suggestionGroup.groupLabel), suggestionGroup.suggestions.map((suggestion) => (h(Option, { id: this.listboxGroupedItemId(suggestionGroup, suggestion), mouseEnter: () => this.selectSuggestion(suggestion, suggestionGroup), mouseLeave: () => this.resetSelectedSuggestion(), click: this.onOptionClick, selected: (suggestion === this.selectedSuggestion).toString(), suggestion: suggestion, ref: (element) => element && this.listboxItems.push(element), markedSuggestion: this.getMarkedSuggestions(suggestion) })))));
518
521
  })) ||
519
522
  (this.notFound && (h("div", { class: "option" }, h("span", { class: "value" }, this.notFoundLabel ||
520
- this.showInputValueNotFound(this.text("notFound", { inputValue: this.inputValue }))))))))))), h("div", { key: '8bc3ef5d5fe0cdf375c0d200f383f34340795553', class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }, showListbox || (this.loading && this.showLoading) ? this.getAutosuggestStatus() : undefined)));
523
+ this.showInputValueNotFound(this.text("notFound", { inputValue: this.inputValue }))))))))))), h("div", { key: 'da8db85e24f6c3d6e2d66d519dca30f6e8eb0f85', class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }, showListbox || (this.loading && this.showLoading) ? this.getAutosuggestStatus() : undefined)));
521
524
  }
522
525
  static get is() { return "dso-autosuggest"; }
523
526
  static get encapsulation() { return "scoped"; }
@@ -1,6 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
- import { positionTooltip } from "../../functional-components/tooltip/position-tooltip.function";
3
+ import { ToggletipController } from "../../functional-components/tooltip/toggletip.controller";
4
+ import { TooltipController } from "../../functional-components/tooltip/tooltip.controller";
4
5
  import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-component";
5
6
  /**
6
7
  * @slot - The message inside the badge.
@@ -9,8 +10,20 @@ import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-
9
10
  */
10
11
  export class Badge {
11
12
  constructor() {
12
- this.lastClickTime = 0;
13
- this.tooltipShowDelay = 500;
13
+ this.tooltipController = new TooltipController({
14
+ getReferenceElement: () => this.buttonElRef,
15
+ getTipElement: () => this.tooltipElRef,
16
+ getTipArrowElement: () => this.tooltipArrowElRef,
17
+ getPlacement: () => "top",
18
+ showDelay: 500,
19
+ });
20
+ this.toggletipController = new ToggletipController({
21
+ getReferenceElement: () => this.buttonElRef,
22
+ getTipElement: () => this.toggletipElRef,
23
+ getTipArrowElement: () => this.toggletipArrowElRef,
24
+ getRestrictContentElement: () => this.restrictContentElement,
25
+ getPlacement: () => this.toggletipPlacement,
26
+ });
14
27
  /**
15
28
  * The placement of the toggletip on click of the interactive Badge with Toggletip.
16
29
  */
@@ -18,38 +31,10 @@ export class Badge {
18
31
  this.toggletipActive = false;
19
32
  this.hasToggletip = false;
20
33
  this.handleShowTooltip = () => {
21
- // Don't show the tooltip if the button is clicked within 500ms of the last click
22
- if (Date.now() - this.lastClickTime < this.tooltipShowDelay) {
23
- return;
24
- }
25
- this.clearToolTipTimeout();
26
- this.tooltipTimeout = window.setTimeout(() => {
27
- if (!this.tooltipElRef?.isConnected) {
28
- return;
29
- }
30
- this.tooltipElRef?.showPopover();
31
- if (!this.cleanUpFunctionTooltip && this.buttonElRef && this.tooltipElRef && this.tooltipArrowElRef) {
32
- this.cleanUpFunctionTooltip = positionTooltip({
33
- referenceElement: this.buttonElRef,
34
- tipRef: this.tooltipElRef,
35
- tipArrowRef: this.tooltipArrowElRef,
36
- placementTip: "top",
37
- topPositionSmallViewPort: false,
38
- halfMainAxisOffset: false,
39
- forceVisible: true,
40
- });
41
- }
42
- }, this.tooltipShowDelay);
34
+ this.tooltipController.show();
43
35
  };
44
36
  this.handleHideTooltip = () => {
45
- this.clearToolTipTimeout();
46
- if (this.tooltipElRef?.isConnected && this.tooltipElRef.matches(":popover-open")) {
47
- this.tooltipElRef.hidePopover();
48
- }
49
- if (this.cleanUpFunctionTooltip) {
50
- this.cleanUpFunctionTooltip();
51
- this.cleanUpFunctionTooltip = undefined;
52
- }
37
+ this.tooltipController.hide();
53
38
  };
54
39
  this.keyDownHandler = (event) => {
55
40
  if (!this.toggletipActive)
@@ -61,58 +46,21 @@ export class Badge {
61
46
  this.focusOutHandler = (event) => {
62
47
  if (!this.host.contains(event.relatedTarget)) {
63
48
  this.toggletipActive = false;
64
- this.toggletipElRef?.hidePopover();
65
- }
66
- };
67
- this.clearToolTipTimeout = () => {
68
- if (this.tooltipTimeout) {
69
- clearTimeout(this.tooltipTimeout);
70
49
  }
71
50
  };
72
51
  }
73
52
  handleToggle() {
74
- this.lastClickTime = Date.now();
53
+ this.tooltipController.notifyClick();
75
54
  this.toggletipActive = !this.toggletipActive;
76
55
  this.handleHideTooltip();
77
56
  }
78
- cleanUpToggletip() {
79
- this.cleanUpFunctionToggletip?.();
80
- this.cleanUpFunctionToggletip = undefined;
81
- }
82
- cleanUpTooltip() {
83
- this.clearToolTipTimeout();
84
- this.cleanUpFunctionTooltip?.();
85
- this.cleanUpFunctionTooltip = undefined;
86
- }
87
57
  componentDidRender() {
88
58
  if (!this.hasToggletip) {
89
- this.toggletipElRef?.hidePopover();
90
- this.cleanUpToggletip();
91
- this.cleanUpTooltip();
59
+ this.tooltipController.hide();
60
+ this.toggletipController.dispose();
92
61
  return;
93
62
  }
94
- if (!this.cleanUpFunctionToggletip &&
95
- this.toggletipActive &&
96
- this.buttonElRef &&
97
- this.toggletipElRef &&
98
- this.toggletipArrowElRef) {
99
- this.cleanUpFunctionToggletip = positionTooltip({
100
- referenceElement: this.buttonElRef,
101
- tipRef: this.toggletipElRef,
102
- tipArrowRef: this.toggletipArrowElRef,
103
- placementTip: this.toggletipPlacement,
104
- restrictContentElement: this.restrictContentElement,
105
- });
106
- }
107
- if (this.cleanUpFunctionToggletip) {
108
- if (this.toggletipActive) {
109
- this.toggletipElRef?.showPopover();
110
- }
111
- else {
112
- this.toggletipElRef?.hidePopover();
113
- this.cleanUpToggletip();
114
- }
115
- }
63
+ this.toggletipController.update(this.toggletipActive);
116
64
  }
117
65
  connectedCallback() {
118
66
  this.mutationObserver = new MutationObserver(() => {
@@ -124,13 +72,14 @@ export class Badge {
124
72
  });
125
73
  }
126
74
  disconnectedCallback() {
127
- this.cleanUpToggletip();
75
+ this.toggletipController.dispose();
76
+ this.tooltipController.dispose();
128
77
  this.mutationObserver?.disconnect();
129
78
  delete this.mutationObserver;
130
79
  }
131
80
  render() {
132
- return ((this.hasToggletip && (h(Host, { key: '8f56471d80c9118d52956e275dc5ff7ce237da90', onKeyDown: this.keyDownHandler, onFocusout: this.focusOutHandler }, h("button", { key: '0958933c2fa529c9c6cce55165055d7c4dc1ea14', ref: (el) => (this.buttonElRef = el), type: "button", "aria-label": this.label, class: "toggletip-button", onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: () => this.handleToggle() }, h("span", { key: '6490903670efe4464e7ad245277ed9072ad42743', class: clsx("dso-badge", "interactive", { [`badge-${this.status}`]: this.status }, { toggled: this.toggletipActive }) }, h("slot", { key: '5b0a207e2a68200df54a48468e230cbe1091e61e' }))), h(Tooltip, { key: '2c4dc90b24bbff89a3b5138c76f526470f3baf49', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label), h(Tooltip, { key: '72e2930db3e66ead2daafba967d626eeb0469d03', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, h("dso-scrollable", { key: 'b30417c30e1527e8b2ca91acfdb06522d80aca46', ref: (element) => (this.restrictContentElement = element) }, h("slot", { key: 'afc649587d37a0bba4bfc7dc82337f1c0907e276', name: "toggletip" })))))) ||
133
- (!this.hasToggletip && (h("span", { key: '72d0faf68371571cdab19dded4e90fc79944e860', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: 'd98f3b80cb9441f3f3ccb30b37dac286ed7ced56' })))));
81
+ return ((this.hasToggletip && (h(Host, { key: '42d1ac080484dc2715b74d35c5282f3967478d27', onKeyDown: this.keyDownHandler, onFocusout: this.focusOutHandler }, h("button", { key: 'e043590d457889fca4a98ce783a17d4e9358c8d0', ref: (el) => (this.buttonElRef = el), type: "button", "aria-label": this.label, class: "toggletip-button", onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: () => this.handleToggle() }, h("span", { key: '7f0e34532c0837bc53277186279d01fcfce7ba88', class: clsx("dso-badge", "interactive", { [`badge-${this.status}`]: this.status }, { toggled: this.toggletipActive }) }, h("slot", { key: 'bb7204c453f0d6cd078e973e95b58da506c41710' }))), h(Tooltip, { key: '704344b00cf1f387f9090c4ba9e163697fa5f0b0', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label), h(Tooltip, { key: '709f41ae5e01da24af80ce2483b338e6d77110be', tipElementRef: (element) => (this.toggletipElRef = element), tipArrowElementRef: (element) => (this.toggletipArrowElRef = element) }, h("dso-scrollable", { key: 'b05cf14b78d9b582929f9e44e52eeebef5f00255', ref: (element) => (this.restrictContentElement = element) }, h("slot", { key: 'ff2e0c00c8f0ca7a924d2689370c2be8fc65e787', name: "toggletip" })))))) ||
82
+ (!this.hasToggletip && (h("span", { key: '71cb4cddd7b542f0dbbf3d528a31049c118dabd5', class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", { key: 'b0ac9999257dd171d0f48716d15752225b707c54' })))));
134
83
  }
135
84
  static get is() { return "dso-badge"; }
136
85
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,8 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
+ /**
4
+ * @slot - Content displayed inside the banner.
5
+ */
3
6
  export class Banner {
4
7
  constructor() {
5
8
  /**
@@ -20,9 +23,9 @@ export class Banner {
20
23
  };
21
24
  }
22
25
  render() {
23
- return (h("section", { key: '106ac9196066d1ff5def3b53f0c5e044da597eae', class: clsx("dso-banner", `alert-${this.status}`, {
26
+ return (h("section", { key: '7e0d6b1add08c4bb3b55327f4c90eeb7b0037a7a', class: clsx("dso-banner", `alert-${this.status}`, {
24
27
  "dso-compact": this.compact,
25
- }), role: "alert" }, h("div", { key: '46dddb7338aafddb2ef131a151f44ebd48171188', class: clsx("banner-inner", { icon: this.icon }) }, (this.icon || !this.compact) && h("dso-icon", { key: 'b9d7a93ef95ed532be66b859ec75ee5321233ace', icon: this.statusIcons[this.status] }), h("slot", { key: '09d91905bcc8bdfb1e29bfad8722a15667a72667' }))));
28
+ }), role: "alert" }, h("div", { key: '1d32df1c907fa14755b86efd7572dae442d5d941', class: clsx("banner-inner", { icon: this.icon }) }, (this.icon || !this.compact) && h("dso-icon", { key: 'ebe70886a922d92d224045cfdb6b0a6b5a64c490', icon: this.statusIcons[this.status] }), h("slot", { key: '417d883f09f3a3bc2b704dd7aeaf84e3a899af39' }))));
26
29
  }
27
30
  static get is() { return "dso-banner"; }
28
31
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,8 @@
1
1
  import { forceUpdate, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
+ /**
4
+ * @slot - The buttons or elements to be grouped within the button group.
5
+ */
3
6
  export class ButtonGroup {
4
7
  constructor() {
5
8
  /**
@@ -27,7 +30,7 @@ export class ButtonGroup {
27
30
  return hasMapIconButton || hasMapClass;
28
31
  }
29
32
  render() {
30
- return (h("div", { key: 'c14ecdbcac58f6e145a9de21d300d365790fa986', class: clsx("container", { "has-map-buttons": this.hasMapButton }), role: "group" }, h("slot", { key: 'e8fa15a41bfe8cd3c2e13aab3e0aab0b629a0c08' })));
33
+ return (h("div", { key: '0137a811a5dc4a061007ff5b7fe049809edd2937', class: clsx("container", { "has-map-buttons": this.hasMapButton }), role: "group" }, h("slot", { key: '14accee73459a6d1347b915f323695db53d9d671' })));
31
34
  }
32
35
  static get is() { return "dso-button-group"; }
33
36
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,7 @@
1
1
  import { Fragment, h } from "@stencil/core";
2
+ /**
3
+ * @slot - Cards to be displayed inside the container.
4
+ */
2
5
  export class CardContainer {
3
6
  constructor() {
4
7
  /**
@@ -7,7 +10,7 @@ export class CardContainer {
7
10
  this.mode = "list";
8
11
  }
9
12
  render() {
10
- return (h(Fragment, null, this.mode === "list" && (h("ul", { key: 'f8989755883a9c9c965a88756a6469684ca18cbc', class: "dso-card-list" }, h("slot", { key: '0c51362a275089916ae2ba11da1d850296869ff2' }))), this.mode === "grid" && (h("div", { key: '7f17c3ba5ef29157b52355b3a6f59418bbafc29f', class: "dso-card-grid" }, h("slot", { key: '3a94cef7389c8dfdf2761a858c1405ed2df10258' })))));
13
+ return (h(Fragment, null, this.mode === "list" && (h("ul", { key: 'd52f21b49b9b943187b6a73e55ca681ec96deb73', class: "dso-card-list" }, h("slot", { key: '219cf186ffb995e18a8275d640abc7ce1aa13baa' }))), this.mode === "grid" && (h("div", { key: 'cfa849d6de6f6675ad6e2d27b38d00cf072e090c', class: "dso-card-grid" }, h("slot", { key: '8d1c379c89bd3ee4e720dc93e26b3dd901b67db4' })))));
11
14
  }
12
15
  static get is() { return "dso-card-container"; }
13
16
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,10 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - Content to be displayed inside the cursor tooltip.
4
+ */
2
5
  export class CursorTooltip {
3
6
  render() {
4
- return (h(Host, { key: '347627ca492963e1ab8a2e8cb74d75d757d524aa', class: "dso-cursor-tooltip" }, h("slot", { key: '6e7fd839fcf3f7ac9dd608598de54f4f4cb3ae06' })));
7
+ return (h(Host, { key: '50c4a5c22b73e08041720bdbe89e59255df98bc2', class: "dso-cursor-tooltip" }, h("slot", { key: '9b97e4490cac3a9cf6893eed6b786adbe88fed11' })));
5
8
  }
6
9
  static get is() { return "dso-cursor-tooltip"; }
7
10
  static get encapsulation() { return "shadow"; }
@@ -27,6 +27,8 @@ const AantekenAlert = ({ gereserveerd, vervallen }) => {
27
27
  return null;
28
28
  };
29
29
  /**
30
+ * @slot - A slot to place child elements of the document component in.
31
+ * @slot annotations - A slot to place annotation elements (metadata and map data) in.
30
32
  * @part _annotation-container - private part, do not touch.
31
33
  * @part _children-container - private part, do not touch.
32
34
  * @part _content - private part, do not touch.
@@ -185,17 +187,17 @@ export class DocumentComponent {
185
187
  this.alternativeTitle ||
186
188
  this.label ||
187
189
  this.annotated);
188
- return (h(Host, { key: 'c74a84045f6e688023186db329f7f85908ed5337', "not-collapsible": !collapsible }, showHeading && (h("div", { key: 'c5e5b4d6dfe4d7f5b2b6a40bb94d372a86cafc7e', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '2751e0291207d66ac2663fa432622403de404df8', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: 'b075d0c3dbc74583b2f683111d5387c98570753f', class: "heading" }, h(Heading, { key: '4c0ba463f7664a9535c134371d497b6f1bc0e539', headingLevel: this.headingLevel, class: "heading-element", onClick: this.alternativeTitle ? this.handleHeadingClick : undefined, mode: this.mode, href: this.href }, collapsible && this.mode === "document" && (h("dso-icon-button", { key: 'd37b02c768d8ec1085d53bc5f9f604856866d8eb', label: this.open ? "Invouwen" : "Uitvouwen", class: "toggle-button", expanded: this.open, icon: this.open ? "chevron-down" : "chevron-right", variant: "tertiary", onDsoClick: (e) => this.handleHeadingClick(e.detail.originalEvent) })), h("div", { key: 'ba2d6b807b8bc43235035eab657c0a26b06da363' }, this.notApplicable && h("span", { key: 'de5b749698a44e943c56dffd6d175681ac889865', class: "sr-only" }, "Niet van toepassing:"), this._kop ? (h("dso-ozon-content", { class: "kop", content: this._kop, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "kop")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "kop" }), inline: true, urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })) : (h("span", { class: "alternative-title" }, (!this.mark && this.alternativeTitle) ||
189
- (this.mark && this.alternativeTitle && (h(MarkText, { mark: this.mark && ((text) => this.mark?.(text, "alternativeTitle")), text: this.alternativeTitle, emitMarkItemHighlight: (text, elementRef) => this.dsoMarkItemHighlight.emit({ text, elementRef, source: "alternativeTitle" }) }))))), h(AantekenStatus, { key: '76adf889f8acd26ad184d806360ab807e69ec001', gereserveerd: this._gereserveerd, vervallen: this._vervallen }))), this.recursiveToggle !== undefined && this.open && this.mode === "document" && (h("dso-icon-button", { key: 'feb5ac412852a2bfdf59dbed39fff1d62df98937', label: this.recursiveToggle === true ? "Verberg onderliggende artikelen" : "Toon onderliggende artikelen", class: "recursive-toggle", expanded: this.recursiveToggle === true, icon: this.recursiveToggle === true ? "eye" : "eye-slash", variant: "tertiary", onDsoClick: (e) => this.handleRecursiveToggleClick(e.detail.originalEvent) })), this.showBadge() && (h(Fragment, { key: 'a201c92da43f58fd7bd29875e2123ba2dfef781e' }, h("dso-badge", { key: '2439d9a46f990eec2b27a3de814dbd3bf8e11ee6', status: this.badgeStatus, label: this.badgeTooltip ? "Toon toelichting" : undefined }, this.badge, this.badgeTooltip && h("div", { key: 'dc26e0a49fd31dda18231c9af2b4dd38df96b3ba', slot: "toggletip" }, this.badgeTooltip)))), (this.label || this.annotated) && (h("div", { key: '6b13b7d11f02d693984bc75737d7ba2fe164bf6e', class: "addons" }, this.label && (h("dso-label", { key: 'e52f5e67f1f24f4751e29a877fbb75cd8161ee96', status: this.labelStatus, compact: true }, this.label)), this.annotated && this.mode === "document" && (h("dso-icon-button", { key: '2f867c2f71562c9ab35df1a449a691c8d0f42c95', label: `Kenmerken en kaartgegevens ${this.openAnnotation ? "verbergen" : "tonen"}`, icon: "label", expanded: this.openAnnotation, variant: "tertiary", onDsoClick: (e) => this.dsoAnnotationToggle.emit({
190
+ return (h(Host, { key: 'c6d360312cae20fec1f668dbd12f246f96626891', "not-collapsible": !collapsible }, showHeading && (h("div", { key: '1a7c2f8d878a5c4e4b6beaff100b51895cfcb2ae', class: "heading-container", part: "_heading-container" }, this.wijzigactie && h("span", { key: '57afe76e091e2fe450154ffa9910b39e0eb727ab', class: "editaction-label" }, this.wijzigactieLabel, ":"), h("div", { key: '56c7aa014beded2d859a76b82c0bd837e14a2638', class: "heading" }, h(Heading, { key: '83291762e558deeb851a400462a1a58236cf3d03', headingLevel: this.headingLevel, class: "heading-element", onClick: this.alternativeTitle ? this.handleHeadingClick : undefined, mode: this.mode, href: this.href }, collapsible && this.mode === "document" && (h("dso-icon-button", { key: '15a5ede0cdc580dd06933598e1b1dc398bac54c2', label: this.open ? "Invouwen" : "Uitvouwen", class: "toggle-button", expanded: this.open, icon: this.open ? "chevron-down" : "chevron-right", variant: "tertiary", onDsoClick: (e) => this.handleHeadingClick(e.detail.originalEvent) })), h("div", { key: 'c2890a5f8eb472964eaa7c2357f6a9d4f4a24a53' }, this.notApplicable && h("span", { key: '51c58015b062dfd30dc2c861f0ca3b643853972f', class: "sr-only" }, "Niet van toepassing:"), this._kop ? (h("dso-ozon-content", { class: "kop", content: this._kop, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "kop")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "kop" }), inline: true, urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })) : (h("span", { class: "alternative-title" }, (!this.mark && this.alternativeTitle) ||
191
+ (this.mark && this.alternativeTitle && (h(MarkText, { mark: this.mark && ((text) => this.mark?.(text, "alternativeTitle")), text: this.alternativeTitle, emitMarkItemHighlight: (text, elementRef) => this.dsoMarkItemHighlight.emit({ text, elementRef, source: "alternativeTitle" }) }))))), h(AantekenStatus, { key: 'c416dab7dd9703dbae2bf1fb1893316d1f7b702c', gereserveerd: this._gereserveerd, vervallen: this._vervallen }))), this.recursiveToggle !== undefined && this.open && this.mode === "document" && (h("dso-icon-button", { key: '9516065912c88183853dae03c5746929a994eeea', label: this.recursiveToggle === true ? "Verberg onderliggende artikelen" : "Toon onderliggende artikelen", class: "recursive-toggle", expanded: this.recursiveToggle === true, icon: this.recursiveToggle === true ? "eye" : "eye-slash", variant: "tertiary", onDsoClick: (e) => this.handleRecursiveToggleClick(e.detail.originalEvent) })), this.showBadge() && (h(Fragment, { key: '7d4c5a451377f4315b6b1f1539d3fe5cf7373dc7' }, h("dso-badge", { key: '942f0faa769251b3956350389d6191b3527eb897', status: this.badgeStatus, label: this.badgeTooltip ? "Toon toelichting" : undefined }, this.badge, this.badgeTooltip && h("div", { key: 'fd9cc5197bc9c11016567362780bb92315600ee5', slot: "toggletip" }, this.badgeTooltip)))), (this.label || this.annotated) && (h("div", { key: '074d8a89800ab706f584b96fb38e0666c3dc8c70', class: "addons" }, this.label && (h("dso-label", { key: '6ea565e6ff7896ae012f531a4b8e1df176cb28d3', status: this.labelStatus, compact: true }, this.label)), this.annotated && this.mode === "document" && (h("dso-icon-button", { key: '292a3d01cb2289518cfc8f14d3ae4f54c1f8232f', label: `Kenmerken en kaartgegevens ${this.openAnnotation ? "verbergen" : "tonen"}`, icon: "label", expanded: this.openAnnotation, variant: "tertiary", onDsoClick: (e) => this.dsoAnnotationToggle.emit({
190
192
  current: this.openAnnotation,
191
193
  next: !this.openAnnotation,
192
194
  scrollRef: this.host,
193
195
  originalEvent: e.detail.originalEvent,
194
- }) }))))))), this.openAnnotation && (h("div", { key: 'b19aa75cba74c6b96f7635eee3508878148e208c', class: "annotation-container", part: "_annotation-container", role: "dialog", "aria-labelledby": "annotations-heading" }, h("dso-panel", { key: '5c8b46cf506799cb8a9747a3d1df2e61af8683cb', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({
196
+ }) }))))))), this.openAnnotation && (h("div", { key: 'c6783e23c5b0d92a75f0daeeff3f17fc86e273a0', class: "annotation-container", part: "_annotation-container", role: "dialog", "aria-labelledby": "annotations-heading" }, h("dso-panel", { key: '0dc23e49986b9f6ef10df289daeb960e3308cf1d', id: "annotations", onDsoCloseClick: (e) => this.dsoAnnotationToggle.emit({
195
197
  current: true,
196
198
  next: false,
197
199
  originalEvent: e,
198
- }), closeButtonLabel: "Kenmerken en kaartgegevens verbergen" }, h("h2", { key: '90d86723aec2d1588dd41ed118e2b84488116883', id: "annotations-heading", slot: "heading" }, "Kenmerken en kaart"), h("slot", { key: '45ab22a8f8fb703eb39a44146d044d18f7187686', name: "annotations" })))), this.open && (this._inhoud || this._gereserveerd || this._vervallen) && this.mode === "document" && (h("div", { key: '045d1dd6092c5cee9fe13668e4c4031032a57c7b', class: "content", part: "_content" }, h(AantekenAlert, { key: '54cb2c48c4e385fb2c180fa31a014072915d760c', gereserveerd: this._gereserveerd, vervallen: this._vervallen }), this._inhoud && (h("dso-ozon-content", { key: '824d8b870385dbe01425e8375f93911319009008', content: this._inhoud, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "inhoud")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "inhoud" }), urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })))), h("div", { key: 'dafe7da4d891288415a2ea5ecb709815ae429fae', class: "children-container", part: "_children-container" }, h("slot", { key: '664a07567698153090777d81c6ff27ddce32317b' }))));
200
+ }), closeButtonLabel: "Kenmerken en kaartgegevens verbergen" }, h("h2", { key: 'c6aa4ffa7bedad876bc336bf06b05b0868e5288f', id: "annotations-heading", slot: "heading" }, "Kenmerken en kaart"), h("slot", { key: '42d7d144687ed698bd9d2cd8c6e0148157820cc4', name: "annotations" })))), this.open && (this._inhoud || this._gereserveerd || this._vervallen) && this.mode === "document" && (h("div", { key: '813ec0cfe9dab1d1b4181f7b577e05daec98a7de', class: "content", part: "_content" }, h(AantekenAlert, { key: 'bc0af71076866d282259efc251dcccd973b23cbb', gereserveerd: this._gereserveerd, vervallen: this._vervallen }), this._inhoud && (h("dso-ozon-content", { key: '5a5a5858a0017bd0634fb2dc8ddc924bbe713c53', content: this._inhoud, onDsoClick: this.handleOzonContentClick, mark: this.mark && ((text) => this.mark?.(text, "inhoud")), onDsoOzonContentMarkItemHighlight: (e) => this.dsoMarkItemHighlight.emit({ ...e.detail, source: "inhoud" }), urlResolver: this.ozonContentUrlResolver, begripResolver: this.ozonContentBegripResolver, annotated: this.annotated })))), h("div", { key: '3a6fc06676c63b331328540161d509a7b830c6c1', class: "children-container", part: "_children-container" }, h("slot", { key: 'edf04d48a076d5f2e3a85e8f8847581637138636' }))));
199
201
  }
200
202
  static get is() { return "dso-document-component"; }
201
203
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,9 @@
1
1
  import { Host, forceUpdate, h } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import { v4 as uuidv4 } from "uuid";
4
+ /**
5
+ * @slot - The dropdown menu items to be grouped.
6
+ */
4
7
  export class DropdownMenuGroup {
5
8
  get dropdownMenu() {
6
9
  return this.host.closest("dso-dropdown-menu");
@@ -14,7 +17,7 @@ export class DropdownMenuGroup {
14
17
  render() {
15
18
  const checkable = this.dropdownMenuState?.checkable;
16
19
  const labelId = this.label ? uuidv4() : undefined;
17
- return (h(Host, { key: 'a47b9cc30b25077ebf8d87e42593b6471e459cd2' }, h("div", { key: '4731d76aabb0cacbe3a645b6f3b11a961d0a710f', "aria-labelledby": labelId, role: "group" }, this.label && (h("div", { key: '64f94ef64b5217e3b23aad96df535584ff7977d5', id: labelId, class: clsx("group-label", { checkable }), role: "none" }, this.label)), h("slot", { key: '94f81e77530b754a83ef748cb5ae6897fa764fb4' }))));
20
+ return (h(Host, { key: '828445e3fce42f05e8821882721607aa830df4f3' }, h("div", { key: '3e6056d9280593d15dbc3bb5b8d429a09b41594a', "aria-labelledby": labelId, role: "group" }, this.label && (h("div", { key: '48d604d2cf034f3c59badd6805da5cd848b64e6e', id: labelId, class: clsx("group-label", { checkable }), role: "none" }, this.label)), h("slot", { key: '04b6137e817c71ac38a2c0a12957da78951823c7' }))));
18
21
  }
19
22
  static get is() { return "dso-dropdown-menu-group"; }
20
23
  static get encapsulation() { return "shadow"; }
@@ -1,6 +1,9 @@
1
1
  import { Host, forceUpdate, h, } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import { isModifiedEvent } from "../../../utils/is-modified-event";
4
+ /**
5
+ * @slot - The content or label of the dropdown menu item.
6
+ */
4
7
  export class DropdownMenuItem {
5
8
  constructor() {
6
9
  this.handleClick = (event) => {
@@ -25,7 +28,7 @@ export class DropdownMenuItem {
25
28
  render() {
26
29
  const checkable = this.dropdownMenuState?.checkable;
27
30
  const checked = checkable ? Boolean(this.checked) : undefined;
28
- return (h(Host, { key: '5a958be40201eb5abc39592736e65938b5c45de1' }, h("div", { key: 'aa535ff81401a9c12e123e913dd19374cd4713cc', role: "none", class: clsx([{ checkable, checked }]) }, this.type === "button" && (h("button", { key: '6ae9656516c19afd1e2c5c22c8678f93d2c41eff', type: "button", role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: '8ab417ad11caeb700a8b9650b1c24772e59cc8a3', icon: "check" }), h("slot", { key: '4e7ebcda5cd7ba3469976999bf1e50fd78bf6a9b' }))), this.type === "link" && this.href && (h("a", { key: '3ac7e35aa1db310ec3816e2814c3ab3e7b078701', href: this.href, role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: 'be9f20d4269a8dad7df6f8a843b91fb6da46e70d', icon: "check" }), h("slot", { key: 'a2396cb075a7f91a8d3a766e3509a34eac7f7367' }))))));
31
+ return (h(Host, { key: '3e62950ca227a74a180bf1f945f8221a2b9ac0fd' }, h("div", { key: '3a343d69e9fce9a4ef288798a03a6b475d9fe70f', role: "none", class: clsx([{ checkable, checked }]) }, this.type === "button" && (h("button", { key: 'fa7dc161a2f76eb3c8cc5cc6612270c9fc48ed34', type: "button", role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: 'a3cd2eefa6c8285fedef6d6a5141130b9000c9a7', icon: "check" }), h("slot", { key: 'd322c46f64ffdeb30b0fe3d789d7d928e635f8dc' }))), this.type === "link" && this.href && (h("a", { key: '067d0ea97bcca792a7e3e21b8958ba7d3a095e58', href: this.href, role: checkable ? "menuitemradio" : "menuitem", "aria-checked": checked?.toString(), onClick: this.handleClick, ref: (element) => (this.anchorOrButtonRef = element) }, checkable && checked && h("dso-icon", { key: '1b1a699d1de520faef59c3e2ea0db73a1b3102b6', icon: "check" }), h("slot", { key: '43c6db81a62db3367081ceb256b370ed726159f3' }))))));
29
32
  }
30
33
  static get is() { return "dso-dropdown-menu-item"; }
31
34
  static get encapsulation() { return "shadow"; }
@@ -482,6 +482,7 @@ button:not(.dso-tertiary) dso-icon {
482
482
  inline-size: max-content;
483
483
  padding: 0;
484
484
  z-index: 220;
485
+ --_dso-scrollable-block-size: auto;
485
486
  }
486
487
 
487
488
  ::slotted(dso-dropdown-menu-group:not(:last-child)) {
@@ -2,6 +2,9 @@ import { autoUpdate, computePosition, flip, offset, size } from "@floating-ui/do
2
2
  import { Host, forceUpdate, h, } from "@stencil/core";
3
3
  import { createStore } from "@stencil/store";
4
4
  import { v4 as uuidv4 } from "uuid";
5
+ /**
6
+ * @slot - Menu items and content displayed inside the dropdown menu options list.
7
+ */
5
8
  export class DropdownMenu {
6
9
  constructor() {
7
10
  /**
@@ -200,7 +203,7 @@ export class DropdownMenu {
200
203
  }
201
204
  render() {
202
205
  const buttonId = uuidv4();
203
- return (h(Host, { key: 'd6eecca58b117e847ed5e2d6c4749ccf1cf45ade', onFocusout: this.focusOutListener, onKeyDown: this.keyDownHandler }, this.label && (h("button", { key: '7bd4e3718dd56a7ed820fd7a0bff73299387bca0', id: buttonId, class: `dso-${this.variant}`, type: "button", onClick: () => this.toggleOptions(), "aria-expanded": this.open.toString(), "aria-haspopup": "menu", ref: (element) => (this.button = element) }, this.label, h("dso-icon", { key: 'f3db2d02fb532d0dce562de99447be5d2ba93111', icon: this.open ? "chevron-up" : "chevron-down" }))), h("div", { key: 'b599fc40124282b4afd1f78e346dd736717ece81', popover: "manual", class: "dso-dropdown-options", "aria-labelledby": buttonId, role: "menu", ref: (element) => (this.popoverElement = element) }, h("dso-scrollable", { key: 'ab2517807d8a940ce8d4fae40f9d657b416724dc' }, h("slot", { key: '746e632a7bf1e9e7d585dcf71660ef2944799db8' })))));
206
+ return (h(Host, { key: '898e03c9fb8dcd98b45cc42d05fe4f29cb408d07', onFocusout: this.focusOutListener, onKeyDown: this.keyDownHandler }, this.label && (h("button", { key: '94945d023367cbcd32d3d774fad82ec2f17ab50f', id: buttonId, class: `dso-${this.variant}`, type: "button", onClick: () => this.toggleOptions(), "aria-expanded": this.open.toString(), "aria-haspopup": "menu", ref: (element) => (this.button = element) }, this.label, h("dso-icon", { key: '1ff9abf3f6f67587277d80514fb02c172dd5e65b', icon: this.open ? "chevron-up" : "chevron-down" }))), h("div", { key: 'f1eca3859c3ba0cedd96a1631d155b0db5b401f9', popover: "manual", class: "dso-dropdown-options", "aria-labelledby": buttonId, role: "menu", ref: (element) => (this.popoverElement = element) }, h("dso-scrollable", { key: '7943c1d3063bc8972027f6e3b8dd0dd42561c2c9' }, h("slot", { key: '95f224579f8a636f03d0f6bf185105d005696297' })))));
204
207
  }
205
208
  static get is() { return "dso-dropdown-menu"; }
206
209
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,8 @@
1
1
  import { Host, h, } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
+ /**
4
+ * @slot - Content to be shown or hidden when the expandable is toggled.
5
+ */
3
6
  export class Expandable {
4
7
  constructor() {
5
8
  /**
@@ -36,10 +39,10 @@ export class Expandable {
36
39
  }
37
40
  }
38
41
  render() {
39
- return (h(Host, { key: '27aa43cd7a129ede2ac42e1f36957be51497bb80', "aria-hidden": this.open ? "false" : "true", class: clsx({
42
+ return (h(Host, { key: 'a0469ae8e68f3d121fcdab6fc08b8a92018d9ab0', "aria-hidden": this.open ? "false" : "true", class: clsx({
40
43
  "dso-animate-ready": this.enableAnimation,
41
44
  "dso-hide": this.isClosed,
42
- }) }, h("div", { key: 'b9e104e23b5eeceebd860c607cb9c68dc1506184', class: "slot-container" }, h("slot", { key: 'd623667f451248271ebf78ee7896a51936e4c0cd' }))));
45
+ }) }, h("div", { key: '1fbfd59136f816df3d8b44c6c7dd54c8201435aa', class: "slot-container" }, h("slot", { key: '6e7247668ff0ea70589c3b654a2b52b22379a717' }))));
43
46
  }
44
47
  static get is() { return "dso-expandable"; }
45
48
  static get encapsulation() { return "shadow"; }
@@ -28,8 +28,7 @@ export class GridColumn {
28
28
  event.preventDefault();
29
29
  this.dsoClose.emit({ originalEvent: event });
30
30
  };
31
- this.handleDialogClose = (event) => {
32
- this.dsoClose.emit({ originalEvent: event });
31
+ this.handleDialogClose = () => {
33
32
  if (this.overlayActive && this.dialogElement && !this.dialogElement.open) {
34
33
  this.dialogElement.showModal();
35
34
  }
@@ -88,7 +87,7 @@ export class GridColumn {
88
87
  this.resizeObserver = undefined;
89
88
  }
90
89
  render() {
91
- return (h(Host, { key: 'e02e6fcc5aa1c2e279c36cfab5bf661df6099c49' }, this.overlayActive ? (h("dialog", { class: "grid-column-content", ref: (element) => (this.dialogElement = element), onClick: this.handleDialogClick, onCancel: this.handleDialogCancel, onClose: this.handleDialogClose }, h("slot", null))) : (h("div", { class: "grid-column-content" }, h("slot", null)))));
90
+ return (h(Host, { key: '603befb14663a71590e342c590f3ebde4d08be42' }, this.overlayActive ? (h("dialog", { class: "grid-column-content", ref: (element) => (this.dialogElement = element), onClick: this.handleDialogClick, onCancel: this.handleDialogCancel, onClose: this.handleDialogClose }, h("slot", null))) : (h("div", { class: "grid-column-content" }, h("slot", null)))));
92
91
  }
93
92
  static get is() { return "dso-grid-column"; }
94
93
  static get encapsulation() { return "shadow"; }