@descope/web-components-ui 1.0.270 → 1.0.272

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -7120,7 +7120,7 @@ class GridTextColumnClass extends GridSortColumn {
7120
7120
  }
7121
7121
 
7122
7122
  _defaultRenderer(cell, _col, model) {
7123
- const content = model.item[this.path];
7123
+ const content = model.item[this.path] || '';
7124
7124
  cell.innerHTML = content;
7125
7125
  if (Array.isArray(content)) {
7126
7126
  cell.innerHTML = content.join(', ');
@@ -7147,7 +7147,7 @@ customElements.define(componentName$9, GridTextColumnClass);
7147
7147
 
7148
7148
  class GridCustomColumnClass extends GridTextColumnClass {
7149
7149
  _defaultRenderer(cell, _col, model) {
7150
- const content = model.item[this.path];
7150
+ const content = model.item[this.path] || '';
7151
7151
 
7152
7152
  // we get a list of elements that can be used to render the content
7153
7153
  // each element can have a "pattern" attribute which contains regex expression
@@ -7162,13 +7162,13 @@ class GridCustomColumnClass extends GridTextColumnClass {
7162
7162
  });
7163
7163
 
7164
7164
  if (!contentEle) {
7165
- cell.innerHTML = model.item[this.path];
7165
+ cell.innerHTML = model.item[this.path] || '';
7166
7166
 
7167
7167
  return;
7168
7168
  }
7169
7169
 
7170
7170
  const newEle = contentEle.cloneNode(true);
7171
- newEle.innerHTML = content;
7171
+ newEle.innerHTML = content || '';
7172
7172
  cell.innerHTML = '';
7173
7173
  cell.append(newEle);
7174
7174
  }
@@ -10094,7 +10094,7 @@ const compVars = ModalClass.cssVarList;
10094
10094
  const modal = {
10095
10095
  [compVars.overlayBackgroundColor]: globalRefs$4.colors.surface.light,
10096
10096
  [compVars.overlayShadow]: globalRefs$4.shadow.wide['2xl'],
10097
- [compVars.overlayWidth]: '700px',
10097
+ [compVars.overlayWidth]: '540px',
10098
10098
  };
10099
10099
 
10100
10100
  const vars$5 = {