@schukai/monster 3.56.1 → 3.57.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +32 -0
- package/example/components/form/toggle-switch.mjs +7 -0
- package/package.json +1 -1
- package/source/components/form/button.mjs +3 -3
- package/source/components/form/select.mjs +1773 -1745
- package/source/components/form/style/select.pcss +1 -1
- package/source/components/form/style/toggle-switch.pcss +74 -0
- package/source/components/form/stylesheet/select.mjs +1 -1
- package/source/components/form/stylesheet/toggle-switch.mjs +27 -0
- package/source/components/form/toggle-switch.mjs +427 -0
- package/source/data/transformer.mjs +33 -1
- package/source/dom/attributes.mjs +1 -1
- package/source/dom/customcontrol.mjs +6 -2
- package/source/dom/customelement.mjs +909 -864
- package/source/dom/updater.mjs +754 -732
- package/source/dom/util/set-option-from-attribute.mjs +2 -1
- package/source/monster.mjs +5 -0
- package/source/types/version.mjs +1 -1
- package/test/cases/components/form/select.mjs +1 -1
- package/test/cases/components/form/toggle-switch.mjs +310 -0
- package/test/cases/components/form/tree-select.mjs +1 -8
- package/test/cases/data/transformer.mjs +16 -0
- package/test/cases/dom/customcontrol.mjs +53 -8
- package/test/cases/dom/customelement-initfromscripthost.mjs +0 -4
- package/test/cases/dom/customelement.mjs +30 -26
- package/test/cases/dom/updater.mjs +14 -3
- package/test/cases/monster.mjs +1 -1
- package/test/util/jsdom.mjs +9 -10
- package/test/web/test.html +2 -2
- package/test/web/tests.js +3044 -1023
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
|
|
package/package.json
CHANGED
@@ -85,7 +85,7 @@ class Button extends CustomControl {
|
|
85
85
|
[assembleMethodSymbol]() {
|
86
86
|
super[assembleMethodSymbol]();
|
87
87
|
initControlReferences.call(this);
|
88
|
-
|
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 {
|
260
|
+
* @return {initEventHandler}
|
261
261
|
* @fires Monster.Components.Form.event:monster-button-clicked
|
262
262
|
*/
|
263
|
-
function
|
263
|
+
function initEventHandler() {
|
264
264
|
const self = this;
|
265
265
|
const button = this[buttonElementSymbol];
|
266
266
|
|