@lensui/lens-table 0.1.71 → 0.1.73

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/dist/index.cjs CHANGED
@@ -2874,7 +2874,7 @@ function TableInner({
2874
2874
  verticalTrack.style.display = "none";
2875
2875
  } else {
2876
2876
  const top = fixedHeader ? bodyTop : 0;
2877
- const bottom = bottomSummaryHeight + 2;
2877
+ const bottom = bottomSummaryHeight;
2878
2878
  const trackHeight = Math.max(0, effectiveHeight - top - bottom);
2879
2879
  if (trackHeight <= 0) {
2880
2880
  verticalTrack.style.display = "none";
@@ -2907,7 +2907,7 @@ function TableInner({
2907
2907
  horizontalTrack.style.display = "block";
2908
2908
  horizontalTrack.style.left = `${trackLeft}px`;
2909
2909
  horizontalTrack.style.right = `${trackRight}px`;
2910
- horizontalTrack.style.bottom = `${bottomSummaryHeight + 2}px`;
2910
+ horizontalTrack.style.bottom = `${bottomSummaryHeight}px`;
2911
2911
  horizontalThumb.style.width = `${Math.min(trackWidth, thumbWidth)}px`;
2912
2912
  horizontalThumb.style.transform = `translateX(${thumbLeft}px)`;
2913
2913
  }, [autoHeight, bodyTop, bottomSummaryHeight, effectiveHeight, fixedHeader, fixedWidth, realContentHeight, renderHeight, rightFixedWidth, viewport.width]);
@@ -3094,7 +3094,6 @@ function TableInner({
3094
3094
  }
3095
3095
  setHoveredCellTooltip(null);
3096
3096
  scheduleDraw();
3097
- setEditing(null);
3098
3097
  }, [bodyTop, columns, renderHeight, fixedHeader, fixedWidth, getCellDisplayWidth, getCellSpan, getRowKey, getScrollableColumnLeft, metrics, rightFixedOffsets, rightFixedWidth, rowHeight, rows, scheduleDraw, selection, selectionRange, showCustomScrollbar, syncSelectionEdgeTarget, updateCustomScrollbars, viewport.width]);
3099
3098
  const locateColumn = (0, import_react8.useCallback)((clientX) => {
3100
3099
  const canvas = canvasRef.current;
package/dist/index.js CHANGED
@@ -2844,7 +2844,7 @@ function TableInner({
2844
2844
  verticalTrack.style.display = "none";
2845
2845
  } else {
2846
2846
  const top = fixedHeader ? bodyTop : 0;
2847
- const bottom = bottomSummaryHeight + 2;
2847
+ const bottom = bottomSummaryHeight;
2848
2848
  const trackHeight = Math.max(0, effectiveHeight - top - bottom);
2849
2849
  if (trackHeight <= 0) {
2850
2850
  verticalTrack.style.display = "none";
@@ -2877,7 +2877,7 @@ function TableInner({
2877
2877
  horizontalTrack.style.display = "block";
2878
2878
  horizontalTrack.style.left = `${trackLeft}px`;
2879
2879
  horizontalTrack.style.right = `${trackRight}px`;
2880
- horizontalTrack.style.bottom = `${bottomSummaryHeight + 2}px`;
2880
+ horizontalTrack.style.bottom = `${bottomSummaryHeight}px`;
2881
2881
  horizontalThumb.style.width = `${Math.min(trackWidth, thumbWidth)}px`;
2882
2882
  horizontalThumb.style.transform = `translateX(${thumbLeft}px)`;
2883
2883
  }, [autoHeight, bodyTop, bottomSummaryHeight, effectiveHeight, fixedHeader, fixedWidth, realContentHeight, renderHeight, rightFixedWidth, viewport.width]);
@@ -3064,7 +3064,6 @@ function TableInner({
3064
3064
  }
3065
3065
  setHoveredCellTooltip(null);
3066
3066
  scheduleDraw();
3067
- setEditing(null);
3068
3067
  }, [bodyTop, columns, renderHeight, fixedHeader, fixedWidth, getCellDisplayWidth, getCellSpan, getRowKey, getScrollableColumnLeft, metrics, rightFixedOffsets, rightFixedWidth, rowHeight, rows, scheduleDraw, selection, selectionRange, showCustomScrollbar, syncSelectionEdgeTarget, updateCustomScrollbars, viewport.width]);
3069
3068
  const locateColumn = useCallback2((clientX) => {
3070
3069
  const canvas = canvasRef.current;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensui/lens-table",
3
- "version": "0.1.71",
3
+ "version": "0.1.73",
4
4
  "description": "A lightweight, canvas-rendered React table component for LensUI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",