@stonecrop/atable 0.2.65 → 0.2.67
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/assets/index.css +1 -1
- package/dist/atable.js +2 -2
- package/dist/atable.js.map +1 -1
- package/dist/atable.umd.cjs +2 -2
- package/dist/atable.umd.cjs.map +1 -1
- package/package.json +3 -3
- package/src/components/ACell.vue +1 -1
- package/src/components/AExpansionRow.vue +8 -4
- package/src/components/ARow.vue +4 -0
- package/src/components/ATable.vue +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/atable",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.67",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@vueuse/core": "^11.1.0",
|
|
39
39
|
"pinia": "^2.3.0",
|
|
40
40
|
"vue": "^3.5.11",
|
|
41
|
-
"@stonecrop/
|
|
42
|
-
"@stonecrop/
|
|
41
|
+
"@stonecrop/utilities": "0.2.67",
|
|
42
|
+
"@stonecrop/themes": "0.2.67"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@microsoft/api-documenter": "^7.26.2",
|
package/src/components/ACell.vue
CHANGED
|
@@ -74,7 +74,7 @@ const cellStyle = computed((): CSSProperties => {
|
|
|
74
74
|
return {
|
|
75
75
|
textAlign,
|
|
76
76
|
width: cellWidth,
|
|
77
|
-
backgroundColor: !cellModified.value ? 'inherit' : 'var(--sc-cell-
|
|
77
|
+
backgroundColor: !cellModified.value ? 'inherit' : 'var(--sc-cell-changed-color)',
|
|
78
78
|
fontWeight: !cellModified.value ? 'inherit' : 'bold',
|
|
79
79
|
paddingLeft: store.getIndent(colIndex, store.display[rowIndex]?.indent),
|
|
80
80
|
}
|
|
@@ -75,17 +75,21 @@ if (addNavigation) {
|
|
|
75
75
|
.expandable-row {
|
|
76
76
|
border-top: 1px solid var(--sc-row-border-color);
|
|
77
77
|
height: var(--sc-atable-row-height);
|
|
78
|
-
border-left: 4px solid var(--sc-row-border-color);
|
|
79
78
|
display: flex;
|
|
80
79
|
}
|
|
80
|
+
.expandable-row > td:first-child {
|
|
81
|
+
border-left: 4px solid var(--sc-row-border-color);
|
|
82
|
+
}
|
|
81
83
|
|
|
82
84
|
.expanded-row {
|
|
83
|
-
|
|
84
|
-
border-
|
|
85
|
+
display: flex;
|
|
86
|
+
border-left: 2px solid var(--sc-row-border-color);
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
.
|
|
89
|
+
.expandable-row:last-child {
|
|
88
90
|
border-bottom: 1px solid var(--sc-row-border-color);
|
|
91
|
+
}
|
|
92
|
+
.expanded-row-content {
|
|
89
93
|
border-top: 1px solid var(--sc-row-border-color);
|
|
90
94
|
padding: 1.5rem;
|
|
91
95
|
}
|
package/src/components/ARow.vue
CHANGED