dso-toolkit 62.19.0 → 62.20.1
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 +21 -0
- package/dist/dso.css +26 -14
- 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 +13 -13
- package/package.json +4 -4
- package/src/components/grid/grid.scss +1 -0
- package/src/components/label/label.mixins.scss +0 -21
- package/src/components/label/label.scss +14 -4
- package/src/components/legend-item/legend-item.scss +12 -0
- package/src/components/legend-item/legend-item.variables.scss +7 -0
- package/src/dso.scss +1 -0
- package/src/global/mixins/symbol.mixins.scss +20 -0
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* Since Storybook 7 we have support for export * from ''; */
|
|
2
2
|
export { TemplateContainer, } from "./template-container.js";
|
|
3
3
|
export { ArgsError, StoryRoot, componentArgs, createStories, noControl, storiesOfFactory, } from "./storybook/index.js";
|
|
4
|
-
export
|
|
4
|
+
export * from "./components/accordion";
|
|
5
5
|
export { storiesOfActionList } from "./components/action-list/action-list.stories-of.js";
|
|
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
|
-
export
|
|
10
|
+
export * from "./components/annotation";
|
|
11
11
|
export * from "./components/attachments-counter";
|
|
12
12
|
export { storiesOfAutosuggest } from "./components/autosuggest/autosuggest.stories-of.js";
|
|
13
13
|
export * from "./components/badge";
|
|
@@ -20,10 +20,10 @@ export { storiesOfCard } from "./components/card/card.stories-of.js";
|
|
|
20
20
|
export { storiesOfCardContainer, } from "./components/card-container/card-container.stories-of.js";
|
|
21
21
|
export { storiesOfCardGrid } from "./components/card-grid/card-grid.stories-of.js";
|
|
22
22
|
export { storiesOfCardList } from "./components/card-list/card-list.stories-of.js";
|
|
23
|
-
export
|
|
23
|
+
export * from "./components/context";
|
|
24
24
|
export { storiesOfDatePicker, } from "./components/date-picker/date-picker.stories-of.js";
|
|
25
25
|
export { storiesOfDatePickerLegacy, } from "./components/date-picker-legacy/date-picker-legacy.stories-of.js";
|
|
26
|
-
export
|
|
26
|
+
export * from "./components/definition-list";
|
|
27
27
|
export { storiesOfDescription } from "./components/description/description.stories-of.js";
|
|
28
28
|
export { storiesOfDocumentComponent, } from "./components/document-component/document-component.stories-of.js";
|
|
29
29
|
export { storiesOfDocumentHeader, } from "./components/document-header/document-header.stories-of.js";
|
|
@@ -33,9 +33,9 @@ export { storiesOfExpandable } from "./components/expandable/expandable.stories-
|
|
|
33
33
|
export { storiesOfFootnotes } from "./components/footnotes/footnotes.stories-of.js";
|
|
34
34
|
export { storiesOfForm } from "./components/form/form.stories-of.js";
|
|
35
35
|
export { storiesOfFormButtons } from "./components/form-buttons/form-buttons.stories-of.js";
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
36
|
+
export * from "./components/header";
|
|
37
|
+
export * from "./components/helpcenter-panel";
|
|
38
|
+
export * from "./components/highlight-box";
|
|
39
39
|
export { storiesOfIcon } from "./components/icon/icon.stories-of.js";
|
|
40
40
|
export { storiesOfImage } from "./components/image/image.stories-of.js";
|
|
41
41
|
export { storiesOfImageOverlay } from "./components/image-overlay/image-overlay.stories-of.js";
|
|
@@ -45,6 +45,7 @@ export { storiesOfInputNumber } from "./components/input-number/input-number.sto
|
|
|
45
45
|
export { storiesOfJustifyFormGroups, } from "./components/justify-form-groups/justify-form-groups.stories-of.js";
|
|
46
46
|
export * from "./components/label";
|
|
47
47
|
export { storiesOfLabelGroup } from "./components/label-group/label-group.stories-of.js";
|
|
48
|
+
export * from "./components/legend-item";
|
|
48
49
|
export { LinkListType } from "./components/link-list/link-list.models.js";
|
|
49
50
|
export { storiesOfLinkList } from "./components/link-list/link-list.stories-of.js";
|
|
50
51
|
export { Type } from "./components/list/list.models.js";
|
|
@@ -67,16 +68,15 @@ export { storiesOfScrollable } from "./components/scrollable/scrollable.stories-
|
|
|
67
68
|
export { storiesOfSearchBar } from "./components/search-bar/search-bar.stories-of.js";
|
|
68
69
|
export { storiesOfSelectable } from "./components/selectable/selectable.stories-of.js";
|
|
69
70
|
export { storiesOfShoppingCart } from "./components/shopping-cart/shopping-cart.stories-of.js";
|
|
70
|
-
export
|
|
71
|
+
export * from "./components/slide-toggle";
|
|
71
72
|
export { storiesOfTable } from "./components/table/table.stories-of.js";
|
|
72
|
-
export
|
|
73
|
-
export
|
|
73
|
+
export * from "./components/tabs";
|
|
74
|
+
export * from "./components/tile";
|
|
74
75
|
export { storiesOfTileGrid } from "./components/tile-grid/tile-grid.stories-of.js";
|
|
75
76
|
export { isToggletipInterface } from "./components/toggletip/toggletip.models.js";
|
|
76
77
|
export { storiesOfToggletip } from "./components/toggletip/toggletip.stories-of.js";
|
|
77
|
-
export
|
|
78
|
-
export { storiesOfTooltip } from "./components/tooltip/tooltip.stories-of.js";
|
|
78
|
+
export * from "./components/tooltip";
|
|
79
79
|
export { collection, onClickItem, onCloseItem, onFilter, onOpenItem } from "./components/tree-view/tree-view.demo.js";
|
|
80
80
|
export { storiesOfTreeView } from "./components/tree-view/tree-view.stories-of.js";
|
|
81
81
|
export { storiesOfViewerGrid } from "./components/viewer-grid/viewer-grid.stories-of.js";
|
|
82
|
-
export
|
|
82
|
+
export * from "./components/whitebox";
|
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.20.1",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "gulp"
|
|
8
8
|
},
|
|
@@ -56,15 +56,15 @@
|
|
|
56
56
|
"gulp-svgstore": "^9.0.0",
|
|
57
57
|
"gulp-typescript": "^6.0.0-alpha.1",
|
|
58
58
|
"list-stream": "^2.1.0",
|
|
59
|
-
"markdown-to-jsx": "^7.4.
|
|
59
|
+
"markdown-to-jsx": "^7.4.7",
|
|
60
60
|
"plugin-error": "^2.0.1",
|
|
61
61
|
"postcss": "^8.4.38",
|
|
62
62
|
"prettier": "^3.2.5",
|
|
63
63
|
"react": "^18.2.0",
|
|
64
64
|
"react-dom": "^18.2.0",
|
|
65
|
-
"sass": "^1.
|
|
65
|
+
"sass": "^1.75.0",
|
|
66
66
|
"through2": "^4.0.2",
|
|
67
|
-
"typescript": "<5.
|
|
67
|
+
"typescript": "<5.5.0",
|
|
68
68
|
"uuid": "^9.0.1",
|
|
69
69
|
"vinyl-sourcemaps-apply": "^0.2.1"
|
|
70
70
|
},
|
|
@@ -123,6 +123,7 @@ form {
|
|
|
123
123
|
background-color: var(--dso-banner-background-color);
|
|
124
124
|
background-repeat: no-repeat;
|
|
125
125
|
background-size: cover;
|
|
126
|
+
background-position: center;
|
|
126
127
|
|
|
127
128
|
@media only screen and (min-width: media-query-breakpoints.$screen-sm-min) {
|
|
128
129
|
position: absolute;
|
|
@@ -81,24 +81,3 @@
|
|
|
81
81
|
padding: 0 units.$u1;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
@mixin symbolContainer() {
|
|
86
|
-
background-color: colors.$wit;
|
|
87
|
-
display: block;
|
|
88
|
-
float: left;
|
|
89
|
-
height: label-variables.$symbol-height;
|
|
90
|
-
margin-top: 2px;
|
|
91
|
-
margin-right: units.$u1;
|
|
92
|
-
width: label-variables.$symbol-height * label-variables.$symbol-aspect-ratio;
|
|
93
|
-
overflow: hidden;
|
|
94
|
-
position: relative;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@mixin symbol() {
|
|
98
|
-
display: block;
|
|
99
|
-
position: absolute;
|
|
100
|
-
top: 0;
|
|
101
|
-
bottom: 0;
|
|
102
|
-
left: 0;
|
|
103
|
-
right: 0;
|
|
104
|
-
}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
@use "../label";
|
|
2
|
+
@use "label.variables" as label-variables;
|
|
3
|
+
@use "../../global/mixins/symbol.mixins" as symbol-mixins;
|
|
2
4
|
|
|
3
5
|
// HTML/CSS
|
|
4
6
|
.dso-label {
|
|
5
7
|
@include label.root();
|
|
6
8
|
|
|
7
9
|
.dso-label-symbol {
|
|
8
|
-
@include
|
|
10
|
+
@include symbol-mixins.symbolContainer(
|
|
11
|
+
label-variables.$symbol-height,
|
|
12
|
+
label-variables.$symbol-height * label-variables.$symbol-aspect-ratio,
|
|
13
|
+
2px
|
|
14
|
+
);
|
|
9
15
|
|
|
10
16
|
> span {
|
|
11
|
-
@include
|
|
17
|
+
@include symbol-mixins.symbol();
|
|
12
18
|
}
|
|
13
19
|
}
|
|
14
20
|
}
|
|
@@ -16,10 +22,14 @@
|
|
|
16
22
|
// Web Component
|
|
17
23
|
dso-label {
|
|
18
24
|
span[slot="symbol"] {
|
|
19
|
-
@include
|
|
25
|
+
@include symbol-mixins.symbolContainer(
|
|
26
|
+
label-variables.$symbol-height,
|
|
27
|
+
label-variables.$symbol-height * label-variables.$symbol-aspect-ratio,
|
|
28
|
+
2px
|
|
29
|
+
);
|
|
20
30
|
|
|
21
31
|
> span {
|
|
22
|
-
@include
|
|
32
|
+
@include symbol-mixins.symbol();
|
|
23
33
|
}
|
|
24
34
|
}
|
|
25
35
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@use "legend-item.variables" as legend-item-variables;
|
|
2
|
+
@use "../../global/mixins/symbol.mixins" as symbol-mixins;
|
|
3
|
+
|
|
4
|
+
dso-legend-item {
|
|
5
|
+
span[slot="symbol"] {
|
|
6
|
+
@include symbol-mixins.symbolContainer(legend-item-variables.$symbol-height, legend-item-variables.$symbol-width);
|
|
7
|
+
|
|
8
|
+
> span {
|
|
9
|
+
@include symbol-mixins.symbol();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
package/src/dso.scss
CHANGED
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
@use "components/justify-form-groups/justify-form-groups";
|
|
57
57
|
@use "components/label/label";
|
|
58
58
|
@use "components/label-group/label-group";
|
|
59
|
+
@use "components/legend-item/legend-item";
|
|
59
60
|
@use "components/link-list/link-list";
|
|
60
61
|
@use "components/list/list";
|
|
61
62
|
@use "components/list-button/list-button";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use "../../variables/colors";
|
|
2
|
+
@use "../../variables/units";
|
|
3
|
+
|
|
4
|
+
@mixin symbolContainer($symbol-height, $symbol-width, $margin-block-start: 0) {
|
|
5
|
+
background-color: colors.$wit;
|
|
6
|
+
display: block;
|
|
7
|
+
float: left;
|
|
8
|
+
height: $symbol-height;
|
|
9
|
+
margin-block-start: $margin-block-start;
|
|
10
|
+
margin-inline-end: units.$u1;
|
|
11
|
+
width: $symbol-width;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@mixin symbol() {
|
|
17
|
+
display: block;
|
|
18
|
+
position: absolute;
|
|
19
|
+
inset: 0;
|
|
20
|
+
}
|