@schukai/monster 3.73.5 → 3.73.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/CHANGELOG.md +18 -1
  2. package/package.json +1 -1
  3. package/source/components/datatable/datatable.mjs +1 -1
  4. package/source/components/datatable/filter/input.mjs +2 -1
  5. package/source/components/datatable/filter/select.mjs +4 -3
  6. package/source/components/datatable/save-button.mjs +264 -262
  7. package/source/components/datatable/style/datatable.pcss +8 -0
  8. package/source/components/datatable/style/{select-filter.pcss → filter-select.pcss} +8 -0
  9. package/source/components/datatable/style/filter.pcss +1 -1
  10. package/source/components/datatable/stylesheet/datatable.mjs +7 -14
  11. package/source/components/datatable/stylesheet/{select-filter.mjs → filter-select.mjs} +9 -16
  12. package/source/components/datatable/stylesheet/filter.mjs +7 -14
  13. package/source/components/form/button.mjs +0 -1
  14. package/source/components/form/select.mjs +33 -83
  15. package/source/components/layout/popper.mjs +317 -318
  16. package/source/components/navigation/style/table-of-content.pcss +5 -0
  17. package/source/components/navigation/stylesheet/table-of-content.mjs +7 -14
  18. package/source/components/navigation/table-of-content.mjs +31 -18
  19. package/source/components/style/color.pcss +10 -1
  20. package/source/components/style/mixin/property.pcss +4 -4
  21. package/source/components/stylesheet/color.mjs +7 -14
  22. package/source/components/stylesheet/mixin/property.mjs +6 -13
  23. package/source/components/tree-menu/tree-menu.mjs +2 -2
  24. package/source/data/buildtree.mjs +64 -57
  25. package/source/types/node.mjs +144 -134
  26. package/source/types/version.mjs +1 -1
  27. package/test/cases/data/buildtree.mjs +49 -0
  28. package/test/cases/dom/resource/data.mjs +1 -1
  29. package/test/cases/dom/resource/link/stylesheet.mjs +1 -1
  30. package/test/cases/dom/resource/link.mjs +1 -1
  31. package/test/cases/dom/resource/script.mjs +1 -1
  32. package/test/cases/monster.mjs +1 -1
  33. package/test/web/test.html +2 -2
  34. package/test/web/tests.js +64 -18
package/CHANGELOG.md CHANGED
@@ -2,11 +2,28 @@
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
+
15
+ ## [3.73.6] - 2024-07-31
16
+
17
+ ### Bug Fixes
18
+
19
+ - repair url in tests [#230](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/230)
20
+ - improvement of the tree menu to avoid recursion. [#230](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/230)
21
+
5
22
  ## [3.73.5] - 2024-07-02
6
23
 
7
24
  ### Bug Fixes
8
25
 
9
- - originValues in the savebutton is now reset.
26
+ - originValues in the save button control is now reset.
10
27
 
11
28
  ## [3.73.4] - 2024-07-02
12
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.5"}
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