@everchron/ec-shards 4.0.0 → 4.0.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/ec-shards.common.js +84 -84
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +84 -84
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +1 -1
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/data-grid/data-grid-cell.vue +1 -1
- package/src/components/data-grid/data-grid-head-cell.vue +3 -1
- package/src/components/data-grid/data-grid.vue +5 -1
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
/** Sets the minimum width of the column. It's not possible to set a resize width that's less than the minimum width. */
|
|
32
32
|
minWidth: {
|
|
33
33
|
type: Number,
|
|
34
|
-
default:
|
|
34
|
+
default: 20
|
|
35
35
|
},
|
|
36
36
|
/** Keeps the cell's column fixed at the left side. This requires the `fixedLeftOffset` prop to be set. */
|
|
37
37
|
fixedLeft: {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
/** Sets the minimum width of the column. It's not possible to set a resize width that's less than the minimum width. */
|
|
50
50
|
minWidth: {
|
|
51
51
|
type: Number,
|
|
52
|
-
default:
|
|
52
|
+
default: 20
|
|
53
53
|
},
|
|
54
54
|
/** If set, an icon will be added to the header cell. The icon will replace any text. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
55
55
|
icon: {
|
|
@@ -171,6 +171,7 @@
|
|
|
171
171
|
flex-shrink: 0;
|
|
172
172
|
background: $color-white;
|
|
173
173
|
position: relative;
|
|
174
|
+
z-index: 0;
|
|
174
175
|
|
|
175
176
|
&-inner{
|
|
176
177
|
display: flex;
|
|
@@ -195,6 +196,7 @@
|
|
|
195
196
|
background: none;
|
|
196
197
|
padding: 0 1px;
|
|
197
198
|
height: 24px;
|
|
199
|
+
cursor: pointer;
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
.shadow{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="ecs-data-grid scrollbar">
|
|
2
|
+
<div class="ecs-data-grid scrollbar" :class="$slots.empty ? 'empty' : ' '">
|
|
3
3
|
<div class="ecs-data-grid-head">
|
|
4
4
|
<!-- @slot Slot for the table head row cells. -->
|
|
5
5
|
<slot name="head"></slot>
|
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
overflow: auto;
|
|
52
52
|
background: $color-white;
|
|
53
53
|
|
|
54
|
+
&.empty{
|
|
55
|
+
overflow-x: hidden;
|
|
56
|
+
}
|
|
57
|
+
|
|
54
58
|
&.non-sticky{
|
|
55
59
|
height: auto;
|
|
56
60
|
overflow: initial;
|