dso-toolkit 62.20.1 → 62.22.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 +28 -0
- package/dist/dso.css +20 -7
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -2
- package/dist/dso.min.css.map +1 -1
- package/dist/index.js +11 -12
- package/package.json +10 -10
- package/src/components/form/form-group.scss +1 -1
- package/src/components/form/form-groups/files/form-group-files.scss +13 -1
- package/src/components/form/readme.md +5 -0
- package/src/components/grid/grid.scss +4 -0
package/dist/index.js
CHANGED
|
@@ -2,45 +2,44 @@
|
|
|
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";
|
|
21
|
-
export
|
|
22
|
-
export
|
|
20
|
+
export * from "./components/card-grid";
|
|
21
|
+
export * from "./components/card-list";
|
|
23
22
|
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
|
-
export
|
|
28
|
+
export * from "./components/document-header";
|
|
30
29
|
export { storiesOfDocumentList } from "./components/document-list/document-list.stories-of.js";
|
|
31
30
|
export { storiesOfDropdownMenu } from "./components/dropdown-menu/dropdown-menu.stories-of.js";
|
|
32
31
|
export { storiesOfExpandable } from "./components/expandable/expandable.stories-of.js";
|
|
33
|
-
export
|
|
32
|
+
export * from "./components/footnotes";
|
|
34
33
|
export { storiesOfForm } from "./components/form/form.stories-of.js";
|
|
35
34
|
export { storiesOfFormButtons } from "./components/form-buttons/form-buttons.stories-of.js";
|
|
36
35
|
export * from "./components/header";
|
|
37
36
|
export * from "./components/helpcenter-panel";
|
|
38
37
|
export * from "./components/highlight-box";
|
|
39
|
-
export
|
|
40
|
-
export
|
|
38
|
+
export * from "./components/icon";
|
|
39
|
+
export * from "./components/image";
|
|
41
40
|
export { storiesOfImageOverlay } from "./components/image-overlay/image-overlay.stories-of.js";
|
|
41
|
+
export * from "./components/info";
|
|
42
42
|
export { storiesOfInfoButton } from "./components/info-button/info-button.stories-of.js";
|
|
43
|
-
export { storiesOfInfo } from "./components/info/info.stories-of.js";
|
|
44
43
|
export { storiesOfInputNumber } from "./components/input-number/input-number.stories-of.js";
|
|
45
44
|
export { storiesOfJustifyFormGroups, } from "./components/justify-form-groups/justify-form-groups.stories-of.js";
|
|
46
45
|
export * from "./components/label";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dso-toolkit",
|
|
3
3
|
"description": "DSO Toolkit",
|
|
4
4
|
"license": "SEE LICENSE IN DISCLAIMER.txt",
|
|
5
|
-
"version": "62.
|
|
5
|
+
"version": "62.22.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "gulp"
|
|
8
8
|
},
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"homepage": "https://www.dso-toolkit.nl/",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@prettier/plugin-xml": "^3.4.1",
|
|
31
|
-
"@storybook/addon-actions": "7.6.
|
|
32
|
-
"@storybook/addons": "7.6.
|
|
33
|
-
"@storybook/client-api": "7.6.
|
|
34
|
-
"@storybook/types": "7.6.
|
|
31
|
+
"@storybook/addon-actions": "7.6.18",
|
|
32
|
+
"@storybook/addons": "7.6.18",
|
|
33
|
+
"@storybook/client-api": "7.6.18",
|
|
34
|
+
"@storybook/types": "7.6.18",
|
|
35
35
|
"@types/css": "^0.0.37",
|
|
36
36
|
"@types/gulp": "^4.0.17",
|
|
37
37
|
"@types/gulp-cheerio": "^0.0.38",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@types/through2": "^2.0.41",
|
|
44
44
|
"concurrently": "^8.2.2",
|
|
45
45
|
"css": "^3.0.0",
|
|
46
|
-
"cssnano": "^
|
|
46
|
+
"cssnano": "^7.0.1",
|
|
47
47
|
"del": "^7.1.0",
|
|
48
48
|
"escape-string-regexp": "^5.0.0",
|
|
49
|
-
"gulp": "^
|
|
49
|
+
"gulp": "^5.0.0",
|
|
50
50
|
"gulp-cheerio": "^1.0.0",
|
|
51
51
|
"gulp-filter": "^9.0.1",
|
|
52
52
|
"gulp-header": "^2.0.9",
|
|
53
|
-
"gulp-postcss": "^
|
|
53
|
+
"gulp-postcss": "^10.0.0",
|
|
54
54
|
"gulp-prettier": "^6.0.0",
|
|
55
55
|
"gulp-rename": "^2.0.0",
|
|
56
56
|
"gulp-svgstore": "^9.0.0",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"plugin-error": "^2.0.1",
|
|
61
61
|
"postcss": "^8.4.38",
|
|
62
62
|
"prettier": "^3.2.5",
|
|
63
|
-
"react": "^18.
|
|
64
|
-
"react-dom": "^18.
|
|
63
|
+
"react": "^18.3.1",
|
|
64
|
+
"react-dom": "^18.3.1",
|
|
65
65
|
"sass": "^1.75.0",
|
|
66
66
|
"through2": "^4.0.2",
|
|
67
67
|
"typescript": "<5.5.0",
|
|
@@ -22,6 +22,15 @@
|
|
|
22
22
|
margin: #{units.$u1 * 0.5} 0;
|
|
23
23
|
}
|
|
24
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
|
+
|
|
25
34
|
.dso-file-upload {
|
|
26
35
|
input[type="file"] {
|
|
27
36
|
@include utilities.sr-only();
|
|
@@ -154,7 +163,8 @@
|
|
|
154
163
|
|
|
155
164
|
&:has(.dso-download) {
|
|
156
165
|
.dso-selectable,
|
|
157
|
-
dso-selectable
|
|
166
|
+
dso-selectable,
|
|
167
|
+
.dso-upload-loading {
|
|
158
168
|
+ .dso-remove {
|
|
159
169
|
margin-inline-start: (units.$u4 * 2) + (units.$u1 * 1.5);
|
|
160
170
|
}
|
|
@@ -174,6 +184,7 @@
|
|
|
174
184
|
li:has(.dso-download) {
|
|
175
185
|
.dso-selectable,
|
|
176
186
|
dso-selectable,
|
|
187
|
+
.dso-upload-loading,
|
|
177
188
|
dso-icon,
|
|
178
189
|
svg.di {
|
|
179
190
|
+ .dso-download {
|
|
@@ -185,6 +196,7 @@
|
|
|
185
196
|
li:not(:has(.dso-download)) {
|
|
186
197
|
.dso-selectable,
|
|
187
198
|
dso-selectable,
|
|
199
|
+
.dso-upload-loading,
|
|
188
200
|
dso-icon,
|
|
189
201
|
svg.di {
|
|
190
202
|
+ .dso-remove {
|
|
@@ -33,3 +33,8 @@ Een Form Group "checkboxes" is een `fieldset` element in plaats van een `div`:
|
|
|
33
33
|
```html
|
|
34
34
|
<fieldset class="form-group dso-checkboxes"></fieldset>
|
|
35
35
|
```
|
|
36
|
+
|
|
37
|
+
### `.form-group.dso-files`
|
|
38
|
+
|
|
39
|
+
Als er geen bestanden zijn geüpload in een Form Group "files" dan wordt er geen "lege" unordered list `dso-filelist` in het formulier geplaatst.
|
|
40
|
+
Pas na de eerste upload is er een `ul` met 1 `li`st-item in het formulier aanwezig.
|