@schukai/monster 4.23.3 → 4.23.4
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
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.1","@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.23.
|
1
|
+
{"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.7.1","@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.23.4"}
|
@@ -802,6 +802,7 @@ function initEventHandler() {
|
|
802
802
|
* @param {Event} event
|
803
803
|
*/
|
804
804
|
this[changeTabEventHandler] = (event) => {
|
805
|
+
event.preventDefault();
|
805
806
|
const element = findTargetElementFromEvent(event, ATTRIBUTE_ROLE, "button");
|
806
807
|
|
807
808
|
if (element instanceof HTMLButtonElement && element.disabled !== true) {
|
@@ -813,6 +814,7 @@ function initEventHandler() {
|
|
813
814
|
* @param {Event} event
|
814
815
|
*/
|
815
816
|
this[closeEventHandler] = (event) => {
|
817
|
+
event.preventDefault();
|
816
818
|
const path = event.composedPath();
|
817
819
|
|
818
820
|
for (const [, element] of Object.entries(path)) {
|