@descope/web-components-ui 1.0.424 → 1.0.425

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/dist/index.esm.js CHANGED
@@ -9235,6 +9235,9 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
9235
9235
  initInputs() {
9236
9236
  // Sanitize phone input value to filter everything but digits
9237
9237
  this.phoneNumberInput.addEventListener('input', (e) => {
9238
+ // we want to update only phoneNumberInput, and avoid triggering `set value`
9239
+ e.stopPropagation();
9240
+
9238
9241
  if (!this.allowAlphanumericInput) {
9239
9242
  const telDigitsRegExp = /^\d$/;
9240
9243
  const sanitizedInput = e.target.value
@@ -10498,7 +10501,7 @@ class NewPasswordInternal extends BaseInputClass$4 {
10498
10501
 
10499
10502
  set value(val) {
10500
10503
  if (val === this.value) return;
10501
- this.value = val;
10504
+ this.passwordInput.value = val;
10502
10505
  }
10503
10506
 
10504
10507
  get hasConfirm() {
@@ -16835,7 +16838,9 @@ class RawAlert extends createBaseClass$1({ componentName: componentName$1, baseS
16835
16838
 
16836
16839
  this.slotEle.addEventListener('slotchange', this.handleSlotChange.bind(this));
16837
16840
 
16838
- forwardAttrs$1(this, this.textComp, ['variant', 'full-width', 'link-target-blank']);
16841
+ forwardAttrs$1(this, this.textComp, {
16842
+ includeAttrs: ['variant', 'full-width', 'link-target-blank'],
16843
+ });
16839
16844
  }
16840
16845
 
16841
16846
  handleSlotChange() {