@descope/web-components-ui 1.0.170 → 1.0.172

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -5469,7 +5469,7 @@ class RawUploadFile extends BaseInputClass {
5469
5469
  }
5470
5470
  </style>
5471
5471
  <div>
5472
- <div class="icon"></div>
5472
+ <slot name="icon"></slot>
5473
5473
  <div class="title">
5474
5474
  <span class="title-text"></span>
5475
5475
  </div>
@@ -5535,8 +5535,6 @@ class RawUploadFile extends BaseInputClass {
5535
5535
  this.updateInputAccept(newValue);
5536
5536
  } else if (attrName === 'readonly') {
5537
5537
  this.updateReadOnly(newValue);
5538
- } else if (attrName === 'icon') {
5539
- this.updateIcon(newValue);
5540
5538
  }
5541
5539
  }
5542
5540
  }
@@ -5596,10 +5594,6 @@ class RawUploadFile extends BaseInputClass {
5596
5594
  this.input.removeAttribute('disabled');
5597
5595
  }
5598
5596
  }
5599
-
5600
- updateIcon(val) {
5601
- this.icon.style.content = `url(${val})`;
5602
- }
5603
5597
  }
5604
5598
 
5605
5599
  const { host, wrapper, icon, title, description, requiredIndicator } = {