@swan-io/lake 8.18.7 → 8.18.8
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/package.json
CHANGED
|
@@ -290,13 +290,16 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
290
290
|
styles.cellsContainer,
|
|
291
291
|
styles.stickedToStartColumnGroup,
|
|
292
292
|
horizontalScrollPosition === "NoScroll" && styles.stickedToStartColumnGroupLocked,
|
|
293
|
-
{ width: stickedToStartColumnsWidth, backgroundColor },
|
|
293
|
+
{ width: stickedToStartColumnsWidth, backgroundColor, height: rowHeight },
|
|
294
294
|
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
295
295
|
const columnId = `${viewId}_${id}`;
|
|
296
296
|
const paddingLeft = index === 0 ? stickedToStartFirstCellLeftPadding : 0;
|
|
297
297
|
return (_jsx(View, { style: [styles.headerCell, { width: width + paddingLeft, paddingLeft }], id: columnId, children: renderTitle({ title, extraInfo, id }) }, columnId));
|
|
298
298
|
}) })))
|
|
299
|
-
.toNull(), _jsx(View, { style: [
|
|
299
|
+
.toNull(), _jsx(View, { style: [
|
|
300
|
+
styles.cellsContainer,
|
|
301
|
+
{ width: centerColumnsWidth, backgroundColor, height: rowHeight },
|
|
302
|
+
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
300
303
|
const columnId = `${viewId}_${id}`;
|
|
301
304
|
const paddingLeft = index === 0 ? centerFirstCellLeftPadding : 0;
|
|
302
305
|
const paddingRight = index === columns.length - 1 ? centerLastCellLeftPadding : 0;
|
|
@@ -309,7 +312,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
309
312
|
styles.cellsContainer,
|
|
310
313
|
styles.stickedToEndColumnGroup,
|
|
311
314
|
horizontalScrollPosition === "NoScroll" && styles.stickedToEndColumnGroupLocked,
|
|
312
|
-
{ width: stickedToEndColumnsWidth, backgroundColor },
|
|
315
|
+
{ width: stickedToEndColumnsWidth, backgroundColor, height: rowHeight },
|
|
313
316
|
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
314
317
|
const columnId = `${viewId}_${id}`;
|
|
315
318
|
const paddingRight = index === columns.length - 1 ? stickedToEndLastCellRightPadding : 0;
|
|
@@ -332,6 +335,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
332
335
|
centerFirstCellLeftPadding,
|
|
333
336
|
centerLastCellLeftPadding,
|
|
334
337
|
stickedToEndLastCellRightPadding,
|
|
338
|
+
rowHeight,
|
|
335
339
|
]);
|
|
336
340
|
const startColumnShadow = useMemo(() => {
|
|
337
341
|
if (stickedToStartColumnsWidth === 0) {
|
|
@@ -414,6 +418,7 @@ const RawVirtualizedRow = ({ viewId, rowHeight, absoluteIndex, variant, stickedT
|
|
|
414
418
|
styles.stickedToStartColumnGroup,
|
|
415
419
|
horizontalScrollPosition === "NoScroll" && styles.stickedToStartColumnGroupLocked,
|
|
416
420
|
{
|
|
421
|
+
height: rowHeight,
|
|
417
422
|
width: stickedToStartColumnsWidth,
|
|
418
423
|
backgroundColor: isHovered
|
|
419
424
|
? backgroundColorVariants[variant === "accented" ? "default" : "accented"]
|
|
@@ -434,6 +439,7 @@ const RawVirtualizedRow = ({ viewId, rowHeight, absoluteIndex, variant, stickedT
|
|
|
434
439
|
styles.cellsContainer,
|
|
435
440
|
{
|
|
436
441
|
width: centerColumnsWidth,
|
|
442
|
+
height: rowHeight,
|
|
437
443
|
backgroundColor: isHovered
|
|
438
444
|
? backgroundColorVariants[variant === "accented" ? "default" : "accented"]
|
|
439
445
|
: backgroundColorVariants[variant],
|
|
@@ -459,6 +465,7 @@ const RawVirtualizedRow = ({ viewId, rowHeight, absoluteIndex, variant, stickedT
|
|
|
459
465
|
horizontalScrollPosition === "NoScroll" && styles.stickedToEndColumnGroupLocked,
|
|
460
466
|
{
|
|
461
467
|
width: stickedToEndColumnsWidth,
|
|
468
|
+
height: rowHeight,
|
|
462
469
|
backgroundColor: isHovered
|
|
463
470
|
? backgroundColorVariants[variant === "accented" ? "default" : "accented"]
|
|
464
471
|
: backgroundColorVariants[variant],
|