dso-toolkit 62.24.0 → 62.26.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 (130) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/dso-icons.svg +2 -2
  3. package/dist/dso.css +1265 -1256
  4. package/dist/dso.css.map +1 -1
  5. package/dist/dso.min.css +1 -1
  6. package/dist/dso.min.css.map +1 -1
  7. package/dist/index.js +5 -5
  8. package/package.json +4 -4
  9. package/src/components/accordion/accordion-theme-compact.scss +18 -18
  10. package/src/components/accordion/accordion-theme-default.scss +2 -2
  11. package/src/components/accordion/accordion.scss +32 -32
  12. package/src/components/accordion/accordion.variables.scss +4 -4
  13. package/src/components/action-list/action-list.scss +9 -5
  14. package/src/components/action-list/action-list.variables.scss +1 -1
  15. package/src/components/action-list/components/action-list-item.variables.scss +1 -1
  16. package/src/components/advanced-select/advanced-select.variables.scss +4 -4
  17. package/src/components/alert/alert.mixins.scss +13 -12
  18. package/src/components/alert/alert.variables.scss +4 -4
  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 +1 -1
  22. package/src/components/banner/banner.mixins.scss +9 -9
  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 +2 -2
  26. package/src/components/body/body.scss +1 -1
  27. package/src/components/breadcrumbs/breadcrumbs.mixins.scss +5 -5
  28. package/src/components/button/button.mixins.scss +44 -43
  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 +4 -4
  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/context/context.scss +10 -10
  37. package/src/components/definition-list/definition-list.scss +47 -47
  38. package/src/components/definition-list/definition-list.variables.scss +3 -3
  39. package/src/components/description/description.mixins.scss +16 -16
  40. package/src/components/document-component/document-component.scss +6 -6
  41. package/src/components/document-header/document-header.scss +27 -27
  42. package/src/components/document-list/document-list.scss +4 -4
  43. package/src/components/dropdown-menu/dropdown-menu.mixins.scss +10 -10
  44. package/src/components/dropdown-menu/dropdown-menu.scss +11 -11
  45. package/src/components/dropdown-menu/dropdown-menu.variables.scss +1 -1
  46. package/src/components/field-label/field-label.scss +2 -2
  47. package/src/components/footer/footer.scss +8 -8
  48. package/src/components/footnotes/footnotes.mixins.scss +2 -2
  49. package/src/components/form/fieldset.scss +10 -10
  50. package/src/components/form/form-buttons/form-buttons.scss +5 -5
  51. package/src/components/form/form-group.scss +31 -31
  52. package/src/components/form/form-groups/checkboxes/form-group-checkboxes.scss +1 -1
  53. package/src/components/form/form-groups/confirm/form-group-confirm.scss +2 -2
  54. package/src/components/form/form-groups/files/form-group-files.scss +7 -7
  55. package/src/components/form/form-groups/input-number/form-group-input-number.scss +1 -1
  56. package/src/components/form/form-groups/radios/form-group-radios.scss +2 -2
  57. package/src/components/form/form-groups/search-bar/form-group-search-bar.scss +3 -3
  58. package/src/components/form/form-groups/select/form-group-select.scss +1 -1
  59. package/src/components/form/form-groups/static/form-group-static.scss +10 -10
  60. package/src/components/form/form-groups/textarea/form-group-textarea.scss +5 -5
  61. package/src/components/form/form-horizontal.scss +2 -2
  62. package/src/components/form/form.variables.scss +1 -1
  63. package/src/components/form-control/form-control.mixins.scss +5 -5
  64. package/src/components/form-control/form-control.variables.scss +1 -1
  65. package/src/components/grid/grid.mixins.scss +28 -28
  66. package/src/components/grid/grid.scss +21 -21
  67. package/src/components/header/header.scss +3 -3
  68. package/src/components/headings/headings.mixins.scss +2 -2
  69. package/src/components/highlight-box/highlight-box.mixins.scss +9 -9
  70. package/src/components/highlight-box/highlight-box.variables.scss +1 -1
  71. package/src/components/horizontal-rule/horizontal-rule.scss +4 -4
  72. package/src/components/icon/icon.scss +2 -2
  73. package/src/components/image/image.mixins.scss +2 -2
  74. package/src/components/info/info.mixins.scss +4 -4
  75. package/src/components/info-button/info-button.mixins.scss +1 -1
  76. package/src/components/input/input.scss +1 -1
  77. package/src/components/input-number/input-number.mixins.scss +3 -3
  78. package/src/components/justify-form-groups/justify-form-groups.scss +7 -7
  79. package/src/components/label/label.mixins.scss +6 -6
  80. package/src/components/label/label.scss +4 -4
  81. package/src/components/label/label.variables.scss +1 -1
  82. package/src/components/label-group/label-group.mixins.scss +4 -4
  83. package/src/components/legend-item/legend-item.scss +4 -1
  84. package/src/components/legend-item/legend-item.variables.scss +3 -3
  85. package/src/components/link-list/link-list.mixins.scss +4 -4
  86. package/src/components/link-list/link-list.scss +1 -1
  87. package/src/components/list/list.mixins.scss +1 -1
  88. package/src/components/list/list.scss +21 -21
  89. package/src/components/list-button/list-button.mixins.scss +12 -12
  90. package/src/components/list-button/list-button.scss +2 -2
  91. package/src/components/map-controls/map-controls.scss +1 -1
  92. package/src/components/modal/modal.mixins.scss +8 -8
  93. package/src/components/modal/modal.scss +6 -4
  94. package/src/components/modal/modal.variables.scss +5 -5
  95. package/src/components/navbar/navbar.mixins.scss +10 -10
  96. package/src/components/navbar/navbar.scss +1 -1
  97. package/src/components/pagination/pagination.mixins.scss +7 -7
  98. package/src/components/pagination/pagination.scss +2 -2
  99. package/src/components/paragraph/paragraph.scss +2 -1
  100. package/src/components/progress-bar/progress-bar.mixins.scss +6 -6
  101. package/src/components/progress-bar/progress-bar.variables.scss +1 -1
  102. package/src/components/progress-indicator/progress-indicator.mixins.scss +3 -3
  103. package/src/components/rich-content/rich-content.mixins.scss +7 -7
  104. package/src/components/rich-content/rich-content.scss +2 -2
  105. package/src/components/rich-content/rich-content.variables.scss +2 -1
  106. package/src/components/search-bar/search-bar.scss +29 -29
  107. package/src/components/search-bar/search-bar.variables.scss +2 -2
  108. package/src/components/select/select.scss +1 -1
  109. package/src/components/selectable/selectable.mixins.scss +38 -38
  110. package/src/components/shopping-cart/shopping-cart.scss +34 -34
  111. package/src/components/step-counter/step-counter.mixins.scss +6 -6
  112. package/src/components/subscript/subscript.scss +1 -1
  113. package/src/components/subtitle/subtitle.scss +2 -2
  114. package/src/components/superscript/superscript.scss +1 -1
  115. package/src/components/table/table.mixins.scss +4 -4
  116. package/src/components/table/table.scss +21 -21
  117. package/src/components/table/table.variables.scss +1 -1
  118. package/src/components/tabs/tabs.scss +19 -18
  119. package/src/components/tabs/tabs.variables.scss +4 -4
  120. package/src/components/textarea/textarea.scss +1 -1
  121. package/src/components/tile/tile.mixins.scss +15 -15
  122. package/src/components/tile/tile.variables.scss +2 -2
  123. package/src/components/viewer-grid/viewer-grid.scss +2 -2
  124. package/src/components/whitebox/whitebox.mixins.scss +9 -9
  125. package/src/components/whitebox/whitebox.variables.scss +1 -1
  126. package/src/di.scss +2 -2
  127. package/src/global/spacing.scss +3 -3
  128. package/src/global/utilities.scss +3 -3
  129. package/src/utilities.scss +2 -2
  130. package/src/variables/units.scss +9 -9
