@schukai/monster 3.73.6 → 3.73.7

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
 
4
4
 
5
+ ## [3.73.7] - 2024-08-01
6
+
7
+ ### Bug Fixes
8
+
9
+ - update layout for filter and datatable [#232](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/232)
10
+ - new algorithm for calculating the position of the toc control. [#231](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/231)
11
+ ### Changes
12
+
13
+ - check tests [#232](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/232)
14
+
5
15
  ## [3.73.6] - 2024-07-31
6
16
 
7
17
  ### Bug Fixes
@@ -9,12 +19,11 @@
9
19
  - repair url in tests [#230](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/230)
10
20
  - improvement of the tree menu to avoid recursion. [#230](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/230)
11
21
 
12
-
13
22
  ## [3.73.5] - 2024-07-02
14
23
 
15
24
  ### Bug Fixes
16
25
 
17
- - originValues in the save button is now reset.
26
+ - originValues in the save button control is now reset.
18
27
 
19
28
  ## [3.73.4] - 2024-07-02
20
29
 
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.7","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"3.73.6"}
1
+ {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.7","@popperjs/core":"^2.11.8"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"3.73.7"}
@@ -211,7 +211,7 @@ class DataTable extends CustomElement {
211
211
 
212
212
  classes: {
213
213
  control: "monster-theme-control-container-1",
214
- container: "monster-theme-control-container-1",
214
+ container: "",
215
215
  row: "monster-theme-control-row-1",
216
216
  },
217
217
 
@@ -18,6 +18,7 @@ import {
18
18
  CustomElement,
19
19
  registerCustomElement,
20
20
  } from "../../../dom/customelement.mjs";
21
+ import {FilterControlsDefaultsStyleSheet} from "../stylesheet/filter-controls-defaults.mjs";
21
22
  import { FilterStyleSheet } from "../stylesheet/filter.mjs";
22
23
  import { AbstractBase } from "./abstract-base.mjs";
23
24
 
@@ -125,7 +126,7 @@ class Input extends AbstractBase {
125
126
  * @return Array<CSSStyleSheet>
126
127
  */
127
128
  static getCSSStyleSheet() {
128
- return [FilterStyleSheet];
129
+ return [FilterControlsDefaultsStyleSheet,FilterStyleSheet];
129
130
  }
130
131
 
131
132
  /**
@@ -14,7 +14,8 @@
14
14
 
15
15
  import { registerCustomElement } from "../../../dom/customelement.mjs";
16
16
  import { getSummaryTemplate, Select } from "../../form/select.mjs";
17
- import { SelectFilterStyleSheet } from "../stylesheet/select-filter.mjs";
17
+ import {FilterControlsDefaultsStyleSheet} from "../stylesheet/filter-controls-defaults.mjs";
18
+ import { FilterSelectStyleSheet } from "../stylesheet/filter-select.mjs";
18
19
 
19
20
  /**
20
21
  * This is a filter select for the datatable filter.
@@ -60,11 +61,11 @@ class FilterSelect extends Select {
60
61
  }
61
62
 
62
63
  /**
63
- * @return {CSSStyleSheet}
64
+ * @return {CSSStyleSheet[]}
64
65
  */
65
66
  static getCSSStyleSheet() {
66
67
  const styleSheet = super.getCSSStyleSheet();
67
- return [...styleSheet, SelectFilterStyleSheet];
68
+ return [...styleSheet, FilterControlsDefaultsStyleSheet, FilterSelectStyleSheet];
68
69
  }
69
70
  }
70
71
 
@@ -17,6 +17,14 @@
17
17
  @import "../../style/theme.pcss";
18
18
  @import "../../style/skeleton.pcss";
19
19
 
20
+
21
+ ::slotted(monster-collapse) {
22
+ --monster-color-gradient-1: none;
23
+ --monster-color-gradient-2: none;
24
+ --monster-color-gradient-3: none;
25
+ }
26
+
27
+
20
28
  [data-monster-role="control"] {
21
29
  display: flex;
22
30
  outline: none;
@@ -8,6 +8,10 @@
8
8
  @import "../../style/link.pcss";
9
9
 
10
10
 
11
+ :host {
12
+ height: 100%;
13
+ }
14
+
11
15
  [data-monster-role=control] {
12
16
  width: 100%;
13
17
  padding-bottom: 0;
@@ -25,3 +29,7 @@
25
29
  margin-right: 8px;
26
30
  }
27
31
 
32
+
33
+ [data-monster-role="container"] {
34
+ display: flex;
35
+ }
@@ -52,7 +52,7 @@
52
52
 
53
53
 
54
54
  flex-direction: column;
55
- border-bottom: var(--monster-border-width) solid var(--monster-theme-control-border-color);
55
+ border-bottom: thin dotted var(--monster-theme-control-border-color);
56
56
  padding: 2px;
57
57
  align-items: stretch;
58
58