@schukai/monster 3.114.4 → 3.114.5

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.114.5] - 2025-03-25
6
+
7
+ ### Bug Fixes
8
+
9
+ - update password value to input event [#302](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/302)
10
+
11
+
12
+
5
13
  ## [3.114.4] - 2025-03-25
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.114.4"}
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.114.5"}
@@ -487,7 +487,7 @@ function getTranslations() {
487
487
 
488
488
  case "hi":
489
489
  return {
490
- username: "उपयो\A4\97कर नम य ई-मल",
490
+ username: "उपयगकर नम य ई-मल",
491
491
  password: "पसवर",
492
492
  login: "लग इन कर",
493
493
  forgotPasswordLink: "पसवर भल गए?",
@@ -20,10 +20,6 @@ import {
20
20
  import { PasswordStyleSheet } from "./stylesheet/password.mjs";
21
21
  import { fireCustomEvent } from "../../dom/events.mjs";
22
22
  import "./input-group.mjs";
23
- import { addErrorAttribute } from "../../dom/error.mjs";
24
- import { STATE_OFF, STATE_ON } from "./toggle-switch.mjs";
25
- import { Observer } from "../../types/observer.mjs";
26
- import { internalSymbol } from "../../constants.mjs";
27
23
 
28
24
  export { Password };
29
25
 
@@ -90,7 +86,7 @@ class Password extends CustomControl {
90
86
  * @return {string}
91
87
  */
92
88
  get value() {
93
- return this[inputElementSymbol].value;
89
+ return this.getOption("value");
94
90
  }
95
91
 
96
92
  /**
@@ -204,6 +200,11 @@ function initEventHandler() {
204
200
  });
205
201
  });
206
202
 
203
+ this[inputElementSymbol].addEventListener("input", function (event) {
204
+ self.setFormValue(self.value);
205
+ self.setOption("value", this.value);
206
+ })
207
+
207
208
  return this;
208
209
  }
209
210