@schukai/monster 4.34.1 → 4.36.0

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.36.0] - 2025-07-19
6
+
7
+ ### Add Features
8
+
9
+ - repeat last commit
10
+
11
+
12
+
13
+ ## [4.35.0] - 2025-07-17
14
+
15
+ ### Add Features
16
+
17
+ - fire new monster-tab-change event
18
+
19
+
20
+
5
21
  ## [4.34.1] - 2025-07-14
6
22
 
7
23
  ### Bug Fixes
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.2","@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.34.1"}
1
+ {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.2","@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.36.0"}
@@ -587,6 +587,7 @@ class Select extends CustomControl {
587
587
  checkOptionState.call(this);
588
588
  calcAndSetOptionsDimension.call(this);
589
589
  updatePopper.call(this);
590
+ initTotal.call(this);
590
591
  })
591
592
  .catch((e) => {
592
593
  addErrorAttribute(this, e);
@@ -3212,6 +3213,18 @@ function toggle() {
3212
3213
  function initEventHandler() {
3213
3214
  const self = this;
3214
3215
 
3216
+ setTimeout(() => {
3217
+ let lastUrl = self.getOption("url");
3218
+ this.attachObserver(
3219
+ new Observer(() => {
3220
+ if (this.getOption("url") !== lastUrl) {
3221
+ lastUrl = this.getOption("url");
3222
+ this.reset();
3223
+ }
3224
+ }),
3225
+ );
3226
+ }, 100);
3227
+
3215
3228
  /**
3216
3229
  * @param {Event} event
3217
3230
  */