dso-toolkit 54.0.0 → 54.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.
package/dist/dso.css CHANGED
@@ -720,6 +720,10 @@ dso-action-list .flow-line::after {
720
720
  top: 64px;
721
721
  width: 4px;
722
722
  }
723
+ dso-action-list .dso-rich-content h5,
724
+ dso-action-list .dso-rich-content .h5 {
725
+ margin-block: 0;
726
+ }
723
727
 
724
728
  .alert {
725
729
  border: 1px solid transparent;
@@ -3217,17 +3221,6 @@ del {
3217
3221
  flex-wrap: wrap;
3218
3222
  gap: 8px 16px;
3219
3223
  }
3220
- .dso-document-header .dso-document-header-status .dso-document-header-toggle-status {
3221
- background-color: transparent;
3222
- border: 0;
3223
- padding: 0;
3224
- }
3225
- .dso-document-header .dso-document-header-status .dso-document-header-toggle-status svg.di.di-chevron-down + span:not(.sr-only),
3226
- .dso-document-header .dso-document-header-status .dso-document-header-toggle-status svg.di.di-chevron-up + span:not(.sr-only),
3227
- .dso-document-header .dso-document-header-status .dso-document-header-toggle-status span:not(.sr-only) + svg.di.di-chevron-down,
3228
- .dso-document-header .dso-document-header-status .dso-document-header-toggle-status span:not(.sr-only) + svg.di.di-chevron-up {
3229
- margin-left: 4px;
3230
- }
3231
3224
  .dso-document-header .dso-document-header-status > dso-label,
3232
3225
  .dso-document-header .dso-document-header-status > .dso-label {
3233
3226
  margin-right: -8px;
@@ -3248,7 +3241,8 @@ del {
3248
3241
  display: inline-block;
3249
3242
  }
3250
3243
  .dso-document-header .dso-document-header-map-action,
3251
- .dso-document-header .dso-document-header-toggle-features {
3244
+ .dso-document-header .dso-document-header-toggle-features,
3245
+ .dso-document-header .dso-document-header-toggle-status {
3252
3246
  display: inline-block;
3253
3247
  font-size: 1em;
3254
3248
  font-weight: 500;
@@ -3268,47 +3262,59 @@ del {
3268
3262
  }
3269
3263
  .dso-document-header .dso-document-header-map-action:focus, .dso-document-header .dso-document-header-map-action:focus-visible,
3270
3264
  .dso-document-header .dso-document-header-toggle-features:focus,
3271
- .dso-document-header .dso-document-header-toggle-features:focus-visible {
3265
+ .dso-document-header .dso-document-header-toggle-features:focus-visible,
3266
+ .dso-document-header .dso-document-header-toggle-status:focus,
3267
+ .dso-document-header .dso-document-header-toggle-status:focus-visible {
3272
3268
  outline-offset: 2px;
3273
3269
  }
3274
3270
  .dso-document-header .dso-document-header-map-action:active,
3275
- .dso-document-header .dso-document-header-toggle-features:active {
3271
+ .dso-document-header .dso-document-header-toggle-features:active,
3272
+ .dso-document-header .dso-document-header-toggle-status:active {
3276
3273
  outline: 0;
3277
3274
  }
3278
3275
  .dso-document-header .dso-document-header-map-action.extern::after, .dso-document-header .dso-document-header-map-action.download::after,
3279
3276
  .dso-document-header .dso-document-header-toggle-features.extern::after,
3280
- .dso-document-header .dso-document-header-toggle-features.download::after {
3277
+ .dso-document-header .dso-document-header-toggle-features.download::after,
3278
+ .dso-document-header .dso-document-header-toggle-status.extern::after,
3279
+ .dso-document-header .dso-document-header-toggle-status.download::after {
3281
3280
  content: "";
3282
3281
  display: inline-block;
3283
3282
  margin-left: 8px;
3284
3283
  }
3285
3284
  .dso-document-header .dso-document-header-map-action[disabled],
3286
- .dso-document-header .dso-document-header-toggle-features[disabled] {
3285
+ .dso-document-header .dso-document-header-toggle-features[disabled],
3286
+ .dso-document-header .dso-document-header-toggle-status[disabled] {
3287
3287
  color: #afcf9d;
3288
3288
  }
3289
3289
  .dso-document-header .dso-document-header-map-action[disabled].dso-spinner-left, .dso-document-header .dso-document-header-map-action[disabled].dso-spinner-right,
3290
3290
  .dso-document-header .dso-document-header-toggle-features[disabled].dso-spinner-left,
3291
- .dso-document-header .dso-document-header-toggle-features[disabled].dso-spinner-right {
3291
+ .dso-document-header .dso-document-header-toggle-features[disabled].dso-spinner-right,
3292
+ .dso-document-header .dso-document-header-toggle-status[disabled].dso-spinner-left,
3293
+ .dso-document-header .dso-document-header-toggle-status[disabled].dso-spinner-right {
3292
3294
  color: #39870c;
3293
3295
  }
3294
3296
  .dso-document-header .dso-document-header-map-action:not([disabled]):hover,
3295
- .dso-document-header .dso-document-header-toggle-features:not([disabled]):hover {
3297
+ .dso-document-header .dso-document-header-toggle-features:not([disabled]):hover,
3298
+ .dso-document-header .dso-document-header-toggle-status:not([disabled]):hover {
3296
3299
  color: #275937;
3297
3300
  text-decoration: underline;
3298
3301
  text-underline-position: under;
3299
3302
  }
3300
3303
  .dso-document-header .dso-document-header-map-action:not([disabled]):active,
3301
- .dso-document-header .dso-document-header-toggle-features:not([disabled]):active {
3304
+ .dso-document-header .dso-document-header-toggle-features:not([disabled]):active,
3305
+ .dso-document-header .dso-document-header-toggle-status:not([disabled]):active {
3302
3306
  color: #173521;
3303
3307
  }
3304
3308
  .dso-document-header .dso-document-header-map-action.btn-align,
3305
- .dso-document-header .dso-document-header-toggle-features.btn-align {
3309
+ .dso-document-header .dso-document-header-toggle-features.btn-align,
3310
+ .dso-document-header .dso-document-header-toggle-status.btn-align {
3306
3311
  line-height: calc(1.5em - 1px);
3307
3312
  padding: 11px 0;
3308
3313
  position: relative;
3309
3314
  }
3310
3315
  .dso-document-header .dso-document-header-map-action.dso-spinner-left::before,
3311
- .dso-document-header .dso-document-header-toggle-features.dso-spinner-left::before {
3316
+ .dso-document-header .dso-document-header-toggle-features.dso-spinner-left::before,
3317
+ .dso-document-header .dso-document-header-toggle-status.dso-spinner-left::before {
3312
3318
  background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E");
3313
3319
  background-repeat: no-repeat;
3314
3320
  content: "";
@@ -3319,7 +3325,8 @@ del {
3319
3325
  margin-right: 8px;
3320
3326
  }
3321
3327
  .dso-document-header .dso-document-header-map-action.dso-spinner-right::after,
3322
- .dso-document-header .dso-document-header-toggle-features.dso-spinner-right::after {
3328
+ .dso-document-header .dso-document-header-toggle-features.dso-spinner-right::after,
3329
+ .dso-document-header .dso-document-header-toggle-status.dso-spinner-right::after {
3323
3330
  background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E");
3324
3331
  background-repeat: no-repeat;
3325
3332
  content: "";
@@ -3336,7 +3343,11 @@ del {
3336
3343
  .dso-document-header .dso-document-header-toggle-features dso-icon + span:not(.sr-only),
3337
3344
  .dso-document-header .dso-document-header-toggle-features svg.di + span:not(.sr-only),
3338
3345
  .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + dso-icon,
3339
- .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di {
3346
+ .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di,
3347
+ .dso-document-header .dso-document-header-toggle-status dso-icon + span:not(.sr-only),
3348
+ .dso-document-header .dso-document-header-toggle-status svg.di + span:not(.sr-only),
3349
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + dso-icon,
3350
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + svg.di {
3340
3351
  margin-left: 8px;
3341
3352
  }
3342
3353
  .dso-document-header .dso-document-header-map-action svg.di.di-chevron-down + span:not(.sr-only),
@@ -3346,7 +3357,11 @@ del {
3346
3357
  .dso-document-header .dso-document-header-toggle-features svg.di.di-chevron-down + span:not(.sr-only),
3347
3358
  .dso-document-header .dso-document-header-toggle-features svg.di.di-chevron-up + span:not(.sr-only),
3348
3359
  .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di.di-chevron-down,
3349
- .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di.di-chevron-up {
3360
+ .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di.di-chevron-up,
3361
+ .dso-document-header .dso-document-header-toggle-status svg.di.di-chevron-down + span:not(.sr-only),
3362
+ .dso-document-header .dso-document-header-toggle-status svg.di.di-chevron-up + span:not(.sr-only),
3363
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + svg.di.di-chevron-down,
3364
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + svg.di.di-chevron-up {
3350
3365
  margin-left: 4px;
3351
3366
  }
3352
3367
  .dso-document-header .dso-document-header-map-action dso-icon[icon=chevron-left] + span:not(.sr-only),
@@ -3364,7 +3379,15 @@ del {
3364
3379
  .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di.di-angle-down,
3365
3380
  .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + svg.di.di-angle-up,
3366
3381
  .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + dso-icon[icon=chevron-left],
3367
- .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + dso-icon[icon=chevron-right] {
3382
+ .dso-document-header .dso-document-header-toggle-features span:not(.sr-only) + dso-icon[icon=chevron-right],
3383
+ .dso-document-header .dso-document-header-toggle-status dso-icon[icon=chevron-left] + span:not(.sr-only),
3384
+ .dso-document-header .dso-document-header-toggle-status dso-icon[icon=chevron-right] + span:not(.sr-only),
3385
+ .dso-document-header .dso-document-header-toggle-status svg.di.di-angle-down + span:not(.sr-only),
3386
+ .dso-document-header .dso-document-header-toggle-status svg.di.di-angle-up + span:not(.sr-only),
3387
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + svg.di.di-angle-down,
3388
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + svg.di.di-angle-up,
3389
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + dso-icon[icon=chevron-left],
3390
+ .dso-document-header .dso-document-header-toggle-status span:not(.sr-only) + dso-icon[icon=chevron-right] {
3368
3391
  margin-left: 0;
3369
3392
  }
3370
3393
  .dso-document-header .dso-document-header-map-action dso-icon,
@@ -3372,7 +3395,10 @@ del {
3372
3395
  .dso-document-header .dso-document-header-map-action span,
3373
3396
  .dso-document-header .dso-document-header-toggle-features dso-icon,
3374
3397
  .dso-document-header .dso-document-header-toggle-features svg.di,
3375
- .dso-document-header .dso-document-header-toggle-features span {
3398
+ .dso-document-header .dso-document-header-toggle-features span,
3399
+ .dso-document-header .dso-document-header-toggle-status dso-icon,
3400
+ .dso-document-header .dso-document-header-toggle-status svg.di,
3401
+ .dso-document-header .dso-document-header-toggle-status span {
3376
3402
  vertical-align: middle;
3377
3403
  }
3378
3404
  .dso-document-header .dso-document-header-map-action {
@@ -4114,6 +4140,10 @@ form fieldset > legend + .alert, .dso-section-body fieldset > legend + dso-alert
4114
4140
  float: left;
4115
4141
  margin: 16px 0;
4116
4142
  }
4143
+ .form-group .dso-info h5,
4144
+ .form-group .dso-info .h5 {
4145
+ margin-block: 0;
4146
+ }
4117
4147
  .form-group .control-label {
4118
4148
  display: inline;
4119
4149
  font-weight: bold;
@@ -5485,8 +5515,8 @@ h2,
5485
5515
  .h2,
5486
5516
  h3,
5487
5517
  .h3 {
5488
- margin-bottom: 16px;
5489
- margin-top: 24px;
5518
+ margin-block-end: 16px;
5519
+ margin-block-start: 24px;
5490
5520
  }
5491
5521
 
5492
5522
  h1,
@@ -5527,8 +5557,8 @@ h5,
5527
5557
  .h5,
5528
5558
  h6,
5529
5559
  .h6 {
5530
- margin-bottom: 16px;
5531
- margin-top: 12px;
5560
+ margin-block-end: 16px;
5561
+ margin-block-start: 12px;
5532
5562
  }
5533
5563
 
5534
5564
  h4,
package/dist/index.js CHANGED
@@ -60,6 +60,7 @@ export { storiesOfProgressIndicator, } from "./components/progress-indicator/pro
60
60
  export { storiesOfResponsiveElement, } from "./components/responsive-element/responsive-element.stories-of.js";
61
61
  export { storiesOfRichContent } from "./components/rich-content/rich-content.stories-of.js";
62
62
  export { storiesOfRowEqualHeights, } from "./components/row-equal-heights/row-equal-heights.stories-of.js";
63
+ export { storiesOfScrollable } from "./components/scrollable/scrollable.stories-of.js";
63
64
  export { storiesOfSearchBar } from "./components/search-bar/search-bar.stories-of.js";
64
65
  export { storiesOfSelectable } from "./components/selectable/selectable.stories-of.js";
65
66
  export { storiesOfShoppingCart } from "./components/shopping-cart/shopping-cart.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": "54.0.0",
5
+ "version": "54.1.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -1,5 +1,6 @@
1
1
  @use "../../variables/colors.scss";
2
2
  @use "../../variables/units.scss";
3
+ @use "../headings";
3
4
 
4
5
  dso-action-list {
5
6
  dso-action-list-item {
@@ -22,4 +23,11 @@ dso-action-list {
22
23
  width: 4px;
23
24
  }
24
25
  }
26
+
27
+ .dso-rich-content {
28
+ h5,
29
+ .h5 {
30
+ @include headings.no-margin();
31
+ }
32
+ }
25
33
  }
@@ -86,19 +86,6 @@
86
86
  flex-wrap: wrap;
87
87
  gap: units.$u1 units.$u2;
88
88
 
89
- .dso-document-header-toggle-status {
90
- background-color: transparent;
91
- border: 0;
92
- padding: 0;
93
-
94
- svg.di.di-chevron-down + span:not(.sr-only),
95
- svg.di.di-chevron-up + span:not(.sr-only),
96
- span:not(.sr-only) + svg.di.di-chevron-down,
97
- span:not(.sr-only) + svg.di.di-chevron-up {
98
- margin-left: units.$u1 * 0.5;
99
- }
100
- }
101
-
102
89
  > dso-label,
103
90
  > .dso-label {
104
91
  margin-right: calc(units.$u1 * -1);
@@ -125,7 +112,8 @@
125
112
  }
126
113
 
127
114
  .dso-document-header-map-action,
128
- .dso-document-header-toggle-features {
115
+ .dso-document-header-toggle-features,
116
+ .dso-document-header-toggle-status {
129
117
  @include button.tertiary();
130
118
 
131
119
  color: colors.$zwart;
@@ -6,6 +6,7 @@
6
6
  @use "../../variables/typography";
7
7
  @use "../../variables/zindex";
8
8
  @use "../form-control";
9
+ @use "../headings";
9
10
 
10
11
  @use "../../di";
11
12
 
@@ -44,6 +45,13 @@
44
45
  margin: units.$u2 0;
45
46
  }
46
47
 
48
+ .dso-info {
49
+ h5,
50
+ .h5 {
51
+ @include headings.no-margin();
52
+ }
53
+ }
54
+
47
55
  .control-label {
48
56
  display: inline;
49
57
  font-weight: bold;
@@ -7,13 +7,17 @@
7
7
  }
8
8
 
9
9
  @mixin margin-large() {
10
- margin-bottom: units.$vertical-spacing-medium;
11
- margin-top: typography.$line-height-computed;
10
+ margin-block-end: units.$vertical-spacing-medium;
11
+ margin-block-start: typography.$line-height-computed;
12
12
  }
13
13
 
14
14
  @mixin margin-small() {
15
- margin-bottom: units.$vertical-spacing-medium;
16
- margin-top: (typography.$line-height-computed * 0.5);
15
+ margin-block-end: units.$vertical-spacing-medium;
16
+ margin-block-start: (typography.$line-height-computed * 0.5);
17
+ }
18
+
19
+ @mixin no-margin() {
20
+ margin-block: 0;
17
21
  }
18
22
 
19
23
  @mixin h1() {
File without changes
@@ -1,6 +1,7 @@
1
1
  @use "../../utilities";
2
2
  @use "../../variables/units";
3
3
  @use "../../variables/colors";
4
+ @use "../../variables/zindex";
4
5
  @use "../list";
5
6
  @use "../form-control";
6
7
 
@@ -60,7 +61,7 @@
60
61
  > .dso-delete {
61
62
  position: absolute;
62
63
  width: units.$u3;
63
- z-index: 2;
64
+ z-index: zindex.$shopping-cart;
64
65
  }
65
66
 
66
67
  > .dso-items {
@@ -23,3 +23,5 @@ $modal-background-overlay: 529;
23
23
  $modal: 530;
24
24
 
25
25
  $image-overlay: 20;
26
+
27
+ $shopping-cart: 2;