@dso-toolkit/core 97.1.0 → 98.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 (538) hide show
  1. package/dist/bundle/dso-accordion-section.js +15 -14
  2. package/dist/bundle/dso-accordion.js +2 -276
  3. package/dist/bundle/dso-action-list-item.js +3 -3
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +109 -232
  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 +26 -17
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +3 -3
  16. package/dist/bundle/dso-button-group.js +1 -1
  17. package/dist/bundle/dso-card-container.js +1 -1
  18. package/dist/bundle/dso-card.js +3 -3
  19. package/dist/bundle/dso-contact-information.js +1 -1
  20. package/dist/bundle/dso-cursor-tooltip.js +1 -1
  21. package/dist/bundle/dso-date-picker.js +1 -1
  22. package/dist/bundle/dso-document-card.js +3 -3
  23. package/dist/bundle/dso-document-component.js +1 -1
  24. package/dist/bundle/dso-dropdown-menu-group.d.ts +11 -0
  25. package/dist/bundle/dso-dropdown-menu-group.js +51 -0
  26. package/dist/bundle/dso-dropdown-menu-item.d.ts +11 -0
  27. package/dist/bundle/dso-dropdown-menu-item.js +70 -0
  28. package/dist/bundle/dso-dropdown-menu.js +93 -107
  29. package/dist/bundle/dso-expandable.js +1 -1
  30. package/dist/bundle/dso-header.js +23 -6
  31. package/dist/bundle/dso-highlight-box.js +2 -2
  32. package/dist/bundle/dso-history-item.js +3 -3
  33. package/dist/bundle/dso-icon-button.js +1 -1
  34. package/dist/bundle/dso-icon.js +1 -1
  35. package/dist/bundle/dso-image-overlay.js +1 -1
  36. package/dist/bundle/dso-info-button.js +1 -1
  37. package/dist/bundle/dso-info.js +1 -1
  38. package/dist/bundle/dso-input-range.js +3 -3
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +5 -5
  41. package/dist/bundle/dso-legend-item.js +8 -8
  42. package/dist/bundle/dso-legend.js +7 -7
  43. package/dist/bundle/dso-list-button.js +9 -9
  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 +8 -8
  47. package/dist/bundle/dso-map-layer-object.js +5 -5
  48. package/dist/bundle/dso-map-layer.js +5 -5
  49. package/dist/bundle/dso-map-message.js +4 -4
  50. package/dist/bundle/dso-map-overlays.js +9 -9
  51. package/dist/bundle/dso-mark-bar.js +4 -4
  52. package/dist/bundle/dso-modal.js +1 -1
  53. package/dist/bundle/dso-onboarding-tip.js +5 -5
  54. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  55. package/dist/bundle/dso-ozon-content.js +1 -1
  56. package/dist/bundle/dso-pagination.js +3 -3
  57. package/dist/bundle/dso-panel.js +1 -1
  58. package/dist/bundle/dso-plekinfo-card.js +5 -5
  59. package/dist/bundle/dso-progress-indicator.js +1 -1
  60. package/dist/bundle/dso-project-item.js +6 -6
  61. package/dist/bundle/dso-renvooi.js +1 -1
  62. package/dist/bundle/dso-responsive-element.js +1 -1
  63. package/dist/bundle/dso-scrollable.js +1 -1
  64. package/dist/bundle/dso-segmented-button.js +2 -2
  65. package/dist/bundle/dso-selectable.js +1 -1
  66. package/dist/bundle/dso-skiplink.js +3 -3
  67. package/dist/bundle/dso-slide-toggle.js +1 -1
  68. package/dist/bundle/dso-survey-rating.js +7 -7
  69. package/dist/bundle/dso-tab.js +1 -1
  70. package/dist/bundle/dso-table.js +1 -1
  71. package/dist/bundle/dso-tabs.js +2 -2
  72. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  73. package/dist/bundle/dso-tooltip.js +2 -2
  74. package/dist/bundle/dso-tree-view.js +5 -5
  75. package/dist/bundle/dso-viewer-grid.js +4 -4
  76. package/dist/bundle/dsot-document-component-demo.js +18 -18
  77. package/dist/bundle/index.js +6 -2
  78. package/dist/bundle/p-B75VIizV.js +166 -0
  79. package/dist/bundle/{p-jon8ZgCu.js → p-B94z5NjB.js} +19 -5
  80. package/dist/bundle/{p-CA57bAyP.js → p-BCqaYIQt.js} +3 -3
  81. package/dist/bundle/{p-D1ciWwSo.js → p-BFzVw-DT.js} +2 -2
  82. package/dist/bundle/{p-ChO20JhC.js → p-BHpXZF8A.js} +4 -4
  83. package/dist/bundle/{p-DaRtnn5i.js → p-BO8XMsvv.js} +1 -1
  84. package/dist/bundle/p-BXiN5sX-.js +189 -0
  85. package/dist/{esm/index.esm-PsHl6ZhV.js → bundle/p-BZ0vuOVx.js} +1 -1
  86. package/dist/bundle/{p-CFPWVcsY.js → p-BfWc_aEb.js} +4 -4
  87. package/dist/bundle/{p-D33HZm70.js → p-Bk1uG4K2.js} +7 -7
  88. package/dist/bundle/p-BlVogjOP.js +1209 -0
  89. package/dist/bundle/{p-rHiKziuf.js → p-ByYAhz9G.js} +1 -1
  90. package/dist/bundle/p-C2TaY3C1.js +148 -0
  91. package/dist/bundle/{p-HMxVj4ab.js → p-C5AGixB6.js} +2 -2
  92. package/dist/bundle/{p-C7VfGukK.js → p-CFFKe8A0.js} +2 -2
  93. package/dist/bundle/{p-B2ZlmdWO.js → p-CH7Qz1nD.js} +5 -5
  94. package/dist/bundle/{p-DwBHVuoZ.js → p-CRgylkO_.js} +12 -4
  95. package/dist/bundle/p-CaARHb7c.js +122 -0
  96. package/dist/bundle/p-CvSgAdem.js +83 -0
  97. package/dist/bundle/{p-DtNjY6f6.js → p-CxCyh-ue.js} +6 -6
  98. package/dist/bundle/{p-DYFOhFhk.js → p-D-E3DKqU.js} +2 -2
  99. package/dist/bundle/p-D1Oc-tJz.js +124 -0
  100. package/dist/bundle/{p-Bh_AjQ7z.js → p-D9ik-TAM.js} +7 -7
  101. package/dist/bundle/{p-CcFEBE0l.js → p-DFS4M3wz.js} +4 -4
  102. package/dist/bundle/{p-C-8vTVVo.js → p-DH5oGVbg.js} +9 -9
  103. package/dist/bundle/{p-BNEJjrr8.js → p-DTmh2fpe.js} +2 -2
  104. package/dist/bundle/p-DVuh3xxM.js +278 -0
  105. package/dist/bundle/p-DbanifFc.js +341 -0
  106. package/dist/bundle/{p-BIShp3sw.js → p-Di7uBIhp.js} +1 -1
  107. package/dist/bundle/{p-WEiXvjCu.js → p-DiFgvE1s.js} +1 -1
  108. package/dist/bundle/{p-DgKvq-q9.js → p-_Cugwqbf.js} +1 -1
  109. package/dist/bundle/{p-CgXakBQA.js → p-_TVwcL7Y.js} +1 -1
  110. package/dist/bundle/{p-CKnJRPZn.js → p-_WFAb7kl.js} +27 -8
  111. package/dist/cjs/{annotation-body-DorcBRdu.js → annotation-body-CiWbOM67.js} +1 -1
  112. package/dist/cjs/{annotation-list-renvooi-values-DY_nt_wa.js → annotation-list-renvooi-values-BeNFLgnO.js} +1 -1
  113. package/dist/cjs/{annotation-watcher-DuftgGaK.js → annotation-watcher-5j3WUBEz.js} +1 -1
  114. package/dist/cjs/dso-accordion-section.cjs.entry.js +8 -7
  115. package/dist/cjs/dso-accordion.cjs.entry.js +3 -277
  116. package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
  117. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  118. package/dist/cjs/dso-advanced-select.cjs.entry.js +103 -226
  119. package/dist/cjs/dso-alert_7.cjs.entry.js +68 -27
  120. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  121. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  122. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +3 -3
  123. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +6 -6
  124. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  125. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
  126. package/dist/cjs/dso-autosuggest.cjs.entry.js +23 -14
  127. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  128. package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
  129. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  130. package/dist/cjs/dso-card.cjs.entry.js +2 -2
  131. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-document-card.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +31 -0
  136. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +41 -0
  137. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +80 -101
  138. package/dist/cjs/dso-header.cjs.entry.js +21 -4
  139. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  140. package/dist/cjs/dso-history-item.cjs.entry.js +2 -2
  141. package/dist/cjs/dso-icon-button.cjs.entry.js +97 -0
  142. package/dist/cjs/{dso-icon_2.cjs.entry.js → dso-icon.cjs.entry.js} +2 -95
  143. package/dist/cjs/dso-info_3.cjs.entry.js +7 -7
  144. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  145. package/dist/cjs/dso-label_3.cjs.entry.js +7 -7
  146. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  147. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  148. package/dist/cjs/dso-legend.cjs.entry.js +4 -4
  149. package/dist/cjs/dso-list-button.cjs.entry.js +3 -3
  150. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  151. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-map-controls.cjs.entry.js +4 -4
  153. package/dist/cjs/dso-map-layer-object.cjs.entry.js +4 -4
  154. package/dist/cjs/dso-map-layer.cjs.entry.js +4 -4
  155. package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  157. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  158. package/dist/cjs/dso-modal.cjs.entry.js +4 -4
  159. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  160. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  161. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +4 -4
  162. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  163. package/dist/cjs/dso-project-item.cjs.entry.js +3 -3
  164. package/dist/cjs/dso-responsive-element.cjs.entry.js +19 -5
  165. package/dist/cjs/dso-scrollable.cjs.entry.js +4 -4
  166. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-survey-rating.cjs.entry.js +4 -4
  169. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  170. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  171. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  172. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  173. package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
  174. package/dist/cjs/dso-tree-view.cjs.entry.js +3 -3
  175. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  176. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  177. package/dist/cjs/{i18n-5XH7oHkT.js → i18n-DxQ6ZWA0.js} +12 -4
  178. package/dist/cjs/index-D8SsuyUx.js +280 -0
  179. package/dist/cjs/{index-BOI4CviS.js → index-fOjUpMJG.js} +1 -1
  180. package/dist/cjs/loader.cjs.js +2 -2
  181. package/dist/cjs/{parse-wijzigactie-from-node.function-BbYINqVA.js → parse-wijzigactie-from-node.function-Bi4NE9Tt.js} +1 -1
  182. package/dist/cjs/{tooltip.functional-component-CW6vXWhM.js → tooltip.functional-component-D6oJmzwD.js} +1 -1
  183. package/dist/cjs/{wrap-wijzigactie.functional-component-BOafAh_v.js → wrap-wijzigactie.functional-component-CV8gX7lQ.js} +1 -1
  184. package/dist/collection/collection-manifest.json +3 -1
  185. package/dist/collection/components/accordion/components/accordion-section.css +5 -5
  186. package/dist/collection/components/accordion/components/accordion-section.js +6 -5
  187. package/dist/collection/components/action-list/action-list.css +5 -5
  188. package/dist/collection/components/action-list/components/action-list-item.css +4 -4
  189. package/dist/collection/components/alert/alert.css +82 -89
  190. package/dist/collection/components/alert/alert.js +1 -1
  191. package/dist/collection/components/annotation/annotation.css +3 -3
  192. package/dist/collection/components/autosuggest/autosuggest.js +21 -12
  193. package/dist/collection/components/badge/badge.css +5 -5
  194. package/dist/collection/components/banner/banner.css +31 -31
  195. package/dist/collection/components/button-group/button-group.css +11 -11
  196. package/dist/collection/components/card/card.css +6 -6
  197. package/dist/collection/components/document-card/document-card.css +1 -1
  198. package/dist/collection/components/document-component/document-component.css +35 -35
  199. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.css +16 -0
  200. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +55 -0
  201. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.css +80 -0
  202. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +160 -0
  203. package/dist/collection/components/dropdown-menu/dropdown-menu.css +482 -2
  204. package/dist/collection/components/dropdown-menu/dropdown-menu.interfaces.js +1 -0
  205. package/dist/collection/components/dropdown-menu/dropdown-menu.js +134 -142
  206. package/dist/collection/components/expandable/expandable.js +2 -2
  207. package/dist/collection/components/header/header.js +19 -2
  208. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  209. package/dist/collection/components/history-item/history-item.js +1 -1
  210. package/dist/collection/components/icon/icon.js +1 -1
  211. package/dist/collection/components/icon-button/icon-button.css +28 -28
  212. package/dist/collection/components/icon-button/icon-button.js +1 -1
  213. package/dist/collection/components/image-overlay/image-overlay.css +6 -6
  214. package/dist/collection/components/image-overlay/image-overlay.js +23 -4
  215. package/dist/collection/components/info/info.js +1 -1
  216. package/dist/collection/components/info-button/info-button.css +6 -6
  217. package/dist/collection/components/info-button/info-button.js +1 -1
  218. package/dist/collection/components/input-range/input-range.js +2 -2
  219. package/dist/collection/components/label/label.css +4 -4
  220. package/dist/collection/components/label/label.js +2 -2
  221. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  222. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  223. package/dist/collection/components/legend/legend.css +3 -3
  224. package/dist/collection/components/legend/legend.js +1 -1
  225. package/dist/collection/components/list-button/list-button.css +9 -9
  226. package/dist/collection/components/list-button/list-button.js +1 -1
  227. package/dist/collection/components/logo/logo.js +1 -1
  228. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  229. package/dist/collection/components/map-controls/map-controls.css +28 -28
  230. package/dist/collection/components/map-controls/map-controls.js +1 -1
  231. package/dist/collection/components/map-layer/components/map-layer-object.css +2 -2
  232. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  233. package/dist/collection/components/map-layer/map-layer.css +2 -2
  234. package/dist/collection/components/map-layer/map-layer.js +1 -1
  235. package/dist/collection/components/map-message/map-message.js +2 -2
  236. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  237. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  238. package/dist/collection/components/modal/modal.css +18 -19
  239. package/dist/collection/components/modal/modal.js +1 -1
  240. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  241. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +8 -8
  242. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  243. package/dist/collection/components/ozon-content/ozon-content.css +60 -60
  244. package/dist/collection/components/ozon-content/ozon-content.js +3 -3
  245. package/dist/collection/components/panel/panel.js +1 -1
  246. package/dist/collection/components/plekinfo-card/plekinfo-card.css +6 -6
  247. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  248. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  249. package/dist/collection/components/project-item/project-item.css +22 -22
  250. package/dist/collection/components/project-item/project-item.js +1 -1
  251. package/dist/collection/components/renvooi/renvooi.css +7 -7
  252. package/dist/collection/components/responsive-element/responsive-element.js +18 -4
  253. package/dist/collection/components/scrollable/scrollable.css +7 -7
  254. package/dist/collection/components/scrollable/scrollable.js +2 -2
  255. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  256. package/dist/collection/components/selectable/selectable.css +3 -3
  257. package/dist/collection/components/selectable/selectable.js +1 -1
  258. package/dist/collection/components/skiplink/skiplink.js +1 -1
  259. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  260. package/dist/collection/components/survey-rating/survey-rating.css +6 -6
  261. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  262. package/dist/collection/components/table/table.css +36 -36
  263. package/dist/collection/components/table/table.js +30 -8
  264. package/dist/collection/components/tabs/tabs.js +1 -1
  265. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  266. package/dist/collection/components/tooltip/tooltip.js +1 -1
  267. package/dist/collection/components/tree-view/tree-view.js +2 -2
  268. package/dist/collection/components/viewer-grid/viewer-grid.css +17 -13
  269. package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
  270. package/dist/components/alert.js +1 -1
  271. package/dist/components/annotation-locatie.js +1 -1
  272. package/dist/components/badge.js +1 -1
  273. package/dist/components/button-group.js +1 -1
  274. package/dist/components/document-component.js +1 -1
  275. package/dist/components/dso-accordion-section.js +1 -1
  276. package/dist/components/dso-accordion.js +1 -1
  277. package/dist/components/dso-action-list-item.js +1 -1
  278. package/dist/components/dso-action-list.js +1 -1
  279. package/dist/components/dso-advanced-select.js +3 -5
  280. package/dist/components/dso-annotation-activiteit.js +1 -1
  281. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  282. package/dist/components/dso-annotation-kaart.js +1 -1
  283. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  284. package/dist/components/dso-autosuggest.js +1 -1
  285. package/dist/components/dso-banner.js +1 -1
  286. package/dist/components/dso-card.js +1 -1
  287. package/dist/components/dso-document-card.js +1 -1
  288. package/dist/components/dso-dropdown-menu-group.d.ts +11 -0
  289. package/dist/components/dso-dropdown-menu-group.js +1 -0
  290. package/dist/components/dso-dropdown-menu-item.d.ts +11 -0
  291. package/dist/components/dso-dropdown-menu-item.js +1 -0
  292. package/dist/components/dso-dropdown-menu.js +1 -1
  293. package/dist/components/dso-header.js +1 -1
  294. package/dist/components/dso-highlight-box.js +1 -1
  295. package/dist/components/dso-history-item.js +1 -1
  296. package/dist/components/dso-input-range.js +1 -1
  297. package/dist/components/dso-legend-group.js +1 -1
  298. package/dist/components/dso-legend-item.js +1 -1
  299. package/dist/components/dso-legend.js +1 -1
  300. package/dist/components/dso-list-button.js +1 -1
  301. package/dist/components/dso-logo.js +1 -1
  302. package/dist/components/dso-map-base-layers.js +1 -1
  303. package/dist/components/dso-map-controls.js +1 -1
  304. package/dist/components/dso-map-layer-object.js +1 -1
  305. package/dist/components/dso-map-layer.js +1 -1
  306. package/dist/components/dso-map-message.js +1 -1
  307. package/dist/components/dso-map-overlays.js +1 -1
  308. package/dist/components/dso-mark-bar.js +1 -1
  309. package/dist/components/dso-onboarding-tip.js +1 -1
  310. package/dist/components/dso-plekinfo-card.js +1 -1
  311. package/dist/components/dso-project-item.js +1 -1
  312. package/dist/components/dso-segmented-button.js +1 -1
  313. package/dist/components/dso-skiplink.js +1 -1
  314. package/dist/components/dso-survey-rating.js +1 -1
  315. package/dist/components/dso-tabs.js +1 -1
  316. package/dist/components/dso-tijdreis-banner.js +1 -1
  317. package/dist/components/dso-tooltip.js +1 -1
  318. package/dist/components/dso-tree-view.js +1 -1
  319. package/dist/components/dso-viewer-grid.js +1 -1
  320. package/dist/components/expandable.js +1 -1
  321. package/dist/components/i18n.js +1 -1
  322. package/dist/components/icon-button.js +1 -1
  323. package/dist/components/icon.js +1 -1
  324. package/dist/components/image-overlay.js +1 -1
  325. package/dist/components/index.d.ts +4 -0
  326. package/dist/components/index.esm.js +1 -1
  327. package/dist/components/index.js +1 -1
  328. package/dist/components/index2.js +1 -1
  329. package/dist/components/index3.js +1 -0
  330. package/dist/components/info-button.js +1 -1
  331. package/dist/components/info.js +1 -1
  332. package/dist/components/label.js +1 -1
  333. package/dist/components/modal.js +1 -1
  334. package/dist/components/ozon-content-toggletip.js +1 -1
  335. package/dist/components/ozon-content.js +1 -1
  336. package/dist/components/panel.js +1 -1
  337. package/dist/components/progress-indicator.js +1 -1
  338. package/dist/components/renvooi.js +1 -1
  339. package/dist/components/responsive-element.js +1 -1
  340. package/dist/components/scrollable.js +1 -1
  341. package/dist/components/selectable.js +1 -1
  342. package/dist/components/slide-toggle.js +1 -1
  343. package/dist/components/table.js +1 -1
  344. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  345. package/dist/dso-toolkit/p-01ef7894.entry.js +1 -0
  346. package/dist/dso-toolkit/p-14c01a1b.entry.js +1 -0
  347. package/dist/dso-toolkit/{p-44549e9c.entry.js → p-1512f23c.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-540a8027.entry.js → p-15cf1d50.entry.js} +1 -1
  349. package/dist/dso-toolkit/{p-2d1eb113.entry.js → p-1bcb1be6.entry.js} +1 -1
  350. package/dist/dso-toolkit/{p-d9800183.entry.js → p-20dff64b.entry.js} +1 -1
  351. package/dist/dso-toolkit/{p-be7adaac.entry.js → p-2adca4ff.entry.js} +1 -1
  352. package/dist/dso-toolkit/p-2c966756.entry.js +1 -0
  353. package/dist/dso-toolkit/{p-f066244e.entry.js → p-2eecf6c8.entry.js} +1 -1
  354. package/dist/dso-toolkit/p-388128c4.entry.js +1 -0
  355. package/dist/dso-toolkit/{p-dabed551.entry.js → p-3b7b2b8f.entry.js} +1 -1
  356. package/dist/dso-toolkit/{p-e03ff53f.entry.js → p-3defafe9.entry.js} +1 -1
  357. package/dist/dso-toolkit/{p-798eeae6.entry.js → p-4172e122.entry.js} +1 -1
  358. package/dist/dso-toolkit/p-43d180dd.entry.js +1 -0
  359. package/dist/dso-toolkit/{p-bb7ac6f7.entry.js → p-45b1fde3.entry.js} +1 -1
  360. package/dist/dso-toolkit/p-45d91da0.entry.js +1 -0
  361. package/dist/dso-toolkit/p-4855c2f3.entry.js +1 -0
  362. package/dist/dso-toolkit/p-48a683ed.entry.js +1 -0
  363. package/dist/dso-toolkit/{p-c9768843.entry.js → p-4da1153e.entry.js} +1 -1
  364. package/dist/dso-toolkit/{p-2edbfaae.entry.js → p-4fc4d02f.entry.js} +1 -1
  365. package/dist/dso-toolkit/p-4fc83300.entry.js +1 -0
  366. package/dist/dso-toolkit/{p-8e206e7e.entry.js → p-520dc726.entry.js} +1 -1
  367. package/dist/dso-toolkit/p-5517c4f6.entry.js +1 -0
  368. package/dist/dso-toolkit/{p-cce55fbb.entry.js → p-57ff1b4b.entry.js} +1 -1
  369. package/dist/dso-toolkit/{p-4020bb89.entry.js → p-5904bfcb.entry.js} +1 -1
  370. package/dist/dso-toolkit/p-5962b2d4.entry.js +1 -0
  371. package/dist/dso-toolkit/p-5a3e159b.entry.js +1 -0
  372. package/dist/dso-toolkit/{p-6ebe1b0e.entry.js → p-70972000.entry.js} +1 -1
  373. package/dist/dso-toolkit/p-7379b3bc.entry.js +1 -0
  374. package/dist/dso-toolkit/p-737d1d0e.entry.js +1 -0
  375. package/dist/dso-toolkit/{p-181cb6f7.entry.js → p-796cebce.entry.js} +1 -1
  376. package/dist/dso-toolkit/{p-3047432c.entry.js → p-7a2c40f3.entry.js} +1 -1
  377. package/dist/dso-toolkit/{p-85c2c887.entry.js → p-7b8b9188.entry.js} +1 -1
  378. package/dist/dso-toolkit/p-7c41ad14.entry.js +5 -0
  379. package/dist/dso-toolkit/{p-875b414d.entry.js → p-7d9ce75e.entry.js} +1 -1
  380. package/dist/dso-toolkit/{p-626ae90b.entry.js → p-845d3d61.entry.js} +1 -1
  381. package/dist/dso-toolkit/p-85d562bd.entry.js +1 -0
  382. package/dist/dso-toolkit/p-8b46e524.entry.js +1 -0
  383. package/dist/dso-toolkit/{p-ea1f5082.entry.js → p-91e4c3e6.entry.js} +1 -1
  384. package/dist/dso-toolkit/{p-b2202cd6.entry.js → p-965ee5c3.entry.js} +1 -1
  385. package/dist/dso-toolkit/{p-b4747ac0.entry.js → p-96d40735.entry.js} +1 -1
  386. package/dist/dso-toolkit/p-9b9588a4.entry.js +1 -0
  387. package/dist/dso-toolkit/{p-e08e43be.entry.js → p-9e4fcb9a.entry.js} +1 -1
  388. package/dist/dso-toolkit/{p-PsHl6ZhV.js → p-BZ0vuOVx.js} +1 -1
  389. package/dist/dso-toolkit/{p-PjubEIMY.js → p-CDgoS98P.js} +1 -1
  390. package/dist/dso-toolkit/{p-Chbfdofl.js → p-CHpgprST.js} +1 -1
  391. package/dist/dso-toolkit/p-CKvC5fms.js +1 -0
  392. package/dist/dso-toolkit/p-CRgylkO_.js +1 -0
  393. package/dist/dso-toolkit/p-CWxbEBiv.js +1 -0
  394. package/dist/dso-toolkit/p-CmOx9B7G.js +1 -0
  395. package/dist/dso-toolkit/p-Cw_CPOlV.js +1 -0
  396. package/dist/dso-toolkit/p-DHGCm31c.js +1 -0
  397. package/dist/dso-toolkit/p-a8ef7b7e.entry.js +1 -0
  398. package/dist/dso-toolkit/{p-fc8f252a.entry.js → p-adf26ede.entry.js} +1 -1
  399. package/dist/dso-toolkit/p-b469a75d.entry.js +1 -0
  400. package/dist/dso-toolkit/{p-c3d5ccc6.entry.js → p-b59d6811.entry.js} +1 -1
  401. package/dist/dso-toolkit/p-c41060e1.entry.js +1 -0
  402. package/dist/dso-toolkit/{p-75e5057e.entry.js → p-c782af02.entry.js} +1 -1
  403. package/dist/dso-toolkit/{p-84f647aa.entry.js → p-cb7a5987.entry.js} +1 -1
  404. package/dist/dso-toolkit/{p-e311d101.entry.js → p-cb8ad08f.entry.js} +1 -1
  405. package/dist/dso-toolkit/{p-3fe44227.entry.js → p-cdaeddbf.entry.js} +1 -1
  406. package/dist/dso-toolkit/p-d91feee5.entry.js +1 -0
  407. package/dist/dso-toolkit/{p-b270f26b.entry.js → p-ddbbc77d.entry.js} +1 -1
  408. package/dist/dso-toolkit/p-e53de048.entry.js +1 -0
  409. package/dist/dso-toolkit/{p-e1f30dbb.entry.js → p-e7323c65.entry.js} +1 -1
  410. package/dist/dso-toolkit/{p-a14ee5bd.entry.js → p-e7a860be.entry.js} +1 -1
  411. package/dist/dso-toolkit/p-e803701e.entry.js +1 -0
  412. package/dist/dso-toolkit/{p-d877c432.entry.js → p-edddf0f5.entry.js} +1 -1
  413. package/dist/dso-toolkit/{p-7a809a49.entry.js → p-f52d7bb1.entry.js} +1 -1
  414. package/dist/dso-toolkit/p-fdf9798a.entry.js +1 -0
  415. package/dist/dso-toolkit/{p-d87dd7c8.entry.js → p-fe00cb79.entry.js} +1 -1
  416. package/dist/esm/{annotation-body-DeKLxp3F.js → annotation-body-DBGu5INB.js} +1 -1
  417. package/dist/esm/{annotation-list-renvooi-values-CGxBKqb7.js → annotation-list-renvooi-values-DoTvSWOI.js} +1 -1
  418. package/dist/esm/{annotation-watcher-BO_h7wWk.js → annotation-watcher-Dm4MhmMp.js} +1 -1
  419. package/dist/esm/dso-accordion-section.entry.js +8 -7
  420. package/dist/esm/dso-accordion.entry.js +2 -276
  421. package/dist/esm/dso-action-list-item.entry.js +2 -2
  422. package/dist/esm/dso-action-list.entry.js +2 -2
  423. package/dist/esm/dso-advanced-select.entry.js +104 -227
  424. package/dist/esm/dso-alert_7.entry.js +68 -27
  425. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  426. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  427. package/dist/esm/dso-annotation-kaart.entry.js +3 -3
  428. package/dist/esm/dso-annotation-locatie_2.entry.js +6 -6
  429. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  430. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  431. package/dist/esm/dso-autosuggest.entry.js +23 -14
  432. package/dist/esm/dso-banner.entry.js +2 -2
  433. package/dist/esm/dso-button-group.entry.js +2 -2
  434. package/dist/esm/dso-card-container.entry.js +1 -1
  435. package/dist/esm/dso-card.entry.js +2 -2
  436. package/dist/esm/dso-contact-information.entry.js +1 -1
  437. package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
  438. package/dist/esm/dso-date-picker.entry.js +1 -1
  439. package/dist/esm/dso-document-card.entry.js +2 -2
  440. package/dist/esm/dso-dropdown-menu-group.entry.js +29 -0
  441. package/dist/esm/dso-dropdown-menu-item.entry.js +39 -0
  442. package/dist/esm/dso-dropdown-menu.entry.js +80 -101
  443. package/dist/esm/dso-header.entry.js +22 -5
  444. package/dist/esm/dso-highlight-box.entry.js +2 -2
  445. package/dist/esm/dso-history-item.entry.js +2 -2
  446. package/dist/esm/dso-icon-button.entry.js +95 -0
  447. package/dist/esm/{dso-icon_2.entry.js → dso-icon.entry.js} +3 -95
  448. package/dist/esm/dso-info_3.entry.js +7 -7
  449. package/dist/esm/dso-input-range.entry.js +3 -3
  450. package/dist/esm/dso-label_3.entry.js +7 -7
  451. package/dist/esm/dso-legend-group.entry.js +3 -3
  452. package/dist/esm/dso-legend-item.entry.js +3 -3
  453. package/dist/esm/dso-legend.entry.js +4 -4
  454. package/dist/esm/dso-list-button.entry.js +3 -3
  455. package/dist/esm/dso-logo.entry.js +2 -2
  456. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  457. package/dist/esm/dso-map-controls.entry.js +4 -4
  458. package/dist/esm/dso-map-layer-object.entry.js +4 -4
  459. package/dist/esm/dso-map-layer.entry.js +4 -4
  460. package/dist/esm/dso-map-message.entry.js +3 -3
  461. package/dist/esm/dso-map-overlays.entry.js +3 -3
  462. package/dist/esm/dso-mark-bar.entry.js +2 -2
  463. package/dist/esm/dso-modal.entry.js +4 -4
  464. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  465. package/dist/esm/dso-pagination.entry.js +1 -1
  466. package/dist/esm/dso-plekinfo-card.entry.js +4 -4
  467. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  468. package/dist/esm/dso-project-item.entry.js +3 -3
  469. package/dist/esm/dso-responsive-element.entry.js +19 -5
  470. package/dist/esm/dso-scrollable.entry.js +4 -4
  471. package/dist/esm/dso-segmented-button.entry.js +2 -2
  472. package/dist/esm/dso-skiplink.entry.js +2 -2
  473. package/dist/esm/dso-survey-rating.entry.js +4 -4
  474. package/dist/esm/dso-tab.entry.js +1 -1
  475. package/dist/esm/dso-tabs.entry.js +2 -2
  476. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  477. package/dist/esm/dso-toolkit.js +4 -4
  478. package/dist/esm/dso-tooltip.entry.js +2 -2
  479. package/dist/esm/dso-tree-view.entry.js +3 -3
  480. package/dist/esm/dso-viewer-grid.entry.js +4 -4
  481. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  482. package/dist/esm/{i18n-DwBHVuoZ.js → i18n-CRgylkO_.js} +12 -4
  483. package/dist/esm/index-OTFpj3vR.js +278 -0
  484. package/dist/esm/{index-DrQGiJP8.js → index-pqfDfKeZ.js} +1 -1
  485. package/dist/{bundle/p-PsHl6ZhV.js → esm/index.esm-BZ0vuOVx.js} +1 -1
  486. package/dist/esm/loader.js +3 -3
  487. package/dist/esm/{parse-wijzigactie-from-node.function-BroGebB4.js → parse-wijzigactie-from-node.function-Cn1GXjSM.js} +1 -1
  488. package/dist/esm/{tooltip.functional-component-nHAIYF3o.js → tooltip.functional-component-CsWjK64w.js} +1 -1
  489. package/dist/esm/{wrap-wijzigactie.functional-component-BCT1o51-.js → wrap-wijzigactie.functional-component-DzSLSv0i.js} +1 -1
  490. package/dist/types/components/annotation/annotation-list-renvooi-values.d.ts +2 -2
  491. package/dist/types/components/autosuggest/autosuggest.d.ts +2 -0
  492. package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +12 -0
  493. package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +31 -0
  494. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +25 -20
  495. package/dist/types/components/dropdown-menu/dropdown-menu.interfaces.d.ts +10 -0
  496. package/dist/types/components/header/header.d.ts +3 -0
  497. package/dist/types/components/image-overlay/image-overlay.d.ts +3 -0
  498. package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
  499. package/dist/types/components/table/table.d.ts +3 -0
  500. package/dist/types/components.d.ts +99 -25
  501. package/dist/types/stencil-public-runtime.d.ts +1 -0
  502. package/package.json +13 -13
  503. package/dist/bundle/p-0h9cOnX9.js +0 -148
  504. package/dist/bundle/p-6-0kKG2F.js +0 -189
  505. package/dist/bundle/p-BnDZHxeO.js +0 -166
  506. package/dist/bundle/p-C2l5d-V9.js +0 -341
  507. package/dist/bundle/p-C332B2dN.js +0 -100
  508. package/dist/bundle/p-HXung-P3.js +0 -1209
  509. package/dist/bundle/p-z2uKmX1Q.js +0 -83
  510. package/dist/bundle/p-zYhsKlIm.js +0 -124
  511. package/dist/dso-toolkit/p-0146f231.entry.js +0 -1
  512. package/dist/dso-toolkit/p-040f3f53.entry.js +0 -1
  513. package/dist/dso-toolkit/p-0cc62094.entry.js +0 -1
  514. package/dist/dso-toolkit/p-1bb92456.entry.js +0 -7
  515. package/dist/dso-toolkit/p-1ea5fb0d.entry.js +0 -1
  516. package/dist/dso-toolkit/p-4a493df9.entry.js +0 -1
  517. package/dist/dso-toolkit/p-5a25d8d9.entry.js +0 -1
  518. package/dist/dso-toolkit/p-61fd983a.entry.js +0 -1
  519. package/dist/dso-toolkit/p-6c41b0a9.entry.js +0 -1
  520. package/dist/dso-toolkit/p-7f3898d7.entry.js +0 -1
  521. package/dist/dso-toolkit/p-869027bc.entry.js +0 -1
  522. package/dist/dso-toolkit/p-8b9194ca.entry.js +0 -1
  523. package/dist/dso-toolkit/p-9b0716d8.entry.js +0 -1
  524. package/dist/dso-toolkit/p-9ce75fcd.entry.js +0 -1
  525. package/dist/dso-toolkit/p-AZpKxz9p.js +0 -1
  526. package/dist/dso-toolkit/p-BKr5d3Gu.js +0 -1
  527. package/dist/dso-toolkit/p-Dev1bLxp.js +0 -1
  528. package/dist/dso-toolkit/p-DwBHVuoZ.js +0 -1
  529. package/dist/dso-toolkit/p-a286ac17.entry.js +0 -1
  530. package/dist/dso-toolkit/p-a8184705.entry.js +0 -1
  531. package/dist/dso-toolkit/p-ab33a108.entry.js +0 -1
  532. package/dist/dso-toolkit/p-b2d0319d.entry.js +0 -1
  533. package/dist/dso-toolkit/p-bf803e4f.entry.js +0 -1
  534. package/dist/dso-toolkit/p-c0111a70.entry.js +0 -1
  535. package/dist/dso-toolkit/p-d4539b83.entry.js +0 -1
  536. package/dist/dso-toolkit/p-db32a77a.entry.js +0 -1
  537. package/dist/dso-toolkit/p-go_iJ4_L.js +0 -1
  538. /package/dist/dso-toolkit/{p-DrQGiJP8.js → p-pqfDfKeZ.js} +0 -0
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, d as createEvent, h, g as getElement } from './index-DrQGiJP8.js';
1
+ import { r as registerInstance, d as createEvent, h, g as getElement } from './index-pqfDfKeZ.js';
2
2
  import { c as clsx } from './clsx-ChV9xqsO.js';
