@schukai/monster 4.23.1 → 4.23.3
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.23.3] - 2025-06-22
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- Update import paths and clean up save-button functionality
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## [4.23.2] - 2025-06-22
|
14
|
+
|
15
|
+
### Bug Fixes
|
16
|
+
|
17
|
+
- Enhance SaveButton with state and message handling
|
18
|
+
|
19
|
+
|
20
|
+
|
5
21
|
## [4.23.1] - 2025-06-22
|
6
22
|
|
7
23
|
### Bug Fixes
|
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.1","@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.23.
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.1","@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.23.3"}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
* SPDX-License-Identifier: AGPL-3.0
|
13
13
|
*/
|
14
14
|
|
15
|
-
import { instanceSymbol
|
15
|
+
import { instanceSymbol } from "../../constants.mjs";
|
16
16
|
import { diff } from "../../data/diff.mjs";
|
17
17
|
import { addAttributeToken } from "../../dom/attributes.mjs";
|
18
18
|
import { ATTRIBUTE_ERRORMESSAGE } from "../../dom/constants.mjs";
|
@@ -434,7 +434,7 @@ function getTemplate() {
|
|
434
434
|
return `
|
435
435
|
<div data-monster-role="control" part="control"
|
436
436
|
data-monster-attributes="disabled path:disabled | if:true">
|
437
|
-
<monster-state-button data-monster-role="state-button"
|
437
|
+
<monster-state-button data-monster-role="state-button"></monster-state-button>
|
438
438
|
<div data-monster-attributes="disabled path:disabled | if:true, class path:classes.badge"
|
439
439
|
data-monster-role="badge"
|
440
440
|
data-monster-replace="path:changes"></div>
|
@@ -309,7 +309,7 @@ class MessageStateButton extends Popper {
|
|
309
309
|
|
310
310
|
/**
|
311
311
|
* Programmatically triggers a click event on the button
|
312
|
-
* Will not trigger if button is disabled
|
312
|
+
* Will not trigger if the button is disabled
|
313
313
|
*
|
314
314
|
* @since 3.27.0
|
315
315
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click}
|
@@ -361,6 +361,10 @@ class MessageStateButton extends Popper {
|
|
361
361
|
}
|
362
362
|
}
|
363
363
|
|
364
|
+
/**
|
365
|
+
* @private
|
366
|
+
* @param mode
|
367
|
+
*/
|
364
368
|
function initEventHandlerByMode(mode) {
|
365
369
|
switch (mode) {
|
366
370
|
case "manual":
|