dso-toolkit 62.2.1 → 62.3.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 +19 -0
- package/dist/dso.css +30 -12
- package/dist/index.js +11 -12
- package/package.json +1 -1
- package/src/components/highlight-box/highlight-box.scss +2 -0
- package/src/components/mark/mark.scss +9 -3
- package/src/components/selectable/selectable.mixins.scss +21 -19
- package/src/components/selectable/selectable.scss +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,25 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
|
5
5
|
|
|
6
6
|
## Next
|
|
7
7
|
|
|
8
|
+
## 🐜 62.3.0 - 10-11-2023
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
* Document Component: Mark en highlight functionaliteit ([#2386](https://github.com/dso-toolkit/dso-toolkit/issues/2386))
|
|
12
|
+
* Date Picker: vorige implementatie herintroduceren als "Date Picker Legacy" ([#2430](https://github.com/dso-toolkit/dso-toolkit/issues/2430))
|
|
13
|
+
* Accordion: AccordionSection.scrollIntoView() voorzien van logging ([#2431](https://github.com/dso-toolkit/dso-toolkit/issues/2431))
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
* Highlight Box: Stacking issue ([#2427](https://github.com/dso-toolkit/dso-toolkit/issues/2427))
|
|
17
|
+
|
|
18
|
+
## 🍂 62.2.2 - 06-11-2023
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
* Accordion: Inhoud is al zichtbaar voordat de animatie klaar is ([#2420](https://github.com/dso-toolkit/dso-toolkit/issues/2420))
|
|
22
|
+
* Selectable: Web Component implementatie heeft geen ondersteuning voor selectable options ([#2421](https://github.com/dso-toolkit/dso-toolkit/issues/2421))
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
* Ozon Content: Expliciete dependencies voor Web Componenten ([#2419](https://github.com/dso-toolkit/dso-toolkit/issues/2419))
|
|
26
|
+
|
|
8
27
|
## 🛹 62.2.1 - 03-11-2023
|
|
9
28
|
|
|
10
29
|
### Fixed
|
package/dist/dso.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/* DSO Toolkit version: 62.
|
|
2
|
-
:root { --dso-toolkit-version: 62.
|
|
1
|
+
/* DSO Toolkit version: 62.3.0 */
|
|
2
|
+
:root { --dso-toolkit-version: 62.3.0 }
|
|
3
3
|
|
|
4
4
|
@font-face {
|
|
5
5
|
font-family: "Asap";
|
|
@@ -5333,6 +5333,8 @@ h6,
|
|
|
5333
5333
|
padding: 16px;
|
|
5334
5334
|
margin-bottom: 24px;
|
|
5335
5335
|
container-type: inline-size;
|
|
5336
|
+
position: relative;
|
|
5337
|
+
z-index: 1;
|
|
5336
5338
|
}
|
|
5337
5339
|
.dso-highlight-box.dso-white {
|
|
5338
5340
|
background-color: #fff;
|
|
@@ -6358,9 +6360,12 @@ dso-map-controls > * + * {
|
|
|
6358
6360
|
}
|
|
6359
6361
|
|
|
6360
6362
|
mark {
|
|
6361
|
-
background-color: #
|
|
6363
|
+
background-color: #f8f5ce;
|
|
6362
6364
|
color: #000;
|
|
6363
|
-
padding: 0.
|
|
6365
|
+
padding-block: 0.2rem;
|
|
6366
|
+
}
|
|
6367
|
+
mark.dso-highlight {
|
|
6368
|
+
background-color: #dbd136;
|
|
6364
6369
|
}
|
|
6365
6370
|
|
|
6366
6371
|
@keyframes slideInFromTop {
|
|
@@ -7133,14 +7138,6 @@ optgroup {
|
|
|
7133
7138
|
display: var(--dso-selectable-display, block);
|
|
7134
7139
|
padding: 0 0 0 32px;
|
|
7135
7140
|
}
|
|
7136
|
-
.dso-selectable .dso-selectable-options {
|
|
7137
|
-
list-style: none;
|
|
7138
|
-
margin-top: 8px;
|
|
7139
|
-
padding-left: 0;
|
|
7140
|
-
}
|
|
7141
|
-
.dso-selectable .dso-selectable-options li + li {
|
|
7142
|
-
margin-top: 8px;
|
|
7143
|
-
}
|
|
7144
7141
|
.dso-selectable label {
|
|
7145
7142
|
font-weight: 400;
|
|
7146
7143
|
line-height: 24px;
|
|
@@ -7268,6 +7265,14 @@ optgroup {
|
|
|
7268
7265
|
margin: 8px 16px 0 0;
|
|
7269
7266
|
width: 100%;
|
|
7270
7267
|
}
|
|
7268
|
+
.dso-selectable .dso-selectable-options {
|
|
7269
|
+
list-style: none;
|
|
7270
|
+
margin-top: 8px;
|
|
7271
|
+
padding-left: 0;
|
|
7272
|
+
}
|
|
7273
|
+
.dso-selectable .dso-selectable-options li + li {
|
|
7274
|
+
margin-top: 8px;
|
|
7275
|
+
}
|
|
7271
7276
|
.dso-selectable:not(:last-child) {
|
|
7272
7277
|
margin-bottom: 8px;
|
|
7273
7278
|
}
|
|
@@ -7275,6 +7280,19 @@ optgroup {
|
|
|
7275
7280
|
--dso-selectable-color: #ce3f51;
|
|
7276
7281
|
}
|
|
7277
7282
|
|
|
7283
|
+
dso-selectable > dso-info {
|
|
7284
|
+
float: none;
|
|
7285
|
+
margin: 8px 16px 0 0;
|
|
7286
|
+
width: 100%;
|
|
7287
|
+
}
|
|
7288
|
+
dso-selectable .dso-selectable-options {
|
|
7289
|
+
list-style: none;
|
|
7290
|
+
margin-top: 8px;
|
|
7291
|
+
padding-left: 0;
|
|
7292
|
+
}
|
|
7293
|
+
dso-selectable .dso-selectable-options li + li {
|
|
7294
|
+
margin-top: 8px;
|
|
7295
|
+
}
|
|
7278
7296
|
dso-selectable .dso-rich-content[slot=info] *:first-child {
|
|
7279
7297
|
margin-top: 0;
|
|
7280
7298
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/* Storybook
|
|
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
4
|
export { storiesOfAccordion } from "./components/accordion/accordion.stories-of.js";
|
|
5
5
|
export { storiesOfActionList } from "./components/action-list/action-list.stories-of.js";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export { storiesOfApplicationHeading, } from "./components/application-heading/application-heading.stories-of.js";
|
|
6
|
+
export * from "./components/alert";
|
|
7
|
+
export * from "./components/anchor";
|
|
8
|
+
export * from "./components/application-heading";
|
|
10
9
|
export { storiesOfAnnotation } from "./components/annotation/annotation.stories-of.js";
|
|
11
|
-
export
|
|
10
|
+
export * from "./components/attachments-counter";
|
|
12
11
|
export { storiesOfAutosuggest } from "./components/autosuggest/autosuggest.stories-of.js";
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
12
|
+
export * from "./components/badge";
|
|
13
|
+
export * from "./components/banner";
|
|
14
|
+
export * from "./components/breadcrumbs";
|
|
16
15
|
export { isButtonInterface } from "./components/button/button.models.js";
|
|
17
16
|
export { storiesOfButton } from "./components/button/button.stories-of.js";
|
|
18
|
-
export
|
|
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
20
|
export { storiesOfCardGrid } from "./components/card-grid/card-grid.stories-of.js";
|
|
22
21
|
export { storiesOfCardList } from "./components/card-list/card-list.stories-of.js";
|
|
23
22
|
export { storiesOfContext } from "./components/context/context.stories-of.js";
|
|
24
23
|
export { storiesOfDatePicker, } from "./components/date-picker/date-picker.stories-of.js";
|
|
24
|
+
export { storiesOfDatePickerLegacy, } from "./components/date-picker-legacy/date-picker-legacy.stories-of.js";
|
|
25
25
|
export { storiesOfDefinitionList, } from "./components/definition-list/definition-list.stories-of.js";
|
|
26
26
|
export { storiesOfDescription } from "./components/description/description.stories-of.js";
|
|
27
27
|
export { storiesOfDocumentComponent, } from "./components/document-component/document-component.stories-of.js";
|
|
@@ -42,8 +42,7 @@ export { storiesOfInfoButton } from "./components/info-button/info-button.storie
|
|
|
42
42
|
export { storiesOfInfo } from "./components/info/info.stories-of.js";
|
|
43
43
|
export { storiesOfInputNumber } from "./components/input-number/input-number.stories-of.js";
|
|
44
44
|
export { storiesOfJustifyFormGroups, } from "./components/justify-form-groups/justify-form-groups.stories-of.js";
|
|
45
|
-
export
|
|
46
|
-
export { storiesOfLabel } from "./components/label/label.stories-of.js";
|
|
45
|
+
export * from "./components/label";
|
|
47
46
|
export { storiesOfLabelGroup } from "./components/label-group/label-group.stories-of.js";
|
|
48
47
|
export { LinkListType } from "./components/link-list/link-list.models.js";
|
|
49
48
|
export { storiesOfLinkList } from "./components/link-list/link-list.stories-of.js";
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
@use "../../variables/states";
|
|
2
1
|
@use "../../variables/colors";
|
|
3
2
|
|
|
3
|
+
$mark-color: #f8f5ce;
|
|
4
|
+
$highlight-color: #dbd136;
|
|
5
|
+
|
|
4
6
|
mark {
|
|
5
|
-
background-color:
|
|
7
|
+
background-color: $mark-color;
|
|
6
8
|
color: colors.$zwart;
|
|
7
|
-
padding: 0.
|
|
9
|
+
padding-block: 0.2rem;
|
|
10
|
+
|
|
11
|
+
&.dso-highlight {
|
|
12
|
+
background-color: $highlight-color;
|
|
13
|
+
}
|
|
8
14
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@mixin root($
|
|
20
|
+
@mixin root($set-padding: true) {
|
|
21
21
|
position: relative;
|
|
22
22
|
|
|
23
23
|
display: var(--dso-selectable-display, block);
|
|
@@ -26,16 +26,6 @@
|
|
|
26
26
|
padding: 0 0 0 units.$u4;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.dso-selectable-options {
|
|
30
|
-
list-style: none;
|
|
31
|
-
margin-top: units.$u1;
|
|
32
|
-
padding-left: 0;
|
|
33
|
-
|
|
34
|
-
li + li {
|
|
35
|
-
margin-top: units.$u1;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
29
|
label {
|
|
40
30
|
font-weight: 400;
|
|
41
31
|
line-height: selectable-variables.$size;
|
|
@@ -44,27 +34,39 @@
|
|
|
44
34
|
|
|
45
35
|
input[type="checkbox"][disabled],
|
|
46
36
|
input[type="radio"][disabled] {
|
|
47
|
-
@include
|
|
37
|
+
@include _selectableFunctionalStylingDisabled();
|
|
48
38
|
}
|
|
49
39
|
|
|
50
40
|
input[type="checkbox"],
|
|
51
41
|
input[type="radio"] {
|
|
52
|
-
@include
|
|
42
|
+
@include _selectableFunctionalStyling();
|
|
53
43
|
}
|
|
54
44
|
|
|
55
45
|
input[type="checkbox"] {
|
|
56
|
-
@include
|
|
46
|
+
@include _selectableFunctionalStylingCheckbox();
|
|
57
47
|
}
|
|
58
48
|
|
|
59
49
|
input[type="radio"] {
|
|
60
|
-
@include
|
|
50
|
+
@include _selectableFunctionalStylingRadio();
|
|
61
51
|
}
|
|
52
|
+
}
|
|
62
53
|
|
|
54
|
+
@mixin children($info-selector) {
|
|
63
55
|
> #{$info-selector} {
|
|
64
56
|
float: none;
|
|
65
57
|
margin: units.$u1 units.$u2 0 0;
|
|
66
58
|
width: 100%;
|
|
67
59
|
}
|
|
60
|
+
|
|
61
|
+
.dso-selectable-options {
|
|
62
|
+
list-style: none;
|
|
63
|
+
margin-top: units.$u1;
|
|
64
|
+
padding-left: 0;
|
|
65
|
+
|
|
66
|
+
li + li {
|
|
67
|
+
margin-top: units.$u1;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
@mixin selectableBoxShadow($border-width, $color) {
|
|
@@ -75,7 +77,7 @@
|
|
|
75
77
|
width: selectable-variables.$size - 2 * $border-width;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
|
-
@mixin
|
|
80
|
+
@mixin _selectableFunctionalStylingDisabled() {
|
|
79
81
|
&,
|
|
80
82
|
&:active,
|
|
81
83
|
&:focus {
|
|
@@ -88,7 +90,7 @@
|
|
|
88
90
|
}
|
|
89
91
|
}
|
|
90
92
|
|
|
91
|
-
@mixin
|
|
93
|
+
@mixin _selectableFunctionalStyling() {
|
|
92
94
|
height: selectable-variables.$size;
|
|
93
95
|
left: 0;
|
|
94
96
|
margin: 0;
|
|
@@ -152,7 +154,7 @@
|
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
156
|
|
|
155
|
-
@mixin
|
|
157
|
+
@mixin _selectableFunctionalStylingCheckbox() {
|
|
156
158
|
+ label {
|
|
157
159
|
&::before {
|
|
158
160
|
border-radius: 4px;
|
|
@@ -203,7 +205,7 @@
|
|
|
203
205
|
}
|
|
204
206
|
}
|
|
205
207
|
|
|
206
|
-
@mixin
|
|
208
|
+
@mixin _selectableFunctionalStylingRadio() {
|
|
207
209
|
+ label {
|
|
208
210
|
&::before {
|
|
209
211
|
border-radius: 50%;
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
// HTML/CSS
|
|
5
5
|
.dso-selectable {
|
|
6
|
-
@include selectable.root(
|
|
6
|
+
@include selectable.root();
|
|
7
|
+
@include selectable.children(".dso-info");
|
|
7
8
|
|
|
8
9
|
&:not(:last-child) {
|
|
9
10
|
@include selectable.notLastChild();
|
|
@@ -16,6 +17,8 @@
|
|
|
16
17
|
|
|
17
18
|
// Web Component
|
|
18
19
|
dso-selectable {
|
|
20
|
+
@include selectable.children("dso-info");
|
|
21
|
+
|
|
19
22
|
.dso-rich-content[slot="info"] {
|
|
20
23
|
@include info.richContent();
|
|
21
24
|
}
|