dso-toolkit 62.2.0 → 62.2.2

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 CHANGED
@@ -5,7 +5,21 @@ 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.2.0 - 02-11-2023
8
+ ## 🍂 62.2.2 - 06-11-2023
9
+
10
+ ### Fixed
11
+ * Accordion: Inhoud is al zichtbaar voordat de animatie klaar is ([#2420](https://github.com/dso-toolkit/dso-toolkit/issues/2420))
12
+ * Selectable: Web Component implementatie heeft geen ondersteuning voor selectable options ([#2421](https://github.com/dso-toolkit/dso-toolkit/issues/2421))
13
+
14
+ ### Changed
15
+ * Ozon Content: Expliciete dependencies voor Web Componenten ([#2419](https://github.com/dso-toolkit/dso-toolkit/issues/2419))
16
+
17
+ ## 🛹 62.2.1 - 03-11-2023
18
+
19
+ ### Fixed
20
+ * Viewer Grid: De sizing buttons zijn bij het document panel verkeerd om ([#2418](https://github.com/dso-toolkit/dso-toolkit/issues/2418))
21
+
22
+ ## 🦴 62.2.0 - 02-11-2023
9
23
 
10
24
  ### Fixed
11
25
  * Anchor: Icon no wrap ([#2329](https://github.com/dso-toolkit/dso-toolkit/issues/2329))
package/dist/dso.css CHANGED
@@ -1,5 +1,5 @@
1
- /* DSO Toolkit version: 62.2.0 */
2
- :root { --dso-toolkit-version: 62.2.0 }
1
+ /* DSO Toolkit version: 62.2.2 */
2
+ :root { --dso-toolkit-version: 62.2.2 }
3
3
 
4
4
  @font-face {
5
5
  font-family: "Asap";
@@ -7133,14 +7133,6 @@ optgroup {
7133
7133
  display: var(--dso-selectable-display, block);
7134
7134
  padding: 0 0 0 32px;
7135
7135
  }
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
7136
  .dso-selectable label {
7145
7137
  font-weight: 400;
7146
7138
  line-height: 24px;
@@ -7268,6 +7260,14 @@ optgroup {
7268
7260
  margin: 8px 16px 0 0;
7269
7261
  width: 100%;
7270
7262
  }
7263
+ .dso-selectable .dso-selectable-options {
7264
+ list-style: none;
7265
+ margin-top: 8px;
7266
+ padding-left: 0;
7267
+ }
7268
+ .dso-selectable .dso-selectable-options li + li {
7269
+ margin-top: 8px;
7270
+ }
7271
7271
  .dso-selectable:not(:last-child) {
7272
7272
  margin-bottom: 8px;
7273
7273
  }
@@ -7275,6 +7275,19 @@ optgroup {
7275
7275
  --dso-selectable-color: #ce3f51;
7276
7276
  }
7277
7277
 
7278
+ dso-selectable > dso-info {
7279
+ float: none;
7280
+ margin: 8px 16px 0 0;
7281
+ width: 100%;
7282
+ }
7283
+ dso-selectable .dso-selectable-options {
7284
+ list-style: none;
7285
+ margin-top: 8px;
7286
+ padding-left: 0;
7287
+ }
7288
+ dso-selectable .dso-selectable-options li + li {
7289
+ margin-top: 8px;
7290
+ }
7278
7291
  dso-selectable .dso-rich-content[slot=info] *:first-child {
7279
7292
  margin-top: 0;
7280
7293
  }
package/dist/index.js CHANGED
@@ -1,21 +1,20 @@
1
- /* Storybook can't handle wildcard exports (export * from "...";). Apparently this is fixed in Storyobok 7, but at the time of writing that alpha. */
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 { AlertType } from "./components/alert/alert.models.js";
7
- export { storiesOfAlert } from "./components/alert/alert.stories-of.js";
8
- export { storiesOfAnchor } from "./components/anchor/anchor.stories-of.js";
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 { storiesOfAttachmentsCounter, } from "./components/attachments-counter/attachments-counter.stories-of.js";
10
+ export * from "./components/attachments-counter";
12
11
  export { storiesOfAutosuggest } from "./components/autosuggest/autosuggest.stories-of.js";
13
- export { storiesOfBadge } from "./components/badge/badge.stories-of.js";
14
- export { storiesOfBanner } from "./components/banner/banner.stories-of.js";
15
- export { storiesOfBreadcrumbs } from "./components/breadcrumbs/breadcrumbs.stories-of.js";
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 { storiesOfButtonRow } from "./components/button-row/button-row.stories-of.js";
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";
@@ -42,8 +41,7 @@ export { storiesOfInfoButton } from "./components/info-button/info-button.storie
42
41
  export { storiesOfInfo } from "./components/info/info.stories-of.js";
43
42
  export { storiesOfInputNumber } from "./components/input-number/input-number.stories-of.js";
44
43
  export { storiesOfJustifyFormGroups, } from "./components/justify-form-groups/justify-form-groups.stories-of.js";
45
- export { isLabelInterface } from "./components/label/label.models.js";
46
- export { storiesOfLabel } from "./components/label/label.stories-of.js";
44
+ export * from "./components/label";
47
45
  export { storiesOfLabelGroup } from "./components/label-group/label-group.stories-of.js";
48
46
  export { LinkListType } from "./components/link-list/link-list.models.js";
49
47
  export { storiesOfLinkList } from "./components/link-list/link-list.stories-of.js";
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.2.0",
5
+ "version": "62.2.2",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
 
20
- @mixin root($info-selector, $set-padding: true) {
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 selectableFunctionalStylingDisabled();
37
+ @include _selectableFunctionalStylingDisabled();
48
38
  }
49
39
 
50
40
  input[type="checkbox"],
51
41
  input[type="radio"] {
52
- @include selectableFunctionalStyling();
42
+ @include _selectableFunctionalStyling();
53
43
  }
54
44
 
55
45
  input[type="checkbox"] {
56
- @include selectableFunctionalStylingCheckbox();
46
+ @include _selectableFunctionalStylingCheckbox();
57
47
  }
58
48
 
59
49
  input[type="radio"] {
60
- @include selectableFunctionalStylingRadio();
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 selectableFunctionalStylingDisabled() {
80
+ @mixin _selectableFunctionalStylingDisabled() {
79
81
  &,
80
82
  &:active,
81
83
  &:focus {
@@ -88,7 +90,7 @@
88
90
  }
89
91
  }
90
92
 
91
- @mixin selectableFunctionalStyling() {
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 selectableFunctionalStylingCheckbox() {
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 selectableFunctionalStylingRadio() {
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(".dso-info");
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
  }