@swan-io/lake 8.18.7 → 8.18.9
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
|
@@ -55,6 +55,7 @@ const styles = StyleSheet.create({
|
|
|
55
55
|
position: "absolute",
|
|
56
56
|
left: 0,
|
|
57
57
|
right: 0,
|
|
58
|
+
display: "flex",
|
|
58
59
|
flexDirection: "row",
|
|
59
60
|
alignItems: "stretch",
|
|
60
61
|
boxShadow: `0 -1px ${colors.gray[100]}`,
|
|
@@ -290,13 +291,16 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
290
291
|
styles.cellsContainer,
|
|
291
292
|
styles.stickedToStartColumnGroup,
|
|
292
293
|
horizontalScrollPosition === "NoScroll" && styles.stickedToStartColumnGroupLocked,
|
|
293
|
-
{ width: stickedToStartColumnsWidth, backgroundColor },
|
|
294
|
+
{ width: stickedToStartColumnsWidth, backgroundColor, height: headerHeight },
|
|
294
295
|
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
295
296
|
const columnId = `${viewId}_${id}`;
|
|
296
297
|
const paddingLeft = index === 0 ? stickedToStartFirstCellLeftPadding : 0;
|
|
297
298
|
return (_jsx(View, { style: [styles.headerCell, { width: width + paddingLeft, paddingLeft }], id: columnId, children: renderTitle({ title, extraInfo, id }) }, columnId));
|
|
298
299
|
}) })))
|
|
299
|
-
.toNull(), _jsx(View, { style: [
|
|
300
|
+
.toNull(), _jsx(View, { style: [
|
|
301
|
+
styles.cellsContainer,
|
|
302
|
+
{ width: centerColumnsWidth, backgroundColor, height: headerHeight },
|
|
303
|
+
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
300
304
|
const columnId = `${viewId}_${id}`;
|
|
301
305
|
const paddingLeft = index === 0 ? centerFirstCellLeftPadding : 0;
|
|
302
306
|
const paddingRight = index === columns.length - 1 ? centerLastCellLeftPadding : 0;
|
|
@@ -309,7 +313,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
309
313
|
styles.cellsContainer,
|
|
310
314
|
styles.stickedToEndColumnGroup,
|
|
311
315
|
horizontalScrollPosition === "NoScroll" && styles.stickedToEndColumnGroupLocked,
|
|
312
|
-
{ width: stickedToEndColumnsWidth, backgroundColor },
|
|
316
|
+
{ width: stickedToEndColumnsWidth, backgroundColor, height: headerHeight },
|
|
313
317
|
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
314
318
|
const columnId = `${viewId}_${id}`;
|
|
315
319
|
const paddingRight = index === columns.length - 1 ? stickedToEndLastCellRightPadding : 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],
|