@schukai/monster 4.43.8 → 4.43.10

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,22 @@
2
2
 
3
3
 
4
4
 
5
+ ## [4.43.10] - 2025-10-13
6
+
7
+ ### Bug Fixes
8
+
9
+ - change resize observer target to this [#336](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/336)
10
+
11
+
12
+
13
+ ## [4.43.9] - 2025-10-13
14
+
15
+ ### Bug Fixes
16
+
17
+ - calc with [#336](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/336)
18
+
19
+
20
+
5
21
  ## [4.43.8] - 2025-10-12
6
22
 
7
23
  ### Bug Fixes
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.4","@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":"4.43.8"}
1
+ {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.4","@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":"4.43.10"}
@@ -108,7 +108,9 @@ class SiteNavigation extends CustomElement {
108
108
  connectedCallback() {
109
109
  super.connectedCallback();
110
110
  attachResizeObserver.call(this);
111
- setTimeout(() => populateTabs.call(this), 0);
111
+ requestAnimationFrame(() => {
112
+ populateTabs.call(this);
113
+ });
112
114
  }
113
115
 
114
116
  disconnectedCallback() {
@@ -279,11 +281,13 @@ function attachResizeObserver() {
279
281
  delete this[timerCallbackSymbol];
280
282
  }
281
283
  }
282
- this[timerCallbackSymbol] = new DeadMansSwitch(200, () =>
283
- populateTabs.call(this),
284
- );
284
+ this[timerCallbackSymbol] = new DeadMansSwitch(200, () => {
285
+ requestAnimationFrame(() => {
286
+ populateTabs.call(this);
287
+ });
288
+ });
285
289
  });
286
- this[resizeObserverSymbol].observe(this[navElementSymbol]);
290
+ this[resizeObserverSymbol].observe(this);
287
291
  }
288
292
 
289
293
  /**
@@ -156,7 +156,7 @@ function getMonsterVersion() {
156
156
  }
157
157
 
158
158
  /** don't touch, replaced by make with package.json version */
159
- monsterVersion = new Version("4.43.6");
159
+ monsterVersion = new Version("4.43.8");
160
160
 
161
161
  return monsterVersion;
162
162
  }
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version("4.43.6")
10
+ monsterVersion = new Version("4.43.8")
11
11
 
12
12
  let m = getMonsterVersion();
13
13
 
@@ -9,8 +9,8 @@
9
9
  </head>
10
10
  <body>
11
11
  <div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
12
- <h1 style='margin-bottom: 0.1em;'>Monster 4.43.6</h1>
13
- <div id="lastupdate" style='font-size:0.7em'>last update Sa 11. Okt 18:38:25 CEST 2025</div>
12
+ <h1 style='margin-bottom: 0.1em;'>Monster 4.43.8</h1>
13
+ <div id="lastupdate" style='font-size:0.7em'>last update Mo 13. Okt 09:26:37 CEST 2025</div>
14
14
  </div>
15
15
  <div id="mocha-errors"
16
16
  style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>