@schukai/monster 4.37.1 → 4.37.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 +11 -0
- package/package.json +1 -1
- package/source/components/form/select.mjs +1 -1
- package/source/dom/error.mjs +7 -0
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/test.html +2 -2
- package/test/web/tests.js +18 -4
package/CHANGELOG.md
CHANGED
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.37.
|
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.37.2"}
|
@@ -583,7 +583,7 @@ class Select extends CustomControl {
|
|
583
583
|
this.setOption("messages.total", "");
|
584
584
|
this.setOption("messages.summary", "");
|
585
585
|
|
586
|
-
resetErrorAttribute
|
586
|
+
resetErrorAttribute(this);
|
587
587
|
|
588
588
|
this[lazyLoadDoneSymbol] = false;
|
589
589
|
this[runLookupOnceSymbol] = false;
|
package/source/dom/error.mjs
CHANGED
@@ -17,6 +17,13 @@ import { ATTRIBUTE_ERRORMESSAGE } from "./constants.mjs";
|
|
17
17
|
|
18
18
|
export { resetErrorAttribute, addErrorAttribute, removeErrorAttribute };
|
19
19
|
|
20
|
+
/**
|
21
|
+
* This method can be used to reset the error attribute of an element.
|
22
|
+
* @license AGPLv3
|
23
|
+
* @since 4.37.1
|
24
|
+
* @param {HTMLElement} element
|
25
|
+
* @return {HTMLElement}
|
26
|
+
*/
|
20
27
|
function resetErrorAttribute(element) {
|
21
28
|
validateInstance(element, HTMLElement);
|
22
29
|
if (element.hasAttribute(ATTRIBUTE_ERRORMESSAGE)) {
|
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.
|
13
|
-
<div id="lastupdate" style='font-size:0.7em'>last update Sa 19. Jul
|
12
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 4.37.1</h1>
|
13
|
+
<div id="lastupdate" style='font-size:0.7em'>last update Sa 19. Jul 19:26:49 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>
|