@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/cjs/index.cjs.js +3 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +7 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1402.js +1 -1
- package/dist/umd/1484.js +1 -1
- package/dist/umd/2159.js +1 -1
- package/dist/umd/3110.js +1 -1
- package/dist/umd/3191.js +9 -62
- package/dist/umd/404.js +1 -1
- package/dist/umd/4127.js +1 -1
- package/dist/umd/507.js +1 -1
- package/dist/umd/5563.js +2 -2
- package/dist/umd/731.js +1 -1
- package/dist/umd/7979.js +1 -1
- package/dist/umd/9030.js +1 -1
- package/dist/umd/9243.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/bcdfe87ae253c2cf789c9a737f8d8c22.woff +0 -0
- package/dist/umd/descope-alert-index-js.js +1 -1
- package/dist/umd/descope-combo-box-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-alert/AlertClass.js +3 -1
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +1 -1
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +3 -0
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,
|
16841
|
+
forwardAttrs$1(this, this.textComp, {
|
16842
|
+
includeAttrs: ['variant', 'full-width', 'link-target-blank'],
|
16843
|
+
});
|
16839
16844
|
}
|
16840
16845
|
|
16841
16846
|
handleSlotChange() {
|