@schukai/monster 4.45.0 → 4.45.2

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.45.2] - 2025-11-03
6
+
7
+ ### Bug Fixes
8
+
9
+ - **LocalSelect:** isobject -> isArray [#338](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/338)
10
+
11
+
12
+
13
+ ## [4.45.1] - 2025-11-03
14
+
15
+ ### Bug Fixes
16
+
17
+ - **iLocaleSelect:** type check [#338](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/338)
18
+
19
+
20
+
5
21
  ## [4.45.0] - 2025-11-02
6
22
 
7
23
 
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.45.0"}
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.45.2"}
@@ -16,7 +16,7 @@ import {
16
16
  assembleMethodSymbol,
17
17
  registerCustomElement,
18
18
  } from "../../dom/customelement.mjs";
19
- import { isFunction, isObject } from "../../types/is.mjs";
19
+ import { isFunction, isObject, isArray } from "../../types/is.mjs";
20
20
  import { LocalePickerStyleSheet } from "./stylesheet/locale-picker.mjs";
21
21
  import { detectUserLanguagePreference } from "../../i18n/util.mjs";
22
22
 
@@ -253,7 +253,7 @@ function initSelectOptions() {
253
253
  );
254
254
  }
255
255
 
256
- if (this[selectElementSymbol]) {
256
+ if (this[selectElementSymbol] && isArray(options)) {
257
257
  this[selectElementSymbol].setOption("mapping.labelTemplate", "${label}");
258
258
  this[selectElementSymbol].setOption("mapping.valueTemplate", "${href}");
259
259
  this[selectElementSymbol].setOption(