@dso-toolkit/core 100.3.1 → 101.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (584) hide show
  1. package/dist/bundle/dso-accordion-section.js +33 -18
  2. package/dist/bundle/dso-accordion.js +4 -4
  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 +17 -11
  6. package/dist/bundle/dso-alert.js +1 -1
  7. package/dist/bundle/dso-annotation-activiteit.js +21 -15
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +20 -14
  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 +21 -15
  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 +3 -3
  18. package/dist/bundle/dso-card.js +4 -4
  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 +5 -5
  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 +9 -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 +29 -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 +1 -1
  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 +5 -5
  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-item.d.ts +11 -0
  59. package/dist/bundle/dso-plekinfo-card-item.js +65 -0
  60. package/dist/bundle/dso-plekinfo-card.js +11 -9
  61. package/dist/bundle/dso-progress-indicator.js +1 -1
  62. package/dist/bundle/dso-project-item.js +14 -8
  63. package/dist/bundle/dso-renvooi.js +1 -1
  64. package/dist/bundle/dso-responsive-element.js +1 -1
  65. package/dist/bundle/dso-scrollable.js +1 -1
  66. package/dist/bundle/dso-segmented-button.js +2 -2
  67. package/dist/bundle/dso-selectable.js +1 -1
  68. package/dist/bundle/dso-shopping-cart-item.js +3 -3
  69. package/dist/bundle/dso-shopping-cart.js +4 -4
  70. package/dist/bundle/dso-skiplink.js +3 -3
  71. package/dist/bundle/dso-slide-toggle.js +1 -1
  72. package/dist/bundle/dso-survey-rating.js +6 -6
  73. package/dist/bundle/dso-tab.js +1 -1
  74. package/dist/bundle/dso-table.js +1 -1
  75. package/dist/bundle/dso-tabs.js +2 -2
  76. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  77. package/dist/bundle/dso-tree-view.js +4 -4
  78. package/dist/bundle/dso-truncate.d.ts +11 -0
  79. package/dist/bundle/dso-truncate.js +6 -0
  80. package/dist/bundle/dso-viewer-grid.js +3 -3
  81. package/dist/bundle/dsot-document-component-demo.js +41 -35
  82. package/dist/bundle/index.js +6 -2
  83. package/dist/bundle/{p-DSn98k7j.js → p-B1sfJaTU.js} +16 -45
  84. package/dist/bundle/{p-wroz5qbN.js → p-BHAfq_R9.js} +5 -5
  85. package/dist/bundle/{p-C78OzjGD.js → p-BHPEhHca.js} +2 -2
  86. package/dist/bundle/{p-COI1m0uI.js → p-BI_yo2z3.js} +5 -5
  87. package/dist/bundle/{p-DB6jeYdL.js → p-BIioZO_6.js} +1 -1
  88. package/dist/bundle/{p-Cz4DEkYY.js → p-BMhDrgpW.js} +4 -4
  89. package/dist/bundle/{p-Ci81TOhm.js → p-BoEv7D0u.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-DTx5uLrL.js → p-C-8R9yq6.js} +4 -4
  93. package/dist/bundle/p-C49HfF1N.js +60 -0
  94. package/dist/bundle/p-CEzwBNry.js +112 -0
  95. package/dist/bundle/{p-DdH_IPw_.js → p-CMhiuOhg.js} +1 -1
  96. package/dist/bundle/p-CbLp6uks.js +144 -0
  97. package/dist/bundle/{p-Cg-toWNU.js → p-CvUpjPda.js} +1 -1
  98. package/dist/bundle/{p-BhW3MSGZ.js → p-CwjT2QlY.js} +6 -6
  99. package/dist/bundle/{p-CIfxp928.js → p-D09qaSTl.js} +3 -3
  100. package/dist/bundle/{p-nBjxlgfX.js → p-D3XzrCzR.js} +6 -6
  101. package/dist/bundle/{p-D8J4Z2LD.js → p-D3aWEfZN.js} +10 -10
  102. package/dist/bundle/{p-BeyBvNPm.js → p-D9oE1q7k.js} +16 -30
  103. package/dist/bundle/{p-BVLZrKNg.js → p-DHj0KBgK.js} +1 -1
  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-BydRjBUc.js → p-DcRIbRiR.js} +18 -42
  107. package/dist/bundle/{p-LAIYa8JB.js → p-DdHRX4cC.js} +20 -14
  108. package/dist/bundle/{p-Bj6TmNEh.js → p-DixhcduG.js} +1 -1
  109. package/dist/bundle/{p-CiFTQ7lb.js → p-DtUeWj74.js} +76 -33
  110. package/dist/bundle/{p-ZSFwKURq.js → p-Dtkoi4Xj.js} +2 -2
  111. package/dist/bundle/{p-BPxWl5Jg.js → p-Dv0849Rl.js} +35 -29
  112. package/dist/bundle/p-Dy8e3KhJ.js +152 -0
  113. package/dist/bundle/{p-BcoGSCi2.js → p-Dyvz4l_L.js} +2 -2
  114. package/dist/bundle/{p-TaOl3xYb.js → p-NElTvMxv.js} +3 -3
  115. package/dist/bundle/{p-DjR55R0Z.js → p-d1IkgLLm.js} +1 -1
  116. package/dist/bundle/{p-CMm0xWy5.js → p-mwUKtKZg.js} +2 -2
  117. package/dist/{esm/i18n-CCOI5nUo.js → bundle/p-xDSTG4OU.js} +28 -1
  118. package/dist/cjs/{annotation-body-H_YdGRBP.js → annotation-body-CCYWAvBu.js} +1 -1
  119. package/dist/cjs/{annotation-list-renvooi-values-DnvYPhrD.js → annotation-list-renvooi-values-UnGybDbb.js} +1 -1
  120. package/dist/cjs/{annotation-watcher-DXLGEmn8.js → annotation-watcher-D9lm8RSy.js} +1 -1
  121. package/dist/cjs/dso-accordion-section.cjs.entry.js +13 -4
  122. package/dist/cjs/dso-accordion.cjs.entry.js +4 -4
  123. package/dist/cjs/dso-action-list-item.cjs.entry.js +3 -3
  124. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  125. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  126. package/dist/cjs/dso-alert_7.cjs.entry.js +47 -112
  127. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  128. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  129. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  130. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +9 -9
  131. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  132. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
  133. package/dist/cjs/dso-autosuggest.cjs.entry.js +4 -4
  134. package/dist/cjs/dso-banner.cjs.entry.js +3 -3
  135. package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
  136. package/dist/cjs/dso-card-container.cjs.entry.js +3 -3
  137. package/dist/cjs/dso-card.cjs.entry.js +3 -3
  138. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  139. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
  140. package/dist/cjs/dso-date-picker.cjs.entry.js +3 -3
  141. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  142. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +2 -2
  143. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +2 -2
  144. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +7 -4
  145. package/dist/cjs/dso-grid-column.cjs.entry.js +3 -4
  146. package/dist/cjs/dso-header.cjs.entry.js +27 -6
  147. package/dist/cjs/dso-hero-image.cjs.entry.js +1 -1
  148. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  149. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  150. package/dist/cjs/dso-icon_2.cjs.entry.js +16 -45
  151. package/dist/cjs/dso-info_3.cjs.entry.js +19 -43
  152. package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
  153. package/dist/cjs/dso-label_3.cjs.entry.js +41 -121
  154. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  155. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-legend.cjs.entry.js +3 -3
  157. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  158. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  159. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  160. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  161. package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
  162. package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
  163. package/dist/cjs/dso-map-message.cjs.entry.js +4 -4
  164. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  165. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  166. package/dist/cjs/dso-modal.cjs.entry.js +3 -3
  167. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  169. package/dist/cjs/dso-plekinfo-card-item.cjs.entry.js +37 -0
  170. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +10 -8
  171. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  172. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  173. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  174. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  175. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  176. package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +1 -1
  177. package/dist/cjs/dso-shopping-cart.cjs.entry.js +2 -2
  178. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  179. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  180. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  181. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  182. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  183. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  184. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  185. package/dist/cjs/dso-truncate.cjs.entry.js +129 -0
  186. package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
  187. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  188. package/dist/cjs/{i18n-DH0Su3jj.js → i18n-Bzut_vVm.js} +28 -1
  189. package/dist/cjs/{index-CfwUrDXc.js → index-BBx5yytN.js} +76 -33
  190. package/dist/cjs/{index-EngjN4P3.js → index-DZPLxT1W.js} +1 -1
  191. package/dist/cjs/loader.cjs.js +2 -2
  192. package/dist/cjs/{parse-wijzigactie-from-node.function-B2dUQ7Rf.js → parse-wijzigactie-from-node.function-CYUDdIa0.js} +1 -1
  193. package/dist/cjs/toggletip.controller-BB-Voe-Z.js +63 -0
  194. package/dist/cjs/tooltip.controller-Cvac0qe3.js +78 -0
  195. package/dist/cjs/{tooltip.functional-component-BEcuvKwS.js → tooltip.functional-component-DOBjuEpE.js} +1 -1
  196. package/dist/cjs/{wrap-wijzigactie.functional-component-DodUwf7_.js → wrap-wijzigactie.functional-component-D1UjZ36u.js} +1 -1
  197. package/dist/collection/collection-manifest.json +3 -1
  198. package/dist/collection/components/accordion/accordion.css +6 -0
  199. package/dist/collection/components/accordion/accordion.js +4 -1
  200. package/dist/collection/components/accordion/components/accordion-section.css +15 -6
  201. package/dist/collection/components/accordion/components/accordion-section.js +15 -2
  202. package/dist/collection/components/action-list/action-list.js +4 -1
  203. package/dist/collection/components/action-list/components/action-list-item.js +5 -2
  204. package/dist/collection/components/alert/alert.js +4 -1
  205. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -4
  206. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -4
  207. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -4
  208. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -6
  209. package/dist/collection/components/autosuggest/autosuggest.js +5 -2
  210. package/dist/collection/components/badge/badge.js +26 -77
  211. package/dist/collection/components/banner/banner.js +5 -2
  212. package/dist/collection/components/button-group/button-group.js +4 -1
  213. package/dist/collection/components/card/card.js +3 -3
  214. package/dist/collection/components/card-container/card-container.css +5 -0
  215. package/dist/collection/components/card-container/card-container.js +4 -1
  216. package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +4 -1
  217. package/dist/collection/components/date-picker/date-picker.js +9 -9
  218. package/dist/collection/components/date-picker/date-utils.js +1 -1
  219. package/dist/collection/components/document-component/document-component.js +6 -4
  220. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +4 -1
  221. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +4 -1
  222. package/dist/collection/components/dropdown-menu/dropdown-menu.js +8 -2
  223. package/dist/collection/components/expandable/expandable.js +5 -2
  224. package/dist/collection/components/grid-column/grid-column.js +2 -3
  225. package/dist/collection/components/header/header.css +65 -46
  226. package/dist/collection/components/header/header.i18n.js +2 -0
  227. package/dist/collection/components/header/header.js +25 -3
  228. package/dist/collection/components/highlight-box/highlight-box.js +5 -1
  229. package/dist/collection/components/icon-button/icon-button.js +13 -43
  230. package/dist/collection/components/image-overlay/image-overlay.js +5 -0
  231. package/dist/collection/components/info/info.js +4 -1
  232. package/dist/collection/components/info-button/info-button.js +16 -38
  233. package/dist/collection/components/label/label.css +6 -53
  234. package/dist/collection/components/label/label.js +25 -134
  235. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  236. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  237. package/dist/collection/components/legend/legend.js +4 -1
  238. package/dist/collection/components/list-button/list-button.js +4 -1
  239. package/dist/collection/components/logo/logo.js +1 -1
  240. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  241. package/dist/collection/components/map-controls/map-controls.js +4 -1
  242. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  243. package/dist/collection/components/map-layer/map-layer.js +1 -1
  244. package/dist/collection/components/map-message/map-message.css +4 -1
  245. package/dist/collection/components/map-message/map-message.js +3 -3
  246. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  247. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  248. package/dist/collection/components/modal/modal.js +1 -1
  249. package/dist/collection/components/onboarding-tip/onboarding-tip.js +5 -1
  250. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +16 -27
  251. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  252. package/dist/collection/components/panel/panel.js +1 -1
  253. package/dist/collection/components/plekinfo-card/plekinfo-card-item/plekinfo-card-item.css +148 -0
  254. package/dist/collection/components/plekinfo-card/plekinfo-card-item/plekinfo-card-item.js +82 -0
  255. package/dist/collection/components/plekinfo-card/plekinfo-card.css +4 -5
  256. package/dist/collection/components/plekinfo-card/plekinfo-card.js +10 -9
  257. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  258. package/dist/collection/components/project-item/project-item.js +7 -1
  259. package/dist/collection/components/responsive-element/responsive-element.js +4 -1
  260. package/dist/collection/components/scrollable/scrollable.js +5 -2
  261. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  262. package/dist/collection/components/selectable/selectable.css +6 -6
  263. package/dist/collection/components/selectable/selectable.js +1 -1
  264. package/dist/collection/components/shopping-cart/shopping-cart.js +1 -1
  265. package/dist/collection/components/skiplink/skiplink.js +1 -1
  266. package/dist/collection/components/slide-toggle/slide-toggle.js +4 -1
  267. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  268. package/dist/collection/components/table/table.js +5 -1
  269. package/dist/collection/components/tabs/tabs.js +1 -1
  270. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +5 -1
  271. package/dist/collection/components/tree-view/tree-view.js +1 -1
  272. package/dist/collection/components/truncate/truncate.css +67 -0
  273. package/dist/collection/components/truncate/truncate.js +145 -0
  274. package/dist/collection/components/viewer-grid/viewer-grid.js +5 -9
  275. package/dist/collection/functional-components/tooltip/toggletip.controller.js +57 -0
  276. package/dist/collection/functional-components/tooltip/tooltip.controller.js +73 -0
  277. package/dist/components/alert.js +1 -1
  278. package/dist/components/annotation-locatie.js +1 -1
  279. package/dist/components/badge.js +1 -1
  280. package/dist/components/button-group.js +1 -1
  281. package/dist/components/document-component.js +1 -1
  282. package/dist/components/dso-accordion-section.js +1 -1
  283. package/dist/components/dso-accordion.js +1 -1
  284. package/dist/components/dso-action-list-item.js +1 -1
  285. package/dist/components/dso-action-list.js +1 -1
  286. package/dist/components/dso-advanced-select.js +2 -2
  287. package/dist/components/dso-annotation-activiteit.js +1 -1
  288. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  289. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  290. package/dist/components/dso-autosuggest.js +1 -1
  291. package/dist/components/dso-banner.js +1 -1
  292. package/dist/components/dso-card-container.js +1 -1
  293. package/dist/components/dso-card.js +1 -1
  294. package/dist/components/dso-cursor-tooltip.js +1 -1
  295. package/dist/components/dso-date-picker.js +1 -1
  296. package/dist/components/dso-dropdown-menu-group.js +1 -1
  297. package/dist/components/dso-dropdown-menu-item.js +1 -1
  298. package/dist/components/dso-dropdown-menu.js +1 -1
  299. package/dist/components/dso-grid-column.js +1 -1
  300. package/dist/components/dso-header.js +1 -1
  301. package/dist/components/dso-highlight-box.js +1 -1
  302. package/dist/components/dso-legend-group.js +1 -1
  303. package/dist/components/dso-legend-item.js +1 -1
  304. package/dist/components/dso-legend.js +1 -1
  305. package/dist/components/dso-list-button.js +1 -1
  306. package/dist/components/dso-logo.js +1 -1
  307. package/dist/components/dso-map-base-layers.js +1 -1
  308. package/dist/components/dso-map-controls.js +1 -1
  309. package/dist/components/dso-map-layer-object.js +1 -1
  310. package/dist/components/dso-map-layer.js +1 -1
  311. package/dist/components/dso-map-message.js +1 -1
  312. package/dist/components/dso-map-overlays.js +1 -1
  313. package/dist/components/dso-mark-bar.js +1 -1
  314. package/dist/components/dso-onboarding-tip.js +1 -1
  315. package/dist/components/dso-plekinfo-card-item.d.ts +11 -0
  316. package/dist/components/dso-plekinfo-card-item.js +1 -0
  317. package/dist/components/dso-plekinfo-card.js +1 -1
  318. package/dist/components/dso-project-item.js +1 -1
  319. package/dist/components/dso-segmented-button.js +1 -1
  320. package/dist/components/dso-shopping-cart.js +1 -1
  321. package/dist/components/dso-skiplink.js +1 -1
  322. package/dist/components/dso-survey-rating.js +1 -1
  323. package/dist/components/dso-tabs.js +1 -1
  324. package/dist/components/dso-tijdreis-banner.js +1 -1
  325. package/dist/components/dso-tree-view.js +1 -1
  326. package/dist/components/dso-truncate.d.ts +11 -0
  327. package/dist/components/dso-truncate.js +1 -0
  328. package/dist/components/dso-viewer-grid.js +1 -1
  329. package/dist/components/dsot-document-component-demo.js +1 -1
  330. package/dist/components/expandable.js +1 -1
  331. package/dist/components/i18n.js +1 -1
  332. package/dist/components/icon-button.js +1 -1
  333. package/dist/components/index.d.ts +4 -0
  334. package/dist/components/index.js +1 -1
  335. package/dist/components/info-button.js +1 -1
  336. package/dist/components/info.js +1 -1
  337. package/dist/components/label.js +1 -1
  338. package/dist/components/modal.js +1 -1
  339. package/dist/components/ozon-content-toggletip.js +1 -1
  340. package/dist/components/ozon-content.js +1 -1
  341. package/dist/components/panel.js +1 -1
  342. package/dist/components/progress-indicator.js +1 -1
  343. package/dist/components/responsive-element.js +1 -1
  344. package/dist/components/scrollable.js +1 -1
  345. package/dist/components/selectable.js +1 -1
  346. package/dist/components/slide-toggle.js +1 -1
  347. package/dist/components/table.js +1 -1
  348. package/dist/components/toggletip.controller.js +1 -0
  349. package/dist/components/tooltip.controller.js +1 -0
  350. package/dist/components/truncate.js +1 -0
  351. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  352. package/dist/dso-toolkit/p-036e7b74.entry.js +1 -0
  353. package/dist/dso-toolkit/{p-610341c7.entry.js → p-04844de1.entry.js} +1 -1
  354. package/dist/dso-toolkit/p-0630c10c.entry.js +1 -0
  355. package/dist/dso-toolkit/{p-f6e9a1b4.entry.js → p-08a7e828.entry.js} +1 -1
  356. package/dist/dso-toolkit/p-0b1d6ae8.entry.js +1 -0
  357. package/dist/dso-toolkit/{p-55a160ad.entry.js → p-0ee52216.entry.js} +1 -1
  358. package/dist/dso-toolkit/p-1007fdd3.entry.js +1 -0
  359. package/dist/dso-toolkit/p-13c27118.entry.js +1 -0
  360. package/dist/dso-toolkit/p-1c1b27c0.entry.js +1 -0
  361. package/dist/dso-toolkit/{p-f0b21f16.entry.js → p-1f197259.entry.js} +1 -1
  362. package/dist/dso-toolkit/{p-460e04c3.entry.js → p-227620ac.entry.js} +1 -1
  363. package/dist/dso-toolkit/p-25483f0a.entry.js +1 -0
  364. package/dist/dso-toolkit/{p-ecc3eaab.entry.js → p-26c32a38.entry.js} +1 -1
  365. package/dist/dso-toolkit/p-29dc27dc.entry.js +1 -0
  366. package/dist/dso-toolkit/{p-342636b2.entry.js → p-2a32cbeb.entry.js} +1 -1
  367. package/dist/dso-toolkit/p-2sI1K6K0.js +3 -0
  368. package/dist/dso-toolkit/{p-f5575f84.entry.js → p-37c83fa7.entry.js} +1 -1
  369. package/dist/dso-toolkit/{p-0099ff32.entry.js → p-3825c4e5.entry.js} +1 -1
  370. package/dist/dso-toolkit/{p-b83b2fa7.entry.js → p-38616371.entry.js} +1 -1
  371. package/dist/dso-toolkit/{p-8bd4637f.entry.js → p-3a6a1010.entry.js} +1 -1
  372. package/dist/dso-toolkit/p-3ed9443d.entry.js +1 -0
  373. package/dist/dso-toolkit/{p-16288a6a.entry.js → p-4aa3ca6c.entry.js} +1 -1
  374. package/dist/dso-toolkit/{p-84ca2384.entry.js → p-4ec77050.entry.js} +1 -1
  375. package/dist/dso-toolkit/{p-3628d830.entry.js → p-54036b31.entry.js} +1 -1
  376. package/dist/dso-toolkit/{p-768794e0.entry.js → p-5901d652.entry.js} +1 -1
  377. package/dist/dso-toolkit/{p-3098df1c.entry.js → p-5f2269ec.entry.js} +1 -1
  378. package/dist/dso-toolkit/p-5f6a6095.entry.js +1 -0
  379. package/dist/dso-toolkit/{p-64f2263c.entry.js → p-64331ac9.entry.js} +1 -1
  380. package/dist/dso-toolkit/p-6835e07d.entry.js +1 -0
  381. package/dist/dso-toolkit/{p-48cd0276.entry.js → p-6a68177b.entry.js} +1 -1
  382. package/dist/dso-toolkit/{p-0438b8cb.entry.js → p-6a99c0bb.entry.js} +1 -1
  383. package/dist/dso-toolkit/{p-58978006.entry.js → p-6bc7de9b.entry.js} +1 -1
  384. package/dist/dso-toolkit/{p-a639c227.entry.js → p-6bcf7a01.entry.js} +1 -1
  385. package/dist/dso-toolkit/{p-5598c232.entry.js → p-7ff8aa45.entry.js} +2 -2
  386. package/dist/dso-toolkit/p-801a459f.entry.js +1 -0
  387. package/dist/dso-toolkit/{p-301cb792.entry.js → p-823c047d.entry.js} +1 -1
  388. package/dist/dso-toolkit/{p-ec50e32d.entry.js → p-835cd682.entry.js} +1 -1
  389. package/dist/dso-toolkit/{p-e2d4f404.entry.js → p-8cbb00ac.entry.js} +1 -1
  390. package/dist/dso-toolkit/{p-0f019b7c.entry.js → p-8e4964ac.entry.js} +1 -1
  391. package/dist/dso-toolkit/{p-7eadab64.entry.js → p-8f90718f.entry.js} +1 -1
  392. package/dist/dso-toolkit/{p-02f97f93.entry.js → p-904250ca.entry.js} +1 -1
  393. package/dist/dso-toolkit/{p-0117fba0.entry.js → p-9b4dc3ef.entry.js} +1 -1
  394. package/dist/dso-toolkit/{p-ab498200.entry.js → p-9df806f0.entry.js} +1 -1
  395. package/dist/dso-toolkit/p-9f214aa4.entry.js +1 -0
  396. package/dist/dso-toolkit/p-B02Jy5YO.js +1 -0
  397. package/dist/dso-toolkit/p-B_Ud6lxQ.js +1 -0
  398. package/dist/dso-toolkit/p-C0I7oJkh.js +1 -0
  399. package/dist/dso-toolkit/p-CUqv0PSk.js +1 -0
  400. package/dist/dso-toolkit/p-DkZG4rwC.js +1 -0
  401. package/dist/dso-toolkit/{p-kDBsQgLI.js → p-Dksz1aH2.js} +1 -1
  402. package/dist/dso-toolkit/{p-DeuvCGGT.js → p-DoJpDsvb.js} +1 -1
  403. package/dist/dso-toolkit/p-DxsAk2iQ.js +1 -0
  404. package/dist/dso-toolkit/{p-f85b0396.entry.js → p-a3003466.entry.js} +1 -1
  405. package/dist/dso-toolkit/{p-7cea7c6f.entry.js → p-a43a81a4.entry.js} +1 -1
  406. package/dist/dso-toolkit/p-aec8f591.entry.js +1 -0
  407. package/dist/dso-toolkit/p-b093e2f2.entry.js +1 -0
  408. package/dist/dso-toolkit/{p-f17348e1.entry.js → p-b1fc14cc.entry.js} +1 -1
  409. package/dist/dso-toolkit/{p-cfccb614.entry.js → p-b26c5285.entry.js} +1 -1
  410. package/dist/dso-toolkit/p-b27d50c9.entry.js +1 -0
  411. package/dist/dso-toolkit/p-b8a0d3b9.entry.js +1 -0
  412. package/dist/dso-toolkit/p-b8a488af.entry.js +1 -0
  413. package/dist/dso-toolkit/{p-2e7acaf8.entry.js → p-bb0d9c4a.entry.js} +1 -1
  414. package/dist/dso-toolkit/{p-d2e60e72.entry.js → p-c0735ea5.entry.js} +1 -1
  415. package/dist/dso-toolkit/{p-a93cfad8.entry.js → p-c15a3689.entry.js} +1 -1
  416. package/dist/dso-toolkit/{p-99db12e8.entry.js → p-d0196ffd.entry.js} +1 -1
  417. package/dist/dso-toolkit/{p-ebf09749.entry.js → p-d64bd153.entry.js} +1 -1
  418. package/dist/dso-toolkit/{p-9fef9c1a.entry.js → p-d819abc5.entry.js} +1 -1
  419. package/dist/dso-toolkit/{p-3fc897a1.entry.js → p-de86de0a.entry.js} +1 -1
  420. package/dist/dso-toolkit/{p-f9490a3f.entry.js → p-e2c97b41.entry.js} +1 -1
  421. package/dist/dso-toolkit/{p-0085311a.entry.js → p-e3ba6480.entry.js} +1 -1
  422. package/dist/dso-toolkit/{p-272382d1.entry.js → p-e3d0debf.entry.js} +1 -1
  423. package/dist/dso-toolkit/{p-0cd1de97.entry.js → p-e4181a16.entry.js} +1 -1
  424. package/dist/dso-toolkit/{p-a0b21fb2.entry.js → p-e442fe62.entry.js} +1 -1
  425. package/dist/dso-toolkit/{p-fb2eb060.entry.js → p-ec2fc65e.entry.js} +1 -1
  426. package/dist/dso-toolkit/{p-3ce055f8.entry.js → p-fb8860e1.entry.js} +1 -1
  427. package/dist/dso-toolkit/p-mhQu0fx2.js +1 -0
  428. package/dist/dso-toolkit/p-xDSTG4OU.js +1 -0
  429. package/dist/esm/{annotation-body-CfhN4FON.js → annotation-body-lbq2tmAQ.js} +1 -1
  430. package/dist/esm/{annotation-list-renvooi-values-BTPUEm3B.js → annotation-list-renvooi-values-iAOwX0lR.js} +1 -1
  431. package/dist/esm/{annotation-watcher-BO0jbdlD.js → annotation-watcher-COiqhqqD.js} +1 -1
  432. package/dist/esm/dso-accordion-section.entry.js +13 -4
  433. package/dist/esm/dso-accordion.entry.js +4 -4
  434. package/dist/esm/dso-action-list-item.entry.js +3 -3
  435. package/dist/esm/dso-action-list.entry.js +2 -2
  436. package/dist/esm/dso-advanced-select.entry.js +1 -1
  437. package/dist/esm/dso-alert_7.entry.js +47 -112
  438. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  439. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  440. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  441. package/dist/esm/dso-annotation-locatie_2.entry.js +9 -9
  442. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  443. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  444. package/dist/esm/dso-autosuggest.entry.js +4 -4
  445. package/dist/esm/dso-banner.entry.js +3 -3
  446. package/dist/esm/dso-button-group.entry.js +2 -2
  447. package/dist/esm/dso-card-container.entry.js +3 -3
  448. package/dist/esm/dso-card.entry.js +3 -3
  449. package/dist/esm/dso-contact-information.entry.js +1 -1
  450. package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
  451. package/dist/esm/dso-date-picker.entry.js +3 -3
  452. package/dist/esm/dso-document-card.entry.js +1 -1
  453. package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
  454. package/dist/esm/dso-dropdown-menu-item.entry.js +2 -2
  455. package/dist/esm/dso-dropdown-menu.entry.js +7 -4
  456. package/dist/esm/dso-grid-column.entry.js +3 -4
  457. package/dist/esm/dso-header.entry.js +27 -6
  458. package/dist/esm/dso-hero-image.entry.js +1 -1
  459. package/dist/esm/dso-highlight-box.entry.js +2 -2
  460. package/dist/esm/dso-history-item.entry.js +1 -1
  461. package/dist/esm/dso-icon_2.entry.js +16 -45
  462. package/dist/esm/dso-info_3.entry.js +19 -43
  463. package/dist/esm/dso-input-range.entry.js +1 -1
  464. package/dist/esm/dso-label_3.entry.js +23 -103
  465. package/dist/esm/dso-legend-group.entry.js +3 -3
  466. package/dist/esm/dso-legend-item.entry.js +3 -3
  467. package/dist/esm/dso-legend.entry.js +3 -3
  468. package/dist/esm/dso-list-button.entry.js +2 -2
  469. package/dist/esm/dso-logo.entry.js +2 -2
  470. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  471. package/dist/esm/dso-map-controls.entry.js +3 -3
  472. package/dist/esm/dso-map-layer-object.entry.js +3 -3
  473. package/dist/esm/dso-map-layer.entry.js +3 -3
  474. package/dist/esm/dso-map-message.entry.js +4 -4
  475. package/dist/esm/dso-map-overlays.entry.js +3 -3
  476. package/dist/esm/dso-mark-bar.entry.js +2 -2
  477. package/dist/esm/dso-modal.entry.js +3 -3
  478. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  479. package/dist/esm/dso-pagination.entry.js +1 -1
  480. package/dist/esm/dso-plekinfo-card-item.entry.js +35 -0
  481. package/dist/esm/dso-plekinfo-card.entry.js +10 -8
  482. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  483. package/dist/esm/dso-project-item.entry.js +2 -2
  484. package/dist/esm/dso-responsive-element.entry.js +2 -2
  485. package/dist/esm/dso-scrollable.entry.js +3 -3
  486. package/dist/esm/dso-segmented-button.entry.js +2 -2
  487. package/dist/esm/dso-shopping-cart-item.entry.js +1 -1
  488. package/dist/esm/dso-shopping-cart.entry.js +2 -2
  489. package/dist/esm/dso-skiplink.entry.js +2 -2
  490. package/dist/esm/dso-survey-rating.entry.js +3 -3
  491. package/dist/esm/dso-tab.entry.js +1 -1
  492. package/dist/esm/dso-tabs.entry.js +2 -2
  493. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  494. package/dist/esm/dso-toolkit.js +4 -4
  495. package/dist/esm/dso-tree-view.entry.js +2 -2
  496. package/dist/esm/dso-truncate.entry.js +127 -0
  497. package/dist/esm/dso-viewer-grid.entry.js +3 -3
  498. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  499. package/dist/{bundle/p-CCOI5nUo.js → esm/i18n-xDSTG4OU.js} +28 -1
  500. package/dist/esm/{index-CieBNbUH.js → index-2sI1K6K0.js} +76 -33
  501. package/dist/esm/{index-B0pTkGRp.js → index-LpJ181Xi.js} +1 -1
  502. package/dist/esm/loader.js +3 -3
  503. package/dist/esm/{parse-wijzigactie-from-node.function-DhCCxNJH.js → parse-wijzigactie-from-node.function-CrOTV1B6.js} +1 -1
  504. package/dist/esm/toggletip.controller-KNf1n4og.js +60 -0
  505. package/dist/esm/tooltip.controller-RLM8ixUv.js +76 -0
  506. package/dist/esm/{tooltip.functional-component-chN-aNlU.js → tooltip.functional-component-3fxPwYtA.js} +1 -1
  507. package/dist/esm/{wrap-wijzigactie.functional-component-BYWldnbn.js → wrap-wijzigactie.functional-component-C-ha4z-Y.js} +1 -1
  508. package/dist/types/components/accordion/accordion.d.ts +3 -0
  509. package/dist/types/components/accordion/components/accordion-section.d.ts +4 -0
  510. package/dist/types/components/action-list/action-list.d.ts +3 -0
  511. package/dist/types/components/action-list/components/action-list-item.d.ts +3 -0
  512. package/dist/types/components/alert/alert.d.ts +3 -0
  513. package/dist/types/components/annotation/annotation-activiteit/annotation-activiteit.d.ts +0 -3
  514. package/dist/types/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.d.ts +0 -3
  515. package/dist/types/components/annotation/annotation-locatie/annotation-locatie.d.ts +0 -3
  516. package/dist/types/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.d.ts +0 -5
  517. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -0
  518. package/dist/types/components/badge/badge.d.ts +2 -8
  519. package/dist/types/components/banner/banner.d.ts +3 -0
  520. package/dist/types/components/button-group/button-group.d.ts +3 -0
  521. package/dist/types/components/card/card.d.ts +1 -1
  522. package/dist/types/components/card-container/card-container.d.ts +3 -0
  523. package/dist/types/components/cursor-tooltip/cursor-tooltip.d.ts +3 -0
  524. package/dist/types/components/date-picker/date-picker.d.ts +4 -2
  525. package/dist/types/components/date-picker/date-utils.d.ts +1 -1
  526. package/dist/types/components/document-component/document-component.d.ts +2 -0
  527. package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +3 -0
  528. package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +3 -0
  529. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +4 -0
  530. package/dist/types/components/expandable/expandable.d.ts +3 -0
  531. package/dist/types/components/header/header.d.ts +9 -0
  532. package/dist/types/components/highlight-box/highlight-box.d.ts +4 -0
  533. package/dist/types/components/icon-button/icon-button.d.ts +2 -7
  534. package/dist/types/components/image-overlay/image-overlay.d.ts +5 -0
  535. package/dist/types/components/info/info.d.ts +3 -0
  536. package/dist/types/components/info-button/info-button.d.ts +4 -2
  537. package/dist/types/components/label/label.d.ts +14 -36
  538. package/dist/types/components/legend/legend.d.ts +3 -0
  539. package/dist/types/components/list-button/list-button.d.ts +3 -0
  540. package/dist/types/components/map-controls/map-controls.d.ts +3 -0
  541. package/dist/types/components/map-message/map-message.d.ts +1 -1
  542. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +4 -0
  543. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +5 -2
  544. package/dist/types/components/plekinfo-card/plekinfo-card-item/plekinfo-card-item.d.ts +23 -0
  545. package/dist/types/components/plekinfo-card/plekinfo-card.d.ts +3 -4
  546. package/dist/types/components/project-item/project-item.d.ts +6 -0
  547. package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
  548. package/dist/types/components/scrollable/scrollable.d.ts +3 -0
  549. package/dist/types/components/slide-toggle/slide-toggle.d.ts +3 -0
  550. package/dist/types/components/table/table.d.ts +4 -0
  551. package/dist/types/components/tijdreis-banner/tijdreis-banner.d.ts +4 -0
  552. package/dist/types/components/truncate/truncate.d.ts +26 -0
  553. package/dist/types/components/viewer-grid/viewer-grid.d.ts +3 -7
  554. package/dist/types/components.d.ts +48 -24
  555. package/dist/types/functional-components/tooltip/toggletip.controller.d.ts +31 -0
  556. package/dist/types/functional-components/tooltip/tooltip.controller.d.ts +30 -0
  557. package/dist/types/stencil-public-runtime.d.ts +12 -0
  558. package/loader/index.d.ts +1 -1
  559. package/package.json +10 -10
  560. package/dist/bundle/p-3mY5bRq3.js +0 -189
  561. package/dist/bundle/p-Cy1s6Fqo.js +0 -152
  562. package/dist/dso-toolkit/p-0fb7714e.entry.js +0 -1
  563. package/dist/dso-toolkit/p-5018c559.entry.js +0 -1
  564. package/dist/dso-toolkit/p-55668cd5.entry.js +0 -1
  565. package/dist/dso-toolkit/p-6a42dae9.entry.js +0 -1
  566. package/dist/dso-toolkit/p-6a6a38e6.entry.js +0 -1
  567. package/dist/dso-toolkit/p-918d8967.entry.js +0 -1
  568. package/dist/dso-toolkit/p-947abc8e.entry.js +0 -1
  569. package/dist/dso-toolkit/p-C32sfSnK.js +0 -1
  570. package/dist/dso-toolkit/p-C7Q97EIG.js +0 -1
  571. package/dist/dso-toolkit/p-CCOI5nUo.js +0 -1
  572. package/dist/dso-toolkit/p-CieBNbUH.js +0 -2
  573. package/dist/dso-toolkit/p-DQbnZnP0.js +0 -1
  574. package/dist/dso-toolkit/p-DxGQgnCh.js +0 -1
  575. package/dist/dso-toolkit/p-a98b5b00.entry.js +0 -1
  576. package/dist/dso-toolkit/p-acb7b5c5.entry.js +0 -1
  577. package/dist/dso-toolkit/p-b6a747b3.entry.js +0 -1
  578. package/dist/dso-toolkit/p-be6bbcf3.entry.js +0 -1
  579. package/dist/dso-toolkit/p-c525f97c.entry.js +0 -1
  580. package/dist/dso-toolkit/p-d71f20c0.entry.js +0 -1
  581. package/dist/dso-toolkit/p-d92b4f7b.entry.js +0 -1
  582. package/dist/dso-toolkit/p-de3ece98.entry.js +0 -1
  583. package/dist/dso-toolkit/p-e9bcbf0c.entry.js +0 -1
  584. package/dist/dso-toolkit/p-jq9f4Z3R.js +0 -1
