@descope/web-components-ui 1.0.261 → 1.0.263

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
@@ -701,6 +701,7 @@ const createProxy = ({
701
701
  excludeAttrsSync = [],
702
702
  includeAttrsSync = [],
703
703
  includeForwardProps = [],
704
+ delegatesFocus = true,
704
705
  }) => {
705
706
  class ProxyClass extends createBaseClass({ componentName, baseSelector: wrappedEleName }) {
706
707
  #dispatchBlur = createDispatchEvent.bind(this, 'blur');
@@ -708,7 +709,7 @@ const createProxy = ({
708
709
  #dispatchFocus = createDispatchEvent.bind(this, 'focus');
709
710
 
710
711
  constructor() {
711
- super().attachShadow({ mode: 'open', delegatesFocus: true }).innerHTML = `
712
+ super().attachShadow({ mode: 'open', delegatesFocus }).innerHTML = `
712
713
  <style id="create-proxy">${isFunction(style) ? style() : style}</style>
713
714
  <${wrappedEleName}>
714
715
  ${slots
@@ -7110,11 +7111,21 @@ customElements.define(componentName$a, ButtonMultiSelectionGroupInternalClass);
7110
7111
 
7111
7112
  customElements.define(componentName$9, ButtonMultiSelectionGroupClass);
7112
7113
 
7114
+ /* eslint-disable no-param-reassign */
7115
+
7113
7116
  class GridTextColumnClass extends GridSortColumn {
7114
7117
  get sortable() {
7115
7118
  return this.getAttribute('sortable') === 'true';
7116
7119
  }
7117
7120
 
7121
+ _defaultRenderer(cell, _col, model) {
7122
+ const content = model.item[this.path];
7123
+ cell.innerHTML = content;
7124
+ if (Array.isArray(content)) {
7125
+ cell.innerHTML = content.join(', ');
7126
+ }
7127
+ }
7128
+
7118
7129
  _defaultHeaderRenderer(root, _column) {
7119
7130
  if (this.sortable) {
7120
7131
  super._defaultHeaderRenderer(root, _column);
@@ -7458,6 +7469,7 @@ const GridClass = compose(
7458
7469
  GridMixin
7459
7470
  )(
7460
7471
  createProxy({
7472
+ delegatesFocus: false,
7461
7473
  slots: [''],
7462
7474
  wrappedEleName: 'vaadin-grid',
7463
7475
  style: () => `