@dso-toolkit/core 95.2.0 → 96.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 (400) hide show
  1. package/dist/bundle/dso-accordion-section.js +9 -9
  2. package/dist/bundle/dso-accordion.js +1 -1
  3. package/dist/bundle/dso-action-list-item.js +2 -2
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +11 -10
  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 +6 -6
  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 +4 -4
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +1 -1
  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.js +203 -1
  25. package/dist/bundle/dso-expandable.js +1 -1
  26. package/dist/bundle/dso-header.js +108 -15
  27. package/dist/bundle/dso-highlight-box.js +1 -1
  28. package/dist/bundle/dso-history-item.js +2 -2
  29. package/dist/bundle/dso-icon-button.js +1 -1
  30. package/dist/bundle/dso-icon.js +1 -1
  31. package/dist/bundle/dso-image-overlay.js +1 -1
  32. package/dist/bundle/dso-info-button.js +1 -1
  33. package/dist/bundle/dso-info.js +1 -1
  34. package/dist/bundle/dso-input-range.js +1 -1
  35. package/dist/bundle/dso-label.js +1 -1
  36. package/dist/bundle/dso-legend-group.js +3 -3
  37. package/dist/bundle/dso-legend-item.js +9 -9
  38. package/dist/bundle/dso-legend.js +4 -4
  39. package/dist/bundle/dso-list-button.js +7 -7
  40. package/dist/bundle/dso-logo.js +1 -1
  41. package/dist/bundle/dso-map-base-layers.js +7 -7
  42. package/dist/bundle/dso-map-controls.js +5 -5
  43. package/dist/bundle/dso-map-layer-object.js +4 -4
  44. package/dist/bundle/dso-map-layer.js +4 -4
  45. package/dist/bundle/dso-map-message.js +3 -3
  46. package/dist/bundle/dso-map-overlays.js +7 -7
  47. package/dist/bundle/dso-mark-bar.js +3 -3
  48. package/dist/bundle/dso-modal.js +1 -1
  49. package/dist/bundle/dso-onboarding-tip.js +5 -5
  50. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  51. package/dist/bundle/dso-ozon-content.js +1 -1
  52. package/dist/bundle/dso-pagination.js +3 -3
  53. package/dist/bundle/dso-panel.js +1 -1
  54. package/dist/bundle/dso-plekinfo-card.js +4 -4
  55. package/dist/bundle/dso-progress-indicator.js +1 -1
  56. package/dist/bundle/dso-project-item.js +4 -4
  57. package/dist/bundle/dso-renvooi.js +1 -1
  58. package/dist/bundle/dso-responsive-element.js +1 -1
  59. package/dist/bundle/dso-scrollable.js +1 -1
  60. package/dist/bundle/dso-segmented-button.js +1 -1
  61. package/dist/bundle/dso-selectable.js +1 -1
  62. package/dist/bundle/dso-skiplink.js +2 -2
  63. package/dist/bundle/dso-slide-toggle.js +1 -1
  64. package/dist/bundle/dso-survey-rating.js +5 -5
  65. package/dist/bundle/dso-tab.js +1 -1
  66. package/dist/bundle/dso-table.js +1 -1
  67. package/dist/bundle/dso-tabs.js +1 -1
  68. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  69. package/dist/bundle/dso-tooltip.js +1 -1
  70. package/dist/bundle/dso-tree-view.js +3 -3
  71. package/dist/bundle/dso-viewer-grid.js +1 -1
  72. package/dist/bundle/dsot-document-component-demo.js +18 -18
  73. package/dist/bundle/index.js +2 -2
  74. package/dist/bundle/{p-C_yE-yT4.js → p-59kJLyHW.js} +2 -2
  75. package/dist/bundle/p-B0uMC739.js +166 -0
  76. package/dist/bundle/{p-CbZsDFSf.js → p-B59_zDt7.js} +4 -4
  77. package/dist/bundle/{p-DBi6XQa8.js → p-BIShp3sw.js} +1 -1
  78. package/dist/bundle/{p-Bh6sbzpT.js → p-BNEJjrr8.js} +2 -2
  79. package/dist/bundle/{p-DZGMkIzK.js → p-Bmlt2DmQ.js} +4 -4
  80. package/dist/bundle/p-Bq0uu4Hw.js +83 -0
  81. package/dist/bundle/{p-7h6dLq9M.js → p-C8XiO-Wa.js} +1 -1
  82. package/dist/bundle/{p-B-VMnSMl.js → p-CLOFxKEP.js} +5 -5
  83. package/dist/bundle/{p-BLZJxjte.js → p-CSIJlEGw.js} +5 -5
  84. package/dist/bundle/{p-DInlGNus.js → p-CWmPLVV_.js} +10 -10
  85. package/dist/bundle/p-CZ4y0u8f.js +124 -0
  86. package/dist/bundle/{p-DIM0fY1S.js → p-CaIC9qQK.js} +1 -1
  87. package/dist/bundle/{p-B3m8trPV.js → p-CgXakBQA.js} +1 -1
  88. package/dist/bundle/{p-DQ4k80p_.js → p-Clsgdvn9.js} +1 -1
  89. package/dist/bundle/{p-CjrG2WYI.js → p-DFsS5-fk.js} +9 -9
  90. package/dist/bundle/{p-CuGyp3WQ.js → p-DI8rxU8b.js} +1 -1
  91. package/dist/bundle/{p-ClIxAe6b.js → p-DNwAVxmk.js} +5 -5
  92. package/dist/bundle/{p-B9XEou_S.js → p-DQjbC88c.js} +4 -4
  93. package/dist/bundle/{p-DV3b_VnF.js → p-DUg2fsNj.js} +1 -1
  94. package/dist/bundle/{p-DAF7EsKp.js → p-DYD-46VI.js} +4 -4
  95. package/dist/bundle/{p-BSaHsr79.js → p-DaRtnn5i.js} +1 -1
  96. package/dist/bundle/{p-CpHN9nNa.js → p-Db33kA_6.js} +1 -1
  97. package/dist/bundle/{p-RkXc1mJn.js → p-DdpyZaP7.js} +6 -6
  98. package/dist/bundle/{p-DoVqfHFv.js → p-DgKvq-q9.js} +1 -1
  99. package/dist/bundle/{p-5nlGueoS.js → p-WEiXvjCu.js} +1 -1
  100. package/dist/bundle/{p-B5uIYOPn.js → p-XuOq2p5M.js} +14 -14
  101. package/dist/bundle/p-kacTtdx5.js +189 -0
  102. package/dist/bundle/{p-NCJ9jUD-.js → p-rHiKziuf.js} +1 -1
  103. package/dist/bundle/{p-BbrcIY5U.js → p-vBUHC-e7.js} +4 -4
  104. package/dist/cjs/{annotation-body-BYBiDMDz.js → annotation-body-DorcBRdu.js} +1 -1
  105. package/dist/cjs/{annotation-list-renvooi-values-D5GfwuRO.js → annotation-list-renvooi-values-DY_nt_wa.js} +1 -1
  106. package/dist/cjs/{annotation-watcher-DRtgT1BA.js → annotation-watcher-DuftgGaK.js} +1 -1
  107. package/dist/cjs/dso-accordion-section.cjs.entry.js +2 -2
  108. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  109. package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
  110. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  111. package/dist/cjs/dso-advanced-select.cjs.entry.js +5 -4
  112. package/dist/cjs/dso-alert_7.cjs.entry.js +9 -9
  113. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  114. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  115. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +3 -3
  116. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +6 -6
  117. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  118. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +2 -2
  119. package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
  120. package/dist/cjs/dso-banner.cjs.entry.js +1 -1
  121. package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
  122. package/dist/cjs/dso-card-container.cjs.entry.js +2 -2
  123. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  124. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  125. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +2 -2
  126. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  127. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  128. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  129. package/dist/cjs/dso-header.cjs.entry.js +104 -6
  130. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  131. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-icon_2.cjs.entry.js +10 -6
  133. package/dist/cjs/dso-info_3.cjs.entry.js +3 -3
  134. package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
  135. package/dist/cjs/dso-label_3.cjs.entry.js +4 -4
  136. package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-legend-item.cjs.entry.js +4 -4
  138. package/dist/cjs/dso-legend.cjs.entry.js +1 -1
  139. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  140. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  141. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  142. package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-map-layer-object.cjs.entry.js +3 -3
  144. package/dist/cjs/dso-map-layer.cjs.entry.js +3 -3
  145. package/dist/cjs/dso-map-message.cjs.entry.js +2 -2
  146. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  147. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  148. package/dist/cjs/dso-modal.cjs.entry.js +2 -2
  149. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  150. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  151. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  153. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  154. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  155. package/dist/cjs/dso-scrollable.cjs.entry.js +1 -1
  156. package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
  157. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  158. package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
  159. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  161. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  162. package/dist/cjs/dso-toolkit.cjs.js +2 -2
  163. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  164. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  165. package/dist/cjs/dso-viewer-grid.cjs.entry.js +1 -1
  166. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  167. package/dist/cjs/{index-v3FWnSvn.js → index-BOI4CviS.js} +1 -1
  168. package/dist/cjs/loader.cjs.js +2 -2
  169. package/dist/cjs/{parse-wijzigactie-from-node.function-joV1jDjd.js → parse-wijzigactie-from-node.function-BbYINqVA.js} +1 -1
  170. package/dist/cjs/{tooltip.functional-component-Dbxr_PJe.js → tooltip.functional-component-CW6vXWhM.js} +1 -1
  171. package/dist/cjs/{wrap-wijzigactie.functional-component-BDznkHgj.js → wrap-wijzigactie.functional-component-BOafAh_v.js} +1 -1
  172. package/dist/collection/components/accordion/components/accordion-section.css +8 -1
  173. package/dist/collection/components/action-list/action-list.css +8 -1
  174. package/dist/collection/components/advanced-select/advanced-select.css +64 -11
  175. package/dist/collection/components/advanced-select/advanced-select.js +3 -2
  176. package/dist/collection/components/alert/alert.css +32 -4
  177. package/dist/collection/components/annotation/annotation.css +16 -2
  178. package/dist/collection/components/attachments-counter/attachments-counter.js +2 -2
  179. package/dist/collection/components/badge/badge.css +240 -45
  180. package/dist/collection/components/card-container/card-container.css +6 -0
  181. package/dist/collection/components/cursor-tooltip/cursor-tooltip.css +10 -2
  182. package/dist/collection/components/document-component/document-component.css +16 -2
  183. package/dist/collection/components/header/header.css +81 -132
  184. package/dist/collection/components/header/header.js +104 -5
  185. package/dist/collection/components/icon-button/icon-button.css +67 -5
  186. package/dist/collection/components/icon-button/icon-button.js +27 -3
  187. package/dist/collection/components/image-overlay/image-overlay.css +32 -4
  188. package/dist/collection/components/info/info.css +8 -1
  189. package/dist/collection/components/label/label.css +88 -14
  190. package/dist/collection/components/legend/legend-item/legend-item.css +0 -3
  191. package/dist/collection/components/legend/legend-item/legend-item.js +2 -2
  192. package/dist/collection/components/map-layer/components/map-layer-object.css +23 -5
  193. package/dist/collection/components/map-layer/map-layer.css +16 -2
  194. package/dist/collection/components/map-message/map-message.css +10 -2
  195. package/dist/collection/components/modal/modal.js +1 -1
  196. package/dist/collection/components/onboarding-tip/onboarding-tip.css +10 -2
  197. package/dist/collection/components/ozon-content/ozon-content.css +112 -14
  198. package/dist/collection/components/panel/panel.css +8 -1
  199. package/dist/collection/components/plekinfo-card/plekinfo-card.css +16 -2
  200. package/dist/collection/components/renvooi/renvooi.css +16 -2
  201. package/dist/collection/components/survey-rating/survey-rating.css +64 -11
  202. package/dist/collection/components/tijdreis-banner/tijdreis-banner.css +10 -2
  203. package/dist/components/alert.js +1 -1
  204. package/dist/components/annotation-locatie.js +1 -1
  205. package/dist/components/attachments-counter.js +1 -1
  206. package/dist/components/badge.js +1 -1
  207. package/dist/components/document-component.js +1 -1
  208. package/dist/components/dso-accordion-section.js +1 -1
  209. package/dist/components/dso-action-list.js +1 -1
  210. package/dist/components/dso-advanced-select.js +3 -3
  211. package/dist/components/dso-annotation-activiteit.js +1 -1
  212. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  213. package/dist/components/dso-annotation-kaart.js +1 -1
  214. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  215. package/dist/components/dso-card-container.js +1 -1
  216. package/dist/components/dso-cursor-tooltip.js +1 -1
  217. package/dist/components/dso-dropdown-menu.js +1 -1
  218. package/dist/components/dso-header.js +1 -1
  219. package/dist/components/dso-legend-item.js +1 -1
  220. package/dist/components/dso-map-layer-object.js +1 -1
  221. package/dist/components/dso-map-layer.js +1 -1
  222. package/dist/components/dso-map-message.js +1 -1
  223. package/dist/components/dso-onboarding-tip.js +1 -1
  224. package/dist/components/dso-plekinfo-card.js +1 -1
  225. package/dist/components/dso-survey-rating.js +1 -1
  226. package/dist/components/dso-tijdreis-banner.js +1 -1
  227. package/dist/components/icon-button.js +1 -1
  228. package/dist/components/image-overlay.js +1 -1
  229. package/dist/components/info.js +1 -1
  230. package/dist/components/label.js +1 -1
  231. package/dist/components/modal.js +1 -1
  232. package/dist/components/ozon-content.js +1 -1
  233. package/dist/components/panel.js +1 -1
  234. package/dist/components/renvooi.js +1 -1
  235. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  236. package/dist/dso-toolkit/p-0a7a25b0.entry.js +1 -0
  237. package/dist/dso-toolkit/{p-cb1937ac.entry.js → p-0ac102e5.entry.js} +1 -1
  238. package/dist/dso-toolkit/{p-825dad32.entry.js → p-0bf03672.entry.js} +1 -1
  239. package/dist/dso-toolkit/p-1288e20c.entry.js +1 -0
  240. package/dist/dso-toolkit/p-1bb92456.entry.js +7 -0
  241. package/dist/dso-toolkit/{p-037cc6e2.entry.js → p-1ca49cd0.entry.js} +1 -1
  242. package/dist/dso-toolkit/{p-19645089.entry.js → p-22c3f8cc.entry.js} +1 -1
  243. package/dist/dso-toolkit/{p-252007ac.entry.js → p-24d2f855.entry.js} +1 -1
  244. package/dist/dso-toolkit/{p-57cd10e4.entry.js → p-2ce0f6e0.entry.js} +1 -1
  245. package/dist/dso-toolkit/p-2edbfaae.entry.js +1 -0
  246. package/dist/dso-toolkit/p-31b238ed.entry.js +1 -0
  247. package/dist/dso-toolkit/{p-0f58bc7d.entry.js → p-3e5a439d.entry.js} +1 -1
  248. package/dist/dso-toolkit/{p-fe202eef.entry.js → p-3ea66e8f.entry.js} +1 -1
  249. package/dist/dso-toolkit/{p-885f6260.entry.js → p-4020bb89.entry.js} +1 -1
  250. package/dist/dso-toolkit/{p-c6d4aacf.entry.js → p-414cdaee.entry.js} +1 -1
  251. package/dist/dso-toolkit/{p-d7c1ff76.entry.js → p-44549e9c.entry.js} +1 -1
  252. package/dist/dso-toolkit/{p-151dd30f.entry.js → p-4604bbbf.entry.js} +1 -1
  253. package/dist/dso-toolkit/p-474de47c.entry.js +1 -0
  254. package/dist/dso-toolkit/p-47b10abe.entry.js +1 -0
  255. package/dist/dso-toolkit/{p-846794a5.entry.js → p-4c9cefa6.entry.js} +1 -1
  256. package/dist/dso-toolkit/{p-44552258.entry.js → p-50cb65a2.entry.js} +1 -1
  257. package/dist/dso-toolkit/{p-de4a1c14.entry.js → p-52a3836d.entry.js} +1 -1
  258. package/dist/dso-toolkit/{p-c45e35cb.entry.js → p-5a25d8d9.entry.js} +1 -1
  259. package/dist/dso-toolkit/p-5e95d872.entry.js +1 -0
  260. package/dist/dso-toolkit/{p-61cd4ede.entry.js → p-5f9a7dbb.entry.js} +1 -1
  261. package/dist/dso-toolkit/{p-b295a325.entry.js → p-613a3ba8.entry.js} +1 -1
  262. package/dist/dso-toolkit/{p-c59bc8c0.entry.js → p-61a5baf7.entry.js} +1 -1
  263. package/dist/dso-toolkit/p-6404d224.entry.js +1 -0
  264. package/dist/dso-toolkit/{p-57a0fb42.entry.js → p-6956ca7f.entry.js} +1 -1
  265. package/dist/dso-toolkit/{p-dd84ff10.entry.js → p-6e0d8f02.entry.js} +1 -1
  266. package/dist/dso-toolkit/{p-94db498f.entry.js → p-6ef02655.entry.js} +1 -1
  267. package/dist/dso-toolkit/{p-d685a2f7.entry.js → p-7905523e.entry.js} +1 -1
  268. package/dist/dso-toolkit/{p-ab9af74a.entry.js → p-8bf66f9c.entry.js} +1 -1
  269. package/dist/dso-toolkit/{p-7e817da1.entry.js → p-8e206e7e.entry.js} +1 -1
  270. package/dist/dso-toolkit/p-969295b5.entry.js +1 -0
  271. package/dist/dso-toolkit/{p-6d3cc273.entry.js → p-98aa047d.entry.js} +1 -1
  272. package/dist/dso-toolkit/p-AZpKxz9p.js +1 -0
  273. package/dist/dso-toolkit/{p-ViUybizz.js → p-BKr5d3Gu.js} +1 -1
  274. package/dist/dso-toolkit/{p-tZPA50GA.js → p-Chbfdofl.js} +1 -1
  275. package/dist/dso-toolkit/{p-DEkvng4d.js → p-Dev1bLxp.js} +1 -1
  276. package/dist/dso-toolkit/{p-uGZacrki.js → p-DrQGiJP8.js} +1 -1
  277. package/dist/dso-toolkit/p-PjubEIMY.js +1 -0
  278. package/dist/dso-toolkit/{p-9c186af8.entry.js → p-a14ee5bd.entry.js} +1 -1
  279. package/dist/dso-toolkit/{p-c92a750b.entry.js → p-a6a4c4a8.entry.js} +1 -1
  280. package/dist/dso-toolkit/{p-7f7f9551.entry.js → p-ad49a0c1.entry.js} +1 -1
  281. package/dist/dso-toolkit/{p-a64cbe94.entry.js → p-b270f26b.entry.js} +1 -1
  282. package/dist/dso-toolkit/{p-b8614377.entry.js → p-b7e743e1.entry.js} +1 -1
  283. package/dist/dso-toolkit/{p-c50752f2.entry.js → p-ba238c62.entry.js} +1 -1
  284. package/dist/dso-toolkit/{p-20fb5b5a.entry.js → p-c1cc6a7c.entry.js} +1 -1
  285. package/dist/dso-toolkit/{p-39e33d16.entry.js → p-c2be5c47.entry.js} +1 -1
  286. package/dist/dso-toolkit/{p-17d68c90.entry.js → p-c8d1b667.entry.js} +1 -1
  287. package/dist/dso-toolkit/p-ce372007.entry.js +1 -0
  288. package/dist/dso-toolkit/{p-1d1a3740.entry.js → p-d13380b6.entry.js} +1 -1
  289. package/dist/dso-toolkit/p-d4ee2c83.entry.js +1 -0
  290. package/dist/dso-toolkit/{p-455afb41.entry.js → p-d68d0a36.entry.js} +1 -1
  291. package/dist/dso-toolkit/p-d799baab.entry.js +1 -0
  292. package/dist/dso-toolkit/p-d967c5ba.entry.js +1 -0
  293. package/dist/dso-toolkit/{p-169b492d.entry.js → p-db0ff9e0.entry.js} +1 -1
  294. package/dist/dso-toolkit/{p-0d9c2c99.entry.js → p-db32a77a.entry.js} +1 -1
  295. package/dist/dso-toolkit/p-ddba5bfc.entry.js +1 -0
  296. package/dist/dso-toolkit/{p-be187c76.entry.js → p-e6085bc0.entry.js} +1 -1
  297. package/dist/dso-toolkit/p-e6331c16.entry.js +1 -0
  298. package/dist/dso-toolkit/{p-a56a45c0.entry.js → p-e8c7977e.entry.js} +1 -1
  299. package/dist/dso-toolkit/p-ef831b89.entry.js +1 -0
  300. package/dist/dso-toolkit/{p-53a165b2.entry.js → p-f913f551.entry.js} +1 -1
  301. package/dist/dso-toolkit/p-go_iJ4_L.js +1 -0
  302. package/dist/esm/{annotation-body-BbGGiDzU.js → annotation-body-DeKLxp3F.js} +1 -1
  303. package/dist/esm/{annotation-list-renvooi-values-DV918XX7.js → annotation-list-renvooi-values-CGxBKqb7.js} +1 -1
  304. package/dist/esm/{annotation-watcher-D5FQ94at.js → annotation-watcher-BO_h7wWk.js} +1 -1
  305. package/dist/esm/dso-accordion-section.entry.js +2 -2
  306. package/dist/esm/dso-accordion.entry.js +1 -1
  307. package/dist/esm/dso-action-list-item.entry.js +1 -1
  308. package/dist/esm/dso-action-list.entry.js +2 -2
  309. package/dist/esm/dso-advanced-select.entry.js +5 -4
  310. package/dist/esm/dso-alert_7.entry.js +9 -9
  311. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  312. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  313. package/dist/esm/dso-annotation-kaart.entry.js +3 -3
  314. package/dist/esm/dso-annotation-locatie_2.entry.js +6 -6
  315. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  316. package/dist/esm/dso-attachments-counter_2.entry.js +2 -2
  317. package/dist/esm/dso-autosuggest.entry.js +1 -1
  318. package/dist/esm/dso-banner.entry.js +1 -1
  319. package/dist/esm/dso-button-group.entry.js +1 -1
  320. package/dist/esm/dso-card-container.entry.js +2 -2
  321. package/dist/esm/dso-card.entry.js +1 -1
  322. package/dist/esm/dso-contact-information.entry.js +1 -1
  323. package/dist/esm/dso-cursor-tooltip.entry.js +2 -2
  324. package/dist/esm/dso-date-picker.entry.js +1 -1
  325. package/dist/esm/dso-document-card.entry.js +1 -1
  326. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  327. package/dist/esm/dso-header.entry.js +104 -6
  328. package/dist/esm/dso-highlight-box.entry.js +1 -1
  329. package/dist/esm/dso-history-item.entry.js +1 -1
  330. package/dist/esm/dso-icon_2.entry.js +10 -6
  331. package/dist/esm/dso-info_3.entry.js +3 -3
  332. package/dist/esm/dso-input-range.entry.js +1 -1
  333. package/dist/esm/dso-label_3.entry.js +4 -4
  334. package/dist/esm/dso-legend-group.entry.js +1 -1
  335. package/dist/esm/dso-legend-item.entry.js +4 -4
  336. package/dist/esm/dso-legend.entry.js +1 -1
  337. package/dist/esm/dso-list-button.entry.js +1 -1
  338. package/dist/esm/dso-logo.entry.js +1 -1
  339. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  340. package/dist/esm/dso-map-controls.entry.js +1 -1
  341. package/dist/esm/dso-map-layer-object.entry.js +3 -3
  342. package/dist/esm/dso-map-layer.entry.js +3 -3
  343. package/dist/esm/dso-map-message.entry.js +2 -2
  344. package/dist/esm/dso-map-overlays.entry.js +1 -1
  345. package/dist/esm/dso-mark-bar.entry.js +1 -1
  346. package/dist/esm/dso-modal.entry.js +2 -2
  347. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  348. package/dist/esm/dso-pagination.entry.js +1 -1
  349. package/dist/esm/dso-plekinfo-card.entry.js +3 -3
  350. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  351. package/dist/esm/dso-project-item.entry.js +1 -1
  352. package/dist/esm/dso-responsive-element.entry.js +1 -1
  353. package/dist/esm/dso-scrollable.entry.js +1 -1
  354. package/dist/esm/dso-segmented-button.entry.js +1 -1
  355. package/dist/esm/dso-skiplink.entry.js +1 -1
  356. package/dist/esm/dso-survey-rating.entry.js +2 -2
  357. package/dist/esm/dso-tab.entry.js +1 -1
  358. package/dist/esm/dso-tabs.entry.js +1 -1
  359. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  360. package/dist/esm/dso-toolkit.js +3 -3
  361. package/dist/esm/dso-tooltip.entry.js +1 -1
  362. package/dist/esm/dso-tree-view.entry.js +1 -1
  363. package/dist/esm/dso-viewer-grid.entry.js +1 -1
  364. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  365. package/dist/esm/{index-uGZacrki.js → index-DrQGiJP8.js} +1 -1
  366. package/dist/esm/loader.js +3 -3
  367. package/dist/esm/{parse-wijzigactie-from-node.function-BtJ4WFIK.js → parse-wijzigactie-from-node.function-BroGebB4.js} +1 -1
  368. package/dist/esm/{tooltip.functional-component-DNqxwCG5.js → tooltip.functional-component-nHAIYF3o.js} +1 -1
  369. package/dist/esm/{wrap-wijzigactie.functional-component-ChvYnlwn.js → wrap-wijzigactie.functional-component-BCT1o51-.js} +1 -1
  370. package/dist/types/components/header/header.d.ts +10 -0
  371. package/dist/types/components/icon-button/icon-button.d.ts +4 -0
  372. package/dist/types/components/icon-button/icon-button.interfaces.d.ts +1 -0
  373. package/dist/types/components.d.ts +11 -0
  374. package/package.json +3 -3
  375. package/dist/bundle/p-C3TYRjeb.js +0 -166
  376. package/dist/bundle/p-CF5u2saq.js +0 -83
  377. package/dist/bundle/p-CwETV-gv.js +0 -205
  378. package/dist/bundle/p-D6mShNSe.js +0 -119
  379. package/dist/bundle/p-DQAO2E8R.js +0 -189
  380. package/dist/components/dropdown-menu.js +0 -1
  381. package/dist/dso-toolkit/p-13a4359b.entry.js +0 -1
  382. package/dist/dso-toolkit/p-164492f5.entry.js +0 -1
  383. package/dist/dso-toolkit/p-25cea845.entry.js +0 -1
  384. package/dist/dso-toolkit/p-2df078b0.entry.js +0 -1
  385. package/dist/dso-toolkit/p-2f0febe0.entry.js +0 -1
  386. package/dist/dso-toolkit/p-3a3e6ad1.entry.js +0 -1
  387. package/dist/dso-toolkit/p-3d5affd8.entry.js +0 -1
  388. package/dist/dso-toolkit/p-432f4b4b.entry.js +0 -1
  389. package/dist/dso-toolkit/p-4e05b633.entry.js +0 -1
  390. package/dist/dso-toolkit/p-4f21807b.entry.js +0 -7
  391. package/dist/dso-toolkit/p-846fe7d0.entry.js +0 -1
  392. package/dist/dso-toolkit/p-89160dc8.entry.js +0 -1
  393. package/dist/dso-toolkit/p-9e9eee7c.entry.js +0 -1
  394. package/dist/dso-toolkit/p-CYHYSMIz.js +0 -1
  395. package/dist/dso-toolkit/p-DfixBhJX.js +0 -1
  396. package/dist/dso-toolkit/p-ccdd9458.entry.js +0 -1
  397. package/dist/dso-toolkit/p-ecb84284.entry.js +0 -1
  398. package/dist/dso-toolkit/p-eyz38o4U.js +0 -1
  399. package/dist/dso-toolkit/p-f2d1acf2.entry.js +0 -1
  400. package/dist/dso-toolkit/p-fcf93614.entry.js +0 -1