3
- import { i as isFocusable, t as tabbable, f as focusable, a as isTabbable, g as getTabIndex } from './index.esm-PsHl6ZhV.js';
3
+ import { t as tabbable, f as focusable, i as isTabbable, g as getTabIndex, a as isFocusable } from './index.esm-BZ0vuOVx.js';
4
4
  import { i as isModifiedEvent } from './is-modified-event-Hgv-pDpy.js';
5
5
 
6
6
  /*!
7
- * focus-trap 8.1.0
7
+ * focus-trap 8.2.1
8
8
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
9
9
  */
10
10
 
@@ -16,31 +16,6 @@ function _arrayLikeToArray(r, a) {
16
16
  function _arrayWithoutHoles(r) {
17
17
  if (Array.isArray(r)) return _arrayLikeToArray(r);
18
18
  }
19
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
20
- try {
21
- var i = n[a](c),
22
- u = i.value;
23
- } catch (n) {
24
- return void e(n);
25
- }
26
- i.done ? t(u) : Promise.resolve(u).then(r, o);
27
- }
28
- function _asyncToGenerator(n) {
29
- return function () {
30
- var t = this,
31
- e = arguments;
32
- return new Promise(function (r, o) {
33
- var a = n.apply(t, e);
34
- function _next(n) {
35
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
36
- }
37
- function _throw(n) {
38
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
39
- }
40
- _next(void 0);
41
- });
42
- };
43
- }
44
19
  function _createForOfIteratorHelper(r, e) {
45
20
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
46
21
  if (!t) {
@@ -124,109 +99,6 @@ function _objectSpread2(e) {
124
99
  }
125
100
  return e;
126
101
  }
127
- function _regenerator() {
128
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
129
- var e,
130
- t,
131
- r = "function" == typeof Symbol ? Symbol : {},
132
- n = r.iterator || "@@iterator",
133
- o = r.toStringTag || "@@toStringTag";
134
- function i(r, n, o, i) {
135
- var c = n && n.prototype instanceof Generator ? n : Generator,
136
- u = Object.create(c.prototype);
137
- return _regeneratorDefine(u, "_invoke", function (r, n, o) {
138
- var i,
139
- c,
140
- u,
141
- f = 0,
142
- p = o || [],
143
- y = false,
144
- G = {
145
- p: 0,
146
- n: 0,
147
- v: e,
148
- a: d,
149
- f: d.bind(e, 4),
150
- d: function (t, r) {
151
- return i = t, c = 0, u = e, G.n = r, a;
152
- }
153
- };
154
- function d(r, n) {
155
- for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
156
- var o,
157
- i = p[t],
158
- d = G.p,
159
- l = i[2];
160
- r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
161
- }
162
- if (o || r > 1) return a;
163
- throw y = true, n;
164
- }
165
- return function (o, p, l) {
166
- if (f > 1) throw TypeError("Generator is already running");
167
- for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
168
- i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
169
- try {
170
- if (f = 2, i) {
171
- if (c || (o = "next"), t = i[o]) {
172
- if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
173
- if (!t.done) return t;
174
- u = t.value, c < 2 && (c = 0);
175
- } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
176
- i = e;
177
- } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
178
- } catch (t) {
179
- i = e, c = 1, u = t;
180
- } finally {
181
- f = 1;
182
- }
183
- }
184
- return {
185
- value: t,
186
- done: y
187
- };
188
- };
189
- }(r, o, i), true), u;
190
- }
191
- var a = {};
192
- function Generator() {}
193
- function GeneratorFunction() {}
194
- function GeneratorFunctionPrototype() {}
195
- t = Object.getPrototypeOf;
196
- var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
197
- return this;
198
- }), t),
199
- u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
200
- function f(e) {
201
- return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
202
- }
203
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
204
- return this;
205
- }), _regeneratorDefine(u, "toString", function () {
206
- return "[object Generator]";
207
- }), (_regenerator = function () {
208
- return {
209
- w: i,
210
- m: f
211
- };
212
- })();
213
- }
214
- function _regeneratorDefine(e, r, n, t) {
215
- var i = Object.defineProperty;
216
- _regeneratorDefine = function (e, r, n, t) {
217
- function o(r, n) {
218
- _regeneratorDefine(e, r, function (e) {
219
- return this._invoke(r, n, e);
220
- });
221
- }
222
- r ? i ? i(e, r, {
223
- value: n,
224
- enumerable: !t,
225
- configurable: !t,
226
- writable: !t
227
- }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
228
- }, _regeneratorDefine(e, r, n, t);
229
- }
230
102
  function _toConsumableArray(r) {
231
103
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
232
104
  }
@@ -355,6 +227,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
355
227
  returnFocusOnDeactivate: true,
356
228
  escapeDeactivates: true,
357
229
  delayInitialFocus: true,
230
+ delayReturnFocus: true,
358
231
  isolateSubtrees: false,
359
232
  isKeyForward: isKeyForward,
360
233
  isKeyBackward: isKeyBackward
@@ -504,6 +377,25 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
504
377
  }
