@descope/web-components-ui 1.0.270 → 1.0.272
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/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/7044.js +1 -1
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-grid/descope-grid-custom-column/GridCustomColumnClass.js +3 -3
- package/src/components/descope-grid/descope-grid-text-column/GridTextColumnClass.js +1 -1
- package/src/theme/components/modal.js +1 -1
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]: '
|
10097
|
+
[compVars.overlayWidth]: '540px',
|
10098
10098
|
};
|
10099
10099
|
|
10100
10100
|
const vars$5 = {
|