@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/cjs/index.cjs.js
CHANGED
@@ -5950,7 +5950,7 @@ class RawUploadFile extends BaseInputClass {
|
|
5950
5950
|
}
|
5951
5951
|
</style>
|
5952
5952
|
<div>
|
5953
|
-
|
5953
|
+
<slot name="icon"></slot>
|
5954
5954
|
<div class="title">
|
5955
5955
|
<span class="title-text"></span>
|
5956
5956
|
</div>
|
@@ -6016,8 +6016,6 @@ class RawUploadFile extends BaseInputClass {
|
|
6016
6016
|
this.updateInputAccept(newValue);
|
6017
6017
|
} else if (attrName === 'readonly') {
|
6018
6018
|
this.updateReadOnly(newValue);
|
6019
|
-
} else if (attrName === 'icon') {
|
6020
|
-
this.updateIcon(newValue);
|
6021
6019
|
}
|
6022
6020
|
}
|
6023
6021
|
}
|
@@ -6077,10 +6075,6 @@ class RawUploadFile extends BaseInputClass {
|
|
6077
6075
|
this.input.removeAttribute('disabled');
|
6078
6076
|
}
|
6079
6077
|
}
|
6080
|
-
|
6081
|
-
updateIcon(val) {
|
6082
|
-
this.icon.style.content = `url(${val})`;
|
6083
|
-
}
|
6084
6078
|
}
|
6085
6079
|
|
6086
6080
|
const { host, wrapper, icon, title, description, requiredIndicator } = {
|