dso-toolkit 60.0.0 → 61.2.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/CHANGELOG.md CHANGED
@@ -5,6 +5,46 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
5
5
 
6
6
  ## Next
7
7
 
8
+ ## 🐼 62.1.0 - 27-10-2023
9
+
10
+ ### Added
11
+ * Graphics: Foutmelding ([#2388](https://github.com/dso-toolkit/dso-toolkit/issues/2388))
12
+ * Accordion: `onDsoAnimationStartEvent`, instant `scrollIntoView()`, `hasNestedAccordion` prop en `AccordionSection.focusHandle()` ([#2408](https://github.com/dso-toolkit/dso-toolkit/issues/2408))
13
+
14
+ ### Fixed
15
+ * Date Picker: Input en output worden niet prepadded met "0" ([#2409](https://github.com/dso-toolkit/dso-toolkit/issues/2409))
16
+
17
+ ## 🎤 62.0.0 - 20-10-2023
18
+
19
+ ## Added
20
+ * **BREAKING** Selectable: SelectableChangeEvent voorzien van `checked` ([#2389](https://github.com/dso-toolkit/dso-toolkit/issues/2389))
21
+
22
+ ## Fixed
23
+ * Date Picker: Bij handmatige invoer van datum buiten min/max, geen event met error ([#2380](https://github.com/dso-toolkit/dso-toolkit/issues/2380))
24
+ * Date Picker: Output date als dd-mm-jjjj ([#2391](https://github.com/dso-toolkit/dso-toolkit/issues/2391))
25
+
26
+ ## 🚒 61.0.0 - 17-10-2023
27
+
28
+ ### Added
29
+ * **BREAKING** Logo: Nieuw component ([#2265](https://github.com/dso-toolkit/dso-toolkit/issues/2265))
30
+
31
+ ### Fixed
32
+ * Selectable: Styling aanpassingen ([#2368](https://github.com/dso-toolkit/dso-toolkit/issues/2368))
33
+ * Form group: Table overflow in rich content ([#2358](https://github.com/dso-toolkit/dso-toolkit/issues/2358))
34
+ * Selectable: Inline werkt niet als verwacht ([#2370](https://github.com/dso-toolkit/dso-toolkit/issues/2370))
35
+ * Legend: teveel witruimte onder filter titel ([#2373](https://github.com/dso-toolkit/dso-toolkit/issues/2373))
36
+ * Accordion: Verticale uitlijning chevron ([#2376](https://github.com/dso-toolkit/dso-toolkit/issues/2376))
37
+ * Form Group: Top spacing after image list ([#2357](https://github.com/dso-toolkit/dso-toolkit/issues/2357))
38
+ * Viewer Grid: Prop mainSize reflecteert niet naar attribuut ([#2367](https://github.com/dso-toolkit/dso-toolkit/issues/2367))
39
+
40
+ ### Tasks
41
+ * Build: Percy visueel regressie-testen stabiel maken ([#2030](https://github.com/dso-toolkit/dso-toolkit/issues/2030))
42
+ * Fundament: Categorisering componenten ([#2137](https://github.com/dso-toolkit/dso-toolkit/issues/2137))
43
+
44
+ ### Docs
45
+ * Voorbeeldpagina Aanvragen/Omgevingsoverleg: Tekst aanpassen ([#2348](https://github.com/dso-toolkit/dso-toolkit/issues/2348))
46
+ * Resultaat: Vergunningscheck voorbeeldpagina update qua elementen ([#2349](https://github.com/dso-toolkit/dso-toolkit/issues/2349))
47
+
8
48
  ## 60.0.0 - 02-10-2023
9
49
 
10
50
  ### Added
@@ -0,0 +1,47 @@
1
+ <svg viewBox="0 0 431 218.5" xmlns="http://www.w3.org/2000/svg">
2
+ <g fill="none" fill-rule="evenodd">
3
+ <g fill="#F2F2F2">
4
+ <path d="M250.395 0c29.056 0 53.873 18.135 63.738 43.698a95.645 95.645 0 0 1 21.562-2.448C388.33 41.25 431 83.895 431 136.5c0 34.551-18.407 64.805-45.955 81.502l-361.93-.001C8.557 199.644 0 177.216 0 153 0 90.868 56.333 40.5 125.823 40.5c20.905 0 40.62 4.559 57.968 12.625C190.674 22.71 217.881 0 250.395 0Z"/>
5
+ <circle cx="56" cy="36" r="12"/>
6
+ <circle cx="38" cy="51" r="6"/>
7
+ <circle transform="rotate(15 320.136 22.965)" cx="320.136" cy="22.965" r="8"/>
8
+ <circle transform="rotate(15 341.55 30.414)" cx="341.551" cy="30.414" r="4"/>
9
+ </g>
10
+ <g transform="translate(110 110)">
11
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#FFF" x="149.836" y="1.25" width="16.011" height="104.5" rx="2.5"/>
12
+ <path d="M164.597 0a2.5 2.5 0 0 1 2.5 2.5v102a2.5 2.5 0 0 1-2.5 2.5h-7.213c-7.553-3.448-2.424-10.65-.443-34.063.55-6.512 9.378-59.512 3.791-71.536l1.084-1.253A6.266 6.266 0 0 0 162.871 0h1.726Z" fill="#A9BDAF" opacity=".5"/>
13
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#FFF" x="43.274" y="1.25" width="16.011" height="104.5" rx="2.5"/>
14
+ <path d="M58.035 0a2.5 2.5 0 0 1 2.5 2.5v102a2.5 2.5 0 0 1-2.5 2.5h-7.213c-7.553-3.448-2.424-10.65-.443-34.063.55-6.512 9.378-59.512 3.792-71.536L55.255.148A6.266 6.266 0 0 0 56.31 0h1.725Z" fill="#A9BDAF" opacity=".5"/>
15
+ <rect stroke="#527A5F" stroke-width="2.5" x="43.274" y="1.25" width="16.011" height="104.5" rx="2.5"/>
16
+ <rect stroke="#527A5F" stroke-width="2.5" x="149.836" y="1.25" width="16.011" height="104.5" rx="2.5"/>
17
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#EBF3E6" x="1.25" y="52.25" width="208.122" height="26" rx="2.5"/>
18
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#EBF3E6" x="1.25" y="8.25" width="208.122" height="26" rx="2.5"/>
19
+ <path d="M17.581 51 9.944 79.5H2.5A2.5 2.5 0 0 1 0 77V53.5A2.5 2.5 0 0 1 2.5 51h15.081Zm30 0-7.637 28.5H26.508L34.145 51h13.436Zm30 0-7.637 28.5H56.508L64.145 51h13.436Zm30 0-7.637 28.5H86.508L94.145 51h13.436Zm30 0-7.637 28.5h-13.436l7.637-28.5h13.436Zm30 0-7.637 28.5h-13.436l7.637-28.5h13.436Zm40.541 0a2.5 2.5 0 0 1 2.5 2.5V77a2.5 2.5 0 0 1-2.5 2.5h-31.614l7.637-28.5h23.977ZM29.371 7l-7.637 28.5H2.5A2.5 2.5 0 0 1 0 33V9.5A2.5 2.5 0 0 1 2.5 7h26.871Zm30 0-7.637 28.5H38.298L45.935 7h13.436Zm30 0-7.637 28.5H68.298L75.935 7h13.436Zm30 0-7.637 28.5H98.298L105.935 7h13.436Zm30 0-7.637 28.5h-13.436L135.935 7h13.436Zm30 0-7.637 28.5h-13.436L165.935 7h13.436Zm28.751 0a2.5 2.5 0 0 1 2.5 2.5V33a2.5 2.5 0 0 1-2.5 2.5h-19.824L195.935 7h12.187Z" fill="#FFF"/>
20
+ <path d="M208.22 7.003 208.122 7a2.5 2.5 0 0 1 2.5 2.5V33a2.5 2.5 0 0 1-2.5 2.5l-29.577.001c14.15-3.411 25.386-11.498 29.443-25.788l.232-2.71ZM208.22 51.003l-.098-.003a2.5 2.5 0 0 1 2.5 2.5V77a2.5 2.5 0 0 1-2.5 2.5l-29.577.001c14.15-3.411 25.386-11.498 29.443-25.788l.232-2.71Z" fill="#A9BDAF" opacity=".5"/>
21
+ <rect stroke="#527A5F" stroke-width="3" x="1.5" y="8.5" width="207.622" height="25.5" rx="2.5"/>
22
+ <rect stroke="#527A5F" stroke-width="3" x="1.5" y="52.5" width="207.622" height="25.5" rx="2.5"/>
23
+ </g>
24
+ <g transform="translate(60 74)">
25
+ <rect stroke="#527A5F" stroke-width="2.5" fill="#FFF" x="1.25" y="1.25" width="80.048" height="54.5" rx="2.5"/>
26
+ <path d="M76.046 3.5a2.5 2.5 0 0 1 2.5 2.5v45a2.5 2.5 0 0 1-2.5 2.5H6.002a2.5 2.5 0 0 1-2.5-2.5v-6.08L44.948 3.5h31.098Z" fill="#B0CF9E"/>
27
+ <rect stroke="#527A5F" stroke-width="2" x="4.502" y="4.5" width="73.044" height="48" rx="2.5"/>
28
+ <rect stroke="#527A5F" stroke-width="2" fill="#FFF" x="40.022" y="54.5" width="3.503" height="55" rx="1.752"/>
29
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5H1.423c1.892-20.471 19.123-36.5 40.1-36.5Z" stroke="#527A5F" stroke-width="2" fill="#EBF3E6" stroke-linejoin="round"/>
30
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5H1.423c1.892-20.471 19.123-36.5 40.1-36.5Z" stroke="#527A5F" stroke-width="2" fill="#EBF3E6" stroke-linejoin="round"/>
31
+ <path d="M13.853 130.539c-.78 3.805 2.903 10.4-.783 11.626l-.308.834-11.34.001c1.358-14.683 10.607-27.081 23.469-32.918-5.494 5.38-9.276 11.856-11.038 20.457Z" fill="#FFF"/>
32
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5h-13.23c1.798-11.177-7.204-24.039-16.5-29.09-3.997-2.17-8.598-3.199-12.4-5.695-.87-.572-.81-1.133.292-1.678a40.86 40.86 0 0 1 1.738-.037Z" fill="#A9BDAF" opacity=".5"/>
33
+ <path d="M41.524 106.5c20.977 0 38.208 16.029 40.1 36.5H1.423c1.892-20.471 19.123-36.5 40.1-36.5Z" stroke="#527A5F" stroke-width="3" stroke-linejoin="round"/>
34
+ </g>
35
+ <path d="m339.757 143 19.477 73h-53.929l19.478-73h14.974Z" stroke="#527A5F" stroke-width="2" fill="#FFF"/>
36
+ <path d="m351.731 184 4.536 17h-47.994l4.536-17h38.922Zm-5.604-21 2.402 9h-32.518l2.401-9h27.715Zm-3.735-14 1.334 5h-22.913l1.334-5h20.245Z" fill="#B0CF9E"/>
37
+ <path d="M350.264 178.502 358.935 211h7.104l.001 4.13c-2.89 1.22-6.167.932-9.456.48l-.842-.12-.42-.06-.84-.12c-1.258-.177-2.507-.337-3.724-.402-9.978-.538-20.271.264-29.872-2.505-1.463-.422.425-1.89 2.338-3.192l.31-.21c.772-.519 1.52-1 2.02-1.362 12.975-9.401 24.036-13.04 24.71-29.137Z" fill="#A9BDAF" opacity=".5"/>
38
+ <path stroke="#527A5F" stroke-width="2" d="M299 212h66.039v4H299z"/>
39
+ <path stroke="#527A5F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M327.267 145.75h10.006"/>
40
+ <path stroke="#527A5F" stroke-width="2.5" stroke-linejoin="round" d="M324.606 142.655h15.34l18.596 69.69h-52.53z"/>
41
+ <path stroke="#527A5F" stroke-width="2.5" fill="#FFF" stroke-linejoin="round" d="M298 211h68.039v6H298z"/>
42
+ <path d="m251.386 94.5-35.73 35.71-35.73-35.71 35.73-35.71 35.73 35.71Z" stroke="#527A5F" stroke-width="2.5" fill="#FFF"/>
43
+ <path d="M215.656 57.023 253.154 94.5l-37.498 37.477-16.922-16.913 15.062-56.183 1.86-1.858Z" fill="#B0CF9E"/>
44
+ <path d="m251.386 94.5-35.73 35.71-35.73-35.71 35.73-35.71 35.73 35.71Z" stroke="#527A5F" stroke-width="2.5"/>
45
+ <path d="M215.055 101.9c-.966 0-1.633-.125-2-.375-.366-.25-.55-.658-.55-1.225V79.5c0-1.067 1-1.6 3-1.6h2.15c.967 0 1.709.117 2.225.35.517.233.775.583.775 1.05l-2.5 21c-.066.567-.266.975-.6 1.225-.333.25-.983.375-1.95.375h-.55Zm-.55 11.2c-2 0-3-.533-3-1.6v-4.6c0-1.067 1-1.6 3-1.6h1.6c2 0 3 .533 3 1.6v4.6c0 1.067-1 1.6-3 1.6h-1.6Z" fill="#275937" fill-rule="nonzero"/>
46
+ </g>
47
+ </svg>
package/dist/dso.css CHANGED
@@ -1,5 +1,5 @@
1
- /* DSO Toolkit version: 60.0.0 */
2
- :root { --dso-toolkit-version: 60.0.0 }
1
+ /* DSO Toolkit version: 61.2.0 */
2
+ :root { --dso-toolkit-version: 61.2.0 }
3
3
 
4
4
  @font-face {
5
5
  font-family: "Asap";
@@ -660,7 +660,7 @@ body {
660
660
  }
661
661
  .dso-section-handle a,
662
662
  .dso-section-handle button {
663
- align-items: center;
663
+ align-items: flex-start;
664
664
  background-color: transparent;
665
665
  border: 0;
666
666
  display: flex;
@@ -3698,7 +3698,7 @@ label {
3698
3698
  fieldset {
3699
3699
  border: 0;
3700
3700
  margin: 0;
3701
- min-width: 0;
3701
+ min-inline-size: 0;
3702
3702
  padding: 0;
3703
3703
  }
3704
3704
 
@@ -3707,9 +3707,13 @@ legend {
3707
3707
  color: #191919;
3708
3708
  font-size: 1.5rem;
3709
3709
  line-height: inherit;
3710
- margin-bottom: 24px;
3710
+ margin-block-end: 24px;
3711
3711
  padding: 0;
3712
- width: 100%;
3712
+ inline-size: 100%;
3713
+ }
3714
+
3715
+ fieldset fieldset legend {
3716
+ margin-block-end: 0;
3713
3717
  }
3714
3718
 
3715
3719
  footer {
@@ -3914,6 +3918,9 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
3914
3918
  max-width: 100%;
3915
3919
  text-align: left;
3916
3920
  }
3921
+ .form-group .dso-rich-content {
3922
+ overflow-x: auto;
3923
+ }
3917
3924
  .form-group legend + .dso-label-container {
3918
3925
  margin-bottom: 8px;
3919
3926
  }
@@ -4045,6 +4052,10 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4045
4052
  width: calc(100% - 32px);
4046
4053
  }
4047
4054
 
4055
+ .dso-img-list + .form-group {
4056
+ margin-block-start: 32px;
4057
+ }
4058
+
4048
4059
  .form .dso-field-container, form .dso-field-container, .dso-section-body .dso-field-container {
4049
4060
  position: relative;
4050
4061
  }
@@ -4244,12 +4255,15 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4244
4255
  font-weight: 400;
4245
4256
  margin-left: 4px;
4246
4257
  }
4247
- .form-group.dso-radios.dso-inline .dso-selectable {
4248
- display: inline-block;
4258
+ .form-group.dso-radios.dso-inline {
4259
+ --dso-selectable-display: inline-block;
4249
4260
  }
4250
4261
  .form-group.dso-radios.dso-inline .dso-selectable + .dso-selectable {
4251
4262
  margin-left: 24px;
4252
4263
  }
4264
+ .form-group.dso-radios.dso-inline dso-selectable + dso-selectable {
4265
+ margin-left: 24px;
4266
+ }
4253
4267
  .form-horizontal .form-group.dso-radios.dso-inline .dso-selectable {
4254
4268
  margin-bottom: 0;
4255
4269
  }
@@ -7148,6 +7162,7 @@ optgroup {
7148
7162
 
7149
7163
  .dso-selectable {
7150
7164
  position: relative;
7165
+ display: var(--dso-selectable-display, block);
7151
7166
  padding: 0 0 0 32px;
7152
7167
  }
7153
7168
  .dso-selectable .dso-selectable-options {
package/dist/index.js CHANGED
@@ -50,6 +50,7 @@ export { storiesOfLinkList } from "./components/link-list/link-list.stories-of.j
50
50
  export { Type } from "./components/list/list.models.js";
51
51
  export { storiesOfList } from "./components/list/list.stories-of.js";
52
52
  export { storiesOfListButton } from "./components/list-button/list-button.stories-of.js";
53
+ export { storiesOfLogo } from "./components/logo/logo.stories-of.js";
53
54
  export { storiesOfModal } from "./components/modal/modal.stories-of.js";
54
55
  export { storiesOfMapControls, } from "./components/map-controls/map-controls.stories-of.js";
55
56
  export { storiesOfNavbar } from "./components/navbar/navbar.stories-of.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dso-toolkit",
3
3
  "description": "DSO Toolkit",
4
4
  "license": "SEE LICENSE IN DISCLAIMER.txt",
5
- "version": "60.0.0",
5
+ "version": "61.2.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -99,7 +99,7 @@
99
99
 
100
100
  a,
101
101
  button {
102
- align-items: center;
102
+ align-items: flex-start;
103
103
  background-color: transparent;
104
104
  border: 0;
105
105
  display: flex;
@@ -5,7 +5,7 @@
5
5
  fieldset {
6
6
  border: 0;
7
7
  margin: 0;
8
- min-width: 0;
8
+ min-inline-size: 0;
9
9
  padding: 0;
10
10
  }
11
11
 
@@ -14,7 +14,11 @@ legend {
14
14
  color: css-fieldset-variables.$legend-color;
15
15
  font-size: typography.$root-font-size-base * 1.5;
16
16
  line-height: inherit;
17
- margin-bottom: typography.$line-height-computed;
17
+ margin-block-end: typography.$line-height-computed;
18
18
  padding: 0;
19
- width: 100%;
19
+ inline-size: 100%;
20
+ }
21
+
22
+ fieldset fieldset legend {
23
+ margin-block-end: 0;
20
24
  }
@@ -60,6 +60,10 @@
60
60
  text-align: left;
61
61
  }
62
62
 
63
+ .dso-rich-content {
64
+ overflow-x: auto;
65
+ }
66
+
63
67
  legend + .dso-label-container {
64
68
  margin-bottom: units.$u1;
65
69
  }
@@ -187,6 +191,11 @@
187
191
  }
188
192
  }
189
193
 
194
+ // to do: integrate this into spacing.scss [#2217]
195
+ .dso-img-list + .form-group {
196
+ margin-block-start: units.$vertical-spacing-xlarge;
197
+ }
198
+
190
199
  #{css-form-variables.$form-selectors} {
191
200
  .dso-field-container {
192
201
  position: relative;
@@ -18,9 +18,15 @@
18
18
  }
19
19
 
20
20
  &.dso-inline {
21
+ --dso-selectable-display: inline-block;
22
+
21
23
  .dso-selectable {
22
24
  @include selectable.inline(".dso-selectable");
23
25
  }
26
+
27
+ dso-selectable {
28
+ @include selectable.inline("dso-selectable");
29
+ }
24
30
  }
25
31
 
26
32
  .form-horizontal & {
@@ -12,8 +12,6 @@
12
12
  }
13
13
 
14
14
  @mixin inline($siblingSelectableSelector) {
15
- display: inline-block;
16
-
17
15
  + #{$siblingSelectableSelector} {
18
16
  margin-left: units.$u3;
19
17
  }
@@ -22,6 +20,8 @@
22
20
  @mixin root($info-selector, $set-padding: true) {
23
21
  position: relative;
24
22
 
23
+ display: var(--dso-selectable-display, block);
24
+
25
25
  @if ($set-padding) {
26
26
  padding: 0 0 0 units.$u4;
27
27
  }