@schukai/monster 4.66.0 → 4.66.2
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 +17 -0
- package/package.json +1 -1
- package/source/components/form/buy-box.mjs +5 -0
- package/source/components/form/register-wizard.mjs +4 -0
- package/source/components/form/variant-select.mjs +1 -0
- package/source/dom/customcontrol.mjs +2 -0
- package/source/dom/customelement.mjs +2 -0
- package/source/dom/updater.mjs +2 -0
- package/source/i18n/formatter.mjs +2 -0
- package/source/i18n/locale.mjs +2 -0
- package/source/i18n/translations.mjs +2 -0
- package/source/text/formatter.mjs +2 -0
- package/source/types/version.mjs +1 -1
- package/test/cases/monster.mjs +1 -1
- package/test/web/import.js +2 -0
- package/test/web/test.html +2 -2
- package/test/web/tests.js +7327 -2724
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
## [4.66.2] - 2025-12-31
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- Add version annotation to component documentation
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [4.66.1] - 2025-12-31
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- webtests
|
|
18
|
+
- update examples
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
5
22
|
## [4.66.0] - 2025-12-31
|
|
6
23
|
|
|
7
24
|
### Add Features
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.4","@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.66.
|
|
1
|
+
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.4","@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.66.2"}
|
|
@@ -185,7 +185,12 @@ const pricingCacheSymbol = Symbol("pricingCache");
|
|
|
185
185
|
/**
|
|
186
186
|
* BuyBox
|
|
187
187
|
*
|
|
188
|
+
* @fragments /fragments/components/form/buy-box/
|
|
189
|
+
*
|
|
190
|
+
* @example /examples/components/form/buy-box-basic Basic buy box
|
|
191
|
+
*
|
|
188
192
|
* @summary Product buy box control with variants, quantity, pricing, and add-to-cart.
|
|
193
|
+
* @since 4.65.0
|
|
189
194
|
* @fires monster-buy-box-change
|
|
190
195
|
* @fires monster-buy-box-valid
|
|
191
196
|
* @fires monster-buy-box-invalid
|
|
@@ -65,6 +65,10 @@ const submitButtonSymbol = Symbol("submitButton");
|
|
|
65
65
|
/**
|
|
66
66
|
* Registration wizard control using wizard navigation and multi-step forms.
|
|
67
67
|
*
|
|
68
|
+
* @fragments /fragments/components/form/register-wizard/
|
|
69
|
+
*
|
|
70
|
+
* @example /examples/components/form/register-wizard-basic Basic register wizard
|
|
71
|
+
*
|
|
68
72
|
* @since 4.38.0
|
|
69
73
|
* @summary A multi-step registration wizard with availability checks and register submit.
|
|
70
74
|
* @fires monster-register-wizard-step-change
|
|
@@ -114,6 +114,7 @@ const initGuardSymbol = Symbol("initGuard");
|
|
|
114
114
|
* @example /examples/components/form/variant-select-remote Remote data
|
|
115
115
|
*
|
|
116
116
|
* @summary A control to pick valid variant combinations (e.g., color/size).
|
|
117
|
+
* @since 4.64.0
|
|
117
118
|
* @fires monster-variant-select-change
|
|
118
119
|
* @fires monster-variant-select-valid
|
|
119
120
|
* @fires monster-variant-select-invalid
|
|
@@ -48,6 +48,8 @@ const attachedInternalSymbol = Symbol("attachedInternal");
|
|
|
48
48
|
*
|
|
49
49
|
* Read the HTML specification for Custom Element Reactions: {@link https://html.spec.whatwg.org/dev/custom-elements.html#custom-element-reactions|Custom Element Reactions}.
|
|
50
50
|
*
|
|
51
|
+
* @fragments /fragments/libraries/dom/customcontrol/
|
|
52
|
+
*
|
|
51
53
|
* @summary A base class for custom controls based on CustomElement.
|
|
52
54
|
* @license AGPLv3
|
|
53
55
|
* @since 1.14.0
|
|
@@ -179,6 +179,8 @@ const scriptHostElementSymbol = Symbol("scriptHostElement");
|
|
|
179
179
|
* More information about Custom Elements can be found in the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements).
|
|
180
180
|
* And in the [HTML Standard](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements) or in the [WHATWG Wiki](https://wiki.whatwg.org/wiki/Custom_Elements).
|
|
181
181
|
*
|
|
182
|
+
* @fragments /fragments/libraries/dom/customelement/
|
|
183
|
+
*
|
|
182
184
|
* @license AGPLv3
|
|
183
185
|
* @since 1.7.0
|
|
184
186
|
* @copyright Volker Schukai
|
package/source/dom/updater.mjs
CHANGED
|
@@ -84,6 +84,8 @@ const updaterRootSymbol = Symbol.for("@schukai/monster/dom/@@updater-root");
|
|
|
84
84
|
* to other values as well, you have to insert the attribute `data-monster-select-this`. This should be
|
|
85
85
|
* done with care, as it can reduce performance.
|
|
86
86
|
*
|
|
87
|
+
* @fragments /fragments/libraries/dom/updater/
|
|
88
|
+
*
|
|
87
89
|
* @example /examples/libraries/dom/updater/simple/ Simple example
|
|
88
90
|
*
|
|
89
91
|
* @license AGPLv3
|
|
@@ -30,6 +30,8 @@ const internalTranslationSymbol = Symbol("internalTranslation");
|
|
|
30
30
|
/**
|
|
31
31
|
* The Formatter extends the Text.Formatter with the possibility to replace the key by a translation.
|
|
32
32
|
*
|
|
33
|
+
* @fragments /fragments/libraries/i18n/formatter/
|
|
34
|
+
*
|
|
33
35
|
* @license AGPLv3
|
|
34
36
|
* @since 1.26.0
|
|
35
37
|
* @copyright Volker Schukai
|
package/source/i18n/locale.mjs
CHANGED
|
@@ -33,6 +33,8 @@ export { Translations, getDocumentTranslations };
|
|
|
33
33
|
/**
|
|
34
34
|
* With this class you can manage translations and access the keys.
|
|
35
35
|
*
|
|
36
|
+
* @fragments /fragments/libraries/i18n/translations/
|
|
37
|
+
*
|
|
36
38
|
* @externalExample ../../example/i18n/translations.mjs
|
|
37
39
|
* @license AGPLv3
|
|
38
40
|
* @since 1.13.0
|
|
@@ -95,6 +95,8 @@ const workingDataSymbol = Symbol("workingData");
|
|
|
95
95
|
*
|
|
96
96
|
* When using a pipe, you must pay attention to the separators.
|
|
97
97
|
*
|
|
98
|
+
* @fragments /fragments/libraries/text/formatter/
|
|
99
|
+
*
|
|
98
100
|
* @example
|
|
99
101
|
*
|
|
100
102
|
* import {Formatter} from '@schukai/monster/source/text/formatter.mjs';
|
package/source/types/version.mjs
CHANGED
package/test/cases/monster.mjs
CHANGED
package/test/web/import.js
CHANGED
|
@@ -3,6 +3,8 @@ import "./prepare.js";
|
|
|
3
3
|
import "../cases/components/layout/tabs.mjs";
|
|
4
4
|
import "../cases/components/layout/slit-panel.mjs";
|
|
5
5
|
import "../cases/components/layout/panel.mjs";
|
|
6
|
+
import "../cases/components/form/buy-box.mjs";
|
|
7
|
+
import "../cases/components/form/button-bar.mjs";
|
|
6
8
|
import "../cases/components/form/reload.mjs";
|
|
7
9
|
import "../cases/components/form/state-button.mjs";
|
|
8
10
|
import "../cases/components/form/select.mjs";
|
package/test/web/test.html
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
|
|
12
|
-
<h1 style='margin-bottom: 0.1em;'>Monster 4.
|
|
13
|
-
<div id="lastupdate" style='font-size:0.7em'>last update
|
|
12
|
+
<h1 style='margin-bottom: 0.1em;'>Monster 4.66.0</h1>
|
|
13
|
+
<div id="lastupdate" style='font-size:0.7em'>last update Mi 31. Dez 02:19:45 CET 2025</div>
|
|
14
14
|
</div>
|
|
15
15
|
<div id="mocha-errors"
|
|
16
16
|
style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>
|