@schukai/monster 4.23.5 → 4.23.6

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
@@ -2,6 +2,14 @@
2
2
 
3
3
 
4
4
 
5
+ ## [4.23.6] - 2025-06-24
6
+
7
+ ### Bug Fixes
8
+
9
+ - Clean up event handling by removing preventDefault calls
10
+
11
+
12
+
5
13
  ## [4.23.5] - 2025-06-24
6
14
 
7
15
  ### Bug Fixes
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.5"}
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.6"}
@@ -802,7 +802,6 @@ function initEventHandler() {
802
802
  * @param {Event} event
803
803
  */
804
804
  this[changeTabEventHandler] = (event) => {
805
- event.preventDefault();
806
805
  const element = findTargetElementFromEvent(event, ATTRIBUTE_ROLE, "button");
807
806
 
808
807
  if (element instanceof HTMLButtonElement && element.disabled !== true) {
@@ -814,7 +813,6 @@ function initEventHandler() {
814
813
  * @param {Event} event
815
814
  */
816
815
  this[closeEventHandler] = (event) => {
817
- event.preventDefault();
818
816
  const path = event.composedPath();
819
817
 
820
818
  for (const [, element] of Object.entries(path)) {