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
@@ -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);
@@ -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
@@ -12,20 +12,20 @@
12
12
  border-style: none;
13
13
  padding: 0;
14
14
  position: absolute;
15
- right: units.$u1;
16
- top: units.$u1;
15
+ inset-inline-end: units.$u1;
16
+ inset-block-start: units.$u1;
17
17
  }
18
18
  }
19
19
 
20
20
  @mixin richContent() {
21
21
  *:first-child {
22
- margin-top: 0;
22
+ margin-block-start: 0;
23
23
  }
24
24
 
25
25
  img {
26
26
  display: block;
27
27
  margin: units.$u1 auto;
28
- max-width: 100%;
28
+ max-inline-size: 100%;
29
29
  }
30
30
 
31
31
  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 {
@@ -40,6 +40,6 @@ input {
40
40
 
41
41
  &[type="number"]::-webkit-inner-spin-button,
42
42
  &[type="number"]::-webkit-outer-spin-button {
43
- height: auto;
43
+ block-size: auto;
44
44
  }
45
45
  }
@@ -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 {
@@ -8,11 +8,11 @@
8
8
 
9
9
  .form-group {
10
10
  display: block;
11
- margin-bottom: 0;
11
+ margin-block-end: 0;
12
12
 
13
13
  + .form-group,
14
14
  + .dso-form-buttons {
15
- margin-top: 0;
15
+ margin-block-start: 0;
16
16
  }
17
17
 
18
18
  .dso-label-container {
@@ -40,7 +40,7 @@
40
40
  > div {
41
41
  &.dso-form-buttons {
42
42
  grid-row: 2;
43
- margin-bottom: 0;
43
+ margin-block-end: 0;
44
44
  }
45
45
  }
46
46
 
@@ -50,8 +50,8 @@
50
50
  &,
51
51
  + .form-group,
52
52
  + .dso-form-buttons {
53
- margin-bottom: 0;
54
- margin-top: 0;
53
+ margin-block-end: 0;
54
+ margin-block-start: 0;
55
55
  }
56
56
 
57
57
  .dso-label-container {
@@ -61,7 +61,7 @@
61
61
 
62
62
  .dso-field-container {
63
63
  grid-row: 2;
64
- margin-top: 0;
64
+ margin-block-start: 0;
65
65
  }
66
66
 
67
67
  .dso-info-container {
@@ -69,7 +69,7 @@
69
69
 
70
70
  .dso-help-block,
71
71
  .dso-message {
72
- margin-top: 0;
72
+ margin-block-start: 0;
73
73
  }
74
74
  }
75
75
  }
@@ -8,7 +8,7 @@
8
8
  border-radius: 4px;
9
9
  display: inline-block;
10
10
  line-height: 1.5;
11
- max-width: 100%;
11
+ max-inline-size: 100%;
12
12
  padding: #{units.$u1 * 0.5} units.$u1;
13
13
 
14
14
  &:focus-within,
@@ -21,12 +21,12 @@
21
21
  border: 0;
22
22
  border-radius: 0 #{units.$u1 * 0.5} #{units.$u1 * 0.5} 0;
23
23
  color: inherit;
24
- float: right;
24
+ float: inline-end;
25
25
  font-size: typography.$root-font-size-base;
26
- margin-bottom: units.$u1 * -0.5;
27
- margin-left: units.$u1;
28
- margin-right: units.$u1 * -0.5;
29
- margin-top: 0;
26
+ margin-block-end: units.$u1 * -0.5;
27
+ margin-inline-start: units.$u1;
28
+ margin-inline-end: units.$u1 * -0.5;
29
+ margin-block-start: 0;
30
30
  padding: 0;
31
31
 
32
32
  &:hover {
@@ -8,8 +8,8 @@
8
8
 
9
9
  .dso-label-symbol {
10
10
  @include symbol-mixins.symbolContainer(
11
- label-variables.$symbol-height,
12
- label-variables.$symbol-height * label-variables.$symbol-aspect-ratio,
11
+ label-variables.$symbol-block-size,
12
+ label-variables.$symbol-block-size * label-variables.$symbol-aspect-ratio,
13
13
  2px
14
14
  );
15
15
 
@@ -23,8 +23,8 @@
23
23
  dso-label {
24
24
  span[slot="symbol"] {
25
25
  @include symbol-mixins.symbolContainer(
26
- label-variables.$symbol-height,
27
- label-variables.$symbol-height * label-variables.$symbol-aspect-ratio,
26
+ label-variables.$symbol-block-size,
27
+ label-variables.$symbol-block-size * label-variables.$symbol-aspect-ratio,
28
28
  2px
29
29
  );
30
30
 
@@ -30,5 +30,5 @@ $bright-border-color: colors.$grijs-20;
30
30
  $attention-bg-color: colors.$mauve;
31
31
  $attention-color: colors.$wit;
32
32
 
33
- $symbol-height: 20px;
33
+ $symbol-block-size: 20px;
34
34
  $symbol-aspect-ratio: math.div(30, 25);
@@ -1,18 +1,18 @@
1
1
  @use "../../variables/units";
2
2
 
3
3
  @mixin root() {
4
- margin-bottom: units.$u2;
4
+ margin-block-end: units.$u2;
5
5
 
6
6
  ul {
7
7
  display: flex;
8
8
  flex-wrap: wrap;
9
9
  gap: units.$u1;
10
10
  list-style: none;
11
- margin-bottom: 0;
12
- padding-left: 0;
11
+ margin-block-end: 0;
12
+ padding-inline-start: 0;
13
13
 
14
14
  > li {
15
- max-width: 100%;
15
+ max-inline-size: 100%;
16
16
  }
17
17
  }
18
18
 
@@ -3,7 +3,10 @@
3
3
 
4
4
  dso-legend-item {
5
5
  span[slot="symbol"] {
6
- @include symbol-mixins.symbolContainer(legend-item-variables.$symbol-height, legend-item-variables.$symbol-width);
6
+ @include symbol-mixins.symbolContainer(
7
+ legend-item-variables.$symbol-block-size,
8
+ legend-item-variables.$symbol-inline-size
9
+ );
7
10
 
8
11
  > span {
9
12
  @include symbol-mixins.symbol();
@@ -1,7 +1,7 @@
1
1
  @use "sass:math";
2
2
  @use "../../variables/units";
3
3
 
4
- $symbol-height: 26px;
4
+ $symbol-block-size: 26px;
5
5
  $symbol-aspect-ratio: math.div(30, 26);
6
- $symbol-width: $symbol-height * $symbol-aspect-ratio;
7
- $selectable-width: units.$u4;
6
+ $symbol-inline-size: $symbol-block-size * $symbol-aspect-ratio;
7
+ $selectable-inline-size: units.$u4;
@@ -8,10 +8,10 @@
8
8
  @include list.unstyled();
9
9
 
10
10
  li {
11
- margin-bottom: units.$u2;
11
+ margin-block-end: units.$u2;
12
12
 
13
13
  &:last-child {
14
- margin-bottom: 0;
14
+ margin-block-end: 0;
15
15
  }
16
16
 
17
17
  a[aria-current="page"] {
@@ -26,10 +26,10 @@
26
26
 
27
27
  @mixin exotic() {
28
28
  li {
29
- margin-bottom: units.$u2;
29
+ margin-block-end: units.$u2;
30
30
 
31
31
  &:last-child {
32
- margin-bottom: 0;
32
+ margin-block-end: 0;
33
33
  }
34
34
  }
35
35
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  content: "";
14
14
  display: inline-block;
15
- margin-left: units.$u1 * -1;
15
+ margin-inline-start: units.$u1 * -1;
16
16
  }
17
17
 
18
18
  &:active,
@@ -1,4 +1,4 @@
1
1
  @mixin unstyled() {
2
- padding-left: 0;
2
+ padding-inline-start: 0;
3
3
  list-style: none;
4
4
  }