@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.
package/dist/index.esm.js CHANGED
@@ -25789,6 +25789,12 @@ class RawMultiSsoClass extends BaseClass$2 {
25789
25789
  `;
25790
25790
 
25791
25791
  this.listEl = this.shadowRoot.querySelector('descope-list');
25792
+ this.deleteIconSlot = this.shadowRoot.querySelector(
25793
+ 'slot[name="delete-icon"]',
25794
+ );
25795
+ this.externalLinkIconSlot = this.shadowRoot.querySelector(
25796
+ 'slot[name="external-link-icon"]',
25797
+ );
25792
25798
 
25793
25799
  injectStyle(
25794
25800
  `
@@ -25923,6 +25929,12 @@ class RawMultiSsoClass extends BaseClass$2 {
25923
25929
  this.listEl.addEventListener('click', this.onItemClick.bind(this));
25924
25930
 
25925
25931
  forwardAttrs$1(this.listEl, this, { includeAttrs: ['empty'] });
25932
+
25933
+ const rerender = () => {
25934
+ if (this.data) this.data = [...this.data];
25935
+ };
25936
+ this.deleteIconSlot.addEventListener('slotchange', rerender);
25937
+ this.externalLinkIconSlot.addEventListener('slotchange', rerender);
25926
25938
  }
25927
25939
 
25928
25940
  onCreateClick() {