@descope/web-components-ui 1.0.435 → 1.1.0

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
@@ -11015,9 +11015,9 @@ class RawPolicyValidation extends createBaseClass$1({ componentName: componentNa
11015
11015
  updateLabel(val) {
11016
11016
  if (!val) {
11017
11017
  this.classList.add('hide-label');
11018
- this.label.innerHTML = '';
11018
+ this.label.textContent = '';
11019
11019
  } else {
11020
- this.label.innerHTML = val;
11020
+ this.label.textContent = val;
11021
11021
  this.classList.remove('hide-label');
11022
11022
  }
11023
11023
  }
@@ -11905,15 +11905,15 @@ class RawUploadFile extends BaseInputClass$3 {
11905
11905
  }
11906
11906
 
11907
11907
  updateTitle(val) {
11908
- this.title.innerHTML = val;
11908
+ this.title.textContent = val;
11909
11909
  }
11910
11910
 
11911
11911
  updateDescription(val) {
11912
- this.description.innerHTML = val;
11912
+ this.description.textContent = val;
11913
11913
  }
11914
11914
 
11915
11915
  updateButtonLabel(val) {
11916
- this.button.innerHTML = val;
11916
+ this.button.textContent = val;
11917
11917
  }
11918
11918
 
11919
11919
  updateButtonSize(val) {
@@ -13095,7 +13095,7 @@ const renderCodeSnippet = (value, lang) =>
13095
13095
 
13096
13096
  const renderText = (text) =>
13097
13097
  `<div class="row-details__value text" title="${text}">${text}</div>`;
13098
- const renderJson = (value) => renderCodeSnippet(JSON.stringify(value, null, 2), 'json');
13098
+ const renderJson = (value) => renderCodeSnippet(escapeXML(JSON.stringify(value, null, 2)), 'json');
13099
13099
  const renderXml = (value) => renderCodeSnippet(escapeXML(value), 'xml');
13100
13100
 
13101
13101
  const defaultRowDetailsValueRenderer = (value) => {