@schukai/monster 4.69.1 → 4.70.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 +11 -0
- package/package.json +1 -1
- package/source/components/form/select.mjs +4 -1
- package/source/dom/updater.mjs +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [4.70.0] - 2026-01-03
|
|
6
|
+
|
|
7
|
+
### Add Features
|
|
8
|
+
|
|
9
|
+
- Add Playwright support through Nix configuration and scripts
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- Enhance value handling for CustomElements in input control updates [#359](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/359)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
5
16
|
## [4.69.1] - 2026-01-03
|
|
6
17
|
|
|
7
18
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Volker Schukai","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.
|
|
1
|
+
{"author":"Volker Schukai","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.70.0"}
|
|
@@ -1093,8 +1093,11 @@ function importOptionsIntern(data) {
|
|
|
1093
1093
|
});
|
|
1094
1094
|
|
|
1095
1095
|
setTimeout(() => {
|
|
1096
|
+
const attrValue = this.getAttribute("value");
|
|
1097
|
+
const selection =
|
|
1098
|
+
attrValue !== null ? attrValue : this.getOption("selection");
|
|
1096
1099
|
setSelection
|
|
1097
|
-
.call(this,
|
|
1100
|
+
.call(this, selection)
|
|
1098
1101
|
.then(() => {})
|
|
1099
1102
|
.catch((e) => {
|
|
1100
1103
|
addErrorAttribute(this, e);
|
package/source/dom/updater.mjs
CHANGED
|
@@ -1075,6 +1075,10 @@ function handleInputControlAttributeUpdate(element, name, value) {
|
|
|
1075
1075
|
if (name === "value") {
|
|
1076
1076
|
element.value = value === undefined ? "" : value;
|
|
1077
1077
|
}
|
|
1078
|
+
} else if (name === "value" && element instanceof CustomElement) {
|
|
1079
|
+
if ("value" in element) {
|
|
1080
|
+
element.value = value === undefined ? "" : value;
|
|
1081
|
+
}
|
|
1078
1082
|
}
|
|
1079
1083
|
}
|
|
1080
1084
|
|