@descope/web-components-ui 2.2.5 → 2.2.7

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)) {
@@ -22532,7 +22536,6 @@ const globalRefs$a = getThemeRefs$1(globals);
22532
22536
  const defaultHeight = '400px';
22533
22537
 
22534
22538
  const appsList = {
22535
- [vars$k.itemsFontWeight]: 'normal',
22536
22539
  [vars$k.itemsTextAlign]: 'start',
22537
22540
  [vars$k.hostDirection]: globalRefs$a.direction,
22538
22541
  [vars$k.maxHeight]: defaultHeight,
@@ -22544,15 +22547,19 @@ const appsList = {
22544
22547
  size: {
22545
22548
  xs: {
22546
22549
  [vars$k.itemsFontSize]: '14px',
22550
+ [vars$k.itemsFontWeight]: 'normal',
22547
22551
  },
22548
22552
  sm: {
22549
22553
  [vars$k.itemsFontSize]: '14px',
22554
+ [vars$k.itemsFontWeight]: 'normal',
22550
22555
  },
22551
22556
  md: {
22552
22557
  [vars$k.itemsFontSize]: '16px',
22558
+ [vars$k.itemsFontWeight]: 'normal',
22553
22559
  },
22554
22560
  lg: {
22555
22561
  [vars$k.itemsFontSize]: '20px',
22562
+ [vars$k.itemsFontWeight]: 'normal',
22556
22563
  },
22557
22564
  },
22558
22565