dso-toolkit 35.0.0 → 36.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 (279) hide show
  1. package/components/Componenten/description/description.config.yml +0 -20
  2. package/components/Componenten/description/description.njk +1 -1
  3. package/components/Voorbeelden/20-Toepassingen/20-Samenwerken/overzicht-samenwerkingen.njk +2 -4
  4. package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Mijn Projecten.njk +4 -2
  5. package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.njk +12 -11
  6. package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Verzoek detail.njk +22 -12
  7. package/dist/library/@dso-toolkit/core/cjs/dso-alert.cjs.entry.js +1 -1
  8. package/dist/library/@dso-toolkit/core/cjs/dso-attachments-counter.cjs.entry.js +1 -1
  9. package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +2 -2
  10. package/dist/library/@dso-toolkit/core/cjs/dso-badge.cjs.entry.js +1 -1
  11. package/dist/library/@dso-toolkit/core/cjs/dso-banner.cjs.entry.js +1 -1
  12. package/dist/library/@dso-toolkit/core/cjs/dso-date-picker.cjs.entry.js +2 -2
  13. package/dist/library/@dso-toolkit/core/cjs/dso-dropdown-menu.cjs.entry.js +2 -2
  14. package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +16 -7
  15. package/dist/library/@dso-toolkit/core/cjs/dso-helpcenter-panel.cjs.entry.js +1 -1
  16. package/dist/library/@dso-toolkit/core/cjs/dso-highlight-box.cjs.entry.js +1 -1
  17. package/dist/library/@dso-toolkit/core/cjs/dso-icon.cjs.entry.js +1 -1
  18. package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +4 -4
  19. package/dist/library/@dso-toolkit/core/cjs/dso-info-button.cjs.entry.js +1 -1
  20. package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +2 -2
  21. package/dist/library/@dso-toolkit/core/cjs/dso-label.cjs.entry.js +1 -1
  22. package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  23. package/dist/library/@dso-toolkit/core/cjs/dso-map-controls.cjs.entry.js +22 -19
  24. package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +1 -1
  25. package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +36 -24
  26. package/dist/library/@dso-toolkit/core/cjs/dso-progress-bar.cjs.entry.js +1 -1
  27. package/dist/library/@dso-toolkit/core/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  28. package/dist/library/@dso-toolkit/core/cjs/dso-toggletip.cjs.entry.js +1 -1
  29. package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +2 -2
  30. package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +8 -4
  31. package/dist/library/@dso-toolkit/core/cjs/dso-tree-view.cjs.entry.js +9 -9
  32. package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  33. package/dist/library/@dso-toolkit/core/cjs/{focus-trap.esm-8d3e3fb6.js → focus-trap.esm-a85643b0.js} +102 -68
  34. package/dist/library/@dso-toolkit/core/cjs/{index-5ea63531.js → index-dfb4ea62.js} +73 -64
  35. package/dist/library/@dso-toolkit/core/cjs/index.esm-3520a2a6.js +427 -0
  36. package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +2 -2
  37. package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +2 -2
  38. package/dist/library/@dso-toolkit/core/collection/components/alert/alert.template.js +1 -1
  39. package/dist/library/@dso-toolkit/core/collection/components/anchor/anchor.template.js +1 -1
  40. package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.css +1 -1
  41. package/dist/library/@dso-toolkit/core/collection/components/badge/badge.template.js +1 -1
  42. package/dist/library/@dso-toolkit/core/collection/components/button/button.template.js +1 -1
  43. package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.css +6 -6
  44. package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.stories.js +5 -7
  45. package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.template.js +1 -1
  46. package/dist/library/@dso-toolkit/core/collection/components/definition-list/definition-list.template.js +2 -2
  47. package/dist/library/@dso-toolkit/core/collection/components/dropdown-menu/dropdown-menu.stories.js +1 -1
  48. package/dist/library/@dso-toolkit/core/collection/components/dropdown-menu/dropdown-menu.template.js +1 -1
  49. package/dist/library/@dso-toolkit/core/collection/components/header/header.css +1 -1
  50. package/dist/library/@dso-toolkit/core/collection/components/header/header.js +38 -9
  51. package/dist/library/@dso-toolkit/core/collection/components/header/header.template.js +4 -2
  52. package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.template.js +2 -2
  53. package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.template.js +2 -2
  54. package/dist/library/@dso-toolkit/core/collection/components/icon/icon.template.js +1 -1
  55. package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +1 -1
  56. package/dist/library/@dso-toolkit/core/collection/components/label/label.template.js +2 -2
  57. package/dist/library/@dso-toolkit/core/collection/components/list/list.template.js +1 -1
  58. package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.js +17 -19
  59. package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.stories.js +4 -6
  60. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/get-node-name.function.js +9 -0
  61. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +2 -1
  62. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/fallback.node.js +2 -1
  63. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +15 -15
  64. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +9 -5
  65. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +76 -23
  66. package/dist/library/@dso-toolkit/core/collection/components/progress-bar/progress-bar.template.js +1 -1
  67. package/dist/library/@dso-toolkit/core/collection/components/progress-indicator/progress-indicator.template.js +1 -1
  68. package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.css +7 -1
  69. package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.template.js +1 -1
  70. package/dist/library/@dso-toolkit/core/collection/components/toggletip/toggletip.template.js +2 -2
  71. package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.css +1 -1
  72. package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.stories.js +1 -1
  73. package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.template.js +1 -1
  74. package/dist/library/@dso-toolkit/core/collection/components/tree-view/tree-item.js +7 -7
  75. package/dist/library/@dso-toolkit/core/collection/components/tree-view/tree-view.css +86 -15
  76. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +2 -2
  77. package/dist/library/@dso-toolkit/core/custom-elements/index.js +438 -216
  78. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
  79. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
  80. package/dist/library/@dso-toolkit/core/dso-toolkit/p-016ed5a8.entry.js +1 -0
  81. package/dist/{toolkit/core/p-c6f467b3.entry.js → library/@dso-toolkit/core/dso-toolkit/p-0216f283.entry.js} +1 -1
  82. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-348414bf.entry.js → p-09bcacd0.entry.js} +1 -1
  83. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-2b6a3dfa.entry.js → p-117a31fe.entry.js} +1 -1
  84. package/dist/library/@dso-toolkit/core/dso-toolkit/p-131d54e3.js +5 -0
  85. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-50b63cf4.entry.js → p-1eeadd3e.entry.js} +1 -1
  86. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-ad540748.entry.js → p-2279329b.entry.js} +1 -1
  87. package/dist/library/@dso-toolkit/core/dso-toolkit/p-258e8371.entry.js +1 -0
  88. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-bc14cafd.entry.js → p-3ced438e.entry.js} +1 -1
  89. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-c54ecae1.entry.js → p-406b179d.entry.js} +1 -1
  90. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-225bbb28.entry.js → p-4b5f6b4c.entry.js} +1 -1
  91. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-3b493a2c.entry.js → p-527a85b6.entry.js} +1 -1
  92. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-94dffa65.entry.js → p-52f159e7.entry.js} +1 -1
  93. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-dc86d830.entry.js → p-58f5e092.entry.js} +1 -1
  94. package/dist/library/@dso-toolkit/core/dso-toolkit/p-5e5fbd41.js +5 -0
  95. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-f0b67246.entry.js → p-639228f6.entry.js} +1 -1
  96. package/dist/{toolkit/core/p-951f5872.entry.js → library/@dso-toolkit/core/dso-toolkit/p-6a8452bd.entry.js} +1 -1
  97. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-4e573fc5.entry.js → p-98ef5f8c.entry.js} +1 -1
  98. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-94b79e43.entry.js → p-a1c9bb35.entry.js} +1 -1
  99. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-3c4dbd89.entry.js → p-a5008a4e.entry.js} +1 -1
  100. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-c95108fe.entry.js → p-a59dcbb0.entry.js} +1 -1
  101. package/dist/library/@dso-toolkit/core/dso-toolkit/p-b06c275a.entry.js +1 -0
  102. package/dist/library/@dso-toolkit/core/dso-toolkit/p-b4222d6e.entry.js +1 -0
  103. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-dad72605.js → p-b9eb3491.js} +1 -1
  104. package/dist/library/@dso-toolkit/core/dso-toolkit/p-bec38cf5.entry.js +1 -0
  105. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-ad2210ad.entry.js → p-d0d3ca99.entry.js} +1 -1
  106. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-5037944e.entry.js → p-d72edd80.entry.js} +1 -1
  107. package/dist/{toolkit/core/p-1fefbf8c.entry.js → library/@dso-toolkit/core/dso-toolkit/p-e1934ab6.entry.js} +1 -1
  108. package/dist/library/@dso-toolkit/core/esm/dso-alert.entry.js +1 -1
  109. package/dist/library/@dso-toolkit/core/esm/dso-attachments-counter.entry.js +1 -1
  110. package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +2 -2
  111. package/dist/library/@dso-toolkit/core/esm/dso-badge.entry.js +1 -1
  112. package/dist/library/@dso-toolkit/core/esm/dso-banner.entry.js +1 -1
  113. package/dist/library/@dso-toolkit/core/esm/dso-date-picker.entry.js +2 -2
  114. package/dist/library/@dso-toolkit/core/esm/dso-dropdown-menu.entry.js +2 -2
  115. package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +16 -7
  116. package/dist/library/@dso-toolkit/core/esm/dso-helpcenter-panel.entry.js +1 -1
  117. package/dist/library/@dso-toolkit/core/esm/dso-highlight-box.entry.js +1 -1
  118. package/dist/library/@dso-toolkit/core/esm/dso-icon.entry.js +1 -1
  119. package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +4 -4
  120. package/dist/library/@dso-toolkit/core/esm/dso-info-button.entry.js +1 -1
  121. package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +2 -2
  122. package/dist/library/@dso-toolkit/core/esm/dso-label.entry.js +1 -1
  123. package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +1 -1
  124. package/dist/library/@dso-toolkit/core/esm/dso-map-controls.entry.js +22 -19
  125. package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +1 -1
  126. package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +36 -24
  127. package/dist/library/@dso-toolkit/core/esm/dso-progress-bar.entry.js +1 -1
  128. package/dist/library/@dso-toolkit/core/esm/dso-progress-indicator.entry.js +1 -1
  129. package/dist/library/@dso-toolkit/core/esm/dso-toggletip.entry.js +1 -1
  130. package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +2 -2
  131. package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +8 -4
  132. package/dist/library/@dso-toolkit/core/esm/dso-tree-view.entry.js +9 -9
  133. package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +4 -4
  134. package/dist/library/@dso-toolkit/core/esm/{focus-trap.esm-299989f2.js → focus-trap.esm-a01ad6c9.js} +102 -68
  135. package/dist/library/@dso-toolkit/core/esm/{index-d54cae76.js → index-9ec8c07f.js} +73 -64
  136. package/dist/library/@dso-toolkit/core/esm/index.esm-45465af7.js +422 -0
  137. package/dist/library/@dso-toolkit/core/esm/loader.js +2 -2
  138. package/dist/library/@dso-toolkit/core/types/components/header/header.d.ts +7 -1
  139. package/dist/library/@dso-toolkit/core/types/components/header/header.template.d.ts +1 -1
  140. package/dist/library/@dso-toolkit/core/types/components/ozon-content/get-node-name.function.d.ts +1 -0
  141. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/noot.node.d.ts +2 -2
  142. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-mapper.d.ts +0 -1
  143. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-context.interface.d.ts +0 -1
  144. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node.interface.d.ts +0 -1
  145. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +0 -1
  146. package/dist/library/@dso-toolkit/core/types/components.d.ts +3 -2
  147. package/dist/library/@dso-toolkit/core/types/icon/dso-icon-sass-function.d.ts +1 -1
  148. package/dist/library/_highlight.js_styles/dark.css +1 -1
  149. package/dist/library/_highlight.js_styles/default.css +1 -1
  150. package/dist/library/_highlight.js_styles/felipec.css +7 -0
  151. package/dist/library/_highlight.js_styles/gradient-dark.css +1 -1
  152. package/dist/library/_highlight.js_styles/gradient-light.css +1 -1
  153. package/dist/library/_highlight.js_styles/intellij-light.css +1 -0
  154. package/dist/library/_highlight.js_styles/tokyo-night-dark.css +8 -0
  155. package/dist/library/_highlight.js_styles/tokyo-night-light.css +8 -0
  156. package/dist/library/components/detail/description--default.html +3 -5
  157. package/dist/library/components/detail/description--expanded.html +3 -5
  158. package/dist/library/components/detail/description.html +4 -51
  159. package/dist/library/components/detail/form--autocomplete.html +1 -1
  160. package/dist/library/components/detail/form--form-horizontal.html +1 -1
  161. package/dist/library/components/detail/form--form-vertical.html +1 -1
  162. package/dist/library/components/detail/form--multi-page.html +1 -1
  163. package/dist/library/components/detail/form--sections.html +1 -1
  164. package/dist/library/components/detail/form--simple-form.html +1 -1
  165. package/dist/library/components/detail/form--single-page.html +1 -1
  166. package/dist/library/components/detail/form.html +1 -1
  167. package/dist/library/components/detail/mijn-projecten.html +12 -8
  168. package/dist/library/components/detail/overzicht-samenwerkingen.html +6 -10
  169. package/dist/library/components/detail/project-overzicht.html +26 -24
  170. package/dist/library/components/detail/verzoek-detail.html +59 -39
  171. package/dist/library/components/preview/description.html +0 -50
  172. package/dist/library/components/preview/mijn-projecten.html +4 -2
  173. package/dist/library/components/preview/overzicht-samenwerkingen.html +2 -4
  174. package/dist/library/components/preview/project-overzicht.html +26 -26
  175. package/dist/library/components/preview/verzoek-detail.html +23 -13
  176. package/dist/library/components/render/description.html +0 -50
  177. package/dist/library/components/render/mijn-projecten.html +4 -2
  178. package/dist/library/components/render/overzicht-samenwerkingen.html +2 -4
  179. package/dist/library/components/render/project-overzicht.html +12 -11
  180. package/dist/library/components/render/verzoek-detail.html +23 -13
  181. package/dist/library/styles/dso.css +79 -57
  182. package/dist/library/theme/theme.js +8 -3
  183. package/dist/library/theme/theme.js.map +1 -1
  184. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -0
  185. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -0
  186. package/dist/toolkit/core/{index.esm.js → packages/core/dist/dso-toolkit/index.esm.js} +0 -0
  187. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-016ed5a8.entry.js +1 -0
  188. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-c6f467b3.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-0216f283.entry.js} +1 -1
  189. package/dist/toolkit/core/{p-348414bf.entry.js → packages/core/dist/dso-toolkit/p-09bcacd0.entry.js} +1 -1
  190. package/dist/toolkit/core/{p-2b6a3dfa.entry.js → packages/core/dist/dso-toolkit/p-117a31fe.entry.js} +1 -1
  191. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-131d54e3.js +5 -0
  192. package/dist/toolkit/core/{p-1805f5b0.js → packages/core/dist/dso-toolkit/p-1805f5b0.js} +0 -0
  193. package/dist/toolkit/core/{p-19b890a3.js → packages/core/dist/dso-toolkit/p-19b890a3.js} +0 -0
  194. package/dist/toolkit/core/{p-50b63cf4.entry.js → packages/core/dist/dso-toolkit/p-1eeadd3e.entry.js} +1 -1
  195. package/dist/toolkit/core/{p-ad540748.entry.js → packages/core/dist/dso-toolkit/p-2279329b.entry.js} +1 -1
  196. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-258e8371.entry.js +1 -0
  197. package/dist/toolkit/core/{p-bc14cafd.entry.js → packages/core/dist/dso-toolkit/p-3ced438e.entry.js} +1 -1
  198. package/dist/toolkit/core/{p-c54ecae1.entry.js → packages/core/dist/dso-toolkit/p-406b179d.entry.js} +1 -1
  199. package/dist/toolkit/core/{p-4070c1e5.js → packages/core/dist/dso-toolkit/p-4070c1e5.js} +0 -0
  200. package/dist/toolkit/core/{p-225bbb28.entry.js → packages/core/dist/dso-toolkit/p-4b5f6b4c.entry.js} +1 -1
  201. package/dist/toolkit/core/{p-3b493a2c.entry.js → packages/core/dist/dso-toolkit/p-527a85b6.entry.js} +1 -1
  202. package/dist/toolkit/core/{p-94dffa65.entry.js → packages/core/dist/dso-toolkit/p-52f159e7.entry.js} +1 -1
  203. package/dist/toolkit/core/{p-dc86d830.entry.js → packages/core/dist/dso-toolkit/p-58f5e092.entry.js} +1 -1
  204. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-5e5fbd41.js +5 -0
  205. package/dist/toolkit/core/{p-f0b67246.entry.js → packages/core/dist/dso-toolkit/p-639228f6.entry.js} +1 -1
  206. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-951f5872.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-6a8452bd.entry.js} +1 -1
  207. package/dist/toolkit/core/{p-7b37bd52.js → packages/core/dist/dso-toolkit/p-7b37bd52.js} +0 -0
  208. package/dist/toolkit/core/{p-4e573fc5.entry.js → packages/core/dist/dso-toolkit/p-98ef5f8c.entry.js} +1 -1
  209. package/dist/toolkit/core/{p-94b79e43.entry.js → packages/core/dist/dso-toolkit/p-a1c9bb35.entry.js} +1 -1
  210. package/dist/toolkit/core/{p-3c4dbd89.entry.js → packages/core/dist/dso-toolkit/p-a5008a4e.entry.js} +1 -1
  211. package/dist/toolkit/core/{p-c95108fe.entry.js → packages/core/dist/dso-toolkit/p-a59dcbb0.entry.js} +1 -1
  212. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-b06c275a.entry.js +1 -0
  213. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-b4222d6e.entry.js +1 -0
  214. package/dist/toolkit/core/{p-dad72605.js → packages/core/dist/dso-toolkit/p-b9eb3491.js} +1 -1
  215. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-bec38cf5.entry.js +1 -0
  216. package/dist/toolkit/core/{p-ad2210ad.entry.js → packages/core/dist/dso-toolkit/p-d0d3ca99.entry.js} +1 -1
  217. package/dist/toolkit/core/{p-5037944e.entry.js → packages/core/dist/dso-toolkit/p-d72edd80.entry.js} +1 -1
  218. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-1fefbf8c.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-e1934ab6.entry.js} +1 -1
  219. package/dist/toolkit/styles/dso.css +79 -57
  220. package/hydrate/index.js +417 -194
  221. package/libs/@dso-toolkit/css/src/components/button-row/button-row.scss +20 -0
  222. package/libs/@dso-toolkit/css/src/components/description/description.scss +1 -10
  223. package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.scss +1 -1
  224. package/libs/@dso-toolkit/css/src/dso.scss +1 -0
  225. package/libs/@dso-toolkit/sources/package.json +3 -3
  226. package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.stories.ts +1 -5
  227. package/libs/@dso-toolkit/sources/src/components/button-row/button-row.args.ts +23 -0
  228. package/libs/@dso-toolkit/sources/src/components/button-row/button-row.models.ts +5 -0
  229. package/libs/@dso-toolkit/sources/src/components/button-row/button-row.stories.ts +111 -0
  230. package/libs/@dso-toolkit/sources/src/components/date-picker/date-picker.stories.ts +3 -8
  231. package/libs/@dso-toolkit/sources/src/components/description/description.args.ts +1 -15
  232. package/libs/@dso-toolkit/sources/src/components/description/description.content.ts +2 -13
  233. package/libs/@dso-toolkit/sources/src/components/description/description.models.ts +0 -1
  234. package/libs/@dso-toolkit/sources/src/components/description/description.scss +28 -41
  235. package/libs/@dso-toolkit/sources/src/components/description/description.stories.ts +3 -13
  236. package/libs/@dso-toolkit/sources/src/components/dropdown-menu/dropdown-menu.scss +1 -1
  237. package/libs/@dso-toolkit/sources/src/components/header/header.args.ts +15 -1
  238. package/libs/@dso-toolkit/sources/src/components/header/header.models.ts +13 -1
  239. package/libs/@dso-toolkit/sources/src/components/header/header.stories.ts +1 -0
  240. package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.stories.ts +2 -3
  241. package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.stories.ts +2 -2
  242. package/libs/@dso-toolkit/sources/src/components/selectable/selectable.scss +5 -1
  243. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.scss +1 -1
  244. package/libs/@dso-toolkit/sources/src/index.ts +2 -0
  245. package/libs/@dso-toolkit/sources/src/styling/variables/zindex.scss +25 -5
  246. package/libs/bootstrap/_forms.scss +1 -1
  247. package/libs/bootstrap/_input-groups.scss +4 -4
  248. package/libs/bootstrap/_navbar.scss +2 -2
  249. package/libs/bootstrap/_popovers.scss +1 -1
  250. package/package.json +18 -18
  251. package/reference/render/mijn-projecten.html +8 -6
  252. package/reference/render/overzicht-samenwerkingen.html +4 -6
  253. package/reference/render/project-overzicht.html +14 -13
  254. package/reference/render/verzoek-detail.html +37 -27
  255. package/src/styles/components/_modal.scss +2 -3
  256. package/dist/library/@dso-toolkit/core/cjs/index.esm-2ac7081c.js +0 -267
  257. package/dist/library/@dso-toolkit/core/dso-toolkit/p-44905fb1.js +0 -5
  258. package/dist/library/@dso-toolkit/core/dso-toolkit/p-88bc5873.entry.js +0 -1
  259. package/dist/library/@dso-toolkit/core/dso-toolkit/p-8b6e3abc.entry.js +0 -1
  260. package/dist/library/@dso-toolkit/core/dso-toolkit/p-8bf3a60e.js +0 -5
  261. package/dist/library/@dso-toolkit/core/dso-toolkit/p-a7306b7b.entry.js +0 -1
  262. package/dist/library/@dso-toolkit/core/dso-toolkit/p-daa1e29d.entry.js +0 -1
  263. package/dist/library/@dso-toolkit/core/dso-toolkit/p-f193c258.entry.js +0 -1
  264. package/dist/library/@dso-toolkit/core/esm/index.esm-a1362957.js +0 -262
  265. package/dist/library/components/detail/description--note-expanded.html +0 -1480
  266. package/dist/library/components/detail/description--note.html +0 -1480
  267. package/dist/library/components/preview/description--note-expanded.html +0 -38
  268. package/dist/library/components/preview/description--note.html +0 -38
  269. package/dist/library/components/render/description--note-expanded.html +0 -17
  270. package/dist/library/components/render/description--note.html +0 -17
  271. package/dist/toolkit/core/dso-toolkit.css +0 -1
  272. package/dist/toolkit/core/dso-toolkit.esm.js +0 -1
  273. package/dist/toolkit/core/p-44905fb1.js +0 -5
  274. package/dist/toolkit/core/p-88bc5873.entry.js +0 -1
  275. package/dist/toolkit/core/p-8b6e3abc.entry.js +0 -1
  276. package/dist/toolkit/core/p-8bf3a60e.js +0 -5
  277. package/dist/toolkit/core/p-a7306b7b.entry.js +0 -1
  278. package/dist/toolkit/core/p-daa1e29d.entry.js +0 -1
  279. package/dist/toolkit/core/p-f193c258.entry.js +0 -1
