dso-toolkit 40.1.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-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-pagination.cjs.entry.js +7 -7
- package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.js +7 -7
- package/dist/library/@dso-toolkit/core/custom-elements/index.js +7 -7
- package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-b1dc8d76.entry.js +1 -0
- package/dist/library/@dso-toolkit/core/esm/dso-pagination.entry.js +7 -7
- package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.interfaces.d.ts +2 -0
- 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 +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 +3 -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.html +4 -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.html +2 -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/styles/dso.css +62 -73
- 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-b1dc8d76.entry.js +1 -0
- package/dist/toolkit/styles/dso.css +62 -73
- package/hydrate/index.js +7 -7
- package/libs/@dso-toolkit/css/src/components/form/form-group.scss +22 -13
- 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.scss +1 -0
- package/libs/@dso-toolkit/css/src/components/justify-form-groups/justify-form-groups.scss +26 -0
- package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.scss +5 -0
- package/libs/@dso-toolkit/css/src/dso.scss +1 -0
- package/libs/@dso-toolkit/sources/src/components/form/content/search-bar.content.ts +12 -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.models.ts +1 -0
- package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +17 -1
- 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.model.ts +13 -1
- package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +0 -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/pagination/pagination.args.ts +4 -1
- package/libs/@dso-toolkit/sources/src/components/pagination/pagination.models.ts +2 -0
- package/libs/@dso-toolkit/sources/src/components/search-bar/search-bar.models.ts +7 -6
- package/libs/@dso-toolkit/sources/src/index.ts +2 -0
- package/libs/@dso-toolkit/sources/src/styling/global/table.scss +9 -0
- package/libs/bootstrap/_forms.scss +0 -1
- 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/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 -31
- package/src/styles/dso.scss +1 -1
- package/src/styles/mixins/_dso-variables.scss +0 -3
- package/dist/library/@dso-toolkit/core/dso-toolkit/p-4a41728e.entry.js +0 -1
- package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-4a41728e.entry.js +0 -1
- package/src/styles/components/_search-bar.scss +0 -32
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as a,h as t}from"./p-c62606a3.js";let n=class{constructor(t){i(this,t),this.selectPage=a(this,"selectPage",7),this.formatHref=i=>"#"+i}clickHandler(i,a){0!==i.button||i.ctrlKey||i.shiftKey||i.altKey||i.metaKey||(i.preventDefault(),this.selectPage.emit({originalEvent:i,page:a}))}render(){if(!this.totalPages)return null;const i=Array.from({length:this.totalPages},((i,a)=>a+1));return t("ul",{class:"pagination"},t("li",{class:this.currentPage===i[0]?"dso-page-hidden":void 0},t("a",{href:this.formatHref(i[0]),"aria-label":"Vorige",onClick:a=>this.clickHandler(a,i[0])},t("dso-icon",{icon:"chevron-left"}))),i.map((i=>t("li",{key:i,class:this.currentPage===i?"active":void 0},this.currentPage===i?t("span",{"aria-current":"page"},i):t("a",{href:this.formatHref(i),onClick:a=>this.clickHandler(a,i)},i)))),t("li",{class:this.currentPage===i[i.length-1]?"dso-page-hidden":void 0},t("a",{href:this.formatHref(i[i.length-1]),"aria-label":"Volgende",onClick:a=>this.clickHandler(a,i[i.length-1])},t("dso-icon",{icon:"chevron-right"}))))}};n.style=':host{display:block}*,*::after,*::before{box-sizing:border-box}.pagination{text-align:center}.pagination>li{display:inline-block;font-weight:bold;line-height:28px;text-align:center;vertical-align:middle}.pagination>li>a,.pagination>li>span{align-items:center;color:#39870c;display:flex;height:32px;justify-content:center;position:relative;width:32px}.pagination>li>a:active,.pagination>li>span:active{background-color:#ebf3e6}.pagination>li>span{border:2px solid transparent;border-radius:50%}.pagination>li a{line-height:32px;text-decoration:none}.pagination>li a:hover,.pagination>li a:focus{text-decoration:none}.pagination>li a:hover::after,.pagination>li a:focus::after{border-bottom-color:#39870c}.pagination>li a::after{border-bottom:3px solid transparent;bottom:0;content:"";display:inline-block;left:0;position:absolute;width:100%}.pagination>li.active span{background-color:#39870c;color:#fff}.pagination>li+li{margin-left:8px}.dso-page-hidden{visibility:hidden}';export{n as dso_pagination}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as a,h as t}from"./p-c62606a3.js";let n=class{constructor(t){i(this,t),this.selectPage=a(this,"selectPage",7),this.formatHref=i=>"#"+i}clickHandler(i,a){0!==i.button||i.ctrlKey||i.shiftKey||i.altKey||i.metaKey||(i.preventDefault(),this.selectPage.emit({originalEvent:i,page:a}))}render(){if(!this.totalPages)return null;const i=Array.from({length:this.totalPages},((i,a)=>a+1));return t("ul",{class:"pagination"},t("li",{class:this.currentPage===i[0]?"dso-page-hidden":void 0},t("a",{href:this.formatHref(i[0]),"aria-label":"Vorige",onClick:a=>this.clickHandler(a,i[0])},t("dso-icon",{icon:"chevron-left"}))),i.map((i=>t("li",{key:i,class:this.currentPage===i?"active":void 0},this.currentPage===i?t("span",{"aria-current":"page"},i):t("a",{href:this.formatHref(i),onClick:a=>this.clickHandler(a,i)},i)))),t("li",{class:this.currentPage===i[i.length-1]?"dso-page-hidden":void 0},t("a",{href:this.formatHref(i[i.length-1]),"aria-label":"Volgende",onClick:a=>this.clickHandler(a,i[i.length-1])},t("dso-icon",{icon:"chevron-right"}))))}};n.style=':host{display:block}*,*::after,*::before{box-sizing:border-box}.pagination{text-align:center}.pagination>li{display:inline-block;font-weight:bold;line-height:28px;text-align:center;vertical-align:middle}.pagination>li>a,.pagination>li>span{align-items:center;color:#39870c;display:flex;height:32px;justify-content:center;position:relative;width:32px}.pagination>li>a:active,.pagination>li>span:active{background-color:#ebf3e6}.pagination>li>span{border:2px solid transparent;border-radius:50%}.pagination>li a{line-height:32px;text-decoration:none}.pagination>li a:hover,.pagination>li a:focus{text-decoration:none}.pagination>li a:hover::after,.pagination>li a:focus::after{border-bottom-color:#39870c}.pagination>li a::after{border-bottom:3px solid transparent;bottom:0;content:"";display:inline-block;left:0;position:absolute;width:100%}.pagination>li.active span{background-color:#39870c;color:#fff}.pagination>li+li{margin-left:8px}.dso-page-hidden{visibility:hidden}';export{n as dso_pagination}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
$dso-searchbar-invalid-border-color: $dso-danger-color;
|
|
2
|
-
$dso-searchbar-focus-border-width: 1px;
|
|
3
|
-
|
|
4
|
-
.form-group .dso-search-bar {
|
|
5
|
-
margin-bottom: 0;
|
|
6
|
-
width: 50%;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.dso-table-filter-wrapper .dso-search-bar {
|
|
10
|
-
margin-bottom: $u2;
|
|
11
|
-
width: $dso-minimal-screen-width - $u4;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.form-horizontal .dso-field-container .dso-search-bar {
|
|
15
|
-
width: 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.dso-invalid .dso-field-container .dso-search-bar {
|
|
19
|
-
input {
|
|
20
|
-
border-color: $dso-searchbar-invalid-border-color;
|
|
21
|
-
|
|
22
|
-
&:focus {
|
|
23
|
-
box-shadow: inset 0 0 0 $dso-searchbar-focus-border-width $dso-searchbar-invalid-border-color;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.dso-field-container .dso-search-bar {
|
|
29
|
-
input {
|
|
30
|
-
border-color: $bosgroen;
|
|
31
|
-
}
|
|
32
|
-
}
|