@descope/web-components-ui 1.0.183 → 1.0.185
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-upload-file/UploadFileClass.js +1 -1
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +1 -1
package/dist/index.esm.js
CHANGED
@@ -5072,7 +5072,7 @@ class PhoneFieldInternal extends BaseInputClass$2 {
|
|
5072
5072
|
}
|
5073
5073
|
|
5074
5074
|
getValidity() {
|
5075
|
-
const validPhonePattern =
|
5075
|
+
const validPhonePattern = /^\+?\d{1,4}-?(?:\d-?){1,15}$/;
|
5076
5076
|
const stripValue = this.value.replace(/\D/g, '');
|
5077
5077
|
|
5078
5078
|
if (this.isRequired && !this.value) {
|
@@ -5966,7 +5966,7 @@ class RawUploadFile extends BaseInputClass {
|
|
5966
5966
|
const { host: host$1, wrapper, icon, title, description, requiredIndicator: requiredIndicator$1 } = {
|
5967
5967
|
host: { selector: () => ':host' },
|
5968
5968
|
wrapper: { selector: () => ':host > div' },
|
5969
|
-
icon: { selector: () => '
|
5969
|
+
icon: { selector: () => '::slotted(*)' },
|
5970
5970
|
title: { selector: () => '.title' },
|
5971
5971
|
description: { selector: () => '.description' },
|
5972
5972
|
requiredIndicator: { selector: () => '.title::after' },
|