@swan-io/lake 8.18.8 → 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,7 +291,7 @@ 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, height:
|
|
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;
|
|
@@ -298,7 +299,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
298
299
|
}) })))
|
|
299
300
|
.toNull(), _jsx(View, { style: [
|
|
300
301
|
styles.cellsContainer,
|
|
301
|
-
{ width: centerColumnsWidth, backgroundColor, height:
|
|
302
|
+
{ width: centerColumnsWidth, backgroundColor, height: headerHeight },
|
|
302
303
|
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
303
304
|
const columnId = `${viewId}_${id}`;
|
|
304
305
|
const paddingLeft = index === 0 ? centerFirstCellLeftPadding : 0;
|
|
@@ -312,7 +313,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
312
313
|
styles.cellsContainer,
|
|
313
314
|
styles.stickedToEndColumnGroup,
|
|
314
315
|
horizontalScrollPosition === "NoScroll" && styles.stickedToEndColumnGroupLocked,
|
|
315
|
-
{ width: stickedToEndColumnsWidth, backgroundColor, height:
|
|
316
|
+
{ width: stickedToEndColumnsWidth, backgroundColor, height: headerHeight },
|
|
316
317
|
], children: columns.map(({ id, width, title, renderTitle }, index) => {
|
|
317
318
|
const columnId = `${viewId}_${id}`;
|
|
318
319
|
const paddingRight = index === columns.length - 1 ? stickedToEndLastCellRightPadding : 0;
|
|
@@ -335,7 +336,6 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
|
|
|
335
336
|
centerFirstCellLeftPadding,
|
|
336
337
|
centerLastCellLeftPadding,
|
|
337
338
|
stickedToEndLastCellRightPadding,
|
|
338
|
-
rowHeight,
|
|
339
339
|
]);
|
|
340
340
|
const startColumnShadow = useMemo(() => {
|
|
341
341
|
if (stickedToStartColumnsWidth === 0) {
|