@lensui/lens-table 0.1.71 → 0.1.72

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]);
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]);
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.72",
4
4
  "description": "A lightweight, canvas-rendered React table component for LensUI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",