505
378
  return node;
506
379
  };
380
+
381
+ /**
382
+ * Gets the current activeElement. If it's a web-component and has open shadow-root
383
+ * it will recursively search inside shadow roots for the "true" activeElement.
384
+ *
385
+ * @param {Document | ShadowRoot} el
386
+ *
387
+ * @returns {HTMLElement|null} The element that currently has the focus. `null` if a focused element isn't found.
388
+ **/
389
+ var _getActiveElement = function getActiveElement(el) {
390
+ var activeElement = el.activeElement;
391
+ if (!activeElement) {
392
+ return null;
393
+ }
394
+ if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
395
+ return _getActiveElement(activeElement.shadowRoot);
396
+ }
397
+ return activeElement;
398
+ };
507
399
  var getInitialFocusNode = function getInitialFocusNode() {
508
400
  var node = getNodeForOption('initialFocus', {
509
401
  hasFallback: true
@@ -514,9 +406,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
514
406
  return false;
515
407
  }
516
408
  if (node === undefined || node && !isFocusable(node, config.tabbableOptions)) {
409
+ var activeElement = _getActiveElement(doc);
410
+
517
411
  // option not specified nor focusable: use fallback options
518
- if (findContainerIndex(doc.activeElement) >= 0) {
519
- node = doc.activeElement;
412
+ if (findContainerIndex(activeElement) >= 0) {
413
+ node = activeElement;
520
414
  } else {
521
415
  var firstTabbableGroup = state.tabbableGroups[0];
522
416
  var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
@@ -628,25 +522,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
628
522
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
629
523
  }
630
524
  };
631
-
632
- /**
633
- * Gets the current activeElement. If it's a web-component and has open shadow-root
634
- * it will recursively search inside shadow roots for the "true" activeElement.
635
- *
636
- * @param {Document | ShadowRoot} el
637
- *
638
- * @returns {HTMLElement} The element that currently has the focus
639
- **/
640
- var _getActiveElement = function getActiveElement(el) {
641
- var activeElement = el.activeElement;
642
- if (!activeElement) {
643
- return;
644
- }
645
- if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
646
- return _getActiveElement(activeElement.shadowRoot);
647
- }
648
- return activeElement;
649
- };
650
525
  var _tryFocus = function tryFocus(node) {
651
526
  if (node === false) {
652
527
  return;
@@ -967,12 +842,13 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
967
842
  /**
968
843
  * Adds listeners to the document necessary for trapping focus and attempts to set focus
969
844
  * to the configured initial focus node. Does nothing if the trap isn't active.
970
- * @returns {Promise<void>} Resolved (always) once the initial focus node has been focused.
971
- * Also resolved if the trap isn't active.
845
+ * @returns {Promise<void> | undefined} A promise resolved once the initial focus node has
846
+ * been focused when `delayInitialFocus=true`; `undefined` when focus is set synchronously
847
+ * or the trap isn't active.
972
848
  */
973
849
  var addListeners = function addListeners() {
974
850
  if (!state.active) {
975
- return Promise.resolve();
851
+ return;
976
852
  }
977
853
 
978
854
  // There can be only one listening focus trap at a time
@@ -980,7 +856,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
980
856
 
981
857
  // Delay ensures that the focused element doesn't capture the event
982
858
  // that caused the focus trap activation.
983
- /** @type {Promise<void>} */
859
+ /** @type {Promise<void> | undefined} */
984
860
  var promise;
985
861
  if (config.delayInitialFocus) {
986
862
  // NOTE: Promise constructor callback is called synchronously, which is what we want
@@ -992,7 +868,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
992
868
  });
993
869
  });
994
870
  } else {
995
- promise = Promise.resolve();
996
871
  _tryFocus(getInitialFocusNode());
997
872
  }
998
873
  doc.addEventListener('focusin', checkFocusIn, true);
@@ -1101,17 +976,27 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1101
976
  //
1102
977
 
1103
978
  var checkDomRemoval = function checkDomRemoval(mutations) {
979
+ var focusedNode = state.mostRecentlyFocusedNode;
980
+ if (!focusedNode) {
981
+ return;
982
+ }
1104
983
  var isFocusedNodeRemoved = mutations.some(function (mutation) {
1105
984
  var removedNodes = Array.from(mutation.removedNodes);
1106
985
  return removedNodes.some(function (node) {
1107
- return node === state.mostRecentlyFocusedNode;
986
+ return node === focusedNode || typeof node.contains === 'function' && node.contains(focusedNode);
1108
987
  });
1109
988
  });
1110
989
 
1111
- // If the currently focused is removed then browsers will move focus to the
990
+ // If the currently focused node is removed then browsers will move focus to the
1112
991
  // <body> element. If this happens, try to move focus back into the trap.
1113
- if (isFocusedNodeRemoved) {
1114
- _tryFocus(getInitialFocusNode());
992
+ if (isFocusedNodeRemoved && state.containers.some(function (container) {
993
+ return container === null || container === void 0 ? void 0 : container.isConnected;
994
+ })) {
995
+ // Refresh tabbable state before resolving initial focus because
996
+ // getInitialFocusNode() may fall back to the first tabbable node in the trap.
997
+ updateTabbableNodes();
998
+ var initialFocusNode = getInitialFocusNode();
999
+ _tryFocus(initialFocusNode);
1115
1000
  }
1116
1001
  };
1117
1002
 
@@ -1174,37 +1059,30 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1174
1059
  onActivate === null || onActivate === void 0 || onActivate({
1175
1060
  trap: trap
1176
1061
  });
1177
- var finishActivation = /*#__PURE__*/function () {
1178
- var _ref6 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
1179
- return _regenerator().w(function (_context) {
1180
- while (1) switch (_context.n) {
1181
- case 0:
1182
- if (checkCanFocusTrap) {
1183
- updateTabbableNodes();
1184
- }
1185
-
1186
- // NOTE: wait for initial focus node to get focused before we potentially isolate
1187
- // the subtrees with aria-hidden while focus is still in some other subtree and
1188
- // not yet in the trap, resulting in some browsers (e.g. Chrome) logging to the
1189
- // console that they, "Blocked aria-hidden on an element because its descendant
1190
- // retained focus..."
1191
- _context.n = 1;
1192
- return addListeners();
1193
- case 1:
1194
- trap._setSubtreeIsolation(true);
1195
- updateObservedNodes();
1196
- onPostActivate === null || onPostActivate === void 0 || onPostActivate({
1197
- trap: trap
1198
- });
1199
- case 2:
1200
- return _context.a(2);
1201
- }
1202
- }, _callee);
1203
- }));
1204
- return function finishActivation() {
1205
- return _ref6.apply(this, arguments);
1062
+ var finishActivation = function finishActivation() {
1063
+ if (checkCanFocusTrap) {
1064
+ updateTabbableNodes();
1065
+ }
1066
+ var afterListeners = function afterListeners() {
1067
+ trap._setSubtreeIsolation(true);
1068
+ updateObservedNodes();
1069
+ onPostActivate === null || onPostActivate === void 0 || onPostActivate({
1070
+ trap: trap
1071
+ });
1206
1072
  };
1207
- }();
1073
+
1074
+ // NOTE: wait for initial focus node to get focused (whether activation is fully,
1075
+ // partially, or not asynchronous) before we potentially isolate the subtrees
1076
+ // with aria-hidden while focus is still in some other subtree and not yet in
1077
+ // the trap, resulting in some browsers (e.g. Chrome) logging to the console that
1078
+ // they, "Blocked aria-hidden on an element because its descendant retained focus..."
1079
+ var listenersPromise = addListeners();
1080
+ if (listenersPromise) {
1081
+ listenersPromise.then(afterListeners);
1082
+ } else {
1083
+ afterListeners();
1084
+ }
1085
+ };
1208
1086
  if (checkCanFocusTrap) {
1209
1087
  checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
1210
1088
  return this;
@@ -1252,20 +1130,26 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1252
1130
  var onDeactivate = getOption(options, 'onDeactivate');
1253
1131
  var onPostDeactivate = getOption(options, 'onPostDeactivate');
1254
1132
  var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
1133
+ var delayReturnFocus = getOption(options, 'delayReturnFocus');
1255
1134
  var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
1256
1135
  onDeactivate === null || onDeactivate === void 0 || onDeactivate({
1257
1136
  trap: trap
1258
1137
  });
1259
- var finishDeactivation = function finishDeactivation() {
1260
- delay(function () {
1261
- if (returnFocus) {
1262
- _tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
1263
- }
1264
- onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate({
1265
- trap: trap
1266
- });
1138
+ var completeDeactivation = function completeDeactivation() {
1139
+ if (returnFocus) {
1140
+ _tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
1141
+ }
1142
+ onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate({
1143
+ trap: trap
1267
1144
  });
1268
1145
  };
1146
+ var finishDeactivation = function finishDeactivation() {
1147
+ if (delayReturnFocus && returnFocus) {
1148
+ delay(completeDeactivation);
1149
+ } else {
1150
+ completeDeactivation();
1151
+ }
1152
+ };
1269
1153
  if (returnFocus && checkCanReturnFocus) {
1270
1154
  checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
1271
1155
  return this;
@@ -1338,35 +1222,28 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1338
1222
  onUnpause === null || onUnpause === void 0 || onUnpause({
1339
1223
  trap: trap
1340
1224
  });
1341
- var finishUnpause = /*#__PURE__*/function () {
1342
- var _ref7 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
1343
- return _regenerator().w(function (_context2) {
1344
- while (1) switch (_context2.n) {
1345
- case 0:
1346
- updateTabbableNodes();
1347
-
1348
- // NOTE: wait for initial focus node to get focused before we potentially isolate
1349
- // the subtrees with aria-hidden while focus is still in some other subtree and
1350
- // not yet in the trap, resulting in some browsers (e.g. Chrome) logging to the
1351
- // console that they, "Blocked aria-hidden on an element because its descendant
1352
- // retained focus..."
1353
- _context2.n = 1;
1354
- return addListeners();
1355
- case 1:
1356
- trap._setSubtreeIsolation(true);
1357
- updateObservedNodes();
1358
- onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause({
1359
- trap: trap
1360
- });
1361
- case 2:
1362
- return _context2.a(2);
1363
- }
1364
- }, _callee2);
1365
- }));
1366
- return function finishUnpause() {
1367
- return _ref7.apply(this, arguments);
1225
+ var finishUnpause = function finishUnpause() {
1226
+ updateTabbableNodes();
1227
+ var afterListeners = function afterListeners() {
1228
+ trap._setSubtreeIsolation(true);
1229
+ updateObservedNodes();
1230
+ onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause({
1231
+ trap: trap
1232
+ });
1368
1233
  };
1369
- }();
1234
+
1235
+ // NOTE: wait for initial focus node to get focused (whether activation is fully,
1236
+ // partially, or not asynchronous) before we potentially isolate the subtrees
1237
+ // with aria-hidden while focus is still in some other subtree and not yet in
1238
+ // the trap, resulting in some browsers (e.g. Chrome) logging to the console that
1239
+ // they, "Blocked aria-hidden on an element because its descendant retained focus..."
1240
+ var listenersPromise = addListeners();
1241
+ if (listenersPromise) {
1242
+ listenersPromise.then(afterListeners);
1243
+ } else {
1244
+ afterListeners();
1245
+ }
1246
+ };
1370
1247
  finishUnpause();
1371
1248
  }
1372
1249
  return this;