@zeedhi/common 1.103.1 → 1.103.2
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/zd-common.esm.js +3 -2
- package/dist/zd-common.umd.js +3 -2
- package/package.json +2 -2
package/dist/zd-common.esm.js
CHANGED
|
@@ -6211,8 +6211,9 @@ class Grid extends Iterable {
|
|
|
6211
6211
|
this.selectAllPages = this.getInitValue('selectAllPages', props.selectAllPages, this.selectAllPages);
|
|
6212
6212
|
this.cellSelection = this.getInitValue('cellSelection', props.cellSelection, this.cellSelection);
|
|
6213
6213
|
this.backgroundColor = this.getInitValue('backgroundColor', props.backgroundColor, this.backgroundColor);
|
|
6214
|
-
// headerBackground defaults to the backgroundColor
|
|
6215
|
-
|
|
6214
|
+
// headerBackground defaults to the backgroundColor, unless backgroundColor is transparent
|
|
6215
|
+
const defaultHeaderBackground = this.backgroundColor === 'transparent' ? '' : this.backgroundColor;
|
|
6216
|
+
this.headerBackground = this.getInitValue('headerBackground', props.headerBackground, defaultHeaderBackground);
|
|
6216
6217
|
this.createAccessors();
|
|
6217
6218
|
}
|
|
6218
6219
|
setViewNavigate(viewNavigate) {
|
package/dist/zd-common.umd.js
CHANGED
|
@@ -6218,8 +6218,9 @@
|
|
|
6218
6218
|
this.selectAllPages = this.getInitValue('selectAllPages', props.selectAllPages, this.selectAllPages);
|
|
6219
6219
|
this.cellSelection = this.getInitValue('cellSelection', props.cellSelection, this.cellSelection);
|
|
6220
6220
|
this.backgroundColor = this.getInitValue('backgroundColor', props.backgroundColor, this.backgroundColor);
|
|
6221
|
-
// headerBackground defaults to the backgroundColor
|
|
6222
|
-
|
|
6221
|
+
// headerBackground defaults to the backgroundColor, unless backgroundColor is transparent
|
|
6222
|
+
const defaultHeaderBackground = this.backgroundColor === 'transparent' ? '' : this.backgroundColor;
|
|
6223
|
+
this.headerBackground = this.getInitValue('headerBackground', props.headerBackground, defaultHeaderBackground);
|
|
6223
6224
|
this.createAccessors();
|
|
6224
6225
|
}
|
|
6225
6226
|
setViewNavigate(viewNavigate) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/common",
|
|
3
|
-
"version": "1.103.
|
|
3
|
+
"version": "1.103.2",
|
|
4
4
|
"description": "Zeedhi Common",
|
|
5
5
|
"author": "Zeedhi <zeedhi@teknisa.com>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"lodash.times": "4.3.*",
|
|
44
44
|
"mockdate": "3.0.*"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "5d7c944af3e4729e2ea9b39c65bb6f73e39edd6a"
|
|
47
47
|
}
|