@@ -10,19 +10,19 @@
10
10
  background-color: css-list-variables.$group-background-color;
11
11
  border: 1px solid css-list-variables.$group-border-color;
12
12
  display: block;
13
- margin-bottom: -1px;
13
+ margin-block-end: -1px;
14
14
  padding: 10px 15px;
15
15
  position: relative;
16
16
 
17
17
  &:first-child {
18
- border-top-left-radius: css-list-variables.$group-border-radius;
19
- border-top-right-radius: css-list-variables.$group-border-radius;
18
+ border-start-start-radius: css-list-variables.$group-border-radius;
19
+ border-start-end-radius: css-list-variables.$group-border-radius;
20
20
  }
21
21
 
22
22
  &:last-child {
23
- border-bottom-left-radius: css-list-variables.$group-border-radius;
24
- border-bottom-right-radius: css-list-variables.$group-border-radius;
25
- margin-bottom: 0;
23
+ border-end-start-radius: css-list-variables.$group-border-radius;
24
+ border-end-end-radius: css-list-variables.$group-border-radius;
25
+ margin-block-end: 0;
26
26
  }
27
27
  }
28
28
 
@@ -31,8 +31,8 @@
31
31
  }
32
32
 
33
33
  .list-group {
34
- margin-bottom: 20px;
35
- padding-left: 0;
34
+ margin-block-end: 20px;
35
+ padding-inline-start: 0;
36
36
  }
