@symply.io/basic-components 1.7.7 → 1.7.9-beta.1
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.
@@ -5,4 +5,4 @@ declare const _default: <RowProps extends TVirtualTableRow, AuxProps extends TVi
|
|
5
5
|
ref?: ForwardedRef<VirtualDataTableRefProps> | undefined;
|
6
6
|
}) => ReturnType<typeof VirtualDataTable>;
|
7
7
|
export default _default;
|
8
|
-
export type { VirtualDataTableRefProps, VirtualDataTableOrderType, VirtualDataTableSortingProps, } from "./types";
|
8
|
+
export type { TVirtualTableColumn, VirtualDataTableRefProps, VirtualDataTableOrderType, VirtualDataTableSortingProps, } from "./types";
|
@@ -237,7 +237,7 @@ var VirtualDataTable = function (props, ref) {
|
|
237
237
|
var left = pinnedLeftCols
|
238
238
|
.slice(0, index)
|
239
239
|
.reduce(function (w, t) { return w + (t.width || 0); }, 0);
|
240
|
-
return (_jsx(TableCell, __assign({ variant: "
|
240
|
+
return (_jsx(TableCell, __assign({ variant: "body", align: align, sx: {
|
241
241
|
position: "sticky",
|
242
242
|
left: left,
|
243
243
|
zIndex: 1,
|
@@ -261,7 +261,7 @@ var VirtualDataTable = function (props, ref) {
|
|
261
261
|
} }, { children: cloneElement(Body, { column: column, row: row, rows: rows, rowIndex: rowIndex, aux: aux }) }), accessor));
|
262
262
|
}), normalCols.map(function (column) {
|
263
263
|
var align = column.align, width = column.width, Body = column.Body, accessor = column.accessor;
|
264
|
-
return (_jsx(TableCell, __assign({ variant: "
|
264
|
+
return (_jsx(TableCell, __assign({ variant: "body", align: align, sx: {
|
265
265
|
width: width,
|
266
266
|
backgroundColor: (onRowClick && rowDataIndex === rowIndex
|
267
267
|
? hover
|
@@ -272,7 +272,7 @@ var VirtualDataTable = function (props, ref) {
|
|
272
272
|
var right = pinnedRightCols
|
273
273
|
.slice(0, pinnedRightCols.length - 1 - index)
|
274
274
|
.reduce(function (w, t) { return w + (t.width || 0); }, 0);
|
275
|
-
return (_jsx(TableCell, __assign({ variant: "
|
275
|
+
return (_jsx(TableCell, __assign({ variant: "body", align: align, sx: {
|
276
276
|
position: "sticky",
|
277
277
|
right: right,
|
278
278
|
zIndex: 1,
|