@schukai/monster 3.57.0 → 3.58.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.
@@ -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
+ }
@@ -109,7 +109,7 @@ class Translations extends Base {
109
109
  if (count === 0) {
110
110
  // special handling for zero count
111
111
  if (r.hasOwnProperty("zero")) {
112
- return validateString(r["zero"]);
112
+ return validateString(r?.zero);
113
113
  }
114
114
  }
115
115
 
@@ -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";
@@ -152,7 +152,7 @@ function getMonsterVersion() {
152
152
  }
153
153
 
154
154
  /** don't touch, replaced by make with package.json version */
155
- monsterVersion = new Version("3.57.0");
155
+ monsterVersion = new Version("3.58.0");
156
156
 
157
157
  return monsterVersion;
158
158
  }
@@ -7,7 +7,7 @@ describe('Monster', function () {
7
7
  let monsterVersion
8
8
 
9
9
  /** don´t touch, replaced by make with package.json version */
10
- monsterVersion = new Version("3.57.0")
10
+ monsterVersion = new Version("3.58.0")
11
11
 
12
12
  let m = getMonsterVersion();
13
13
 
@@ -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";
@@ -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.56.1</h1>
19
- <div id="lastupdate" style='font-size:0.7em'>last update Mo 4. Mär 01:38:34 CET 2024</div>
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>