dso-toolkit 39.0.0 → 41.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/form/form.config.yml +72 -0
- package/components/Componenten/form-elements/group-search-bar.config.yml +2 -0
- package/components/Componenten/form-elements/group-search-bar.njk +1 -1
- package/components/Voorbeelden/10-Patronen/zoeken-in-lijst-cards.njk +5 -4
- package/dist/library/@dso-toolkit/core/cjs/dso-date-picker.cjs.entry.js +25 -10
- package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +3 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/cjs/dso-map-base-layers.cjs.entry.js +3 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-map-overlays.cjs.entry.js +3 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-pagination.cjs.entry.js +38 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-responsive-element.cjs.entry.js +44 -0
- package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
- package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +40 -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/date-picker/date-picker.js +25 -10
- package/dist/library/@dso-toolkit/core/collection/components/header/header.js +21 -2
- package/dist/library/@dso-toolkit/core/collection/components/map-base-layers/map-base-layers.js +21 -1
- package/dist/library/@dso-toolkit/core/collection/components/map-overlays/map-overlays.js +21 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +4 -1
- package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.template.js +3 -3
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.css +68 -0
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.interfaces.js +1 -0
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.js +114 -0
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.stories.js +11 -0
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.template.js +11 -0
- package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.css +3 -0
- package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.js +46 -0
- package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.stories.js +57 -0
- package/dist/library/@dso-toolkit/core/collection/components/responsive-element/responsive-element.template.js +8 -0
- package/dist/library/@dso-toolkit/core/collection/components/selectable/selectable.js +5 -4
- package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.js +60 -0
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/example-pages/viewer-grid-document-header.example-template.js +15 -164
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/example-pages/viewer-grid-document-list.example-template.js +12 -0
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +2 -2
- package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +12 -0
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +157 -24
- 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-02272301.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-0777c1c4.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-09b53589.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-202bd676.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-336bf5b9.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-150fe323.entry.js → p-37e12c3c.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-3ad06d9d.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b1dc8d76.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/dso-toolkit/{p-a8cf15cf.entry.js → p-f1026921.entry.js} +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-date-picker.entry.js +25 -10
- package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +3 -2
- package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-map-base-layers.entry.js +3 -1
- package/dist/library/@dso-toolkit/core/esm/dso-map-overlays.entry.js +3 -1
- package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +2 -2
- package/dist/library/@dso-toolkit/core/esm/dso-pagination.entry.js +34 -0
- package/dist/library/@dso-toolkit/core/esm/dso-responsive-element.entry.js +40 -0
- package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
- package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +40 -0
- package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
- package/dist/library/@dso-toolkit/core/types/components/date-picker/date-picker.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/header/header.d.ts +7 -0
- package/dist/library/@dso-toolkit/core/types/components/map-base-layers/map-base-layers.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/map-overlays/map-overlays.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.template.d.ts +1 -1
- package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.d.ts +22 -0
- package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.interfaces.d.ts +8 -0
- package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.stories.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.template.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components/responsive-element/responsive-element.d.ts +10 -0
- package/dist/library/@dso-toolkit/core/types/components/responsive-element/responsive-element.stories.d.ts +1 -0
- package/dist/library/@dso-toolkit/core/types/components/responsive-element/responsive-element.template.d.ts +3 -0
- package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.d.ts +6 -0
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/example-pages/viewer-grid-document-list.example-template.d.ts +2 -0
- package/dist/library/@dso-toolkit/core/types/components.d.ts +72 -1
- package/dist/library/components/detail/form--autocomplete.html +1 -1
- package/dist/library/components/detail/form--form-horizontal.html +2 -2
- package/dist/library/components/detail/form--form-vertical.html +2 -2
- package/dist/library/components/detail/form--header-in-legend.html +1812 -0
- 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 +299 -3
- package/dist/library/components/detail/group-search-bar--default.html +2 -2
- package/dist/library/components/detail/group-search-bar--search-bar-allmessages.html +4 -3
- package/dist/library/components/detail/group-search-bar--search-bar-error.html +4 -3
- package/dist/library/components/detail/group-search-bar--search-bar-help.html +2 -2
- package/dist/library/components/detail/group-search-bar--search-bar-infobutton-expanded.html +2 -2
- package/dist/library/components/detail/group-search-bar--search-bar-infobutton.html +2 -2
- package/dist/library/components/detail/group-search-bar--search-bar-static-info.html +2 -2
- package/dist/library/components/detail/group-search-bar.html +12 -10
- package/dist/library/components/detail/zoeken-in-lijst-cards.html +10 -8
- package/dist/library/components/preview/form--form-horizontal.html +2 -2
- package/dist/library/components/preview/form--form-vertical.html +2 -2
- package/dist/library/components/preview/form--header-in-legend.html +567 -0
- package/dist/library/components/preview/form.html +282 -4
- package/dist/library/components/preview/group-search-bar--default.html +1 -1
- package/dist/library/components/preview/group-search-bar--search-bar-allmessages.html +2 -2
- package/dist/library/components/preview/group-search-bar--search-bar-error.html +2 -2
- package/dist/library/components/preview/group-search-bar--search-bar-help.html +1 -1
- package/dist/library/components/preview/group-search-bar--search-bar-infobutton-expanded.html +1 -1
- package/dist/library/components/preview/group-search-bar--search-bar-infobutton.html +1 -1
- package/dist/library/components/preview/group-search-bar--search-bar-static-info.html +1 -1
- package/dist/library/components/preview/group-search-bar.html +9 -9
- package/dist/library/components/preview/zoeken-in-lijst-cards.html +8 -6
- package/dist/library/components/render/form--form-horizontal.html +1 -1
- package/dist/library/components/render/form--form-vertical.html +1 -1
- package/dist/library/components/render/form--header-in-legend.html +551 -0
- package/dist/library/components/render/form.html +559 -2
- package/dist/library/components/render/group-search-bar--default.html +1 -1
- package/dist/library/components/render/group-search-bar--search-bar-allmessages.html +2 -2
- package/dist/library/components/render/group-search-bar--search-bar-error.html +2 -2
- package/dist/library/components/render/group-search-bar--search-bar-help.html +1 -1
- package/dist/library/components/render/group-search-bar--search-bar-infobutton-expanded.html +1 -1
- package/dist/library/components/render/group-search-bar--search-bar-infobutton.html +1 -1
- package/dist/library/components/render/group-search-bar--search-bar-static-info.html +1 -1
- package/dist/library/components/render/group-search-bar.html +9 -9
- package/dist/library/components/render/zoeken-in-lijst-cards.html +5 -4
- package/dist/library/dso-icons.svg +421 -387
- package/dist/library/styles/dso.css +871 -691
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-02272301.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-0777c1c4.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-09b53589.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-202bd676.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-336bf5b9.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-150fe323.entry.js → p-37e12c3c.entry.js} +1 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-3ad06d9d.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-b1dc8d76.entry.js +1 -0
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-a8cf15cf.entry.js → p-f1026921.entry.js} +1 -1
- package/dist/toolkit/dso-icons.svg +421 -387
- package/dist/toolkit/styles/dso.css +871 -691
- package/hydrate/index.js +173 -19
- package/libs/@dso-toolkit/css/dist/dso-icons.svg +421 -387
- package/libs/@dso-toolkit/css/src/components/document-header/document-header.scss +122 -0
- package/libs/@dso-toolkit/css/src/components/document-list/document-list.scss +63 -0
- package/libs/@dso-toolkit/css/src/components/form/fieldset.scss +1 -0
- package/libs/@dso-toolkit/css/src/components/form/form-group.scss +22 -13
- package/libs/@dso-toolkit/css/src/components/form/form-groups/confirm/form-group-confirm.scss +22 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/files/form-group-files.scss +142 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/input-number/form-group-input-number.scss +21 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/search-bar/form-group-search-bar.scss +17 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/select/form-group-select.scss +38 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/static/form-group-static.scss +30 -0
- package/libs/@dso-toolkit/css/src/components/form/form-groups/textarea/form-group-textarea.scss +32 -0
- package/libs/@dso-toolkit/css/src/components/form/form.scss +7 -0
- package/libs/@dso-toolkit/css/src/components/justify-form-groups/justify-form-groups.scss +26 -0
- package/libs/@dso-toolkit/css/src/components/pagination/pagination.scss +1 -93
- package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.scss +5 -0
- package/{src/styles/components/_tabs.scss → libs/@dso-toolkit/css/src/components/tabs/tabs.scss} +69 -5
- package/libs/@dso-toolkit/css/src/components/tile-grid/tile-grid.scss +14 -0
- package/libs/@dso-toolkit/css/src/dso.scss +4 -0
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.args.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.models.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/accordion/accordion.stories.ts +5 -18
- package/libs/@dso-toolkit/sources/src/components/conclusion/conclusion.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/document-header/document-header.args.ts +31 -0
- package/libs/@dso-toolkit/sources/src/components/document-header/document-header.models.ts +13 -0
- package/libs/@dso-toolkit/sources/src/components/document-header/document-header.stories.ts +48 -0
- package/libs/@dso-toolkit/sources/src/components/document-list/document-list.args.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/document-list/document-list.content.ts +30 -0
- package/libs/@dso-toolkit/sources/src/components/document-list/document-list.models.ts +17 -0
- package/libs/@dso-toolkit/sources/src/components/document-list/document-list.stories.ts +36 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/confirm.content.ts +10 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/files.content.ts +28 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/input-number.content.ts +11 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/search-bar.content.ts +12 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/select.content.ts +66 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/static.content.ts +12 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/textarea.content.ts +14 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/confirm/form-group-confirm.args.ts +80 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/files/form-group-files.args.ts +76 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/input-number/form-group-input-number.args.ts +73 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/search-bar/form-group-search-bar.args.ts +124 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/select/form-group-select.args.ts +130 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/static/form-group-static.args.ts +93 -0
- package/libs/@dso-toolkit/sources/src/components/form/form-groups/textarea/form-group-textarea.args.ts +155 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.args.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.models.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +120 -8
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-confirm.model.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-files.model.ts +15 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-input-number.model.ts +13 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-search-bar.model.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-select.model.ts +23 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-static.model.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group-textarea.model.ts +11 -0
- package/libs/@dso-toolkit/sources/src/components/form/models/form-group.model.ts +19 -2
- package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +1 -1
- package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.args.ts +15 -0
- package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.content.ts +44 -0
- package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.models.ts +7 -0
- package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.stories.ts +33 -0
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +16 -2
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +3 -1
- package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/pagination/pagination.args.ts +16 -6
- package/libs/@dso-toolkit/sources/src/components/pagination/pagination.models.ts +13 -2
- package/libs/@dso-toolkit/sources/src/components/pagination/pagination.scss +101 -0
- package/libs/@dso-toolkit/sources/src/components/pagination/pagination.stories.ts +9 -7
- package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.args.ts +8 -0
- package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.stories.ts +37 -0
- package/libs/@dso-toolkit/sources/src/components/search-bar/search-bar.models.ts +7 -6
- package/libs/@dso-toolkit/sources/src/components/tabs/tabs.args.ts +19 -0
- package/libs/@dso-toolkit/sources/src/components/tabs/tabs.models.ts +9 -0
- package/libs/@dso-toolkit/sources/src/components/tabs/tabs.stories.ts +86 -0
- package/libs/@dso-toolkit/sources/src/components/tile/tile.scss +6 -1
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.args.ts +9 -1
- package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.models.ts +3 -0
- package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.stories.ts +6 -4
- package/libs/@dso-toolkit/sources/src/components.scss +1 -0
- package/libs/@dso-toolkit/sources/src/index.ts +10 -0
- package/libs/@dso-toolkit/sources/src/styling/global/table.scss +9 -0
- package/libs/@dso-toolkit/sources/src/styling/grid/grid.scss +56 -0
- package/libs/@dso-toolkit/sources/src/styling/variables/colors.scss +3 -0
- package/libs/_bootstrap.scss +2 -2
- package/libs/bootstrap/_forms.scss +0 -1
- package/libs/bootstrap/_variables.scss +3 -7
- package/package.json +2 -2
- package/reference/render/form--form-horizontal.html +1 -1
- package/reference/render/form--form-vertical.html +1 -1
- package/reference/render/form--header-in-legend.html +156 -0
- package/reference/render/group-search-bar--default.html +1 -1
- package/reference/render/group-search-bar--search-bar-allmessages.html +2 -2
- package/reference/render/group-search-bar--search-bar-error.html +2 -2
- package/reference/render/group-search-bar--search-bar-help.html +1 -1
- package/reference/render/group-search-bar--search-bar-infobutton-expanded.html +1 -1
- package/reference/render/group-search-bar--search-bar-infobutton.html +1 -1
- package/reference/render/group-search-bar--search-bar-static-info.html +1 -1
- package/reference/render/zoeken-in-lijst-cards.html +5 -4
- package/src/styles/components/_form.scss +0 -145
- package/src/styles/dso.scss +3 -3
- package/src/styles/mixins/_bootstrap-variables.scss +0 -3
- package/src/styles/mixins/_dso-variables.scss +0 -3
- package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/example-pages/viewer-grid-document-item.example-template.js +0 -56
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-746d70f9.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-7abe091d.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-8bb8148f.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-c32860a3.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-d76c1151.entry.js +0 -1
- package/dist/library/@dso-toolkit/core/types/components/viewer-grid/example-pages/viewer-grid-document-item.example-template.d.ts +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-746d70f9.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-7abe091d.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-8bb8148f.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c32860a3.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d76c1151.entry.js +0 -1
- package/libs/bootstrap/_navs.scss +0 -226
- package/libs/bootstrap/mixins/_nav-divider.scss +0 -10
- package/src/styles/components/_search-bar.scss +0 -32
- package/src/styles/components/form/_files.scss +0 -133
- package/src/styles/mixins/_grid.scss +0 -63
|
@@ -1,28 +1,38 @@
|
|
|
1
|
+
import { HandlerFunction } from '@storybook/addon-actions';
|
|
1
2
|
import { ArgTypes } from '../../stories-helpers';
|
|
2
3
|
|
|
3
4
|
import { Pagination } from './pagination.models';
|
|
4
5
|
|
|
5
6
|
export interface PaginationArgs {
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
totalPages: number;
|
|
8
|
+
currentPage: number;
|
|
9
|
+
onSelectPage: HandlerFunction;
|
|
8
10
|
}
|
|
9
11
|
|
|
10
12
|
export const paginationArgTypes: ArgTypes<PaginationArgs> = {
|
|
11
|
-
|
|
13
|
+
totalPages: {
|
|
12
14
|
control: {
|
|
13
15
|
type: 'number'
|
|
14
16
|
}
|
|
15
17
|
},
|
|
16
|
-
|
|
18
|
+
currentPage: {
|
|
17
19
|
control: {
|
|
18
20
|
type: 'number'
|
|
19
21
|
}
|
|
22
|
+
},
|
|
23
|
+
onSelectPage: {
|
|
24
|
+
action: 'selectPage'
|
|
20
25
|
}
|
|
21
26
|
};
|
|
22
27
|
|
|
23
28
|
export function paginationArgsMapper(a: PaginationArgs): Pagination {
|
|
24
29
|
return {
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
totalPages: a.totalPages,
|
|
31
|
+
currentPage: a.currentPage,
|
|
32
|
+
onSelectPage: (event) => {
|
|
33
|
+
event.detail.originalEvent.preventDefault();
|
|
34
|
+
a.onSelectPage(event);
|
|
35
|
+
},
|
|
36
|
+
formatHref: page => '#' + page,
|
|
27
37
|
};
|
|
28
38
|
}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
export interface PaginationSelectPageEvent {
|
|
2
|
+
/** The selected page */
|
|
3
|
+
page: number;
|
|
4
|
+
/** The original pointer event */
|
|
5
|
+
originalEvent: MouseEvent;
|
|
6
|
+
/** True when user selected the page holding Ctrl, Alt or other modifiers. Can be used to determine navigation. */
|
|
7
|
+
isModifiedEvent: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
export interface Pagination {
|
|
2
|
-
|
|
3
|
-
|
|
11
|
+
totalPages: number;
|
|
12
|
+
currentPage: number;
|
|
13
|
+
formatHref: (page: number) => string;
|
|
14
|
+
onSelectPage: (e: CustomEvent<PaginationSelectPageEvent>) => void;
|
|
4
15
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
$dso-pagination-item-size: $u4;
|
|
2
|
+
$dso-pagination-item-border-size: 2px;
|
|
3
|
+
$dso-pagination-line-height: $dso-pagination-item-size;
|
|
4
|
+
$dso-pagination-icon-margin: $u1 * 0.5;
|
|
5
|
+
|
|
6
|
+
@mixin pagination_root($css-icons: false) {
|
|
7
|
+
text-align: center;
|
|
8
|
+
|
|
9
|
+
@if ($css-icons) {
|
|
10
|
+
.dso-previous,
|
|
11
|
+
.dso-next {
|
|
12
|
+
border-color: $grasgroen;
|
|
13
|
+
height: $dso-pagination-item-size;
|
|
14
|
+
text-indent: -9999px;
|
|
15
|
+
width: $dso-pagination-item-size;
|
|
16
|
+
|
|
17
|
+
&::before {
|
|
18
|
+
content: "";
|
|
19
|
+
left: 50%;
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 50%;
|
|
22
|
+
transform: translate(-50%, -50%);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.dso-previous {
|
|
27
|
+
&::before {
|
|
28
|
+
@include di("chevron-left");
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dso-next {
|
|
33
|
+
&::before {
|
|
34
|
+
@include di("chevron-right");
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
> li {
|
|
40
|
+
display: inline-block;
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
line-height: #{$dso-pagination-item-size - $dso-pagination-item-border-size * 2};
|
|
43
|
+
text-align: center;
|
|
44
|
+
vertical-align: middle;
|
|
45
|
+
|
|
46
|
+
> a,
|
|
47
|
+
> span {
|
|
48
|
+
align-items: center;
|
|
49
|
+
color: $grasgroen;
|
|
50
|
+
display: flex;
|
|
51
|
+
height: $dso-pagination-item-size;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
position: relative;
|
|
54
|
+
width: $dso-pagination-item-size;
|
|
55
|
+
|
|
56
|
+
&:active {
|
|
57
|
+
background-color: $grasgroen-10;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
> span {
|
|
62
|
+
border: $dso-pagination-item-border-size solid transparent;
|
|
63
|
+
border-radius: 50%;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
a {
|
|
67
|
+
line-height: $dso-pagination-line-height;
|
|
68
|
+
text-decoration: none;
|
|
69
|
+
|
|
70
|
+
&:hover,
|
|
71
|
+
&:focus {
|
|
72
|
+
text-decoration: none;
|
|
73
|
+
|
|
74
|
+
&::after {
|
|
75
|
+
border-bottom-color: $grasgroen;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&::after {
|
|
80
|
+
border-bottom: 3px solid transparent;
|
|
81
|
+
bottom: 0;
|
|
82
|
+
content: "";
|
|
83
|
+
display: inline-block;
|
|
84
|
+
left: 0;
|
|
85
|
+
position: absolute;
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.active {
|
|
91
|
+
span {
|
|
92
|
+
background-color: $grasgroen;
|
|
93
|
+
color: $wit;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& + li {
|
|
98
|
+
margin-left: $u1;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bindTemplate,
|
|
1
|
+
import { bindTemplate, StorybookParameters } from '../../stories-helpers';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { paginationArgsMapper, paginationArgTypes } from './pagination.args';
|
|
4
4
|
import { Pagination } from './pagination.models';
|
|
5
5
|
|
|
6
6
|
export interface PaginationParameters<TemplateFnReturnType> {
|
|
@@ -25,14 +25,16 @@ export function storiesOfPagination<TemplateFnReturnType>(
|
|
|
25
25
|
page: readme
|
|
26
26
|
},
|
|
27
27
|
argTypes: paginationArgTypes,
|
|
28
|
-
args: componentArgs<PaginationArgs>({
|
|
29
|
-
count: 5,
|
|
30
|
-
current: 3
|
|
31
|
-
})
|
|
32
28
|
});
|
|
33
29
|
|
|
34
30
|
stories.add(
|
|
35
31
|
'Pagination',
|
|
36
|
-
template
|
|
32
|
+
template,
|
|
33
|
+
{
|
|
34
|
+
args: {
|
|
35
|
+
totalPages: 5,
|
|
36
|
+
currentPage: 3,
|
|
37
|
+
}
|
|
38
|
+
}
|
|
37
39
|
);
|
|
38
40
|
}
|
package/libs/@dso-toolkit/sources/src/components/responsive-element/responsive-element.stories.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { StorybookParameters } from '../../stories-helpers';
|
|
2
|
+
|
|
3
|
+
import { responsiveElementArgTypes } from './responsive-element.args';
|
|
4
|
+
|
|
5
|
+
const demoGrid = [
|
|
6
|
+
['col-md-6', 'col-md-6'],
|
|
7
|
+
['col-lg-3 col-md-6 col-xs-12', 'col-lg-9 col-md-6 col-xs-12'],
|
|
8
|
+
['col-lg-12'],
|
|
9
|
+
['col-xs-3', 'col-xs-3', 'col-xs-3', 'col-xs-3']
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export interface ResponsiveElementParameters<TemplateFnReturnType> {
|
|
13
|
+
gridTemplate: (grid: string[][]) => TemplateFnReturnType;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function storiesOfResponsiveElement<TemplateFnReturnType>(
|
|
17
|
+
{
|
|
18
|
+
module: mainModule,
|
|
19
|
+
storiesOf,
|
|
20
|
+
readme
|
|
21
|
+
}: StorybookParameters,
|
|
22
|
+
{
|
|
23
|
+
gridTemplate
|
|
24
|
+
}: ResponsiveElementParameters<TemplateFnReturnType>
|
|
25
|
+
) {
|
|
26
|
+
const stories = storiesOf('Responsive Element', mainModule)
|
|
27
|
+
.addParameters({
|
|
28
|
+
docs: {
|
|
29
|
+
page: readme
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
stories.add(
|
|
34
|
+
'Responsive Element',
|
|
35
|
+
() => gridTemplate(demoGrid)
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
export interface SearchBar {
|
|
2
|
-
label
|
|
2
|
+
label?: string;
|
|
3
3
|
id: string;
|
|
4
|
-
icon
|
|
5
|
-
hiddenLabel
|
|
6
|
-
invalid
|
|
4
|
+
icon?: boolean;
|
|
5
|
+
hiddenLabel?: boolean;
|
|
6
|
+
invalid?: boolean;
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
value?: string;
|
|
9
9
|
buttonLabel: string;
|
|
10
|
-
hideSearchButton
|
|
10
|
+
hideSearchButton?: boolean;
|
|
11
11
|
resultsMessage?: string;
|
|
12
|
-
resultsHidden
|
|
12
|
+
resultsHidden?: boolean;
|
|
13
13
|
ariaDescribedBy?: string;
|
|
14
|
+
clearButton?: boolean;
|
|
14
15
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ArgTypes, noControl } from '../../stories-helpers';
|
|
2
|
+
|
|
3
|
+
import { Tabs, TabsItem } from './tabs.models';
|
|
4
|
+
|
|
5
|
+
export interface TabsArgs {
|
|
6
|
+
items: TabsItem[];
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const tabsArgTypes: ArgTypes<TabsArgs> = {
|
|
10
|
+
items: {
|
|
11
|
+
...noControl
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export function tabsArgsMapper(a: TabsArgs): Tabs {
|
|
16
|
+
return {
|
|
17
|
+
items: a.items
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { bindTemplate, componentArgs, StorybookParameters } from '../../stories-helpers';
|
|
2
|
+
|
|
3
|
+
import { TabsArgs, tabsArgsMapper, tabsArgTypes } from './tabs.args';
|
|
4
|
+
import { Tabs } from './tabs.models';
|
|
5
|
+
|
|
6
|
+
export interface TabsParameters<TemplateFnReturnType> {
|
|
7
|
+
tabsTemplate: (tabsProperties: Tabs) => TemplateFnReturnType;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export function storiesOfTabs<TemplateFnReturnType>(
|
|
11
|
+
{
|
|
12
|
+
module: mainModule,
|
|
13
|
+
storiesOf,
|
|
14
|
+
readme
|
|
15
|
+
}: StorybookParameters,
|
|
16
|
+
{
|
|
17
|
+
tabsTemplate
|
|
18
|
+
}: TabsParameters<TemplateFnReturnType>
|
|
19
|
+
) {
|
|
20
|
+
const template = bindTemplate(tabsArgsMapper, tabsTemplate);
|
|
21
|
+
|
|
22
|
+
const stories = storiesOf('Tabs', mainModule)
|
|
23
|
+
.addParameters({
|
|
24
|
+
docs: {
|
|
25
|
+
page: readme
|
|
26
|
+
},
|
|
27
|
+
argTypes: tabsArgTypes
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
stories.add(
|
|
31
|
+
'default',
|
|
32
|
+
template,
|
|
33
|
+
{
|
|
34
|
+
args: componentArgs<TabsArgs>({
|
|
35
|
+
items: [
|
|
36
|
+
{
|
|
37
|
+
label: 'Zoek op adres',
|
|
38
|
+
id: 'tabitem-1',
|
|
39
|
+
modifiers: 'active'
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: 'Postcode en huisnummer',
|
|
43
|
+
id: 'tabitem-2'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
label: 'Kadastraal nummer',
|
|
47
|
+
id: 'tabitem-3'
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
label: 'Coordinaten',
|
|
51
|
+
id: 'tabitem-4'
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
stories.add(
|
|
59
|
+
'inactief',
|
|
60
|
+
template,
|
|
61
|
+
{
|
|
62
|
+
args: componentArgs<TabsArgs>({
|
|
63
|
+
items: [
|
|
64
|
+
{
|
|
65
|
+
label: 'Zoek op adres',
|
|
66
|
+
id: 'tabitem-1'
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
label: 'Postcode en huisnummer',
|
|
70
|
+
id: 'tabitem-2',
|
|
71
|
+
modifiers: 'active'
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
label: 'Kadastraal nummer',
|
|
75
|
+
id: 'tabitem-3'
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
label: 'Coordinaten',
|
|
79
|
+
id: 'tabitem-4',
|
|
80
|
+
modifiers: 'disabled'
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
})
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
}
|
|
@@ -66,11 +66,16 @@ $dso-tile-color: $grasgroen;
|
|
|
66
66
|
a {
|
|
67
67
|
@include anchor-clean();
|
|
68
68
|
|
|
69
|
-
&:hover
|
|
69
|
+
&:hover,
|
|
70
|
+
&:active {
|
|
70
71
|
.dso-tile-link {
|
|
71
72
|
border-bottom: #{$u1 * 0.5} solid $grasgroen;
|
|
72
73
|
}
|
|
73
74
|
}
|
|
75
|
+
|
|
76
|
+
&:active {
|
|
77
|
+
text-decoration: none;
|
|
78
|
+
}
|
|
74
79
|
}
|
|
75
80
|
}
|
|
76
81
|
|
|
@@ -2,12 +2,13 @@ import { HandlerFunction } from '@storybook/addon-actions';
|
|
|
2
2
|
|
|
3
3
|
import { ArgTypes } from '../../stories-helpers';
|
|
4
4
|
|
|
5
|
-
import { Tooltip, tooltipPositions } from './tooltip.models';
|
|
5
|
+
import { Tooltip, tooltipPositions, tooltipStrategy } from './tooltip.models';
|
|
6
6
|
|
|
7
7
|
export interface TooltipArgs {
|
|
8
8
|
active?: boolean;
|
|
9
9
|
descriptive?: boolean;
|
|
10
10
|
position: typeof tooltipPositions;
|
|
11
|
+
strategy: typeof tooltipStrategy;
|
|
11
12
|
label?: string;
|
|
12
13
|
id?: string;
|
|
13
14
|
action: HandlerFunction
|
|
@@ -30,6 +31,12 @@ export const tooltipArgTypes: ArgTypes<TooltipArgs> = {
|
|
|
30
31
|
type: 'select'
|
|
31
32
|
}
|
|
32
33
|
},
|
|
34
|
+
strategy: {
|
|
35
|
+
options: tooltipStrategy,
|
|
36
|
+
control: {
|
|
37
|
+
type: 'select'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
33
40
|
label: {
|
|
34
41
|
control: {
|
|
35
42
|
type: 'text'
|
|
@@ -51,6 +58,7 @@ export function tooltipArgsMapper(a: TooltipArgs): Tooltip {
|
|
|
51
58
|
descriptive: a.descriptive,
|
|
52
59
|
label: a.label || `Ik sta "${a.position}"`,
|
|
53
60
|
position: a.position,
|
|
61
|
+
strategy: a.strategy,
|
|
54
62
|
id: a.id
|
|
55
63
|
};
|
|
56
64
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export const tooltipPositions = ['top', 'right', 'bottom', 'left'] as const;
|
|
2
2
|
|
|
3
|
+
export const tooltipStrategy = ['auto', 'absolute', 'fixed'] as const;
|
|
4
|
+
|
|
3
5
|
export interface Tooltip {
|
|
4
6
|
active?: boolean;
|
|
5
7
|
descriptive?: boolean;
|
|
6
8
|
position: typeof tooltipPositions;
|
|
9
|
+
strategy: typeof tooltipStrategy;
|
|
7
10
|
label: string;
|
|
8
11
|
id?: string;
|
|
9
12
|
}
|
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
componentArgs,
|
|
4
4
|
StorybookParameters,
|
|
5
5
|
} from "../../stories-helpers";
|
|
6
|
+
import { documentListContent } from '../document-list/document-list.content';
|
|
7
|
+
import { DocumentList } from '../document-list/document-list.models';
|
|
6
8
|
import { tiles } from "../tile-grid/tile-grid.content";
|
|
7
9
|
import { Tile } from "../tile/tile.models";
|
|
8
10
|
import { viewerGridArgs, ViewerGridArgs, viewerGridDocumentHeaderArgs, ViewerGridDocumentHeaderArgs } from "./viewer-grid.args";
|
|
@@ -19,12 +21,12 @@ export interface ViewerGridParameters<TemplateFnReturnType> {
|
|
|
19
21
|
tilesExampleTemplate: (tiles: Tile[]) => TemplateFnReturnType;
|
|
20
22
|
filterblokExampleTemplate: () => TemplateFnReturnType;
|
|
21
23
|
documentHeaderExampleTemplate: (ViewerGridDocumentHeaderProperties: ViewerGridDocumentHeaderProperties) => TemplateFnReturnType;
|
|
22
|
-
|
|
24
|
+
documentListExampleTemplate: (documentList: typeof documentListContent) => TemplateFnReturnType;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
export function storiesOfViewerGrid<TemplateFnReturnType>(
|
|
26
28
|
{ module: mainModule, storiesOf, readme }: StorybookParameters,
|
|
27
|
-
{ viewerGridTemplate, example, tilesExampleTemplate, filterblokExampleTemplate, documentHeaderExampleTemplate,
|
|
29
|
+
{ viewerGridTemplate, example, tilesExampleTemplate, filterblokExampleTemplate, documentHeaderExampleTemplate, documentListExampleTemplate }: ViewerGridParameters<TemplateFnReturnType>
|
|
28
30
|
) {
|
|
29
31
|
const stories = storiesOf("Viewer Grid", mainModule).addParameters({
|
|
30
32
|
layout: "fullscreen",
|
|
@@ -84,7 +86,7 @@ export function storiesOfViewerGrid<TemplateFnReturnType>(
|
|
|
84
86
|
argTypes: viewerGridDocumentHeaderArgs
|
|
85
87
|
});
|
|
86
88
|
|
|
87
|
-
stories.add('Voorbeeldpagina "Document
|
|
88
|
-
return
|
|
89
|
+
stories.add('Voorbeeldpagina "Document list"', () => {
|
|
90
|
+
return documentListExampleTemplate(documentListContent);
|
|
89
91
|
});
|
|
90
92
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
@import "components/link-list/link-list";
|
|
19
19
|
@import "components/list-button/list-button";
|
|
20
20
|
@import "components/label/label";
|
|
21
|
+
@import "components/pagination/pagination";
|
|
21
22
|
@import "components/progress-bar/progress-bar";
|
|
22
23
|
@import "components/progress-indicator/progress-indicator";
|
|
23
24
|
@import "components/selectable/selectable";
|
|
@@ -38,6 +38,10 @@ export * from './components/definition-list/definition-list.models';
|
|
|
38
38
|
export * from './components/definition-list/definition-list.stories';
|
|
39
39
|
export * from './components/description/description.models';
|
|
40
40
|
export * from './components/description/description.stories';
|
|
41
|
+
export * from './components/document-header/document-header.models';
|
|
42
|
+
export * from './components/document-header/document-header.stories';
|
|
43
|
+
export * from './components/document-list/document-list.models';
|
|
44
|
+
export * from './components/document-list/document-list.stories';
|
|
41
45
|
export * from './components/dropdown-menu/dropdown-menu.models';
|
|
42
46
|
export * from './components/dropdown-menu/dropdown-menu.stories';
|
|
43
47
|
export * from './components/footnotes/footnotes.models';
|
|
@@ -62,6 +66,8 @@ export * from './components/info/info.models';
|
|
|
62
66
|
export * from './components/info/info.stories';
|
|
63
67
|
export * from './components/input-number/input-number.models';
|
|
64
68
|
export * from './components/input-number/input-number.stories';
|
|
69
|
+
export * from './components/justify-form-groups/justify-form-groups.models';
|
|
70
|
+
export * from './components/justify-form-groups/justify-form-groups.stories';
|
|
65
71
|
export * from './components/label/label.models';
|
|
66
72
|
export * from './components/label/label.stories';
|
|
67
73
|
export * from './components/label-group/label-group.models';
|
|
@@ -85,6 +91,8 @@ export * from './components/progress-bar/progress-bar.models';
|
|
|
85
91
|
export * from './components/progress-bar/progress-bar.stories';
|
|
86
92
|
export * from './components/progress-indicator/progress-indicator.models';
|
|
87
93
|
export * from './components/progress-indicator/progress-indicator.stories';
|
|
94
|
+
export * from './components/responsive-element/responsive-element.models';
|
|
95
|
+
export * from './components/responsive-element/responsive-element.stories';
|
|
88
96
|
export * from './components/row-equal-heights/row-equal-heights.models';
|
|
89
97
|
export * from './components/row-equal-heights/row-equal-heights.stories';
|
|
90
98
|
export * from './components/search-bar/search-bar.models';
|
|
@@ -93,6 +101,8 @@ export * from './components/selectable/selectable.models';
|
|
|
93
101
|
export * from './components/selectable/selectable.stories';
|
|
94
102
|
export * from './components/shopping-cart/shopping-cart.models';
|
|
95
103
|
export * from './components/shopping-cart/shopping-cart.stories';
|
|
104
|
+
export * from './components/tabs/tabs.models';
|
|
105
|
+
export * from './components/tabs/tabs.stories';
|
|
96
106
|
export * from './components/tile/tile.models';
|
|
97
107
|
export * from './components/tile/tile.stories';
|
|
98
108
|
export * from './components/tile-grid/tile-grid.models';
|
|
@@ -11,6 +11,8 @@ $table-border-color: $grijs-20;
|
|
|
11
11
|
$table-link-color: $grijs-90;
|
|
12
12
|
$table-header-border-color: $grijs-60;
|
|
13
13
|
|
|
14
|
+
$table-filter-wrapper-width: 320px;
|
|
15
|
+
|
|
14
16
|
caption {
|
|
15
17
|
color: $text-muted;
|
|
16
18
|
padding-bottom: $table-cell-padding;
|
|
@@ -210,3 +212,10 @@ table {
|
|
|
210
212
|
@include table-responsive();
|
|
211
213
|
}
|
|
212
214
|
}
|
|
215
|
+
|
|
216
|
+
.dso-table-filter-wrapper {
|
|
217
|
+
.dso-search-bar {
|
|
218
|
+
margin-bottom: $u2;
|
|
219
|
+
width: $table-filter-wrapper-width - $u4;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
@@ -2,6 +2,36 @@ $container-sm: auto !default; // Small screen / tablet
|
|
|
2
2
|
$container-md: 922px !default; // Medium screen / desktop
|
|
3
3
|
$container-lg: 1152px !default; // Large screen / wide desktop
|
|
4
4
|
|
|
5
|
+
$dso-featured-background-color: $grasgroen-10;
|
|
6
|
+
|
|
7
|
+
main,
|
|
8
|
+
form {
|
|
9
|
+
> .dso-rich-content {
|
|
10
|
+
margin-bottom: $dso-vertical-spacing-xlarge;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
> .row {
|
|
14
|
+
&.dso-featured {
|
|
15
|
+
margin-bottom: $u5;
|
|
16
|
+
padding-bottom: $u6;
|
|
17
|
+
padding-top: $u5;
|
|
18
|
+
|
|
19
|
+
& + .row div:not(.dso-rich-content) {
|
|
20
|
+
h1,
|
|
21
|
+
.h1,
|
|
22
|
+
h2,
|
|
23
|
+
.h2,
|
|
24
|
+
h3,
|
|
25
|
+
.h3 {
|
|
26
|
+
&:first-child {
|
|
27
|
+
margin-top: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
5
35
|
.container {
|
|
6
36
|
@include container-fixed();
|
|
7
37
|
|
|
@@ -28,6 +58,32 @@ $container-lg: 1152px !default; // Large screen / wide desktop
|
|
|
28
58
|
&.dso-equal-heights {
|
|
29
59
|
@include row-equal-heights();
|
|
30
60
|
}
|
|
61
|
+
|
|
62
|
+
&.dso-banner {
|
|
63
|
+
@include full-width-row($grid-gutter-width);
|
|
64
|
+
|
|
65
|
+
background-color: $grasgroen-10;
|
|
66
|
+
background-position: center;
|
|
67
|
+
background-repeat: no-repeat;
|
|
68
|
+
background-size: cover;
|
|
69
|
+
height: 400px;
|
|
70
|
+
|
|
71
|
+
&,
|
|
72
|
+
&:not(.dso-featured):first-child {
|
|
73
|
+
margin-bottom: $u4;
|
|
74
|
+
padding-top: 2rem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.dso-featured {
|
|
79
|
+
@include full-width-row($grid-gutter-width);
|
|
80
|
+
|
|
81
|
+
background-color: $dso-featured-background-color;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
+ .dso-featured {
|
|
85
|
+
margin-top: $u3;
|
|
86
|
+
}
|
|
31
87
|
}
|
|
32
88
|
|
|
33
89
|
.row-no-gutters {
|
package/libs/_bootstrap.scss
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
@import "bootstrap/mixins/panels";
|
|
32
32
|
@import "bootstrap/mixins/pagination";
|
|
33
33
|
// @import "bootstrap/mixins/list-group"; Deleted
|
|
34
|
-
@import "bootstrap/mixins/nav-divider";
|
|
34
|
+
// @import "bootstrap/mixins/nav-divider"; -> Deleted
|
|
35
35
|
@import "bootstrap/mixins/forms";
|
|
36
36
|
// @import "bootstrap/mixins/progress-bar"; -> Moved to @dso-toolkit/styling
|
|
37
37
|
// @import "bootstrap/mixins/table-row"; -> Moved to @dso-toolkit/styling
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
@import "bootstrap/component-animations";
|
|
65
65
|
// @import "bootstrap/dropdowns"; Applicable styling moved to @dso-toolkit/styling
|
|
66
66
|
// @import "bootstrap/input-groups"; -> Deleted, deprecated
|
|
67
|
-
@import "bootstrap/navs";
|
|
67
|
+
// @import "bootstrap/navs"; -> Moved to @dso-toolkit/css
|
|
68
68
|
@import "bootstrap/navbar";
|
|
69
69
|
// @import "bootstrap/pager"; -> Deleted, deprecated
|
|
70
70
|
// @import "bootstrap/thumbnails"; -> Deleted
|
|
@@ -260,7 +260,6 @@ textarea.form-control {
|
|
|
260
260
|
// labels on narrow viewports stack the same as a default form example.
|
|
261
261
|
@media (min-width: $screen-sm-min) {
|
|
262
262
|
.control-label {
|
|
263
|
-
padding-top: ($padding-base-vertical + 1); // Default padding plus a border
|
|
264
263
|
margin-bottom: 0;
|
|
265
264
|
text-align: right;
|
|
266
265
|
}
|