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
@@ -13,9 +13,9 @@
13
13
 
14
14
  caption {
15
15
  color: colors.$text-muted;
16
- padding-bottom: table.$cell-padding;
17
- padding-top: table.$cell-padding;
18
- text-align: left;
16
+ padding-block-end: table.$cell-padding;
17
+ padding-block-start: table.$cell-padding;
18
+ text-align: start;
19
19
  }
20
20
 
21
21
  td,
@@ -25,7 +25,7 @@ th {
25
25
 
26
26
  th {
27
27
  font-weight: 600;
28
- text-align: left;
28
+ text-align: start;
29
29
  }
30
30
 
31
31
  table.table {
@@ -37,20 +37,20 @@ table.table {
37
37
 
38
38
  table.table,
39
39
  .dso-rich-content table {
40
- margin-bottom: typography.$line-height-computed;
41
- max-width: 100%;
42
- width: 100%;
40
+ margin-block-end: typography.$line-height-computed;
41
+ max-inline-size: 100%;
42
+ inline-size: 100%;
43
43
 
44
44
  .dso-tertiary {
45
45
  position: relative;
46
- top: -2px;
46
+ inset-block-start: -2px;
47
47
  white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- These actions are always accomponied by icons, we always want the icon next to the text
48
48
  }
49
49
 
50
50
  &.dso-text-left {
51
51
  th,
52
52
  td {
53
- text-align: left;
53
+ text-align: start;
54
54
  }
55
55
  }
56
56
 
@@ -64,7 +64,7 @@ table.table,
64
64
  &.dso-text-right {
65
65
  th,
66
66
  td {
67
- text-align: right;
67
+ text-align: end;
68
68
  }
69
69
  }
70
70
 
@@ -91,7 +91,7 @@ table.table,
91
91
  > thead + tbody > tr:first-child {
92
92
  > td,
93
93
  > th {
94
- border-top: 0;
94
+ border-block-start: 0;
95
95
  }
96
96
  }
97
97
  }
@@ -160,7 +160,7 @@ table.table,
160
160
  th,
161
161
  td {
162
162
  &.dso-text-left {
163
- text-align: left;
163
+ text-align: start;
164
164
  }
165
165
 
166
166
  &.dso-text-center {
@@ -168,7 +168,7 @@ table.table,
168
168
  }
169
169
 
170
170
  &.dso-text-right {
171
- text-align: right;
171
+ text-align: end;
172
172
  }
173
173
  }
174
174
 
@@ -194,7 +194,7 @@ table.table,
194
194
  > tr {
195
195
  > td,
196
196
  > th {
197
- border-bottom: 1px solid table.$th-border-color;
197
+ border-block-end: 1px solid table.$th-border-color;
198
198
  }
199
199
  }
200
200
  }
@@ -204,7 +204,7 @@ table.table,
204
204
  > tr {
205
205
  > td,
206
206
  > th {
207
- border-bottom: 1px solid table.$border-color;
207
+ border-block-end: 1px solid table.$border-color;
208
208
  }
209
209
  }
210
210
  }
@@ -212,7 +212,7 @@ table.table,
212
212
 
213
213
  // Account for multiple tbody instances
214
214
  > tbody + tbody {
215
- border-top: 2px solid table.$border-color;
215
+ border-block-start: 2px solid table.$border-color;
216
216
  }
217
217
 
218
218
  // Nesting
@@ -286,7 +286,7 @@ table {
286
286
 
287
287
  .dso-table-responsive,
288
288
  .dso-table-scroll-container {
289
- min-height: 0.01%;
289
+ min-block-size: 0.01%;
290
290
  overflow-x: auto;
291
291
  position: relative;
292
292
  }
@@ -303,18 +303,18 @@ table {
303
303
 
304
304
  .dso-table-filter-wrapper {
305
305
  .dso-search-bar {
306
- margin-bottom: units.$u2;
307
- width: table.$filter-wrapper-width - units.$u4;
306
+ margin-block-end: units.$u2;
307
+ inline-size: table.$filter-wrapper-inline-size - units.$u4;
308
308
  }
309
309
  }
310
310
 
311
311
  // Web component
312
312
  dso-table table.table {
313
- margin-bottom: 0;
313
+ margin-block-end: 0;
314
314
  }
315
315
 
316
316
  dso-table.dso-is-responsive {
317
- margin-bottom: 0;
317
+ margin-block-end: 0;
318
318
 
319
319
  > .table {
320
320
  // Ensure the content doesn't wrap
@@ -9,4 +9,4 @@ $border-color: colors.$grijs-20;
9
9
  $link-color: colors.$grijs-90;
10
10
  $th-border-color: colors.$grijs-60;
11
11
 
12
- $filter-wrapper-width: 320px;
12
+ $filter-wrapper-inline-size: 320px;
@@ -11,8 +11,8 @@
11
11
  @include utilities.clearfix();
12
12
 
13
13
  list-style: none;
14
- margin-bottom: 0;
15
- padding-left: 0; // Override default ul/ol
14
+ margin-block-end: 0;
15
+ padding-inline-start: 0; // Override default ul/ol
16
16
 
17
17
  > li {
18
18
  position: relative;
@@ -55,18 +55,18 @@
55
55
  }
56
56
 
57
57
  .nav.nav-tabs {
58
- border-bottom: 1px solid css-tabs-variables.$border-color;
58
+ border-block-end: 1px solid css-tabs-variables.$border-color;
59
59
  display: flex;
60
60
  flex-wrap: wrap;
61
- margin-bottom: css-tabs-variables.$margin-bottom;
62
- padding-left: 0;
61
+ margin-block-end: css-tabs-variables.$margin-block-end;
62
+ padding-inline-start: 0;
63
63
 
64
64
  @media screen and (min-width: media-query-breakpoints.$screen-sm-min) {
65
- border-bottom: 1px solid colors.$grasgroen;
65
+ border-block-end: 1px solid colors.$grasgroen;
66
66
  }
67
67
 
68
68
  @media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
69
- border-bottom: 1px solid colors.$wit;
69
+ border-block-end: 1px solid colors.$wit;
70
70
  display: block;
71
71
  }
72
72
 
@@ -74,18 +74,18 @@
74
74
  border-color: css-tabs-variables.$color;
75
75
  font-weight: bold;
76
76
  // Make the list-items overlay the bottom border
77
- margin-bottom: -1px;
78
- min-height: css-tabs-variables.$height;
77
+ margin-block-end: -1px;
78
+ min-block-size: css-tabs-variables.$block-size;
79
79
 
80
80
  @media screen and (max-width: media-query-breakpoints.$screen-xs-max) {
81
81
  margin: 10px 0;
82
82
 
83
83
  &:first-child {
84
- margin-top: 0;
84
+ margin-block-start: 0;
85
85
  }
86
86
 
87
87
  &:last-child {
88
- margin-bottom: 0;
88
+ margin-block-end: 0;
89
89
  }
90
90
  }
91
91
 
@@ -98,9 +98,10 @@
98
98
  color: css-tabs-variables.$text-color;
99
99
  display: block;
100
100
  line-height: typography.$line-height-base;
101
- margin-right: 2px;
102
- min-height: css-tabs-variables.$height;
103
- padding: css-tabs-variables.$horizontal-padding css-tabs-variables.$vertical-padding;
101
+ margin-inline-end: 2px;
102
+ min-block-size: css-tabs-variables.$block-size;
103
+ padding-block: css-tabs-variables.$block-padding;
104
+ padding-inline: css-tabs-variables.$inline-padding;
104
105
  position: relative;
105
106
 
106
107
  &:hover {
@@ -118,7 +119,7 @@
118
119
  a:hover {
119
120
  background-color: css-tabs-variables.$hover-color;
120
121
  border: 1px solid transparent;
121
- border-bottom-color: css-tabs-variables.$color;
122
+ border-block-end-color: css-tabs-variables.$color;
122
123
  text-decoration: none;
123
124
  }
124
125
 
@@ -131,7 +132,7 @@
131
132
  &:visited {
132
133
  background-color: colors.$wit;
133
134
  border: 1px solid css-tabs-variables.$color;
134
- border-bottom-color: colors.$wit;
135
+ border-block-end-color: colors.$wit;
135
136
  color: css-tabs-variables.$color;
136
137
  cursor: default;
137
138
  }
@@ -158,7 +159,7 @@
158
159
  &:active,
159
160
  &:focus,
160
161
  &:hover {
161
- border-bottom-width: 1px;
162
+ border-block-end-width: 1px;
162
163
  border-color: transparent;
163
164
  }
164
165
  }
@@ -167,7 +168,7 @@
167
168
  &,
168
169
  &:focus,
169
170
  &:hover {
170
- border-bottom-width: 1px;
171
+ border-block-end-width: 1px;
171
172
  border-color: css-tabs-variables.$color;
172
173
  }
173
174
  }
@@ -7,10 +7,10 @@ $text-color: colors.$grijs-60;
7
7
  $border-radius: 4px;
8
8
  $border-color: colors.$grijs-10;
9
9
  $link-hover-border-color: colors.$grijs-10;
10
- $height: 56px;
11
- $horizontal-padding: units.$u2 - 1px;
12
- $vertical-padding: units.$u3 - 1px;
13
- $margin-bottom: units.$vertical-spacing-large;
10
+ $block-size: 56px;
11
+ $block-padding: units.$u2 - 1px;
12
+ $inline-padding: units.$u3 - 1px;
13
+ $margin-block-end: units.$block-spacing-large;
14
14
 
15
15
  $nav-link-padding: 10px 15px;
16
16
  $nav-link-hover-bg: colors.$grijs-10;
@@ -8,6 +8,6 @@ textarea {
8
8
  overflow: auto;
9
9
 
10
10
  &.form-control {
11
- height: auto;
11
+ block-size: auto;
12
12
  }
13
13
  }
@@ -8,11 +8,11 @@
8
8
  &:not(.dso-theme) {
9
9
  background: colors.$wit;
10
10
  box-shadow: tile-variables.$box-shadow;
11
- margin-bottom: tile-variables.$margin-bottom;
12
- min-height: tile-variables.$min-height;
11
+ margin-block-end: tile-variables.$margin-block-end;
12
+ min-block-size: tile-variables.$min-block-size;
13
13
  padding: units.$u3 units.$u2 units.$u2;
14
14
  position: relative;
15
- top: units.$u7;
15
+ inset-block-start: units.$u7;
16
16
  }
17
17
 
18
18
  &.dso-theme {
@@ -25,38 +25,38 @@
25
25
  border: 1px solid tile-variables.$icon-border-color;
26
26
  color: tile-variables.$icon-color;
27
27
  display: flex;
28
- height: tile-variables.$icon-size;
28
+ block-size: tile-variables.$icon-size;
29
29
  justify-content: center;
30
30
  margin: 0 auto units.$u1;
31
31
  overflow: hidden;
32
- width: tile-variables.$icon-size;
32
+ inline-size: tile-variables.$icon-size;
33
33
 
34
34
  img {
35
- height: units.$u7;
36
- width: units.$u7;
35
+ block-size: units.$u7;
36
+ inline-size: units.$u7;
37
37
  }
38
38
  }
39
39
  }
40
40
 
41
41
  .dso-tile-icon {
42
42
  display: block;
43
- margin-bottom: units.$u2;
43
+ margin-block-end: units.$u2;
44
44
  text-align: center;
45
45
 
46
46
  img {
47
- height: 80px;
48
- width: 80px;
47
+ block-size: 80px;
48
+ inline-size: 80px;
49
49
  }
50
50
  }
51
51
 
52
52
  .dso-tile-link {
53
- border-bottom: #{units.$u1 * 0.5} solid transparent;
53
+ border-block-end: #{units.$u1 * 0.5} solid transparent;
54
54
  color: colors.$grasgroen;
55
55
  display: block;
56
56
  font-size: units.$font-size-h4;
57
57
  font-weight: bold;
58
58
  line-height: 1.167;
59
- padding-bottom: #{units.$u1 * 0.5};
59
+ padding-block-end: #{units.$u1 * 0.5};
60
60
  text-align: center;
61
61
  }
62
62
 
@@ -66,7 +66,7 @@
66
66
  &:hover,
67
67
  &:active {
68
68
  .dso-tile-link {
69
- border-bottom: #{units.$u1 * 0.5} solid colors.$grasgroen;
69
+ border-block-end: #{units.$u1 * 0.5} solid colors.$grasgroen;
70
70
  }
71
71
  }
72
72
 
@@ -77,6 +77,6 @@
77
77
  }
78
78
 
79
79
  @mixin equal-heights() {
80
- height: calc(100% - #{tile-variables.$margin-bottom});
81
- min-height: auto;
80
+ block-size: calc(100% - #{tile-variables.$margin-block-end});
81
+ min-block-size: auto;
82
82
  }
@@ -2,8 +2,8 @@
2
2
  @use "../../variables/colors";
3
3
 
4
4
  $box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
5
- $margin-bottom: units.$u7;
6
- $min-height: 200px;
5
+ $margin-block-end: units.$u7;
6
+ $min-block-size: 200px;
7
7
 
8
8
  $icon-background-color: colors.$grijs-5;
9
9
  $icon-border-color: colors.$grijs-10;
@@ -6,8 +6,8 @@
6
6
 
7
7
  dso-viewer-grid {
8
8
  .dso-filterblok {
9
- margin-left: css-grid-variables.$grid-gutter-width * -0.5;
10
- margin-right: css-grid-variables.$grid-gutter-width * -0.5;
9
+ margin-inline-start: css-grid-variables.$grid-gutter-width * -0.5;
10
+ margin-inline-end: css-grid-variables.$grid-gutter-width * -0.5;
11
11
 
12
12
  .dso-filterblok-address {
13
13
  font-weight: bold;
@@ -8,10 +8,10 @@
8
8
  @mixin root() {
9
9
  background: colors.$wit;
10
10
  box-shadow: whitebox-variables.$box-shadow;
11
- margin-bottom: whitebox-variables.$margin-bottom;
11
+ margin-block-end: whitebox-variables.$margin-block-end;
12
12
  padding: units.$u2 units.$u3;
13
13
  position: relative;
14
- top: units.$u7;
14
+ inset-block-start: units.$u7;
15
15
 
16
16
  .dso-whitebox-title {
17
17
  h2 {
@@ -21,17 +21,17 @@
21
21
  }
22
22
 
23
23
  .dso-whitebox-link {
24
- margin-bottom: units.$u4;
24
+ margin-block-end: units.$u4;
25
25
  text-align: center;
26
26
  }
27
27
 
28
28
  .dso-whitebox-icon {
29
- margin-bottom: units.$u4;
29
+ margin-block-end: units.$u4;
30
30
  text-align: center;
31
31
 
32
32
  img {
33
- height: 160px;
34
- width: 160px;
33
+ block-size: 160px;
34
+ inline-size: 160px;
35
35
  }
36
36
  }
37
37
 
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  @mixin equal-heights() {
51
- height: calc(100% - #{whitebox-variables.$margin-bottom});
52
- min-height: auto;
53
- padding-bottom: units.$u2;
51
+ block-size: calc(100% - #{whitebox-variables.$margin-block-end});
52
+ min-block-size: auto;
53
+ padding-block-end: units.$u2;
54
54
  }
@@ -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-bottom: units.$u7;
4
+ $margin-block-end: units.$u7;
package/src/di.scss CHANGED
@@ -6,9 +6,9 @@
6
6
  background: url("#{config.$icons-path}dso-icons.svg#img-#{$icon}") no-repeat;
7
7
  background-position: center;
8
8
  background-size: cover;
9
- height: $size;
9
+ block-size: $size;
10
10
  vertical-align: $vertical-align;
11
- width: $size;
11
+ inline-size: $size;
12
12
  }
13
13
 
14
14
  @mixin variant($icon) {
@@ -4,7 +4,7 @@
4
4
  // -------------------------------------------------
5
5
  // To Do: integrate this with things to come within this file.
6
6
  :where(dso-action-list) + :where(.dso-form-buttons) {
7
- margin-block-start: units.$vertical-spacing-xlarge;
7
+ margin-block-start: units.$block-spacing-xlarge;
8
8
  }
9
9
 
10
10
  // Original spacing of dso-button-row
@@ -29,7 +29,7 @@
29
29
 
30
30
  :where(*) + :where(.dso-button-row),
31
31
  :where(.dso-button-row) + :where(*) {
32
- margin-block-start: units.$vertical-spacing-medium;
32
+ margin-block-start: units.$block-spacing-medium;
33
33
  }
34
34
  }
35
35
 
@@ -61,6 +61,6 @@
61
61
  // To do: integrate this with #2217 (103)
62
62
  :where(.row:has(.dso-button-row)) {
63
63
  + :where(.row:has(:only-child > dl)) {
64
- margin-block-start: units.$vertical-spacing-medium;
64
+ margin-block-start: units.$block-spacing-medium;
65
65
  }
66
66
  }
@@ -2,7 +2,7 @@
2
2
  @use "../variables/colors";
3
3
 
4
4
  .text-right {
5
- text-align: right;
5
+ text-align: end;
6
6
  }
7
7
 
8
8
  .text-center {
@@ -23,8 +23,8 @@
23
23
 
24
24
  .center-block {
25
25
  display: block;
26
- margin-right: auto;
27
- margin-left: auto;
26
+ margin-inline-end: auto;
27
+ margin-inline-start: auto;
28
28
  }
29
29
 
30
30
  .sr-only {
@@ -41,8 +41,8 @@
41
41
 
42
42
  @mixin sr-only() {
43
43
  position: absolute;
44
- width: 1px;
45
- height: 1px;
44
+ inline-size: 1px;
45
+ block-size: 1px;
46
46
  padding: 0;
47
47
  margin: -1px;
48
48
  overflow: hidden;
@@ -41,18 +41,18 @@ $font-line-height-h4: 1.5;
41
41
  $font-line-height-h5: 1.5;
42
42
  $font-line-height-h6: 1.5;
43
43
 
44
- $padding-base-vertical: 6px;
45
- $padding-small-vertical: 5px;
46
- $padding-large-vertical: 10px;
47
- $padding-base-horizontal: 12px;
44
+ $padding-base-block: 6px;
45
+ $padding-small-block: 5px;
46
+ $padding-large-block: 10px;
47
+ $padding-base-inline: 12px;
48
48
 
49
49
  // Super weird shared unit..
50
- $shared-equal-heights-highlight-box-height: $u6;
50
+ $shared-equal-heights-highlight-box-block-size: $u6;
51
51
 
52
- $vertical-spacing-small: $u1;
53
- $vertical-spacing-medium: $u2;
54
- $vertical-spacing-large: $u3;
55
- $vertical-spacing-xlarge: $u4;
52
+ $block-spacing-small: $u1;
53
+ $block-spacing-medium: $u2;
54
+ $block-spacing-large: $u3;
55
+ $block-spacing-xlarge: $u4;
56
56
 
57
57
  $focus-border-radius: 2px;
58
58
  $focus-outline-width: 3px;