@schukai/monster 3.56.1 → 3.57.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 CHANGED
@@ -1,9 +1,41 @@
1
1
 
2
+ ## [3.57.0] - 2024-03-06
3
+
4
+ ### Add Features
5
+
6
+ - [#162](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/162)
7
+ - new updaterTransformerMethodsSymbol method [#163](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/163)
8
+ - new updaterTransformerMethodsSymbol method [#163](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/163)
9
+ ### Bug Fixes
10
+
11
+ - [#165](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/165)
12
+ - bind this to callback and fix timing [#158](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/158) [#164](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/164)
13
+ - add arrowdown handler [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160) [#161](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/161)
14
+ - add arrowdown handler [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160) [#161](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/161)
15
+ ### Changes
16
+
17
+ - tests and more
18
+ - tests and more
19
+ - fix tests
20
+ - updates [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
21
+ - whitespace [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
22
+ - optimize outline [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
23
+ - optimize outline [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
24
+ - rename internal function [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
25
+ - fix missing fs bug
26
+ - release and publish to npm new version 3.56.1
27
+ ### Documentation
28
+
29
+ - typo [#160](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/160)
30
+
2
31
  ## [3.56.1] - 2024-02-26
3
32
 
4
33
  ### Bug Fixes
5
34
 
6
35
  - [3] is not the right way [#151](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/151)
36
+ ### Changes
37
+
38
+ - release and publish to npm new version 3.56.1
7
39
 
8
40
  ## [3.56.0] - 2024-02-26
9
41
 
@@ -0,0 +1,7 @@
1
+ import {Switch} from '@schukai/component-form/source/toggle-switch.js';
2
+
3
+ // create element
4
+ const toggleSwitch = document.createElement('monster-toggle-switch');
5
+
6
+ // insert element into the DOM
7
+ document.body.appendChild(toggleSwitch);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schukai/monster",
3
- "version": "3.56.1",
3
+ "version": "3.57.0",
4
4
  "description": "Monster is a simple library for creating fast, robust and lightweight websites.",
5
5
  "keywords": [
6
6
  "framework",
@@ -85,7 +85,7 @@ class Button extends CustomControl {
85
85
  [assembleMethodSymbol]() {
86
86
  super[assembleMethodSymbol]();
87
87
  initControlReferences.call(this);
88
- initEventhandler.call(this);
88
+ initEventHandler.call(this);
89
89
  return this;
90
90
  }
91
91
 
@@ -257,10 +257,10 @@ class Button extends CustomControl {
257
257
 
258
258
  /**
259
259
  * @private
260
- * @return {initEventhandler}
260
+ * @return {initEventHandler}
261
261
  * @fires Monster.Components.Form.event:monster-button-clicked
262
262
  */
263
- function initEventhandler() {
263
+ function initEventHandler() {
264
264
  const self = this;
265
265
  const button = this[buttonElementSymbol];
266
266