dso-toolkit 62.25.0 → 62.27.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 (138) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/dso.css +1606 -1442
  3. package/dist/dso.css.map +1 -1
  4. package/dist/dso.min.css +1 -1
  5. package/dist/dso.min.css.map +1 -1
  6. package/dist/index.js +9 -9
  7. package/package.json +4 -4
  8. package/src/components/accordion/accordion-theme-compact.scss +18 -18
  9. package/src/components/accordion/accordion-theme-default.scss +2 -2
  10. package/src/components/accordion/accordion.scss +48 -34
  11. package/src/components/accordion/accordion.variables.scss +4 -4
  12. package/src/components/action-list/action-list.scss +9 -5
  13. package/src/components/action-list/action-list.variables.scss +1 -1
  14. package/src/components/action-list/components/action-list-item.variables.scss +1 -1
  15. package/src/components/advanced-select/advanced-select.variables.scss +4 -4
  16. package/src/components/alert/alert.mixins.scss +46 -18
  17. package/src/components/alert/alert.scss +25 -6
  18. package/src/components/alert/alert.variables.scss +8 -8
  19. package/src/components/anchor/anchor.variables.scss +1 -1
  20. package/src/components/application-heading/application-heading.mixins.scss +5 -5
  21. package/src/components/badge/badge.mixins.scss +3 -2
  22. package/src/components/banner/banner.mixins.scss +13 -11
  23. package/src/components/banner/banner.scss +10 -10
  24. package/src/components/banner/banner.variables.scss +2 -2
  25. package/src/components/blockquote/blockquote.scss +4 -3
  26. package/src/components/body/body.scss +1 -1
  27. package/src/components/breadcrumbs/breadcrumbs.mixins.scss +9 -7
  28. package/src/components/button/button.mixins.scss +47 -44
  29. package/src/components/button/button.scss +2 -2
  30. package/src/components/button/button.variables.scss +4 -4
  31. package/src/components/button-row/button-row.scss +1 -1
  32. package/src/components/card/card.mixins.scss +6 -5
  33. package/src/components/card/card.scss +15 -15
  34. package/src/components/card-container/card-container.scss +1 -1
  35. package/src/components/card-list/card-list.scss +3 -3
  36. package/src/components/code/code.scss +2 -1
  37. package/src/components/context/context.scss +10 -10
  38. package/src/components/definition-list/definition-list.scss +47 -47
  39. package/src/components/definition-list/definition-list.variables.scss +3 -3
  40. package/src/components/description/description.mixins.scss +20 -18
  41. package/src/components/document-component/document-component.scss +6 -6
  42. package/src/components/document-component-list/document-component-list.scss +1 -1
  43. package/src/components/document-header/document-header.scss +36 -32
  44. package/src/components/document-list/document-list.scss +14 -11
  45. package/src/components/dropdown-menu/dropdown-menu.mixins.scss +14 -11
  46. package/src/components/dropdown-menu/dropdown-menu.scss +13 -12
  47. package/src/components/dropdown-menu/dropdown-menu.variables.scss +1 -1
  48. package/src/components/field-label/field-label.scss +2 -2
  49. package/src/components/footer/footer.scss +8 -8
  50. package/src/components/footnotes/footnotes.mixins.scss +2 -2
  51. package/src/components/form/fieldset.scss +10 -10
  52. package/src/components/form/form-buttons/form-buttons.scss +5 -5
  53. package/src/components/form/form-group.scss +35 -33
  54. package/src/components/form/form-groups/checkboxes/form-group-checkboxes.scss +1 -1
  55. package/src/components/form/form-groups/confirm/form-group-confirm.scss +2 -2
  56. package/src/components/form/form-groups/files/form-group-files.scss +18 -13
  57. package/src/components/form/form-groups/input-number/form-group-input-number.scss +1 -1
  58. package/src/components/form/form-groups/radios/form-group-radios.scss +2 -2
  59. package/src/components/form/form-groups/search-bar/form-group-search-bar.scss +3 -3
  60. package/src/components/form/form-groups/select/form-group-select.scss +1 -1
  61. package/src/components/form/form-groups/static/form-group-static.scss +10 -10
  62. package/src/components/form/form-groups/textarea/form-group-textarea.scss +5 -5
  63. package/src/components/form/form-horizontal.scss +2 -2
  64. package/src/components/form/form.variables.scss +1 -1
  65. package/src/components/form-control/form-control.mixins.scss +6 -5
  66. package/src/components/form-control/form-control.variables.scss +1 -1
  67. package/src/components/grid/grid.mixins.scss +28 -28
  68. package/src/components/grid/grid.scss +21 -21
  69. package/src/components/header/header.scss +3 -3
  70. package/src/components/headings/headings.mixins.scss +2 -2
  71. package/src/components/highlight-box/highlight-box.mixins.scss +10 -10
  72. package/src/components/highlight-box/highlight-box.variables.scss +1 -1
  73. package/src/components/horizontal-rule/horizontal-rule.scss +4 -4
  74. package/src/components/icon/icon.scss +2 -2
  75. package/src/components/image/image.mixins.scss +2 -2
  76. package/src/components/info/info.mixins.scss +8 -6
  77. package/src/components/info-button/info-button.mixins.scss +1 -1
  78. package/src/components/input/input.scss +3 -2
  79. package/src/components/input-number/input-number.mixins.scss +3 -3
  80. package/src/components/justify-form-groups/justify-form-groups.scss +7 -7
  81. package/src/components/label/label.mixins.scss +10 -8
  82. package/src/components/label/label.scss +4 -4
  83. package/src/components/label/label.variables.scss +1 -1
  84. package/src/components/label-group/label-group.mixins.scss +4 -4
  85. package/src/components/legend-item/legend-item.scss +4 -1
  86. package/src/components/legend-item/legend-item.variables.scss +3 -3
  87. package/src/components/link-list/link-list.mixins.scss +4 -4
  88. package/src/components/link-list/link-list.scss +1 -1
  89. package/src/components/list/list.mixins.scss +1 -1
  90. package/src/components/list/list.scss +23 -22
  91. package/src/components/list-button/list-button.mixins.scss +16 -14
  92. package/src/components/list-button/list-button.scss +4 -3
  93. package/src/components/map-controls/map-controls.scss +1 -1
  94. package/src/components/modal/modal.mixins.scss +18 -12
  95. package/src/components/modal/modal.scss +6 -4
  96. package/src/components/modal/modal.variables.scss +5 -5
  97. package/src/components/navbar/navbar.mixins.scss +15 -12
  98. package/src/components/navbar/navbar.scss +1 -1
  99. package/src/components/pagination/pagination.mixins.scss +10 -8
  100. package/src/components/pagination/pagination.scss +2 -2
  101. package/src/components/paragraph/paragraph.scss +2 -1
  102. package/src/components/preformatted-text/preformatted-text.scss +2 -1
  103. package/src/components/progress-bar/progress-bar.mixins.scss +6 -6
  104. package/src/components/progress-bar/progress-bar.variables.scss +1 -1
  105. package/src/components/progress-indicator/progress-indicator.mixins.scss +7 -5
  106. package/src/components/rich-content/rich-content.mixins.scss +10 -7
  107. package/src/components/rich-content/rich-content.scss +2 -2
  108. package/src/components/rich-content/rich-content.variables.scss +2 -1
  109. package/src/components/search-bar/search-bar.scss +35 -31
  110. package/src/components/search-bar/search-bar.variables.scss +2 -2
  111. package/src/components/select/select.scss +1 -1
  112. package/src/components/selectable/selectable.mixins.scss +42 -40
  113. package/src/components/shopping-cart/shopping-cart.scss +42 -39
  114. package/src/components/step-counter/step-counter.mixins.scss +6 -6
  115. package/src/components/subscript/subscript.scss +1 -1
  116. package/src/components/subtitle/subtitle.scss +2 -2
  117. package/src/components/superscript/superscript.scss +1 -1
  118. package/src/components/table/table.mixins.scss +4 -4
  119. package/src/components/table/table.scss +27 -26
  120. package/src/components/table/table.variables.scss +1 -1
  121. package/src/components/tabs/tabs.scss +23 -20
  122. package/src/components/tabs/tabs.variables.scss +4 -4
  123. package/src/components/textarea/textarea.scss +1 -1
  124. package/src/components/tile/tile.mixins.scss +19 -17
  125. package/src/components/tile/tile.variables.scss +2 -2
  126. package/src/components/viewer-grid/viewer-grid.scss +4 -3
  127. package/src/components/whitebox/whitebox.mixins.scss +13 -11
  128. package/src/components/whitebox/whitebox.variables.scss +1 -1
  129. package/src/di.scss +2 -2
  130. package/src/global/functions/contrast-color.functions.scss +10 -9
  131. package/src/global/mixins/set-colors.mixin.scss +2 -1
  132. package/src/global/mixins/symbol.mixins.scss +3 -3
  133. package/src/global/spacing.scss +3 -3
  134. package/src/global/utilities.scss +3 -3
  135. package/src/legacy/legacy-panel.scss +54 -54
  136. package/src/utilities.scss +2 -2
  137. package/src/variables/states.scss +4 -0
  138. package/src/variables/units.scss +9 -9
