dso-toolkit 62.20.0 → 62.21.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 +13 -0
- package/dist/dso.css +18 -17
- 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 -5
- package/package.json +1 -1
- package/src/components/form/form-groups/files/form-group-files.scss +13 -14
- package/src/components/grid/grid.scss +4 -0
package/dist/index.js
CHANGED
|
@@ -2,19 +2,18 @@
|
|
|
2
2
|
export { TemplateContainer, } from "./template-container.js";
|
|
3
3
|
export { ArgsError, StoryRoot, componentArgs, createStories, noControl, storiesOfFactory, } from "./storybook/index.js";
|
|
4
4
|
export * from "./components/accordion";
|
|
5
|
-
export
|
|
5
|
+
export * from "./components/action-list";
|
|
6
6
|
export * from "./components/advanced-select";
|
|
7
7
|
export * from "./components/alert";
|
|
8
8
|
export * from "./components/anchor";
|
|
9
9
|
export * from "./components/application-heading";
|
|
10
10
|
export * from "./components/annotation";
|
|
11
11
|
export * from "./components/attachments-counter";
|
|
12
|
-
export
|
|
12
|
+
export * from "./components/autosuggest";
|
|
13
13
|
export * from "./components/badge";
|
|
14
14
|
export * from "./components/banner";
|
|
15
15
|
export * from "./components/breadcrumbs";
|
|
16
|
-
export
|
|
17
|
-
export { storiesOfButton } from "./components/button/button.stories-of.js";
|
|
16
|
+
export * from "./components/button";
|
|
18
17
|
export * from "./components/button-row";
|
|
19
18
|
export { storiesOfCard } from "./components/card/card.stories-of.js";
|
|
20
19
|
export { storiesOfCardContainer, } from "./components/card-container/card-container.stories-of.js";
|
|
@@ -24,7 +23,7 @@ export * from "./components/context";
|
|
|
24
23
|
export { storiesOfDatePicker, } from "./components/date-picker/date-picker.stories-of.js";
|
|
25
24
|
export { storiesOfDatePickerLegacy, } from "./components/date-picker-legacy/date-picker-legacy.stories-of.js";
|
|
26
25
|
export * from "./components/definition-list";
|
|
27
|
-
export
|
|
26
|
+
export * from "./components/description";
|
|
28
27
|
export { storiesOfDocumentComponent, } from "./components/document-component/document-component.stories-of.js";
|
|
29
28
|
export { storiesOfDocumentHeader, } from "./components/document-header/document-header.stories-of.js";
|
|
30
29
|
export { storiesOfDocumentList } from "./components/document-list/document-list.stories-of.js";
|
package/package.json
CHANGED
|
@@ -11,19 +11,6 @@
|
|
|
11
11
|
@use "../../form.mixins" as css-form-mixins;
|
|
12
12
|
|
|
13
13
|
.form-group.dso-files {
|
|
14
|
-
// if file list is empty
|
|
15
|
-
&:not(:has(.dso-filelist li)) {
|
|
16
|
-
// accessibly hide the label
|
|
17
|
-
.dso-label-container {
|
|
18
|
-
@include utilities.sr-only();
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.dso-filelist {
|
|
22
|
-
// in case an empty list is left in the dom
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
14
|
&.dso-required {
|
|
28
15
|
.control-label::after {
|
|
29
16
|
@include css-form-mixins.form-group-required();
|
|
@@ -35,6 +22,15 @@
|
|
|
35
22
|
margin: #{units.$u1 * 0.5} 0;
|
|
36
23
|
}
|
|
37
24
|
|
|
25
|
+
.dso-upload-loading {
|
|
26
|
+
margin: #{units.$u1 * 0.5} 0;
|
|
27
|
+
padding-inline-end: units.$u3;
|
|
28
|
+
|
|
29
|
+
span {
|
|
30
|
+
padding-inline-start: units.$u1;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
38
34
|
.dso-file-upload {
|
|
39
35
|
input[type="file"] {
|
|
40
36
|
@include utilities.sr-only();
|
|
@@ -167,7 +163,8 @@
|
|
|
167
163
|
|
|
168
164
|
&:has(.dso-download) {
|
|
169
165
|
.dso-selectable,
|
|
170
|
-
dso-selectable
|
|
166
|
+
dso-selectable,
|
|
167
|
+
.dso-upload-loading {
|
|
171
168
|
+ .dso-remove {
|
|
172
169
|
margin-inline-start: (units.$u4 * 2) + (units.$u1 * 1.5);
|
|
173
170
|
}
|
|
@@ -187,6 +184,7 @@
|
|
|
187
184
|
li:has(.dso-download) {
|
|
188
185
|
.dso-selectable,
|
|
189
186
|
dso-selectable,
|
|
187
|
+
.dso-upload-loading,
|
|
190
188
|
dso-icon,
|
|
191
189
|
svg.di {
|
|
192
190
|
+ .dso-download {
|
|
@@ -198,6 +196,7 @@
|
|
|
198
196
|
li:not(:has(.dso-download)) {
|
|
199
197
|
.dso-selectable,
|
|
200
198
|
dso-selectable,
|
|
199
|
+
.dso-upload-loading,
|
|
201
200
|
dso-icon,
|
|
202
201
|
svg.di {
|
|
203
202
|
+ .dso-remove {
|