Skip to content

Commit c0e5836

Browse files
committed
VueUiTableHeatmap added new component
1 parent 2589766 commit c0e5836

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.0.92",
4+
"version": "2.0.93",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-table-heatmap.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ defineExpose({
242242
<slot v-if="j === 0" name="rowTitle" v-bind="{ value: cell, rowIndex: i, colIndex: j, type: typeof cell, isResponsive}"></slot>
243243
<slot v-if="j > 0" name="cell" v-bind="{ value: cell, rowIndex: i, colIndex: j, type: typeof cell, isResponsive, color: row.colors[j], textColor: adaptColorToBackground(row.colors[j]) }"></slot>
244244
</td>
245-
<td v-if="tableConfig.table.showSum">
245+
<td role="cell" data-cell="sum" v-if="tableConfig.table.showSum">
246246
<slot name="sum" v-bind="{ value: row.sum, rowIndex: i, isResponsive }"></slot>
247247
</td>
248-
<td v-if="tableConfig.table.showAverage">
248+
<td role="cell" data-cell="average" v-if="tableConfig.table.showAverage">
249249
<slot name="average" v-bind="{ value: row.average, rowIndex: i, isResponsive }"></slot>
250250
</td>
251-
<td v-if="tableConfig.table.showMedian">
251+
<td role="cell" data-cell="median" v-if="tableConfig.table.showMedian">
252252
<slot name="median" v-bind="{ value: row.median, rowIndex: i, isResponsive }"></slot>
253253
</td>
254254
</tr>

0 commit comments

Comments
 (0)