@descope/web-components-ui 1.0.392 → 1.0.393-1

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.
@@ -8981,9 +8981,9 @@ class RawPolicyValidation extends createBaseClass({ componentName: componentName
8981
8981
  updateLabel(val) {
8982
8982
  if (!val) {
8983
8983
  this.classList.add('hide-label');
8984
- this.label.innerHTML = '';
8984
+ this.label.textContent = '';
8985
8985
  } else {
8986
- this.label.innerHTML = val;
8986
+ this.label.textContent = val;
8987
8987
  this.classList.remove('hide-label');
8988
8988
  }
8989
8989
  }
@@ -9423,15 +9423,15 @@ class RawUploadFile extends BaseInputClass$2 {
9423
9423
  }
9424
9424
 
9425
9425
  updateTitle(val) {
9426
- this.title.innerHTML = val;
9426
+ this.title.textContent = val;
9427
9427
  }
9428
9428
 
9429
9429
  updateDescription(val) {
9430
- this.description.innerHTML = val;
9430
+ this.description.textContent = val;
9431
9431
  }
9432
9432
 
9433
9433
  updateButtonLabel(val) {
9434
- this.button.innerHTML = val;
9434
+ this.button.textContent = val;
9435
9435
  }
9436
9436
 
9437
9437
  updateButtonSize(val) {
@@ -10444,7 +10444,7 @@ const renderCodeSnippet = (value, lang) =>
10444
10444
 
10445
10445
  const renderText = (text) =>
10446
10446
  `<div class="row-details__value text" title="${text}">${text}</div>`;
10447
- const renderJson = (value) => renderCodeSnippet(JSON.stringify(value, null, 2), 'json');
10447
+ const renderJson = (value) => renderCodeSnippet(escapeXML(JSON.stringify(value, null, 2)), 'json');
10448
10448
  const renderXml = (value) => renderCodeSnippet(escapeXML(value), 'xml');
10449
10449
 
10450
10450
  const defaultRowDetailsValueRenderer = (value) => {
@@ -16176,6 +16176,7 @@ class RawThirdPartyAppLogoClass extends createBaseClass({
16176
16176
  display: flex;
16177
16177
  justify-content: center;
16178
16178
  align-items: center;
16179
+ min-width: max-content;
16179
16180
  }
16180
16181
 
16181
16182
  .third-party-app-logo {