@everchron/ec-shards 5.0.34 → 5.0.36
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/ec-shards.common.js +63 -56
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +63 -56
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/data-grid/data-grid-cell.vue +5 -1
- package/src/components/data-grid/data-grid-head-cell.vue +1 -1
package/package.json
CHANGED
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
/** Overwrites the default padding. Should only be used when the cell contains e.g. a button which has it's own padding and thus needs to be aligned with the padding of other cells. Only pass padding shorthand values, for example: `4px 0 4px 8px`.*/
|
|
56
56
|
padding: {
|
|
57
57
|
type: String
|
|
58
|
+
},
|
|
59
|
+
/* puts extra padding-left on the first non-static column in the index */
|
|
60
|
+
firstNonStaticCell: {
|
|
61
|
+
type: Boolean
|
|
58
62
|
}
|
|
59
63
|
},
|
|
60
64
|
|
|
@@ -87,7 +91,7 @@
|
|
|
87
91
|
if (this.padding && this.padding !== '')
|
|
88
92
|
return { padding: this.padding }
|
|
89
93
|
else
|
|
90
|
-
return { padding: '8px' }
|
|
94
|
+
return this.firstNonStaticCell ? { padding: '8px 8px 8px 16px' } : { padding: '8px' }
|
|
91
95
|
},
|
|
92
96
|
|
|
93
97
|
computedId(){
|