@dso-toolkit/core 99.3.0 → 99.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/dso-accordion-section.js +6 -6
- package/dist/bundle/dso-action-list-item.js +1 -1
- package/dist/bundle/dso-advanced-select.js +15 -11
- package/dist/bundle/dso-alert.js +1 -1
- package/dist/bundle/dso-annotation-activiteit.js +4 -4
- package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +4 -4
- package/dist/bundle/dso-annotation-kaart.js +2 -2
- package/dist/bundle/dso-annotation-locatie.js +1 -1
- package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +4 -4
- package/dist/bundle/dso-attachments-counter.js +1 -1
- package/dist/bundle/dso-autosuggest.js +10 -7
- package/dist/bundle/dso-badge.js +1 -1
- package/dist/bundle/dso-banner.js +3 -3
- package/dist/bundle/dso-button-group.js +1 -1
- package/dist/bundle/dso-card-container.js +1 -1
- package/dist/bundle/dso-card.js +3 -3
- package/dist/bundle/dso-contact-information.js +1 -1
- package/dist/bundle/dso-cursor-tooltip.js +1 -1
- package/dist/bundle/dso-date-picker.js +1 -1
- package/dist/bundle/dso-document-card.js +2 -2
- package/dist/bundle/dso-document-component.js +1 -1
- package/dist/bundle/dso-dropdown-menu-group.js +2 -2
- package/dist/bundle/dso-dropdown-menu-item.js +2 -2
- package/dist/bundle/dso-dropdown-menu.js +6 -6
- package/dist/bundle/dso-expandable.js +1 -1
- package/dist/bundle/dso-header.js +6 -6
- package/dist/bundle/dso-highlight-box.js +1 -1
- package/dist/bundle/dso-history-item.js +2 -2
- package/dist/bundle/dso-icon-button.js +1 -1
- package/dist/bundle/dso-icon.js +1 -1
- package/dist/bundle/dso-image-overlay.js +1 -1
- package/dist/bundle/dso-info-button.js +1 -1
- package/dist/bundle/dso-info.js +1 -1
- package/dist/bundle/dso-input-range.js +2 -2
- package/dist/bundle/dso-label.js +1 -1
- package/dist/bundle/dso-legend-group.js +4 -4
- package/dist/bundle/dso-legend-item.js +8 -8
- package/dist/bundle/dso-legend.js +5 -5
- package/dist/bundle/dso-list-button.js +8 -8
- package/dist/bundle/dso-logo.js +1 -1
- package/dist/bundle/dso-map-base-layers.js +9 -9
- package/dist/bundle/dso-map-controls.js +7 -7
- package/dist/bundle/dso-map-layer-object.js +2 -2
- package/dist/bundle/dso-map-layer.js +2 -2
- package/dist/bundle/dso-map-message.js +3 -3
- package/dist/bundle/dso-map-overlays.js +9 -9
- package/dist/bundle/dso-mark-bar.js +3 -3
- package/dist/bundle/dso-modal.js +1 -1
- package/dist/bundle/dso-onboarding-tip.js +4 -4
- package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
- package/dist/bundle/dso-ozon-content.js +1 -1
- package/dist/bundle/dso-pagination.js +2 -2
- package/dist/bundle/dso-panel.js +1 -1
- package/dist/bundle/dso-plekinfo-card.js +2 -2
- package/dist/bundle/dso-progress-indicator.js +1 -1
- package/dist/bundle/dso-project-item.js +4 -4
- package/dist/bundle/dso-responsive-element.js +1 -1
- package/dist/bundle/dso-scrollable.js +1 -1
- package/dist/bundle/dso-segmented-button.js +1 -1
- package/dist/bundle/dso-selectable.js +1 -1
- package/dist/bundle/dso-skiplink.js +2 -2
- package/dist/bundle/dso-slide-toggle.js +1 -1
- package/dist/bundle/dso-survey-rating.js +5 -5
- package/dist/bundle/dso-table.js +1 -1
- package/dist/bundle/dso-tabs.js +1 -1
- package/dist/bundle/dso-tijdreis-banner.js +2 -2
- package/dist/bundle/dso-tooltip.js +1 -1
- package/dist/bundle/dso-tree-view.js +3 -3
- package/dist/bundle/dso-viewer-grid.js +3 -3
- package/dist/bundle/dsot-document-component-demo.js +17 -17
- package/dist/bundle/{p-DjHplS8O.js → p-A4t9O4cN.js} +4 -4
- package/dist/bundle/{p-ClkjYPNB.js → p-BEvvjBre.js} +2 -2
- package/dist/bundle/{p-46yF0HRA.js → p-BHoewcI-.js} +10 -10
- package/dist/bundle/{p-CIKsNci_.js → p-BPeUsEu7.js} +1 -1
- package/dist/bundle/{p-BgSoLhHt.js → p-BSPLBZYE.js} +6 -6
- package/dist/bundle/p-BdeLamBx.js +162 -0
- package/dist/bundle/{p-qKhyhLEu.js → p-BoPUWtZk.js} +17 -17
- package/dist/bundle/{p-ClbMNMhN.js → p-C-LiStfD.js} +2 -2
- package/dist/bundle/{p-Du2uEAur.js → p-C9U8p69U.js} +1 -1
- package/dist/bundle/{p-hUKFzHir.js → p-CAqSxnd4.js} +3 -3
- package/dist/{esm/i18n-CUWMAyh7.js → bundle/p-CCOI5nUo.js} +9 -6
- package/dist/bundle/{p-DLeHmqb5.js → p-CC_FTvSe.js} +3 -3
- package/dist/bundle/{p-BnKQUOO3.js → p-CIYEcIdu.js} +2 -2
- package/dist/{esm/v4-BF0_OXTe.js → bundle/p-CK3_k8jD.js} +6 -13
- package/dist/bundle/{p-Bw8_UiAv.js → p-Cs38e0-P.js} +4 -4
- package/dist/bundle/{p-BHLdB8zD.js → p-CyPdFUPX.js} +1 -1
- package/dist/bundle/{p-CnCAM5gC.js → p-Cybcqk9K.js} +118 -123
- package/dist/bundle/{p-CXcA4DEL.js → p-CyyXeBpT.js} +5 -5
- package/dist/bundle/{p-ryJKPQPH.js → p-DChzHBbI.js} +4 -4
- package/dist/bundle/{p-y0R9QGf7.js → p-DHLpi_b6.js} +5 -5
- package/dist/bundle/{p-BXj3KQLr.js → p-DaYftqWs.js} +3 -3
- package/dist/bundle/{p-Cc1GnE4g.js → p-Dhml-KNY.js} +4 -4
- package/dist/bundle/{p-BuYJl3wN.js → p-DjX5FuBA.js} +2 -2
- package/dist/bundle/{p-WTVvB0zs.js → p-DtOWRu1L.js} +10 -6
- package/dist/bundle/{p-BVpypRBU.js → p-J6T9IaVD.js} +4 -7
- package/dist/bundle/{p-CNgFbSIC.js → p-Slg3tfdg.js} +1 -1
- package/dist/bundle/{p-DpwxsXR-.js → p-lAMOCPzk.js} +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +10 -6
- package/dist/cjs/dso-alert_7.cjs.entry.js +12 -12
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +5 -5
- package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-autosuggest.cjs.entry.js +7 -4
- package/dist/cjs/dso-banner.cjs.entry.js +2 -2
- package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
- package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +2 -2
- package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
- package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-dropdown-menu.cjs.entry.js +4 -4
- package/dist/cjs/dso-header.cjs.entry.js +4 -4
- package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-icon-button.cjs.entry.js +3 -7
- package/dist/cjs/dso-icon.cjs.entry.js +1 -1
- package/dist/cjs/dso-info_3.cjs.entry.js +8 -5
- package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_3.cjs.entry.js +6 -6
- package/dist/cjs/dso-legend-group.cjs.entry.js +2 -2
- package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
- package/dist/cjs/dso-legend.cjs.entry.js +2 -2
- package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
- package/dist/cjs/dso-logo.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
- package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-message.cjs.entry.js +2 -2
- package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +5 -4
- package/dist/cjs/dso-onboarding-tip.cjs.entry.js +3 -3
- package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
- package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
- package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
- package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
- package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +3 -3
- package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
- package/dist/cjs/{floating-ui.dom-ClybLJQM.js → floating-ui.dom-BKTTOpb1.js} +118 -123
- package/dist/cjs/{i18n-DK8kVhhe.js → i18n-DH0Su3jj.js} +9 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{position-tooltip.function-BjWi5ZKZ.js → position-tooltip.function-DCOaqlbY.js} +1 -1
- package/dist/cjs/{v4-Br3XC_0C.js → v4-_2BfiRUa.js} +6 -13
- package/dist/collection/components/advanced-select/advanced-select.css +26 -68
- package/dist/collection/components/advanced-select/advanced-select.js +26 -10
- package/dist/collection/components/autosuggest/autosuggest.js +5 -2
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/banner/banner.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-container/card-container.js +1 -1
- package/dist/collection/components/contact-information/contact-information.js +1 -1
- package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/document-card/document-card.js +1 -1
- package/dist/collection/components/document-component/document-component.css +1 -15
- package/dist/collection/components/document-component/document-component.js +4 -4
- package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +1 -1
- package/dist/collection/components/dropdown-menu/dropdown-menu.css +1 -7
- package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/collection/components/expandable/expandable.js +2 -2
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/highlight-box/highlight-box.js +1 -1
- package/dist/collection/components/history-item/history-item.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +23 -9
- package/dist/collection/components/info/info.js +1 -1
- package/dist/collection/components/info-button/info-button.js +1 -1
- package/dist/collection/components/input-range/input-range.js +2 -2
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
- package/dist/collection/components/legend/legend-item/legend-item.js +2 -2
- package/dist/collection/components/legend/legend.js +1 -1
- package/dist/collection/components/list-button/list-button.css +1 -7
- package/dist/collection/components/list-button/list-button.js +1 -1
- package/dist/collection/components/logo/logo.js +1 -1
- package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
- package/dist/collection/components/map-controls/map-controls.css +1 -15
- package/dist/collection/components/map-controls/map-controls.js +1 -1
- package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
- package/dist/collection/components/map-layer/map-layer.js +1 -1
- package/dist/collection/components/map-message/map-message.js +2 -2
- package/dist/collection/components/map-overlays/map-overlays.js +1 -1
- package/dist/collection/components/mark-bar/mark-bar.js +1 -1
- package/dist/collection/components/modal/modal.css +38 -72
- package/dist/collection/components/modal/modal.js +2 -1
- package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
- package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
- package/dist/collection/components/ozon-content/ozon-content.css +1 -15
- package/dist/collection/components/ozon-content/ozon-content.js +1 -1
- package/dist/collection/components/panel/panel.js +1 -1
- package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
- package/dist/collection/components/project-item/project-item.js +1 -1
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/selectable/selectable.js +24 -2
- package/dist/collection/components/skiplink/skiplink.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/survey-rating/survey-rating.js +2 -2
- package/dist/collection/components/table/table.css +1 -17
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree-view/tree-view.js +1 -1
- package/dist/collection/components/viewer-grid/viewer-grid.css +1 -7
- package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
- package/dist/components/badge.js +1 -1
- package/dist/components/button-group.js +1 -1
- package/dist/components/document-component.js +1 -1
- package/dist/components/dso-advanced-select.js +2 -2
- package/dist/components/dso-autosuggest.js +1 -1
- package/dist/components/dso-banner.js +1 -1
- package/dist/components/dso-card-container.js +1 -1
- package/dist/components/dso-card.js +1 -1
- package/dist/components/dso-contact-information.js +1 -1
- package/dist/components/dso-cursor-tooltip.js +1 -1
- package/dist/components/dso-date-picker.js +1 -1
- package/dist/components/dso-document-card.js +1 -1
- package/dist/components/dso-dropdown-menu-group.js +1 -1
- package/dist/components/dso-dropdown-menu-item.js +1 -1
- package/dist/components/dso-dropdown-menu.js +1 -1
- package/dist/components/dso-header.js +1 -1
- package/dist/components/dso-highlight-box.js +1 -1
- package/dist/components/dso-history-item.js +1 -1
- package/dist/components/dso-input-range.js +1 -1
- package/dist/components/dso-legend-group.js +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend.js +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-logo.js +1 -1
- package/dist/components/dso-map-base-layers.js +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-layer-object.js +1 -1
- package/dist/components/dso-map-layer.js +1 -1
- package/dist/components/dso-map-message.js +1 -1
- package/dist/components/dso-map-overlays.js +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-onboarding-tip.js +1 -1
- package/dist/components/dso-plekinfo-card.js +1 -1
- package/dist/components/dso-project-item.js +1 -1
- package/dist/components/dso-segmented-button.js +1 -1
- package/dist/components/dso-skiplink.js +1 -1
- package/dist/components/dso-survey-rating.js +1 -1
- package/dist/components/dso-tabs.js +1 -1
- package/dist/components/dso-tijdreis-banner.js +1 -1
- package/dist/components/dso-tooltip.js +1 -1
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +1 -1
- package/dist/components/dsot-document-component-demo.js +1 -1
- package/dist/components/expandable.js +1 -1
- package/dist/components/floating-ui.dom.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/ozon-content-toggletip.js +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/progress-indicator.js +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +1 -1
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/v4.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/{p-0e964c0b.entry.js → p-0083183c.entry.js} +1 -1
- package/dist/dso-toolkit/{p-1d2e543a.entry.js → p-0925b25d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-14c079e3.entry.js → p-0ce9b9ec.entry.js} +1 -1
- package/dist/dso-toolkit/{p-e452dd0a.entry.js → p-0f2ae02f.entry.js} +1 -1
- package/dist/dso-toolkit/p-0fc1acaa.entry.js +1 -0
- package/dist/dso-toolkit/{p-c97b503c.entry.js → p-1281cc01.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2ac35007.entry.js → p-1a76abf1.entry.js} +1 -1
- package/dist/dso-toolkit/{p-63b6ebe0.entry.js → p-1ce3c197.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2dcc260e.entry.js → p-2149be85.entry.js} +1 -1
- package/dist/dso-toolkit/p-2e501bb0.entry.js +1 -0
- package/dist/dso-toolkit/p-3d705a78.entry.js +1 -0
- package/dist/dso-toolkit/{p-c56e654d.entry.js → p-441b88f3.entry.js} +1 -1
- package/dist/dso-toolkit/p-49d26a29.entry.js +1 -0
- package/dist/dso-toolkit/{p-3a37e36a.entry.js → p-538f968a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6fdad8bd.entry.js → p-5cdda2dd.entry.js} +1 -1
- package/dist/dso-toolkit/{p-40d5fc69.entry.js → p-5cfc5bc7.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d728026a.entry.js → p-6e027a66.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3959d0b8.entry.js → p-71f63631.entry.js} +1 -1
- package/dist/dso-toolkit/{p-28d7d4f2.entry.js → p-7a852b15.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3f6ddf06.entry.js → p-7e155437.entry.js} +1 -1
- package/dist/dso-toolkit/{p-6b59eed1.entry.js → p-7e808e9e.entry.js} +1 -1
- package/dist/dso-toolkit/p-87a19b2e.entry.js +1 -0
- package/dist/dso-toolkit/{p-415db2f9.entry.js → p-8bdb1eb9.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f3798508.entry.js → p-8d4cce03.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fa490d62.entry.js → p-8dd7f11a.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fcab1797.entry.js → p-9209aec4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-fbf11382.entry.js → p-92e7fa78.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f8d2c3d6.entry.js → p-9430341b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-d2a0c83c.entry.js → p-9454c434.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f2a9cf31.entry.js → p-989c2c78.entry.js} +1 -1
- package/dist/dso-toolkit/{p-2412ccfa.entry.js → p-9b468b2a.entry.js} +1 -1
- package/dist/dso-toolkit/p-CCOI5nUo.js +1 -0
- package/dist/dso-toolkit/p-CK3_k8jD.js +1 -0
- package/dist/dso-toolkit/{p-DdaJdjEq.js → p-CcOMPHLg.js} +1 -1
- package/dist/dso-toolkit/p-DMUqzLuy.js +1 -0
- package/dist/dso-toolkit/{p-4de1556f.entry.js → p-ace3aaa4.entry.js} +1 -1
- package/dist/dso-toolkit/{p-10360fa4.entry.js → p-ae526b7b.entry.js} +1 -1
- package/dist/dso-toolkit/{p-669d8774.entry.js → p-b5c4719a.entry.js} +1 -1
- package/dist/dso-toolkit/p-bb6cbd71.entry.js +1 -0
- package/dist/dso-toolkit/{p-4d708856.entry.js → p-bfbbc6d6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-09fee564.entry.js → p-c352e814.entry.js} +1 -1
- package/dist/dso-toolkit/p-cc9167cd.entry.js +1 -0
- package/dist/dso-toolkit/{p-17d3e3e4.entry.js → p-ccbbfdc7.entry.js} +1 -1
- package/dist/dso-toolkit/p-cfb08b19.entry.js +1 -0
- package/dist/dso-toolkit/{p-a10dddce.entry.js → p-d271dd46.entry.js} +1 -1
- package/dist/dso-toolkit/{p-9330b7e6.entry.js → p-db491dfd.entry.js} +1 -1
- package/dist/dso-toolkit/p-e3826220.entry.js +5 -0
- package/dist/dso-toolkit/{p-fbe4aa66.entry.js → p-e58e9b96.entry.js} +1 -1
- package/dist/dso-toolkit/{p-ffc60fb8.entry.js → p-e5bb3203.entry.js} +1 -1
- package/dist/dso-toolkit/{p-f8ed1a64.entry.js → p-e966fb4d.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3b620a1f.entry.js → p-e98aad46.entry.js} +1 -1
- package/dist/dso-toolkit/{p-3d1b5a25.entry.js → p-ee9693c6.entry.js} +1 -1
- package/dist/dso-toolkit/{p-8c52725c.entry.js → p-f163e3db.entry.js} +1 -1
- package/dist/dso-toolkit/p-f205b38c.entry.js +1 -0
- package/dist/dso-toolkit/p-f485cda1.entry.js +1 -0
- package/dist/dso-toolkit/{p-1cf76eb8.entry.js → p-ffdd9174.entry.js} +1 -1
- package/dist/esm/dso-advanced-select.entry.js +10 -6
- package/dist/esm/dso-alert_7.entry.js +12 -12
- package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
- package/dist/esm/dso-attachments-counter_2.entry.js +2 -2
- package/dist/esm/dso-autosuggest.entry.js +7 -4
- package/dist/esm/dso-banner.entry.js +2 -2
- package/dist/esm/dso-button-group.entry.js +1 -1
- package/dist/esm/dso-card-container.entry.js +1 -1
- package/dist/esm/dso-card.entry.js +2 -2
- package/dist/esm/dso-contact-information.entry.js +1 -1
- package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
- package/dist/esm/dso-date-picker.entry.js +1 -1
- package/dist/esm/dso-document-card.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu-group.entry.js +2 -2
- package/dist/esm/dso-dropdown-menu-item.entry.js +1 -1
- package/dist/esm/dso-dropdown-menu.entry.js +4 -4
- package/dist/esm/dso-header.entry.js +4 -4
- package/dist/esm/dso-highlight-box.entry.js +1 -1
- package/dist/esm/dso-history-item.entry.js +1 -1
- package/dist/esm/dso-icon-button.entry.js +3 -7
- package/dist/esm/dso-icon.entry.js +1 -1
- package/dist/esm/dso-info_3.entry.js +8 -5
- package/dist/esm/dso-input-range.entry.js +2 -2
- package/dist/esm/dso-label_3.entry.js +6 -6
- package/dist/esm/dso-legend-group.entry.js +2 -2
- package/dist/esm/dso-legend-item.entry.js +3 -3
- package/dist/esm/dso-legend.entry.js +2 -2
- package/dist/esm/dso-list-button.entry.js +2 -2
- package/dist/esm/dso-logo.entry.js +1 -1
- package/dist/esm/dso-map-base-layers.entry.js +3 -3
- package/dist/esm/dso-map-controls.entry.js +3 -3
- package/dist/esm/dso-map-layer-object.entry.js +1 -1
- package/dist/esm/dso-map-layer.entry.js +1 -1
- package/dist/esm/dso-map-message.entry.js +2 -2
- package/dist/esm/dso-map-overlays.entry.js +3 -3
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-modal.entry.js +5 -4
- package/dist/esm/dso-onboarding-tip.entry.js +3 -3
- package/dist/esm/dso-plekinfo-card.entry.js +1 -1
- package/dist/esm/dso-progress-indicator.entry.js +2 -2
- package/dist/esm/dso-project-item.entry.js +1 -1
- package/dist/esm/dso-responsive-element.entry.js +1 -1
- package/dist/esm/dso-scrollable.entry.js +2 -2
- package/dist/esm/dso-segmented-button.entry.js +1 -1
- package/dist/esm/dso-skiplink.entry.js +1 -1
- package/dist/esm/dso-survey-rating.entry.js +2 -2
- package/dist/esm/dso-tabs.entry.js +1 -1
- package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tooltip.entry.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +3 -3
- package/dist/esm/dsot-document-component-demo.entry.js +1 -1
- package/dist/esm/{floating-ui.dom-zRaH89Qj.js → floating-ui.dom-DMUqzLuy.js} +118 -123
- package/dist/{bundle/p-CUWMAyh7.js → esm/i18n-CCOI5nUo.js} +9 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{position-tooltip.function-DoXRpCfQ.js → position-tooltip.function-qfYgMCby.js} +1 -1
- package/dist/{bundle/p-BF0_OXTe.js → esm/v4-CK3_k8jD.js} +6 -13
- package/dist/types/components/advanced-select/advanced-select.d.ts +2 -2
- package/dist/types/components/advanced-select/advanced-select.interfaces.d.ts +1 -1
- package/dist/types/components/icon-button/icon-button.d.ts +5 -1
- package/dist/types/components/selectable/selectable.d.ts +12 -1
- package/dist/types/components.d.ts +25 -9
- package/package.json +14 -14
- package/dist/bundle/p-YGjRwvU1.js +0 -161
- package/dist/dso-toolkit/p-0c07dd43.entry.js +0 -1
- package/dist/dso-toolkit/p-0d4ea549.entry.js +0 -1
- package/dist/dso-toolkit/p-11d86ad0.entry.js +0 -1
- package/dist/dso-toolkit/p-73c95410.entry.js +0 -1
- package/dist/dso-toolkit/p-929ef098.entry.js +0 -1
- package/dist/dso-toolkit/p-BF0_OXTe.js +0 -1
- package/dist/dso-toolkit/p-CUWMAyh7.js +0 -1
- package/dist/dso-toolkit/p-b2cf776e.entry.js +0 -1
- package/dist/dso-toolkit/p-c10f35d7.entry.js +0 -1
- package/dist/dso-toolkit/p-e782f187.entry.js +0 -5
- package/dist/dso-toolkit/p-ec9ca424.entry.js +0 -1
- package/dist/dso-toolkit/p-ec9dac3d.entry.js +0 -1
- package/dist/dso-toolkit/p-f31456c8.entry.js +0 -1
- package/dist/dso-toolkit/p-zRaH89Qj.js +0 -1
|
@@ -25,25 +25,18 @@ function unsafeStringify(arr, offset = 0) {
|
|
|
25
25
|
byteToHex[arr[offset + 15]]).toLowerCase();
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
let getRandomValues;
|
|
29
28
|
const rnds8 = new Uint8Array(16);
|
|
30
29
|
function rng() {
|
|
31
|
-
|
|
32
|
-
if (typeof crypto === 'undefined' || !crypto.getRandomValues) {
|
|
33
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
34
|
-
}
|
|
35
|
-
getRandomValues = crypto.getRandomValues.bind(crypto);
|
|
36
|
-
}
|
|
37
|
-
return getRandomValues(rnds8);
|
|
30
|
+
return crypto.getRandomValues(rnds8);
|
|
38
31
|
}
|
|
39
32
|
|
|
40
|
-
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
41
|
-
var native = { randomUUID };
|
|
42
|
-
|
|
43
33
|
function v4(options, buf, offset) {
|
|
44
|
-
if (
|
|
45
|
-
return
|
|
34
|
+
if (crypto.randomUUID) {
|
|
35
|
+
return crypto.randomUUID();
|
|
46
36
|
}
|
|
37
|
+
return _v4(options);
|
|
38
|
+
}
|
|
39
|
+
function _v4(options, buf, offset) {
|
|
47
40
|
options = options || {};
|
|
48
41
|
const rnds = options.random ?? options.rng?.() ?? rng();
|
|
49
42
|
if (rnds.length < 16) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ComponentInterface, EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { AdvancedSelectChangeEvent, AdvancedSelectOption,
|
|
2
|
+
import { AdvancedSelectChangeEvent, AdvancedSelectGroup, AdvancedSelectOption, AdvancedSelectPlaceholder, AdvancedSelectRedirectEvent } from "./advanced-select.interfaces";
|
|
3
3
|
export declare class AdvancedSelect implements ComponentInterface {
|
|
4
4
|
private trap?;
|
|
5
5
|
host: HTMLDsoAdvancedSelectElement;
|
|
6
6
|
/**
|
|
7
7
|
* The options to display in the select.
|
|
8
8
|
*/
|
|
9
|
-
options:
|
|
9
|
+
options: (AdvancedSelectOption<unknown> | AdvancedSelectGroup<unknown> | AdvancedSelectPlaceholder)[];
|
|
10
10
|
/**
|
|
11
11
|
* The active option. By object reference.
|
|
12
12
|
*/
|
|
@@ -9,6 +9,7 @@ export interface AdvancedSelectGroupRedirect {
|
|
|
9
9
|
}
|
|
10
10
|
export interface AdvancedSelectGroup<T> {
|
|
11
11
|
label: string;
|
|
12
|
+
badgeLabel?: string;
|
|
12
13
|
activeLabel?: string;
|
|
13
14
|
summaryCounter?: boolean;
|
|
14
15
|
redirect?: AdvancedSelectGroupRedirect;
|
|
@@ -21,7 +22,6 @@ export interface AdvancedSelectPlaceholder {
|
|
|
21
22
|
redirect?: AdvancedSelectGroupRedirect;
|
|
22
23
|
placeholder: string;
|
|
23
24
|
}
|
|
24
|
-
export type AdvancedSelectOptionOrGroup<T> = AdvancedSelectOption<T> | AdvancedSelectGroup<T> | AdvancedSelectPlaceholder;
|
|
25
25
|
export interface AdvancedSelectChangeEvent<T> {
|
|
26
26
|
originalEvent: MouseEvent;
|
|
27
27
|
option: AdvancedSelectOption<T>;
|
|
@@ -30,10 +30,14 @@ export declare class IconButton implements ComponentInterface {
|
|
|
30
30
|
* To disable the Icon Button
|
|
31
31
|
*/
|
|
32
32
|
disabled: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates whether the controlled element is expanded.
|
|
35
|
+
*/
|
|
36
|
+
expanded?: boolean;
|
|
33
37
|
/**
|
|
34
38
|
* Whether the button is toggled.
|
|
35
39
|
*/
|
|
36
|
-
toggled
|
|
40
|
+
toggled?: boolean;
|
|
37
41
|
/**
|
|
38
42
|
* Emitted when the user clicks the Icon Button.
|
|
39
43
|
*/
|
|
@@ -30,9 +30,20 @@ export declare class Selectable implements ComponentInterface {
|
|
|
30
30
|
*/
|
|
31
31
|
invalid?: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* To link this control to
|
|
33
|
+
* To link this control to the Info that describes it.
|
|
34
|
+
* The property `infoFixed` should be set to true.
|
|
35
|
+
* The slot `info` should be filled.
|
|
36
|
+
*
|
|
37
|
+
* Implemented with `aria-describedby` on the `<input>` element; works alongside `errormessage`.
|
|
34
38
|
*/
|
|
35
39
|
describedById?: string;
|
|
40
|
+
/**
|
|
41
|
+
* To link this control to an element containing an error message.
|
|
42
|
+
*
|
|
43
|
+
* The value is the id of the element containing the error message. Implemented with `aria-describedby` on the
|
|
44
|
+
* `<input>` element; works alongside `describedById`.
|
|
45
|
+
*/
|
|
46
|
+
errormessage?: string;
|
|
36
47
|
/**
|
|
37
48
|
* To link this control to an element that labels it.
|
|
38
49
|
*/
|
|
@@ -10,7 +10,7 @@ import { RenvooiMarkFunction, RenvooiMarkItemHighlightEvent, RenvooiValue } from
|
|
|
10
10
|
import { AccordionHeading, AccordionSectionActiveChangeEvent, AccordionSectionAnimationEndEvent, AccordionSectionAnimationStartEvent, AccordionSectionState, AccordionSectionToggleClickEvent, AccordionSectionWijzigactie } from "./components/accordion/components/accordion-section.interfaces";
|
|
11
11
|
import { IconAlias } from "./components/icon/icon.interfaces";
|
|
12
12
|
import { LabelStatus } from "./components/label/label.interfaces";
|
|
13
|
-
import { AdvancedSelectChangeEvent, AdvancedSelectOption,
|
|
13
|
+
import { AdvancedSelectChangeEvent, AdvancedSelectGroup, AdvancedSelectOption, AdvancedSelectPlaceholder, AdvancedSelectRedirectEvent } from "./components/advanced-select/advanced-select.interfaces";
|
|
14
14
|
import { AlertCloseEvent } from "./components/alert/alert.interfaces";
|
|
15
15
|
import { AnnotationActiveChangeEvent, AnnotationWijzigactie } from "./components/annotation/annotation.interfaces";
|
|
16
16
|
import { AnnotationKaartClickEvent } from "./components/annotation/annotation-kaart/annotation-kaart.interfaces";
|
|
@@ -64,7 +64,7 @@ export { RenvooiMarkFunction, RenvooiMarkItemHighlightEvent, RenvooiValue } from
|
|
|
64
64
|
export { AccordionHeading, AccordionSectionActiveChangeEvent, AccordionSectionAnimationEndEvent, AccordionSectionAnimationStartEvent, AccordionSectionState, AccordionSectionToggleClickEvent, AccordionSectionWijzigactie } from "./components/accordion/components/accordion-section.interfaces";
|
|
65
65
|
export { IconAlias } from "./components/icon/icon.interfaces";
|
|
66
66
|
export { LabelStatus } from "./components/label/label.interfaces";
|
|
67
|
-
export { AdvancedSelectChangeEvent, AdvancedSelectOption,
|
|
67
|
+
export { AdvancedSelectChangeEvent, AdvancedSelectGroup, AdvancedSelectOption, AdvancedSelectPlaceholder, AdvancedSelectRedirectEvent } from "./components/advanced-select/advanced-select.interfaces";
|
|
68
68
|
export { AlertCloseEvent } from "./components/alert/alert.interfaces";
|
|
69
69
|
export { AnnotationActiveChangeEvent, AnnotationWijzigactie } from "./components/annotation/annotation.interfaces";
|
|
70
70
|
export { AnnotationKaartClickEvent } from "./components/annotation/annotation-kaart/annotation-kaart.interfaces";
|
|
@@ -236,7 +236,7 @@ export namespace Components {
|
|
|
236
236
|
* The options to display in the select.
|
|
237
237
|
* @default []
|
|
238
238
|
*/
|
|
239
|
-
"options":
|
|
239
|
+
"options": (AdvancedSelectOption<unknown> | AdvancedSelectGroup<unknown> | AdvancedSelectPlaceholder)[];
|
|
240
240
|
}
|
|
241
241
|
interface DsoAlert {
|
|
242
242
|
/**
|
|
@@ -789,6 +789,10 @@ export namespace Components {
|
|
|
789
789
|
* @default false
|
|
790
790
|
*/
|
|
791
791
|
"disabled": boolean;
|
|
792
|
+
/**
|
|
793
|
+
* Indicates whether the controlled element is expanded.
|
|
794
|
+
*/
|
|
795
|
+
"expanded"?: boolean;
|
|
792
796
|
/**
|
|
793
797
|
* The alias of the icon in the button.
|
|
794
798
|
*/
|
|
@@ -803,9 +807,8 @@ export namespace Components {
|
|
|
803
807
|
"setFocus": () => Promise<void>;
|
|
804
808
|
/**
|
|
805
809
|
* Whether the button is toggled.
|
|
806
|
-
* @default false
|
|
807
810
|
*/
|
|
808
|
-
"toggled"
|
|
811
|
+
"toggled"?: boolean;
|
|
809
812
|
/**
|
|
810
813
|
* The placement of the tooltip on hover and focus of the Icon Button.
|
|
811
814
|
* @default "top"
|
|
@@ -1276,13 +1279,17 @@ export namespace Components {
|
|
|
1276
1279
|
*/
|
|
1277
1280
|
"checked"?: boolean;
|
|
1278
1281
|
/**
|
|
1279
|
-
* To link this control to
|
|
1282
|
+
* To link this control to the Info that describes it. The property `infoFixed` should be set to true. The slot `info` should be filled. Implemented with `aria-describedby` on the `<input>` element; works alongside `errormessage`.
|
|
1280
1283
|
*/
|
|
1281
1284
|
"describedById"?: string;
|
|
1282
1285
|
/**
|
|
1283
1286
|
* To disable the Selectable.
|
|
1284
1287
|
*/
|
|
1285
1288
|
"disabled"?: boolean;
|
|
1289
|
+
/**
|
|
1290
|
+
* To link this control to an element containing an error message. The value is the id of the element containing the error message. Implemented with `aria-describedby` on the `<input>` element; works alongside `describedById`.
|
|
1291
|
+
*/
|
|
1292
|
+
"errormessage"?: string;
|
|
1286
1293
|
/**
|
|
1287
1294
|
* To set `<input id>` attribute for external references.
|
|
1288
1295
|
*/
|
|
@@ -3007,7 +3014,7 @@ declare namespace LocalJSX {
|
|
|
3007
3014
|
* The options to display in the select.
|
|
3008
3015
|
* @default []
|
|
3009
3016
|
*/
|
|
3010
|
-
"options"?:
|
|
3017
|
+
"options"?: (AdvancedSelectOption<unknown> | AdvancedSelectGroup<unknown> | AdvancedSelectPlaceholder)[];
|
|
3011
3018
|
}
|
|
3012
3019
|
interface DsoAlert {
|
|
3013
3020
|
/**
|
|
@@ -3666,6 +3673,10 @@ declare namespace LocalJSX {
|
|
|
3666
3673
|
* @default false
|
|
3667
3674
|
*/
|
|
3668
3675
|
"disabled"?: boolean;
|
|
3676
|
+
/**
|
|
3677
|
+
* Indicates whether the controlled element is expanded.
|
|
3678
|
+
*/
|
|
3679
|
+
"expanded"?: boolean;
|
|
3669
3680
|
/**
|
|
3670
3681
|
* The alias of the icon in the button.
|
|
3671
3682
|
*/
|
|
@@ -3680,7 +3691,6 @@ declare namespace LocalJSX {
|
|
|
3680
3691
|
"onDsoClick"?: (event: DsoIconButtonCustomEvent<IconButtonClickEvent>) => void;
|
|
3681
3692
|
/**
|
|
3682
3693
|
* Whether the button is toggled.
|
|
3683
|
-
* @default false
|
|
3684
3694
|
*/
|
|
3685
3695
|
"toggled"?: boolean;
|
|
3686
3696
|
/**
|
|
@@ -4282,13 +4292,17 @@ declare namespace LocalJSX {
|
|
|
4282
4292
|
*/
|
|
4283
4293
|
"checked"?: boolean;
|
|
4284
4294
|
/**
|
|
4285
|
-
* To link this control to
|
|
4295
|
+
* To link this control to the Info that describes it. The property `infoFixed` should be set to true. The slot `info` should be filled. Implemented with `aria-describedby` on the `<input>` element; works alongside `errormessage`.
|
|
4286
4296
|
*/
|
|
4287
4297
|
"describedById"?: string;
|
|
4288
4298
|
/**
|
|
4289
4299
|
* To disable the Selectable.
|
|
4290
4300
|
*/
|
|
4291
4301
|
"disabled"?: boolean;
|
|
4302
|
+
/**
|
|
4303
|
+
* To link this control to an element containing an error message. The value is the id of the element containing the error message. Implemented with `aria-describedby` on the `<input>` element; works alongside `describedById`.
|
|
4304
|
+
*/
|
|
4305
|
+
"errormessage"?: string;
|
|
4292
4306
|
/**
|
|
4293
4307
|
* To set `<input id>` attribute for external references.
|
|
4294
4308
|
*/
|
|
@@ -4781,6 +4795,7 @@ declare namespace LocalJSX {
|
|
|
4781
4795
|
"variant": IconButtonVariant;
|
|
4782
4796
|
"tooltipPlacement": TooltipPlacement;
|
|
4783
4797
|
"disabled": boolean;
|
|
4798
|
+
"expanded": boolean;
|
|
4784
4799
|
"toggled": boolean;
|
|
4785
4800
|
}
|
|
4786
4801
|
interface DsoImageOverlayAttributes {
|
|
@@ -4922,6 +4937,7 @@ declare namespace LocalJSX {
|
|
|
4922
4937
|
"value": string;
|
|
4923
4938
|
"invalid": boolean;
|
|
4924
4939
|
"describedById": string;
|
|
4940
|
+
"errormessage": string;
|
|
4925
4941
|
"labelledById": string;
|
|
4926
4942
|
"disabled": boolean;
|
|
4927
4943
|
"required": boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dso-toolkit/core",
|
|
3
|
-
"version": "99.
|
|
3
|
+
"version": "99.4.0",
|
|
4
4
|
"description": "DSO Toolkit Web Components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/components/index.js",
|
|
@@ -15,45 +15,45 @@
|
|
|
15
15
|
"loader/"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@floating-ui/dom": "^1.
|
|
18
|
+
"@floating-ui/dom": "^1.8.0",
|
|
19
19
|
"@popperjs/core": "^2.11.8",
|
|
20
20
|
"@stencil/core": "4.43.5",
|
|
21
21
|
"@stencil/store": "^2.2.2",
|
|
22
22
|
"clsx": "^2.1.1",
|
|
23
23
|
"escape-string-regexp": "^5.0.0",
|
|
24
24
|
"focus-trap": "^8.2.2",
|
|
25
|
-
"i18next": "^26.3.
|
|
25
|
+
"i18next": "^26.3.6",
|
|
26
26
|
"popper-max-size-modifier": "^0.2.0",
|
|
27
27
|
"tabbable": "^6.5.0",
|
|
28
28
|
"uuid": "^14.0.1",
|
|
29
|
-
"dso-toolkit": "99.
|
|
29
|
+
"dso-toolkit": "99.4.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@stencil/angular-output-target": "^1.4.
|
|
33
|
-
"@stencil/react-output-target": "^1.6.
|
|
34
|
-
"@stencil/sass": "^3.2
|
|
32
|
+
"@stencil/angular-output-target": "^1.4.1",
|
|
33
|
+
"@stencil/react-output-target": "^1.6.1",
|
|
34
|
+
"@stencil/sass": "^3.3.2",
|
|
35
35
|
"@types/debounce": "^1.2.4",
|
|
36
36
|
"@types/lodash.kebabcase": "^4.1.9",
|
|
37
37
|
"@types/lodash.random": "^3.2.9",
|
|
38
38
|
"@types/lodash.samplesize": "^4.2.9",
|
|
39
|
-
"@types/node": "^24.
|
|
39
|
+
"@types/node": "^24.13.3",
|
|
40
40
|
"@types/react": "^19.2.17",
|
|
41
41
|
"@types/react-dom": "^19.2.3",
|
|
42
|
-
"concurrently": "^10.0.
|
|
42
|
+
"concurrently": "^10.0.4",
|
|
43
43
|
"debounce": "^3.0.0",
|
|
44
44
|
"lodash.kebabcase": "^4.1.1",
|
|
45
45
|
"lodash.random": "^3.2.0",
|
|
46
46
|
"lodash.samplesize": "^4.2.0",
|
|
47
|
-
"prettier": "^3.9.
|
|
48
|
-
"react": "^19.2.
|
|
49
|
-
"react-dom": "^19.2.
|
|
47
|
+
"prettier": "^3.9.6",
|
|
48
|
+
"react": "^19.2.8",
|
|
49
|
+
"react-dom": "^19.2.8",
|
|
50
50
|
"rimraf": "^6.1.3",
|
|
51
51
|
"stencil-inline-svg": "^1.1.0",
|
|
52
|
-
"tsx": "^4.
|
|
52
|
+
"tsx": "^4.23.1",
|
|
53
53
|
"typescript": "~5.9.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"dso-toolkit": "99.
|
|
56
|
+
"dso-toolkit": "99.4.0"
|
|
57
57
|
},
|
|
58
58
|
"nx": {
|
|
59
59
|
"includedScripts": []
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { h, p as proxyCustomElement, H, d as createEvent, F as Fragment, t as transformTag } from './p-Di7uBIhp.js';
|
|
2
|
-
import { g as getActiveElement } from './p-BWkWD1Z2.js';
|
|
3
|
-
import { i as i18n } from './p-CUWMAyh7.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-Du2uEAur.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-BVpypRBU.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-BuYJl3wN.js';
|
|
7
|
-
import { v as v4 } from './p-BF0_OXTe.js';
|
|
8
|
-
|
|
9
|
-
const Body = () => {
|
|
10
|
-
return (h("div", { class: "dso-body", tabIndex: 0 }, h("slot", { name: "body" })));
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const Footer = () => {
|
|
14
|
-
return (h("div", { class: "dso-footer" }, h("slot", { name: "footer" })));
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
const Header = ({ modalTitle, closable, ariaId, text, dsoClose }) => {
|
|
18
|
-
return modalTitle ? (h("div", { class: "dso-header" }, h("h2", { id: ariaId }, modalTitle), closable && (h("dso-icon-button", { id: "close-modal", icon: "cross", variant: "tertiary", label: text("close"), onDsoClick: (e) => dsoClose.emit({ originalEvent: e }) })))) : (h("span", { class: "sr-only", id: ariaId }, text("dialog")));
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const translations = {
|
|
22
|
-
en: {
|
|
23
|
-
"dso-modal": {
|
|
24
|
-
close: "Close",
|
|
25
|
-
dialog: "Dialog",
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
nl: {
|
|
29
|
-
"dso-modal": {
|
|
30
|
-
close: "Sluiten",
|
|
31
|
-
dialog: "Dialoog",
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
const modalCss = () => `@keyframes ModalFadeIn{0%{opacity:0}100%{opacity:1}}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host([fullscreen]) dialog{inline-size:100dvi;block-size:100dvb}:host([fullscreen]) dialog .dso-dialog{display:flex;flex-direction:column;inline-size:100%;block-size:100%}:host([fullscreen]) dialog .dso-dialog>dso-scrollable{flex-grow:1;max-block-size:unset}:host([fullscreen]) dialog .dso-footer{flex-shrink:0}@media screen and (max-width: 480px){:host dialog{inline-size:100dvi;block-size:100dvb}:host dialog .dso-dialog{display:flex;flex-direction:column;inline-size:100%;block-size:100%}:host dialog .dso-dialog>dso-scrollable{flex-grow:1;max-block-size:unset}:host dialog .dso-footer{flex-shrink:0}}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip-path:rect(0 0 0 0)}button{-webkit-appearance:button;color:inherit;cursor:pointer;font:inherit;font-family:inherit;font-size:inherit;letter-spacing:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}button[disabled]{cursor:default}button::-moz-focus-inner{border:0;padding:0}.dso-modal{--_dso-button-float-tertiary:inline-start;--_dso-button-padding-block-tertiary:14px;overflow:visible;padding:0;border:0;inline-size:var(--_dso-modal-inline-size, fit-content);margin:var(--_dso-modal-margin, auto)}@media screen and (max-width: 767px){.dso-modal{--_dso-button-inline-size:100%;--_dso-button-after-button-margin-inline-start:0;--_dso-button-after-button-margin-block-start:8px;--_dso-button-text-align:center}.dso-modal .modal-scrollable{display:flex;flex-direction:column;min-block-size:100%}.dso-modal .dso-body{flex:1 1 auto}}@media screen and (max-height: 380px){.dso-modal{min-block-size:216px;margin-block-start:8px;margin-block-end:8px}}.dso-modal::backdrop{background-color:rgba(255, 255, 255, 0.6)}.dso-modal .dso-dialog{inline-size:var(--_dso-modal-dialog-inline-size, 640px);margin-block-start:var(--_dso-modal-dialog-margin-block-start, 0);margin-inline-start:var(--_dso-modal-dialog-margin-inline-start, auto);margin-inline-end:var(--_dso-modal-dialog-margin-inline-end, auto);background-color:#fff;opacity:1;box-shadow:0 8px 24px 0 rgba(25, 25, 25, 0.4);animation:200ms ease-out 0s 1 ModalFadeIn}@media screen and (max-width: 767px){.dso-modal .dso-dialog{max-inline-size:100%;margin-block-start:0}}.dso-modal .dso-header{position:relative;padding:16px;border-block-end:1px solid #ccc}.dso-modal .dso-header h2{max-inline-size:calc(100% - 24px);margin:0;color:#275937}.dso-modal .dso-header dso-icon-button{position:absolute;inset-block-start:var(--_dso-modal-header-close-btn, 22px);inset-inline-end:17px}@media screen and (max-height: 380px){.dso-modal .dso-header{padding-block:8px;padding-inline:16px}}.dso-modal>.dso-dialog>.dso-body p{margin-block:0 var(--_dso-rich-content-margin-block, 16px);margin-inline:0}.dso-modal>.dso-dialog>.dso-body ul,.dso-modal>.dso-dialog>.dso-body ol{margin-block-end:16px}.dso-modal>.dso-dialog>.dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),.dso-modal>.dso-dialog>.dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list){padding-inline-start:24px}.dso-modal>.dso-dialog>.dso-body ul ul,.dso-modal>.dso-dialog>.dso-body ul ol,.dso-modal>.dso-dialog>.dso-body ol ul,.dso-modal>.dso-dialog>.dso-body ol ol{margin-block-end:0}.dso-modal>.dso-dialog>.dso-body pre{margin-block:0 16px;margin-inline:0}.dso-modal>.dso-dialog>.dso-body blockquote{padding-block:16px;padding-inline:1.5rem}.dso-modal>.dso-dialog>.dso-body dso-highlight-box{margin-block-end:1.5rem}.dso-modal>.dso-dialog>.dso-body img{block-size:auto;max-inline-size:100%}.dso-modal>.dso-dialog>.dso-body{block-size:calc(100% - 96px - 1.5rem);max-block-size:var(--_dso-modal-body-max-block-size, calc(70vh - 144px - 1.5em));min-block-size:1.5rem;overflow-x:auto;padding:32px}.dso-modal>.dso-dialog>dso-scrollable{block-size:calc(100% - 96px - 1.5rem);max-block-size:var(--_dso-modal-body-max-block-size, calc(70vh - 144px - 1.5em));min-block-size:6.5rem}@media screen and (min-width: 480px) and (max-width: 767px){.dso-modal>.dso-dialog>dso-scrollable.narrow{max-block-size:var(--_dso-modal-body-max-block-size, calc(100vh - 32px))}}.dso-modal>.dso-dialog>dso-scrollable .dso-body p{margin-block:0 var(--_dso-rich-content-margin-block, 16px);margin-inline:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol{margin-block-end:16px}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),.dso-modal>.dso-dialog>dso-scrollable .dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list){padding-inline-start:24px}.dso-modal>.dso-dialog>dso-scrollable .dso-body ul ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ul ol,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol ul,.dso-modal>.dso-dialog>dso-scrollable .dso-body ol ol{margin-block-end:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body pre{margin-block:0 16px;margin-inline:0}.dso-modal>.dso-dialog>dso-scrollable .dso-body blockquote{padding-block:16px;padding-inline:1.5rem}.dso-modal>.dso-dialog>dso-scrollable .dso-body dso-highlight-box{margin-block-end:1.5rem}.dso-modal>.dso-dialog>dso-scrollable .dso-body img{block-size:auto;max-inline-size:100%}.dso-modal>.dso-dialog>dso-scrollable .dso-body{padding:32px}@media screen and (max-height: 380px){.dso-modal .dso-body{padding-block:16px;padding-inline:24px}}.dso-modal .dso-body:focus-visible{outline:none}.dso-modal .dso-footer{min-block-size:80px;padding-block:16px;padding-inline:32px;text-align:end}@media screen and (min-width: 768px){.dso-modal .dso-footer .dso-primary+.dso-secondary,.dso-modal .dso-footer .dso-secondary+.dso-secondary,.dso-modal .dso-footer .dso-tertiary+.dso-secondary{margin-inline-start:16px}.dso-modal .dso-footer .dso-primary+.dso-tertiary,.dso-modal .dso-footer .dso-secondary+.dso-tertiary,.dso-modal .dso-footer .dso-tertiary+.dso-tertiary{margin-inline-start:0}}@media screen and (max-height: 380px){.dso-modal .dso-footer{min-block-size:auto;overflow:auto;padding-block:8px;padding-inline:32px}}`;
|
|
37
|
-
|
|
38
|
-
const Modal = /*@__PURE__*/ proxyCustomElement(class Modal extends H {
|
|
39
|
-
constructor(registerHost) {
|
|
40
|
-
super();
|
|
41
|
-
if (registerHost !== false) {
|
|
42
|
-
this.__registerHost();
|
|
43
|
-
}
|
|
44
|
-
this.__attachShadow();
|
|
45
|
-
this.dsoClose = createEvent(this, "dsoClose", 7);
|
|
46
|
-
this.startedMouseDownOutsideDialog = false;
|
|
47
|
-
this.endedMouseUpOutsideDialog = false;
|
|
48
|
-
this.narrowViewBreakpoint = 768;
|
|
49
|
-
this.mediaCondition = `(min-width: ${this.narrowViewBreakpoint}px)`;
|
|
50
|
-
this.ariaId = v4();
|
|
51
|
-
this.narrowView = window.innerWidth < this.narrowViewBreakpoint;
|
|
52
|
-
/**
|
|
53
|
-
* the role for the modal `dialog` | `alert` | `alertdialog`.
|
|
54
|
-
*/
|
|
55
|
-
this.dialogRole = "dialog";
|
|
56
|
-
/**
|
|
57
|
-
* The element to return focus to after the modal is closed.
|
|
58
|
-
*
|
|
59
|
-
* * `undefined` will return focus to the previously focused element (default).
|
|
60
|
-
* * `false` will not return focus to any element.
|
|
61
|
-
* * or, provide your own `HTMLElement` that will receive focus upon closing.
|
|
62
|
-
*/
|
|
63
|
-
this.returnFocus = undefined;
|
|
64
|
-
/**
|
|
65
|
-
* when `false` the close button in the header will not be rendered.
|
|
66
|
-
*
|
|
67
|
-
* Needs `modalTitle` to be set.
|
|
68
|
-
*/
|
|
69
|
-
this.closable = false;
|
|
70
|
-
this.text = i18n(() => this.host, translations);
|
|
71
|
-
this.changeListener = (largeScreen) => (this.narrowView = !largeScreen.matches);
|
|
72
|
-
this.blockEscapeKey = (e) => {
|
|
73
|
-
if (e.key === "Escape") {
|
|
74
|
-
e.preventDefault();
|
|
75
|
-
if (this.closable) {
|
|
76
|
-
this.dsoClose.emit({ originalEvent: e });
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
get hasFooter() {
|
|
82
|
-
return this.host.querySelector("[slot='footer']") !== null;
|
|
83
|
-
}
|
|
84
|
-
componentDidLoad() {
|
|
85
|
-
if (this.htmlDialogElement?.isConnected) {
|
|
86
|
-
const activeElement = getActiveElement();
|
|
87
|
-
if (activeElement instanceof H) {
|
|
88
|
-
this.returnFocusElement = activeElement;
|
|
89
|
-
}
|
|
90
|
-
this.htmlDialogElement.showModal();
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
connectedCallback() {
|
|
94
|
-
window.matchMedia(this.mediaCondition).addEventListener("change", this.changeListener);
|
|
95
|
-
}
|
|
96
|
-
disconnectedCallback() {
|
|
97
|
-
window.matchMedia(this.mediaCondition).removeEventListener("change", this.changeListener);
|
|
98
|
-
this.htmlDialogElement?.close();
|
|
99
|
-
if (this.returnFocus === false) {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
(this.returnFocus ?? this.returnFocusElement)?.focus();
|
|
103
|
-
}
|
|
104
|
-
handleDialogMouseDown(e) {
|
|
105
|
-
this.startedMouseDownOutsideDialog = e.target === this.htmlDialogElement;
|
|
106
|
-
}
|
|
107
|
-
handleDialogMouseUp(e) {
|
|
108
|
-
this.endedMouseUpOutsideDialog = e.target === this.htmlDialogElement;
|
|
109
|
-
}
|
|
110
|
-
handleDialogClick(e) {
|
|
111
|
-
if (!this.closable) {
|
|
112
|
-
return;
|
|
113
|
-
}
|
|
114
|
-
if (this.startedMouseDownOutsideDialog && this.endedMouseUpOutsideDialog && e.target === this.htmlDialogElement) {
|
|
115
|
-
this.dsoClose.emit({ originalEvent: e });
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
render() {
|
|
119
|
-
return (h("dialog", { key: '5bf0dd2d3c65fbd1590b96bbe92838076246f507', class: "dso-modal", role: this.dialogRole ?? undefined, "aria-modal": "true", "aria-labelledby": this.ariaId, ref: (element) => (this.htmlDialogElement = element), onMouseDown: (e) => this.handleDialogMouseDown(e), onMouseUp: (e) => this.handleDialogMouseUp(e), onClick: (e) => this.handleDialogClick(e), onKeyDown: (e) => this.blockEscapeKey(e) }, h("div", { key: '42ca0a18d4e91eaa6e78739b20deb5bc11281599', class: "dso-dialog" }, this.narrowView ? (h("dso-scrollable", { class: "narrow" }, h("div", { class: "modal-scrollable" }, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h(Body, null), this.hasFooter && h(Footer, null)))) : (h(Fragment, null, h(Header, { modalTitle: this.modalTitle, closable: this.closable, ariaId: this.ariaId, text: this.text, dsoClose: this.dsoClose }), h("dso-scrollable", null, h(Body, null)), this.hasFooter && h(Footer, null))))));
|
|
120
|
-
}
|
|
121
|
-
get host() { return this; }
|
|
122
|
-
static get style() { return modalCss(); }
|
|
123
|
-
}, [1, "dso-modal", {
|
|
124
|
-
"fullscreen": [516],
|
|
125
|
-
"modalTitle": [1, "modal-title"],
|
|
126
|
-
"dialogRole": [1, "dialog-role"],
|
|
127
|
-
"returnFocus": [4, "return-focus"],
|
|
128
|
-
"closable": [4],
|
|
129
|
-
"ariaId": [32],
|
|
130
|
-
"narrowView": [32]
|
|
131
|
-
}]);
|
|
132
|
-
function defineCustomElement() {
|
|
133
|
-
if (typeof customElements === "undefined") {
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
const components = ["dso-modal", "dso-icon", "dso-icon-button", "dso-scrollable"];
|
|
137
|
-
components.forEach(tagName => { switch (tagName) {
|
|
138
|
-
case "dso-modal":
|
|
139
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
140
|
-
customElements.define(transformTag(tagName), Modal);
|
|
141
|
-
}
|
|
142
|
-
break;
|
|
143
|
-
case "dso-icon":
|
|
144
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
145
|
-
defineCustomElement$3();
|
|
146
|
-
}
|
|
147
|
-
break;
|
|
148
|
-
case "dso-icon-button":
|
|
149
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
150
|
-
defineCustomElement$2();
|
|
151
|
-
}
|
|
152
|
-
break;
|
|
153
|
-
case "dso-scrollable":
|
|
154
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
155
|
-
defineCustomElement$1();
|
|
156
|
-
}
|
|
157
|
-
break;
|
|
158
|
-
} });
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export { Modal as M, defineCustomElement as d };
|