@@ -105,7 +105,7 @@ export class DsoDatePicker {
105
105
  return undefined;
106
106
  }
107
107
  render() {
108
- return (h("input", { key: '181c385766ca51b1e53cc0d086bb9283c45446a6', type: "date", id: this.identifier, class: "dso-date__input", value: parseToValueFormat(this.value), name: this.name, min: parseToValueFormat(this.min), max: parseToValueFormat(this.max), disabled: this.disabled || undefined, required: this.required || undefined, "aria-autocomplete": "none", "aria-invalid": this.invalid?.toString(), "aria-describedby": this.describedBy, autoComplete: "off", autofocus: this.dsoAutofocus || undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, onChange: this.handleInputChange }));
108
+ return (h("input", { key: '9687b85b3241b120259055e5adfdef71a3a46acf', type: "date", id: this.identifier, class: "dso-date__input", value: parseToValueFormat(this.value), name: this.name, min: parseToValueFormat(this.min), max: parseToValueFormat(this.max), disabled: this.disabled || undefined, required: this.required || undefined, "aria-autocomplete": "none", "aria-invalid": this.invalid?.toString(), "aria-describedby": this.describedBy, autoComplete: "off", autofocus: this.dsoAutofocus || undefined, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, onChange: this.handleInputChange }));
109
109
  }
