dso-toolkit 36.2.0 → 38.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/components/Componenten/badge/badge.config.js +6 -0
- package/components/Componenten/highlight-box/highlight-box.config.yml +8 -6
- package/components/Componenten/rich-content/rich-content.njk +8 -6
- package/components/Componenten/shopping-cart/shopping-cart.njk +12 -17
- package/components/Componenten/tooltip/tooltip.njk +1 -1
- package/components/Componenten/tooltip-css/tooltip-css.njk +1 -1
- package/components/Voorbeelden/30-Componenten/anchors.njk +0 -29
- package/components/Voorbeelden/_anchors.scss +0 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-attachments-counter.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +17 -7
- package/dist/library/@dso-toolkit/core/cjs/dso-badge.cjs.entry.js +2 -8
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-highlight-box.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-icon.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-controls.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +29 -5
- package/dist/library/@dso-toolkit/core/cjs/dso-toggletip.cjs.entry.js +1 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +5 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +20 -1
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/attachments-counter/attachments-counter.css +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.css +11 -2
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.js +55 -8
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.stories.js +8 -6
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.template.js +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/badge/badge.css +5 -0
- package/dist/library/@dso-toolkit/core/collection/components/badge/badge.js +2 -11
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +6 -6
- package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.css +13 -12
- package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.js +4 -4
- package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.css +5 -2
- package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.stories.js +8 -6
- package/dist/library/@dso-toolkit/core/collection/components/icon/icon.css +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +8 -8
- package/dist/library/@dso-toolkit/core/collection/components/info/info.css +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.css +12 -12
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inhoud.node.js +0 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/opschrift.node.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +2 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +25 -5
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +54 -3
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.template.js +3 -1
- package/dist/library/@dso-toolkit/core/collection/components/toggletip/toggletip.js +1 -2
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.js +24 -2
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.template.js +2 -2
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +18 -18
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.js +39 -1
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +4 -2
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.template.js +2 -1
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +86 -36
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-af8a4337.entry.js → p-076400f4.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-0e535c2b.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-d6c47662.entry.js → p-14fc5767.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-7b67e324.entry.js → p-150fe323.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-121c3588.entry.js → p-1894c7ae.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-b29184e1.entry.js → p-1e92e29d.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-2f64bded.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-efa4a33d.entry.js → p-5a56d726.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-6ec616ee.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-723ef97b.entry.js +1 -0
- package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-4f904355.entry.js → library/@dso-toolkit/core/dso-toolkit/p-c0b7f435.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c32860a3.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-d76c1151.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-e1496a15.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/esm/dso-attachments-counter.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +17 -7
- package/dist/library/@dso-toolkit/core/esm/dso-badge.entry.js +2 -8
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-helpcenter-panel.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-highlight-box.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-icon.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-controls.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +29 -5
- package/dist/library/@dso-toolkit/core/esm/dso-toggletip.entry.js +1 -2
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +5 -1
- package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +20 -1
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/badge/badge.d.ts +1 -2
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/opschrift.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +11 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.d.ts +4 -0
- package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.d.ts +10 -0
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components.d.ts +50 -3
- package/dist/library/components/detail/activiteiten.html +5 -1
- package/dist/library/components/detail/anchors.html +0 -63
- package/dist/library/components/detail/badge--badge-danger.html +1 -1
- package/dist/library/components/detail/badge--badge-info.html +1 -1
- package/dist/library/components/detail/badge--badge-outline.html +1495 -0
- package/dist/library/components/detail/badge--badge-primary.html +1 -1
- package/dist/library/components/detail/badge--badge-success.html +1 -1
- package/dist/library/components/detail/badge--badge-warning.html +1 -1
- package/dist/library/components/detail/badge--default.html +1 -1
- package/dist/library/components/detail/badge.html +18 -6
- package/dist/library/components/detail/form--autocomplete.html +1 -1
- package/dist/library/components/detail/form--form-horizontal.html +1 -1
- package/dist/library/components/detail/form--form-vertical.html +1 -1
- package/dist/library/components/detail/form--multi-page.html +1 -1
- package/dist/library/components/detail/form--sections.html +1 -1
- package/dist/library/components/detail/form--simple-form.html +1 -1
- package/dist/library/components/detail/form--single-page.html +1 -1
- package/dist/library/components/detail/form.html +1 -1
- package/dist/library/components/detail/highlight-box--bordered.html +20 -14
- package/dist/library/components/detail/highlight-box--default.html +20 -14
- package/dist/library/components/detail/highlight-box--icon-indicator.html +20 -14
- package/dist/library/components/detail/highlight-box--link-list.html +8 -6
- package/dist/library/components/detail/highlight-box--step-indicator.html +20 -14
- package/dist/library/components/detail/highlight-box--white-drop-shadow.html +20 -14
- package/dist/library/components/detail/highlight-box--yellow.html +20 -14
- package/dist/library/components/detail/highlight-box.html +128 -90
- package/dist/library/components/detail/rich-content.html +16 -12
- package/dist/library/components/detail/shopping-cart--default.html +12 -17
- package/dist/library/components/detail/shopping-cart--items-collapsed.html +17 -18
- package/dist/library/components/detail/shopping-cart--items-edit.html +21 -21
- package/dist/library/components/detail/shopping-cart--items-expanded.html +25 -24
- package/dist/library/components/detail/shopping-cart--subitems-hidden-summary.html +22 -24
- package/dist/library/components/detail/shopping-cart--subitems-with-warning.html +30 -28
- package/dist/library/components/detail/shopping-cart--subitems.html +32 -29
- package/dist/library/components/detail/shopping-cart.html +87 -59
- package/dist/library/components/detail/tooltip--default.html +3 -3
- package/dist/library/components/detail/tooltip--tooltip-bottom.html +5 -3
- package/dist/library/components/detail/tooltip--tooltip-left.html +5 -3
- package/dist/library/components/detail/tooltip--tooltip-right-small.html +3 -3
- package/dist/library/components/detail/tooltip--tooltip-right.html +3 -3
- package/dist/library/components/detail/tooltip-css--default.html +2 -2
- package/dist/library/components/detail/tooltip-css--tooltip-bottom.html +2 -2
- package/dist/library/components/detail/tooltip-css--tooltip-left.html +2 -2
- package/dist/library/components/detail/tooltip-css--tooltip-right-small.html +2 -2
- package/dist/library/components/detail/tooltip-css--tooltip-right.html +2 -2
- package/dist/library/components/detail/tooltip-css.html +6 -6
- package/dist/library/components/detail/tooltip.html +15 -11
- package/dist/library/components/preview/activiteiten.html +10 -2
- package/dist/library/components/preview/anchors.html +0 -34
- package/dist/library/components/preview/badge--badge-danger.html +1 -1
- package/dist/library/components/preview/badge--badge-info.html +1 -1
- package/dist/library/components/preview/badge--badge-outline.html +23 -0
- package/dist/library/components/preview/badge--badge-primary.html +1 -1
- package/dist/library/components/preview/badge--badge-success.html +1 -1
- package/dist/library/components/preview/badge--badge-warning.html +1 -1
- package/dist/library/components/preview/badge--default.html +1 -1
- package/dist/library/components/preview/badge.html +5 -6
- package/dist/library/components/preview/highlight-box--bordered.html +12 -8
- package/dist/library/components/preview/highlight-box--default.html +12 -8
- package/dist/library/components/preview/highlight-box--icon-indicator.html +12 -8
- package/dist/library/components/preview/highlight-box--step-indicator.html +12 -8
- package/dist/library/components/preview/highlight-box--white-drop-shadow.html +12 -8
- package/dist/library/components/preview/highlight-box--yellow.html +12 -8
- package/dist/library/components/preview/highlight-box.html +90 -66
- package/dist/library/components/preview/rich-content.html +15 -8
- package/dist/library/components/preview/shopping-cart--items-collapsed.html +6 -2
- package/dist/library/components/preview/shopping-cart--items-edit.html +11 -7
- package/dist/library/components/preview/shopping-cart--items-expanded.html +16 -12
- package/dist/library/components/preview/shopping-cart--subitems-hidden-summary.html +13 -13
- package/dist/library/components/preview/shopping-cart--subitems-with-warning.html +26 -22
- package/dist/library/components/preview/shopping-cart--subitems.html +27 -23
- package/dist/library/components/preview/shopping-cart.html +99 -79
- package/dist/library/components/preview/tooltip--default.html +1 -1
- package/dist/library/components/preview/tooltip--tooltip-bottom.html +1 -1
- package/dist/library/components/preview/tooltip--tooltip-left.html +1 -1
- package/dist/library/components/preview/tooltip--tooltip-right-small.html +1 -1
- package/dist/library/components/preview/tooltip--tooltip-right.html +1 -1
- package/dist/library/components/preview/tooltip-css--default.html +1 -1
- package/dist/library/components/preview/tooltip-css--tooltip-bottom.html +1 -1
- package/dist/library/components/preview/tooltip-css--tooltip-left.html +1 -1
- package/dist/library/components/preview/tooltip-css--tooltip-right-small.html +1 -1
- package/dist/library/components/preview/tooltip-css--tooltip-right.html +1 -1
- package/dist/library/components/preview/tooltip-css.html +5 -5
- package/dist/library/components/preview/tooltip.html +5 -5
- package/dist/library/components/preview/zoeken-in-lijst-cards.html +5 -14
- package/dist/library/components/render/activiteiten.html +6 -2
- package/dist/library/components/render/anchors.html +0 -34
- package/dist/library/components/render/badge--badge-danger.html +1 -3
- package/dist/library/components/render/badge--badge-info.html +1 -3
- package/dist/library/components/render/badge--badge-outline.html +6 -0
- package/dist/library/components/render/badge--badge-primary.html +1 -3
- package/dist/library/components/render/badge--badge-success.html +1 -3
- package/dist/library/components/render/badge--badge-warning.html +1 -3
- package/dist/library/components/render/badge--default.html +1 -3
- package/dist/library/components/render/badge.html +7 -13
- package/dist/library/components/render/highlight-box--bordered.html +4 -2
- package/dist/library/components/render/highlight-box--default.html +4 -2
- package/dist/library/components/render/highlight-box--icon-indicator.html +4 -2
- package/dist/library/components/render/highlight-box--step-indicator.html +4 -2
- package/dist/library/components/render/highlight-box--white-drop-shadow.html +4 -2
- package/dist/library/components/render/highlight-box--yellow.html +4 -2
- package/dist/library/components/render/highlight-box.html +24 -12
- package/dist/library/components/render/rich-content.html +8 -6
- package/dist/library/components/render/shopping-cart--items-collapsed.html +6 -2
- package/dist/library/components/render/shopping-cart--items-edit.html +11 -7
- package/dist/library/components/render/shopping-cart--items-expanded.html +16 -12
- package/dist/library/components/render/shopping-cart--subitems-hidden-summary.html +13 -13
- package/dist/library/components/render/shopping-cart--subitems-with-warning.html +26 -22
- package/dist/library/components/render/shopping-cart--subitems.html +27 -23
- package/dist/library/components/render/shopping-cart.html +99 -79
- package/dist/library/components/render/tooltip--default.html +1 -1
- package/dist/library/components/render/tooltip--tooltip-bottom.html +1 -1
- package/dist/library/components/render/tooltip--tooltip-left.html +1 -1
- package/dist/library/components/render/tooltip--tooltip-right-small.html +1 -1
- package/dist/library/components/render/tooltip--tooltip-right.html +1 -1
- package/dist/library/components/render/tooltip-css--default.html +1 -1
- package/dist/library/components/render/tooltip-css--tooltip-bottom.html +1 -1
- package/dist/library/components/render/tooltip-css--tooltip-left.html +1 -1
- package/dist/library/components/render/tooltip-css--tooltip-right-small.html +1 -1
- package/dist/library/components/render/tooltip-css--tooltip-right.html +1 -1
- package/dist/library/components/render/tooltip-css.html +5 -5
- package/dist/library/components/render/tooltip.html +5 -5
- package/dist/library/styles/dso.css +399 -677
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-af8a4337.entry.js → p-076400f4.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-0e535c2b.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-d6c47662.entry.js → p-14fc5767.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-7b67e324.entry.js → p-150fe323.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-121c3588.entry.js → p-1894c7ae.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-b29184e1.entry.js → p-1e92e29d.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-2f64bded.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-efa4a33d.entry.js → p-5a56d726.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-6ec616ee.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-723ef97b.entry.js +1 -0
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-4f904355.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-c0b7f435.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c32860a3.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d76c1151.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-e1496a15.entry.js +1 -0
- package/dist/toolkit/styles/dso.css +399 -673
- package/hydrate/index.js +90 -35
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -1
- package/libs/@dso-toolkit/css/src/components/card/card.scss +4 -1
- package/libs/@dso-toolkit/css/src/components/form/fieldset.scss +48 -0
- package/libs/@dso-toolkit/css/src/components/form/form-group.scss +179 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/input/form-group-input.scss +13 -0
- package/libs/@dso-toolkit/css/src/components/form/form.mixins.scss +8 -0
- package/libs/@dso-toolkit/css/src/components/form/form.scss +4 -0
- package/libs/@dso-toolkit/css/src/components/form/form.variables.scss +37 -0
- package/libs/@dso-toolkit/css/src/components/form-control/form-control.scss +5 -0
- package/libs/@dso-toolkit/css/src/components/list/list.scss +1 -1
- package/libs/@dso-toolkit/css/src/components/modal/modal.scss +1 -1
- package/libs/@dso-toolkit/css/src/components/rich-content/rich-content.scss +1 -1
- package/libs/@dso-toolkit/css/src/components/shopping-cart/shopping-cart.scss +18 -3
- package/libs/@dso-toolkit/css/src/dso.scss +2 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.args.ts +12 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.stories.ts +6 -3
- package/libs/@dso-toolkit/sources/src/components/badge/badge.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/badge/badge.scss +6 -0
- package/libs/@dso-toolkit/sources/src/components/badge/badge.stories.ts +11 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/form.content.ts +16 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/input.content.ts +15 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/input/form-group-input.args.ts +175 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.args.ts +32 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +49 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-input.model.ts +19 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group.base-model.ts +17 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group.model.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.scss +1 -2
- package/libs/@dso-toolkit/sources/src/components/info/info.models.ts +2 -1
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +14 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +27 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.stories.ts +7 -3
- package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.stories.ts +23 -0
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.args.ts +5 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.models.ts +8 -0
- package/libs/@dso-toolkit/sources/src/index.ts +2 -0
- package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +1 -1
- package/libs/@dso-toolkit/sources/src/styling/global/table.scss +1 -1
- package/libs/@dso-toolkit/sources/src/styling/mixins/rich-content.scss +1 -1
- package/libs/@dso-toolkit/sources/src/styling/mixins/step-counter.scss +5 -1
- package/libs/@dso-toolkit/sources/src/styling/variables/icon.scss +1 -1
- package/libs/@dso-toolkit/sources/src/styling/variables/typography.scss +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/units.scss +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/zindex.scss +0 -1
- package/libs/_bootstrap.scss +1 -1
- package/libs/bootstrap/_forms.scss +0 -213
- package/libs/bootstrap/_variables.scss +2 -13
- package/libs/bootstrap/mixins/_forms.scss +0 -55
- package/package.json +2 -2
- package/reference/render/activiteiten.html +5 -1
- package/reference/render/anchors.html +0 -29
- package/reference/render/badge--badge-danger.html +1 -1
- package/reference/render/badge--badge-info.html +1 -1
- package/reference/render/badge--badge-outline.html +1 -0
- package/reference/render/badge--badge-primary.html +1 -1
- package/reference/render/badge--badge-success.html +1 -1
- package/reference/render/badge--badge-warning.html +1 -1
- package/reference/render/badge--default.html +1 -1
- package/reference/render/highlight-box--bordered.html +4 -2
- package/reference/render/highlight-box--default.html +4 -2
- package/reference/render/highlight-box--icon-indicator.html +4 -2
- package/reference/render/highlight-box--step-indicator.html +4 -2
- package/reference/render/highlight-box--white-drop-shadow.html +4 -2
- package/reference/render/highlight-box--yellow.html +4 -2
- package/reference/render/rich-content.html +8 -6
- package/reference/render/shopping-cart--items-collapsed.html +5 -1
- package/reference/render/shopping-cart--items-edit.html +9 -4
- package/reference/render/shopping-cart--items-expanded.html +13 -7
- package/reference/render/shopping-cart--subitems-hidden-summary.html +8 -7
- package/reference/render/shopping-cart--subitems-with-warning.html +15 -11
- package/reference/render/shopping-cart--subitems.html +17 -12
- package/reference/render/tooltip--default.html +1 -1
- package/reference/render/tooltip--tooltip-bottom.html +1 -1
- package/reference/render/tooltip--tooltip-left.html +1 -1
- package/reference/render/tooltip--tooltip-right-small.html +1 -1
- package/reference/render/tooltip--tooltip-right.html +1 -1
- package/reference/render/tooltip-css--default.html +1 -1
- package/reference/render/tooltip-css--tooltip-bottom.html +1 -1
- package/reference/render/tooltip-css--tooltip-left.html +1 -1
- package/reference/render/tooltip-css--tooltip-right-small.html +1 -1
- package/reference/render/tooltip-css--tooltip-right.html +1 -1
- package/src/styles/components/_dso-select.scss +7 -5
- package/src/styles/components/_form.scss +4 -199
- package/src/styles/components/_jumbotron.scss +1 -1
- package/src/styles/components/_panel.scss +1 -1
- package/src/styles/components/_search-bar.scss +5 -2
- package/src/styles/mixins/_bootstrap-variables.scss +2 -2
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-1fd3d18d.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-2a611af3.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-72e47943.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-a58b3108.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-abd32847.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-d1f62081.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-efb7575f.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-1fd3d18d.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-2a611af3.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-72e47943.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-a58b3108.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-abd32847.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d1f62081.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-efb7575f.entry.js +0 -1
- package/libs/bootstrap/_input-groups.scss +0 -168
- package/src/styles/components/_input-group.scss +0 -11
package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.css
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
font-family: Asap, sans-serif;
|
|
68
68
|
position: fixed;
|
|
69
69
|
right: 16px;
|
|
70
|
+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
|
70
71
|
}
|
|
71
72
|
.open-button:focus, .open-button:focus-visible {
|
|
72
73
|
outline-offset: 2px;
|
|
@@ -123,17 +124,17 @@
|
|
|
123
124
|
background: var(--dso-icon, var(--di-download-wit)) no-repeat;
|
|
124
125
|
background-position: center;
|
|
125
126
|
background-size: cover;
|
|
126
|
-
height:
|
|
127
|
+
height: 24px;
|
|
127
128
|
vertical-align: top;
|
|
128
|
-
width:
|
|
129
|
+
width: 24px;
|
|
129
130
|
}
|
|
130
131
|
.open-button.extern::after {
|
|
131
132
|
background: var(--dso-icon, var(--di-external-link-wit)) no-repeat;
|
|
132
133
|
background-position: center;
|
|
133
134
|
background-size: cover;
|
|
134
|
-
height:
|
|
135
|
+
height: 24px;
|
|
135
136
|
vertical-align: top;
|
|
136
|
-
width:
|
|
137
|
+
width: 24px;
|
|
137
138
|
}
|
|
138
139
|
.open-button dso-icon,
|
|
139
140
|
.open-button svg.di {
|
|
@@ -223,9 +224,9 @@
|
|
|
223
224
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
224
225
|
background-position: center;
|
|
225
226
|
background-size: cover;
|
|
226
|
-
height:
|
|
227
|
+
height: 24px;
|
|
227
228
|
vertical-align: top;
|
|
228
|
-
width:
|
|
229
|
+
width: 24px;
|
|
229
230
|
}
|
|
230
231
|
.close-button.download:hover::after {
|
|
231
232
|
--dso-icon: var(--di-download-wit);
|
|
@@ -237,9 +238,9 @@
|
|
|
237
238
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
238
239
|
background-position: center;
|
|
239
240
|
background-size: cover;
|
|
240
|
-
height:
|
|
241
|
+
height: 24px;
|
|
241
242
|
vertical-align: top;
|
|
242
|
-
width:
|
|
243
|
+
width: 24px;
|
|
243
244
|
}
|
|
244
245
|
.close-button.extern:hover::after {
|
|
245
246
|
--dso-icon: var(--di-external-link-wit);
|
|
@@ -261,9 +262,9 @@
|
|
|
261
262
|
background: var(--dso-icon, var(--di-times)) no-repeat;
|
|
262
263
|
background-position: center;
|
|
263
264
|
background-size: cover;
|
|
264
|
-
height:
|
|
265
|
+
height: 24px;
|
|
265
266
|
vertical-align: top;
|
|
266
|
-
width:
|
|
267
|
+
width: 24px;
|
|
267
268
|
content: "";
|
|
268
269
|
display: inline-block;
|
|
269
270
|
position: absolute;
|
|
@@ -278,9 +279,9 @@
|
|
|
278
279
|
background: var(--dso-icon, var(--di-times-wit)) no-repeat;
|
|
279
280
|
background-position: center;
|
|
280
281
|
background-size: cover;
|
|
281
|
-
height:
|
|
282
|
+
height: 24px;
|
|
282
283
|
vertical-align: top;
|
|
283
|
-
width:
|
|
284
|
+
width: 24px;
|
|
284
285
|
}
|
|
285
286
|
.close-button.close {
|
|
286
287
|
display: none;
|
package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.js
CHANGED
|
@@ -29,13 +29,13 @@ export class HelpcenterPanel {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
return (h(Fragment, null,
|
|
32
|
-
h("button", { type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}
|
|
32
|
+
h("button", { type: "button", onClick: this.openClick, class: `open-button ${this.isOpen}`, "aria-expanded": "false", "aria-haspopup": "dialog" },
|
|
33
33
|
h("dso-icon", { icon: "help" }),
|
|
34
34
|
h("span", null, this.label)),
|
|
35
35
|
h("div", { class: `wrapper ${this.visibility}` },
|
|
36
|
-
h("div", { class: "dimscreen" }),
|
|
37
|
-
h("div", { class: `iframe-container ${this.slideState}
|
|
38
|
-
h("button", { type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick },
|
|
36
|
+
h("div", { class: "dimscreen", onClick: this.closeClick }),
|
|
37
|
+
h("div", { class: `iframe-container ${this.slideState}`, "aria-live": "polite" }, this.loadIframe ? h("iframe", { src: this.url }) : h("div", null)),
|
|
38
|
+
h("button", { type: "button", class: `close-button ${this.isOpen}`, onClick: this.closeClick, "aria-expanded": "true" },
|
|
39
39
|
h("span", { class: "sr-only" }, "sluiten")))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "dso-helpcenter-panel"; }
|
package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
background-color: #f2f2f2;
|
|
29
29
|
margin-top: 16px;
|
|
30
30
|
padding: 16px;
|
|
31
|
-
margin-bottom:
|
|
31
|
+
margin-bottom: 24px;
|
|
32
32
|
}
|
|
33
33
|
.dso-highlight-box.dso-white {
|
|
34
34
|
background-color: #fff;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
position: relative;
|
|
53
53
|
}
|
|
54
54
|
.dso-highlight-box .dso-step-counter {
|
|
55
|
-
background-color: #
|
|
55
|
+
background-color: #275937;
|
|
56
56
|
border: 8px solid #79b929;
|
|
57
57
|
border-radius: 50%;
|
|
58
58
|
box-sizing: content-box;
|
|
@@ -66,4 +66,7 @@
|
|
|
66
66
|
text-align: center;
|
|
67
67
|
top: -24px;
|
|
68
68
|
width: 32px;
|
|
69
|
+
}
|
|
70
|
+
.dso-highlight-box dso-icon {
|
|
71
|
+
vertical-align: text-top;
|
|
69
72
|
}
|
package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.stories.js
CHANGED
|
@@ -11,12 +11,14 @@ const richContent = html `
|
|
|
11
11
|
<p>Het Opleverdossier (zie voor een nadere omschrijving van de informatieproducten de volgende paragrafen) is de, door gebruikers gewenste, centrale registratie waarin alle informatie over een bouwwerk is opgenomen. Het gaat hierbij om de tekeningen, berekeningen en de resultaten van de kwaliteitsborging (zoals toetsen en inspecties).</p>
|
|
12
12
|
<p>De <a href="#">Bouwregelgeving</a> is een database met alle bouwregelgeving in Nederland, die op zodanige wijze moet zijn ingericht en ontsloten dat die voldoet aan de eisen van de Omgevingswet (3B's), en daarmee bruikbaar is in de ontwerp- en toetsingsfase van ieder bouwwerk.</p>
|
|
13
13
|
<p>Het derde informatieproduct zijn de Vergunningvrije bouwwerken, hierin zijn opgenomen de (bekende) bouwwerken die vergunningvrij, maar niet regelvrij, zijn gerealiseerd. Het vierde en vooralsnog laatste informatieproduct is de Digitaliseringshulp, een service voor het centraal en gestandaardiseerd digitaliseren van documenten.</p>
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
<div class="dso-button-row">
|
|
15
|
+
<a href="#" class="btn btn-primary">Primaire button</a>
|
|
16
|
+
<a href="#" class="btn btn-default">Secundaire button</a>
|
|
17
|
+
<a href="#" class="btn btn-link btn-align">
|
|
18
|
+
Tertiaire button
|
|
19
|
+
${iconTemplate({ icon: 'chevron-down' })}
|
|
20
|
+
</a>
|
|
21
|
+
</div>
|
|
20
22
|
</div>
|
|
21
23
|
`;
|
|
22
24
|
storiesOfHighlightBox({
|
package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css
CHANGED
|
@@ -97,9 +97,9 @@ button::-moz-focus-inner {
|
|
|
97
97
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
98
98
|
background-position: center;
|
|
99
99
|
background-size: cover;
|
|
100
|
-
height:
|
|
100
|
+
height: 24px;
|
|
101
101
|
vertical-align: top;
|
|
102
|
-
width:
|
|
102
|
+
width: 24px;
|
|
103
103
|
}
|
|
104
104
|
.open.download:hover::after {
|
|
105
105
|
--dso-icon: var(--di-download-wit);
|
|
@@ -111,9 +111,9 @@ button::-moz-focus-inner {
|
|
|
111
111
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
112
112
|
background-position: center;
|
|
113
113
|
background-size: cover;
|
|
114
|
-
height:
|
|
114
|
+
height: 24px;
|
|
115
115
|
vertical-align: top;
|
|
116
|
-
width:
|
|
116
|
+
width: 24px;
|
|
117
117
|
}
|
|
118
118
|
.open.extern:hover::after {
|
|
119
119
|
--dso-icon: var(--di-external-link-wit);
|
|
@@ -227,9 +227,9 @@ button::-moz-focus-inner {
|
|
|
227
227
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
228
228
|
background-position: center;
|
|
229
229
|
background-size: cover;
|
|
230
|
-
height:
|
|
230
|
+
height: 24px;
|
|
231
231
|
vertical-align: top;
|
|
232
|
-
width:
|
|
232
|
+
width: 24px;
|
|
233
233
|
}
|
|
234
234
|
.close.download:hover::after {
|
|
235
235
|
--dso-icon: var(--di-download-wit);
|
|
@@ -241,9 +241,9 @@ button::-moz-focus-inner {
|
|
|
241
241
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
242
242
|
background-position: center;
|
|
243
243
|
background-size: cover;
|
|
244
|
-
height:
|
|
244
|
+
height: 24px;
|
|
245
245
|
vertical-align: top;
|
|
246
|
-
width:
|
|
246
|
+
width: 24px;
|
|
247
247
|
}
|
|
248
248
|
.close.extern:hover::after {
|
|
249
249
|
--dso-icon: var(--di-external-link-wit);
|
|
@@ -37,9 +37,9 @@ button::-moz-focus-inner {
|
|
|
37
37
|
background: var(--dso-icon, var(--di-times-grijs90)) no-repeat;
|
|
38
38
|
background-position: center;
|
|
39
39
|
background-size: cover;
|
|
40
|
-
height:
|
|
40
|
+
height: 24px;
|
|
41
41
|
vertical-align: top;
|
|
42
|
-
width:
|
|
42
|
+
width: 24px;
|
|
43
43
|
content: "";
|
|
44
44
|
display: inline-block;
|
|
45
45
|
}
|
|
@@ -115,9 +115,9 @@ button::-moz-focus-inner {
|
|
|
115
115
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
116
116
|
background-position: center;
|
|
117
117
|
background-size: cover;
|
|
118
|
-
height:
|
|
118
|
+
height: 24px;
|
|
119
119
|
vertical-align: top;
|
|
120
|
-
width:
|
|
120
|
+
width: 24px;
|
|
121
121
|
}
|
|
122
122
|
#toggle-visibility-button.download:hover::after {
|
|
123
123
|
--dso-icon: var(--di-download-wit);
|
|
@@ -129,9 +129,9 @@ button::-moz-focus-inner {
|
|
|
129
129
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
130
130
|
background-position: center;
|
|
131
131
|
background-size: cover;
|
|
132
|
-
height:
|
|
132
|
+
height: 24px;
|
|
133
133
|
vertical-align: top;
|
|
134
|
-
width:
|
|
134
|
+
width: 24px;
|
|
135
135
|
}
|
|
136
136
|
#toggle-visibility-button.extern:hover::after {
|
|
137
137
|
--dso-icon: var(--di-external-link-wit);
|
|
@@ -236,9 +236,9 @@ button::-moz-focus-inner {
|
|
|
236
236
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
237
237
|
background-position: center;
|
|
238
238
|
background-size: cover;
|
|
239
|
-
height:
|
|
239
|
+
height: 24px;
|
|
240
240
|
vertical-align: top;
|
|
241
|
-
width:
|
|
241
|
+
width: 24px;
|
|
242
242
|
}
|
|
243
243
|
#zoom-buttons button.download:hover::after {
|
|
244
244
|
--dso-icon: var(--di-download-wit);
|
|
@@ -250,9 +250,9 @@ button::-moz-focus-inner {
|
|
|
250
250
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
251
251
|
background-position: center;
|
|
252
252
|
background-size: cover;
|
|
253
|
-
height:
|
|
253
|
+
height: 24px;
|
|
254
254
|
vertical-align: top;
|
|
255
|
-
width:
|
|
255
|
+
width: 24px;
|
|
256
256
|
}
|
|
257
257
|
#zoom-buttons button.extern:hover::after {
|
|
258
258
|
--dso-icon: var(--di-external-link-wit);
|
|
@@ -340,9 +340,9 @@ button::-moz-focus-inner {
|
|
|
340
340
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
341
341
|
background-position: center;
|
|
342
342
|
background-size: cover;
|
|
343
|
-
height:
|
|
343
|
+
height: 24px;
|
|
344
344
|
vertical-align: top;
|
|
345
|
-
width:
|
|
345
|
+
width: 24px;
|
|
346
346
|
}
|
|
347
347
|
#close-button.download[disabled]::after {
|
|
348
348
|
--dso-icon: var(--di-download-grasgroen-40);
|
|
@@ -354,9 +354,9 @@ button::-moz-focus-inner {
|
|
|
354
354
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
355
355
|
background-position: center;
|
|
356
356
|
background-size: cover;
|
|
357
|
-
height:
|
|
357
|
+
height: 24px;
|
|
358
358
|
vertical-align: top;
|
|
359
|
-
width:
|
|
359
|
+
width: 24px;
|
|
360
360
|
}
|
|
361
361
|
#close-button.extern[disabled]::after {
|
|
362
362
|
--dso-icon: var(--di-external-link-grasgroen-40);
|
|
@@ -5,7 +5,10 @@ export class OzonContentAlNode {
|
|
|
5
5
|
this.name = 'Al';
|
|
6
6
|
}
|
|
7
7
|
render(node, { mapNodeToJsx, path }) {
|
|
8
|
-
const nestedAl = path.some(node =>
|
|
8
|
+
const nestedAl = path.some(node => {
|
|
9
|
+
const nodeName = getNodeName(node);
|
|
10
|
+
return nodeName === 'Al' || nodeName === 'Opschrift';
|
|
11
|
+
});
|
|
9
12
|
const content = mapNodeToJsx(node.childNodes);
|
|
10
13
|
return nestedAl
|
|
11
14
|
? h("span", { role: "paragraph" }, content)
|
package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js
CHANGED
|
@@ -21,7 +21,7 @@ export class OzonContentNootNode {
|
|
|
21
21
|
return (h(Fragment, null,
|
|
22
22
|
h("sup", null,
|
|
23
23
|
h("button", { type: "button", class: "toggle-note", id: noteControlsId, onClick: () => setState === null || setState === void 0 ? void 0 : setState(openNoteId === noteId ? undefined : noteId), onBlur: () => setState === null || setState === void 0 ? void 0 : setState(undefined), "aria-expanded": openNoteId === noteId ? 'true' : 'false' }, nootNummer)),
|
|
24
|
-
h("dso-tooltip", { active: openNoteId === noteId, for: noteControlsId, stateless: true },
|
|
24
|
+
h("dso-tooltip", { active: openNoteId === noteId, for: noteControlsId, stateless: true, descriptive: true },
|
|
25
25
|
h("span", { role: "section" }, mapNodeToJsx(Array.from(node.querySelectorAll(':scope > Al')))))));
|
|
26
26
|
}
|
|
27
27
|
}
|
package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js
CHANGED
|
@@ -4,6 +4,7 @@ import { OzonContentDocumentNode } from './nodes/document.node';
|
|
|
4
4
|
import { OzonContentExtRefNode } from './nodes/ext-ref.node';
|
|
5
5
|
import { OzonContentIllustratieNode } from './nodes/illustratie.node';
|
|
6
6
|
import { OzonContentInhoudNode } from './nodes/inhoud.node';
|
|
7
|
+
import { OzonContentOpschriftNode } from './nodes/opschrift.node';
|
|
7
8
|
import { OzonContentInlineNodes } from './nodes/inline.nodes';
|
|
8
9
|
import { OzonContentIntRefNode } from './nodes/int-ref.node';
|
|
9
10
|
import { OzonContentNootNode } from './nodes/noot.node';
|
|
@@ -17,6 +18,7 @@ export class Mapper {
|
|
|
17
18
|
new OzonContentTextNode(),
|
|
18
19
|
new OzonContentDocumentNode(),
|
|
19
20
|
new OzonContentInhoudNode(),
|
|
21
|
+
new OzonContentOpschriftNode(),
|
|
20
22
|
new OzonContentIntRefNode(),
|
|
21
23
|
new OzonContentExtRefNode(),
|
|
22
24
|
new OzonContentAlNode(),
|
|
@@ -1,7 +1,27 @@
|
|
|
1
|
-
:host {
|
|
1
|
+
:host(:not([inline])) {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
:host([inline]) {
|
|
6
|
+
display: inline;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host([deleted]) * {
|
|
10
|
+
text-decoration: line-through !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.deleted-start,
|
|
14
|
+
.deleted-end {
|
|
15
|
+
position: absolute;
|
|
16
|
+
width: 1px;
|
|
17
|
+
height: 1px;
|
|
18
|
+
padding: 0;
|
|
19
|
+
margin: -1px;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
clip: rect(0, 0, 0, 0);
|
|
22
|
+
border: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
5
25
|
button.toggle-note {
|
|
6
26
|
display: inline-block;
|
|
7
27
|
font-size: 1em;
|
|
@@ -55,9 +75,9 @@ button.toggle-note.download::after {
|
|
|
55
75
|
background: var(--dso-icon, var(--di-download)) no-repeat;
|
|
56
76
|
background-position: center;
|
|
57
77
|
background-size: cover;
|
|
58
|
-
height:
|
|
78
|
+
height: 24px;
|
|
59
79
|
vertical-align: top;
|
|
60
|
-
width:
|
|
80
|
+
width: 24px;
|
|
61
81
|
}
|
|
62
82
|
button.toggle-note.download[disabled]::after {
|
|
63
83
|
--dso-icon: var(--di-download-grasgroen-40);
|
|
@@ -69,9 +89,9 @@ button.toggle-note.extern::after {
|
|
|
69
89
|
background: var(--dso-icon, var(--di-external-link)) no-repeat;
|
|
70
90
|
background-position: center;
|
|
71
91
|
background-size: cover;
|
|
72
|
-
height:
|
|
92
|
+
height: 24px;
|
|
73
93
|
vertical-align: top;
|
|
74
|
-
width:
|
|
94
|
+
width: 24px;
|
|
75
95
|
}
|
|
76
96
|
button.toggle-note.extern[disabled]::after {
|
|
77
97
|
--dso-icon: var(--di-external-link-grasgroen-40);
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { Component, Event, Prop, State
|
|
1
|
+
import { h, Component, Event, Prop, State } from '@stencil/core';
|
|
2
2
|
import { Mapper } from './ozon-content-mapper';
|
|
3
3
|
export class OzonContent {
|
|
4
4
|
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* Setting this property creates dso-ozon-content as inline element instead of a block element.
|
|
7
|
+
*/
|
|
8
|
+
this.inline = false;
|
|
9
|
+
/**
|
|
10
|
+
* Marks content as deleted using visual and accessible clues.
|
|
11
|
+
*/
|
|
12
|
+
this.deleted = false;
|
|
5
13
|
this.state = {};
|
|
6
14
|
this.mapper = new Mapper();
|
|
7
15
|
}
|
|
@@ -12,7 +20,14 @@ export class OzonContent {
|
|
|
12
20
|
setState: state => this.state = state,
|
|
13
21
|
emitAnchorClick: this.anchorClick.emit
|
|
14
22
|
};
|
|
15
|
-
|
|
23
|
+
const transformed = this.mapper.transform((_a = this.content) !== null && _a !== void 0 ? _a : '', context);
|
|
24
|
+
if (this.deleted) {
|
|
25
|
+
return (h("section", null,
|
|
26
|
+
h("span", { class: "deleted-start" }, "Begin verwijderd element"),
|
|
27
|
+
transformed,
|
|
28
|
+
h("span", { class: "deleted-end" }, "Einde verwijderd element")));
|
|
29
|
+
}
|
|
30
|
+
return transformed;
|
|
16
31
|
}
|
|
17
32
|
static get is() { return "dso-ozon-content"; }
|
|
18
33
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,10 +50,46 @@ export class OzonContent {
|
|
|
35
50
|
"optional": false,
|
|
36
51
|
"docs": {
|
|
37
52
|
"tags": [],
|
|
38
|
-
"text": ""
|
|
53
|
+
"text": "The XML to be rendered."
|
|
39
54
|
},
|
|
40
55
|
"attribute": "content",
|
|
41
56
|
"reflect": false
|
|
57
|
+
},
|
|
58
|
+
"inline": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"mutable": false,
|
|
61
|
+
"complexType": {
|
|
62
|
+
"original": "boolean",
|
|
63
|
+
"resolved": "boolean",
|
|
64
|
+
"references": {}
|
|
65
|
+
},
|
|
66
|
+
"required": false,
|
|
67
|
+
"optional": false,
|
|
68
|
+
"docs": {
|
|
69
|
+
"tags": [],
|
|
70
|
+
"text": "Setting this property creates dso-ozon-content as inline element instead of a block element."
|
|
71
|
+
},
|
|
72
|
+
"attribute": "inline",
|
|
73
|
+
"reflect": true,
|
|
74
|
+
"defaultValue": "false"
|
|
75
|
+
},
|
|
76
|
+
"deleted": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"mutable": false,
|
|
79
|
+
"complexType": {
|
|
80
|
+
"original": "boolean",
|
|
81
|
+
"resolved": "boolean",
|
|
82
|
+
"references": {}
|
|
83
|
+
},
|
|
84
|
+
"required": false,
|
|
85
|
+
"optional": false,
|
|
86
|
+
"docs": {
|
|
87
|
+
"tags": [],
|
|
88
|
+
"text": "Marks content as deleted using visual and accessible clues."
|
|
89
|
+
},
|
|
90
|
+
"attribute": "deleted",
|
|
91
|
+
"reflect": true,
|
|
92
|
+
"defaultValue": "false"
|
|
42
93
|
}
|
|
43
94
|
}; }
|
|
44
95
|
static get states() { return {
|
package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.template.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
|
-
export function ozonContentTemplate({ content, onAnchorClick }) {
|
|
2
|
+
export function ozonContentTemplate({ content, inline, deleted, onAnchorClick }) {
|
|
3
3
|
return html `
|
|
4
4
|
<dso-ozon-content
|
|
5
5
|
.content=${content}
|
|
6
|
+
?inline=${inline}
|
|
7
|
+
?deleted=${deleted}
|
|
6
8
|
@anchorClick=${onAnchorClick}
|
|
7
9
|
></dso-ozon-content>
|
|
8
10
|
`;
|
|
@@ -43,12 +43,11 @@ export class Toggletip {
|
|
|
43
43
|
throw Error("button not found");
|
|
44
44
|
}
|
|
45
45
|
this.button = button;
|
|
46
|
-
this.host.setAttribute("tabindex", "-1");
|
|
47
46
|
}
|
|
48
47
|
render() {
|
|
49
48
|
return (h(Fragment, null,
|
|
50
49
|
h("dso-info-button", { id: "toggle", onClick: this.click, label: this.label, active: this.active, secondary: this.secondary }),
|
|
51
|
-
h("dso-tooltip", { stateless: true, for: "toggle", active: this.active, position: this.position, small: this.small },
|
|
50
|
+
h("dso-tooltip", { stateless: true, descriptive: true, for: "toggle", active: this.active, position: this.position, small: this.small },
|
|
52
51
|
h("slot", null))));
|
|
53
52
|
}
|
|
54
53
|
static get is() { return "dso-toggletip"; }
|
|
@@ -6,6 +6,10 @@ import clsx from 'clsx';
|
|
|
6
6
|
const transitionDuration = 150;
|
|
7
7
|
export class Tooltip {
|
|
8
8
|
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Defines if the tooltip is descriptive. A descriptive tooltip contains a meaningful message. Tooltips that are not descriptive are hidden from screenreaders using `aria-hidden`.
|
|
11
|
+
*/
|
|
12
|
+
this.descriptive = false;
|
|
9
13
|
/**
|
|
10
14
|
* Set position of tooltip relative to target
|
|
11
15
|
*/
|
|
@@ -123,9 +127,9 @@ export class Tooltip {
|
|
|
123
127
|
}
|
|
124
128
|
render() {
|
|
125
129
|
return (h(Host, { class: { 'hidden': this.hidden } },
|
|
126
|
-
h("div", { class: clsx('tooltip', { in: this.active })
|
|
130
|
+
h("div", { class: clsx('tooltip', { in: this.active }) },
|
|
127
131
|
!this.noArrow && h("div", { "data-popper-arrow": true, class: "tooltip-arrow" }),
|
|
128
|
-
h("div", { class: clsx('tooltip-inner', { 'dso-small': this.small }) },
|
|
132
|
+
h("div", { "aria-hidden": !this.descriptive || undefined, class: clsx('tooltip-inner', { 'dso-small': this.small }) },
|
|
129
133
|
h("slot", null)))));
|
|
130
134
|
}
|
|
131
135
|
getTarget() {
|
|
@@ -158,6 +162,24 @@ export class Tooltip {
|
|
|
158
162
|
"$": ["tooltip.css"]
|
|
159
163
|
}; }
|
|
160
164
|
static get properties() { return {
|
|
165
|
+
"descriptive": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"mutable": false,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "boolean",
|
|
170
|
+
"resolved": "boolean",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [],
|
|
177
|
+
"text": "Defines if the tooltip is descriptive. A descriptive tooltip contains a meaningful message. Tooltips that are not descriptive are hidden from screenreaders using `aria-hidden`."
|
|
178
|
+
},
|
|
179
|
+
"attribute": "descriptive",
|
|
180
|
+
"reflect": true,
|
|
181
|
+
"defaultValue": "false"
|
|
182
|
+
},
|
|
161
183
|
"position": {
|
|
162
184
|
"type": "string",
|
|
163
185
|
"mutable": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
2
|
import { ifDefined } from 'lit-html/directives/if-defined.js';
|
|
3
|
-
export function tooltipTemplate({ active, position, label, id }) {
|
|
4
|
-
return html `<dso-tooltip position=${position} for=${ifDefined(id)} ?active=${active}>
|
|
3
|
+
export function tooltipTemplate({ active, descriptive, position, label, id }) {
|
|
4
|
+
return html `<dso-tooltip ?descriptive=${ifDefined(descriptive)} position=${position} for=${ifDefined(id)} ?active=${active}>
|
|
5
5
|
${label}
|
|
6
6
|
</dso-tooltip>`;
|
|
7
7
|
}
|