@@ -32,13 +32,13 @@
32
32
  .form-horizontal & {
33
33
  &.dso-inline {
34
34
  .dso-selectable {
35
- margin-bottom: 0;
35
+ margin-block-end: 0;
36
36
  }
37
37
  }
38
38
 
39
39
  @media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
40
40
  .dso-field-container {
41
- padding-top: #{units.$padding-base-vertical + 1};
41
+ padding-block-start: #{units.$padding-base-block + 1};
42
42
  }
43
43
  }
44
44
  }
@@ -1,14 +1,14 @@
1
1
  .form-group.dso-form-group-search-bar {
2
2
  .dso-search-bar {
3
- margin-bottom: 0;
4
- width: 50%;
3
+ margin-block-end: 0;
4
+ inline-size: 50%;
5
5
  }
6
6
  }
7
7
 
8
8
  .form-horizontal {
9
9
  .form-group.dso-form-group-search-bar {
10
10
  .dso-search-bar {
11
- width: 100%;
11
+ inline-size: 100%;
12
12
  }
13
13
  }
14
14
  }
@@ -26,7 +26,7 @@
26
26
  background-position: calc(100% - #{units.$u1});
27
27
  background-repeat: no-repeat;
28
28
  background-size: icon.$size icon.$size;
29
- padding-right: units.$u4;
29
+ padding-inline-end: units.$u4;
30
30
 
31
31
  &:disabled {
32
32
  @include di.variant("caret-down-disabled");
@@ -4,30 +4,30 @@
4
4
  .form-group.dso-static {
5
5
  .form-horizontal & {
6
6
  .dso-field-container {
7
- margin-bottom: 0;
8
- min-height: typography.$root-line-height-computed + typography.$root-font-size-base;
9
- padding-bottom: units.$padding-base-vertical + 1;
10
- padding-top: units.$padding-base-vertical + 1;
7
+ margin-block-end: 0;
8
+ min-block-size: typography.$root-line-height-computed + typography.$root-font-size-base;
9
+ padding-block-end: units.$padding-base-block + 1;
10
+ padding-block-start: units.$padding-base-block + 1;
11
11
 
12
12
  * {
13
- margin-bottom: 0;
14
- margin-top: 0;
13
+ margin-block-end: 0;
14
+ margin-block-start: 0;
15
15
 
16
16
  + * {
17
- margin-top: units.$vertical-spacing-small;
17
+ margin-block-start: units.$block-spacing-small;
18
18
  }
19
19
  }
20
20
  }
21
21
 
22
22
  &.dso-edit {
23
23
  .dso-field-container {
24
- padding-right: units.$u5;
24
+ padding-inline-end: units.$u5;
25
25
  position: relative;
26
26
 
27
27
  button {
28
28
  position: absolute;
29
- right: units.$u2;
30
- top: 0;
29
+ inset-inline-end: units.$u2;
30
+ inset-block-start: 0;
31
31
  }
32
32
  }
33
33
  }
@@ -15,12 +15,12 @@
15
15
  resize: vertical;
16
16
 
17
17
  &.form-control {
18
- height: auto;
18
+ block-size: auto;
19
19
 
20
20
  &:not([rows]) {
21
- height: calc(
21
+ block-size: calc(
22
22
  #{typography.$line-height-base * css-form-variables.$textarea-default-rows}em + #{(
23
- units.$padding-base-vertical + 1
23
+ units.$padding-base-block + 1
24
24
  ) * 2}
25
25
  );
26
26
  }
@@ -29,8 +29,8 @@
29
29
 
30
30
  .form-control {
31
31
  .form-horizontal & {
32
- padding-bottom: units.$padding-base-vertical - 1;
33
- padding-top: units.$padding-base-vertical - 1;
32
+ padding-block-end: units.$padding-base-block - 1;
33
+ padding-block-start: units.$padding-base-block - 1;
34
34
  }
35
35
  }
36
36
  }
@@ -3,8 +3,8 @@
3
3
  .form-horizontal {
4
4
  @media (min-width: media-query-breakpoints.$screen-sm-min) {
5
5
  .control-label {
6
- margin-bottom: 0;
7
- text-align: right;
6
+ margin-block-end: 0;
7
+ text-align: end;
8
8
  }
9
9
  }
10
10
  }
@@ -24,4 +24,4 @@ $required-color: colors.$grijs-60;
24
24
  $form-group-margin-bottom: units.$u2;
25
25
 
26
26
  //** Default `.form-control` height
27
- $input-height-base: (typography.$line-height-computed + (units.$padding-base-vertical * 2) + 2);
27
+ $input-height-base: (typography.$line-height-computed + (units.$padding-base-block * 2) + 2);
@@ -8,9 +8,10 @@
8
8
 
9
9
  @mixin root() {
10
10
  display: block;
11
- width: 100%;
12
- height: form-control-variables.$height;
13
- padding: units.$padding-base-vertical (units.$padding-base-horizontal + 2);
11
+ inline-size: 100%;
12
+ block-size: form-control-variables.$block-size;
13
+ padding-block: units.$padding-base-block;
14
+ padding-inline: (units.$padding-base-inline + 2);
14
15
  font-size: typography.$root-font-size-base;
15
16
  line-height: typography.$line-height-base;
16
17
  color: colors.$input-color;
@@ -57,10 +58,10 @@
57
58
  }
58
59
 
59
60
  &[type="text"] {
60
- line-height: form-control-variables.$height;
61
+ line-height: form-control-variables.$block-size;
61
62
  }
62
63
 
63
64
  &[size] {
64
- width: auto;
65
+ inline-size: auto;
65
66
  }
66
67
  }
@@ -5,6 +5,6 @@
5
5
  $border-width: 1px;
6
6
  $focus-border-width: 1px;
7
7
  $focus-border-color: colors.$bosgroen;
8
- $height: calc((units.$padding-base-vertical + 1px) * 2 + $border-width * 2 + typography.$font-size-base * 1.5);
8
+ $block-size: calc((units.$padding-base-block + 1px) * 2 + $border-width * 2 + typography.$font-size-base * 1.5);
9
9
  $input-border-radius: 4px;
10
10
  $readonly-border-width: 1px;
@@ -6,15 +6,15 @@
6
6
  @use "grid.variables" as css-grid-variables;
7
7
 
8
8
  @mixin full-width-row($gutter: 0) {
9
- margin-left: calc(50% - 50vw);
10
- margin-right: calc(50% - 50vw);
9
+ margin-inline-start: calc(50% - 50vw);
10
+ margin-inline-end: calc(50% - 50vw);
11
11
 
12
12
  @if ($gutter > 0) {
13
- padding-left: calc(50vw - 50% - #{math.ceil($gutter * 0.5)});
14
- padding-right: calc(50vw - 50% - #{math.floor($gutter * 0.5)});
13
+ padding-inline-start: calc(50vw - 50% - #{math.ceil($gutter * 0.5)});
14
+ padding-inline-end: calc(50vw - 50% - #{math.floor($gutter * 0.5)});
15
15
  } @else {
16
- padding-left: calc(50vw - 50%);
17
- padding-right: calc(50vw - 50%);
16
+ padding-inline-start: calc(50vw - 50%);
17
+ padding-inline-end: calc(50vw - 50%);
18
18
  }
19
19
  }
20
20
 
@@ -25,48 +25,48 @@
25
25
 
26
26
  #{$list} {
27
27
  position: relative;
28
- min-height: 1px; // Prevent columns from collapsing when empty
29
- padding-right: math.floor(css-grid-variables.$grid-gutter-width * 0.5);
30
- padding-left: math.ceil(css-grid-variables.$grid-gutter-width * 0.5);
31
- float: left;
32
- width: 100%;
28
+ min-block-size: 1px; // Prevent columns from collapsing when empty
29
+ padding-inline-end: math.floor(css-grid-variables.$grid-gutter-width * 0.5);
30
+ padding-inline-start: math.ceil(css-grid-variables.$grid-gutter-width * 0.5);
31
+ float: inline-start;
32
+ inline-size: 100%;
33
33
  }
34
34
  }
35
35
 
36
36
  @mixin calc-grid-column($index, $class, $type) {
37
37
  @if ($type == width) and ($index > 0) {
38
38
  .col-#{$class}-#{$index} {
39
- width: math.percentage(math.div($index, css-grid-variables.$grid-columns));
39
+ inline-size: math.percentage(math.div($index, css-grid-variables.$grid-columns));
40
40
  }
41
41
  }
42
42
 
43
43
  @if ($type == push) and ($index > 0) {
44
44
  .col-#{$class}-push-#{$index} {
45
- left: math.percentage(math.div($index, css-grid-variables.$grid-columns));
45
+ inset-inline-start: math.percentage(math.div($index, css-grid-variables.$grid-columns));
46
46
  }
47
47
  }
48
48
 
49
49
  @if ($type == push) and ($index == 0) {
50
50
  .col-#{$class}-push-0 {
51
- left: auto;
51
+ inset-inline-start: auto;
52
52
  }
53
53
  }
54
54
 
55
55
  @if ($type == pull) and ($index > 0) {
56
56
  .col-#{$class}-pull-#{$index} {
57
- right: math.percentage(math.div($index, css-grid-variables.$grid-columns));
57
+ inset-inline-end: math.percentage(math.div($index, css-grid-variables.$grid-columns));
58
58
  }
59
59
  }
60
60
 
61
61
  @if ($type == pull) and ($index == 0) {
62
62
  .col-#{$class}-pull-0 {
63
- right: auto;
63
+ inset-inline-end: auto;
64
64
  }
65
65
  }