110
110
  static get is() { return "dso-date-picker"; }
111
111
  static get encapsulation() { return "scoped"; }
@@ -279,18 +279,18 @@ export class DsoDatePicker {
279
279
  "defaultValue": "\"\""
280
280
  },
281
281
  "min": {
282
- "type": "string",
282
+ "type": "any",
283
283
  "mutable": false,
284
284
  "complexType": {
285
- "original": "string | undefined",
286
- "resolved": "string | undefined",
285
+ "original": "string | number | undefined",
286
+ "resolved": "number | string | undefined",
287
287
  "references": {}
288
288
  },
289
289
  "required": false,
290
290
  "optional": false,
291
291
  "docs": {
292
292
  "tags": [],
293
- "text": "Minimum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.\r\nThis setting can be used alone or together with the max property."
293
+ "text": "Minimum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.\r\nThis setting can be used alone or together with the max property.\r\nNumeric values from Angular Signal Forms do not set a date limit."
294
294
  },
295
295
  "getter": false,
296
296
  "setter": false,
@@ -298,18 +298,18 @@ export class DsoDatePicker {
298
298
  "attribute": "min"
299
299
  },
300
300
  "max": {
301
- "type": "string",
301
+ "type": "any",
302
302
  "mutable": false,
303
303
  "complexType": {
304
- "original": "string | undefined",
305
- "resolved": "string | undefined",
304
+ "original": "string | number | undefined",
305
+ "resolved": "number | string | undefined",
306
306
  "references": {}
307
307
  },
308
308
  "required": false,
309
309
  "optional": false,
310
310
  "docs": {
311
311
  "tags": [],
312
- "text": "Maximum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.\r\nThis setting can be used alone or together with the min property."
312
+ "text": "Maximum date allowed to be picked. Must be in Dutch date format: DD-MM-YYYY.\r\nThis setting can be used alone or together with the min property.\r\nNumeric values from Angular Signal Forms do not set a date limit."
313
313
  },
314
314
  "getter": false,
315
315
  "setter": false,
@@ -2,7 +2,7 @@
2
2
  * dd-mm-yyyy to yyyy-mm-dd
3
3
  */
4
4
  export function parseToValueFormat(value) {
5
- if (!value) {
5
+ if (!value || typeof value !== "string") {
6
6
  return;
7
7
  }
8
8
  const matches = value.split("-");
@@ -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"; }
@@ -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
  /**
@@ -10,7 +13,7 @@ export class DropdownMenu {
10
13
  this.variant = "secondary";
11
14
  this.open = false;
12
15
  this.focusOutListener = (event) => {
13
- if (this.open && !(event.relatedTarget instanceof HTMLElement)) {
16
+ if (this.open && !this.isInsideDropdownMenu(event.relatedTarget)) {
14
17
  this.toggleOptions(false);
15
18
  }
16
19
  };
@@ -168,6 +171,9 @@ export class DropdownMenu {
168
171
  disconnectedCallback() {
169
172
  this.toggleOptions(false);
170
173
  }
174
+ isInsideDropdownMenu(element) {
175
+ return element instanceof Node && (this.host.contains(element) || !!this.host.shadowRoot?.contains(element));
176
+ }
171
177
  get lastItem() {
172
178
  return this.dropdownMenuTabbables(true).at(-1);
173
179
  }
@@ -200,7 +206,7 @@ export class DropdownMenu {
200
206
  }
201
207
  render() {
202
208
  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' })))));
209
+ return (h(Host, { key: '0e2e2c0226bec7638b3d60baab089708191dd6eb', onFocusout: this.focusOutListener, onKeyDown: this.keyDownHandler }, this.label && (h("button", { key: '4e11b83883f18b991eab4c219b4bebb2eb1317fb', 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: '7d2d0724c47777fc68d815cc5d92c0d5ac996ab6', icon: this.open ? "chevron-up" : "chevron-down" }))), h("div", { key: 'ab88d386a9d8974162728f663bda7e279368f04b', popover: "manual", class: "dso-dropdown-options", "aria-labelledby": buttonId, role: "menu", ref: (element) => (this.popoverElement = element) }, h("dso-scrollable", { key: '3e1dda4a8dcd2678cdf96a6125124384444051ab' }, h("slot", { key: '8954e92ac331853d1dd3d7a0089caf4754cdd3e8' })))));
204
210
  }
205
211
  static get is() { return "dso-dropdown-menu"; }
206
212
  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"; }
@@ -17,10 +17,12 @@
17
17
  :host([is-compact]) .dropdown-menu .dropdown-menu-options {
18
18
  inline-size: 100%;
19
19
  }
20
-
21
- :host(:not([is-compact])) .dso-header {
22
- align-items: center;
20
+ @media screen and (min-width: 481px) {
21
+ :host([is-compact]) .dropdown-menu .dropdown-menu-options {
22
+ inline-size: 265px;
23
+ }
23
24
  }
25
+
24
26
  :host(:not([is-compact])) .dropdown-menu .dropdown-menu-options {
25
27
  inline-size: 375px;
26
28
  }
@@ -33,11 +35,37 @@ div[popover] {
33
35
  overflow: unset;
34
36
  inline-size: max-content;
35
37
  }
38
+ @media screen and (max-width: 480px) {
39
+ div[popover] {
40
+ inset-inline: 0 !important;
41
+ inline-size: 100%;
42
+ }
43
+ div[popover] .dropdown-menu-options {
44
+ inline-size: 100%;
45
+ max-inline-size: none !important;
46
+ }
47
+ div[popover]::before {
48
+ content: "";
49
+ position: absolute;
50
+ inset-block-start: -1px;
51
+ inset-inline: 0;
52
+ border-block-end: 1px solid #ccc;
53
+ }
54
+ div[popover]::after {
55
+ content: "";
56
+ position: absolute;
57
+ inset-block-start: 100%;
58
+ inset-inline: 0;
59
+ block-size: 100vh;
60
+ background-color: rgba(255, 255, 255, 0.8);
61
+ }
62
+ }
36
63
 
37
64
  .dso-header {
38
- border-block-end: 1px solid #ccc;
65
+ border-block-end: 1px solid #e5e5e5;
39
66
  display: flex;
40
67
  flex-wrap: wrap;
68
+ align-items: center;
41
69
  position: relative;
42
70
  }
43
71
  .dso-header .dso-nav {
@@ -53,7 +81,6 @@ div[popover] {
53
81
 
54
82
  .dso-header-session {
55
83
  display: flex;
56
- align-items: center;
57
84
  margin-inline-start: auto;
58
85
  }
59
86
  .dso-header-session .profile .dso-tertiary,
@@ -79,16 +106,20 @@ div[popover] {
79
106
  .dso-header-session .help .dso-tertiary:hover {
80
107
  text-decoration: underline;
81
108
  }
82
- .dso-header-session .profile + .logout,
83
- .dso-header-session .logout + .help,
84
- .dso-header-session .login + .help {
85
- border-inline-start: 3px solid #ccc;
86
- margin-inline-start: 8px;
87
- padding-inline-start: 8px;
88
- }
89
- .dso-header-session .help a,
90
- .dso-header-session .help button {
91
- display: flex;
109
+ @media screen and (min-width: 481px) {
110
+ .dso-header-session .profile + .logout,
111
+ .dso-header-session .logout + .help,
112
+ .dso-header-session .login + .help, .dso-header-session:has(*) + .dropdown {
113
+ border-inline-start: 3px solid #ccc;
114
+ block-size: 20px;
115
+ margin-inline-start: 8px;
116
+ padding-inline-start: 8px;
117
+ }
118
+ }
119
+ @media screen and (min-width: 481px) {
120
+ .dso-header-session .help a {
121
+ gap: 4px;
122
+ }
92
123
  }
93
124
 
94
125
  .dso-navbar {
@@ -109,6 +140,7 @@ div[popover] {
109
140
  line-height: normal;
110
141
  letter-spacing: inherit;
111
142
  position: relative;
143
+ padding-inline-start: 0;
112
144
  }
113
145
  .dropdown-menu button::after {
114
146
  margin-inline-start: 8px;
@@ -127,9 +159,6 @@ div[popover] {
127
159
  margin-inline-start: 8px;
128
160
  padding-block-start: 2px;
129
161
  }
130
- .dropdown-menu button[aria-expanded=true] dso-icon {
131
- transform: rotate(180deg);
132
- }
133
162
  .dropdown-menu .dropdown-menu-options {
134
163
  box-sizing: border-box;
135
164
  background-clip: padding-box;
@@ -149,7 +178,7 @@ div[popover] {
149
178
  list-style: none;
150
179
  }
151
180
  .dropdown-menu .dropdown-menu-options ul:not(:last-child) {
152
- border-block-end: 1px solid #e5e5e5;
181
+ border-block-end: 1px solid #ccc;
153
182
  margin-block-end: 11px;
154
183
  padding-block-end: 11px;
155
184
  }
@@ -178,39 +207,29 @@ div[popover] {
178
207
  text-decoration: none;
179
208
  white-space: nowrap;
180
209
  }
181
- .dropdown-menu .dropdown-menu-options ul li a:hover, .dropdown-menu .dropdown-menu-options ul li a:focus,
182
- .dropdown-menu .dropdown-menu-options ul li button:hover,
210
+ .dropdown-menu .dropdown-menu-options ul li a:focus,
183
211
  .dropdown-menu .dropdown-menu-options ul li button:focus {
184
- background-color: #39870c;
185
- border-color: #39870c;
186
- color: #fff;
187
- text-decoration: none;
188
- }
189
- .dropdown-menu .dropdown-menu-options ul li a:focus-visible,
190
- .dropdown-menu .dropdown-menu-options ul li button:focus-visible {
191
- background-color: #39870c;
192
- color: #fff;
193
- }
194
- .dropdown-menu .dropdown-menu-options ul li a:hover, .dropdown-menu .dropdown-menu-options ul li a:hover:visited,
195
- .dropdown-menu .dropdown-menu-options ul li button:hover,
196
- .dropdown-menu .dropdown-menu-options ul li button:hover:visited {
197
- color: #275937;
198
- }
199
- .dropdown-menu .dropdown-menu-options ul li a:hover,
200
- .dropdown-menu .dropdown-menu-options ul li button:hover {
201
- background-color: #fff;
202
212
  text-decoration: underline;
203
213
  }
204
- .dropdown-menu .dropdown-menu-options ul li a:visited,
205
- .dropdown-menu .dropdown-menu-options ul li button:visited {
214
+ .dropdown-menu .dropdown-menu-options ul li.dso-active a,
215
+ .dropdown-menu .dropdown-menu-options ul li.dso-active button {
216
+ background-color: #275937;
206
217
  color: #fff;
207
218
  }
208
- .dropdown-menu .dropdown-menu-options ul li a:visited:not(:hover):not(:focus):not(:focus-visible),
209
- .dropdown-menu .dropdown-menu-options ul li button:visited:not(:hover):not(:focus):not(:focus-visible) {
210
- color: #275937;
219
+ .dropdown-menu .dropdown-menu-options ul li a.dso-tertiary,
220
+ .dropdown-menu .dropdown-menu-options ul li button.dso-tertiary {
221
+ align-items: center;
222
+ display: flex;
223
+ gap: 10px;
211
224
  }
212
- .dropdown-menu .dropdown-menu-options ul li.dso-active a {
213
- font-weight: 600;
225
+ .dropdown-menu .dropdown-menu-options ul li a.dso-tertiary dso-icon,
226
+ .dropdown-menu .dropdown-menu-options ul li button.dso-tertiary dso-icon {
227
+ margin-inline-start: 0;
228
+ order: -1;
229
+ }
230
+ .dropdown-menu .dropdown-menu-options ul li a.dso-tertiary span,
231
+ .dropdown-menu .dropdown-menu-options ul li button.dso-tertiary span {
232
+ order: 0;
214
233
  }
215
234
  .dropdown-menu .dropdown-menu-options ul li + li {
216
235
  border-block-start: 1px solid #ccc;
@@ -1,6 +1,7 @@
1
1
  export const translations = {
2
2
  en: {
3
3
  "dso-header": {
4
+ menuOpen: "Close",
4
5
  menu: "Menu",
5
6
  login: "Log in",
6
7
  logout: "Log out",
@@ -10,6 +11,7 @@ export const translations = {
10
11
  },
11
12
  nl: {
12
13
  "dso-header": {
14
+ menuOpen: "Sluiten",
13
15
  menu: "Menu",
14
16
  login: "Inloggen",
15
17
  logout: "Uitloggen",
@@ -9,6 +9,10 @@ import { isModifiedEvent } from "../../utils/is-modified-event";
9
9
  import { translations } from "./header.i18n";
10
10
  import { MenuItem } from "./menu-item.functional-component";
11
11
  const minDesktopViewportWidth = 992;
12
+ const minMobileViewportWidth = 480;
13
+ /**
14
+ * @slot logo - A slot to place the logo element (e.g. `dso-logo`) in.
15
+ */
12
16
  export class Header {
13
17
  constructor() {
14
18
  /**
@@ -129,6 +133,9 @@ export class Header {
129
133
  get isCompact() {
130
134
  return this.compact === "always" || window.innerWidth < minDesktopViewportWidth;
131
135
  }
136
+ get isMobileViewport() {
137
+ return window.innerWidth <= minMobileViewportWidth;
138
+ }
132
139
  /**
133
140
  * Before determining the visible menu items, all the menu items are rendered (including the dropdown menu item and the user home menu item).
134
141
  * Then the visible menu items are calculated in componentDidRender() and ONLY when the visibleMenuItemsCount is undefined.
@@ -271,7 +278,7 @@ export class Header {
271
278
  }
272
279
  }
273
280
  render() {
274
- return (h(Host, { key: '70ed6e8dc9a02875dd773c205af3549b324dfb8e', "is-compact": this.isCompact }, h("div", { key: 'ab3f94264421bca5caec2ae59f5b40f6934a440e', class: "dso-header" }, h("div", { key: 'f092ce977dcd3acd0d9620af8506cb138ee1f0a7', class: "logo-container" }, h("slot", { key: '898f5c094fd6dd18ec4e843a240c31081e2a9253', name: "logo" })), this.isCompact ? this.renderCompact() : this.renderNormal())));
281
+ return (h(Host, { key: 'cb1ed3299e9c55352cab476696bd2d6ad94cbd54', "is-compact": this.isCompact }, h("div", { key: '218cefd65ca18da0237e39fba0aba06259119254', class: "dso-header" }, h("div", { key: 'c7681803acf271892e46819e3d9568ebc3ed849a', class: "logo-container" }, h("slot", { key: 'cba4cf96314214ee2af03501ede754c879d31fec', name: "logo" })), this.renderHeaderSession(), this.isCompact ? this.renderCompact() : this.renderNormal())));
275
282
  }
276
283
  tabbables(withButton) {
277
284
  const tabbables = this.dropdownElement ? tabbable(this.dropdownElement) : [];
@@ -287,12 +294,27 @@ export class Header {
287
294
  this.cleanUp = undefined;
288
295
  }
289
296
  }
297
+ renderHelp() {
298
+ return this.helpUrl ? (h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" }))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" })));
299
+ }
300
+ renderLogin(tertiary = true) {
301
+ return this.loginUrl ? (h("a", { href: this.loginUrl, class: tertiary ? "dso-tertiary" : undefined, onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, h("dso-icon", { icon: "user-outline" }), h("span", null, this.text("login")))) : (h("button", { class: tertiary ? "dso-tertiary" : undefined, type: "button", onClick: (e) => this.clickHandler(e, "login") }, h("dso-icon", { icon: "user-outline" }), h("span", null, this.text("login"))));
302
+ }
303
+ renderLogout() {
304
+ return this.logoutUrl ? (h("a", { href: this.logoutUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout")));
305
+ }
306
+ renderHeaderSession() {
307
+ return (h("div", { class: "dso-header-session" }, !this.isCompact && (h(Fragment, null, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("div", { class: "profile" }, h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && h("div", { class: "login" }, this.renderLogin()), this.authStatus === "loggedIn" && h("div", { class: "logout" }, this.renderLogout()))), this.showHelp && !this.isMobileViewport && h("div", { class: "help" }, this.renderHelp())));
308
+ }
290
309
  renderCompact() {
291
- return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: uuidv4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, h("span", null, this.text("menu")), h("dso-icon", { icon: "chevron-down" })), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("dso-scrollable", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", { role: "group" }, this.mainMenu.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (h("li", { role: "menuitem" }, h("a", { href: this.userHomeUrl, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, this.text("userHome")))), this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("li", { role: "menuitem" }, h("a", { href: this.userProfileUrl, onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName, h("span", { class: "profile-label" }, " - Mijn profiel")))), this.authStatus === "loggedOut" && (h("li", { role: "menuitem" }, this.loginUrl ? (h("a", { href: this.loginUrl, onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (h("button", { type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (h("li", { role: "menuitem" }, this.logoutUrl ? (h("a", { href: this.logoutUrl, onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (h("button", { type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (h("li", { role: "menuitem" }, this.helpUrl ? (h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" }))) : (h("button", { type: "button", class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" }))))))))))));
310
+ return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: uuidv4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, this.renderMenuToggleContent(this.isMobileViewport, this.open)), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("dso-scrollable", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", { role: "group" }, this.mainMenu.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (h("li", { role: "menuitem" }, h("a", { href: this.userHomeUrl, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, this.text("userHome")))), this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("li", { role: "menuitem" }, h("a", { href: this.userProfileUrl, onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName, h("span", { class: "profile-label" }, " - Mijn profiel")))), this.authStatus === "loggedIn" && h("li", { role: "menuitem" }, this.renderLogout()), this.authStatus === "loggedOut" && h("li", { role: "menuitem" }, this.renderLogin()), this.showHelp && this.isMobileViewport && h("li", { role: "menuitem" }, this.renderHelp()))))))));
311
+ }
312
+ renderMenuToggleContent(isMobileViewport, open) {
313
+ return (h(Fragment, null, h("span", null, open && isMobileViewport ? this.text("menuOpen") : this.text("menu")), isMobileViewport ? (h("dso-icon", { icon: open ? "cross" : "bars" })) : (h("dso-icon", { icon: open ? "chevron-up" : "chevron-down" }))));
292
314
  }
293
315
  renderNormal() {
294
316
  this.menuItemElementRefs = [];
295
- return (h(Fragment, null, h("div", { class: "dso-header-session" }, this.userProfileUrl && this.userProfileName && this.authStatus === "loggedIn" && (h("div", { class: "profile" }, h("a", { href: this.userProfileUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "profile", { url: this.userProfileUrl }) }, this.userProfileName))), this.authStatus === "loggedOut" && (h("div", { class: "login" }, this.loginUrl ? (h("a", { href: this.loginUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "login", { url: this.loginUrl }) }, this.text("login"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "login") }, this.text("login"))))), this.authStatus === "loggedIn" && (h("div", { class: "logout" }, this.logoutUrl ? (h("a", { href: this.logoutUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "logout", { url: this.logoutUrl }) }, this.text("logout"))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "logout") }, this.text("logout"))))), this.showHelp && (h("div", { class: "help" }, this.helpUrl ? (h("a", { href: this.helpUrl, class: "dso-tertiary", onClick: (e) => this.clickHandler(e, "help", { url: this.helpUrl }) }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" }))) : (h("button", { class: "dso-tertiary", type: "button", onClick: (e) => this.clickHandler(e, "help") }, h("span", null, this.text("help")), h("dso-icon", { icon: "help-outline" })))))), (this.mainMenu.length > 0 || this.userHomeUrl) && (h("nav", { class: "dso-navbar" }, h("ul", { class: clsx("dso-nav", "dso-nav-main", { ready: this.visibleMenuItemsCount !== undefined }), ref: (element) => (this.navElement = element) }, this.visibleMainMenuItems.map((menuItem, i) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label, ref: (el) => (this.menuItemElementRefs[i] = el) }))), (this.visibleMenuItemsCount === undefined || this.hiddenMainMenuItems.length > 0) && (h("li", { "aria-hidden": this.visibleMenuItemsCount === undefined, ref: (el) => (this.dropdownMenuItemElementRef = el), class: "dropdown-menu-item" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: uuidv4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, h("span", null, this.text("overflowMenu")), h("dso-icon", { icon: "chevron-down", class: "main-menu-item-icon" })), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("div", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", null, this.hiddenMainMenuItems.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))))))))), this.userHomeUrl && (h("li", { class: clsx("menu-user-home", { "dso-active": this.userHomeActive }), ref: (el) => (this.userHomeMenuItemElementRef = el) }, h("a", { href: this.userHomeUrl, "aria-current": this.userHomeActive ? "page" : undefined, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, h("dso-icon", { icon: "user-outline", class: "main-menu-item-icon" }), this.text("userHome")))))))));
317
+ return (h(Fragment, null, (this.mainMenu.length > 0 || this.userHomeUrl) && (h("nav", { class: "dso-navbar" }, h("ul", { class: clsx("dso-nav", "dso-nav-main", { ready: this.visibleMenuItemsCount !== undefined }), ref: (element) => (this.navElement = element) }, this.visibleMainMenuItems.map((menuItem, i) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label, ref: (el) => (this.menuItemElementRefs[i] = el) }))), (this.visibleMenuItemsCount === undefined || this.hiddenMainMenuItems.length > 0) && (h("li", { "aria-hidden": this.visibleMenuItemsCount === undefined, ref: (el) => (this.dropdownMenuItemElementRef = el), class: "dropdown-menu-item" }, h("div", { class: "dropdown-menu", onFocusout: this.focusOutListener, ref: (element) => (this.dropdownElement = element) }, h("button", { id: uuidv4(), type: "button", onClick: () => this.toggleOptions(), ref: (element) => (this.dropdownButtonElement = element), "aria-haspopup": "menu", "aria-expanded": this.open ? "true" : "false" }, h("span", null, this.text("overflowMenu")), h("dso-icon", { icon: "chevron-down", class: "main-menu-item-icon" })), h("div", { popover: "manual", ref: (element) => (this.popoverElement = element) }, h("div", { class: "dropdown-menu-options", role: "menu", "aria-labelledby": this.dropdownButtonElement?.id, onKeyDown: this.keyDownHandler }, h("ul", null, this.hiddenMainMenuItems.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))))))))), this.userHomeUrl && (h("li", { class: clsx("menu-user-home", { "dso-active": this.userHomeActive }), ref: (el) => (this.userHomeMenuItemElementRef = el) }, h("a", { href: this.userHomeUrl, "aria-current": this.userHomeActive ? "page" : undefined, onClick: (e) => this.clickHandler(e, "userHome", { url: this.userHomeUrl }) }, h("dso-icon", { icon: "user-outline", class: "main-menu-item-icon" }), this.text("userHome")))))))));
296
318
  }
297
319
  static get is() { return "dso-header"; }
298
320
  static get encapsulation() { return "shadow"; }
@@ -1,8 +1,12 @@
1
1
  import { Host, h } from "@stencil/core";
2
+ /**
3
+ * @slot - A slot to place content inside the highlight box.
4
+ * @slot icon - A slot to display an icon inside the step counter instead of a step number.
5
+ */
2
6
  export class HighlightBox {
3
7
  render() {
4
8
  const hasCounter = this.step || !!this.element.querySelector("[slot=icon]");
5
- return (h(Host, { key: 'a31042efc0e6676e06f08765d05320c2debe0b87', "has-counter": hasCounter }, hasCounter && (h("div", { key: 'ae5f42277bd801d07ac66467c652e211c8e8fe14', class: "dso-step-counter", "aria-hidden": "true" }, this.step ?? h("slot", { key: '7d8424c37b64775e83f34eb3f2165e8965c428bd', name: "icon" }))), h("slot", { key: '22edb75de8bb54565157a80a7be1ab82b7b12773' })));
9
+ return (h(Host, { key: '91d00560a3617308d002684f4c67c940b16dc1c7', "has-counter": hasCounter }, hasCounter && (h("div", { key: 'ed7997c8e77b13b44e5a567ee31116ba937fc6c2', class: "dso-step-counter", "aria-hidden": "true" }, this.step ?? h("slot", { key: '4993d27042a6a7839da8fd679625dbe17a1cd3b2', name: "icon" }))), h("slot", { key: 'bfab78815718775c72114b51730d229c1d2b3615' })));
6
10
  }
7
11
  static get is() { return "dso-highlight-box"; }
8
12
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,15 @@
1
1
  import { h } from "@stencil/core";
2
- import { positionTooltip } from "../../functional-components/tooltip/position-tooltip.function";
2
+ import { TooltipController } from "../../functional-components/tooltip/tooltip.controller";
3
3
  import { Tooltip } from "../../functional-components/tooltip/tooltip.functional-component";
4
4
  export class IconButton {
5
5
  constructor() {
6
- this.lastClickTime = 0;
7
- this.tooltipShowDelay = 500;
6
+ this.tooltipController = new TooltipController({
7
+ getReferenceElement: () => this.buttonElRef,
8
+ getTipElement: () => this.tooltipElRef,
9
+ getTipArrowElement: () => this.tooltipArrowElRef,
10
+ getPlacement: () => this.tooltipPlacement,
11
+ showDelay: 500,
12
+ });
8
13
  /**
9
14
  * The variant of the Icon Button.
10
15
  */
@@ -21,43 +26,13 @@ export class IconButton {
21
26
  if (this.disabled) {
22
27
  return;
23
28
  }
24
- // Don't show the tooltip if the button is clicked within 500ms of the last click
25
- if (Date.now() - this.lastClickTime < this.tooltipShowDelay) {
26
- return;
27
- }
28
- this.clearToolTipTimeout();
29
- this.tooltipTimeout = window.setTimeout(() => {
30
- if (!this.tooltipElRef?.isConnected) {
31
- return;
32
- }
33
- this.tooltipElRef?.showPopover();
34
- if (!this.cleanUpFunction && this.buttonElRef && this.tooltipElRef && this.tooltipArrowElRef) {
35
- this.cleanUpFunction = positionTooltip({
36
- referenceElement: this.buttonElRef,
37
- tipRef: this.tooltipElRef,
38
- tipArrowRef: this.tooltipArrowElRef,
39
- placementTip: this.tooltipPlacement,
40
- topPositionSmallViewPort: false,
41
- halfMainAxisOffset: false,
42
- forceVisible: true,
43
- });
44
- }
45
- }, this.tooltipShowDelay);
46
- };
47
- this.clearToolTipTimeout = () => {
48
- if (this.tooltipTimeout) {
49
- clearTimeout(this.tooltipTimeout);
50
- }
29
+ this.tooltipController.show();
51
30
  };
52
31
  this.handleHideTooltip = () => {
53
- this.clearToolTipTimeout();
54
- if (this.tooltipElRef?.isConnected && this.tooltipElRef.matches(":popover-open")) {
55
- this.tooltipElRef.hidePopover();
56
- }
57
- this.cleanUpTooltip();
32
+ this.tooltipController.hide();
58
33
  };
59
34
  this.handleClick = (event) => {
60
- this.lastClickTime = Date.now();
35
+ this.tooltipController.notifyClick();
61
36
  this.handleHideTooltip();
62
37
  this.dsoClick.emit({ originalEvent: event, toggled: !this.toggled });
63
38
  };
@@ -68,16 +43,11 @@ export class IconButton {
68
43
  async setFocus() {
69
44
  this.buttonElRef?.focus();
70
45
  }
71
- cleanUpTooltip() {
72
- this.cleanUpFunction?.();
73
- this.cleanUpFunction = undefined;
74
- }
75
46
  disconnectedCallback() {
76
- this.clearToolTipTimeout();
77
- this.cleanUpTooltip();
47
+ this.tooltipController.dispose();
78
48
  }
79
49
  render() {
80
- return (h("button", { key: 'dff33a98f0a06ee8c7875ea2361cf9dbb2033946', ref: (element) => (this.buttonElRef = element), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant} ${this.toggled ? "toggled" : ""}`, "aria-pressed": this.toggled?.toString(), "aria-expanded": this.expanded?.toString(), onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, h("dso-icon", { key: 'd4770a99eac2fb86e572b6a67595e948bbb8076e', icon: this.icon, "aria-hidden": "true" }), h(Tooltip, { key: '0a8b3a5194d8fd3b1c7110f9a760b13e16b570d7', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label)));
50
+ return (h("button", { key: '7d3bf4a79f897ec497bd7309b4f841bfa894a577', ref: (element) => (this.buttonElRef = element), type: "button", disabled: this.disabled, "aria-label": this.label, class: `icon-button dso-${this.variant} ${this.toggled ? "toggled" : ""}`, "aria-pressed": this.toggled?.toString(), "aria-expanded": this.expanded?.toString(), onMouseEnter: this.handleShowTooltip, onMouseLeave: this.handleHideTooltip, onFocus: this.handleShowTooltip, onBlur: this.handleHideTooltip, onClick: this.handleClick }, h("dso-icon", { key: 'a3c3df83e533e83df10f5b8d7926f70a49422e30', icon: this.icon, "aria-hidden": "true" }), h(Tooltip, { key: '8e2334a4b4ecaecf91394a4743f5757bf3e3044e', tipElementRef: (element) => (this.tooltipElRef = element), tipArrowElementRef: (element) => (this.tooltipArrowElRef = element) }, this.label)));
81
51
  }
82
52
  static get is() { return "dso-icon-button"; }
83
53
  static get encapsulation() { return "shadow"; }