@descope/web-components-ui 1.54.0 → 1.56.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
@@ -9827,11 +9827,6 @@ var CountryCodes = [
9827
9827
  dialCode: '+351',
9828
9828
  code: 'PT',
9829
9829
  },
9830
- {
9831
- name: 'Puerto Rico',
9832
- dialCode: '+1939',
9833
- code: 'PR',
9834
- },
9835
9830
  {
9836
9831
  name: 'Qatar',
9837
9832
  dialCode: '+974',
@@ -14193,7 +14188,12 @@ const multiSelectComboBoxMixin = (superclass) =>
14193
14188
 
14194
14189
  // eslint-disable-next-line class-methods-use-this
14195
14190
  #renderItem = ({ displayName, value, label }) => {
14196
- return `<span data-name="${label}" data-id="${value}">${displayName || label}</span>`;
14191
+ const ele = document.createElement('span');
14192
+ ele.setAttribute('data-name', label);
14193
+ ele.setAttribute('data-id', value);
14194
+ ele.textContent = displayName || label;
14195
+
14196
+ return ele.outerHTML;
14197
14197
  };
14198
14198
 
14199
14199
  #data;