@swan-io/lake 8.18.8 → 8.18.10

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/lake",
3
- "version": "8.18.8",
3
+ "version": "8.18.10",
4
4
  "engines": {
5
5
  "node": ">=20.9.0",
6
6
  "yarn": "^1.22.0"
@@ -55,9 +55,9 @@ 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
- boxShadow: `0 -1px ${colors.gray[100]}`,
61
61
  transitionProperty: "top",
62
62
  transitionDuration: "300ms",
63
63
  transitionTimingFunction: "ease-in-out",
@@ -67,12 +67,14 @@ const styles = StyleSheet.create({
67
67
  flexDirection: "row",
68
68
  flexGrow: 1,
69
69
  alignItems: "center",
70
+ boxShadow: `0 -1px ${colors.gray[100]}`,
70
71
  },
71
72
  cell: {
72
73
  display: "flex",
73
74
  flexDirection: "row",
74
75
  flexGrow: 1,
75
76
  alignItems: "stretch",
77
+ boxShadow: `0 -1px ${colors.gray[100]}`,
76
78
  },
77
79
  shadowsLayerContainer: {
78
80
  position: "absolute",
@@ -290,7 +292,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
290
292
  styles.cellsContainer,
291
293
  styles.stickedToStartColumnGroup,
292
294
  horizontalScrollPosition === "NoScroll" && styles.stickedToStartColumnGroupLocked,
293
- { width: stickedToStartColumnsWidth, backgroundColor, height: rowHeight },
295
+ { width: stickedToStartColumnsWidth, backgroundColor, height: headerHeight },
294
296
  ], children: columns.map(({ id, width, title, renderTitle }, index) => {
295
297
  const columnId = `${viewId}_${id}`;
296
298
  const paddingLeft = index === 0 ? stickedToStartFirstCellLeftPadding : 0;
@@ -298,7 +300,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
298
300
  }) })))
299
301
  .toNull(), _jsx(View, { style: [
300
302
  styles.cellsContainer,
301
- { width: centerColumnsWidth, backgroundColor, height: rowHeight },
303
+ { width: centerColumnsWidth, backgroundColor, height: headerHeight },
302
304
  ], children: columns.map(({ id, width, title, renderTitle }, index) => {
303
305
  const columnId = `${viewId}_${id}`;
304
306
  const paddingLeft = index === 0 ? centerFirstCellLeftPadding : 0;
@@ -312,7 +314,7 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
312
314
  styles.cellsContainer,
313
315
  styles.stickedToEndColumnGroup,
314
316
  horizontalScrollPosition === "NoScroll" && styles.stickedToEndColumnGroupLocked,
315
- { width: stickedToEndColumnsWidth, backgroundColor, height: rowHeight },
317
+ { width: stickedToEndColumnsWidth, backgroundColor, height: headerHeight },
316
318
  ], children: columns.map(({ id, width, title, renderTitle }, index) => {
317
319
  const columnId = `${viewId}_${id}`;
318
320
  const paddingRight = index === columns.length - 1 ? stickedToEndLastCellRightPadding : 0;
@@ -335,7 +337,6 @@ export const VirtualizedList = ({ variant, data, stickedToStartColumns, columns,
335
337
  centerFirstCellLeftPadding,
336
338
  centerLastCellLeftPadding,
337
339
  stickedToEndLastCellRightPadding,
338
- rowHeight,
339
340
  ]);
340
341
  const startColumnShadow = useMemo(() => {
341
342
  if (stickedToStartColumnsWidth === 0) {