66
66
 
67
67
  @if ($type == offset) {
68
68
  .col-#{$class}-offset-#{$index} {
69
- margin-left: math.percentage(math.div($index, css-grid-variables.$grid-columns));
69
+ margin-inline-start: math.percentage(math.div($index, css-grid-variables.$grid-columns));
70
70
  }
71
71
  }
72
72
  }
@@ -85,17 +85,17 @@
85
85
  }
86
86
 
87
87
  @mixin container-fixed($gutter: css-grid-variables.$grid-gutter-width) {
88
- padding-right: math.ceil($gutter * 0.5);
89
- padding-left: math.floor($gutter * 0.5);
90
- margin-right: auto;
91
- margin-left: auto;
88
+ padding-inline-end: math.ceil($gutter * 0.5);
89
+ padding-inline-start: math.floor($gutter * 0.5);
90
+ margin-inline-end: auto;
91
+ margin-inline-start: auto;
92
92
 
93
93
  @include utilities.clearfix();
94
94
  }
95
95
 
96
96
  @mixin make-row($gutter: css-grid-variables.$grid-gutter-width) {
97
- margin-right: math.floor(math.div($gutter, -2));
98
- margin-left: math.ceil(math.div($gutter, -2));
97
+ margin-inline-end: math.floor(math.div($gutter, -2));
98
+ margin-inline-start: math.ceil(math.div($gutter, -2));
99
99
 
100
100
  @include utilities.clearfix();
101
101
  }
