@descope/web-components-ui 1.0.183 → 1.0.185

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
@@ -5072,7 +5072,7 @@ class PhoneFieldInternal extends BaseInputClass$2 {
5072
5072
  }
5073
5073
 
5074
5074
  getValidity() {
5075
- const validPhonePattern = /^\+\d{1,4}-(?:\d-?){1,15}$/;
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: () => '.icon' },
5969
+ icon: { selector: () => '::slotted(*)' },
5970
5970
  title: { selector: () => '.title' },
5971
5971
  description: { selector: () => '.description' },
5972
5972
  requiredIndicator: { selector: () => '.title::after' },