@@ -1,5 +1,25 @@
1
- $zindex-navbar: 1000;
2
- $zindex-dropdown: 1000;
3
- $zindex-popover: 1060;
4
- $zindex-tooltip: 1070;
5
- $zindex-navbar-fixed: 1030;
1
+ $zx-viewer-grid-sizing-buttons: -1;
2
+ $zx-viewer-grid-map-panel: 100;
3
+
4
+ $zx-datepicker: 100;
5
+ $zx-datepicker-dialog: 210;
6
+
7
+ $zx-description-open: 100;
8
+
9
+ $zx-selectable: 100;
10
+ $zx-input-group: 101;
11
+
12
+ $zx-form-control-feedback: 101;
13
+ $zx-searchbar-icon: 101;
14
+
15
+ $zx-autosuggest: 200;
16
+ $zx-dropdown-options: 220;
17
+ $zx-tooltip: 410;
18
+
19
+ $zx-nav: 500;
20
+
21
+ $zx-leaflet: 110;
22
+ $zx-popover: 520;
23
+ $zx-modal: 530;
24
+
25
+ $zx-image-overlay: 20;
@@ -263,7 +263,7 @@ textarea.form-control {
263
263
  position: absolute;
264
264
  top: 0;
265
265
  right: 0;
266
- z-index: 2; // Ensure icon is above input groups
266
+ z-index: $zx-form-control-feedback; // Ensure icon is above input groups
267
267
  display: block;
268
268
  width: $input-height-base;
269
269
  height: $input-height-base;
@@ -20,7 +20,7 @@
20
20
  // Ensure that the input is always above the *appended* addon button for
21
21
  // proper border colors.
22
22
  position: relative;
23
- z-index: 2;
23
+ z-index: $zx-input-group;
24
24
 
25
25
  // IE9 fubars the placeholder attribute in text inputs and the arrows on
26
26
  // select elements in input groups. To fix it, we float the input. Details:
@@ -31,7 +31,7 @@
31
31
  margin-bottom: 0;
32
32
 
33
33
  &:focus {
34
- z-index: 3;
34
+ z-index: $zx-input-group + 1;
35
35
  }
36
36
  }
