@schukai/monster 3.108.2 → 3.108.4

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
@@ -2,6 +2,26 @@
2
2
 
3
3
 
4
4
 
5
+ ## [3.108.4] - 2025-02-16
6
+
7
+ ### Bug Fixes
8
+
9
+ - copy-all css
10
+ ### Changes
11
+
12
+ - update vite
13
+ - update npm
14
+
15
+
16
+
17
+ ## [3.108.3] - 2025-02-15
18
+
19
+ ### Bug Fixes
20
+
21
+ - filter height
22
+
23
+
24
+
5
25
  ## [3.108.2] - 2025-02-13
6
26
 
7
27
  ### Bug Fixes
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8","buffer":"^6.0.3"},"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.108.2"}
1
+ {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8","buffer":"^6.0.3"},"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.108.4"}
@@ -45,9 +45,6 @@ class FilterSelect extends Select {
45
45
  get defaults() {
46
46
  return Object.assign({}, super.defaults, {
47
47
  type: "checkbox",
48
- // templateMapping: {
49
- // selected: getSummaryTemplate(),
50
- // },
51
48
  });
52
49
  }
53
50
 
@@ -205,7 +205,10 @@ class SaveButton extends CustomElement {
205
205
  const result = diff(self[originValuesSymbol], currentValues);
206
206
  if (self.getOption("logLevel") === "debug") {
207
207
  console.groupCollapsed("SaveButton");
208
- console.log("originValues", JSON.parse(JSON.stringify(currentValues)));
208
+ console.log(
209
+ "originValues",
210
+ JSON.parse(JSON.stringify(currentValues)),
211
+ );
209
212
  console.log("result of diff", result);
210
213
  console.log("ignoreChanges", ignoreChanges);
211
214
 
@@ -232,8 +235,8 @@ class SaveButton extends CustomElement {
232
235
  for (const ignorePattern of ignoreChanges) {
233
236
  const p = new RegExp(ignorePattern);
234
237
 
235
- let matchPath = item.path
236
- if(isArray(item.path)){
238
+ let matchPath = item.path;
239
+ if (isArray(item.path)) {
237
240
  matchPath = item.path.join(".");
238
241
  }
239
242
 
@@ -96,11 +96,11 @@
96
96
  &.center {
97
97
  justify-content: center;
98
98
  }
99
-
99
+
100
100
  &.monospace {
101
101
  font-family: var(--monster-font-family-monospace);
102
102
  }
103
-
103
+
104
104
  &.ellipsis {
105
105
  overflow: hidden;
106
106
  white-space: nowrap;
@@ -118,7 +118,7 @@
118
118
  scrollbar-width: thin;
119
119
  scrollbar-color: var(--monster-color-primary-1) var(--monster-bg-color-primary-1);
120
120
  }
121
-
121
+
122
122
  &.visible {
123
123
  overflow: visible;
124
124
  }
@@ -229,25 +229,25 @@
229
229
 
230
230
  }
231
231
 
232
- & a[data-monster-role="copy-all"] {
233
- display: flex;
234
- align-items: center;
235
- color: var(--monster-color-primary-1);
236
- background: none;
237
- white-space: nowrap;
238
-
239
- &:after {
240
- content: "";
241
- display: block;
242
- width: 20px;
243
- height: 16px;
244
- margin: 2px 3px 0 5px;
245
- padding-top: 4px;
246
- background-color: var(--monster-color-primary-1);
247
- mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1z'/%3E%3Cpath d='M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0z'/%3E%3C/svg%3E");
248
- mask-size: cover;
249
- }
232
+ a[data-monster-role="copy-all"] {
233
+ display: flex;
234
+ align-items: center;
235
+ color: var(--monster-color-primary-1);
236
+ background: none;
237
+ white-space: nowrap;
238
+
239
+ &:after {
240
+ content: "";
241
+ display: block;
242
+ width: 20px;
243
+ height: 16px;
244
+ margin: 2px 3px 0 5px;
245
+ padding-top: 4px;
246
+ background-color: var(--monster-color-primary-1);
247
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1z'/%3E%3Cpath d='M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0z'/%3E%3C/svg%3E");
248
+ mask-size: cover;
250
249
  }
250
+ }
251
251
 
252
252
  .filter {
253
253
  margin: 0 0 20px 0;
@@ -3,6 +3,11 @@
3
3
  @import "../../style/form.pcss";
4
4
 
5
5
 
6
+ :host {
7
+ width: 100%;
8
+ height: 100%;
9
+ }
10
+
6
11
  div[data-monster-role=control] {
7
12
  height: 100%;
8
13
  position: relative;
@@ -1,6 +1,7 @@
1
1
 
2
2
  [data-monster-role=input] {
3
- width: 100%
3
+ width: 100%;
4
+ height: 100%;
4
5
  }
5
6
 
6
7
  .hidden {
@@ -1,5 +1,6 @@
1
1
 
2
2
  [data-monster-role=input] {
3
- width: 100%
3
+ width: 100%;
4
+ height: 100%;
4
5
  }
5
6
 
@@ -62,6 +62,7 @@
62
62
  align-items: stretch;
63
63
 
64
64
  min-width: 15em;
65
+ min-height: 4.1rem;
65
66
 
66
67
  }
67
68