@descope/web-components-ui 1.0.162 → 1.0.163
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +2 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1000.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +8 -1
- package/src/mixins/proxyInputMixin.js +3 -4
package/dist/cjs/index.cjs.js
CHANGED
@@ -1241,7 +1241,7 @@ const proxyInputMixin = (superclass) =>
|
|
1241
1241
|
}
|
1242
1242
|
|
1243
1243
|
get inputElement() {
|
1244
|
-
if (this.#inputElement) return this.#inputElement
|
1244
|
+
if (this.#inputElement) return this.#inputElement;
|
1245
1245
|
|
1246
1246
|
this.warnIfInputElementIsMissing();
|
1247
1247
|
|
@@ -1278,7 +1278,7 @@ const proxyInputMixin = (superclass) =>
|
|
1278
1278
|
// on some cases the base element is not ready so the inputElement is empty
|
1279
1279
|
// we are deferring this section to make sure the base element is ready
|
1280
1280
|
setTimeout(() => {
|
1281
|
-
this.inputElement
|
1281
|
+
this.inputElement?.addEventListener('input', (e) => {
|
1282
1282
|
if (!this.inputElement.checkValidity()) {
|
1283
1283
|
this.inputElement.setCustomValidity('');
|
1284
1284
|
// after updating the input validity we want to trigger set validity on the wrapping element
|
@@ -1322,7 +1322,6 @@ const proxyInputMixin = (superclass) =>
|
|
1322
1322
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['inputmode'] });
|
1323
1323
|
});
|
1324
1324
|
}
|
1325
|
-
|
1326
1325
|
};
|
1327
1326
|
|
1328
1327
|
const composedProxyInputMixin = compose(
|