@dile/crud 2.7.3 → 2.7.5
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.
|
@@ -9,6 +9,10 @@ export class DileCrudDataGrid extends LitElement {
|
|
|
9
9
|
:host {
|
|
10
10
|
display: block;
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
dile-data-grid {
|
|
14
|
+
margin-top: var(--dile-crud-data-grid-margin-top: 0.25rem);
|
|
15
|
+
}
|
|
12
16
|
`
|
|
13
17
|
];
|
|
14
18
|
|
|
@@ -39,12 +43,14 @@ export class DileCrudDataGrid extends LitElement {
|
|
|
39
43
|
const customActionsHeader = this.config?.grid?.actionsColumnHeader || this.config?.labels?.actionsHeader || 'Actions';
|
|
40
44
|
const customActionsWidth = this.config?.grid?.actionsColumnWidth || '110px';
|
|
41
45
|
const customActionsAlign = this.config?.grid?.actionsColumnAlign || 'right';
|
|
46
|
+
const customActionsSticky = this.config?.grid?.actionsColumnSticky;
|
|
42
47
|
|
|
43
48
|
cols.push({
|
|
44
49
|
header: customActionsHeader,
|
|
45
50
|
align: customActionsAlign,
|
|
46
51
|
width: customActionsWidth,
|
|
47
52
|
hideCardLabel: true,
|
|
53
|
+
sticky: customActionsSticky,
|
|
48
54
|
render: (item) => html`
|
|
49
55
|
<dile-crud-item-actions
|
|
50
56
|
.item=${item}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/crud",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.5",
|
|
4
4
|
"description": "Components to create a generic crud system based on Web Components and Lit",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "907871657a1af5e98886a7f1cb36ab39574605a2"
|
|
36
36
|
}
|