@descope/web-components-ui 3.14.6 → 3.14.7

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.
@@ -10683,6 +10683,12 @@ class RawMultiSsoClass extends BaseClass$4 {
10683
10683
  `;
10684
10684
 
10685
10685
  this.listEl = this.shadowRoot.querySelector('descope-list');
10686
+ this.deleteIconSlot = this.shadowRoot.querySelector(
10687
+ 'slot[name="delete-icon"]',
10688
+ );
10689
+ this.externalLinkIconSlot = this.shadowRoot.querySelector(
10690
+ 'slot[name="external-link-icon"]',
10691
+ );
10686
10692
 
10687
10693
  injectStyle(
10688
10694
  `
@@ -10817,6 +10823,12 @@ class RawMultiSsoClass extends BaseClass$4 {
10817
10823
  this.listEl.addEventListener('click', this.onItemClick.bind(this));
10818
10824
 
10819
10825
  forwardAttrs(this.listEl, this, { includeAttrs: ['empty'] });
10826
+
10827
+ const rerender = () => {
10828
+ if (this.data) this.data = [...this.data];
10829
+ };
10830
+ this.deleteIconSlot.addEventListener('slotchange', rerender);
10831
+ this.externalLinkIconSlot.addEventListener('slotchange', rerender);
10820
10832
  }
10821
10833
 
10822
10834
  onCreateClick() {