@descope/web-components-ui 1.94.0 → 1.96.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.
@@ -14680,6 +14680,10 @@ const createSvgEle = (text) => {
14680
14680
  // we want to purify the SVG to avoid XSS attacks
14681
14681
  const clean = DOMPurify.sanitize(text, {
14682
14682
  USE_PROFILES: { svg: true, svgFilters: true },
14683
+ // allow image to render
14684
+ ADD_TAGS: ['image'],
14685
+ // forbid interactiviy via `use` tags (which are sanitized by default)
14686
+ FORBID_TAGS: ['defs']
14683
14687
  });
14684
14688
 
14685
14689
  const parser = new DOMParser();
@@ -16810,7 +16814,7 @@ class RawDateFieldClass extends BaseInputClass$1 {
16810
16814
 
16811
16815
  this.attachShadow({ mode: 'open' }).innerHTML = `
16812
16816
  <div>
16813
- <descope-text-field>
16817
+ <descope-text-field inputmode="numeric">
16814
16818
  <span slot="suffix" class="toggle-calendar">
16815
16819
  ${calendarIcon}
16816
16820
  </span>