dso-toolkit 62.26.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.
- package/CHANGELOG.md +15 -0
- package/dist/dso.css +345 -190
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/components/accordion/accordion.scss +16 -2
- package/src/components/alert/alert.mixins.scss +35 -8
- package/src/components/alert/alert.scss +25 -6
- package/src/components/alert/alert.variables.scss +4 -4
- package/src/components/badge/badge.mixins.scss +2 -1
- package/src/components/banner/banner.mixins.scss +4 -2
- package/src/components/blockquote/blockquote.scss +2 -1
- package/src/components/breadcrumbs/breadcrumbs.mixins.scss +4 -2
- package/src/components/button/button.mixins.scss +4 -2
- package/src/components/card/card.mixins.scss +2 -1
- package/src/components/code/code.scss +2 -1
- package/src/components/description/description.mixins.scss +4 -2
- package/src/components/document-component-list/document-component-list.scss +1 -1
- package/src/components/document-header/document-header.scss +9 -5
- package/src/components/document-list/document-list.scss +10 -7
- package/src/components/dropdown-menu/dropdown-menu.mixins.scss +6 -3
- package/src/components/dropdown-menu/dropdown-menu.scss +2 -1
- package/src/components/form/form-group.scss +4 -2
- package/src/components/form/form-groups/files/form-group-files.scss +11 -6
- package/src/components/form-control/form-control.mixins.scss +2 -1
- package/src/components/highlight-box/highlight-box.mixins.scss +1 -1
- package/src/components/info/info.mixins.scss +4 -2
- package/src/components/input/input.scss +2 -1
- package/src/components/label/label.mixins.scss +4 -2
- package/src/components/list/list.scss +2 -1
- package/src/components/list-button/list-button.mixins.scss +4 -2
- package/src/components/list-button/list-button.scss +2 -1
- package/src/components/modal/modal.mixins.scss +10 -4
- package/src/components/navbar/navbar.mixins.scss +6 -3
- package/src/components/pagination/pagination.mixins.scss +3 -1
- package/src/components/preformatted-text/preformatted-text.scss +2 -1
- package/src/components/progress-indicator/progress-indicator.mixins.scss +4 -2
- package/src/components/rich-content/rich-content.mixins.scss +6 -3
- package/src/components/search-bar/search-bar.scss +7 -3
- package/src/components/selectable/selectable.mixins.scss +4 -2
- package/src/components/shopping-cart/shopping-cart.scss +8 -5
- package/src/components/table/table.scss +6 -5
- package/src/components/tabs/tabs.scss +4 -2
- package/src/components/tile/tile.mixins.scss +4 -2
- package/src/components/viewer-grid/viewer-grid.scss +2 -1
- package/src/components/whitebox/whitebox.mixins.scss +4 -2
- package/src/global/functions/contrast-color.functions.scss +10 -9
- package/src/global/mixins/set-colors.mixin.scss +2 -1
- package/src/global/mixins/symbol.mixins.scss +3 -3
- package/src/legacy/legacy-panel.scss +54 -54
- package/src/variables/states.scss +4 -0
|
@@ -49,7 +49,7 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
49
49
|
border-color: $heading-border;
|
|
50
50
|
|
|
51
51
|
+ .panel-collapse > .panel-body {
|
|
52
|
-
border-
|
|
52
|
+
border-block-start-color: $border;
|
|
53
53
|
}
|
|
54
54
|
.badge {
|
|
55
55
|
color: $heading-bg-color;
|
|
@@ -58,14 +58,14 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
58
58
|
}
|
|
59
59
|
& > .panel-footer {
|
|
60
60
|
+ .panel-collapse > .panel-body {
|
|
61
|
-
border-
|
|
61
|
+
border-block-end-color: $border;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// Base class
|
|
67
67
|
.panel {
|
|
68
|
-
margin-
|
|
68
|
+
margin-block-end: typography.$line-height-computed;
|
|
69
69
|
background-color: $panel-bg;
|
|
70
70
|
border: 1px solid transparent;
|
|
71
71
|
border-radius: $panel-border-radius;
|
|
@@ -77,7 +77,7 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
77
77
|
|
|
78
78
|
> .list-group,
|
|
79
79
|
> .panel-collapse > .list-group {
|
|
80
|
-
margin-
|
|
80
|
+
margin-block-end: 0;
|
|
81
81
|
|
|
82
82
|
.list-group-item {
|
|
83
83
|
border-width: 1px 0;
|
|
@@ -87,25 +87,25 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
87
87
|
// Add border top radius for first one
|
|
88
88
|
&:first-child {
|
|
89
89
|
.list-group-item:first-child {
|
|
90
|
-
border-
|
|
91
|
-
border-
|
|
92
|
-
border-
|
|
90
|
+
border-block-start: 0;
|
|
91
|
+
border-start-start-radius: $panel-border-radius - 1;
|
|
92
|
+
border-start-end-radius: $panel-border-radius - 1;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
// Add border bottom radius for last one
|
|
97
97
|
&:last-child {
|
|
98
98
|
.list-group-item:last-child {
|
|
99
|
-
border-
|
|
100
|
-
border-
|
|
101
|
-
border-
|
|
99
|
+
border-block-end: 0;
|
|
100
|
+
border-end-end-radius: $panel-border-radius - 1;
|
|
101
|
+
border-end-start-radius: $panel-border-radius - 1;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
> .panel-heading + .panel-collapse > .list-group {
|
|
106
106
|
.list-group-item:first-child {
|
|
107
|
-
border-
|
|
108
|
-
border-
|
|
107
|
+
border-start-start-radius: 0;
|
|
108
|
+
border-start-end-radius: 0;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
@@ -116,32 +116,32 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
116
116
|
> .table,
|
|
117
117
|
> .table-responsive > .table,
|
|
118
118
|
> .panel-collapse > .table {
|
|
119
|
-
margin-
|
|
119
|
+
margin-block-end: 0;
|
|
120
120
|
|
|
121
121
|
caption {
|
|
122
|
-
padding-
|
|
123
|
-
padding-
|
|
122
|
+
padding-inline-end: $panel-body-padding;
|
|
123
|
+
padding-inline-start: $panel-body-padding;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
// Add border top radius for first one
|
|
127
127
|
> .table:first-child,
|
|
128
128
|
> .table-responsive:first-child > .table:first-child {
|
|
129
|
-
border-
|
|
130
|
-
border-
|
|
129
|
+
border-start-start-radius: $panel-border-radius - 1;
|
|
130
|
+
border-start-end-radius: $panel-border-radius - 1;
|
|
131
131
|
|
|
132
132
|
> thead:first-child,
|
|
133
133
|
> tbody:first-child {
|
|
134
134
|
> tr:first-child {
|
|
135
|
-
border-
|
|
136
|
-
border-
|
|
135
|
+
border-start-start-radius: $panel-border-radius - 1;
|
|
136
|
+
border-start-end-radius: $panel-border-radius - 1;
|
|
137
137
|
|
|
138
138
|
td:first-child,
|
|
139
139
|
th:first-child {
|
|
140
|
-
border-
|
|
140
|
+
border-start-start-radius: $panel-border-radius - 1;
|
|
141
141
|
}
|
|
142
142
|
td:last-child,
|
|
143
143
|
th:last-child {
|
|
144
|
-
border-
|
|
144
|
+
border-start-end-radius: $panel-border-radius - 1;
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -149,22 +149,22 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
149
149
|
// Add border bottom radius for last one
|
|
150
150
|
> .table:last-child,
|
|
151
151
|
> .table-responsive:last-child > .table:last-child {
|
|
152
|
-
border-
|
|
153
|
-
border-
|
|
152
|
+
border-end-end-radius: $panel-border-radius - 1;
|
|
153
|
+
border-end-start-radius: $panel-border-radius - 1;
|
|
154
154
|
|
|
155
155
|
> tbody:last-child,
|
|
156
156
|
> tfoot:last-child {
|
|
157
157
|
> tr:last-child {
|
|
158
|
-
border-
|
|
159
|
-
border-
|
|
158
|
+
border-end-end-radius: $panel-border-radius - 1;
|
|
159
|
+
border-end-start-radius: $panel-border-radius - 1;
|
|
160
160
|
|
|
161
161
|
td:first-child,
|
|
162
162
|
th:first-child {
|
|
163
|
-
border-
|
|
163
|
+
border-end-start-radius: $panel-border-radius - 1;
|
|
164
164
|
}
|
|
165
165
|
td:last-child,
|
|
166
166
|
th:last-child {
|
|
167
|
-
border-
|
|
167
|
+
border-end-end-radius: $panel-border-radius - 1;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
@@ -173,11 +173,11 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
173
173
|
> .panel-body + .table-responsive,
|
|
174
174
|
> .table + .panel-body,
|
|
175
175
|
> .table-responsive + .panel-body {
|
|
176
|
-
border-
|
|
176
|
+
border-block-start: 1px solid table.$border-color;
|
|
177
177
|
}
|
|
178
178
|
> .table > tbody:first-child > tr:first-child th,
|
|
179
179
|
> .table > tbody:first-child > tr:first-child td {
|
|
180
|
-
border-
|
|
180
|
+
border-block-start: 0;
|
|
181
181
|
}
|
|
182
182
|
> .table-bordered,
|
|
183
183
|
> .table-responsive > .table-bordered {
|
|
@@ -188,11 +188,11 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
188
188
|
> tr {
|
|
189
189
|
> th:first-child,
|
|
190
190
|
> td:first-child {
|
|
191
|
-
border-
|
|
191
|
+
border-inline-start: 0;
|
|
192
192
|
}
|
|
193
193
|
> th:last-child,
|
|
194
194
|
> td:last-child {
|
|
195
|
-
border-
|
|
195
|
+
border-inline-end: 0;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -201,7 +201,7 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
201
201
|
> tr:first-child {
|
|
202
202
|
> td,
|
|
203
203
|
> th {
|
|
204
|
-
border-
|
|
204
|
+
border-block-end: 0;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
@@ -210,13 +210,13 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
210
210
|
> tr:last-child {
|
|
211
211
|
> td,
|
|
212
212
|
> th {
|
|
213
|
-
border-
|
|
213
|
+
border-block-end: 0;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
> .table-responsive {
|
|
219
|
-
margin-
|
|
219
|
+
margin-block-end: 0;
|
|
220
220
|
border: 0;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -227,21 +227,21 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
227
227
|
@include rich-content.children();
|
|
228
228
|
|
|
229
229
|
padding: $panel-body-padding;
|
|
230
|
-
padding-
|
|
230
|
+
padding-block-end: 0;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
// Optional heading
|
|
234
234
|
.panel-heading {
|
|
235
235
|
padding: $panel-heading-padding;
|
|
236
|
-
border-
|
|
237
|
-
border-
|
|
238
|
-
border-
|
|
236
|
+
border-block-end: 1px solid transparent;
|
|
237
|
+
border-start-start-radius: $panel-border-radius - 1;
|
|
238
|
+
border-start-end-radius: $panel-border-radius - 1;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
// Within heading, strip any `h*` tag of its default margins for spacing.
|
|
242
242
|
.panel-title {
|
|
243
|
-
margin-
|
|
244
|
-
margin-
|
|
243
|
+
margin-block-start: 0;
|
|
244
|
+
margin-block-end: 0;
|
|
245
245
|
font-size: typography.$font-size-base * 1.125;
|
|
246
246
|
color: inherit;
|
|
247
247
|
|
|
@@ -258,19 +258,19 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
258
258
|
.panel-footer {
|
|
259
259
|
padding: $panel-footer-padding;
|
|
260
260
|
background-color: $panel-footer-bg;
|
|
261
|
-
border-
|
|
262
|
-
border-
|
|
263
|
-
border-
|
|
261
|
+
border-end-start-radius: $panel-border-radius - 1;
|
|
262
|
+
border-end-end-radius: $panel-border-radius - 1;
|
|
263
|
+
border-block-start: 1px solid $panel-inner-border;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
// Collapse space between when there's no additional content.
|
|
267
267
|
.panel-heading + .list-group {
|
|
268
268
|
.list-group-item:first-child {
|
|
269
|
-
border-
|
|
269
|
+
border-block-start-width: 0;
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
.list-group + .panel-footer {
|
|
273
|
-
border-
|
|
273
|
+
border-block-start-width: 0;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
// Collapsible panels (aka, accordion)
|
|
@@ -278,31 +278,31 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
278
278
|
// the help of our collapse JavaScript plugin.
|
|
279
279
|
|
|
280
280
|
.panel-group {
|
|
281
|
-
margin-
|
|
281
|
+
margin-block-end: typography.$line-height-computed;
|
|
282
282
|
|
|
283
283
|
// Tighten up margin so it's only between panels
|
|
284
284
|
.panel {
|
|
285
|
-
margin-
|
|
285
|
+
margin-block-end: 0;
|
|
286
286
|
border-radius: $panel-border-radius;
|
|
287
287
|
|
|
288
288
|
+ .panel {
|
|
289
|
-
margin-
|
|
289
|
+
margin-block-start: 5px;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
.panel-heading {
|
|
294
|
-
border-
|
|
294
|
+
border-block-end: 0;
|
|
295
295
|
|
|
296
296
|
+ .panel-collapse > .panel-body,
|
|
297
297
|
+ .panel-collapse > .list-group {
|
|
298
|
-
border-
|
|
298
|
+
border-block-start: 1px solid $panel-inner-border;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
.panel-footer {
|
|
303
|
-
border-
|
|
303
|
+
border-block-start: 0;
|
|
304
304
|
+ .panel-collapse .panel-body {
|
|
305
|
-
border-
|
|
305
|
+
border-block-end: 1px solid $panel-inner-border;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
}
|
|
@@ -330,10 +330,10 @@ $panel-danger-heading-bg: states.$danger-bg !default;
|
|
|
330
330
|
.panel-heading,
|
|
331
331
|
.panel-footer {
|
|
332
332
|
> :first-child {
|
|
333
|
-
margin-
|
|
333
|
+
margin-block-start: 0;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
> :last-child {
|
|
337
|
-
margin-
|
|
337
|
+
margin-block-end: 0;
|
|
338
338
|
}
|
|
339
339
|
}
|
|
@@ -2,18 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
$success-text: colors.$zwart;
|
|
4
4
|
$success-bg: colors.$success-bg-color;
|
|
5
|
+
$success-compact-accent-color: colors.$success-color;
|
|
5
6
|
$success-border: colors.$success-bg-color;
|
|
6
7
|
|
|
7
8
|
$info-text: colors.$zwart;
|
|
8
9
|
$info-bg: colors.$info-bg-color;
|
|
10
|
+
$info-compact-accent-color: colors.$info-color;
|
|
9
11
|
$info-border: colors.$info-bg-color;
|
|
10
12
|
|
|
11
13
|
$warning-text: colors.$zwart;
|
|
12
14
|
$warning-bg: colors.$warning-bg-color;
|
|
15
|
+
$warning-compact-accent-color: colors.$warning-color;
|
|
13
16
|
$warning-border: colors.$warning-bg-color;
|
|
14
17
|
|
|
15
18
|
$danger-text: colors.$zwart;
|
|
16
19
|
$danger-bg: colors.$danger-bg-color;
|
|
20
|
+
$danger-compact-accent-color: colors.$danger-color;
|
|
17
21
|
$danger-border: colors.$danger-bg-color;
|
|
18
22
|
|
|
19
23
|
$error-text: colors.$zwart;
|