@@ -103,12 +103,12 @@
103
103
  // Generate the small columns
104
104
  @mixin make-sm-column($columns, $gutter: css-grid-variables.$grid-gutter-width) {
105
105
  position: relative;
106
- min-height: 1px;
107
- padding-right: ($gutter * 0.5);
108
- padding-left: ($gutter * 0.5);
106
+ min-block-size: 1px;
107
+ padding-inline-end: ($gutter * 0.5);
108
+ padding-inline-start: ($gutter * 0.5);
109
109
 
110
110
  @media (min-width: media-query-breakpoints.$screen-sm-min) {
111
- float: left;
112
- width: math.percentage(math.div($columns, css-grid-variables.$grid-columns));
111
+ float: inline-start;
112
+ inline-size: math.percentage(math.div($columns, css-grid-variables.$grid-columns));
113
113
  }
114
114
  }
@@ -8,15 +8,15 @@
8
8
  main,
9
9
  form {
10
10
  > .dso-rich-content {
11
- margin-bottom: units.$vertical-spacing-xlarge;
11
+ margin-block-end: units.$block-spacing-xlarge;
12
12
  }
13
13
 
14
14
  > .row {
15
15
  &.dso-featured {
16
- margin-bottom: units.$u4;
17
- margin-top: units.$u4;
18
- padding-bottom: units.$u5;
19
- padding-top: units.$u3;
16
+ margin-block-end: units.$u4;
17
+ margin-block-start: units.$u4;
18
+ padding-block-end: units.$u5;
19
+ padding-block-start: units.$u3;
20
20
 
21
21
  & + .row div:not(.dso-rich-content) {
22
22
  h1,
@@ -26,7 +26,7 @@ form {
26
26
  h3,
27
27
  .h3 {
28
28
  &:first-child {
29
- margin-top: 0;
29
+ margin-block-start: 0;
30
30
  }
31
31
  }
32
32
  }
@@ -38,15 +38,15 @@ form {
38
38
  @include css-grid-mixins.container-fixed();
39
39
 
40
40
  @media (min-width: media-query-breakpoints.$screen-sm-min) {
41
- width: css-grid-variables.$container-sm;
41
+ inline-size: css-grid-variables.$container-sm;
42
42
  }
43
43
 
44
44
  @media (min-width: media-query-breakpoints.$screen-md-min) {
45
- width: css-grid-variables.$container-md;
45
+ inline-size: css-grid-variables.$container-md;
46
46
  }
47
47
 
48
48
  @media (min-width: media-query-breakpoints.$screen-lg-min) {
49
- width: css-grid-variables.$container-lg;
49
+ inline-size: css-grid-variables.$container-lg;
50
50
  }
51
51
  }
52
52
 
@@ -65,7 +65,7 @@ form {
65
65
  &:has(.dso-highlight-box, dso-highlight-box) {
66
66
  --highlight-box-block-size: 100%;
67
67
  --highlight-box-min-block-size: auto;
68
- --highlight-box-counter-block-size: calc(100% - #{units.$shared-equal-heights-highlight-box-height});
68
+ --highlight-box-counter-block-size: calc(100% - #{units.$shared-equal-heights-highlight-box-block-size});
69
69
  --highlight-box-nocounter-block-size: calc(100% - #{units.$u2});
70
70
  }
71
71
 
@@ -77,11 +77,11 @@ form {
77
77
  flex-direction: column;
78
78
 
79
79
  > .dso-highlight-box {
80
- height: 100%;
81
- min-height: auto;
80
+ block-size: 100%;
81
+ min-block-size: auto;
82
82
 
83
83
  &.dso-has-counter {
84
- height: calc(100% - #{units.$shared-equal-heights-highlight-box-height});
84
+ block-size: calc(100% - #{units.$shared-equal-heights-highlight-box-block-size});
85
85
  }
86
86
  }
87
87
  }
@@ -94,7 +94,7 @@ form {
94
94
 
95
95
  position: relative;
96
96
 
97
- min-height: 352px;
97
+ min-block-size: 352px;
98
98
  overflow: hidden;
99
99
 
100
100
  @media only screen and (min-width: media-query-breakpoints.$screen-sm-min) {
@@ -104,14 +104,14 @@ form {
104
104
  background-size: 0; // background image killed off here, to be shown in the ::before
105
105
 
106
106
  &.no-button-banner {
107
- min-height: 296px;
107
+ min-block-size: 296px;
108
108
  }
109
109
 
110
110
  + .row {
111
- margin-top: units.$u3;
111
+ margin-block-start: units.$u3;
112
112
 
113
113
  &.dso-featured {
114
- margin-top: 0;
114
+ margin-block-start: 0;
115
115
  }
116
116
  }
117
117
 
@@ -164,12 +164,12 @@ form {
164
164
  }
165
165
 
166
166
  .row-no-gutters {
167
- margin-right: 0;
168
- margin-left: 0;
167
+ margin-inline-end: 0;
168
+ margin-inline-start: 0;
169
169
 
170
170
  [class*="col-"] {
171
- padding-right: 0;
172
- padding-left: 0;
171
+ padding-inline-end: 0;
172
+ padding-inline-start: 0;
173
173
  }
174
174
  }
175
175
 
@@ -11,11 +11,11 @@ dso-header {
11
11
  div[slot="logo"] {
12
12
  img {
13
13
  @media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
14
- max-height: 48px;
14
+ max-block-size: 48px;
15
15
  }
16
16
 
17
17
  @media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
18
- max-height: 40px;
18
+ max-block-size: 40px;
19
19
  }
20
20
  }
21
21
  }
@@ -24,7 +24,7 @@ dso-header {
24
24
  .dso-header.has-sub-logo {
25
25
  div[slot="logo"] {
26
26
  img {
27
- max-height: 40px;
27
+ max-block-size: 40px;
28
28
  }
29
29
  }
30
30
  }
@@ -8,12 +8,12 @@
8
8
  }
9
9
 
10
10
  @mixin margin-large() {
11
- margin-block-end: units.$vertical-spacing-medium;
11
+ margin-block-end: units.$block-spacing-medium;
12
12
  margin-block-start: typography.$line-height-computed;
13
13
  }
14
14
 
15
15
  @mixin margin-small() {
16
- margin-block-end: units.$vertical-spacing-medium;
16
+ margin-block-end: units.$block-spacing-medium;
17
17
  margin-block-start: (typography.$line-height-computed * 0.5);
18
18
  }
19
19
 
@@ -9,9 +9,9 @@
9
9
  @use "highlight-box.variables" as highlight-box-variables;
10
10
 
11
11
  @mixin root() {
12
- margin-top: units.$u2;
12
+ margin-block-start: units.$u2;
13
13
  padding: units.$u2;
14
- margin-bottom: units.$vertical-spacing-large;
14
+ margin-block-end: units.$block-spacing-large;
15
15
 
16
16
  block-size: var(--highlight-box-block-size, unset);
17
17
  min-block-size: var(--highlight-box-min-block-size, unset);
@@ -56,7 +56,7 @@
56
56
 
57
57
  &#{$border-selector} {
58
58
  border: 1px solid colors.$grijs-20;
59
- padding: units.$u2 - 1;
59
+ padding: #{units.$u2 - 1};
60
60
  }
61
61
 
62
62
  &#{$border-selector}:not(#{$grey-selector}, #{$yellow-selector}) {
@@ -64,18 +64,18 @@
64
64
  }
65
65
 
66
66
  &#{$has-counter-selector} {
67
- margin-top: highlight-box-variables.$margin-top;
67
+ margin-block-start: highlight-box-variables.$margin-block-start;
68
68
 
69
69
  @include step-counter.has-step-counter();
70
70
  }
71
71
 
72
72
  > .dso-highlight-box-banner {
73
73
  aspect-ratio: 2.38 / 1;
74
- margin-left: units.$u2 * -1;
75
- margin-right: units.$u2 * -1;
76
- margin-top: units.$u2 * -1;
74
+ margin-inline-start: units.$u2 * -1;
75
+ margin-inline-end: units.$u2 * -1;
76
+ margin-block-start: units.$u2 * -1;
77
77
  object-fit: cover;
78
- width: calc(100% + #{units.$u4});
78
+ inline-size: calc(100% + #{units.$u4});
79
79
  max-inline-size: unset;
80
80
 
81
81
  @container (min-width: 360px) and (max-width: 470px) {
@@ -94,12 +94,12 @@
94
94
  > #{$step-counter-selector} + .dso-rich-content,
95
95
  > .dso-rich-content:first-child {
96
96
  *:first-child {
97
- margin-top: 0 !important;
97
+ margin-block-start: 0 !important;
98
98
  }
99
99
  }
100
100
 
101
101
  > *:last-child {
102
- margin-bottom: 0 !important;
102
+ margin-block-end: 0 !important;
103
103
  }
104
104
 
105
105
  .dso-tertiary:not([disabled]) {
@@ -1,4 +1,4 @@
1
1
  @use "../../variables/units";
2
2
 
3
3
  $box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
4
- $margin-top: units.$shared-equal-heights-highlight-box-height;
4
+ $margin-block-start: units.$shared-equal-heights-highlight-box-block-size;
@@ -4,9 +4,9 @@
4
4
 
5
5
  hr {
6
6
  border: 0;
7
- border-top: 1px solid css-horizontal-rule-variables.$hr-border;
7
+ border-block-start: 1px solid css-horizontal-rule-variables.$hr-border;
8
8
  box-sizing: content-box;
9
- height: 0;
10
- margin-bottom: units.$vertical-spacing-medium;
11
- margin-top: units.$vertical-spacing-medium;
9
+ block-size: 0;
10
+ margin-block-end: units.$block-spacing-medium;
11
+ margin-block-start: units.$block-spacing-medium;
12
12
  }
@@ -1,7 +1,7 @@
1
1
  @use "../icon";
2
2
 
3
3
  svg.di {
4
- height: icon.$size;
4
+ block-size: icon.$size;
5
5
  vertical-align: icon.$vertical-align;
6
- width: icon.$size;
6
+ inline-size: icon.$size;
7
7
  }
@@ -6,8 +6,8 @@
6
6
 
7
7
  @mixin responsive($display: block) {
8
8
  display: $display;
9
- max-width: 100%;
10
- height: auto;
9
+ max-inline-size: 100%;
10
+ block-size: auto;
11
11
  }
12
12
 
13
13
  // DEPRECATED
@@ -4,7 +4,8 @@
4
4
  @use "../../global/mixins/set-colors.mixin" as set-colors;
5
5
 
6
6
  @mixin root() {
7
- padding: units.$u2 units.$u4 units.$u2 units.$u2;
7
+ padding-block: units.$u2;
8
+ padding-inline: units.$u2 units.$u4;
8
9
  position: relative;
9
10
 
10
11
  > button {
@@ -12,20 +13,21 @@
12
13
  border-style: none;
13
14
  padding: 0;
14
15
  position: absolute;
15
- right: units.$u1;
16
- top: units.$u1;
16
+ inset-inline-end: units.$u1;
17
+ inset-block-start: units.$u1;
17
18
  }
18
19
  }
19
20
 
20
21
  @mixin richContent() {
21
22
  *:first-child {
22
- margin-top: 0;
23
+ margin-block-start: 0;
23
24
  }
24
25
 
25
26
  img {
26
27
  display: block;
27
- margin: units.$u1 auto;
28
- max-width: 100%;
28
+ margin-block: units.$u1;
29
+ margin-inline: auto;
30
+ max-inline-size: 100%;
29
31
  }
30
32
 
31
33
  a {
@@ -6,7 +6,7 @@
6
6
  background-color: transparent;
7
7
  color: colors.$grasgroen;
8
8
  border: 0;
9
- margin-left: units.$u1;
9
+ margin-inline-start: units.$u1;
10
10
  padding: 0;
11
11
 
12
12
  &.dso-info-secondary {
@@ -18,7 +18,8 @@ input {
18
18
  box-sizing: border-box;
19
19
  padding: 0;
20
20
  line-height: normal;
21
- margin: 4px 0 0;
21
+ margin-block: 4px 0;
22
+ margin-inline: 0;
22
23
 
23
24
  &[disabled] {
24
25
  cursor: scaffolding.$cursor-disabled;
@@ -40,6 +41,6 @@ input {
40
41
 
41
42
  &[type="number"]::-webkit-inner-spin-button,
42
43
  &[type="number"]::-webkit-outer-spin-button {
43
- height: auto;
44
+ block-size: auto;
44
45
  }
45
46
  }
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  label {
11
- width: 100%;
11
+ inline-size: 100%;
12
12
  }
13
13
 
14
14
  .dso-input-step-counter {
@@ -16,9 +16,9 @@
16
16
  background-color: transparent;
17
17
  border: 0;
18
18
  display: inline-block;
19
- height: units.$ru3;
19
+ block-size: units.$ru3;
20
20
  text-align: center;
21
- width: units.$ru3;
21
+ inline-size: units.$ru3;
22
22
 
23
23
  &:focus,
24
24
  &:active {