@dso-toolkit/core 64.0.0 → 65.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.
- package/dist/cjs/dso-action-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
- package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
- package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-alert_6.cjs.entry.js +4 -4
- package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +3 -3
- package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
- package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-autosuggest.cjs.entry.js +9 -3
- package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-card.cjs.entry.js +1 -1
- package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +1 -1
- package/dist/cjs/dso-helpcenter-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-info-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-info_2.cjs.entry.js +1 -1
- package/dist/cjs/dso-label_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
- package/dist/cjs/dso-legend-item.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
- package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
- package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
- package/dist/cjs/dso-mark-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-modal.cjs.entry.js +1 -1
- package/dist/cjs/dso-pagination.cjs.entry.js +3 -3
- package/dist/cjs/dso-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/dso-project-item.cjs.entry.js +23 -0
- package/dist/cjs/dso-project-item.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-renvooi_2.cjs.entry.js +2 -2
- package/dist/cjs/dso-renvooi_2.cjs.entry.js.map +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-tab.cjs.entry.js +54 -0
- package/dist/cjs/dso-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-tabs.cjs.entry.js +80 -0
- package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
- package/dist/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
- package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
- package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/action-list/action-list.css +7 -5
- package/dist/collection/components/advanced-select/advanced-select.css +2 -0
- package/dist/collection/components/annotation/annotation.css +14 -2
- package/dist/collection/components/autosuggest/autosuggest.js +9 -3
- package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
- package/dist/collection/components/card/card.css +8 -0
- package/dist/collection/components/document-component/document-component.css +53 -27
- package/dist/collection/components/document-component/document-component.js +1 -1
- package/dist/collection/components/document-component/document-component.js.map +1 -1
- package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +28 -20
- package/dist/collection/components/image-overlay/image-overlay.css +48 -24
- package/dist/collection/components/info-button/info-button.css +4 -2
- package/dist/collection/components/label/label.css +2 -0
- package/dist/collection/components/legend-item/legend-item.css +7 -5
- package/dist/collection/components/list-button/list-button.css +29 -11
- package/dist/collection/components/map-controls/map-controls.css +35 -25
- package/dist/collection/components/mark-bar/mark-bar.css +3 -0
- package/dist/collection/components/modal/modal.css +16 -18
- package/dist/collection/components/ozon-content/ozon-content.css +86 -39
- package/dist/collection/components/pagination/pagination.css +24 -13
- package/dist/collection/components/pagination/pagination.js +2 -2
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/project-item/project-item.css +75 -0
- package/dist/collection/components/project-item/project-item.js +43 -0
- package/dist/collection/components/project-item/project-item.js.map +1 -0
- package/dist/collection/components/renvooi/renvooi.css +8 -2
- package/dist/collection/components/responsive-element/responsive-element.js +1 -1
- package/dist/collection/components/scrollable/scrollable.js +2 -2
- package/dist/collection/components/selectable/selectable.js +1 -1
- package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
- package/dist/collection/components/table/table.css +61 -43
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/components/tab.css +105 -0
- package/dist/collection/components/tabs/components/tab.js +158 -0
- package/dist/collection/components/tabs/components/tab.js.map +1 -0
- package/dist/collection/components/tabs/tabs.css +20 -0
- package/dist/collection/components/tabs/tabs.interfaces.js +2 -0
- package/dist/collection/components/tabs/tabs.interfaces.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +83 -0
- package/dist/collection/components/tabs/tabs.js.map +1 -0
- package/dist/collection/components/toggletip/toggletip.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 +69 -43
- package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
- package/dist/components/annotation-locatie.js +1 -1
- package/dist/components/annotation-locatie.js.map +1 -1
- package/dist/components/document-component.js +2 -2
- package/dist/components/document-component.js.map +1 -1
- package/dist/components/dso-action-list-item.js.map +1 -1
- package/dist/components/dso-action-list.js +1 -1
- package/dist/components/dso-action-list.js.map +1 -1
- package/dist/components/dso-advanced-select.js +1 -1
- package/dist/components/dso-advanced-select.js.map +1 -1
- package/dist/components/dso-annotation-activiteit.js +1 -1
- package/dist/components/dso-annotation-activiteit.js.map +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
- package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
- package/dist/components/dso-annotation-kaart.js +1 -1
- package/dist/components/dso-annotation-kaart.js.map +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
- package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
- package/dist/components/dso-autosuggest.js +9 -3
- package/dist/components/dso-autosuggest.js.map +1 -1
- package/dist/components/dso-card.js +1 -1
- package/dist/components/dso-card.js.map +1 -1
- package/dist/components/dso-helpcenter-panel.js +1 -1
- package/dist/components/dso-helpcenter-panel.js.map +1 -1
- package/dist/components/dso-legend-item.js +1 -1
- package/dist/components/dso-legend-item.js.map +1 -1
- package/dist/components/dso-list-button.js +1 -1
- package/dist/components/dso-list-button.js.map +1 -1
- package/dist/components/dso-map-controls.js +1 -1
- package/dist/components/dso-map-controls.js.map +1 -1
- package/dist/components/dso-mark-bar.js +1 -1
- package/dist/components/dso-mark-bar.js.map +1 -1
- package/dist/components/dso-modal.js +1 -1
- package/dist/components/dso-pagination.js +3 -3
- package/dist/components/dso-pagination.js.map +1 -1
- package/dist/components/dso-project-item.d.ts +11 -0
- package/dist/components/dso-project-item.js +57 -0
- package/dist/components/dso-project-item.js.map +1 -0
- package/dist/components/dso-tab.d.ts +11 -0
- package/dist/components/dso-tab.js +73 -0
- package/dist/components/dso-tab.js.map +1 -0
- package/dist/components/dso-tabs.d.ts +11 -0
- package/dist/components/dso-tabs.js +94 -0
- package/dist/components/dso-tabs.js.map +1 -0
- package/dist/components/dso-tree-view.js +1 -1
- package/dist/components/dso-viewer-grid.js +2 -2
- package/dist/components/dso-viewer-grid.js.map +1 -1
- package/dist/components/image-overlay.js +1 -1
- package/dist/components/image-overlay.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/info-button.js +1 -1
- package/dist/components/info-button.js.map +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/ozon-content.js +1 -1
- package/dist/components/ozon-content.js.map +1 -1
- package/dist/components/renvooi.js +1 -1
- package/dist/components/renvooi.js.map +1 -1
- package/dist/components/responsive-element.js +1 -1
- package/dist/components/scrollable.js +2 -2
- package/dist/components/selectable.js +1 -1
- package/dist/components/slide-toggle.js +1 -1
- package/dist/components/table.js +2 -2
- package/dist/components/table.js.map +1 -1
- package/dist/components/toggletip.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
- package/dist/dso-toolkit/{p-f7428e63.entry.js → p-0c228908.entry.js} +2 -2
- package/dist/dso-toolkit/p-18318bd5.entry.js +2 -0
- package/dist/dso-toolkit/{p-9ec63c53.entry.js.map → p-18318bd5.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-b69aca6c.entry.js → p-19dd99c6.entry.js} +2 -2
- package/dist/dso-toolkit/p-1a824699.entry.js +2 -0
- package/dist/dso-toolkit/{p-ea62fe33.entry.js.map → p-1a824699.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-2dc8e61f.entry.js +2 -0
- package/dist/dso-toolkit/{p-9367abb1.entry.js.map → p-2dc8e61f.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-2e413e3d.entry.js +2 -0
- package/dist/dso-toolkit/p-34c19fc1.entry.js +2 -0
- package/dist/dso-toolkit/p-34c19fc1.entry.js.map +1 -0
- package/dist/dso-toolkit/p-3735286c.entry.js +2 -0
- package/dist/dso-toolkit/p-3735286c.entry.js.map +1 -0
- package/dist/dso-toolkit/p-404ea2b9.entry.js +2 -0
- package/dist/dso-toolkit/{p-7acf6216.entry.js.map → p-404ea2b9.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-448d84e3.entry.js +2 -0
- package/dist/dso-toolkit/p-448d84e3.entry.js.map +1 -0
- package/dist/dso-toolkit/p-487469c5.entry.js +2 -0
- package/dist/dso-toolkit/p-487469c5.entry.js.map +1 -0
- package/dist/dso-toolkit/p-5180315a.entry.js +2 -0
- package/dist/dso-toolkit/{p-949f5bc0.entry.js.map → p-5180315a.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-6742d457.entry.js → p-5db11fa4.entry.js} +2 -2
- package/dist/dso-toolkit/p-5f2d8a1f.entry.js +2 -0
- package/dist/dso-toolkit/{p-a13ad7da.entry.js.map → p-5f2d8a1f.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-66689c5c.entry.js +2 -0
- package/dist/dso-toolkit/{p-dd680a61.entry.js.map → p-66689c5c.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-786f3a41.entry.js.map +1 -1
- package/dist/dso-toolkit/p-7d7630d0.entry.js +2 -0
- package/dist/dso-toolkit/p-7d7630d0.entry.js.map +1 -0
- package/dist/dso-toolkit/p-88aebd15.entry.js +2 -0
- package/dist/dso-toolkit/{p-8e902d74.entry.js.map → p-88aebd15.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-892b8003.entry.js +2 -0
- package/dist/dso-toolkit/{p-78daa04d.entry.js.map → p-892b8003.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-9772e3b6.entry.js +2 -0
- package/dist/dso-toolkit/{p-eaa9146c.entry.js.map → p-9772e3b6.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-9af9870b.entry.js +2 -0
- package/dist/dso-toolkit/p-9af9870b.entry.js.map +1 -0
- package/dist/dso-toolkit/p-a644f41c.entry.js +2 -0
- package/dist/dso-toolkit/p-a644f41c.entry.js.map +1 -0
- package/dist/dso-toolkit/p-a705c684.entry.js +2 -0
- package/dist/dso-toolkit/{p-d246e155.entry.js.map → p-a705c684.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-b7ca8de2.entry.js +2 -0
- package/dist/dso-toolkit/{p-38210481.entry.js.map → p-b7ca8de2.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-9630207a.entry.js → p-d42db4af.entry.js} +2 -2
- package/dist/dso-toolkit/p-d7358e77.entry.js +2 -0
- package/dist/dso-toolkit/{p-8ff36cfa.entry.js.map → p-d7358e77.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-e283ee51.entry.js +2 -0
- package/dist/dso-toolkit/{p-a40730f7.entry.js.map → p-e283ee51.entry.js.map} +1 -1
- package/dist/dso-toolkit/{p-ede5568b.entry.js → p-e4eed4a2.entry.js} +2 -2
- package/dist/dso-toolkit/p-eb79a374.entry.js +2 -0
- package/dist/dso-toolkit/{p-c0e4bcee.entry.js.map → p-eb79a374.entry.js.map} +1 -1
- package/dist/dso-toolkit/p-f1b0fe14.entry.js +2 -0
- package/dist/dso-toolkit/p-f1b0fe14.entry.js.map +1 -0
- package/dist/esm/dso-action-list-item.entry.js.map +1 -1
- package/dist/esm/dso-action-list.entry.js +1 -1
- package/dist/esm/dso-action-list.entry.js.map +1 -1
- package/dist/esm/dso-advanced-select.entry.js +1 -1
- package/dist/esm/dso-advanced-select.entry.js.map +1 -1
- package/dist/esm/dso-alert_6.entry.js +4 -4
- package/dist/esm/dso-alert_6.entry.js.map +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
- package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
- package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js +1 -1
- package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
- package/dist/esm/dso-annotation-locatie_2.entry.js +3 -3
- package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
- package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
- package/dist/esm/dso-autosuggest.entry.js +9 -3
- package/dist/esm/dso-autosuggest.entry.js.map +1 -1
- package/dist/esm/dso-card.entry.js +1 -1
- package/dist/esm/dso-card.entry.js.map +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js +1 -1
- package/dist/esm/dso-helpcenter-panel.entry.js.map +1 -1
- package/dist/esm/dso-info-button.entry.js +1 -1
- package/dist/esm/dso-info-button.entry.js.map +1 -1
- package/dist/esm/dso-info_2.entry.js +1 -1
- package/dist/esm/dso-label_2.entry.js +2 -2
- package/dist/esm/dso-label_2.entry.js.map +1 -1
- package/dist/esm/dso-legend-item.entry.js +1 -1
- package/dist/esm/dso-legend-item.entry.js.map +1 -1
- package/dist/esm/dso-list-button.entry.js +1 -1
- package/dist/esm/dso-list-button.entry.js.map +1 -1
- package/dist/esm/dso-map-controls.entry.js +1 -1
- package/dist/esm/dso-map-controls.entry.js.map +1 -1
- package/dist/esm/dso-mark-bar.entry.js +1 -1
- package/dist/esm/dso-mark-bar.entry.js.map +1 -1
- package/dist/esm/dso-modal.entry.js +1 -1
- package/dist/esm/dso-pagination.entry.js +3 -3
- package/dist/esm/dso-pagination.entry.js.map +1 -1
- package/dist/esm/dso-project-item.entry.js +19 -0
- package/dist/esm/dso-project-item.entry.js.map +1 -0
- package/dist/esm/dso-renvooi_2.entry.js +2 -2
- package/dist/esm/dso-renvooi_2.entry.js.map +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-tab.entry.js +50 -0
- package/dist/esm/dso-tab.entry.js.map +1 -0
- package/dist/esm/dso-tabs.entry.js +76 -0
- package/dist/esm/dso-tabs.entry.js.map +1 -0
- package/dist/esm/dso-toggletip.entry.js +1 -1
- package/dist/esm/dso-toolkit.js +1 -1
- package/dist/esm/dso-tree-view.entry.js +1 -1
- package/dist/esm/dso-viewer-grid.entry.js +2 -2
- package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/project-item/project-item.d.ts +8 -0
- package/dist/types/components/tabs/components/tab.d.ts +33 -0
- package/dist/types/components/tabs/tabs.d.ts +18 -0
- package/dist/types/components/tabs/tabs.interfaces.d.ts +4 -0
- package/dist/types/components.d.ts +93 -0
- package/package.json +3 -3
- package/dist/dso-toolkit/p-09b3cda7.entry.js +0 -2
- package/dist/dso-toolkit/p-09b3cda7.entry.js.map +0 -1
- package/dist/dso-toolkit/p-142b052b.entry.js +0 -2
- package/dist/dso-toolkit/p-142b052b.entry.js.map +0 -1
- package/dist/dso-toolkit/p-38210481.entry.js +0 -2
- package/dist/dso-toolkit/p-64f032ae.entry.js +0 -2
- package/dist/dso-toolkit/p-64f032ae.entry.js.map +0 -1
- package/dist/dso-toolkit/p-78daa04d.entry.js +0 -2
- package/dist/dso-toolkit/p-7acf6216.entry.js +0 -2
- package/dist/dso-toolkit/p-8e902d74.entry.js +0 -2
- package/dist/dso-toolkit/p-8ff36cfa.entry.js +0 -2
- package/dist/dso-toolkit/p-9367abb1.entry.js +0 -2
- package/dist/dso-toolkit/p-949f5bc0.entry.js +0 -2
- package/dist/dso-toolkit/p-99a8a8d0.entry.js +0 -2
- package/dist/dso-toolkit/p-9ec63c53.entry.js +0 -2
- package/dist/dso-toolkit/p-9f22940a.entry.js +0 -2
- package/dist/dso-toolkit/p-9f22940a.entry.js.map +0 -1
- package/dist/dso-toolkit/p-a13ad7da.entry.js +0 -2
- package/dist/dso-toolkit/p-a40730f7.entry.js +0 -2
- package/dist/dso-toolkit/p-c0e4bcee.entry.js +0 -2
- package/dist/dso-toolkit/p-d246e155.entry.js +0 -2
- package/dist/dso-toolkit/p-d6c90738.entry.js +0 -2
- package/dist/dso-toolkit/p-d6c90738.entry.js.map +0 -1
- package/dist/dso-toolkit/p-dd680a61.entry.js +0 -2
- package/dist/dso-toolkit/p-ea62fe33.entry.js +0 -2
- package/dist/dso-toolkit/p-eaa9146c.entry.js +0 -2
- /package/dist/dso-toolkit/{p-f7428e63.entry.js.map → p-0c228908.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-b69aca6c.entry.js.map → p-19dd99c6.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-99a8a8d0.entry.js.map → p-2e413e3d.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-6742d457.entry.js.map → p-5db11fa4.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-9630207a.entry.js.map → p-d42db4af.entry.js.map} +0 -0
- /package/dist/dso-toolkit/{p-ede5568b.entry.js.map → p-e4eed4a2.entry.js.map} +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
ins {
|
|
2
2
|
text-decoration: none;
|
|
3
|
+
}
|
|
4
|
+
ins {
|
|
3
5
|
--link-color: currentColor;
|
|
4
6
|
--link-hover-color: currentColor;
|
|
5
7
|
--link-visited-color: currentColor;
|
|
6
8
|
background-color: #e4f1d4;
|
|
7
9
|
border-color: #e4f1d4;
|
|
8
10
|
color: #191919;
|
|
9
|
-
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.25);
|
|
10
11
|
}
|
|
11
12
|
ins a:is(.download, .download:hover, .download:focus-visible) {
|
|
12
13
|
background-image: url("./dso-icons.svg#img-download-zwart");
|
|
@@ -20,6 +21,9 @@ ins a:is([href^="tel:"], [href^="tel:"]:hover, [href^="tel:"]:focus-visible) {
|
|
|
20
21
|
ins a:is([href^="mailto:"], [href^="mailto:"]:hover, [href^="mailto:"]:focus-visible) {
|
|
21
22
|
background-image: url("./dso-icons.svg#img-email-zwart");
|
|
22
23
|
}
|
|
24
|
+
ins {
|
|
25
|
+
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.25);
|
|
26
|
+
}
|
|
23
27
|
|
|
24
28
|
del {
|
|
25
29
|
--link-color: currentColor;
|
|
@@ -28,7 +32,6 @@ del {
|
|
|
28
32
|
background-color: #f5d8dc;
|
|
29
33
|
border-color: #f5d8dc;
|
|
30
34
|
color: #191919;
|
|
31
|
-
text-decoration: line-through;
|
|
32
35
|
}
|
|
33
36
|
del a:is(.download, .download:hover, .download:focus-visible) {
|
|
34
37
|
background-image: url("./dso-icons.svg#img-download-zwart");
|
|
@@ -42,6 +45,9 @@ del a:is([href^="tel:"], [href^="tel:"]:hover, [href^="tel:"]:focus-visible) {
|
|
|
42
45
|
del a:is([href^="mailto:"], [href^="mailto:"]:hover, [href^="mailto:"]:focus-visible) {
|
|
43
46
|
background-image: url("./dso-icons.svg#img-email-zwart");
|
|
44
47
|
}
|
|
48
|
+
del {
|
|
49
|
+
text-decoration: line-through;
|
|
50
|
+
}
|
|
45
51
|
|
|
46
52
|
:host {
|
|
47
53
|
display: inline;
|
|
@@ -40,7 +40,7 @@ export class ResponsiveElement {
|
|
|
40
40
|
this.observer.unobserve(this.host);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'da7d53fadbf366d94af9b81a7fbe82d5b841fae6', small: this.sizeAlias === "small", medium: this.sizeAlias === "medium", large: this.sizeAlias === "large" }, h("slot", { key: '7f5760e962121bb49d6df0bbec7480f8cdca2e0b' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "dso-responsive-element"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,9 +81,9 @@ export class Scrollable {
|
|
|
81
81
|
this.slottedElements.forEach((element) => resizeObserver.unobserve(element));
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h("div", { key: '
|
|
84
|
+
return (h("div", { key: 'b786c2765a723299a16956239d0a3f2814bdb365', ref: (el) => (this.shadowContainerDiv = el), class: "dso-shadow-container" }, h("div", { key: '32629e90bd713faf99192825f4d5f6b730949724', ref: (el) => (this.scrollContainerDiv = el), class: clsx("dso-scroll-container", {
|
|
85
85
|
[`dso-scroll-${this.scrollPosition}`]: this.scrollPosition !== "noScroll",
|
|
86
|
-
}), onScroll: () => this._setScrollState() }, h("slot", { key: '
|
|
86
|
+
}), onScroll: () => this._setScrollState() }, h("slot", { key: '3d02e6603fb849f9535529ae5143452e0ee0484e' }))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "dso-scrollable"; }
|
|
89
89
|
static get encapsulation() { return "shadow"; }
|
|
@@ -63,7 +63,7 @@ export class Selectable {
|
|
|
63
63
|
render() {
|
|
64
64
|
var _a;
|
|
65
65
|
const hasInfo = !!this.host.querySelector('[slot="info"]');
|
|
66
|
-
return (h(Fragment, { key: '
|
|
66
|
+
return (h(Fragment, { key: '7bc5f9b9e029af047da32ea329ec28ef5a1b9a6e' }, h("div", { key: 'e1d8151cfc4a179c574cdd22f5b8a522433f9896', class: "dso-selectable-container" }, h("div", { key: 'b7089b2e8b02bacaf0485351726d019b2d3faaf3', class: clsx("dso-selectable-input-wrapper", { "dso-keyboard-focus": this.keyboardFocus }) }, h("input", { key: 'bbf2571b7578706abf523f5fc0d66435159b5ab5', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": (_a = this.invalid) === null || _a === void 0 ? void 0 : _a.toString(), "aria-describedby": hasInfo && this.infoFixed ? this.describedById : undefined, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, onBlur: () => (this.keyboardFocus = false), onKeyUp: () => (this.keyboardFocus = true), ref: (el) => (this.input = el) }), !this.labelledById ? (h("label", { htmlFor: this.getIdentifier() }, h("slot", null))) : (h("label", null, h("slot", null)))), hasInfo && !this.infoFixed && (h("dso-info-button", { key: 'c03e4642630e5a7dfd902af7389eb8eefedef6f7', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (h("dso-info", { key: 'bd49a93be3a86178bb3b3ea6df7744baeb746d3d', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, h("div", { key: 'a34fe7983e523fcb8b07d90bcd3b48a4359abb31' }, h("slot", { key: 'd733610afc9465da63844b0c8430ddde7227fae5', name: "info" })))), h("slot", { key: '7af6229ca414ff808ea348d396f51f6674ba30e1', name: "options" })));
|
|
67
67
|
}
|
|
68
68
|
componentDidRender() {
|
|
69
69
|
if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
|
|
@@ -19,7 +19,7 @@ export class SlideToggle {
|
|
|
19
19
|
this.hasVisibleLabel = this.host.querySelector("*") !== null;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Fragment, null, h("button", Object.assign({ key: '
|
|
22
|
+
return (h(Fragment, null, h("button", Object.assign({ key: '2a589d57cb3a34fbc7d545ba463eb5dfdc7c8e3b', id: this.identifier, role: "switch", class: "dso-slider", "aria-checked": "" + this.checked, disabled: this.disabled, onClick: (e) => this.handleSwitch(e) }, (this.accessibleLabel ? { "aria-label": this.accessibleLabel } : {}), (this.labelledbyId ? { "aria-labelledby": this.labelledbyId } : {})), h("svg", { key: 'daeae3ad7945cca85dbcfcd0393088c2247d3063', xmlns: "http://www.w3.org/2000/svg", width: "40", height: "20", viewBox: "0 0 40 20" }, h("g", { key: '1dc77f9db7e0c8e8a4118a12dd7e153092fd7c3d', fill: "none", "fill-rule": "evenodd" }, h("rect", { key: '44f1f0491a5e32eea07435b4bb5d2ac5e10e5dc1', width: "40", height: "20", fill: "currentColor", rx: "10" }), h("circle", { key: '4a5c4a0f67804163ae09155e1fa1bad50d7b6202', cy: "10", r: "8", fill: "currentColor" })))), this.hasVisibleLabel && (h("label", { key: '4a68fb9b36dc403cfb3f48614b603a218453454f', htmlFor: this.identifier }, h("slot", { key: 'b41750cfec394016cfd4b9dd75b5ffa8c8dad754' })))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "dso-slide-toggle"; }
|
|
25
25
|
static get originalStyleUrls() {
|
|
@@ -30,16 +30,6 @@ label.dso-primary {
|
|
|
30
30
|
text-align: start;
|
|
31
31
|
user-select: none;
|
|
32
32
|
vertical-align: middle;
|
|
33
|
-
background-color: #39870c;
|
|
34
|
-
border-color: #39870c;
|
|
35
|
-
color: #fff;
|
|
36
|
-
border-width: 1px;
|
|
37
|
-
border-style: solid;
|
|
38
|
-
border-radius: 4px;
|
|
39
|
-
line-height: 1.5;
|
|
40
|
-
min-inline-size: 56px;
|
|
41
|
-
padding-block: 11px;
|
|
42
|
-
padding-inline: 15px;
|
|
43
33
|
}
|
|
44
34
|
a.dso-primary:focus, a.dso-primary:focus-visible,
|
|
45
35
|
button.dso-primary:focus,
|
|
@@ -62,6 +52,24 @@ label.dso-primary.download::after {
|
|
|
62
52
|
display: inline-block;
|
|
63
53
|
margin-inline-start: 8px;
|
|
64
54
|
}
|
|
55
|
+
a.dso-primary,
|
|
56
|
+
button.dso-primary,
|
|
57
|
+
label.dso-primary {
|
|
58
|
+
background-color: #39870c;
|
|
59
|
+
border-color: #39870c;
|
|
60
|
+
color: #fff;
|
|
61
|
+
}
|
|
62
|
+
a.dso-primary,
|
|
63
|
+
button.dso-primary,
|
|
64
|
+
label.dso-primary {
|
|
65
|
+
border-width: 1px;
|
|
66
|
+
border-style: solid;
|
|
67
|
+
border-radius: 4px;
|
|
68
|
+
line-height: 1.5;
|
|
69
|
+
min-inline-size: 56px;
|
|
70
|
+
padding-block: 11px;
|
|
71
|
+
padding-inline: 15px;
|
|
72
|
+
}
|
|
65
73
|
a.dso-primary:hover,
|
|
66
74
|
button.dso-primary:hover,
|
|
67
75
|
label.dso-primary:hover {
|
|
@@ -200,16 +208,6 @@ label.dso-secondary {
|
|
|
200
208
|
text-align: start;
|
|
201
209
|
user-select: none;
|
|
202
210
|
vertical-align: middle;
|
|
203
|
-
background-color: #fff;
|
|
204
|
-
border-color: #39870c;
|
|
205
|
-
color: #39870c;
|
|
206
|
-
border-width: 1px;
|
|
207
|
-
border-style: solid;
|
|
208
|
-
border-radius: 4px;
|
|
209
|
-
line-height: 1.5;
|
|
210
|
-
min-inline-size: 56px;
|
|
211
|
-
padding-block: 11px;
|
|
212
|
-
padding-inline: 15px;
|
|
213
211
|
}
|
|
214
212
|
a.dso-secondary:focus, a.dso-secondary:focus-visible,
|
|
215
213
|
button.dso-secondary:focus,
|
|
@@ -232,6 +230,24 @@ label.dso-secondary.download::after {
|
|
|
232
230
|
display: inline-block;
|
|
233
231
|
margin-inline-start: 8px;
|
|
234
232
|
}
|
|
233
|
+
a.dso-secondary,
|
|
234
|
+
button.dso-secondary,
|
|
235
|
+
label.dso-secondary {
|
|
236
|
+
background-color: #fff;
|
|
237
|
+
border-color: #39870c;
|
|
238
|
+
color: #39870c;
|
|
239
|
+
}
|
|
240
|
+
a.dso-secondary,
|
|
241
|
+
button.dso-secondary,
|
|
242
|
+
label.dso-secondary {
|
|
243
|
+
border-width: 1px;
|
|
244
|
+
border-style: solid;
|
|
245
|
+
border-radius: 4px;
|
|
246
|
+
line-height: 1.5;
|
|
247
|
+
min-inline-size: 56px;
|
|
248
|
+
padding-block: 11px;
|
|
249
|
+
padding-inline: 15px;
|
|
250
|
+
}
|
|
235
251
|
a.dso-secondary:hover,
|
|
236
252
|
button.dso-secondary:hover,
|
|
237
253
|
label.dso-secondary:hover {
|
|
@@ -426,11 +442,6 @@ label.dso-tertiary {
|
|
|
426
442
|
text-align: start;
|
|
427
443
|
user-select: none;
|
|
428
444
|
vertical-align: middle;
|
|
429
|
-
border: 0;
|
|
430
|
-
color: #39870c;
|
|
431
|
-
line-height: 1;
|
|
432
|
-
padding: 0;
|
|
433
|
-
background-color: transparent;
|
|
434
445
|
}
|
|
435
446
|
a.dso-tertiary:focus, a.dso-tertiary:focus-visible,
|
|
436
447
|
button.dso-tertiary:focus,
|
|
@@ -453,6 +464,15 @@ label.dso-tertiary.download::after {
|
|
|
453
464
|
display: inline-block;
|
|
454
465
|
margin-inline-start: 8px;
|
|
455
466
|
}
|
|
467
|
+
a.dso-tertiary,
|
|
468
|
+
button.dso-tertiary,
|
|
469
|
+
label.dso-tertiary {
|
|
470
|
+
border: 0;
|
|
471
|
+
color: #39870c;
|
|
472
|
+
line-height: 1;
|
|
473
|
+
padding: 0;
|
|
474
|
+
background-color: transparent;
|
|
475
|
+
}
|
|
456
476
|
a.dso-tertiary[disabled],
|
|
457
477
|
button.dso-tertiary[disabled],
|
|
458
478
|
label.dso-tertiary[disabled] {
|
|
@@ -734,14 +754,6 @@ a.dso-tertiary, a.dso-tertiary:visited {
|
|
|
734
754
|
border: 0;
|
|
735
755
|
text-align: center;
|
|
736
756
|
}
|
|
737
|
-
:host .dso-modal > .dso-dialog > .dso-body {
|
|
738
|
-
/* stylelint-disable-next-line scss/operator-no-newline-after -- disabled because of prettier newline */
|
|
739
|
-
block-size: calc(100% - 96px - 1.5rem);
|
|
740
|
-
max-block-size: calc(70vh - 144px - 1.5em);
|
|
741
|
-
min-block-size: 1.5rem;
|
|
742
|
-
overflow-x: auto;
|
|
743
|
-
padding: 32px;
|
|
744
|
-
}
|
|
745
757
|
:host .dso-modal > .dso-dialog > .dso-body p {
|
|
746
758
|
margin-block: 0 16px;
|
|
747
759
|
margin-inline: 0;
|
|
@@ -776,15 +788,18 @@ a.dso-tertiary, a.dso-tertiary:visited {
|
|
|
776
788
|
block-size: auto;
|
|
777
789
|
max-inline-size: 100%;
|
|
778
790
|
}
|
|
791
|
+
:host .dso-modal > .dso-dialog > .dso-body {
|
|
792
|
+
block-size: calc(100% - 96px - 1.5rem);
|
|
793
|
+
max-block-size: calc(70vh - 144px - 1.5em);
|
|
794
|
+
min-block-size: 1.5rem;
|
|
795
|
+
overflow-x: auto;
|
|
796
|
+
padding: 32px;
|
|
797
|
+
}
|
|
779
798
|
:host .dso-modal > .dso-dialog > dso-scrollable {
|
|
780
|
-
/* stylelint-disable-next-line scss/operator-no-newline-after -- disabled because of prettier newline */
|
|
781
799
|
block-size: calc(100% - 96px - 1.5rem);
|
|
782
800
|
max-block-size: calc(70vh - 144px - 1.5em);
|
|
783
801
|
min-block-size: 6.5rem;
|
|
784
802
|
}
|
|
785
|
-
:host .dso-modal > .dso-dialog > dso-scrollable .dso-body {
|
|
786
|
-
padding: 32px;
|
|
787
|
-
}
|
|
788
803
|
:host .dso-modal > .dso-dialog > dso-scrollable .dso-body p {
|
|
789
804
|
margin-block: 0 16px;
|
|
790
805
|
margin-inline: 0;
|
|
@@ -819,15 +834,12 @@ a.dso-tertiary, a.dso-tertiary:visited {
|
|
|
819
834
|
block-size: auto;
|
|
820
835
|
max-inline-size: 100%;
|
|
821
836
|
}
|
|
837
|
+
:host .dso-modal > .dso-dialog > dso-scrollable .dso-body {
|
|
838
|
+
padding: 32px;
|
|
839
|
+
}
|
|
822
840
|
:host .dso-modal .dso-body:focus-visible {
|
|
823
841
|
outline: none;
|
|
824
842
|
}
|
|
825
|
-
:host .dso-modal .dso-footer {
|
|
826
|
-
min-block-size: 80px;
|
|
827
|
-
padding-block: 16px;
|
|
828
|
-
padding-inline: 32px;
|
|
829
|
-
text-align: end;
|
|
830
|
-
}
|
|
831
843
|
@media screen and (max-width: 767px) {
|
|
832
844
|
:host .dso-modal .dso-footer .dso-primary + .dso-primary, :host .dso-modal .dso-footer .dso-primary + .dso-secondary, :host .dso-modal .dso-footer .dso-primary + .dso-tertiary, :host .dso-modal .dso-footer .dso-secondary + .dso-primary, :host .dso-modal .dso-footer .dso-secondary + .dso-secondary, :host .dso-modal .dso-footer .dso-secondary + .dso-tertiary, :host .dso-modal .dso-footer .dso-tertiary + .dso-primary, :host .dso-modal .dso-footer .dso-tertiary + .dso-secondary, :host .dso-modal .dso-footer .dso-tertiary + .dso-tertiary {
|
|
833
845
|
margin-inline-start: 0;
|
|
@@ -844,6 +856,12 @@ a.dso-tertiary, a.dso-tertiary:visited {
|
|
|
844
856
|
float: none;
|
|
845
857
|
}
|
|
846
858
|
}
|
|
859
|
+
:host .dso-modal .dso-footer {
|
|
860
|
+
min-block-size: 80px;
|
|
861
|
+
padding-block: 16px;
|
|
862
|
+
padding-inline: 32px;
|
|
863
|
+
text-align: end;
|
|
864
|
+
}
|
|
847
865
|
@media screen and (min-width: 768px) {
|
|
848
866
|
:host .dso-modal .dso-footer .dso-primary + .dso-secondary, :host .dso-modal .dso-footer .dso-secondary + .dso-secondary, :host .dso-modal .dso-footer .dso-tertiary + .dso-secondary {
|
|
849
867
|
margin-inline-start: 16px;
|
|
@@ -30,7 +30,7 @@ export class Table {
|
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b;
|
|
32
32
|
const caption = (_b = (_a = this.host.querySelector(":scope > table > caption")) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim();
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '72635aa7a0e69c5aaba5d8818d4cf62722f4d730' }, this.modalActive && this.placeholderHeight && (h("div", { key: '661735ad5d092ce7abfebca3d9ecab571cbb667c', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive && h("div", { key: '00fb6d4496cabe0e0614630440d741e6b277b734', class: "dso-modal-overlay" }), h("div", { key: 'efcf1cf01e0d826bfd1ca59ed1b64518b9a3d2cf', class: { "dso-modal": this.modalActive } }, h("div", Object.assign({ key: '485a98cdddd01b8975f0967b4efc3b71f7b94979', class: { "dso-dialog": this.modalActive, "dso-table-dialog": true }, ref: (element) => (this.focusTrapElement = element) }, (this.modalActive ? { ["aria-labelledby"]: this.labelledbyId, role: "dialog" } : {})), (this.isResponsive || !this.noModal) && (h("div", { key: '0d0db83cdae29e609aca0047473ba3b209522cf6', class: "dso-table-utilities", style: this.modalActive ? { display: "none" } : undefined }, this.isResponsive && (h("div", { key: '5392a5016adf8dffc44b513142d5a1aebc2cb51b', class: "dso-responsive-message" }, h("span", { key: '00d8a2c83a3e75700f454f446bcf1aed3d3f5024' }, "beweeg de tabel van links naar rechts"))), !this.noModal && (h("button", { key: '6b7eaf6b69966dfd468ca9eaad10c7c3b8a95d1c', type: "button", class: "dso-tertiary open-modal-button", ref: (element) => (this.buttonElement = element), onClick: () => this.openModal() }, h("span", { key: '5d6bb7e0b1bc9f409529ddd1f2db88e0528a0951', class: "sr-only" }, "tabel ", caption !== null && caption !== void 0 ? caption : "", " "), h("span", { key: 'f316e9cf2d53ce38daf9c444c876e5c7cf01fdcc' }, "vergroten"), h("dso-icon", { key: '347b3aeb40a7dc074f95c70a90c42e329239f348', icon: "external-link" }))))), this.modalActive && (h("div", { key: 'd26f367ffa7b39e840c1fd071e7262d6dfa606ef', class: "dso-header" }, h("h2", { key: '965cdd0b891b2ae8d5888e920b9e8d3e5da24c7a', id: this.labelledbyId, class: { "sr-only": !caption } }, caption || "Uitvergrote tabel dialoog"), h("button", { key: '0952fbb314ec2457d9508f285dad1e323ab15c39', type: "button", class: "dso-close", onClick: () => this.closeModal() }, h("dso-icon", { key: 'd8d5ec0de5eedd1f17a2ba6ac7765a59e90f831c', icon: "times" }), h("span", { key: '02d4fd9da8af57960e68a32f82fa30f475d1e87f', class: "sr-only" }, "Sluiten")))), h("div", { key: 'cae5e1e2daa69351b1f4f157382fa2102fa24657', class: { "dso-body": this.modalActive, "dso-table-body": true } }, h("slot", { key: '3bb8855a6ea597457abdf28d146c9dc61c8bab6f' }))))));
|
|
34
34
|
}
|
|
35
35
|
openModal() {
|
|
36
36
|
this.placeholderHeight = this.host.clientHeight;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host {
|
|
8
|
+
display: block;
|
|
9
|
+
border-color: #39870c;
|
|
10
|
+
margin-block-end: -1px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@media screen and (max-width: 767px) {
|
|
14
|
+
:host {
|
|
15
|
+
margin-block: 10px;
|
|
16
|
+
}
|
|
17
|
+
:host(:first-child) {
|
|
18
|
+
margin-block-start: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
:host([active]:not([active=false])) [role=tab], :host([active]:not([active=false])) [role=tab]:active, :host([active]:not([active=false])) [role=tab]:focus, :host([active]:not([active=false])) [role=tab]:hover, :host([active]:not([active=false])) [role=tab]:visited {
|
|
22
|
+
background-color: #fff;
|
|
23
|
+
border: 1px solid #39870c;
|
|
24
|
+
border-block-end-color: #fff;
|
|
25
|
+
color: #39870c;
|
|
26
|
+
cursor: default;
|
|
27
|
+
}
|
|
28
|
+
@media screen and (max-width: 767px) {
|
|
29
|
+
:host([active]:not([active=false])) [role=tab], :host([active]:not([active=false])) [role=tab]:active, :host([active]:not([active=false])) [role=tab]:focus, :host([active]:not([active=false])) [role=tab]:hover, :host([active]:not([active=false])) [role=tab]:visited {
|
|
30
|
+
border-block-end-color: #39870c;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host([disabled]:not([disabled=false])) [role=tab] {
|
|
35
|
+
color: #999;
|
|
36
|
+
}
|
|
37
|
+
:host([disabled]:not([disabled=false])) [role=tab]:hover, :host([disabled]:not([disabled=false])) [role=tab]:focus {
|
|
38
|
+
color: #999;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
cursor: default;
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
}
|
|
43
|
+
@media screen and (max-width: 767px) {
|
|
44
|
+
:host([disabled]:not([disabled=false])) [role=tab]:hover, :host([disabled]:not([disabled=false])) [role=tab]:focus {
|
|
45
|
+
border-block-end-color: #fff;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
a {
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
}
|
|
52
|
+
a:hover, a:focus-visible {
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
}
|
|
55
|
+
a:active {
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
}
|
|
58
|
+
a:visited {
|
|
59
|
+
color: #666;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
button {
|
|
63
|
+
font-family: inherit;
|
|
64
|
+
font-size: inherit;
|
|
65
|
+
background-color: transparent;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[role=tab] {
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
display: block;
|
|
72
|
+
min-block-size: 56px;
|
|
73
|
+
border: 1px solid transparent;
|
|
74
|
+
border-radius: 4px 4px 0 0;
|
|
75
|
+
color: #666;
|
|
76
|
+
line-height: 1.5;
|
|
77
|
+
padding-block: 15px;
|
|
78
|
+
padding-inline: 23px;
|
|
79
|
+
}
|
|
80
|
+
[role=tab]:hover {
|
|
81
|
+
border-color: #e5e5e5 #e5e5e5 #e5e5e5;
|
|
82
|
+
}
|
|
83
|
+
[role=tab]:hover, [role=tab]:focus {
|
|
84
|
+
text-decoration: none;
|
|
85
|
+
background-color: #e5e5e5;
|
|
86
|
+
}
|
|
87
|
+
[role=tab]:active, [role=tab]:focus, [role=tab]:hover {
|
|
88
|
+
background-color: #f2f2f2;
|
|
89
|
+
border: 1px solid transparent;
|
|
90
|
+
border-block-end-color: #39870c;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
}
|
|
93
|
+
@media screen and (max-width: 767px) {
|
|
94
|
+
[role=tab]:active, [role=tab]:focus, [role=tab]:hover {
|
|
95
|
+
border-block-end-color: #fff;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
@media screen and (max-width: 767px) {
|
|
99
|
+
[role=tab] {
|
|
100
|
+
border-color: #fff;
|
|
101
|
+
border-radius: 8px;
|
|
102
|
+
padding-block: 18px;
|
|
103
|
+
padding-inline: 20px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { isModifiedEvent } from "../../../utils/is-modified-event";
|
|
3
|
+
/**
|
|
4
|
+
* @slot - The label for this tab
|
|
5
|
+
*/
|
|
6
|
+
export class Tab {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.emitEvent = (e) => {
|
|
9
|
+
this.dsoTabSwitch.emit({
|
|
10
|
+
originalEvent: e,
|
|
11
|
+
isModifiedEvent: e instanceof MouseEvent ? isModifiedEvent(e) : false,
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
this.keyUpHandler = (e) => {
|
|
15
|
+
if (e.key === " " && !this.disabled && !this.active) {
|
|
16
|
+
this.emitEvent(e);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
this.clickHandler = (e) => {
|
|
20
|
+
if ((this.disabled && this.href) || this.active) {
|
|
21
|
+
e.preventDefault();
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
this.emitEvent(e);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
this.active = undefined;
|
|
28
|
+
this.disabled = undefined;
|
|
29
|
+
this.href = undefined;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
async _dsoFocus() {
|
|
35
|
+
var _a;
|
|
36
|
+
(_a = this.anchorOrButtonRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return this.href ? (h("a", Object.assign({ role: "tab", href: this.href, onKeyUp: this.keyUpHandler, onClick: this.clickHandler, "aria-selected": this.active ? "true" : "false" }, (!this.active ? { tabIndex: -1 } : {}), { ref: (element) => (this.anchorOrButtonRef = element) }), h("slot", null))) : (h("button", Object.assign({ role: "tab", type: "button", disabled: this.disabled, onClick: this.clickHandler, "aria-selected": this.active ? "true" : "false" }, (!this.active ? { tabIndex: -1 } : {}), { ref: (element) => (this.anchorOrButtonRef = element) }), h("slot", null)));
|
|
40
|
+
}
|
|
41
|
+
static get is() { return "dso-tab"; }
|
|
42
|
+
static get encapsulation() { return "shadow"; }
|
|
43
|
+
static get originalStyleUrls() {
|
|
44
|
+
return {
|
|
45
|
+
"$": ["tab.scss"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static get styleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["tab.css"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get properties() {
|
|
54
|
+
return {
|
|
55
|
+
"active": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "boolean",
|
|
60
|
+
"resolved": "boolean | undefined",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": false,
|
|
64
|
+
"optional": true,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": "Makes the tab active. The tab for which the tabpanel is visible is the active tab."
|
|
68
|
+
},
|
|
69
|
+
"attribute": "active",
|
|
70
|
+
"reflect": true
|
|
71
|
+
},
|
|
72
|
+
"disabled": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "boolean",
|
|
77
|
+
"resolved": "boolean | undefined",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": true,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Disables the tab. A disabled tab cannot be activated and it's tabpanel cannot be shown."
|
|
85
|
+
},
|
|
86
|
+
"attribute": "disabled",
|
|
87
|
+
"reflect": true
|
|
88
|
+
},
|
|
89
|
+
"href": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "string",
|
|
94
|
+
"resolved": "string | undefined",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": true,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": "The optional href of the tab. Creates an anchor if present. Creates a button if absent."
|
|
102
|
+
},
|
|
103
|
+
"attribute": "href",
|
|
104
|
+
"reflect": false
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static get events() {
|
|
109
|
+
return [{
|
|
110
|
+
"method": "dsoTabSwitch",
|
|
111
|
+
"name": "dsoTabSwitch",
|
|
112
|
+
"bubbles": true,
|
|
113
|
+
"cancelable": true,
|
|
114
|
+
"composed": true,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": "Emitted when the user activates tab via click or arrow keys followed by space or enter."
|
|
118
|
+
},
|
|
119
|
+
"complexType": {
|
|
120
|
+
"original": "TabsSwitchEvent",
|
|
121
|
+
"resolved": "TabsSwitchEvent",
|
|
122
|
+
"references": {
|
|
123
|
+
"TabsSwitchEvent": {
|
|
124
|
+
"location": "import",
|
|
125
|
+
"path": "../tabs.interfaces",
|
|
126
|
+
"id": "src/components/tabs/tabs.interfaces.ts::TabsSwitchEvent"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}];
|
|
131
|
+
}
|
|
132
|
+
static get methods() {
|
|
133
|
+
return {
|
|
134
|
+
"_dsoFocus": {
|
|
135
|
+
"complexType": {
|
|
136
|
+
"signature": "() => Promise<void>",
|
|
137
|
+
"parameters": [],
|
|
138
|
+
"references": {
|
|
139
|
+
"Promise": {
|
|
140
|
+
"location": "global",
|
|
141
|
+
"id": "global::Promise"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"return": "Promise<void>"
|
|
145
|
+
},
|
|
146
|
+
"docs": {
|
|
147
|
+
"text": "",
|
|
148
|
+
"tags": [{
|
|
149
|
+
"name": "internal",
|
|
150
|
+
"text": undefined
|
|
151
|
+
}]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
static get elementRef() { return "host"; }
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=tab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.js","sourceRoot":"","sources":["../../../../../src/components/tabs/components/tab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAGnE;;GAEG;AAMH,MAAM,OAAO,GAAG;;QAsCN,cAAS,GAAG,CAAC,CAA6B,EAAE,EAAE;YACpD,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;gBACrB,aAAa,EAAE,CAAC;gBAChB,eAAe,EAAE,CAAC,YAAY,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK;aACtE,CAAC,CAAC;QACL,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,CAAgB,EAAE,EAAE;YAC1C,IAAI,CAAC,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACpD,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,CAAC;QACH,CAAC,CAAC;QAEM,iBAAY,GAAG,CAAC,CAAa,EAAE,EAAE;YACvC,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;gBAChD,CAAC,CAAC,cAAc,EAAE,CAAC;YACrB,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,CAAC;QACH,CAAC,CAAC;;;;;IA7BF;;OAEG;IAEH,KAAK,CAAC,SAAS;;QACb,MAAA,IAAI,CAAC,iBAAiB,0CAAE,KAAK,EAAE,CAAC;IAClC,CAAC;IAyBD,MAAM;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACjB,uBACE,IAAI,EAAC,KAAK,EACV,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,IAAI,CAAC,YAAY,EAC1B,OAAO,EAAE,IAAI,CAAC,YAAY,mBACX,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,IACzC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAC1C,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC;YAEpD,eAAQ,CACN,CACL,CAAC,CAAC,CAAC,CACF,4BACE,IAAI,EAAC,KAAK,EACV,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,YAAY,mBACX,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,IACzC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,IAC1C,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC;YAEpD,eAAQ,CACD,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Prop, h, Method } from \"@stencil/core\";\r\nimport { isModifiedEvent } from \"../../../utils/is-modified-event\";\r\nimport { TabsSwitchEvent } from \"../tabs.interfaces\";\r\n\r\n/**\r\n * @slot - The label for this tab\r\n */\r\n@Component({\r\n tag: \"dso-tab\",\r\n styleUrl: \"tab.scss\",\r\n shadow: true,\r\n})\r\nexport class Tab {\r\n @Element()\r\n host!: HTMLDsoTabElement;\r\n\r\n /**\r\n * Makes the tab active. The tab for which the tabpanel is visible is the active tab.\r\n */\r\n @Prop({ reflect: true })\r\n active?: boolean;\r\n\r\n /**\r\n * Disables the tab. A disabled tab cannot be activated and it's tabpanel cannot be shown.\r\n */\r\n @Prop({ reflect: true })\r\n disabled?: boolean;\r\n\r\n /**\r\n * The optional href of the tab. Creates an anchor if present. Creates a button if absent.\r\n */\r\n @Prop()\r\n href?: string;\r\n\r\n /**\r\n * Emitted when the user activates tab via click or arrow keys followed by space or enter.\r\n */\r\n @Event()\r\n dsoTabSwitch!: EventEmitter<TabsSwitchEvent>;\r\n\r\n /**\r\n * @internal\r\n */\r\n @Method()\r\n async _dsoFocus() {\r\n this.anchorOrButtonRef?.focus();\r\n }\r\n\r\n private anchorOrButtonRef?: HTMLAnchorElement | HTMLButtonElement;\r\n\r\n private emitEvent = (e: MouseEvent | KeyboardEvent) => {\r\n this.dsoTabSwitch.emit({\r\n originalEvent: e,\r\n isModifiedEvent: e instanceof MouseEvent ? isModifiedEvent(e) : false,\r\n });\r\n };\r\n\r\n private keyUpHandler = (e: KeyboardEvent) => {\r\n if (e.key === \" \" && !this.disabled && !this.active) {\r\n this.emitEvent(e);\r\n }\r\n };\r\n\r\n private clickHandler = (e: MouseEvent) => {\r\n if ((this.disabled && this.href) || this.active) {\r\n e.preventDefault();\r\n } else {\r\n this.emitEvent(e);\r\n }\r\n };\r\n\r\n render() {\r\n return this.href ? (\r\n <a\r\n role=\"tab\"\r\n href={this.href}\r\n onKeyUp={this.keyUpHandler}\r\n onClick={this.clickHandler}\r\n aria-selected={this.active ? \"true\" : \"false\"}\r\n {...(!this.active ? { tabIndex: -1 } : {})}\r\n ref={(element) => (this.anchorOrButtonRef = element)}\r\n >\r\n <slot />\r\n </a>\r\n ) : (\r\n <button\r\n role=\"tab\"\r\n type=\"button\"\r\n disabled={this.disabled}\r\n onClick={this.clickHandler}\r\n aria-selected={this.active ? \"true\" : \"false\"}\r\n {...(!this.active ? { tabIndex: -1 } : {})}\r\n ref={(element) => (this.anchorOrButtonRef = element)}\r\n >\r\n <slot />\r\n </button>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tabs {
|
|
8
|
+
border-block-end: 1px solid #39870c;
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 2px;
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
margin-block-end: 24px;
|
|
13
|
+
padding-inline-start: 0;
|
|
14
|
+
}
|
|
15
|
+
@media screen and (max-width: 767px) {
|
|
16
|
+
.tabs {
|
|
17
|
+
border: 0;
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.interfaces.js","sourceRoot":"","sources":["../../../../src/components/tabs/tabs.interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface TabsSwitchEvent {\r\n originalEvent: MouseEvent | KeyboardEvent;\r\n isModifiedEvent: boolean;\r\n}\r\n"]}
|