37
37
 
38
38
  .dso-img-list {
@@ -40,7 +40,7 @@
40
40
  flex-direction: column;
41
41
  gap: units.$u1;
42
42
  list-style: none;
43
- padding-left: 0;
43
+ padding-inline-start: 0;
44
44
 
45
45
  li {
46
46
  align-items: flex-start;
@@ -48,8 +48,8 @@
48
48
  gap: units.$u1;
49
49
 
50
50
  img {
51
- height: units.$u3;
52
- width: units.$u3;
51
+ block-size: units.$u3;
52
+ inline-size: units.$u3;
53
53
  }
54
54
  }
55
55
 
@@ -64,13 +64,13 @@
64
64
 
65
65
  ul,
66
66
  ol {
67
- margin-top: 0;
68
- margin-bottom: units.$u2;
67
+ margin-block-start: 0;
68
+ margin-block-end: units.$u2;
69
69
 
70
70
  &.dso-columns-list {
71
71
  list-style: none;
72
72
  margin: 0;
73
- padding-left: 0;
73
+ padding-inline-start: 0;
74
74
 
75
75
  @media (max-width: media-query-breakpoints.$screen-sm-max) {
76
76
  columns: 1;
@@ -88,14 +88,14 @@ ol {
88
88
  li {
89
89
  .dso-info,
90
90
  dso-info {
91
- margin-bottom: units.$u1;
92
- margin-top: units.$u1;
91
+ margin-block-end: units.$u1;
92
+ margin-block-start: units.$u1;
93
93
  }
94
94
  }
95
95
 
96
96
  ul,
97
97
  ol {
98
- margin-bottom: 0;
98
+ margin-block-end: 0;
99
99
  }
100
100
 
101
101
  &.dso-list-unstyled {
@@ -113,11 +113,11 @@ ul {
113
113
  background-position: center;
114
114
  background-size: cover;
115
115
  content: "";
116
- height: 1em;
117
- left: -1.2em;
116
+ block-size: 1em;
117
+ inset-inline-start: -1.2em;
118
118
  position: absolute;
119
- top: 0.25em;
120
- width: 1em;
119
+ inset-block-start: 0.25em;
120
+ inline-size: 1em;
121
121
  }
122
122
  }
123
123
 
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  &:not(:first-child) {
34
- border-left-style: none !important;
34
+ border-inline-start-style: none !important;
35
35
  }
36
36
 
37
37
  &:last-child {
@@ -89,7 +89,7 @@
89
89
  }
90
90
 
91
91
  #{$list-button-selector} {
92
- padding-right: #{units.$u2 - 1};
92
+ padding-inline-end: #{units.$u2 - 1};
93
93
  }
94
94
  }
95
95
 
@@ -102,9 +102,9 @@
102
102
  font-weight: 600;
103
103
  padding: #{units.$u2 - 1} #{units.$u6 - 1} #{units.$u2 - 1} #{units.$u2 - 1};
104
104
  position: relative;
105
- text-align: left;
105
+ text-align: start;
106
106
  white-space: normal;
107
- width: 100%;
107
+ inline-size: 100%;
108
108
  cursor: pointer;
109
109
 
110
110
  &:hover,
@@ -139,7 +139,7 @@
139
139
 
140
140
  &.dso-single-count {
141
141
  @media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
142
- border-right: 0;
142
+ border-inline-end: 0;
143
143
  box-shadow:
144
144
  colors.$grasgroen 0px 1px 0px 0px inset,
145
145
  colors.$grasgroen 1px 0px 0px 0px inset,
@@ -158,17 +158,17 @@
158
158
 
159
159
  .dso-sublabel {
160
160
  font-weight: 400;
161
- width: 100%;
161
+ inline-size: 100%;
162
162
  }
163
163
 
164
164
  dso-icon,
165
165
  svg.di,
166
166
  .dso-count {
167
- height: units.$u3;
167
+ block-size: units.$u3;
168
168
  position: absolute;
169
- right: #{units.$u2 - 1};
170
- top: #{units.$u2 - 1};
171
- width: units.$u3;
169
+ inset-inline-end: #{units.$u2 - 1};
170
+ inset-block-start: #{units.$u2 - 1};
171
+ inline-size: units.$u3;
172
172
  }
173
173
 
174
174
  dso-icon,
@@ -184,12 +184,12 @@
184
184
  @media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
185
185
  &.dso-selected.dso-single-count {
186
186
  &::after {
187
- width: 0;
187
+ inline-size: 0;
188
188
  }
189
189
  }
190
190
  }
191
191
  }
192
192
 
193
193
  @mixin sibling() {
194
- margin-top: list-button-variables.$margin-gap;
194
+ margin-block-start: list-button-variables.$margin-gap;
195
195
  }
@@ -36,8 +36,8 @@ dso-list-button > [slot="subcontent"] {
36
36
  }
37
37
 
38
38
  dso-list-button > [slot="subcontent"] {
39
- padding-left: selectable.$size + units.$u3;
40
- padding-top: units.$u1;
39
+ padding-inline-start: selectable.$size + units.$u3;
40
+ padding-block-start: units.$u1;
41
41
  }
42
42
 
43
43
  dso-list-button + dso-list-button {
@@ -2,6 +2,6 @@
2
2
 
3
3
  dso-map-controls {
4
4
  & > * + * {
5
- margin-top: units.$u4;
5
+ margin-block-start: units.$u4;
6
6
  }
7
7
  }
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  .dso-dialog {
34
- inline-size: modal-variables.$max-width;
34
+ inline-size: modal-variables.$max-inline-size;
35
35
 
36
36
  background-color: modal-variables.$content-bg;
37
37
 
@@ -76,12 +76,12 @@
76
76
 
77
77
  > .dso-dialog > .dso-body {
78
78
  $dso-body-unavailable-height: (2 * modal-variables.$header-padding) +
79
- (modal-variables.$footer-button-height + modal-variables.$footer-padding);
79
+ (modal-variables.$footer-button-block-size + modal-variables.$footer-padding);
80
80
 
81
81
  @include rich-content.children();
82
82
 
83
83
  block-size: calc(100% - #{modal-variables.$body-padding * 2 + units.$u4} - 1.5rem);
84
- max-block-size: calc(#{modal-variables.$max-height} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
84
+ max-block-size: calc(#{modal-variables.$max-block-size} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
85
85
  min-block-size: 1.5rem;
86
86
  overflow-x: auto;
87
87
 
@@ -90,11 +90,11 @@
90
90
 
91
91
  > .dso-dialog > dso-scrollable {
92
92
  $dso-body-unavailable-height: (2 * modal-variables.$header-padding) +
93
- (modal-variables.$footer-button-height + modal-variables.$footer-padding);
93
+ (modal-variables.$footer-button-block-size + modal-variables.$footer-padding);
94
94
 
95
95
  block-size: calc(100% - #{modal-variables.$body-padding * 2 + units.$u4} - 1.5rem);
96
- max-block-size: calc(#{modal-variables.$max-height} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
97
- min-block-size: modal-variables.$body-min-height;
96
+ max-block-size: calc(#{modal-variables.$max-block-size} - #{$dso-body-unavailable-height + units.$u4} - 1.5em);
97
+ min-block-size: modal-variables.$body-min-block-size;
98
98
 
99
99
  .dso-body {
100
100
  @include rich-content.children();
@@ -112,7 +112,7 @@
112
112
  .dso-footer {
113
113
  @include modal-wide-buttons();
114
114
 
115
- min-block-size: modal-variables.$footer-button-height + modal-variables.$footer-padding;
115
+ min-block-size: modal-variables.$footer-button-block-size + modal-variables.$footer-padding;
116
116
 
117
117
  padding: calc(modal-variables.$footer-padding / 2) modal-variables.$footer-padding;
118
118
 
@@ -165,7 +165,7 @@
165
165
  // special query for height
166
166
  @media screen and (max-height: modal-variables.$small-modal-vh) {
167
167
  .dso-dialog {
168
- min-block-size: modal-variables.$min-modal-height;
168
+ min-block-size: modal-variables.$min-modal-block-size;
169
169
 
170
170
  margin-block-start: units.$u1;
171
171
  margin-block-end: units.$u1;
@@ -31,9 +31,10 @@ body:has(dso-modal.hydrated) {
31
31
 
32
32
  .dso-footer {
33
33
  .dso-tertiary {
34
- float: left;
34
+ float: inline-start;
35
35
  line-height: calc(1.5em - 1px);
36
- padding: button.$vertical-padding 0;
36
+ padding-block: button.$block-padding;
37
+ padding-inline: 0;
37
38
  position: relative;
38
39
  }
39
40
  }
@@ -52,9 +53,10 @@ dso-modal {
52
53
  @include modal.modal-wide-buttons();
53
54
 
54
55
  .dso-tertiary {
55
- float: left;
56
+ float: inline-start;
56
57
  line-height: calc(1.5em - 1px);
57
- padding: button.$vertical-padding 0;
58
+ padding-block: button.$block-padding;
59
+ padding-inline: 0;
58
60
  position: relative;
59
61
  }
60
62
  }
@@ -1,11 +1,11 @@
1
1
  @use "../../variables/colors";
2
2
  @use "../../variables/units";
3
3
 
4
- $max-width: 640px;
5
- $max-height: 70vh;
4
+ $max-inline-size: 640px;
5
+ $max-block-size: 70vh;
6
6
 
7
7
  $small-modal-vh: 380px;
8
- $min-modal-height: 216px;
8
+ $min-modal-block-size: 216px;
9
9
 
10
10
  $backdrop-bg: colors.$wit;
11
11
  $backdrop-opacity: 0.2;
@@ -16,8 +16,8 @@ $close-icon-size: units.$u4;
16
16
  $close-icon-color: colors.$grasgroen;
17
17
 
18
18
  $header-padding: units.$u2;
19
- $body-min-height: 6.5rem;
19
+ $body-min-block-size: 6.5rem;
20
20
  $body-padding: units.$u4;
21
21
  $footer-padding: units.$u4;
22
22
  $footer-padding-small-modal-vh: units.$u1;
23
- $footer-button-height: units.$u6;
23
+ $footer-button-block-size: units.$u6;
@@ -7,21 +7,21 @@
7
7
 
8
8
  @mixin root() {
9
9
  .dso-navbar {
10
- min-height: units.$u4;
10
+ min-block-size: units.$u4;
11
11
 
12
12
  .dso-navbar-header {
13
- float: left;
13
+ float: inline-start;
14
14
  }
15
15
 
16
16
  .dso-navbar-toggle {
17
17
  border-radius: 4px;
18
- min-width: auto;
19
- padding: #{units.$padding-base-vertical - 1} 0;
18
+ min-inline-size: auto;
19
+ padding: #{units.$padding-base-block - 1} 0;
20
20
 
21
21
  dso-icon,
22
22
  svg.di {
23
- margin-left: units.$u1;
24
- margin-right: units.$u1;
23
+ margin-inline-start: units.$u1;
24
+ margin-inline-end: units.$u1;
25
25
  }
26
26
 
27
27
  @media screen and (min-width: media-query-breakpoints.$screen-md-min) {
@@ -82,7 +82,7 @@
82
82
 
83
83
  font-size: 1.25em;
84
84
  line-height: 1;
85
- margin-top: units.$u1;
85
+ margin-block-start: units.$u1;
86
86
  padding: units.$u1 units.$u2 #{units.$u1 - 1px};
87
87
  }
88
88
  }
@@ -97,7 +97,7 @@
97
97
  @include anchor.reverse();
98
98
 
99
99
  font-size: typography.$root-font-size-base;
100
- margin-top: (units.$u1 * 0.5);
100
+ margin-block-start: (units.$u1 * 0.5);
101
101
  padding: (units.$u1 * 0.5) units.$u1 #{units.$u1 * 0.5 - 1px};
102
102
  }
103
103
  }
@@ -106,9 +106,9 @@
106
106
  }
107
107
 
108
108
  @mixin nav-item-border($color) {
109
- border-bottom: 4px solid $color;
109
+ border-block-end: 4px solid $color;
110
110
  }
111
111
 
112
112
  @mixin nav-border() {
113
- border-bottom: 1px solid colors.$grijs-20;
113
+ border-block-end: 1px solid colors.$grijs-20;
114
114
  }
@@ -9,7 +9,7 @@
9
9
 
10
10
  .dso-navbar {
11
11
  @media screen and (max-width: media-query-breakpoints.$screen-sm-max) {
12
- clear: left;
12
+ clear: inline-start;
13
13
 
14
14
  > .dso-nav {
15
15
  clear: both;
@@ -19,7 +19,7 @@
19
19
  align-items: center;
20
20
  color: colors.$grasgroen;
21
21
  display: flex;
22
- height: pagination-variables.$item-size;
22
+ block-size: pagination-variables.$item-size;
23
23
  justify-content: center;
24
24
  position: relative;
25
25
  min-inline-size: pagination-variables.$item-size;
@@ -44,18 +44,18 @@
44
44
  text-decoration: none;
45
45
 
46
46
  &::after {
47
- border-bottom-color: colors.$grasgroen;
47
+ border-block-end-color: colors.$grasgroen;
48
48
  }
49
49
  }
50
50
 
51
51
  &::after {
52
- border-bottom: 3px solid transparent;
53
- bottom: 0;
52
+ border-block-end: 3px solid transparent;
53
+ inset-block-end: 0;
54
54
  content: "";
55
55
  display: inline-block;
56
- left: 0;
56
+ inset-inline-start: 0;
57
57
  position: absolute;
58
- width: 100%;
58
+ inline-size: 100%;
59
59
  }
60
60
  }
61
61
 
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  & + li {
70
- margin-left: units.$u1;
70
+ margin-inline-start: units.$u1;
71
71
  }
72
72
  }
73
73
  }
@@ -9,9 +9,9 @@
9
9
  .dso-next {
10
10
  &::before {
11
11
  content: "";
12
- left: 50%;
12
+ inset-inline-start: 50%;
13
13
  position: absolute;
14
- top: 50%;
14
+ inset-block-start: 50%;
15
15
  transform: translate(-50%, -50%);
16
16
  }
17
17
  }
@@ -1,5 +1,6 @@
1
1
  @use "../../variables/units";
2
2
 
3
3
  p {
4
- margin: 0 0 units.$u2;
4
+ margin-block: 0 units.$u2;
5
+ margin-inline: 0;
5
6
  }
@@ -4,24 +4,24 @@
4
4
  @use "progress-bar.variables" as progress-bar-variables;
5
5
 
6
6
  @mixin root() {
7
- margin-bottom: units.$u1;
7
+ margin-block-end: units.$u1;
8
8
 
9
9
  .progress-bar {
10
10
  background-color: progress-bar-variables.$background-color;
11
11
  border: 1px solid progress-bar-variables.$color;
12
12
  display: block;
13
- height: progress-bar-variables.$height;
13
+ block-size: progress-bar-variables.$block-size;
14
14
 
15
15
  > span {
16
16
  background-color: progress-bar-variables.$progress-color;
17
- float: left;
18
- height: 100%;
19
- width: 0%;
17
+ float: inline-start;
18
+ block-size: 100%;
19
+ inline-size: 0%;
20
20
  }
21
21
 
22
22
  + span {
23
23
  font-size: typography.$root-font-size-small;
24
- margin-top: units.$u1;
24
+ margin-block-start: units.$u1;
25
25
  }
26
26
  }
27
27
  }
@@ -3,7 +3,7 @@
3
3
 
4
4
  $progress-color: colors.$grasgroen;
5
5
 
6
- $height: units.$u2;
6
+ $block-size: units.$u2;
7
7
  $margin: units.$u1;
8
8
  $background-color: colors.$wit;
9
9
  $color: colors.$grasgroen;
@@ -3,8 +3,8 @@
3
3
  @mixin _looping-size($progress-indicator-size) {
4
4
  .dso-progress-indicator-spinner,
5
5
  dso-icon {
6
- height: $progress-indicator-size;
7
- width: $progress-indicator-size;
6
+ block-size: $progress-indicator-size;
7
+ inline-size: $progress-indicator-size;
8
8
  }
9
9
  }
10
10
 
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  span.dso-progress-indicator-label {
20
- margin-left: units.$u2;
20
+ margin-inline-start: units.$u2;
21
21
  vertical-align: middle;
22
22
  }
23
23
  }
@@ -4,12 +4,12 @@
4
4
 
5
5
  @mixin children() {
6
6
  p {
7
- margin: 0 0 rich-content-variables.$margin-bottom;
7
+ margin: 0 0 rich-content-variables.$margin-block-end;
8
8
  }
9
9
 
10
10
  ul,
11
11
  ol {
12
- margin-bottom: rich-content-variables.$margin-bottom;
12
+ margin-block-end: rich-content-variables.$margin-block-end;
13
13
 
14
14
  &:not(.list-group):not(.dso-link-list):not(.dso-columns-list) {
15
15
  padding-inline-start: units.$u3;
@@ -17,20 +17,20 @@
17
17
  }
18
18
 
19
19
  pre {
20
- margin: 0 0 rich-content-variables.$margin-bottom;
20
+ margin: 0 0 rich-content-variables.$margin-block-end;
21
21
  }
22
22
 
23
23
  blockquote {
24
- padding: rich-content-variables.$margin-bottom typography.$line-height-computed;
24
+ padding: rich-content-variables.$margin-block-end typography.$line-height-computed;
25
25
  }
26
26
 
27
27
  dso-highlight-box,
28
28
  .dso-highlight-box {
29
- margin-bottom: typography.$line-height-computed;
29
+ margin-block-end: typography.$line-height-computed;
30
30
  }
31
31
 
32
32
  img {
33
- height: auto;
34
- max-width: 100%;
33
+ block-size: auto;
34
+ max-inline-size: 100%;
35
35
  }
36
36
  }
@@ -4,10 +4,10 @@
4
4
  @include rich-content.children();
5
5
 
6
6
  > :first-child:not(hr, .dso-button-row) {
7
- margin-top: rich-content.$margin-bottom * 0.5;
7
+ margin-block-start: rich-content.$margin-block-start * 0.5;
8
8
  }
9
9
 
10
10
  > :last-child:not(hr, .dso-button-row) {
11
- margin-bottom: rich-content.$margin-bottom * 0.5;
11
+ margin-block-end: rich-content.$margin-block-end * 0.5;
12
12
  }
13
13
  }
@@ -1,3 +1,4 @@
1
1
  @use "../../variables/units";
2
2
 
3
- $margin-bottom: units.$vertical-spacing-medium;
3
+ $margin-block-start: units.$block-spacing-medium;
4
+ $margin-block-end: units.$block-spacing-medium;