@descope/web-components-ui 1.0.435 → 1.0.436

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.
@@ -10307,9 +10307,9 @@ class RawPolicyValidation extends createBaseClass$1({ componentName: componentNa
10307
10307
  updateLabel(val) {
10308
10308
  if (!val) {
10309
10309
  this.classList.add('hide-label');
10310
- this.label.innerHTML = '';
10310
+ this.label.textContent = '';
10311
10311
  } else {
10312
- this.label.innerHTML = val;
10312
+ this.label.textContent = val;
10313
10313
  this.classList.remove('hide-label');
10314
10314
  }
10315
10315
  }
@@ -10762,15 +10762,15 @@ class RawUploadFile extends BaseInputClass$2 {
10762
10762
  }
10763
10763
 
10764
10764
  updateTitle(val) {
10765
- this.title.innerHTML = val;
10765
+ this.title.textContent = val;
10766
10766
  }
10767
10767
 
10768
10768
  updateDescription(val) {
10769
- this.description.innerHTML = val;
10769
+ this.description.textContent = val;
10770
10770
  }
10771
10771
 
10772
10772
  updateButtonLabel(val) {
10773
- this.button.innerHTML = val;
10773
+ this.button.textContent = val;
10774
10774
  }
10775
10775
 
10776
10776
  updateButtonSize(val) {
@@ -11796,7 +11796,7 @@ const renderCodeSnippet = (value, lang) =>
11796
11796
 
11797
11797
  const renderText = (text) =>
11798
11798
  `<div class="row-details__value text" title="${text}">${text}</div>`;
11799
- const renderJson = (value) => renderCodeSnippet(JSON.stringify(value, null, 2), 'json');
11799
+ const renderJson = (value) => renderCodeSnippet(escapeXML(JSON.stringify(value, null, 2)), 'json');
11800
11800
  const renderXml = (value) => renderCodeSnippet(escapeXML(value), 'xml');
11801
11801
 
11802
11802
  const defaultRowDetailsValueRenderer = (value) => {