@schukai/monster 4.43.8 → 4.43.9
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
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.
|
|
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.9"}
|
|
@@ -108,7 +108,9 @@ class SiteNavigation extends CustomElement {
|
|
|
108
108
|
connectedCallback() {
|
|
109
109
|
super.connectedCallback();
|
|
110
110
|
attachResizeObserver.call(this);
|
|
111
|
-
|
|
111
|
+
requestAnimationFrame(() => {
|
|
112
|
+
populateTabs.call(this);
|
|
113
|
+
});
|
|
112
114
|
}
|
|
113
115
|
|
|
114
116
|
disconnectedCallback() {
|
|
@@ -279,9 +281,11 @@ function attachResizeObserver() {
|
|
|
279
281
|
delete this[timerCallbackSymbol];
|
|
280
282
|
}
|
|
281
283
|
}
|
|
282
|
-
this[timerCallbackSymbol] = new DeadMansSwitch(200, () =>
|
|
283
|
-
|
|
284
|
-
|
|
284
|
+
this[timerCallbackSymbol] = new DeadMansSwitch(200, () => {
|
|
285
|
+
requestAnimationFrame(() => {
|
|
286
|
+
populateTabs.call(this);
|
|
287
|
+
});
|
|
288
|
+
});
|
|
285
289
|
});
|
|
286
290
|
this[resizeObserverSymbol].observe(this[navElementSymbol]);
|
|
287
291
|
}
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED
package/test/web/test.html
CHANGED
|
@@ -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.
|
|
13
|
-
<div id="lastupdate" style='font-size:0.7em'>last update
|
|
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>
|