@descope/web-components-ui 2.2.4 → 2.2.6

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
@@ -11160,7 +11160,11 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
11160
11160
  const attr = mapAttrs$1[attrName] || attrName;
11161
11161
 
11162
11162
  if (commonAttrs$1.includes(attrName)) {
11163
- this.inputs.forEach((input) => input.setAttribute(attr, newValue));
11163
+ if (!newValue) {
11164
+ this.inputs.forEach((input) => input.removeAttribute(attr));
11165
+ } else {
11166
+ this.inputs.forEach((input) => input.setAttribute(attr, newValue));
11167
+ }
11164
11168
  } else if (countryAttrs.includes(attrName)) {
11165
11169
  this.comboBox.setAttribute(attr, newValue);
11166
11170
  } else if (phoneAttrs.includes(attrName)) {
@@ -15720,6 +15724,7 @@ const ModalClass = compose(
15720
15724
  overlayBorderWidth: { property: () => ModalClass.cssVarList.overlay.borderWidth },
15721
15725
  overlayBorderStyle: { property: () => ModalClass.cssVarList.overlay.borderStyle },
15722
15726
  overlayBorderColor: { property: () => ModalClass.cssVarList.overlay.borderColor },
15727
+ overlayBorderRadius: { property: () => ModalClass.cssVarList.overlay.borderRadius },
15723
15728
  },
15724
15729
  }),
15725
15730
  portalMixin({
@@ -15751,6 +15756,10 @@ const ModalClass = compose(
15751
15756
  selector: () => '::part(content)',
15752
15757
  property: 'border-color',
15753
15758
  },
15759
+ borderRadius: {
15760
+ selector: () => '::part(content)',
15761
+ property: 'border-radius ',
15762
+ },
15754
15763
  width: { selector: () => '::part(overlay)', property: 'width' },
15755
15764
  shadow: { selector: () => '::part(overlay)', property: 'box-shadow' },
15756
15765
  },