dso-toolkit 34.1.0 → 35.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/anchor/anchor.njk +1 -1
- package/components/Componenten/icon/_preview.njk +1 -1
- package/components/Componenten/icon-css/_preview.njk +1 -1
- package/components/Componenten/link-list/link-list.njk +6 -0
- package/components/Voorbeelden/10-Patronen/zoeken-in-lijst-cards.njk +3 -5
- package/components/Voorbeelden/20-Toepassingen/30-Vergunningcheck/resultaat.njk +46 -47
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.config.yml +14 -0
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Project overzicht.njk +21 -22
- package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +5 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +62 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +4 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +281 -423
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +57 -726
- package/dist/library/@dso-toolkit/core/cjs/focus-trap.esm-8d3e3fb6.js +712 -0
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +3 -2
- package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.js +6 -2
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +21 -13
- package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.template.js +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +263 -0
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.js +72 -0
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.stories.js +11 -0
- package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.template.js +7 -0
- package/dist/library/@dso-toolkit/core/collection/components/info/info.css +20 -0
- package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js +16 -1
- package/dist/library/@dso-toolkit/core/collection/components/map-overlays/map-overlays.js +16 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +13 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/document.node.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/ext-ref.node.js +15 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/fallback.node.js +10 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/illustratie.node.js +13 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inhoud.node.js +14 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inline.nodes.js +21 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/int-ref.node.js +26 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +27 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +39 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +2 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/index.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-cell.js +25 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-colgroup.js +4 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table-rows.js +5 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table.node.js +32 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/text.node.js +9 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-context.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +76 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node-context.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node-state.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-node.interface.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +15 -7
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +21 -33
- package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.js +25 -1
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +7 -0
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +351 -3
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.js +109 -19
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +75 -4
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.template.js +7 -3
- package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +3088 -3103
- 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-225bbb28.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-3c4dbd89.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-44905fb1.js +5 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-50b63cf4.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8b6e3abc.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-ad540748.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c6f467b3.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-f193c258.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +5 -1
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +58 -0
- package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +4 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +14 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +282 -424
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +58 -727
- package/dist/library/@dso-toolkit/core/esm/focus-trap.esm-299989f2.js +710 -0
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.d.ts +15 -1
- package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.d.ts +15 -0
- package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.stories.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/image-overlay/image-overlay.template.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts +7 -2
- package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.d.ts +7 -2
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/al.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/document.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/ext-ref.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/fallback.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/illustratie.node.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/inhoud.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/inline.nodes.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/int-ref.node.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/noot.node.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/colspec/colspec.interface.d.ts +10 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/index.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-cell.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table-rows.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/table.node/table.node.d.ts +7 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/text.node.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-context.interface.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-mapper.d.ts +12 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-context.interface.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node-state.interface.d.ts +3 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content-node.interface.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +8 -10
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.interfaces.d.ts +2 -2
- package/dist/library/@dso-toolkit/core/types/components/selectable/selectable.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.d.ts +14 -3
- 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 +25 -6
- package/dist/library/components/detail/anchor--default.html +1 -1
- package/dist/library/components/detail/anchor--download.html +1 -1
- package/dist/library/components/detail/anchor--extern.html +1 -1
- package/dist/library/components/detail/anchor--icon.html +1 -1
- package/dist/library/components/detail/anchor--iconlabel.html +1 -1
- package/dist/library/components/detail/anchor--label.html +1 -1
- package/dist/library/components/detail/anchor.html +1 -1
- 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--link-list.html +4 -0
- package/dist/library/components/detail/highlight-box.html +4 -0
- package/dist/library/components/detail/link-list.html +8 -2
- package/dist/library/components/detail/project-overzicht.html +86 -50
- package/dist/library/components/detail/resultaat.html +92 -94
- package/dist/library/components/detail/zoeken-in-lijst-cards.html +6 -10
- package/dist/library/components/preview/404pagina.html +1 -1
- package/dist/library/components/preview/anchor--default.html +1 -1
- package/dist/library/components/preview/anchor--download.html +1 -1
- package/dist/library/components/preview/anchor--extern.html +1 -1
- package/dist/library/components/preview/anchor--icon.html +1 -1
- package/dist/library/components/preview/anchor--iconlabel.html +1 -1
- package/dist/library/components/preview/anchor--label.html +1 -1
- package/dist/library/components/preview/anchor.html +6 -6
- package/dist/library/components/preview/anchors.html +17 -17
- package/dist/library/components/preview/begrippen.html +8 -8
- package/dist/library/components/preview/beheer-basis.html +1 -1
- package/dist/library/components/preview/buttons.html +15 -15
- package/dist/library/components/preview/full-width.html +4 -4
- package/dist/library/components/preview/header.html +1 -1
- package/dist/library/components/preview/icon--air.html +1 -1
- package/dist/library/components/preview/icon--angle-down.html +1 -1
- package/dist/library/components/preview/icon--angle-left.html +1 -1
- package/dist/library/components/preview/icon--angle-right.html +1 -1
- package/dist/library/components/preview/icon--angle-up.html +1 -1
- package/dist/library/components/preview/icon--balloon.html +1 -1
- package/dist/library/components/preview/icon--bars.html +1 -1
- package/dist/library/components/preview/icon--buildings.html +1 -1
- package/dist/library/components/preview/icon--calendar.html +1 -1
- package/dist/library/components/preview/icon--call.html +1 -1
- package/dist/library/components/preview/icon--caret-down.html +1 -1
- package/dist/library/components/preview/icon--check-circle.html +1 -1
- package/dist/library/components/preview/icon--check.html +1 -1
- package/dist/library/components/preview/icon--chevron-down.html +1 -1
- package/dist/library/components/preview/icon--chevron-left.html +1 -1
- package/dist/library/components/preview/icon--chevron-right.html +1 -1
- package/dist/library/components/preview/icon--chevron-up.html +1 -1
- package/dist/library/components/preview/icon--circle-notch.html +1 -1
- package/dist/library/components/preview/icon--clock.html +1 -1
- package/dist/library/components/preview/icon--copy.html +1 -1
- package/dist/library/components/preview/icon--crown.html +1 -1
- package/dist/library/components/preview/icon--cultural.html +1 -1
- package/dist/library/components/preview/icon--document.html +1 -1
- package/dist/library/components/preview/icon--download.html +1 -1
- package/dist/library/components/preview/icon--email.html +1 -1
- package/dist/library/components/preview/icon--energy.html +1 -1
- package/dist/library/components/preview/icon--environment.html +1 -1
- package/dist/library/components/preview/icon--exclamation.html +1 -1
- package/dist/library/components/preview/icon--external-link.html +1 -1
- package/dist/library/components/preview/icon--eye-slash.html +1 -1
- package/dist/library/components/preview/icon--eye.html +1 -1
- package/dist/library/components/preview/icon--filter.html +1 -1
- package/dist/library/components/preview/icon--forbidden.html +1 -1
- package/dist/library/components/preview/icon--health.html +1 -1
- package/dist/library/components/preview/icon--help-active.html +1 -1
- package/dist/library/components/preview/icon--help.html +1 -1
- package/dist/library/components/preview/icon--house.html +1 -1
- package/dist/library/components/preview/icon--info-active.html +1 -1
- package/dist/library/components/preview/icon--info-i.html +1 -1
- package/dist/library/components/preview/icon--info.html +1 -1
- package/dist/library/components/preview/icon--infrastructure.html +1 -1
- package/dist/library/components/preview/icon--label.html +1 -1
- package/dist/library/components/preview/icon--land.html +1 -1
- package/dist/library/components/preview/icon--landscape.html +1 -1
- package/dist/library/components/preview/icon--layers.html +1 -1
- package/dist/library/components/preview/icon--location-outline.html +1 -1
- package/dist/library/components/preview/icon--location-search.html +1 -1
- package/dist/library/components/preview/icon--location.html +1 -1
- package/dist/library/components/preview/icon--lock.html +1 -1
- package/dist/library/components/preview/icon--magnet.html +1 -1
- package/dist/library/components/preview/icon--map-location.html +1 -1
- package/dist/library/components/preview/icon--marker.html +1 -1
- package/dist/library/components/preview/icon--measurement.html +1 -1
- package/dist/library/components/preview/icon--minus-square.html +1 -1
- package/dist/library/components/preview/icon--minus.html +1 -1
- package/dist/library/components/preview/icon--more.html +1 -1
- package/dist/library/components/preview/icon--municipality.html +1 -1
- package/dist/library/components/preview/icon--nature.html +1 -1
- package/dist/library/components/preview/icon--new-window.html +1 -1
- package/dist/library/components/preview/icon--paperclip.html +1 -1
- package/dist/library/components/preview/icon--parking.html +1 -1
- package/dist/library/components/preview/icon--pencil.html +1 -1
- package/dist/library/components/preview/icon--pin-outline.html +1 -1
- package/dist/library/components/preview/icon--pin.html +1 -1
- package/dist/library/components/preview/icon--plus-square.html +1 -1
- package/dist/library/components/preview/icon--plus.html +1 -1
- package/dist/library/components/preview/icon--print.html +1 -1
- package/dist/library/components/preview/icon--procedures.html +1 -1
- package/dist/library/components/preview/icon--redo.html +1 -1
- package/dist/library/components/preview/icon--safety.html +1 -1
- package/dist/library/components/preview/icon--scale.html +1 -1
- package/dist/library/components/preview/icon--search.html +1 -1
- package/dist/library/components/preview/icon--sitemap.html +1 -1
- package/dist/library/components/preview/icon--soil.html +1 -1
- package/dist/library/components/preview/icon--sort-ascending.html +1 -1
- package/dist/library/components/preview/icon--sort-descending.html +1 -1
- package/dist/library/components/preview/icon--sort.html +1 -1
- package/dist/library/components/preview/icon--sound.html +1 -1
- package/dist/library/components/preview/icon--status-danger.html +1 -1
- package/dist/library/components/preview/icon--status-forbidden.html +1 -1
- package/dist/library/components/preview/icon--status-info.html +1 -1
- package/dist/library/components/preview/icon--status-success.html +1 -1
- package/dist/library/components/preview/icon--status-warning.html +1 -1
- package/dist/library/components/preview/icon--table.html +1 -1
- package/dist/library/components/preview/icon--times.html +1 -1
- package/dist/library/components/preview/icon--trash.html +1 -1
- package/dist/library/components/preview/icon--undo.html +1 -1
- package/dist/library/components/preview/icon--user-line.html +1 -1
- package/dist/library/components/preview/icon--user.html +1 -1
- package/dist/library/components/preview/icon--users.html +1 -1
- package/dist/library/components/preview/icon--water.html +1 -1
- package/dist/library/components/preview/icon--wip-wip.html +1 -1
- package/dist/library/components/preview/icon-css--air.html +1 -1
- package/dist/library/components/preview/icon-css--angle-down.html +1 -1
- package/dist/library/components/preview/icon-css--angle-left.html +1 -1
- package/dist/library/components/preview/icon-css--angle-right.html +1 -1
- package/dist/library/components/preview/icon-css--angle-up.html +1 -1
- package/dist/library/components/preview/icon-css--balloon.html +1 -1
- package/dist/library/components/preview/icon-css--bars.html +1 -1
- package/dist/library/components/preview/icon-css--buildings.html +1 -1
- package/dist/library/components/preview/icon-css--calendar.html +1 -1
- package/dist/library/components/preview/icon-css--call.html +1 -1
- package/dist/library/components/preview/icon-css--caret-down.html +1 -1
- package/dist/library/components/preview/icon-css--check-circle.html +1 -1
- package/dist/library/components/preview/icon-css--check.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-down.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-left.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-right.html +1 -1
- package/dist/library/components/preview/icon-css--chevron-up.html +1 -1
- package/dist/library/components/preview/icon-css--circle-notch.html +1 -1
- package/dist/library/components/preview/icon-css--clock.html +1 -1
- package/dist/library/components/preview/icon-css--copy.html +1 -1
- package/dist/library/components/preview/icon-css--crown.html +1 -1
- package/dist/library/components/preview/icon-css--cultural.html +1 -1
- package/dist/library/components/preview/icon-css--document.html +1 -1
- package/dist/library/components/preview/icon-css--download.html +1 -1
- package/dist/library/components/preview/icon-css--email.html +1 -1
- package/dist/library/components/preview/icon-css--energy.html +1 -1
- package/dist/library/components/preview/icon-css--environment.html +1 -1
- package/dist/library/components/preview/icon-css--exclamation.html +1 -1
- package/dist/library/components/preview/icon-css--external-link.html +1 -1
- package/dist/library/components/preview/icon-css--eye-slash.html +1 -1
- package/dist/library/components/preview/icon-css--eye.html +1 -1
- package/dist/library/components/preview/icon-css--filter.html +1 -1
- package/dist/library/components/preview/icon-css--forbidden.html +1 -1
- package/dist/library/components/preview/icon-css--health.html +1 -1
- package/dist/library/components/preview/icon-css--help-active.html +1 -1
- package/dist/library/components/preview/icon-css--help.html +1 -1
- package/dist/library/components/preview/icon-css--house.html +1 -1
- package/dist/library/components/preview/icon-css--info-active.html +1 -1
- package/dist/library/components/preview/icon-css--info-i.html +1 -1
- package/dist/library/components/preview/icon-css--info.html +1 -1
- package/dist/library/components/preview/icon-css--infrastructure.html +1 -1
- package/dist/library/components/preview/icon-css--label.html +1 -1
- package/dist/library/components/preview/icon-css--land.html +1 -1
- package/dist/library/components/preview/icon-css--landscape.html +1 -1
- package/dist/library/components/preview/icon-css--layers.html +1 -1
- package/dist/library/components/preview/icon-css--location-outline.html +1 -1
- package/dist/library/components/preview/icon-css--location-search.html +1 -1
- package/dist/library/components/preview/icon-css--location.html +1 -1
- package/dist/library/components/preview/icon-css--lock.html +1 -1
- package/dist/library/components/preview/icon-css--magnet.html +1 -1
- package/dist/library/components/preview/icon-css--map-location.html +1 -1
- package/dist/library/components/preview/icon-css--marker.html +1 -1
- package/dist/library/components/preview/icon-css--measurement.html +1 -1
- package/dist/library/components/preview/icon-css--minus-square.html +1 -1
- package/dist/library/components/preview/icon-css--minus.html +1 -1
- package/dist/library/components/preview/icon-css--more.html +1 -1
- package/dist/library/components/preview/icon-css--municipality.html +1 -1
- package/dist/library/components/preview/icon-css--nature.html +1 -1
- package/dist/library/components/preview/icon-css--new-window.html +1 -1
- package/dist/library/components/preview/icon-css--paperclip.html +1 -1
- package/dist/library/components/preview/icon-css--parking.html +1 -1
- package/dist/library/components/preview/icon-css--pencil.html +1 -1
- package/dist/library/components/preview/icon-css--pin-outline.html +1 -1
- package/dist/library/components/preview/icon-css--pin.html +1 -1
- package/dist/library/components/preview/icon-css--plus-square.html +1 -1
- package/dist/library/components/preview/icon-css--plus.html +1 -1
- package/dist/library/components/preview/icon-css--print.html +1 -1
- package/dist/library/components/preview/icon-css--procedures.html +1 -1
- package/dist/library/components/preview/icon-css--redo.html +1 -1
- package/dist/library/components/preview/icon-css--safety.html +1 -1
- package/dist/library/components/preview/icon-css--scale.html +1 -1
- package/dist/library/components/preview/icon-css--search.html +1 -1
- package/dist/library/components/preview/icon-css--sitemap.html +1 -1
- package/dist/library/components/preview/icon-css--soil.html +1 -1
- package/dist/library/components/preview/icon-css--sort-ascending.html +1 -1
- package/dist/library/components/preview/icon-css--sort-descending.html +1 -1
- package/dist/library/components/preview/icon-css--sort.html +1 -1
- package/dist/library/components/preview/icon-css--sound.html +1 -1
- package/dist/library/components/preview/icon-css--status-danger.html +1 -1
- package/dist/library/components/preview/icon-css--status-forbidden.html +1 -1
- package/dist/library/components/preview/icon-css--status-info.html +1 -1
- package/dist/library/components/preview/icon-css--status-success.html +1 -1
- package/dist/library/components/preview/icon-css--status-warning.html +1 -1
- package/dist/library/components/preview/icon-css--table.html +1 -1
- package/dist/library/components/preview/icon-css--times.html +1 -1
- package/dist/library/components/preview/icon-css--trash.html +1 -1
- package/dist/library/components/preview/icon-css--undo.html +1 -1
- package/dist/library/components/preview/icon-css--user-line.html +1 -1
- package/dist/library/components/preview/icon-css--user.html +1 -1
- package/dist/library/components/preview/icon-css--users.html +1 -1
- package/dist/library/components/preview/icon-css--water.html +1 -1
- package/dist/library/components/preview/icon-css--wip-wip.html +1 -1
- package/dist/library/components/preview/icon-css.html +1 -1
- package/dist/library/components/preview/icon.html +1 -1
- package/dist/library/components/preview/link-list.html +6 -4
- package/dist/library/components/preview/mijn-projecten.html +5 -5
- package/dist/library/components/preview/overzicht-samenwerkingen.html +3 -3
- package/dist/library/components/preview/project-overzicht.html +79 -64
- package/dist/library/components/preview/resultaat.html +46 -47
- package/dist/library/components/preview/subtitel--default.html +1 -1
- package/dist/library/components/preview/subtitel--subtitel-before-definition-list.html +1 -1
- package/dist/library/components/preview/subtitel--subtitel-before-text.html +1 -1
- package/dist/library/components/preview/subtitel.html +3 -3
- package/dist/library/components/preview/verzoek-detail.html +7 -7
- package/dist/library/components/preview/whitebox-regular--default.html +1 -1
- package/dist/library/components/preview/whitebox-regular--whitebox-counter.html +1 -1
- package/dist/library/components/preview/whitebox-regular--whitebox-icon.html +1 -1
- package/dist/library/components/preview/whitebox.html +15 -15
- package/dist/library/components/preview/zoeken-in-lijst-cards.html +24 -28
- package/dist/library/components/render/404pagina.html +1 -1
- package/dist/library/components/render/anchor--default.html +1 -1
- package/dist/library/components/render/anchor--download.html +1 -1
- package/dist/library/components/render/anchor--extern.html +1 -1
- package/dist/library/components/render/anchor--icon.html +1 -1
- package/dist/library/components/render/anchor--iconlabel.html +1 -1
- package/dist/library/components/render/anchor--label.html +1 -1
- package/dist/library/components/render/anchor.html +6 -6
- package/dist/library/components/render/anchors.html +17 -17
- package/dist/library/components/render/begrippen.html +8 -8
- package/dist/library/components/render/beheer-basis.html +1 -1
- package/dist/library/components/render/buttons.html +15 -15
- package/dist/library/components/render/full-width.html +4 -4
- package/dist/library/components/render/header.html +1 -1
- package/dist/library/components/render/homepage.html +3 -3
- package/dist/library/components/render/landingspagina.html +1 -1
- package/dist/library/components/render/link-list.html +5 -3
- package/dist/library/components/render/mijn-projecten.html +5 -5
- package/dist/library/components/render/overzicht-samenwerkingen.html +3 -3
- package/dist/library/components/render/pagina-met-banner.html +1 -1
- package/dist/library/components/render/project-overzicht.html +52 -27
- package/dist/library/components/render/resultaat.html +46 -47
- package/dist/library/components/render/rich-content.html +1 -1
- package/dist/library/components/render/row-equal-heights.html +4 -4
- package/dist/library/components/render/subtitel--default.html +1 -1
- package/dist/library/components/render/subtitel--subtitel-before-definition-list.html +1 -1
- package/dist/library/components/render/subtitel--subtitel-before-text.html +1 -1
- package/dist/library/components/render/subtitel.html +3 -3
- package/dist/library/components/render/verzoek-detail.html +7 -7
- package/dist/library/components/render/whitebox-regular--default.html +1 -1
- package/dist/library/components/render/whitebox-regular--whitebox-counter.html +1 -1
- package/dist/library/components/render/whitebox-regular--whitebox-icon.html +1 -1
- package/dist/library/components/render/whitebox.html +15 -15
- package/dist/library/components/render/zoeken-in-lijst-cards.html +4 -6
- package/dist/library/styles/dso.css +249 -467
- package/dist/toolkit/core/dso-toolkit.css +1 -1
- package/dist/toolkit/core/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/p-225bbb28.entry.js +1 -0
- package/dist/toolkit/core/p-3c4dbd89.entry.js +1 -0
- package/dist/toolkit/core/p-44905fb1.js +5 -0
- package/dist/toolkit/core/p-50b63cf4.entry.js +1 -0
- package/dist/toolkit/core/p-8b6e3abc.entry.js +1 -0
- package/dist/toolkit/core/p-ad540748.entry.js +1 -0
- package/dist/toolkit/core/p-c6f467b3.entry.js +1 -0
- package/dist/toolkit/core/p-f193c258.entry.js +1 -0
- package/dist/toolkit/styles/dso.css +249 -467
- package/hydrate/index.js +3203 -3207
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -5
- package/libs/@dso-toolkit/css/src/components/list/list.scss +8 -0
- package/libs/@dso-toolkit/css/src/components/tile-grid/tile-grid.scss +3 -0
- package/libs/@dso-toolkit/css/src/dso.scss +1 -0
- package/libs/@dso-toolkit/css/src/global/global.scss +5 -0
- package/libs/@dso-toolkit/sources/src/components/anchor/anchor.args.ts +8 -1
- package/libs/@dso-toolkit/sources/src/components/anchor/anchor.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.demo.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/image/image.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.args.ts +29 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.content.ts +24 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.models.ts +5 -0
- package/libs/@dso-toolkit/sources/src/components/image-overlay/image-overlay.stories.ts +26 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.args.ts +15 -4
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.content.ts +24 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.scss +4 -0
- package/libs/@dso-toolkit/sources/src/components/link-list/link-list.stories.ts +16 -0
- package/libs/@dso-toolkit/sources/src/components/map-controls/map-controls.stories.ts +2 -1
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +7 -6
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +768 -319
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.stories.ts +24 -48
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.content.ts +119 -0
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.stories.ts +56 -0
- package/libs/@dso-toolkit/sources/src/components/tile/tile.args.ts +13 -1
- package/libs/@dso-toolkit/sources/src/components/tile/tile.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/tile/tile.scss +37 -7
- package/libs/@dso-toolkit/sources/src/components/tile/tile.stories.ts +11 -1
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.args.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.content.ts +139 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.scss +6 -0
- package/libs/@dso-toolkit/sources/src/components/tile-grid/tile-grid.stories.ts +36 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.args.ts +41 -6
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.content.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.models.ts +16 -2
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.stories.ts +35 -23
- package/libs/@dso-toolkit/sources/src/components.scss +1 -0
- package/libs/@dso-toolkit/sources/src/index.ts +6 -0
- package/libs/@dso-toolkit/sources/src/styling/global/blockquote.scss +12 -0
- package/libs/@dso-toolkit/sources/src/styling/global/del.scss +3 -0
- package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +27 -1
- package/libs/@dso-toolkit/sources/src/styling/global/headings.scss +30 -2
- package/libs/@dso-toolkit/sources/src/styling/global/ins.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/global/nav.scss +6 -0
- package/libs/@dso-toolkit/sources/src/styling/global/p.scss +3 -0
- package/libs/@dso-toolkit/sources/src/styling/global/utilities.scss +32 -0
- package/libs/@dso-toolkit/sources/src/styling/grid/grid.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/mixins/center-block.scss +5 -0
- package/{src/styles/components/_equal-heights.scss → libs/@dso-toolkit/sources/src/styling/mixins/equal-heights.scss} +1 -1
- package/libs/@dso-toolkit/sources/src/styling/mixins/rich-content.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/mixins.scss +2 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/colors.scss +4 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/typography.scss +1 -1
- package/libs/@dso-toolkit/sources/storybook-assets/images/canvas-home_iplo-min.png +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/houtkachel-of-open-haard-infographic.jpg +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/icon-tree.png +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/klimaatambities_agv_infographic_002_1.jpg +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/schakeldag-8-maart-2022-schakeljournaal-ads.jpg +0 -0
- package/libs/_bootstrap.scss +2 -2
- package/libs/bootstrap/_variables.scss +3 -3
- package/package.json +2 -2
- package/reference/render/mijn-projecten.html +1 -1
- package/reference/render/project-overzicht.html +41 -26
- package/reference/render/resultaat.html +46 -46
- package/reference/render/zoeken-in-lijst-cards.html +3 -5
- package/src/styles/components/_jumbotron.scss +1 -2
- package/src/styles/components/_modal.scss +1 -1
- package/src/styles/components/_panel.scss +1 -1
- package/src/styles/dso.scss +3 -3
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.transformer.js +0 -105
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-06de0fa1.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-17f073d1.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-20856f91.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-7b006b11.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-aadc4f8e.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b69134ed.entry.js +0 -5
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.transformer.d.ts +0 -15
- package/dist/toolkit/core/p-06de0fa1.entry.js +0 -1
- package/dist/toolkit/core/p-17f073d1.entry.js +0 -1
- package/dist/toolkit/core/p-20856f91.entry.js +0 -1
- package/dist/toolkit/core/p-7b006b11.entry.js +0 -1
- package/dist/toolkit/core/p-aadc4f8e.entry.js +0 -1
- package/dist/toolkit/core/p-b69134ed.entry.js +0 -5
- package/libs/bootstrap/_type.scss +0 -233
- package/libs/bootstrap/_utilities.scss +0 -55
- package/src/styles/components/_rich-content.scss +0 -56
- package/src/styles/mixins/_typography.scss +0 -56
|
@@ -1,60 +1,36 @@
|
|
|
1
|
-
import { bindTemplate, StorybookParameters } from
|
|
1
|
+
import { bindTemplate, StorybookParameters } from "../../stories-helpers";
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import {
|
|
4
|
+
ozonContentArgTypes,
|
|
5
|
+
ozonContentArgsMapper,
|
|
6
|
+
} from "./ozon-content.args";
|
|
7
|
+
import { content } from "./ozon-content.content";
|
|
8
|
+
import { OzonContent } from "./ozon-content.models";
|
|
6
9
|
|
|
7
10
|
export interface OzonContentParameters<TemplateFnReturnType> {
|
|
8
|
-
ozonContentTemplate: (
|
|
11
|
+
ozonContentTemplate: (
|
|
12
|
+
ozonContentProperties: OzonContent
|
|
13
|
+
) => TemplateFnReturnType;
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
export function storiesOfOzonContent<TemplateFnReturnType>(
|
|
12
|
-
{
|
|
13
|
-
|
|
14
|
-
storiesOf,
|
|
15
|
-
readme
|
|
16
|
-
}: StorybookParameters,
|
|
17
|
-
{
|
|
18
|
-
ozonContentTemplate
|
|
19
|
-
}: OzonContentParameters<TemplateFnReturnType>
|
|
17
|
+
{ module: mainModule, storiesOf, readme }: StorybookParameters,
|
|
18
|
+
{ ozonContentTemplate }: OzonContentParameters<TemplateFnReturnType>
|
|
20
19
|
) {
|
|
21
20
|
const template = bindTemplate(ozonContentArgsMapper, ozonContentTemplate);
|
|
22
21
|
|
|
23
|
-
const stories = storiesOf(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
stories.add(
|
|
32
|
-
'inhoud',
|
|
33
|
-
template,
|
|
34
|
-
{
|
|
35
|
-
args: {
|
|
36
|
-
content: inhoud
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
);
|
|
22
|
+
const stories = storiesOf("Ozon Content", mainModule).addParameters({
|
|
23
|
+
docs: {
|
|
24
|
+
page: readme,
|
|
25
|
+
},
|
|
26
|
+
argTypes: ozonContentArgTypes,
|
|
27
|
+
});
|
|
40
28
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
template,
|
|
44
|
-
{
|
|
29
|
+
content.forEach((story) => {
|
|
30
|
+
stories.add(story.title, template, {
|
|
45
31
|
args: {
|
|
46
|
-
content:
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
stories.add(
|
|
52
|
-
'aanhef',
|
|
53
|
-
template,
|
|
54
|
-
{
|
|
55
|
-
args: {
|
|
56
|
-
content: aanhef
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
);
|
|
32
|
+
content: story.content,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
});
|
|
60
36
|
}
|
package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.content.ts
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { HighlightBox } from "../highlight-box/highlight-box.models";
|
|
2
|
+
import { Tile } from "../tile/tile.models";
|
|
3
|
+
import { Whitebox } from "../whitebox/whitebox.models";
|
|
4
|
+
|
|
5
|
+
export const highlightBoxes: HighlightBox<string>[] = [
|
|
6
|
+
{
|
|
7
|
+
yellow: false,
|
|
8
|
+
white: false,
|
|
9
|
+
border: false,
|
|
10
|
+
dropShadow: false,
|
|
11
|
+
step: 1,
|
|
12
|
+
richContent: '<h2>Ongelijke inhoud</h2><p>Dit blok is hoger, dit blok heeft meer te vertellen omdat het een veel boeiender blok is. Mijn broertjes zijn minder interessant, dat zie je aan de inhoud.</p><p>PS: Ik ben het tweede blokje</p>'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
yellow: false,
|
|
16
|
+
white: false,
|
|
17
|
+
border: false,
|
|
18
|
+
dropShadow: false,
|
|
19
|
+
step: 2,
|
|
20
|
+
richContent: '<h2>Ongelijke inhoud</h2><p>een <code>.row</code> een <code>.dso-equal-heights</code> krijgt, worden voor de volgende componenten de kolommen visueel even hoog:</p><ul><li>Highlight Box</li><li>Whitebox</li><li>Whitebox small</li></ul>'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
yellow: false,
|
|
24
|
+
white: false,
|
|
25
|
+
border: false,
|
|
26
|
+
dropShadow: false,
|
|
27
|
+
step: 3,
|
|
28
|
+
richContent: '<h2>Ongelijke inhoud</h2><p>Oninteressant blokje</p>'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
yellow: false,
|
|
32
|
+
white: false,
|
|
33
|
+
border: false,
|
|
34
|
+
dropShadow: false,
|
|
35
|
+
step: 4,
|
|
36
|
+
richContent: '<h2>Ongelijke inhoud</h2><p>Aha</p>'
|
|
37
|
+
}
|
|
38
|
+
];
|
|
39
|
+
|
|
40
|
+
export const tiles: Tile[] = [
|
|
41
|
+
{
|
|
42
|
+
anchor: '#',
|
|
43
|
+
label: 'Kort verhaal',
|
|
44
|
+
image: {
|
|
45
|
+
alt: 'Boom',
|
|
46
|
+
source: 'images/icon-tree.png'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
anchor: '#',
|
|
51
|
+
label: 'Lang verhaal waardoor dit blok hoger op je scherm wordt',
|
|
52
|
+
image: {
|
|
53
|
+
alt: 'Boom',
|
|
54
|
+
source: 'images/icon-tree.png'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
anchor: '#',
|
|
59
|
+
label: 'Kort verhaal',
|
|
60
|
+
image: {
|
|
61
|
+
alt: 'Boom',
|
|
62
|
+
source: 'images/icon-tree.png'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
anchor: '#',
|
|
67
|
+
label: 'Lang verhaal waardoor dit blok hoger op je scherm wordt',
|
|
68
|
+
image: {
|
|
69
|
+
alt: 'Boom',
|
|
70
|
+
source: 'images/icon-tree.png'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
anchor: '#',
|
|
75
|
+
label: 'Kort verhaal',
|
|
76
|
+
image: {
|
|
77
|
+
alt: 'Boom',
|
|
78
|
+
source: 'images/icon-tree.png'
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
anchor: '#',
|
|
83
|
+
label: 'Lang verhaal waardoor dit blok hoger op je scherm wordt',
|
|
84
|
+
image: {
|
|
85
|
+
alt: 'Boom',
|
|
86
|
+
source: 'images/icon-tree.png'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
];
|
|
90
|
+
|
|
91
|
+
export const whiteboxes: Whitebox[] = [
|
|
92
|
+
{
|
|
93
|
+
label: 'Direct naar aanvragen',
|
|
94
|
+
title: 'Ik wil weten welke wetten en regels er gelden voor mijn huis/bedrijf.',
|
|
95
|
+
description: 'Weet u al voor welke activiteiten u een vergunning moet aanvragen of een melding moet doen?',
|
|
96
|
+
image: {
|
|
97
|
+
alt: 'Indienen',
|
|
98
|
+
source: 'images/indienen.png'
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: 'Direct naar aanvragen',
|
|
103
|
+
title: 'Ik wil weten welke wetten en regels er gelden voor mijn huis/bedrijf.',
|
|
104
|
+
description: 'Weet u al voor welke activiteiten u een vergunning moet aanvragen of een melding moet doen? Dan kunt u de aanvraag of melding direct indienen.',
|
|
105
|
+
image: {
|
|
106
|
+
alt: 'Indienen',
|
|
107
|
+
source: 'images/indienen.png'
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: 'Direct naar aanvragen',
|
|
112
|
+
title: 'Ik wil weten welke wetten en regels er gelden voor mijn huis/bedrijf.',
|
|
113
|
+
description: 'Weet u al voor welke activiteiten u een vergunning moet aanvragen of een melding moet doen?',
|
|
114
|
+
image: {
|
|
115
|
+
alt: 'Indienen',
|
|
116
|
+
source: 'images/indienen.png'
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
];
|
package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.stories.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ArgsStoryFn } from '@storybook/addons';
|
|
2
|
+
import { StorybookParameters } from '../../stories-helpers';
|
|
3
|
+
import { HighlightBox } from '../highlight-box/highlight-box.models';
|
|
4
|
+
import { Tile } from '../tile/tile.models';
|
|
5
|
+
import { Whitebox } from '../whitebox/whitebox.models';
|
|
6
|
+
|
|
7
|
+
import { rowEqualHeightsArgTypes } from './row-equal-heights.args';
|
|
8
|
+
import { tiles, whiteboxes, highlightBoxes } from './row-equal-heights.content';
|
|
9
|
+
|
|
10
|
+
export interface RowEqualHeightsParameters<TemplateFnReturnType> {
|
|
11
|
+
highlightBoxExample: (highlightboxes: HighlightBox<string>[]) => TemplateFnReturnType;
|
|
12
|
+
tileExample: (tiles: Tile[]) => TemplateFnReturnType;
|
|
13
|
+
whiteboxExample: (whiteboxes: Whitebox[]) => TemplateFnReturnType;
|
|
14
|
+
decorator: (story: ArgsStoryFn<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function storiesOfRowEqualHeights<TemplateFnReturnType>(
|
|
18
|
+
{
|
|
19
|
+
module: mainModule,
|
|
20
|
+
storiesOf,
|
|
21
|
+
readme
|
|
22
|
+
}: StorybookParameters,
|
|
23
|
+
{
|
|
24
|
+
highlightBoxExample,
|
|
25
|
+
tileExample,
|
|
26
|
+
whiteboxExample,
|
|
27
|
+
decorator
|
|
28
|
+
}: RowEqualHeightsParameters<TemplateFnReturnType>
|
|
29
|
+
) {
|
|
30
|
+
const stories = storiesOf('Row Equal Heights', mainModule)
|
|
31
|
+
.addParameters({
|
|
32
|
+
docs: {
|
|
33
|
+
page: readme
|
|
34
|
+
},
|
|
35
|
+
argTypes: rowEqualHeightsArgTypes,
|
|
36
|
+
controls: {
|
|
37
|
+
hideNoControlsWarning: true,
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
.addDecorator(decorator);
|
|
41
|
+
|
|
42
|
+
stories.add(
|
|
43
|
+
'highlight boxes',
|
|
44
|
+
() => highlightBoxExample(highlightBoxes)
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
stories.add(
|
|
48
|
+
'tiles',
|
|
49
|
+
() => tileExample(tiles)
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
stories.add(
|
|
53
|
+
'whiteboxes',
|
|
54
|
+
() => whiteboxExample(whiteboxes)
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -6,6 +6,7 @@ export interface TileArgs {
|
|
|
6
6
|
label: string;
|
|
7
7
|
imageSource: string;
|
|
8
8
|
imageAlt: string;
|
|
9
|
+
variant?: 'theme';
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export const tileArgTypes: ArgTypes<TileArgs> = {
|
|
@@ -23,6 +24,16 @@ export const tileArgTypes: ArgTypes<TileArgs> = {
|
|
|
23
24
|
control: {
|
|
24
25
|
type: 'text'
|
|
25
26
|
}
|
|
27
|
+
},
|
|
28
|
+
variant: {
|
|
29
|
+
options: [undefined, 'theme'],
|
|
30
|
+
control: {
|
|
31
|
+
type: 'select',
|
|
32
|
+
labels: {
|
|
33
|
+
undefined: 'default',
|
|
34
|
+
'theme': 'theme'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
26
37
|
}
|
|
27
38
|
};
|
|
28
39
|
|
|
@@ -33,6 +44,7 @@ export function tileArgsMapper(a: TileArgs): Tile {
|
|
|
33
44
|
image: {
|
|
34
45
|
source: a.imageSource,
|
|
35
46
|
alt: a.imageAlt
|
|
36
|
-
}
|
|
47
|
+
},
|
|
48
|
+
variant: a.variant
|
|
37
49
|
};
|
|
38
50
|
}
|
|
@@ -2,14 +2,44 @@ $dso-tile-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
|
|
|
2
2
|
$dso-tile-margin-bottom: $u7;
|
|
3
3
|
$dso-tile-min-height: 200px;
|
|
4
4
|
|
|
5
|
+
$dso-tile-icon-bg-color: $grijs-5;
|
|
6
|
+
$dso-tile-icon-border-color: $grijs-10;
|
|
7
|
+
$dso-tile-icon-size: $u1 * 11.5;
|
|
8
|
+
$dso-tile-color: $grasgroen;
|
|
9
|
+
|
|
5
10
|
@mixin tile_root() {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
&:not(.dso-theme) {
|
|
12
|
+
background: $wit;
|
|
13
|
+
box-shadow: $dso-tile-box-shadow;
|
|
14
|
+
margin-bottom: $dso-tile-margin-bottom;
|
|
15
|
+
min-height: $dso-tile-min-height;
|
|
16
|
+
padding: $u3 $u2 $u2;
|
|
17
|
+
position: relative;
|
|
18
|
+
top: $u7;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.dso-theme {
|
|
22
|
+
margin: 0;
|
|
23
|
+
|
|
24
|
+
.dso-tile-icon {
|
|
25
|
+
align-items: center;
|
|
26
|
+
background-color: $dso-tile-icon-bg-color;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
border: 1px solid $dso-tile-icon-border-color;
|
|
29
|
+
color: $dso-tile-color;
|
|
30
|
+
display: flex;
|
|
31
|
+
height: $dso-tile-icon-size;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
margin: 0 auto $u1;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
width: $dso-tile-icon-size;
|
|
36
|
+
|
|
37
|
+
img {
|
|
38
|
+
height: $u7;
|
|
39
|
+
width: $u7;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
13
43
|
|
|
14
44
|
.dso-tile-icon {
|
|
15
45
|
display: block;
|
|
@@ -33,7 +33,17 @@ export function storiesOfTile<TemplateFnReturnType>(
|
|
|
33
33
|
});
|
|
34
34
|
|
|
35
35
|
stories.add(
|
|
36
|
-
'
|
|
36
|
+
'default',
|
|
37
37
|
template
|
|
38
38
|
);
|
|
39
|
+
|
|
40
|
+
stories.add(
|
|
41
|
+
'theme',
|
|
42
|
+
template,
|
|
43
|
+
{
|
|
44
|
+
args: componentArgs<Pick<TileArgs, 'variant'>>({
|
|
45
|
+
variant: 'theme'
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
);
|
|
39
49
|
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Tile } from '../..';
|
|
2
|
+
|
|
3
|
+
export const tiles: Tile[] = [
|
|
4
|
+
{
|
|
5
|
+
anchor: '#',
|
|
6
|
+
label: 'Bodem',
|
|
7
|
+
image: {
|
|
8
|
+
source: 'images/icon-tree.png',
|
|
9
|
+
alt: 'Boom'
|
|
10
|
+
},
|
|
11
|
+
variant: 'theme'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
anchor: '#',
|
|
15
|
+
label: 'Bouwwerken',
|
|
16
|
+
image: {
|
|
17
|
+
source: 'images/icon-tree.png',
|
|
18
|
+
alt: 'Boom'
|
|
19
|
+
},
|
|
20
|
+
variant: 'theme'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anchor: '#',
|
|
24
|
+
label: 'Cultureel erfgoed',
|
|
25
|
+
image: {
|
|
26
|
+
source: 'images/icon-tree.png',
|
|
27
|
+
alt: 'Boom'
|
|
28
|
+
},
|
|
29
|
+
variant: 'theme'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
anchor: '#',
|
|
33
|
+
label: 'Energie en natuurlijke hulpbronnen',
|
|
34
|
+
image: {
|
|
35
|
+
source: 'images/icon-tree.png',
|
|
36
|
+
alt: 'Boom'
|
|
37
|
+
},
|
|
38
|
+
variant: 'theme'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
anchor: '#',
|
|
42
|
+
label: 'Externe veiligheid',
|
|
43
|
+
image: {
|
|
44
|
+
source: 'images/icon-tree.png',
|
|
45
|
+
alt: 'Boom'
|
|
46
|
+
},
|
|
47
|
+
variant: 'theme'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
anchor: '#',
|
|
51
|
+
label: 'Geluid',
|
|
52
|
+
image: {
|
|
53
|
+
source: 'images/icon-tree.png',
|
|
54
|
+
alt: 'Boom'
|
|
55
|
+
},
|
|
56
|
+
variant: 'theme'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
anchor: '#',
|
|
60
|
+
label: 'Gezondheid',
|
|
61
|
+
image: {
|
|
62
|
+
source: 'images/icon-tree.png',
|
|
63
|
+
alt: 'Boom'
|
|
64
|
+
},
|
|
65
|
+
variant: 'theme'
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
anchor: '#',
|
|
69
|
+
label: 'Infrastructuur',
|
|
70
|
+
image: {
|
|
71
|
+
source: 'images/icon-tree.png',
|
|
72
|
+
alt: 'Boom'
|
|
73
|
+
},
|
|
74
|
+
variant: 'theme'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
anchor: '#',
|
|
78
|
+
label: 'Landgebruik',
|
|
79
|
+
image: {
|
|
80
|
+
source: 'images/icon-tree.png',
|
|
81
|
+
alt: 'Boom'
|
|
82
|
+
},
|
|
83
|
+
variant: 'theme'
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
anchor: '#',
|
|
87
|
+
label: 'Landschap',
|
|
88
|
+
image: {
|
|
89
|
+
source: 'images/icon-tree.png',
|
|
90
|
+
alt: 'Boom'
|
|
91
|
+
},
|
|
92
|
+
variant: 'theme'
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
anchor: '#',
|
|
96
|
+
label: 'Lucht',
|
|
97
|
+
image: {
|
|
98
|
+
source: 'images/icon-tree.png',
|
|
99
|
+
alt: 'Boom'
|
|
100
|
+
},
|
|
101
|
+
variant: 'theme'
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
anchor: '#',
|
|
105
|
+
label: 'Milieu algemeen',
|
|
106
|
+
image: {
|
|
107
|
+
source: 'images/icon-tree.png',
|
|
108
|
+
alt: 'Boom'
|
|
109
|
+
},
|
|
110
|
+
variant: 'theme'
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
anchor: '#',
|
|
114
|
+
label: 'Natuur',
|
|
115
|
+
image: {
|
|
116
|
+
source: 'images/icon-tree.png',
|
|
117
|
+
alt: 'Boom'
|
|
118
|
+
},
|
|
119
|
+
variant: 'theme'
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
anchor: '#',
|
|
123
|
+
label: 'Procedures',
|
|
124
|
+
image: {
|
|
125
|
+
source: 'images/icon-tree.png',
|
|
126
|
+
alt: 'Boom'
|
|
127
|
+
},
|
|
128
|
+
variant: 'theme'
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
anchor: '#',
|
|
132
|
+
label: 'Water en watersystemen',
|
|
133
|
+
image: {
|
|
134
|
+
source: 'images/icon-tree.png',
|
|
135
|
+
alt: 'Boom'
|
|
136
|
+
},
|
|
137
|
+
variant: 'theme'
|
|
138
|
+
}
|
|
139
|
+
];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { StorybookParameters } from '../../stories-helpers';
|
|
2
|
+
|
|
3
|
+
import { tileGridArgTypes } from './tile-grid.args';
|
|
4
|
+
import { Tile } from '../..';
|
|
5
|
+
import { tiles } from './tile-grid.content';
|
|
6
|
+
|
|
7
|
+
export interface TileGridParameters<TemplateFnReturnType> {
|
|
8
|
+
tileGridDemoTemplate: (children: Tile[]) => TemplateFnReturnType;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function storiesOfTileGrid<TemplateFnReturnType>(
|
|
12
|
+
{
|
|
13
|
+
module: mainModule,
|
|
14
|
+
storiesOf,
|
|
15
|
+
readme
|
|
16
|
+
}: StorybookParameters,
|
|
17
|
+
{
|
|
18
|
+
tileGridDemoTemplate
|
|
19
|
+
}: TileGridParameters<TemplateFnReturnType>
|
|
20
|
+
) {
|
|
21
|
+
const stories = storiesOf('Tile Grid', mainModule)
|
|
22
|
+
.addParameters({
|
|
23
|
+
docs: {
|
|
24
|
+
page: readme
|
|
25
|
+
},
|
|
26
|
+
argTypes: tileGridArgTypes,
|
|
27
|
+
controls: {
|
|
28
|
+
hideNoControlsWarning: true
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
stories.add(
|
|
33
|
+
'Tile Grid',
|
|
34
|
+
() => tileGridDemoTemplate(tiles)
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { HandlerFunction } from "@storybook/addon-actions";
|
|
2
2
|
|
|
3
3
|
import { ArgTypes, noControl } from "../../stories-helpers";
|
|
4
|
+
import { tiles } from './viewer-grid.content';
|
|
4
5
|
|
|
5
|
-
import {
|
|
6
|
+
import { ViewerGridWithSearchResultsProperties, ViewerGridWithTilesProperties } from "./viewer-grid.models";
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
interface ViewerGridArgs {
|
|
8
9
|
overlayOpen: boolean;
|
|
10
|
+
filterpanelOpen: boolean;
|
|
9
11
|
noOverlay: boolean;
|
|
10
12
|
closeOverlay: HandlerFunction;
|
|
13
|
+
filterpanelCancel: HandlerFunction;
|
|
14
|
+
filterpanelApply: HandlerFunction;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ViewerGridWithSearchResultsArgs extends ViewerGridArgs {
|
|
11
18
|
filterblokDeleteActiveFilter: HandlerFunction;
|
|
12
19
|
allOptions: HandlerFunction;
|
|
13
20
|
documentHeaderFeaturesOpen: boolean;
|
|
@@ -15,7 +22,15 @@ export interface ViewerGridArgs {
|
|
|
15
22
|
documentHeaderFeatureAction: HandlerFunction;
|
|
16
23
|
}
|
|
17
24
|
|
|
18
|
-
export
|
|
25
|
+
export interface ViewerGridWithTilesArgs extends ViewerGridArgs {
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const viewerGridWithSearchResultsArgTypes: ArgTypes<ViewerGridWithSearchResultsArgs> = {
|
|
29
|
+
filterpanelOpen: {
|
|
30
|
+
control: {
|
|
31
|
+
type: "boolean",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
19
34
|
overlayOpen: {
|
|
20
35
|
control: {
|
|
21
36
|
type: "boolean",
|
|
@@ -52,12 +67,32 @@ export const viewerGridArgTypes: ArgTypes<ViewerGridArgs> = {
|
|
|
52
67
|
...noControl,
|
|
53
68
|
action: "filterblokDeleteActiveFilter",
|
|
54
69
|
},
|
|
70
|
+
filterpanelCancel: {
|
|
71
|
+
...noControl,
|
|
72
|
+
action: 'filterpanelCancel'
|
|
73
|
+
},
|
|
74
|
+
filterpanelApply: {
|
|
75
|
+
...noControl,
|
|
76
|
+
action: 'filterpanelApply'
|
|
77
|
+
},
|
|
55
78
|
};
|
|
56
79
|
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
|
|
80
|
+
export const viewerGridWithTilesArgTypes: ArgTypes<{}> = {
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function viewerGridWithSearchResultsDemoArgsMapper(
|
|
84
|
+
a: ViewerGridWithSearchResultsArgs
|
|
85
|
+
): ViewerGridWithSearchResultsProperties {
|
|
86
|
+
return {
|
|
87
|
+
...a,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function viewerGridWithTilesDemoArgsMapper(
|
|
92
|
+
a: ViewerGridWithTilesArgs
|
|
93
|
+
): ViewerGridWithTilesProperties {
|
|
60
94
|
return {
|
|
61
95
|
...a,
|
|
96
|
+
tiles
|
|
62
97
|
};
|
|
63
98
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { tiles } from '../tile-grid/tile-grid.content';
|