@schukai/monster 3.57.0 → 3.58.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +22 -1
- package/package.json +1 -1
- package/source/components/datatable/change-button.mjs +8 -4
- package/source/components/datatable/dataset.mjs +1 -1
- package/source/components/datatable/filter.mjs +0 -1
- package/source/components/form/select.mjs +1781 -1769
- package/source/components/form/style/button-bar.pcss +2 -0
- package/source/components/form/style/button.pcss +2 -0
- package/source/components/form/style/toggle-switch.pcss +67 -58
- package/source/components/form/stylesheet/button-bar.mjs +1 -1
- package/source/components/form/stylesheet/button.mjs +1 -1
- package/source/components/form/stylesheet/select.mjs +1 -1
- package/source/components/form/stylesheet/toggle-switch.mjs +1 -1
- package/source/components/form/tabs.mjs +0 -1
- package/source/components/form/toggle-switch.mjs +282 -280
- package/source/data/transformer.mjs +4 -6
- package/source/dom/customelement.mjs +897 -904
- package/source/dom/events.mjs +3 -3
- package/source/dom/updater.mjs +754 -749
- package/source/dom/util/set-option-from-attribute.mjs +1 -2
- package/source/i18n/translations.mjs +1 -1
- package/source/monster.mjs +2 -0
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/import.js +1 -0
- package/test/web/test.html +2 -2
- package/test/web/tests.js +990 -460
@@ -49,7 +49,6 @@ function setOptionFromAttribute(
|
|
49
49
|
mapping = {},
|
50
50
|
prefix = "data-monster-option-",
|
51
51
|
) {
|
52
|
-
|
53
52
|
if (!(element instanceof HTMLElement)) return options;
|
54
53
|
if (!element.hasAttributes()) return options;
|
55
54
|
|
@@ -85,4 +84,4 @@ function setOptionFromAttribute(
|
|
85
84
|
finder.setVia(optionName, value);
|
86
85
|
|
87
86
|
return options;
|
88
|
-
}
|
87
|
+
}
|
package/source/monster.mjs
CHANGED
@@ -36,6 +36,7 @@ export * from "./components/form/tree-select.mjs";
|
|
36
36
|
export * from "./components/form/popper-button.mjs";
|
37
37
|
export * from "./components/form/shadow-reload.mjs";
|
38
38
|
export * from "./components/form/button.mjs";
|
39
|
+
export * from "./components/form/toggle-switch.mjs";
|
39
40
|
export * from "./components/form/types/state.mjs";
|
40
41
|
export * from "./components/form/template.mjs";
|
41
42
|
export * from "./components/form/constants.mjs";
|
@@ -54,6 +55,7 @@ export * from "./components/form/stylesheet/api-button.mjs";
|
|
54
55
|
export * from "./components/form/stylesheet/tree-select.mjs";
|
55
56
|
export * from "./components/form/stylesheet/popper-button.mjs";
|
56
57
|
export * from "./components/form/stylesheet/button.mjs";
|
58
|
+
export * from "./components/form/stylesheet/toggle-switch.mjs";
|
57
59
|
export * from "./components/notify/message.mjs";
|
58
60
|
export * from "./components/notify/notify.mjs";
|
59
61
|
export * from "./components/notify/constants.mjs";
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED
package/test/web/import.js
CHANGED
@@ -8,6 +8,7 @@ import "../cases/components/form/confirm-button.mjs";
|
|
8
8
|
import "../cases/components/form/form.mjs";
|
9
9
|
import "../cases/components/form/tree-select.mjs";
|
10
10
|
import "../cases/components/form/button.mjs";
|
11
|
+
import "../cases/components/form/toggle-switch.mjs";
|
11
12
|
import "../cases/components/form/template.mjs";
|
12
13
|
import "../cases/components/notify/message.mjs";
|
13
14
|
import "../cases/components/notify/notify.mjs";
|
package/test/web/test.html
CHANGED
@@ -15,8 +15,8 @@
|
|
15
15
|
</head>
|
16
16
|
<body>
|
17
17
|
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
|
18
|
-
<h1 style='margin-bottom: 0.1em;'>Monster 3.
|
19
|
-
<div id="lastupdate" style='font-size:0.7em'>last update
|
18
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 3.57.0</h1>
|
19
|
+
<div id="lastupdate" style='font-size:0.7em'>last update So 17. Mär 11:35:11 CET 2024</div>
|
20
20
|
</div>
|
21
21
|
<div id="mocha-errors"
|
22
22
|
style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>
|