@descope/web-components-ui 1.0.182 → 1.0.184
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.esm.js.map +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/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +1 -1
- package/src/theme/components/container.js +1 -0
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) {
|
@@ -7173,6 +7173,7 @@ const container = {
|
|
7173
7173
|
[compVars$2.boxShadow]: 'none',
|
7174
7174
|
[compVars$2.backgroundColor]: globalRefs$8.colors.surface.light,
|
7175
7175
|
[compVars$2.color]: globalRefs$8.colors.surface.contrast,
|
7176
|
+
[compVars$2.borderRadius]: '0px',
|
7176
7177
|
|
7177
7178
|
verticalPadding: {
|
7178
7179
|
sm: { [compVars$2.verticalPadding]: '5px' },
|