dso-toolkit 33.0.0 → 33.1.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.
Files changed (48) hide show
  1. package/components/Componenten/definition-list/definition-list.config.yml +273 -246
  2. package/components/Componenten/definition-list/definition-list.njk +7 -1
  3. package/components/Componenten/lists/lists--columns.njk +7 -0
  4. package/components/Componenten/lists/lists.config.yml +3 -0
  5. package/dist/library/components/detail/definition-list--accessibility.html +7 -1
  6. package/dist/library/components/detail/definition-list--bordered.html +7 -1
  7. package/dist/library/components/detail/definition-list--columns-1-3.html +7 -1
  8. package/dist/library/components/detail/definition-list--columns-2-2.html +7 -1
  9. package/dist/library/components/detail/definition-list--columns-3-1.html +7 -1
  10. package/dist/library/components/detail/definition-list--default.html +7 -1
  11. package/dist/library/components/detail/definition-list--emphasize-description.html +7 -1
  12. package/dist/library/components/detail/definition-list--three-columns-small-content.html +7 -1
  13. package/dist/library/components/detail/definition-list--three-columns.html +7 -1
  14. package/dist/library/components/detail/definition-list--two-columns-small-content.html +7 -1
  15. package/dist/library/components/detail/definition-list--two-columns.html +7 -1
  16. package/dist/library/components/detail/definition-list--vertical-emphasize-description.html +7 -1
  17. package/dist/library/components/detail/definition-list--vertical.html +7 -1
  18. package/dist/library/components/detail/definition-list--with-list-in-columns.html +1485 -0
  19. package/dist/library/components/detail/definition-list.html +65 -1
  20. package/dist/library/components/detail/form--autocomplete.html +1 -1
  21. package/dist/library/components/detail/form--form-horizontal.html +1 -1
  22. package/dist/library/components/detail/form--form-vertical.html +1 -1
  23. package/dist/library/components/detail/form--multi-page.html +1 -1
  24. package/dist/library/components/detail/form--sections.html +1 -1
  25. package/dist/library/components/detail/form--simple-form.html +1 -1
  26. package/dist/library/components/detail/form--single-page.html +1 -1
  27. package/dist/library/components/detail/form.html +1 -1
  28. package/dist/library/components/detail/lists--columns.html +1408 -0
  29. package/dist/library/components/detail/lists.html +38 -0
  30. package/dist/library/components/preview/definition-list--with-list-in-columns.html +45 -0
  31. package/dist/library/components/preview/definition-list.html +37 -0
  32. package/dist/library/components/preview/lists--columns.html +37 -0
  33. package/dist/library/components/preview/lists.html +29 -0
  34. package/dist/library/components/render/definition-list--with-list-in-columns.html +29 -0
  35. package/dist/library/components/render/definition-list.html +37 -0
  36. package/dist/library/components/render/lists--columns.html +21 -0
  37. package/dist/library/components/render/lists.html +29 -0
  38. package/dist/library/docs/voor-developers.html +1 -2
  39. package/dist/library/styles/dso.css +40 -33
  40. package/dist/toolkit/styles/dso.css +40 -33
  41. package/docs/11-voor-developers.md +1 -3
  42. package/libs/@dso-toolkit/css/src/components/viewer-grid/viewer-grid.scss +21 -3
  43. package/libs/@dso-toolkit/sources/src/components/accordion/accordion.stories.ts +2 -2
  44. package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +2 -40
  45. package/package.json +2 -2
  46. package/reference/render/definition-list--with-list-in-columns.html +24 -0
  47. package/reference/render/lists--columns.html +17 -0
  48. package/src/styles/components/_lists.scss +21 -0
