dso-toolkit 46.0.0 → 47.0.1
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/alert/alert.config.yml +3 -3
- package/components/Componenten/definition-list/definition-list.config.yml +31 -40
- package/components/Componenten/definition-list/definition-list.njk +3 -3
- package/components/Componenten/modal/modal.njk +1 -1
- package/components/Voorbeelden/10-Patronen/full-width.njk +1 -1
- package/components/Voorbeelden/10-Patronen/subtitel/subtitel.config.yml +2 -4
- package/components/Voorbeelden/20-Toepassingen/20-Samenwerken/actieverzoeken.config.yml +3 -3
- package/components/Voorbeelden/20-Toepassingen/40-Mijn-Omgevingsloket/Verzoek detail.config.yml +8 -8
- package/components/_previews/_alerts-validation/alerts-validation.njk +3 -3
- package/dist/library/@dso-toolkit/core/cjs/dso-accordion-section.cjs.entry.js +2 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-alert.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-card-container.cjs.entry.js +20 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-card.cjs.entry.js +49 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +3 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-icon.cjs.entry.js +70 -15
- package/dist/library/@dso-toolkit/core/cjs/dso-modal.cjs.entry.js +2 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +4 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-pagination.cjs.entry.js +2 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/is-modified-event-dcab03a0.js +6 -0
- package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +2 -0
- package/dist/library/@dso-toolkit/core/collection/components/accordion/components/accordion-section.css +11 -10
- package/dist/library/@dso-toolkit/core/collection/components/accordion/components/accordion-section.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/alert/alert.css +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/alert/alert.js +3 -3
- package/dist/library/@dso-toolkit/core/collection/components/card/card.css +27 -0
- package/dist/library/@dso-toolkit/core/collection/components/card/card.interfaces.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/card/card.js +112 -0
- package/dist/library/@dso-toolkit/core/collection/components/card-container/card-container.css +12 -0
- package/dist/library/@dso-toolkit/core/collection/components/card-container/card-container.interfaces.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/card-container/card-container.js +48 -0
- package/dist/library/@dso-toolkit/core/collection/components/header/header.css +4 -33
- package/dist/library/@dso-toolkit/core/collection/components/header/header.js +2 -1
- package/dist/library/@dso-toolkit/core/collection/components/icon/icon.js +6 -0
- package/dist/library/@dso-toolkit/core/collection/components/modal/modal.js +21 -3
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/figuur.node.js +1 -1
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.js +2 -1
- package/dist/library/@dso-toolkit/core/collection/utils/is-modified-event.js +2 -0
- package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +12 -0
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +150 -28
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-203fc66c.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-33df9903.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-46acc09f.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-78ee23c5.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8aa39e7f.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-9aa3fa9d.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-a608d3bd.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-ba253bcd.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c846d208.entry.js +1 -0
- package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-85d516c5.entry.js → library/@dso-toolkit/core/dso-toolkit/p-c96acfeb.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-accordion-section.entry.js +2 -1
- package/dist/library/@dso-toolkit/core/esm/dso-alert.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-card-container.entry.js +16 -0
- package/dist/library/@dso-toolkit/core/esm/dso-card.entry.js +45 -0
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +3 -2
- package/dist/library/@dso-toolkit/core/esm/dso-icon.entry.js +70 -15
- package/dist/library/@dso-toolkit/core/esm/dso-modal.entry.js +2 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +4 -4
- package/dist/library/@dso-toolkit/core/esm/dso-pagination.entry.js +2 -1
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/is-modified-event-34370220.js +4 -0
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/alert/alert.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/card/card.d.ts +11 -0
- package/dist/library/@dso-toolkit/core/types/components/card/card.interfaces.d.ts +5 -0
- package/dist/library/@dso-toolkit/core/types/components/card-container/card-container.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/card-container/card-container.interfaces.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/modal/modal.d.ts +3 -1
- package/dist/library/@dso-toolkit/core/types/components.d.ts +50 -4
- package/dist/library/@dso-toolkit/core/types/utils/is-modified-event.d.ts +2 -0
- package/dist/library/components/detail/actieverzoeken.html +3 -4
- package/dist/library/components/detail/{alert--danger.html → alert--error.html} +19 -19
- package/dist/library/components/detail/alert.html +5 -5
- package/dist/library/components/detail/alerts-validation.html +6 -6
- package/dist/library/components/detail/definition-list--accessibility.html +11 -11
- package/dist/library/components/detail/definition-list--bordered.html +20 -29
- package/dist/library/components/detail/definition-list--columns-1-3.html +7 -7
- package/dist/library/components/detail/definition-list--columns-2-2.html +7 -7
- package/dist/library/components/detail/definition-list--columns-3-1.html +6 -6
- package/dist/library/components/detail/definition-list--default.html +11 -11
- package/dist/library/components/detail/definition-list--emphasize-description.html +11 -11
- package/dist/library/components/detail/definition-list--three-columns-small-content.html +9 -9
- package/dist/library/components/detail/definition-list--three-columns.html +11 -11
- package/dist/library/components/detail/definition-list--two-columns-small-content.html +9 -9
- package/dist/library/components/detail/definition-list--two-columns.html +11 -11
- package/dist/library/components/detail/definition-list--vertical-emphasize-description.html +11 -11
- package/dist/library/components/detail/definition-list--vertical.html +11 -11
- package/dist/library/components/detail/definition-list--with-list-in-columns.html +3 -3
- package/dist/library/components/detail/definition-list.html +112 -121
- 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--header-in-legend.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/full-width.html +2 -2
- package/dist/library/components/detail/icon--status-error.html +1519 -0
- package/dist/library/components/detail/icon--status-warning-inline-negative.html +1519 -0
- package/dist/library/components/detail/icon--status-warning-inline.html +1519 -0
- package/dist/library/components/detail/icon-css--status-error.html +1523 -0
- package/dist/library/components/detail/icon-css--status-warning-inline-negative.html +1523 -0
- package/dist/library/components/detail/icon-css--status-warning-inline.html +1523 -0
- package/dist/library/components/detail/icon-css.html +27 -0
- package/dist/library/components/detail/icon.html +21 -0
- package/dist/library/components/detail/modal--dialog.html +2 -2
- package/dist/library/components/detail/modal--progress.html +2 -2
- package/dist/library/components/detail/modal.html +2 -2
- package/dist/library/components/detail/omgevingsoverleg.html +10 -11
- package/dist/library/components/detail/rich-content.html +0 -1
- package/dist/library/components/detail/subtitel--subtitel-before-definition-list.html +4 -6
- package/dist/library/components/detail/subtitel.html +4 -6
- package/dist/library/components/detail/verzoek-detail.html +20 -21
- package/dist/library/components/preview/actieverzoeken.html +0 -1
- package/dist/library/components/preview/{alert--danger.html → alert--error.html} +2 -2
- package/dist/library/components/preview/alert.html +4 -4
- package/dist/library/components/preview/alerts-validation.html +3 -3
- package/dist/library/components/preview/definition-list--bordered.html +9 -9
- package/dist/library/components/preview/definition-list--columns-2-2.html +5 -5
- package/dist/library/components/preview/definition-list--columns-3-1.html +4 -4
- package/dist/library/components/preview/definition-list--three-columns-small-content.html +7 -7
- package/dist/library/components/preview/definition-list.html +25 -25
- package/dist/library/components/preview/full-width.html +5 -6
- package/dist/library/components/preview/icon--status-error.html +74 -0
- package/dist/library/components/preview/icon--status-warning-inline-negative.html +74 -0
- package/dist/library/components/preview/icon--status-warning-inline.html +74 -0
- package/dist/library/components/preview/icon-css--status-error.html +76 -0
- package/dist/library/components/preview/icon-css--status-warning-inline-negative.html +76 -0
- package/dist/library/components/preview/icon-css--status-warning-inline.html +76 -0
- package/dist/library/components/preview/icon-css.html +24 -0
- package/dist/library/components/preview/icon.html +12 -0
- package/dist/library/components/preview/modal--dialog.html +1 -1
- package/dist/library/components/preview/modal--progress.html +1 -1
- package/dist/library/components/preview/modal.html +1 -1
- package/dist/library/components/preview/omgevingsoverleg.html +10 -11
- package/dist/library/components/preview/rich-content.html +0 -1
- package/dist/library/components/preview/subtitel--subtitel-before-definition-list.html +2 -2
- package/dist/library/components/preview/subtitel.html +2 -2
- package/dist/library/components/render/actieverzoeken.html +0 -1
- package/dist/library/components/render/{alert--danger.html → alert--error.html} +1 -1
- package/dist/library/components/render/alert.html +4 -4
- package/dist/library/components/render/alerts-validation.html +3 -3
- package/dist/library/components/render/definition-list--bordered.html +9 -9
- package/dist/library/components/render/definition-list--columns-2-2.html +5 -5
- package/dist/library/components/render/definition-list--columns-3-1.html +4 -4
- package/dist/library/components/render/definition-list--three-columns-small-content.html +7 -7
- package/dist/library/components/render/definition-list.html +25 -25
- package/dist/library/components/render/full-width.html +5 -6
- package/dist/library/components/render/icon--status-error.html +4 -0
- package/dist/library/components/render/icon--status-warning-inline-negative.html +4 -0
- package/dist/library/components/render/icon--status-warning-inline.html +4 -0
- package/dist/library/components/render/icon-css--status-error.html +6 -0
- package/dist/library/components/render/icon-css--status-warning-inline-negative.html +6 -0
- package/dist/library/components/render/icon-css--status-warning-inline.html +6 -0
- package/dist/library/components/render/icon-css.html +24 -0
- package/dist/library/components/render/icon.html +12 -0
- package/dist/library/components/render/modal--dialog.html +1 -1
- package/dist/library/components/render/modal--progress.html +1 -1
- package/dist/library/components/render/modal.html +1 -1
- package/dist/library/components/render/omgevingsoverleg.html +10 -11
- package/dist/library/components/render/rich-content.html +0 -1
- package/dist/library/components/render/subtitel--subtitel-before-definition-list.html +2 -2
- package/dist/library/components/render/subtitel.html +2 -2
- package/dist/library/dso-icons.svg +138 -55
- package/dist/library/styles/dso.css +242 -125
- 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-203fc66c.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-33df9903.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-46acc09f.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-78ee23c5.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-8aa39e7f.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-9aa3fa9d.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-a608d3bd.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-ba253bcd.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c846d208.entry.js +1 -0
- package/dist/{library/@dso-toolkit/core/dso-toolkit/p-85d516c5.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-c96acfeb.entry.js} +1 -1
- package/dist/toolkit/dso-icons.svg +138 -55
- package/dist/toolkit/styles/dso.css +242 -125
- package/libs/@dso-toolkit/css/dist/dso-icons.svg +138 -55
- package/libs/@dso-toolkit/css/src/components/accordion/accordion-theme-compact.scss +26 -25
- package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +4 -0
- package/libs/@dso-toolkit/css/src/components/alert/alert.scss +2 -2
- package/libs/@dso-toolkit/css/src/components/card/card.scss +45 -67
- package/libs/@dso-toolkit/css/src/components/card-container/card-container.scss +13 -0
- package/libs/@dso-toolkit/css/src/components/card-list/card-list.scss +5 -6
- package/libs/@dso-toolkit/css/src/components/form/form-groups/static/form-group-static.scss +9 -7
- package/libs/@dso-toolkit/css/src/components/list/list.scss +6 -3
- package/libs/@dso-toolkit/css/src/components/modal/modal.scss +1 -1
- package/libs/@dso-toolkit/css/src/dso.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.args.ts +6 -7
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.models.ts +5 -5
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.stories-of.ts +44 -38
- package/libs/@dso-toolkit/sources/src/components/alert/alert.args.ts +6 -10
- package/libs/@dso-toolkit/sources/src/components/alert/alert.mixins.scss +1 -1
- package/libs/@dso-toolkit/sources/src/components/alert/alert.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/alert/alert.stories-of.ts +65 -39
- package/libs/@dso-toolkit/sources/src/components/application-heading/application-heading.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/banner/banner.args.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/banner/banner.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/button/button.models.ts +4 -0
- package/libs/@dso-toolkit/sources/src/components/button-row/button-row.models.ts +2 -1
- package/libs/@dso-toolkit/sources/src/components/card/_index.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/card/card.args.ts +20 -26
- package/libs/@dso-toolkit/sources/src/components/card/card.content.ts +14 -0
- package/libs/@dso-toolkit/sources/src/components/card/card.mixins.scss +66 -0
- package/libs/@dso-toolkit/sources/src/components/card/card.models.ts +7 -2
- package/libs/@dso-toolkit/sources/src/components/card/card.stories-of.ts +14 -22
- package/libs/@dso-toolkit/sources/src/components/card-container/_index.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/card-container/card-container.args.ts +30 -0
- package/libs/@dso-toolkit/sources/src/components/card-container/card-container.content.ts +38 -0
- package/libs/@dso-toolkit/sources/src/components/card-container/card-container.models.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/card-container/card-container.stories-of.ts +35 -0
- package/libs/@dso-toolkit/sources/src/components/card-container/card-container.variables.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/card-grid/card-grid.args.ts +4 -2
- package/libs/@dso-toolkit/sources/src/components/card-grid/card-grid.stories-of.ts +5 -1
- package/libs/@dso-toolkit/sources/src/components/card-list/_index.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/card-list/card-list.args.ts +10 -12
- package/libs/@dso-toolkit/sources/src/components/card-list/card-list.content.ts +17 -0
- package/libs/@dso-toolkit/sources/src/components/card-list/card-list.stories-of.ts +5 -30
- package/libs/@dso-toolkit/{css → sources}/src/components/card-list/card-list.variables.scss +1 -1
- package/libs/@dso-toolkit/sources/src/components/definition-list/definition-list.args.ts +5 -15
- package/libs/@dso-toolkit/sources/src/components/definition-list/definition-list.models.ts +3 -4
- package/libs/@dso-toolkit/sources/src/components/definition-list/definition-list.stories-of.ts +144 -77
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-checkboxes.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-input.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-radios.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-search-bar.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-select.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-static.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/args/form-group-textarea.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-radios.model.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/form-buttons/form-buttons.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/header/header.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/helpcenter-panel/helpcenter-panel.args.ts +0 -7
- package/libs/@dso-toolkit/sources/src/components/helpcenter-panel/helpcenter-panel.models.ts +0 -1
- package/libs/@dso-toolkit/sources/src/components/helpcenter-panel/helpcenter-panel.stories-of.ts +0 -12
- package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.args.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/info/info.args.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/info/info.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/info-button/info-button.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/modal/modal.args.ts +17 -10
- package/libs/@dso-toolkit/sources/src/components/modal/modal.models.ts +4 -3
- package/libs/@dso-toolkit/sources/src/components/modal/modal.stories-of.ts +59 -19
- package/libs/@dso-toolkit/sources/src/components/pagination/pagination.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/row-equal-heights/row-equal-heights.content.ts +6 -6
- package/libs/@dso-toolkit/sources/src/components/selectable/selectable.args.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/selectable/selectable.models.ts +2 -1
- package/libs/@dso-toolkit/sources/src/components/table/table.args.ts +11 -6
- package/libs/@dso-toolkit/sources/src/components/table/table.models.ts +5 -4
- package/libs/@dso-toolkit/sources/src/components/table/table.stories-of.ts +26 -17
- package/libs/@dso-toolkit/sources/src/components/toggletip/toggletip.args.ts +5 -8
- package/libs/@dso-toolkit/sources/src/components/toggletip/toggletip.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/toggletip/toggletip.stories-of.ts +5 -19
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.args.ts +2 -2
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.models.ts +2 -2
- package/libs/@dso-toolkit/sources/src/icons/status-error.svg +10 -0
- package/libs/@dso-toolkit/sources/src/icons/status-info.svg +9 -5
- package/libs/@dso-toolkit/sources/src/icons/status-success.svg +8 -5
- package/libs/@dso-toolkit/sources/src/icons/status-warning-inline-negative.svg +12 -0
- package/libs/@dso-toolkit/sources/src/icons/status-warning-inline.svg +12 -0
- package/libs/@dso-toolkit/sources/src/icons/status-warning.svg +10 -5
- package/libs/@dso-toolkit/sources/src/index.ts +3 -0
- package/libs/@dso-toolkit/sources/src/storybook/index.ts +1 -0
- package/libs/@dso-toolkit/sources/src/storybook/stories-of-factory.ts +3 -8
- package/libs/@dso-toolkit/sources/src/template-container.ts +18 -6
- package/libs/@dso-toolkit/sources/storybook-assets/images/hands-on-trackpad.jpg +0 -0
- package/libs/@dso-toolkit/sources/storybook-assets/images/map-lved125.png +0 -0
- package/package.json +4 -4
- package/reference/render/actieverzoeken.html +0 -1
- package/reference/render/{alert--danger.html → alert--error.html} +1 -1
- package/reference/render/alerts-validation.html +3 -3
- package/reference/render/definition-list--bordered.html +9 -9
- package/reference/render/definition-list--columns-2-2.html +5 -5
- package/reference/render/definition-list--columns-3-1.html +4 -4
- package/reference/render/definition-list--three-columns-small-content.html +7 -7
- package/reference/render/full-width.html +5 -6
- package/reference/render/icon--status-error.html +1 -0
- package/reference/render/icon--status-warning-inline-negative.html +1 -0
- package/reference/render/icon--status-warning-inline.html +1 -0
- package/reference/render/icon-css--status-error.html +3 -0
- package/reference/render/icon-css--status-warning-inline-negative.html +3 -0
- package/reference/render/icon-css--status-warning-inline.html +3 -0
- package/reference/render/modal--dialog.html +1 -1
- package/reference/render/modal--progress.html +1 -1
- package/reference/render/omgevingsoverleg.html +10 -11
- package/reference/render/rich-content.html +0 -1
- package/reference/render/subtitel--subtitel-before-definition-list.html +2 -2
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-3bd6cf49.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-3ebba0dc.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-4b994946.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8c8286e6.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c4cf2359.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-dad32839.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-3bd6cf49.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-3ebba0dc.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-4b994946.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-8c8286e6.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c4cf2359.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-dad32839.entry.js +0 -1
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.content.ts +0 -162
- package/libs/@dso-toolkit/sources/src/components/alert/alert.content.ts +0 -12
- package/libs/@dso-toolkit/sources/src/components/card-grid/card-grid.demo.ts +0 -28
- package/libs/@dso-toolkit/sources/src/components/definition-list/definition-list.content.ts +0 -220
- package/libs/@dso-toolkit/sources/src/components/modal/modal.content.ts +0 -46
- package/libs/@dso-toolkit/sources/src/components/table/table.content.ts +0 -43
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { componentArgs } from "../../storybook";
|
|
2
1
|
import { StoriesOfArguments, storiesOfFactory } from "../../storybook/stories-of-factory";
|
|
3
|
-
|
|
4
2
|
import { CardArgs, cardArgsMapper, cardArgTypes } from "./card.args";
|
|
3
|
+
import { cardContent } from "./card.content";
|
|
5
4
|
import { Card } from "./card.models";
|
|
6
5
|
|
|
7
6
|
export interface CardTemplates<TemplateFnReturnType> {
|
|
8
7
|
cardTemplate: (cardProperties: Card<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
8
|
+
content: TemplateFnReturnType;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export function storiesOfCard<Implementation, Templates, TemplateFnReturnType>(
|
|
@@ -19,36 +19,28 @@ export function storiesOfCard<Implementation, Templates, TemplateFnReturnType>(
|
|
|
19
19
|
return storiesOfFactory("Card", storiesOfArguments, (stories, templateMapper) => {
|
|
20
20
|
stories.addParameters({
|
|
21
21
|
argTypes: cardArgTypes,
|
|
22
|
-
args: componentArgs<Omit<CardArgs, "image">>({
|
|
23
|
-
label: "Omgevingsplan Nieuwegein",
|
|
24
|
-
selectable: false,
|
|
25
|
-
content: "Gemeente Nieuwegein lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
26
|
-
interactions: [
|
|
27
|
-
{
|
|
28
|
-
variant: "tertiary",
|
|
29
|
-
label: "Toon informatie",
|
|
30
|
-
icon: {
|
|
31
|
-
icon: "info",
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
}),
|
|
36
22
|
});
|
|
37
23
|
|
|
38
|
-
const template = templateMapper<CardArgs>((args, { cardTemplate }) =>
|
|
24
|
+
const template = templateMapper<CardArgs>((args, { cardTemplate, content }) =>
|
|
25
|
+
cardTemplate(cardArgsMapper(args, content))
|
|
26
|
+
);
|
|
39
27
|
|
|
40
|
-
stories.add("default", template
|
|
28
|
+
stories.add("default", template, {
|
|
29
|
+
args: cardContent,
|
|
30
|
+
});
|
|
41
31
|
|
|
42
32
|
stories.add("selectable", template, {
|
|
43
|
-
args:
|
|
33
|
+
args: {
|
|
34
|
+
...cardContent,
|
|
44
35
|
selectable: true,
|
|
45
|
-
}
|
|
36
|
+
},
|
|
46
37
|
});
|
|
47
38
|
|
|
48
39
|
stories.add("with image", template, {
|
|
49
|
-
args:
|
|
40
|
+
args: {
|
|
41
|
+
...cardContent,
|
|
50
42
|
image: "images/rectangle1.png",
|
|
51
|
-
}
|
|
43
|
+
},
|
|
52
44
|
});
|
|
53
45
|
});
|
|
54
46
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "card-container.variables";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ArgTypes, noControl } from "../../storybook";
|
|
2
|
+
import { CardArgs, cardArgsMapper } from "../card/card.args";
|
|
3
|
+
import { CardContainer, CardContainerMode } from "./card-container.models";
|
|
4
|
+
|
|
5
|
+
export interface CardContainerArgs {
|
|
6
|
+
mode: CardContainerMode;
|
|
7
|
+
cards: CardArgs[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const cardContainerArgTypes: ArgTypes<CardContainerArgs> = {
|
|
11
|
+
mode: {
|
|
12
|
+
options: ["list", "grid"],
|
|
13
|
+
control: {
|
|
14
|
+
type: "select",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
cards: {
|
|
18
|
+
...noControl,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export function cardContainerArgsMapper<TemplateFnReturnType>(
|
|
23
|
+
a: CardContainerArgs,
|
|
24
|
+
content: TemplateFnReturnType[]
|
|
25
|
+
): CardContainer<TemplateFnReturnType> {
|
|
26
|
+
return {
|
|
27
|
+
...a,
|
|
28
|
+
cards: a.cards.map((card, index) => cardArgsMapper(card, content[index])),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const cardContainerContent = {
|
|
2
|
+
cards: [
|
|
3
|
+
{
|
|
4
|
+
label: "Begrippen uit de Omgevingswet",
|
|
5
|
+
selectable: true,
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
label: "Activiteiten",
|
|
9
|
+
selectable: false,
|
|
10
|
+
interactions: [
|
|
11
|
+
{
|
|
12
|
+
variant: "tertiary",
|
|
13
|
+
label: "Toon informatie",
|
|
14
|
+
icon: {
|
|
15
|
+
icon: "info",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: "Werkzaamheden",
|
|
22
|
+
selectable: false,
|
|
23
|
+
image: "images/rectangle1.png",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Waardelijsten",
|
|
27
|
+
selectable: false,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: "Bronnen",
|
|
31
|
+
selectable: false,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "Informatieproducten",
|
|
35
|
+
selectable: false,
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { StoriesOfArguments, storiesOfFactory } from "../../storybook/stories-of-factory";
|
|
2
|
+
import { CardContainerArgs, cardContainerArgsMapper, cardContainerArgTypes } from "./card-container.args";
|
|
3
|
+
import { cardContainerContent } from "./card-container.content";
|
|
4
|
+
import { CardContainer } from "./card-container.models";
|
|
5
|
+
|
|
6
|
+
export interface CardContainerTemplates<TemplateFnReturnType> {
|
|
7
|
+
cardContainerTemplate: (cardContainerProperties: CardContainer<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
8
|
+
content: TemplateFnReturnType[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function storiesOfCardContainer<Implementation, Templates, TemplateFnReturnType>(
|
|
12
|
+
storiesOfArguments: StoriesOfArguments<
|
|
13
|
+
Implementation,
|
|
14
|
+
Templates,
|
|
15
|
+
TemplateFnReturnType,
|
|
16
|
+
CardContainerTemplates<TemplateFnReturnType>
|
|
17
|
+
>
|
|
18
|
+
) {
|
|
19
|
+
return storiesOfFactory("Card Container", storiesOfArguments, (stories, templateMapper) => {
|
|
20
|
+
stories.addParameters({
|
|
21
|
+
argTypes: cardContainerArgTypes,
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const template = templateMapper<CardContainerArgs>((args, { cardContainerTemplate, content }) =>
|
|
25
|
+
cardContainerTemplate(cardContainerArgsMapper(args, content))
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
stories.add("Card List", template, {
|
|
29
|
+
args: { ...cardContainerContent, mode: "list" },
|
|
30
|
+
});
|
|
31
|
+
stories.add("Card Grid", template, {
|
|
32
|
+
args: { ...cardContainerContent, mode: "grid" },
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "../card-list/card-list.variables.scss";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Card } from "../card/card.models";
|
|
2
2
|
import { CardGrid } from "./card-grid.models";
|
|
3
3
|
|
|
4
|
-
export function cardGridArgsMapper
|
|
4
|
+
export function cardGridArgsMapper<TemplateFnReturnType>(
|
|
5
|
+
cards: Card<TemplateFnReturnType>[]
|
|
6
|
+
): CardGrid<TemplateFnReturnType> {
|
|
5
7
|
return {
|
|
6
8
|
cards,
|
|
7
9
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { StoriesOfArguments, storiesOfFactory } from "../../storybook/stories-of-factory";
|
|
2
2
|
|
|
3
|
+
import { Card } from "../card/card.models";
|
|
3
4
|
import { cardGridArgsMapper } from "./card-grid.args";
|
|
4
5
|
import { CardGrid } from "./card-grid.models";
|
|
5
6
|
|
|
6
7
|
export interface CardGridTemplates<TemplateFnReturnType> {
|
|
7
8
|
cardGridTemplate: (cardProperties: CardGrid<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
9
|
+
cards: Card<TemplateFnReturnType>[];
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
export function storiesOfCardGrid<Implementation, Templates, TemplateFnReturnType>(
|
|
@@ -16,7 +18,9 @@ export function storiesOfCardGrid<Implementation, Templates, TemplateFnReturnTyp
|
|
|
16
18
|
>
|
|
17
19
|
) {
|
|
18
20
|
return storiesOfFactory("Card Grid", storiesOfArguments, (stories, templateMapper) => {
|
|
19
|
-
const template = templateMapper((_args, { cardGridTemplate }) =>
|
|
21
|
+
const template = templateMapper((_args, { cardGridTemplate, cards }) =>
|
|
22
|
+
cardGridTemplate(cardGridArgsMapper(cards))
|
|
23
|
+
);
|
|
20
24
|
|
|
21
25
|
stories.add("Card Grid", template);
|
|
22
26
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "card-list.variables";
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import { ArgTypes } from "../../storybook";
|
|
2
|
-
|
|
3
|
-
import { Card } from "../card/card.models";
|
|
4
|
-
|
|
1
|
+
import { ArgTypes, noControl } from "../../storybook";
|
|
2
|
+
import { CardArgs, cardArgsMapper } from "../card/card.args";
|
|
5
3
|
import { CardList } from "./card-list.models";
|
|
6
4
|
|
|
7
|
-
export interface CardListArgs
|
|
8
|
-
cards:
|
|
5
|
+
export interface CardListArgs {
|
|
6
|
+
cards: CardArgs[];
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
export const cardListArgTypes: ArgTypes<CardListArgs
|
|
9
|
+
export const cardListArgTypes: ArgTypes<CardListArgs> = {
|
|
12
10
|
cards: {
|
|
13
|
-
|
|
14
|
-
disable: true,
|
|
15
|
-
},
|
|
11
|
+
...noControl,
|
|
16
12
|
},
|
|
17
13
|
};
|
|
18
14
|
|
|
19
15
|
export function cardListArgsMapper<TemplateFnReturnType>(
|
|
20
|
-
a: CardListArgs
|
|
16
|
+
a: CardListArgs,
|
|
17
|
+
content: TemplateFnReturnType[]
|
|
21
18
|
): CardList<TemplateFnReturnType> {
|
|
22
19
|
return {
|
|
23
|
-
|
|
20
|
+
...a,
|
|
21
|
+
cards: a.cards.map((card, index) => cardArgsMapper(card, content[index])),
|
|
24
22
|
};
|
|
25
23
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const cardListContent = {
|
|
2
|
+
cards: [
|
|
3
|
+
{
|
|
4
|
+
label: "Omgevingsplan Nieuwegein",
|
|
5
|
+
selectable: true,
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
label: "Brouwersmolen",
|
|
9
|
+
selectable: false,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
label: "Maximum bouwhoogte",
|
|
13
|
+
selectable: false,
|
|
14
|
+
image: "images/rectangle1.png",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { StoriesOfArguments, storiesOfFactory } from "../../storybook/stories-of-factory";
|
|
2
|
-
|
|
3
2
|
import { CardListArgs, cardListArgsMapper, cardListArgTypes } from "./card-list.args";
|
|
3
|
+
import { cardListContent } from "./card-list.content";
|
|
4
4
|
import { CardList } from "./card-list.models";
|
|
5
5
|
|
|
6
6
|
export interface CardListTemplates<TemplateFnReturnType> {
|
|
7
7
|
cardListTemplate: (cardListProperties: CardList<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
8
|
+
content: TemplateFnReturnType[];
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export function storiesOfCardList<Implementation, Templates, TemplateFnReturnType>(
|
|
@@ -18,38 +19,12 @@ export function storiesOfCardList<Implementation, Templates, TemplateFnReturnTyp
|
|
|
18
19
|
return storiesOfFactory("Card List", storiesOfArguments, (stories, templateMapper) => {
|
|
19
20
|
stories.addParameters({
|
|
20
21
|
argTypes: cardListArgTypes,
|
|
21
|
-
args: {
|
|
22
|
-
cards: [
|
|
23
|
-
{
|
|
24
|
-
label: "Omgevingsplan Nieuwegein",
|
|
25
|
-
content: "Gemeente Nieuwegein lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
label: "Brouwersmolen",
|
|
29
|
-
content: "Brouwersmolen eget iaculis nisi quam in libero.",
|
|
30
|
-
interactions: [
|
|
31
|
-
{
|
|
32
|
-
variant: "tertiary",
|
|
33
|
-
label: "Toon informatie",
|
|
34
|
-
icon: {
|
|
35
|
-
icon: "info",
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: "Maximum bouwhoogte",
|
|
42
|
-
content: "Maximum bouwhoogte: 13m",
|
|
43
|
-
image: "images/rectangle1.png",
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
22
|
});
|
|
48
23
|
|
|
49
|
-
const template = templateMapper<CardListArgs
|
|
50
|
-
cardListTemplate(cardListArgsMapper(args))
|
|
24
|
+
const template = templateMapper<CardListArgs>((args, { cardListTemplate, content }) =>
|
|
25
|
+
cardListTemplate(cardListArgsMapper(args, content))
|
|
51
26
|
);
|
|
52
27
|
|
|
53
|
-
stories.add("Card List", template);
|
|
28
|
+
stories.add("Card List", template, { args: cardListContent });
|
|
54
29
|
});
|
|
55
30
|
}
|
|
@@ -4,32 +4,22 @@ import { Definition, DefinitionList } from "./definition-list.models";
|
|
|
4
4
|
|
|
5
5
|
export interface DefinitionListArgs {
|
|
6
6
|
modifier?: string;
|
|
7
|
-
definitions: Definition[];
|
|
8
|
-
useSrOnlyColon: boolean;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
export const definitionListArgTypes: ArgTypes<DefinitionListArgs> = {
|
|
12
|
-
definitions: {
|
|
13
|
-
control: {
|
|
14
|
-
disable: true,
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
10
|
modifier: {
|
|
18
11
|
control: {
|
|
19
12
|
type: "text",
|
|
20
13
|
},
|
|
21
14
|
},
|
|
22
|
-
useSrOnlyColon: {
|
|
23
|
-
control: {
|
|
24
|
-
type: "boolean",
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
15
|
};
|
|
28
16
|
|
|
29
|
-
export function definitionListArgsMapper(
|
|
17
|
+
export function definitionListArgsMapper<TemplateFnReturnType>(
|
|
18
|
+
a: DefinitionListArgs,
|
|
19
|
+
definitions: Definition<TemplateFnReturnType>[]
|
|
20
|
+
): DefinitionList<TemplateFnReturnType> {
|
|
30
21
|
return {
|
|
31
|
-
definitions
|
|
22
|
+
definitions,
|
|
32
23
|
modifier: a.modifier,
|
|
33
|
-
useSrOnlyColon: a.useSrOnlyColon,
|
|
34
24
|
};
|
|
35
25
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { List } from "../list/list.models";
|
|
2
2
|
|
|
3
|
-
export interface DefinitionList<TemplateFnReturnType
|
|
3
|
+
export interface DefinitionList<TemplateFnReturnType> {
|
|
4
4
|
modifier?: string;
|
|
5
5
|
definitions: Definition<TemplateFnReturnType>[];
|
|
6
|
-
useSrOnlyColon: boolean;
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
export interface Definition<TemplateFnReturnType
|
|
10
|
-
term:
|
|
8
|
+
export interface Definition<TemplateFnReturnType> {
|
|
9
|
+
term: TemplateFnReturnType;
|
|
11
10
|
descriptions: (DefinitionDescriptionContent<TemplateFnReturnType> | DefinitionDescriptionItems)[];
|
|
12
11
|
}
|
|
13
12
|
|
package/libs/@dso-toolkit/sources/src/components/definition-list/definition-list.stories-of.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { StoriesOfArguments, storiesOfFactory } from "../../storybook/stories-of-factory";
|
|
2
2
|
|
|
3
3
|
import { DefinitionListArgs, definitionListArgsMapper, definitionListArgTypes } from "./definition-list.args";
|
|
4
|
-
import {
|
|
5
|
-
import { DefinitionList } from "./definition-list.models";
|
|
4
|
+
import { Definition, DefinitionList } from "./definition-list.models";
|
|
6
5
|
|
|
7
6
|
export interface DefinitionListTemplates<TemplateFnReturnType> {
|
|
8
|
-
definitionListTemplate: (definitionListProperties: DefinitionList) => TemplateFnReturnType;
|
|
7
|
+
definitionListTemplate: (definitionListProperties: DefinitionList<TemplateFnReturnType>) => TemplateFnReturnType;
|
|
8
|
+
definitions: Definition<TemplateFnReturnType>[];
|
|
9
|
+
definitionsSrOnlyColon: Definition<TemplateFnReturnType>[];
|
|
10
|
+
columnDefinitions: Definition<TemplateFnReturnType>[];
|
|
11
|
+
smallContentDefinitions: Definition<TemplateFnReturnType>[];
|
|
12
|
+
listDefinitions: Definition<TemplateFnReturnType>[];
|
|
9
13
|
}
|
|
10
14
|
|
|
11
15
|
export function storiesOfDefinitionList<Implementation, Templates, TemplateFnReturnType>(
|
|
@@ -19,94 +23,157 @@ export function storiesOfDefinitionList<Implementation, Templates, TemplateFnRet
|
|
|
19
23
|
return storiesOfFactory("Definition List", storiesOfArguments, (stories, templateMapper) => {
|
|
20
24
|
stories.addParameters({
|
|
21
25
|
argTypes: definitionListArgTypes,
|
|
22
|
-
args: {
|
|
23
|
-
definitions,
|
|
24
|
-
},
|
|
25
26
|
});
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
stories.add(
|
|
29
|
+
"default",
|
|
30
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitions }) =>
|
|
31
|
+
definitionListTemplate(definitionListArgsMapper(args, definitions))
|
|
32
|
+
)
|
|
29
33
|
);
|
|
30
34
|
|
|
31
|
-
stories.add(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
stories.add(
|
|
36
|
+
"vertical",
|
|
37
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitions }) =>
|
|
38
|
+
definitionListTemplate(definitionListArgsMapper(args, definitions))
|
|
39
|
+
),
|
|
40
|
+
{
|
|
41
|
+
args: {
|
|
42
|
+
modifier: "dso-vertical",
|
|
43
|
+
},
|
|
44
|
+
}
|
|
45
|
+
);
|
|
38
46
|
|
|
39
|
-
stories.add(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
47
|
+
stories.add(
|
|
48
|
+
"emphasize description",
|
|
49
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitions }) =>
|
|
50
|
+
definitionListTemplate(definitionListArgsMapper(args, definitions))
|
|
51
|
+
),
|
|
52
|
+
{
|
|
53
|
+
args: {
|
|
54
|
+
modifier: "dso-emphasize-description",
|
|
55
|
+
},
|
|
56
|
+
}
|
|
57
|
+
);
|
|
44
58
|
|
|
45
|
-
stories.add(
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
59
|
+
stories.add(
|
|
60
|
+
"vertical with emphasized description",
|
|
61
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitions }) =>
|
|
62
|
+
definitionListTemplate(definitionListArgsMapper(args, definitions))
|
|
63
|
+
),
|
|
64
|
+
{
|
|
65
|
+
args: {
|
|
66
|
+
modifier: "dso-vertical dso-emphasize-description",
|
|
67
|
+
},
|
|
68
|
+
}
|
|
69
|
+
);
|
|
50
70
|
|
|
51
|
-
stories.add(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
71
|
+
stories.add(
|
|
72
|
+
"columns 1-3",
|
|
73
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, columnDefinitions }) =>
|
|
74
|
+
definitionListTemplate(definitionListArgsMapper(args, columnDefinitions))
|
|
75
|
+
),
|
|
76
|
+
{
|
|
77
|
+
args: {
|
|
78
|
+
modifier: "dso-columns-1-3 dso-with-header",
|
|
79
|
+
},
|
|
80
|
+
}
|
|
81
|
+
);
|
|
57
82
|
|
|
58
|
-
stories.add(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
83
|
+
stories.add(
|
|
84
|
+
"columns 2-2",
|
|
85
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, columnDefinitions }) =>
|
|
86
|
+
definitionListTemplate(definitionListArgsMapper(args, columnDefinitions))
|
|
87
|
+
),
|
|
88
|
+
{
|
|
89
|
+
args: {
|
|
90
|
+
modifier: "dso-columns-2-2 dso-with-header",
|
|
91
|
+
},
|
|
92
|
+
}
|
|
93
|
+
);
|
|
64
94
|
|
|
65
|
-
stories.add(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
95
|
+
stories.add(
|
|
96
|
+
"columns 3-1",
|
|
97
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, columnDefinitions }) =>
|
|
98
|
+
definitionListTemplate(definitionListArgsMapper(args, columnDefinitions))
|
|
99
|
+
),
|
|
100
|
+
{
|
|
101
|
+
args: {
|
|
102
|
+
modifier: "dso-columns-3-1",
|
|
103
|
+
},
|
|
104
|
+
}
|
|
105
|
+
);
|
|
71
106
|
|
|
72
|
-
stories.add(
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
107
|
+
stories.add(
|
|
108
|
+
"two columns small-content",
|
|
109
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, smallContentDefinitions }) =>
|
|
110
|
+
definitionListTemplate(definitionListArgsMapper(args, smallContentDefinitions))
|
|
111
|
+
),
|
|
112
|
+
{
|
|
113
|
+
args: {
|
|
114
|
+
modifier: "dso-columns dso-2-columns",
|
|
115
|
+
},
|
|
116
|
+
}
|
|
117
|
+
);
|
|
78
118
|
|
|
79
|
-
stories.add(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
119
|
+
stories.add(
|
|
120
|
+
"two columns",
|
|
121
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitions }) =>
|
|
122
|
+
definitionListTemplate(definitionListArgsMapper(args, definitions))
|
|
123
|
+
),
|
|
124
|
+
{
|
|
125
|
+
args: {
|
|
126
|
+
modifier: "dso-columns dso-2-columns",
|
|
127
|
+
},
|
|
128
|
+
}
|
|
129
|
+
);
|
|
84
130
|
|
|
85
|
-
stories.add(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
131
|
+
stories.add(
|
|
132
|
+
"three columns small-content",
|
|
133
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, smallContentDefinitions }) =>
|
|
134
|
+
definitionListTemplate(definitionListArgsMapper(args, smallContentDefinitions))
|
|
135
|
+
),
|
|
136
|
+
{
|
|
137
|
+
args: {
|
|
138
|
+
modifier: "dso-columns dso-3-columns",
|
|
139
|
+
},
|
|
140
|
+
}
|
|
141
|
+
);
|
|
91
142
|
|
|
92
|
-
stories.add(
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
143
|
+
stories.add(
|
|
144
|
+
"three columns",
|
|
145
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitions }) =>
|
|
146
|
+
definitionListTemplate(definitionListArgsMapper(args, definitions))
|
|
147
|
+
),
|
|
148
|
+
{
|
|
149
|
+
args: {
|
|
150
|
+
modifier: "dso-columns dso-3-columns",
|
|
151
|
+
},
|
|
152
|
+
}
|
|
153
|
+
);
|
|
97
154
|
|
|
98
|
-
stories.add(
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
155
|
+
stories.add(
|
|
156
|
+
"bordered",
|
|
157
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, definitionsSrOnlyColon }) =>
|
|
158
|
+
definitionListTemplate(definitionListArgsMapper(args, definitionsSrOnlyColon))
|
|
159
|
+
),
|
|
160
|
+
{
|
|
161
|
+
args: {
|
|
162
|
+
modifier: "dso-bordered",
|
|
163
|
+
},
|
|
164
|
+
}
|
|
165
|
+
);
|
|
104
166
|
|
|
105
|
-
stories.add(
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
167
|
+
stories.add(
|
|
168
|
+
"columns list",
|
|
169
|
+
templateMapper<DefinitionListArgs>((args, { definitionListTemplate, listDefinitions }) =>
|
|
170
|
+
definitionListTemplate(definitionListArgsMapper(args, listDefinitions))
|
|
171
|
+
),
|
|
172
|
+
{
|
|
173
|
+
args: {
|
|
174
|
+
modifier: "dso-columns-list",
|
|
175
|
+
},
|
|
176
|
+
}
|
|
177
|
+
);
|
|
111
178
|
});
|
|
112
179
|
}
|