@schukai/monster 3.108.1 → 3.108.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 CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
 
4
4
 
5
+ ## [3.108.2] - 2025-02-13
6
+
7
+ ### Bug Fixes
8
+
9
+ - **api-bar:** response is not available in catch
10
+
11
+
12
+
5
13
  ## [3.108.1] - 2025-02-11
6
14
 
7
15
  ### Bug Fixes
package/package.json CHANGED
@@ -1 +1 @@
1
- {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8","buffer":"^6.0.3"},"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":"3.108.1"}
1
+ {"author":"schukai GmbH","dependencies":{"@floating-ui/dom":"^1.6.13","@popperjs/core":"^2.11.8","buffer":"^6.0.3"},"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":"3.108.2"}
@@ -497,7 +497,7 @@ function executeAPIButton(event, opts) {
497
497
  }
498
498
 
499
499
  if (isFunction(failedApiCall)) {
500
- failedApiCall.call(self, button, error, response);
500
+ failedApiCall.call(self, button, error);
501
501
  } else if (
502
502
  button instanceof MessageStateButton ||
503
503
  button instanceof StateButton
@@ -99,7 +99,7 @@ class MessageStateButton extends Popper {
99
99
  * @property {string|HTMLElement} message.content The message content
100
100
  * @property {string} message.title The message title
101
101
  * @property {string} message.icon The message icon
102
- * @property {string} mode The mode of the button
102
+ * @property {string} mode The mode of the button, can be `manual` or `submit`
103
103
  * @property {string} labels.button Button label
104
104
  * @property {boolean} features.disableButton Disable the button
105
105
  * @property {Object} aria Aria attributes