@@ -14,17 +14,26 @@
14
14
  :host([is-compact]) .dso-header {
15
15
  flex-wrap: nowrap;
16
16
  }
17
- :host([is-compact]) dso-dropdown-menu .dso-dropdown-options {
17
+ :host([is-compact]) .dropdown-menu .dropdown-menu-options {
18
18
  inline-size: 100%;
19
19
  }
20
20
 
21
21
  :host(:not([is-compact])) .dso-header {
22
22
  align-items: center;
23
23
  }
24
- :host(:not([is-compact])) dso-dropdown-menu .dso-dropdown-options {
24
+ :host(:not([is-compact])) .dropdown-menu .dropdown-menu-options {
25
25
  inline-size: 375px;
26
26
  }
27
27
 
28
+ div[popover] {
29
+ margin: 0 !important;
30
+ border: 0;
31
+ padding: 0;
32
+ background-color: transparent;
33
+ overflow: unset;
34
+ inline-size: max-content;
35
+ }
36
+
28
37
  .dso-header {
29
38
  border-block-end: 1px solid #ccc;
30
39
  display: flex;
@@ -88,46 +97,43 @@
88
97
  position: relative;
89
98
  }
90
99
 
91
- dso-dropdown-menu > button:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),
92
- dso-dropdown-menu > .dso-primary,
93
- dso-dropdown-menu > .dso-secondary,
94
- dso-dropdown-menu > .dso-tertiary {
100
+ .dropdown-menu button {
101
+ align-items: center;
102
+ background-color: transparent;
103
+ border: 0;
104
+ color: #39870c;
105
+ display: flex;
106
+ font-family: Asap, sans-serif;
107
+ font-size: 16px;
108
+ font-weight: 600;
109
+ line-height: normal;
95
110
  position: relative;
96
111
  }
97
- dso-dropdown-menu > button:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary)::after,
98
- dso-dropdown-menu > .dso-primary::after,
99
- dso-dropdown-menu > .dso-secondary::after,
100
- dso-dropdown-menu > .dso-tertiary::after {
101
- content: "";
102
- display: inline-block;
103
- }
104
- dso-dropdown-menu > .dso-primary::after,
105
- dso-dropdown-menu > .dso-secondary::after {
112
+ .dropdown-menu button::after {
106
113
  margin-inline-start: 8px;
114
+ position: absolute;
115
+ inset-inline-end: 0;
116
+ inset-block-start: 50%;
117
+ transform: translateY(-50%);
107
118
  }
108
- dso-dropdown-menu .dso-group-label {
109
- color: #999;
110
- font-size: 0.875em;
111
- font-weight: 400;
112
- margin: 0;
113
- padding-block: 4px 2px;
114
- padding-inline: 20px;
115
- text-transform: uppercase;
119
+ .dropdown-menu button:hover, .dropdown-menu button:active {
120
+ cursor: pointer;
121
+ text-decoration: underline;
116
122
  }
117
- dso-dropdown-menu ul {
118
- margin: 0;
119
- padding: 0;
123
+ .dropdown-menu button dso-icon {
124
+ inline-size: 24px;
125
+ block-size: 24px;
126
+ margin-inline-start: 8px;
127
+ padding-block-start: 2px;
120
128
  }
121
- dso-dropdown-menu ul:not(:last-child) {
122
- border-block-end: 1px solid #e5e5e5;
123
- margin-block-end: 11px;
124
- padding-block-end: 11px;
129
+ .dropdown-menu button[aria-expanded=true] dso-icon {
130
+ transform: rotate(180deg);
125
131
  }
126
- dso-dropdown-menu .dso-dropdown-options {
132
+ .dropdown-menu .dropdown-menu-options {
127
133
  background-clip: padding-box;
128
134
  background-color: #fff;
129
- border-radius: 4px;
130
- border: 1px solid rgba(0, 0, 0, 0.15);
135
+ border: 0;
136
+ border-radius: 0;
131
137
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4);
132
138
  font-size: 1rem;
133
139
  min-inline-size: 160px;
@@ -135,111 +141,72 @@ dso-dropdown-menu .dso-dropdown-options {
135
141
  padding-inline: 0;
136
142
  z-index: 220;
137
143
  }
138
- dso-dropdown-menu .dso-dropdown-options li {
144
+ .dropdown-menu .dropdown-menu-options ul {
145
+ margin: 0;
146
+ padding: 0;
139
147
  list-style: none;
140
148
  }
141
- dso-dropdown-menu .dso-dropdown-options li a:visited {
142
- color: #191919;
149
+ .dropdown-menu .dropdown-menu-options ul:not(:last-child) {
150
+ border-block-end: 1px solid #e5e5e5;
151
+ margin-block-end: 11px;
152
+ padding-block-end: 11px;
143
153
  }
144
- dso-dropdown-menu .dso-dropdown-options li a,
145
- dso-dropdown-menu .dso-dropdown-options li button {
154
+ .dropdown-menu .dropdown-menu-options ul li {
155
+ list-style: none;
156
+ }
157
+ .dropdown-menu .dropdown-menu-options ul li a,
158
+ .dropdown-menu .dropdown-menu-options ul li button {
146
159
  text-decoration: none;
147
160
  }
148
- dso-dropdown-menu .dso-dropdown-options li a:hover, dso-dropdown-menu .dso-dropdown-options li a:focus-visible, dso-dropdown-menu .dso-dropdown-options li a:active,
149
- dso-dropdown-menu .dso-dropdown-options li button:hover,
150
- dso-dropdown-menu .dso-dropdown-options li button:focus-visible,
151
- dso-dropdown-menu .dso-dropdown-options li button:active {
161
+ .dropdown-menu .dropdown-menu-options ul li a:hover, .dropdown-menu .dropdown-menu-options ul li a:focus-visible, .dropdown-menu .dropdown-menu-options ul li a:active,
162
+ .dropdown-menu .dropdown-menu-options ul li button:hover,
163
+ .dropdown-menu .dropdown-menu-options ul li button:focus-visible,
164
+ .dropdown-menu .dropdown-menu-options ul li button:active {
152
165
  text-decoration: underline;
153
166
  }
154
- dso-dropdown-menu .dso-dropdown-options li a,
155
- dso-dropdown-menu .dso-dropdown-options li button {
167
+ .dropdown-menu .dropdown-menu-options ul li a,
168
+ .dropdown-menu .dropdown-menu-options ul li button {
156
169
  clear: both;
157
- color: #191919;
170
+ color: #275937;
158
171
  display: block;
172
+ font-size: 1.25rem;
159
173
  font-weight: 400;
160
174
  line-height: 1.5;
161
- padding-block: 3px;
162
- padding-inline: 20px;
175
+ padding: 16px;
163
176
  text-decoration: none;
164
177
  white-space: nowrap;
165
178
  }
166
- dso-dropdown-menu .dso-dropdown-options li a:hover, dso-dropdown-menu .dso-dropdown-options li a:focus,
167
- dso-dropdown-menu .dso-dropdown-options li button:hover,
168
- dso-dropdown-menu .dso-dropdown-options li button:focus {
179
+ .dropdown-menu .dropdown-menu-options ul li a:hover, .dropdown-menu .dropdown-menu-options ul li a:focus,
180
+ .dropdown-menu .dropdown-menu-options ul li button:hover,
181
+ .dropdown-menu .dropdown-menu-options ul li button:focus {
169
182
  background-color: #39870c;
170
183
  border-color: #39870c;
171
184
  color: #fff;
172
185
  text-decoration: none;
173
186
  }
174
- dso-dropdown-menu .dso-dropdown-options li button {
175
- background-color: transparent;
176
- border: 0;
177
- border-radius: 0;
178
- text-align: inherit;
179
- inline-size: 100%;
180
- }
181
- dso-dropdown-menu button {
182
- background-color: transparent;
183
- border: 0;
184
- display: flex;
185
- font-family: Asap, sans-serif;
186
- align-items: center;
187
- position: relative;
188
- }
189
- dso-dropdown-menu button dso-icon {
190
- inline-size: 24px;
191
- block-size: 24px;
192
- margin-inline-start: 8px;
193
- padding-block-start: 2px;
194
- }
195
- dso-dropdown-menu button[aria-expanded=true] dso-icon {
196
- transform: rotate(180deg);
197
- }
198
- dso-dropdown-menu .dso-dropdown-options {
199
- border: 0;
200
- border-radius: 0;
201
- box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4);
202
- }
203
- dso-dropdown-menu .dso-dropdown-options ul {
204
- margin: 0;
205
- padding: 0;
206
- list-style: none;
207
- }
208
- dso-dropdown-menu .dso-dropdown-options ul li a,
209
- dso-dropdown-menu .dso-dropdown-options ul li button {
210
- display: block;
211
- padding: 16px;
212
- color: #275937;
213
- font-size: 1.25rem;
214
- white-space: pre-wrap;
215
- text-decoration: none;
216
- }
217
- dso-dropdown-menu .dso-dropdown-options ul li a:focus-visible,
218
- dso-dropdown-menu .dso-dropdown-options ul li button:focus-visible {
187
+ .dropdown-menu .dropdown-menu-options ul li a:focus-visible,
188
+ .dropdown-menu .dropdown-menu-options ul li button:focus-visible {
219
189
  background-color: #39870c;
220
190
  color: #fff;
221
191
  }
222
- dso-dropdown-menu .dso-dropdown-options ul li a:hover,
223
- dso-dropdown-menu .dso-dropdown-options ul li button:hover {
192
+ .dropdown-menu .dropdown-menu-options ul li a:hover,
193
+ .dropdown-menu .dropdown-menu-options ul li button:hover {
224
194
  background-color: #fff;
225
195
  color: #275937;
226
196
  text-decoration: underline;
227
197
  }
228
- dso-dropdown-menu .dso-dropdown-options ul li a:visited:not(:hover):not(:focus-visible),
229
- dso-dropdown-menu .dso-dropdown-options ul li button:visited:not(:hover):not(:focus-visible) {
230
- color: #275937;
231
- }
232
- dso-dropdown-menu .dso-dropdown-options ul li button {
233
- inline-size: 100%;
234
- text-align: start;
198
+ .dropdown-menu .dropdown-menu-options ul li a:visited,
199
+ .dropdown-menu .dropdown-menu-options ul li button:visited {
200
+ color: #191919;
235
201
  }
236
- dso-dropdown-menu .dso-dropdown-options ul li button dso-icon {
237
- margin-inline-start: 0;
202
+ .dropdown-menu .dropdown-menu-options ul li a:visited:not(:hover):not(:focus-visible),
203
+ .dropdown-menu .dropdown-menu-options ul li button:visited:not(:hover):not(:focus-visible) {
204
+ color: #275937;
238
205
  }
239
- dso-dropdown-menu .dso-dropdown-options ul li.dso-active a {
206
+ .dropdown-menu .dropdown-menu-options ul li.dso-active a {
240
207
  font-weight: 600;
241
208
  }
242
- dso-dropdown-menu .dso-dropdown-options ul li + li {
209
+ .dropdown-menu .dropdown-menu-options ul li + li {
243
210
  border-block-start: 1px solid #ccc;
244
211
  }
245
212
 
@@ -248,32 +215,14 @@ dso-dropdown-menu .dso-dropdown-options ul li + li {
248
215
  display: flex;
249
216
  align-items: center;
250
217
  }
251
- .dropdown dso-dropdown-menu {
218
+ .dropdown .dropdown-menu {
252
219
  position: static;
253
220
  }
254
- .dropdown dso-dropdown-menu .dso-dropdown-options {
221
+ .dropdown .dropdown-menu .dropdown-menu-options {
255
222
  inset-inline-end: 0;
256
223
  inset-block-start: 100%;
257
224
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4);
258
225
  }
259
- .dropdown dso-dropdown-menu > button {
260
- color: #39870c;
261
- font-size: 16px;
262
- font-weight: 600;
263
- line-height: normal;
264
- position: relative;
265
- }
266
- .dropdown dso-dropdown-menu > button::after {
267
- margin-inline-start: 8px;
268
- position: absolute;
269
- inset-inline-end: 0px;
270
- inset-block-start: 50%;
271
- transform: translateY(-50%);
272
- }
273
- .dropdown dso-dropdown-menu > button:hover, .dropdown dso-dropdown-menu > button:active {
274
- cursor: pointer;
275
- text-decoration: underline;
276
- }
277
226
 
278
227
  .dso-nav.ready .menu-user-home {
279
228
  margin-inline-start: auto;
@@ -319,11 +268,11 @@ dso-dropdown-menu .dso-dropdown-options ul li + li {
319
268
  padding-inline: 0;
320
269
  white-space: nowrap;
321
270
  }
322
- .dso-nav.dso-nav-main dso-dropdown-menu .dso-dropdown-options {
271
+ .dso-nav.dso-nav-main .dropdown-menu .dropdown-menu-options {
323
272
  inset-inline-start: -1rem !important;
324
273
  inset-block-start: 3px !important;
325
274
  }
326
- .dso-nav.dso-nav-main dso-dropdown-menu button {
275
+ .dso-nav.dso-nav-main .dropdown-menu button {
327
276
  font-size: 1.25em;
328
277
  line-height: 1;
329
278
  padding-block: 16px;
@@ -331,11 +280,11 @@ dso-dropdown-menu .dso-dropdown-options ul li + li {
331
280
  align-items: flex-end;
332
281
  color: #275937;
333
282
  }
334
- .dso-nav.dso-nav-main dso-dropdown-menu button:hover, .dso-nav.dso-nav-main dso-dropdown-menu button:active {
283
+ .dso-nav.dso-nav-main .dropdown-menu button:hover, .dso-nav.dso-nav-main .dropdown-menu button:active {
335
284
  cursor: pointer;
336
285
  text-decoration: underline;
337
286
  }
338
- .dso-nav.dso-nav-main dso-dropdown-menu button::after {
287
+ .dso-nav.dso-nav-main .dropdown-menu button::after {
339
288
  margin-inline-start: 8px;
340
289
  position: absolute;
341
290
  inset-inline-end: 0px;
@@ -1,5 +1,9 @@
1
+ import { autoUpdate, computePosition, flip, offset } from "@floating-ui/dom";
1
2
  import { Fragment, Host, forceUpdate, h, } from "@stencil/core";
2
3
  import { clsx } from "clsx";
4
+ import { tabbable } from "tabbable";
5
+ import { v4 as uuidv4 } from "uuid";
6
+ import { getActiveElement } from "../../utils/get-active-element";
3
7
  import { i18n } from "../../utils/i18n";
4
8
  import { isModifiedEvent } from "../../utils/is-modified-event";
5
9
  import { translations } from "./header.i18n";
@@ -30,10 +34,48 @@ export class Header {
30
34
  this.userHomeActive = false;
31
35
  this.visibleMenuItemsCount = undefined;
32
36
  this.dropdownOptionsOffset = 0;
37
+ this.open = false;
38
+ this.escape = () => {
39
+ this.dropdownButtonElement?.focus();
40
+ this.toggleOptions();
41
+ };
42
+ this.keyDownHandler = (event) => {
43
+ if (event.defaultPrevented || !this.open) {
44
+ return;
45
+ }
46
+ switch (event.key) {
47
+ case "Tab":
48
+ if (event.shiftKey) {
49
+ this.tabInPopup(this.tabbables(true), -1);
50
+ }
51
+ else {
52
+ this.tabInPopup(this.tabbables(true), 1);
53
+ }
54
+ break;
55
+ case "ArrowDown":
56
+ this.tabInPopup(this.tabbables(false), 1);
57
+ break;
58
+ case "ArrowUp":
59
+ this.tabInPopup(this.tabbables(false), -1);
60
+ break;
61
+ case "Escape":
62
+ this.escape();
63
+ break;
64
+ case " ":
65
+ if (event.target instanceof HTMLElement) {
66
+ event.target.click();
67
+ }
68
+ break;
69
+ default:
70
+ return;
71
+ }
72
+ event.preventDefault();
73
+ };
33
74
  this.resetVisibleMenuItems = () => {
34
75
  this.visibleMenuItemsCount = undefined;
35
76
  };
36
77
  this.clickHandler = (e, type, options) => {
78
+ this.toggleOptions(false);
37
79
  this.dsoHeaderClick.emit({
38
80
  originalEvent: e,
39
81
  isModifiedEvent: isModifiedEvent(e),
@@ -46,12 +88,31 @@ export class Header {
46
88
  this.text = i18n(() => this.host, translations);
47
89
  this.resizeObserver = new ResizeObserver(() => {
48
90
  this.resetVisibleMenuItems();
91
+ this.toggleOptions(false);
92
+ this.dropdownOptionsOffset = 0;
49
93
  forceUpdate(this.host);
50
94
  });
95
+ this.focusOutListener = (event) => {
96
+ if (this.open &&
97
+ (!(event.relatedTarget instanceof HTMLElement) || !this.tabbables(true).includes(event.relatedTarget))) {
98
+ this.toggleOptions(false);
99
+ }
100
+ };
51
101
  }
52
102
  mainMenuChanged() {
53
103
  this.resetVisibleMenuItems();
54
104
  }
105
+ tabInPopup(tabbables, direction) {
106
+ const currentIndex = tabbables.findIndex((e) => e === getActiveElement());
107
+ let nextIndex = currentIndex + direction;
108
+ if (nextIndex >= tabbables.length) {
109
+ nextIndex = 0;
110
+ }
111
+ else if (nextIndex < 0) {
112
+ nextIndex = tabbables.length - 1;
113
+ }
114
+ tabbables[nextIndex]?.focus();
115
+ }
55
116
  get isCompact() {
56
117
  return this.compact === "always" || window.innerWidth < minDesktopViewportWidth;
57
118
  }
@@ -109,27 +170,64 @@ export class Header {
109
170
  }
110
171
  disconnectedCallback() {
111
172
  this.resizeObserver.disconnect();
173
+ this.toggleOptions(false);
112
174
  }
113
175
  componentDidRender() {
114
176
  if (!this.host.isConnected) {
115
177
  return;
116
178
  }
117
179
  if (this.isCompact && this.dropdownElement) {
118
- this.dropdownElement.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();
180
+ this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();
119
181
  }
120
182
  if (typeof this.visibleMenuItemsCount === "undefined" && this.navElement) {
121
183
  this.visibleMenuItemsCount = this.calculateOverflowMenuItemCount(this.navElement);
122
184
  }
185
+ if (this.popoverElement && !this.cleanUp && this.dropdownButtonElement) {
186
+ const element = this.popoverElement;
187
+ this.cleanUp = autoUpdate(this.dropdownButtonElement, element, () => {
188
+ if (this.dropdownButtonElement) {
189
+ computePosition(this.dropdownButtonElement, element, {
190
+ strategy: "fixed",
191
+ middleware: [
192
+ offset(this.dropdownOptionsOffset),
193
+ flip({
194
+ padding: this.dropdownOptionsOffset,
195
+ }),
196
+ ],
197
+ placement: this.isCompact ? "bottom-end" : "bottom-start",
198
+ }).then(({ x, y }) => {
199
+ Object.assign(element.style, {
200
+ left: `${x}px`,
201
+ top: `${y}px`,
202
+ });
203
+ });
204
+ }
205
+ });
206
+ }
123
207
  }
124
208
  render() {
125
- return (h(Host, { key: '8850386c7bf2d6e8351feddbce7c96066b25e4a8', "is-compact": this.isCompact }, h("div", { key: 'e5dc88c23f33ff0436e7a32018ad6805bc63dab8', class: "dso-header" }, h("div", { key: '3dddcad9303c819dcb4a27f4f0b5b66c39536dd0', class: "logo-container" }, h("slot", { key: '9afb7a64d9d97010a2a98b9416f81a4de80933a7', name: "logo" })), this.isCompact ? this.renderCompact() : this.renderNormal())));
209
+ return (h(Host, { key: '9cc9d82dd16150e19a5a8daccb0a4f2c650d9e15', "is-compact": this.isCompact }, h("div", { key: '9c9024838dd7d9535fa71d97132912d13e9a1fcf', class: "dso-header" }, h("div", { key: 'f3c9bfc1592c97fad7db25cde5f0e1241d2264d4', class: "logo-container" }, h("slot", { key: 'e1176a01b0dceef3e4c54123df4c0339b2bd0a56', name: "logo" })), this.isCompact ? this.renderCompact() : this.renderNormal())));
210
+ }
211
+ tabbables(withButton) {
212
+ const tabbables = this.dropdownElement ? tabbable(this.dropdownElement) : [];
213
+ return withButton ? tabbables : tabbables.filter((element) => element !== this.dropdownButtonElement);
214
+ }
215
+ toggleOptions(force) {
216
+ this.open = force ?? !this.open;
217
+ if (this.popoverElement?.isConnected) {
218
+ this.popoverElement?.togglePopover(this.open);
219
+ }
220
+ if (!this.open && this.cleanUp) {
221
+ this.cleanUp();
222
+ this.cleanUp = undefined;
223
+ }
126
224
  }
127
225
  renderCompact() {
128
- return ((this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== "none") && (h("div", { class: "dropdown" }, h("dso-dropdown-menu", { "dropdown-align": "right", dropdownOptionsOffset: this.dropdownOptionsOffset, ref: (element) => (this.dropdownElement = element) }, h("button", { type: "button", slot: "toggle" }, h("span", null, this.text("menu")), h("dso-icon", { icon: "chevron-down" })), h("div", { class: "dso-dropdown-options" }, h("ul", null, this.mainMenu.map((menuItem) => (h(MenuItem, { item: menuItem, onClick: (e) => this.clickHandler(e, "menuItem", { menuItem }), key: menuItem.label }))), this.userHomeUrl && (h("li", null, 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", null, 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", null, 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", null, 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", null, 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" })))))))))));
226
+ 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("div", { 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" }))))))))))));
129
227
  }
130
228
  renderNormal() {
131
229
  this.menuItemElementRefs = [];
132
- 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("dso-dropdown-menu", null, h("button", { type: "button", slot: "toggle" }, h("span", null, this.text("overflowMenu")), h("dso-icon", { icon: "chevron-down", class: "main-menu-item-icon" })), h("div", { class: "dso-dropdown-options" }, 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")))))))));
230
+ 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")))))))));
133
231
  }
134
232
  static get is() { return "dso-header"; }
135
233
  static get encapsulation() { return "shadow"; }
@@ -383,7 +481,8 @@ export class Header {
383
481
  static get states() {
384
482
  return {
385
483
  "visibleMenuItemsCount": {},
386
- "dropdownOptionsOffset": {}
484
+ "dropdownOptionsOffset": {},
485
+ "open": {}
387
486
  };
388
487
  }
389
488
  static get events() {
@@ -20,8 +20,16 @@
20
20
  background-image: var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"));
21
21
  }
22
22
  .dso-tooltip {
23
- --_dso-icon-button-tertiary-color: #fff;
24
- --_dso-icon-button-tertiary-hover-color: #e5e5e5;
23
+ --_dso-icon-button-secondary-active-color: #fff;
24
+ --_dso-icon-button-secondary-active-background-color: rgba(255, 255, 255, 0.4);
25
+ --_dso-icon-button-secondary-toggled-color: #fff;
26
+ --_dso-icon-button-secondary-toggled-background-color: rgba(255, 255, 255, 0.2);
27
+ --_dso-icon-button-secondary-toggled-hover-background-color: rgba(255, 255, 255, 0.3);
28
+ --_dso-icon-button-tertiary-color: #f2f2f2;
29
+ --_dso-icon-button-tertiary-hover-color: #fff;
30
+ --_dso-icon-button-tertiary-active-color: rgba(255, 255, 255, 0.4);
31
+ --_dso-icon-button-tertiary-toggled-color: #fff;
32
+ --_dso-icon-button-tertiary-toggled-hover-color: rgba(255, 255, 255, 0.3);
25
33
  --_dso-icon-button-tertiary-disabled-color: #b2b2b2;
26
34
  --_dso-button-primary-background-color: #fff;
27
35
  --_dso-button-primary-hover-background-color: rgba(255, 255, 255, 0.8);
@@ -86,8 +94,16 @@
86
94
  background-image: var(--_dso-di-background-image, url("./di.svg#mail-outline-wit"));
87
95
  }
88
96
  .dso-tooltip .tooltip-inner {
89
- --_dso-icon-button-tertiary-color: #fff;
90
- --_dso-icon-button-tertiary-hover-color: #e5e5e5;
97
+ --_dso-icon-button-secondary-active-color: #fff;
98
+ --_dso-icon-button-secondary-active-background-color: rgba(255, 255, 255, 0.4);
99
+ --_dso-icon-button-secondary-toggled-color: #fff;
100
+ --_dso-icon-button-secondary-toggled-background-color: rgba(255, 255, 255, 0.2);
101
+ --_dso-icon-button-secondary-toggled-hover-background-color: rgba(255, 255, 255, 0.3);
102
+ --_dso-icon-button-tertiary-color: #f2f2f2;
103
+ --_dso-icon-button-tertiary-hover-color: #fff;
104
+ --_dso-icon-button-tertiary-active-color: rgba(255, 255, 255, 0.4);
105
+ --_dso-icon-button-tertiary-toggled-color: #fff;
106
+ --_dso-icon-button-tertiary-toggled-hover-color: rgba(255, 255, 255, 0.3);
91
107
  --_dso-icon-button-tertiary-disabled-color: #b2b2b2;
92
108
  --_dso-button-primary-background-color: #fff;
93
109
  --_dso-button-primary-hover-background-color: rgba(255, 255, 255, 0.8);
@@ -308,6 +324,25 @@
308
324
  border-block-end-width: var(--_dt-icon-button-border-block-end-width, 1px);
309
325
  border-inline-end-width: var(--_dt-icon-button-border-inline-end-width, 1px);
310
326
  }
327
+ .dso-secondary:not([disabled]):active {
328
+ background-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
329
+ border-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
330
+ color: var(--_dso-icon-button-secondary-active-color, #fff);
331
+ }
332
+ .dso-secondary:not([disabled]).toggled {
333
+ background-color: var(--_dso-icon-button-secondary-toggled-background-color, #275937);
334
+ border-color: var(--_dso-icon-button-secondary-toggled-background-color, #275937);
335
+ color: var(--_dso-icon-button-secondary-toggled-color, #fff);
336
+ }
337
+ .dso-secondary:not([disabled]).toggled:hover {
338
+ background-color: var(--_dso-icon-button-secondary-toggled-hover-background-color, #1b3e27);
339
+ border-color: var(--_dso-icon-button-secondary-toggled-hover-background-color, #1b3e27);
340
+ }
341
+ .dso-secondary:not([disabled]).toggled:active {
342
+ background-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
343
+ border-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
344
+ color: var(--_dso-icon-button-secondary-active-color, #fff);
345
+ }
311
346
 
312
347
  .dso-tertiary {
313
348
  display: inline-block;
@@ -342,7 +377,16 @@
342
377
  color: var(--_dso-icon-button-tertiary-hover-color, var(--_dso-icon-button-tertiary-color, #275937));
343
378
  }
344
379
  .dso-tertiary:not([disabled]):active {
345
- color: var(--_dso-icon-button-tertiary-active-color, var(--_dso-icon-button-tertiary-color, #275937));
380
+ color: var(--_dso-icon-button-tertiary-active-color, var(--_dso-icon-button-tertiary-color, #1f472c));
381
+ }
382
+ .dso-tertiary:not([disabled]).toggled {
383
+ color: var(--_dso-icon-button-tertiary-toggled-color, var(--_dso-icon-button-tertiary-color, #275937));
384
+ }
385
+ .dso-tertiary:not([disabled]).toggled:hover {
386
+ color: var(--_dso-icon-button-tertiary-toggled-hover-color, var(--_dso-icon-button-tertiary-color, #1b3e27));
387
+ }
388
+ .dso-tertiary:not([disabled]).toggled:active {
389
+ color: var(--_dso-icon-button-tertiary-active-color, var(--_dso-icon-button-tertiary-color, #1f472c));
346
390
  }
347
391
  .dso-tertiary[disabled] {
348
392
  color: var(--_dso-icon-button-tertiary-disabled-color, var(--_dso-icon-button-tertiary-color, #afcf9d));
@@ -523,6 +567,24 @@
523
567
  border-end-end-radius: var(--_dt-icon-button-border-end-end-radius, 4px);
524
568
  border-end-start-radius: var(--_dt-icon-button-border-end-start-radius, 4px);
525
569
  }
570
+ .dso-map:not([disabled]):active {
571
+ background-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
572
+ border-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
573
+ color: var(--_dso-icon-button-secondary-active-color, #fff);
574
+ }
575
+ .dso-map:not([disabled]).toggled {
576
+ background-color: var(--_dso-icon-button-secondary-toggled-background-color, #275937);
577
+ border-color: var(--_dso-icon-button-secondary-toggled-background-color, #275937);
578
+ color: var(--_dso-icon-button-secondary-toggled-color, #fff);
579
+ }
580
+ .dso-map:not([disabled]).toggled:hover {
581
+ background-color: var(--_dso-icon-button-secondary-toggled-hover-background-color, #1b3e27);
582
+ border-color: var(--_dso-icon-button-secondary-toggled-hover-background-color, #1b3e27);
583
+ }
584
+ .dso-map:not([disabled]).toggled:active {
585
+ background-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
586
+ border-color: var(--_dso-icon-button-secondary-active-background-color, #1f472c);
587
+ }
526
588
 
527
589
  .icon-button {
528
590
  min-inline-size: auto;