@@ -74,12 +74,12 @@ export function storiesOfAccordion<TemplateFnReturnType>(
74
74
  subsections: [
75
75
  {
76
76
  title: 'Voor hoeveel locaties kan ik de Vergunningcheck doen?',
77
- header: 'h2',
77
+ header: 'h3',
78
78
  handleType: 'anchor'
79
79
  },
80
80
  {
81
81
  title: 'Hoe lang duurt de Vergunningcheck?',
82
- header: 'h2',
82
+ header: 'h3',
83
83
  handleType: 'anchor',
84
84
  open: true,
85
85
  children: `De Vergunningcheck duurt ongeveer vijf minuten per gekozen werkzaamheid. Het is wel belangrijk dat u alle benodigde informatie bij de hand heeft.`
@@ -89,44 +89,6 @@ dl {
89
89
  > div {
90
90
  margin-bottom: $u2;
91
91
  }
92
-
93
- @media screen and (min-width: $screen-sm-min) {
94
- break-inside: avoid;
95
- column-gap: $u2;
96
-
97
- &.dso-2-columns {
98
- column-count: 2;
99
-
100
- dt {
101
- width: calc(50% - #{$u1});
102
- }
103
-
104
- dd {
105
- margin-left: calc(50% + #{$u1});
106
- }
107
- }
108
-
109
- &.dso-3-columns {
110
- column-count: 3;
111
-
112
- dt {
113
- width: calc(50% - #{$u1});
114
- }
115
-
116
- dd {
117
- margin-left: calc(50% + #{$u1});
118
- }
119
- }
120
-
121
- > div {
122
- &,
123
- dt,
124
- dd {
125
- break-inside: avoid-column;
126
- overflow: hidden;
127
- }
128
- }
129
- }
130
92
  }
131
93
 
132
94
  &:not(.dso-vertical) {
@@ -226,7 +188,7 @@ dl {
226
188
  }
227
189
 
228
190
  &:not(.dso-bordered) {
229
- @media screen and (max-width: $dso-definition-list-horizontal-breakpoint - 1) {
191
+ @media screen and (max-width: #{$dso-definition-list-horizontal-breakpoint - 1}) {
230
192
  dd + dt {
231
193
  margin-top: $dso-definition-list-vertical-space;
232
194
  }
@@ -251,7 +213,7 @@ dl {
251
213
  }
252
214
  }
253
215
 
254
- @media screen and (max-width: $dso-definition-list-horizontal-breakpoint - 1) {
216
+ @media screen and (max-width: #{$dso-definition-list-horizontal-breakpoint - 1}) {
255
217
  dd + dt::before {
256
218
  margin-top: $dso-definition-list-vertical-space;
257
219
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dso-toolkit",
3
3
  "description": "DSO Toolkit and Component Library",
4
4
  "license": "SEE LICENSE IN DISCLAIMER.txt",
5
- "version": "33.0.0",
5
+ "version": "33.1.0",
6
6
  "scripts": {
7
7
  "start": "gulp",
8
8
  "build": "gulp build",
@@ -20,7 +20,7 @@
20
20
  "devDependencies": {
21
21
  "@babel/core": "^7.15.8",
22
22
  "@babel/preset-env": "^7.15.8",
23
- "@dso-toolkit/core": "33.0.0",
23
+ "@dso-toolkit/core": "33.1.0",
24
24
  "@dso-toolkit/css": "0.0.0",
25
25
  "@dso-toolkit/sources": "0.0.0",
26
26
  "@frctl/fractal": "1.5.11",
@@ -0,0 +1,24 @@
1
+ <dl>
2
+ <dt>Trefwoorden:</dt>
3
+ <dd>
4
+ <ul class="dso-columns-list">
5
+ <li>aanbouwen</li>
6
+ <li>afvalcontainer</li>
7
+ <li>avegaarpaal</li>
8
+ <li>berging</li>
9
+ <li>bijbehorend bouwwerk</li>
10
+ <li>bijkeuken</li>
11
+ <li>blokhut</li>
12
+ <li>boorpaal</li>
13
+ <li>buispaal</li>
14
+ <li>buitenkeuken</li>
15
+ <li>carport</li>
16
+ <li>dierenverblijf</li>
17
+ <li>erker</li>
18
+ <li>fietsenberging</li>
19
+ <li>fietsenhok</li>
20
+ <li>fundering</li>
21
+ <li>garage</li>
22
+ </ul>
23
+ </dd>
24
+ </dl>
@@ -0,0 +1,17 @@
1
+ <ul class="dso-columns-list">
2
+ <li>
3
+ Cras justo odio
4
+ </li>
5
+ <li>
6
+ Dapibus ac facilisis in
7
+ </li>
8
+ <li>
9
+ Morbi leo risus
10
+ </li>
11
+ <li>
12
+ Porta ac consectetur ac
13
+ </li>
14
+ <li>
15
+ Vestibulum at eros
16
+ </li>
17
+ </ul>
@@ -1,3 +1,24 @@
1
1
  .list-group > .list-group-item {
2
2
  @extend %dso-rich-content;
3
3
  }
4
+
5
+ ul,
6
+ ol {
7
+ &.dso-columns-list {
8
+ list-style: none;
9
+ margin: 0;
10
+ padding-left: 0;
11
+
12
+ @media (max-width: $screen-sm-max) {
13
+ columns: 1;
14
+ }
15
+
16
+ @media (min-width: $screen-md-min) and (max-width: $screen-md-max) {
17
+ columns: 2;
18
+ }
19
+
20
+ @media (min-width: $screen-lg-min) {
21
+ columns: 3;
22
+ }
23
+ }
24
+ }