37
37
  }
@@ -147,7 +147,7 @@
147
147
  &:hover,
148
148
  &:focus,
149
149
  &:active {
150
- z-index: 2;
150
+ z-index: $zx-input-group;
151
151
  }
152
152
  }
153
153
 
@@ -161,7 +161,7 @@
161
161
  &:last-child {
162
162
  > .btn,
163
163
  > .btn-group {
164
- z-index: 2;
164
+ z-index: $zx-input-group;
165
165
  margin-left: -1px;
166
166
  }
167
167
  }
@@ -101,7 +101,7 @@
101
101
  position: fixed;
102
102
  right: 0;
103
103
  left: 0;
104
- z-index: $zindex-navbar-fixed;
104
+ z-index: $zx-nav + 10;
105
105
 
106
106
  // Undo the rounded corners
107
107
  @media (min-width: $grid-float-breakpoint) {
@@ -147,7 +147,7 @@
147
147
 
148
148
  // Static top (unfixed, but 100% wide) navbar
149
149
  .navbar-static-top {
150
- z-index: $zindex-navbar;
150
+ z-index: $zx-nav;
151
151
  border-width: 0 0 1px;
152
152
 
153
153
  @media (min-width: $grid-float-breakpoint) {
@@ -7,7 +7,7 @@
7
7
  position: absolute;
8
8
  top: 0;
9
9
  left: 0;
10
- z-index: $zindex-popover;
10
+ z-index: $zx-popover;
11
11
  display: none;
12
12
  max-width: $popover-max-width;
13
13
  padding: 1px;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dso-toolkit",
3
3
  "description": "DSO Toolkit and Component Library",
4
4
  "license": "SEE LICENSE IN DISCLAIMER.txt",
5
- "version": "35.0.0",
5
+ "version": "36.0.0",
6
6
  "scripts": {
7
7
  "start": "gulp",
8
8
  "build": "gulp build",
@@ -18,36 +18,36 @@
18
18
  },
19
19
  "homepage": "https://www.dso-toolkit.nl/",
20
20
  "devDependencies": {
21
- "@babel/core": "^7.15.8",
22
- "@babel/preset-env": "^7.15.8",
23
- "@dso-toolkit/core": "35.0.0",
21
+ "@babel/core": "^7.17.9",
22
+ "@babel/preset-env": "^7.16.11",
23
+ "@dso-toolkit/core": "36.0.0",
24
24
  "@dso-toolkit/css": "0.0.0",
25
25
  "@dso-toolkit/sources": "0.0.0",
26
- "@frctl/fractal": "1.5.11",
27
- "@frctl/nunjucks": "2.0.13",
28
- "@rollup/plugin-babel": "^5.3.0",
29
- "@rollup/plugin-commonjs": "^21.0.0",
30
- "@rollup/plugin-inject": "^4.0.2",
31
- "@rollup/plugin-node-resolve": "^13.0.5",
26
+ "@frctl/fractal": "1.5.13",
27
+ "@frctl/nunjucks": "2.0.14",
28
+ "@rollup/plugin-babel": "^5.3.1",
29
+ "@rollup/plugin-commonjs": "^22.0.0",
30
+ "@rollup/plugin-inject": "^4.0.4",
31
+ "@rollup/plugin-node-resolve": "^13.2.1",
32
32
  "@types/fancy-log": "^1.3.1",
33
- "@types/prettier": "^2.4.1",
33
+ "@types/prettier": "^2.6.0",
34
34
  "cheerio": "1.0.0-rc.10",
35
35
  "del": "6.0.0",
36
- "fancy-log": "^1.3.3",
37
- "fs-extra": "10.0.0",
36
+ "fancy-log": "^2.0.0",
37
+ "fs-extra": "10.1.0",
38
38
  "gulp": "4.0.2",
39
39
  "gulp-filter": "7.0.0",
40
- "gulp-sass": "5.0.0",
40
+ "gulp-sass": "5.1.0",
41
41
  "gulp-svgmin": "4.1.0",
42
42
  "gulp-tap": "2.0.0",
43
43
  "gulp-trim": "1.0.2",
44
44
  "hiff": "0.3.1",
45
- "highlight.js": "^11.2.0",
45
+ "highlight.js": "^11.5.1",
46
46
  "jquery": "^2.2.4",
47
47
  "jquery-pjax": "git+https://github.com/defunkt/jquery-pjax.git",
48
- "prettier": "^2.4.1",
48
+ "prettier": "^2.6.2",
49
49
  "pretty": "2.0.0",
50
- "rollup": "^2.58.0",
51
- "sass": "^1.43.2"
50
+ "rollup": "^2.70.2",
51
+ "sass": "^1.50.1"
52
52
  }
53
53
  }
@@ -51,12 +51,14 @@
51
51
  </div>
52
52
  <div class="dso-context-wrapper">
53
53
  <div class="dso-context-label">
54
- <button type="button" class="dso-secondary">
55
- <dso-icon icon="plus"></dso-icon><span >Nieuw project</span>
56
- </button>
57
- <button type="button" class="dso-secondary">
58
- <dso-icon icon="email"></dso-icon><span >Actiecode invoeren</span>
59
- </button>
54
+ <div class="dso-button-row">
55
+ <button type="button" class="dso-secondary">
56
+ <dso-icon icon="plus"></dso-icon><span >Nieuw project</span>
57
+ </button>
58
+ <button type="button" class="dso-secondary">
59
+ <dso-icon icon="email"></dso-icon><span >Actiecode invoeren</span>
60
+ </button>
61
+ </div>
60
62
  </div>
61
63
  <div class="dso-context-container">
62
64
  <div class="dso-search-bar">
@@ -42,12 +42,10 @@
42
42
  Overzicht samenwerkingen
43
43
  </h2>
44
44
  </div>
45
- <div class="dso-form-buttons">
46
- <div class="dso-aside">
47
- <button type="button" class="dso-tertiary">
48
- <dso-icon icon="plus"></dso-icon><span >Samenwerking toevoegen</span>
49
- </button>
50
- </div>
45
+ <div class="dso-button-row">
46
+ <button type="button" class="dso-tertiary">
47
+ <dso-icon icon="plus"></dso-icon><span >Samenwerking toevoegen</span>
48
+ </button>
51
49
  </div>
52
50
  <div class="dso-table-responsive">
53
51
  <table class="table">
@@ -48,13 +48,11 @@
48
48
  <main>
49
49
  <div class="row">
50
50
  <div class="col-md-12">
51
- <a href="#" class="dso-tertiary">
52
- <dso-icon icon="chevron-left"></dso-icon><span >Bekijk andere projecten</span>
53
- </a>
54
- </div>
55
- </div>
56
- <div class="row">
57
- <div class="col-md-12">
51
+ <div class="dso-button-row">
52
+ <a href="#" class="dso-tertiary">
53
+ <dso-icon icon="chevron-left"></dso-icon><span >Bekijk andere projecten</span>
54
+ </a>
55
+ </div>
58
56
  <div class="dso-app-heading">
59
57
  <h1>Boom kappen in de achtertuin</h1>
60
58
  </div>
@@ -201,14 +199,17 @@
201
199
  </ul>
202
200
  </div>
203
201
  </div>
204
- <div class="row">
205
- <div class="col-md-12">
206
- <a href="#" class="dso-tertiary">
207
- <dso-icon icon="chevron-left"></dso-icon><span >Bekijk andere projecten</span>
208
- </a>
209
- </div>
202
+ </div>
203
+ </div>
204
+ <div class="row">
205
+ <div class="col-md-12">
206
+ <div class="dso-button-row">
207
+ <a href="#" class="dso-tertiary">
208
+ <dso-icon icon="chevron-left"></dso-icon><span >Bekijk andere projecten</span>
209
+ </a>
210
210
  </div>
211
211
  </div>
212
+ </div>
212
213
  </main>
213
214
  <footer>
214
215
  <div class="row">
@@ -48,13 +48,11 @@
48
48
  <main>
49
49
  <div class="row">
50
50
  <div class="col-md-12">
51
- <a href="#" class="dso-tertiary">
52
- <dso-icon icon="chevron-left"></dso-icon><span >Naar project overzicht</span>
53
- </a>
54
- </div>
55
- </div>
56
- <div class="row">
57
- <div class="col-md-12">
51
+ <div class="dso-button-row">
52
+ <a href="#" class="dso-tertiary">
53
+ <dso-icon icon="chevron-left"></dso-icon><span >Naar project overzicht</span>
54
+ </a>
55
+ </div>
58
56
  <div class="dso-app-heading">
59
57
  <h1>Boom kappen in de achtertuin</h1>
60
58
  <h2>
@@ -65,15 +63,17 @@
65
63
  </div>
66
64
  <div class="row">
67
65
  <div class="col-md-12">
68
- <button type="button" class="dso-secondary">
69
- <dso-icon icon="pencil"></dso-icon><span >Aanvullen</span>
70
- </button>
71
- <button type="button" class="dso-secondary">
72
- <dso-icon icon="undo"></dso-icon><span >Intrekken</span>
73
- </button>
74
- <button type="button" class="dso-secondary">
75
- <dso-icon icon="trash"></dso-icon><span >Verwijderen</span>
76
- </button>
66
+ <div class="dso-button-row">
67
+ <button type="button" class="dso-secondary">
68
+ <dso-icon icon="pencil"></dso-icon><span >Aanvullen</span>
69
+ </button>
70
+ <button type="button" class="dso-secondary">
71
+ <dso-icon icon="undo"></dso-icon><span >Intrekken</span>
72
+ </button>
73
+ <button type="button" class="dso-secondary">
74
+ <dso-icon icon="trash"></dso-icon><span >Verwijderen</span>
75
+ </button>
76
+ </div>
77
77
  </div>
78
78
  </div>
79
79
  <div class="row">
@@ -99,18 +99,26 @@
99
99
  <dd>20220101 00201 002 - 02-01-2022</dd>
100
100
  <dd>20220101 00201 002 - 02-01-2022</dd>
101
101
  </dl>
102
- <button type="button" class="dso-secondary">
103
- <dso-icon icon="download"></dso-icon><span >Download verzoek als PDF</span>
104
- </button>
105
102
  </div>
106
103
  </div>
107
- <hr>
108
- <h3>Bijlagen</h3>
104
+ <div class="row">
105
+ <div class="col-md-6 col-sm-12">
106
+ <div class="dso-button-row">
107
+ <button type="button" class="dso-secondary">
108
+ <dso-icon icon="download"></dso-icon><span >Download verzoek als PDF</span>
109
+ </button>
110
+ </div>
111
+ </div>
112
+ </div>
109
113
  <div class="row">
110
114
  <div class="col-md-12">
111
- <button type="button" class="dso-secondary">
112
- <dso-icon icon="download"></dso-icon><span >Download alle bijlagen</span>
113
- </button>
115
+ <hr>
116
+ <h3>Bijlagen</h3>
117
+ <div class="dso-button-row">
118
+ <button type="button" class="dso-secondary">
119
+ <dso-icon icon="download"></dso-icon><span >Download alle bijlagen</span>
120
+ </button>
121
+ </div>
114
122
  </div>
115
123
  </div>
116
124
  <div class="row">
@@ -170,9 +178,11 @@
170
178
  </div>
171
179
  <div class="row">
172
180
  <div class="col-md-12">
173
- <a href="#" class="dso-tertiary">
174
- <dso-icon icon="chevron-left"></dso-icon><span >Naar project overzicht</span>
175
- </a>
181
+ <div class="dso-button-row">
182
+ <a href="#" class="dso-tertiary">
183
+ <dso-icon icon="chevron-left"></dso-icon><span >Naar project overzicht</span>
184
+ </a>
185
+ </div>
176
186
  </div>
177
187
  </div>
178
188
  </main>
@@ -1,4 +1,3 @@
1
- $dso-modal-z-index: 20;
2
1
  $dso-modal-max-width: 640px;
3
2
  $dso-modal-max-height: 70vh;
4
3
 
@@ -48,7 +47,7 @@ body.dso-modal-open {
48
47
  position: fixed;
49
48
  right: 0;
50
49
  top: 0;
51
- z-index: #{$dso-modal-z-index - 1};
50
+ z-index: $zx-modal - 1;
52
51
  }
53
52
  }
54
53
 
@@ -137,7 +136,7 @@ body.dso-modal-open {
137
136
  position: fixed;
138
137
  right: 0;
139
138
  top: 0;
140
- z-index: $dso-modal-z-index;
139
+ z-index: $zx-modal;
141
140
 
142
141
  .dso-dialog {
143
142
  animation: 1s ease-out 0s 1 slideInFromTop;
@@ -1,267 +0,0 @@
1
- 'use strict';
2
-
3
- /*!
4
- * tabbable 5.2.1
5
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
6
- */
7
- var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
8
- var candidateSelector = /* #__PURE__ */candidateSelectors.join(',');
9
- var matches = typeof Element === 'undefined' ? function () {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
10
-
11
- var getCandidates = function getCandidates(el, includeContainer, filter) {
12
- var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
13
-
14
- if (includeContainer && matches.call(el, candidateSelector)) {
15
- candidates.unshift(el);
16
- }
17
-
18
- candidates = candidates.filter(filter);
19
- return candidates;
20
- };
21
-
22
- var isContentEditable = function isContentEditable(node) {
23
- return node.contentEditable === 'true';
24
- };
25
-
26
- var getTabindex = function getTabindex(node) {
27
- var tabindexAttr = parseInt(node.getAttribute('tabindex'), 10);
28
-
29
- if (!isNaN(tabindexAttr)) {
30
- return tabindexAttr;
31
- } // Browsers do not return `tabIndex` correctly for contentEditable nodes;
32
- // so if they don't have a tabindex attribute specifically set, assume it's 0.
33
-
34
-
35
- if (isContentEditable(node)) {
36
- return 0;
37
- } // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default
38
- // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,
39
- // yet they are still part of the regular tab order; in FF, they get a default
40
- // `tabIndex` of 0; since Chrome still puts those elements in the regular tab
41
- // order, consider their tab index to be 0.
42
-
43
-
44
- if ((node.nodeName === 'AUDIO' || node.nodeName === 'VIDEO' || node.nodeName === 'DETAILS') && node.getAttribute('tabindex') === null) {
45
- return 0;
46
- }
47
-
48
- return node.tabIndex;
49
- };
50
-
51
- var sortOrderedTabbables = function sortOrderedTabbables(a, b) {
52
- return a.tabIndex === b.tabIndex ? a.documentOrder - b.documentOrder : a.tabIndex - b.tabIndex;
53
- };
54
-
55
- var isInput = function isInput(node) {
56
- return node.tagName === 'INPUT';
57
- };
58
-
59
- var isHiddenInput = function isHiddenInput(node) {
60
- return isInput(node) && node.type === 'hidden';
61
- };
62
-
63
- var isDetailsWithSummary = function isDetailsWithSummary(node) {
64
- var r = node.tagName === 'DETAILS' && Array.prototype.slice.apply(node.children).some(function (child) {
65
- return child.tagName === 'SUMMARY';
66
- });
67
- return r;
68
- };
69
-
70
- var getCheckedRadio = function getCheckedRadio(nodes, form) {
71
- for (var i = 0; i < nodes.length; i++) {
72
- if (nodes[i].checked && nodes[i].form === form) {
73
- return nodes[i];
74
- }
75
- }
76
- };
77
-
78
- var isTabbableRadio = function isTabbableRadio(node) {
79
- if (!node.name) {
80
- return true;
81
- }
82
-
83
- var radioScope = node.form || node.ownerDocument;
84
-
85
- var queryRadios = function queryRadios(name) {
86
- return radioScope.querySelectorAll('input[type="radio"][name="' + name + '"]');
87
- };
88
-
89
- var radioSet;
90
-
91
- if (typeof window !== 'undefined' && typeof window.CSS !== 'undefined' && typeof window.CSS.escape === 'function') {
92
- radioSet = queryRadios(window.CSS.escape(node.name));
93
- } else {
94
- try {
95
- radioSet = queryRadios(node.name);
96
- } catch (err) {
97
- // eslint-disable-next-line no-console
98
- console.error('Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s', err.message);
99
- return false;
100
- }
101
- }
102
-
103
- var checked = getCheckedRadio(radioSet, node.form);
104
- return !checked || checked === node;
105
- };
106
-
107
- var isRadio = function isRadio(node) {
108
- return isInput(node) && node.type === 'radio';
109
- };
110
-
111
- var isNonTabbableRadio = function isNonTabbableRadio(node) {
112
- return isRadio(node) && !isTabbableRadio(node);
113
- };
114
-
115
- var isHidden = function isHidden(node, displayCheck) {
116
- if (getComputedStyle(node).visibility === 'hidden') {
117
- return true;
118
- }
119
-
120
- var isDirectSummary = matches.call(node, 'details>summary:first-of-type');
121
- var nodeUnderDetails = isDirectSummary ? node.parentElement : node;
122
-
123
- if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {
124
- return true;
125
- }
126
-
127
- if (!displayCheck || displayCheck === 'full') {
128
- while (node) {
129
- if (getComputedStyle(node).display === 'none') {
130
- return true;
131
- }
132
-
133
- node = node.parentElement;
134
- }
135
- } else if (displayCheck === 'non-zero-area') {
136
- var _node$getBoundingClie = node.getBoundingClientRect(),
137
- width = _node$getBoundingClie.width,
138
- height = _node$getBoundingClie.height;
139
-
140
- return width === 0 && height === 0;
141
- }
142
-
143
- return false;
144
- }; // form fields (nested) inside a disabled fieldset are not focusable/tabbable
145
- // unless they are in the _first_ <legend> element of the top-most disabled
146
- // fieldset
147
-
148
-
149
- var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
150
- if (isInput(node) || node.tagName === 'SELECT' || node.tagName === 'TEXTAREA' || node.tagName === 'BUTTON') {
151
- var parentNode = node.parentElement;
152
-
153
- while (parentNode) {
154
- if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
155
- // look for the first <legend> as an immediate child of the disabled
156
- // <fieldset>: if the node is in that legend, it'll be enabled even
157
- // though the fieldset is disabled; otherwise, the node is in a
158
- // secondary/subsequent legend, or somewhere else within the fieldset
159
- // (however deep nested) and it'll be disabled
160
- for (var i = 0; i < parentNode.children.length; i++) {
161
- var child = parentNode.children.item(i);
162
-
163
- if (child.tagName === 'LEGEND') {
164
- if (child.contains(node)) {
165
- return false;
166
- } // the node isn't in the first legend (in doc order), so no matter
167
- // where it is now, it'll be disabled
168
-
169
-
170
- return true;
171
- }
172
- } // the node isn't in a legend, so no matter where it is now, it'll be disabled
173
-
174
-
175
- return true;
176
- }
177
-
178
- parentNode = parentNode.parentElement;
179
- }
180
- } // else, node's tabbable/focusable state should not be affected by a fieldset's
181
- // enabled/disabled state
182
-
183
-
184
- return false;
185
- };
186
-
187
- var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
188
- if (node.disabled || isHiddenInput(node) || isHidden(node, options.displayCheck) || // For a details element with a summary, the summary element gets the focus
189
- isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
190
- return false;
191
- }
192
-
193
- return true;
194
- };
195
-
196
- var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable(options, node) {
197
- if (!isNodeMatchingSelectorFocusable(options, node) || isNonTabbableRadio(node) || getTabindex(node) < 0) {
198
- return false;
199
- }
200
-
201
- return true;
202
- };
203
-
204
- var tabbable = function tabbable(el, options) {
205
- options = options || {};
206
- var regularTabbables = [];
207
- var orderedTabbables = [];
208
- var candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
209
- candidates.forEach(function (candidate, i) {
210
- var candidateTabindex = getTabindex(candidate);
211
-
212
- if (candidateTabindex === 0) {
213
- regularTabbables.push(candidate);
214
- } else {
215
- orderedTabbables.push({
216
- documentOrder: i,
217
- tabIndex: candidateTabindex,
218
- node: candidate
219
- });
220
- }
221
- });
222
- var tabbableNodes = orderedTabbables.sort(sortOrderedTabbables).map(function (a) {
223
- return a.node;
224
- }).concat(regularTabbables);
225
- return tabbableNodes;
226
- };
227
-
228
- var focusable = function focusable(el, options) {
229
- options = options || {};
230
- var candidates = getCandidates(el, options.includeContainer, isNodeMatchingSelectorFocusable.bind(null, options));
231
- return candidates;
232
- };
233
-
234
- var isTabbable = function isTabbable(node, options) {
235
- options = options || {};
236
-
237
- if (!node) {
238
- throw new Error('No node provided');
239
- }
240
-
241
- if (matches.call(node, candidateSelector) === false) {
242
- return false;
243
- }
244
-
245
- return isNodeMatchingSelectorTabbable(options, node);
246
- };
247
-
248
- var focusableCandidateSelector = /* #__PURE__ */candidateSelectors.concat('iframe').join(',');
249
-
250
- var isFocusable = function isFocusable(node, options) {
251
- options = options || {};
252
-
253
- if (!node) {
254
- throw new Error('No node provided');
255
- }
256
-
257
- if (matches.call(node, focusableCandidateSelector) === false) {
258
- return false;
259
- }
260
-
261
- return isNodeMatchingSelectorFocusable(options, node);
262
- };
263
-
264
- exports.focusable = focusable;
265
- exports.isFocusable = isFocusable;
266
- exports.isTabbable = isTabbable;
267
- exports.tabbable = tabbable;
@@ -1,5 +0,0 @@
1
- import{t as n,f as t,i as e,a as r}from"./p-8bf3a60e.js";
2
- /*!
3
- * focus-trap 6.7.3
4
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
5
- */function o(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function u(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var i,a=(i=[],{activateTrap:function(n){if(i.length>0){var t=i[i.length-1];t!==n&&t.pause()}var e=i.indexOf(n);-1===e||i.splice(e,1),i.push(n)},deactivateTrap:function(n){var t=i.indexOf(n);-1!==t&&i.splice(t,1),i.length>0&&i[i.length-1].unpause()}}),c=function(n){return setTimeout(n,0)},f=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},s=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},v=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},l=function(i,l){var b,d=(null==l?void 0:l.document)||document,p=function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?o(Object(e),!0).forEach((function(t){u(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},l),h={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},w=function(n,t,e){return n&&void 0!==n[t]?n[t]:p[e||t]},m=function(n){return!(!n||!h.containers.some((function(t){return t.contains(n)})))},F=function(n){var t=p[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var u=t;if("string"==typeof t&&!(u=d.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return u},O=function(){var n=F("initialFocus");if(!1===n)return!1;if(void 0===n)if(m(d.activeElement))n=d.activeElement;else{var t=h.tabbableGroups[0];n=t&&t.firstTabbableNode||F("fallbackFocus")}if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},j=function(){if(h.tabbableGroups=h.containers.map((function(r){var o=n(r),u=t(r);if(o.length>0)return{container:r,firstTabbableNode:o[0],lastTabbableNode:o[o.length-1],nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.findIndex((function(t){return t===n}));return t?u.slice(r+1).find((function(n){return e(n)})):u.slice(0,r).reverse().find((function(n){return e(n)}))}}})).filter((function(n){return!!n})),h.tabbableGroups.length<=0&&!F("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},y=function n(t){!1!==t&&t!==d.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!p.preventScroll}),h.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(O()))},k=function(n){var t=F("setReturnFocus",n);return t||!1!==t&&n},T=function(n){var t=v(n);m(t)||(s(p.clickOutsideDeactivates,n)?b.deactivate({returnFocus:p.returnFocusOnDeactivate&&!r(t)}):s(p.allowOutsideClick,n)||n.preventDefault())},E=function(n){var t=v(n),e=m(t);e||t instanceof Document?e&&(h.mostRecentlyFocusedNode=t):(n.stopImmediatePropagation(),y(h.mostRecentlyFocusedNode||O()))},D=function(n){if(function(n){return"Escape"===n.key||"Esc"===n.key||27===n.keyCode}(n)&&!1!==s(p.escapeDeactivates,n))return n.preventDefault(),void b.deactivate();(function(n){return"Tab"===n.key||9===n.keyCode})(n)&&function(n){var t=v(n);j();var o=null;if(h.tabbableGroups.length>0){var u=f(h.tabbableGroups,(function(n){return n.container.contains(t)})),i=u>=0?h.tabbableGroups[u]:void 0;if(u<0)o=n.shiftKey?h.tabbableGroups[h.tabbableGroups.length-1].lastTabbableNode:h.tabbableGroups[0].firstTabbableNode;else if(n.shiftKey){var a=f(h.tabbableGroups,(function(n){return t===n.firstTabbableNode}));a<0&&(i.container===t||r(t)&&!e(t)&&!i.nextTabbableNode(t,!1))&&(a=u),a>=0&&(o=h.tabbableGroups[0===a?h.tabbableGroups.length-1:a-1].lastTabbableNode)}else{var c=f(h.tabbableGroups,(function(n){return t===n.lastTabbableNode}));c<0&&(i.container===t||r(t)&&!e(t)&&!i.nextTabbableNode(t))&&(c=u),c>=0&&(o=h.tabbableGroups[c===h.tabbableGroups.length-1?0:c+1].firstTabbableNode)}}else o=F("fallbackFocus");o&&(n.preventDefault(),y(o))}(n)},A=function(n){if(!s(p.clickOutsideDeactivates,n)){var t=v(n);m(t)||s(p.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())}},N=function(){if(h.active)return a.activateTrap(b),h.delayInitialFocusTimer=p.delayInitialFocus?c((function(){y(O())})):y(O()),d.addEventListener("focusin",E,!0),d.addEventListener("mousedown",T,{capture:!0,passive:!1}),d.addEventListener("touchstart",T,{capture:!0,passive:!1}),d.addEventListener("click",A,{capture:!0,passive:!1}),d.addEventListener("keydown",D,{capture:!0,passive:!1}),b},g=function(){if(h.active)return d.removeEventListener("focusin",E,!0),d.removeEventListener("mousedown",T,!0),d.removeEventListener("touchstart",T,!0),d.removeEventListener("click",A,!0),d.removeEventListener("keydown",D,!0),b};return(b={activate:function(n){if(h.active)return this;var t=w(n,"onActivate"),e=w(n,"onPostActivate"),r=w(n,"checkCanFocusTrap");r||j(),h.active=!0,h.paused=!1,h.nodeFocusedBeforeActivation=d.activeElement,t&&t();var o=function(){r&&j(),N(),e&&e()};return r?(r(h.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!h.active)return this;clearTimeout(h.delayInitialFocusTimer),h.delayInitialFocusTimer=void 0,g(),h.active=!1,h.paused=!1,a.deactivateTrap(b);var t=w(n,"onDeactivate"),e=w(n,"onPostDeactivate"),r=w(n,"checkCanReturnFocus");t&&t();var o=w(n,"returnFocus","returnFocusOnDeactivate"),u=function(){c((function(){o&&y(k(h.nodeFocusedBeforeActivation)),e&&e()}))};return o&&r?(r(k(h.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(){return h.paused||!h.active||(h.paused=!0,g()),this},unpause:function(){return h.paused&&h.active?(h.paused=!1,j(),N(),this):this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return h.containers=t.map((function(n){return"string"==typeof n?d.querySelector(n):n})),h.active&&j(),this}}).updateContainerElements(i),b};export{l as c}