dso-toolkit 66.0.0 → 66.1.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/dist/index.js CHANGED
@@ -50,11 +50,11 @@ export * from "./components/legend-item";
50
50
  export * from "./components/link-list";
51
51
  export * from "./components/list";
52
52
  export * from "./components/list-button";
53
- export { storiesOfLogo } from "./components/logo/logo.stories-of.js";
53
+ export * from "./components/logo";
54
+ export * from "./components/map-controls";
54
55
  export * from "./components/mark-bar";
55
56
  export * from "./components/modal";
56
- export { storiesOfMapControls, } from "./components/map-controls/map-controls.stories-of.js";
57
- export { storiesOfNavbar } from "./components/navbar/navbar.stories-of.js";
57
+ export * from "./components/navbar";
58
58
  export * from "./components/ozon-content";
59
59
  export * from "./components/pagination";
60
60
  export * from "./components/panel";
@@ -65,8 +65,8 @@ export * from "./components/progress-indicator";
65
65
  export * from "./components/project-item";
66
66
  export * from "./components/input-range";
67
67
  export * from "./components/renvooi";
68
- export { storiesOfResponsiveElement, } from "./components/responsive-element/responsive-element.stories-of.js";
69
- export { storiesOfRichContent } from "./components/rich-content/rich-content.stories-of.js";
68
+ export * from "./components/responsive-element";
69
+ export * from "./components/rich-content";
70
70
  export { storiesOfRowEqualHeights, } from "./components/row-equal-heights/row-equal-heights.stories-of.js";
71
71
  export { storiesOfScrollable } from "./components/scrollable/scrollable.stories-of.js";
72
72
  export { storiesOfSearchBar } from "./components/search-bar/search-bar.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": "66.0.0",
5
+ "version": "66.1.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -44,7 +44,7 @@
44
44
  "concurrently": "^9.0.1",
45
45
  "css": "^3.0.0",
46
46
  "cssnano": "^7.0.6",
47
- "del": "^7.1.0",
47
+ "del": "^8.0.0",
48
48
  "escape-string-regexp": "^5.0.0",
49
49
  "gulp": "^5.0.0",
50
50
  "gulp-cheerio": "^1.0.0",
@@ -62,9 +62,9 @@
62
62
  "prettier": "^3.3.3",
63
63
  "react": "^18.3.1",
64
64
  "react-dom": "^18.3.1",
65
- "sass": "1.79.4",
65
+ "sass": "1.79.5",
66
66
  "through2": "^4.0.2",
67
- "typescript": "^5.5.4",
67
+ "typescript": "~5.5.4",
68
68
  "uuid": "^10.0.0",
69
69
  "vinyl-sourcemaps-apply": "^0.2.1"
70
70
  },
@@ -32,6 +32,10 @@
32
32
  :first-child {
33
33
  margin-block-start: 0;
34
34
  }
35
+
36
+ :last-child {
37
+ margin-block-end: 0;
38
+ }
35
39
  }
36
40
 
37
41
  .dso-selectable {
@@ -69,6 +73,12 @@ dso-card {
69
73
  }
70
74
  }
71
75
 
76
+ div[slot="content"] {
77
+ --_dt-rich-content-margin-block: #{units.$u1};
78
+ --_dt-rich-content-margin-block-end: 0;
79
+ --_dt-rich-content-margin-block-start: 0;
80
+ }
81
+
72
82
  dso-selectable {
73
83
  label {
74
84
  font-size: 0;
@@ -77,7 +87,7 @@ dso-card {
77
87
  }
78
88
 
79
89
  .dso-card-container {
80
- padding-block: units.$u2 units.$u1;
90
+ padding-block: units.$u2;
81
91
  padding-inline: units.$u2;
82
92
  inline-size: 100%;
83
93
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  @mixin children() {
6
6
  p {
7
- margin-block: 0 rich-content-variables.$margin-block-end;
7
+ margin-block: 0 var(--_dt-rich-content-margin-block, rich-content-variables.$margin-block-end);
8
8
  margin-inline: 0;
9
9
  }
10
10
 
@@ -4,10 +4,10 @@
4
4
  @include rich-content.children();
5
5
 
6
6
  > :first-child:not(hr, .dso-button-row) {
7
- margin-block-start: rich-content.$margin-block-start * 0.5;
7
+ margin-block-start: var(--_dt-rich-content-margin-block-start, rich-content.$margin-block-start * 0.5);
8
8
  }
9
9
 
10
10
  > :last-child:not(hr, .dso-button-row) {
11
- margin-block-end: rich-content.$margin-block-end * 0.5;
11
+ margin-block-end: var(--_dt-rich-content-margin-block-end, rich-content.$margin-block-end * 0.5);
12
12
  }
13
13
  }