@lensui/lens-table 0.1.66 → 0.1.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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1252,7 +1252,7 @@ function paintGrid(options) {
|
|
|
1252
1252
|
ctx.fillStyle = isAxisSelected ? getAxisSelectionFill(rowIndex, column.key) : colors.columnDropTargetFill;
|
|
1253
1253
|
ctx.fillRect(x, y, cellWidth, cellHeight);
|
|
1254
1254
|
}
|
|
1255
|
-
ctx.fillStyle = colors.grid;
|
|
1255
|
+
ctx.fillStyle = selectedRowKeys.has(rowKey) ? getAxisSelectionFill(rowIndex, column.key) : colors.grid;
|
|
1256
1256
|
if (!verticalBorderless && !(frameBorderless && columnIndex + colSpan >= columns.length)) {
|
|
1257
1257
|
ctx.fillRect(x + cellWidth - 1, y, 1, cellHeight);
|
|
1258
1258
|
}
|
|
@@ -1286,7 +1286,7 @@ function paintGrid(options) {
|
|
|
1286
1286
|
if (column.rowDragHandle) {
|
|
1287
1287
|
const iconLeft = x + (cellWidth - 16) / 2;
|
|
1288
1288
|
const iconTop = y + (cellHeight - 16) / 2;
|
|
1289
|
-
ctx.fillStyle = colors.icon;
|
|
1289
|
+
ctx.fillStyle = isAxisSelected ? colors.axisSelectionText : colors.icon;
|
|
1290
1290
|
ctx.beginPath();
|
|
1291
1291
|
for (const circleX of [5, 11]) {
|
|
1292
1292
|
for (const circleY of [4, 8, 12]) {
|
package/dist/index.js
CHANGED
|
@@ -1222,7 +1222,7 @@ function paintGrid(options) {
|
|
|
1222
1222
|
ctx.fillStyle = isAxisSelected ? getAxisSelectionFill(rowIndex, column.key) : colors.columnDropTargetFill;
|
|
1223
1223
|
ctx.fillRect(x, y, cellWidth, cellHeight);
|
|
1224
1224
|
}
|
|
1225
|
-
ctx.fillStyle = colors.grid;
|
|
1225
|
+
ctx.fillStyle = selectedRowKeys.has(rowKey) ? getAxisSelectionFill(rowIndex, column.key) : colors.grid;
|
|
1226
1226
|
if (!verticalBorderless && !(frameBorderless && columnIndex + colSpan >= columns.length)) {
|
|
1227
1227
|
ctx.fillRect(x + cellWidth - 1, y, 1, cellHeight);
|
|
1228
1228
|
}
|
|
@@ -1256,7 +1256,7 @@ function paintGrid(options) {
|
|
|
1256
1256
|
if (column.rowDragHandle) {
|
|
1257
1257
|
const iconLeft = x + (cellWidth - 16) / 2;
|
|
1258
1258
|
const iconTop = y + (cellHeight - 16) / 2;
|
|
1259
|
-
ctx.fillStyle = colors.icon;
|
|
1259
|
+
ctx.fillStyle = isAxisSelected ? colors.axisSelectionText : colors.icon;
|
|
1260
1260
|
ctx.beginPath();
|
|
1261
1261
|
for (const circleX of [5, 11]) {
|
|
1262
1262
|
for (const circleY of [4, 8, 12]) {
|