@lensui/lens-table 0.1.30 → 0.1.31

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
@@ -4325,7 +4325,10 @@ function TableInner({
4325
4325
  top: headerTop,
4326
4326
  width: width2,
4327
4327
  height: rowHeightForLevel,
4328
- paddingRight: cell.leaf ? actionWidth + 10 : 10,
4328
+ // Custom headers lay out their own title row and metadata rows. The
4329
+ // action layer may reserve space in the title row, but must not
4330
+ // shrink the entire custom header (including type/comment rows).
4331
+ paddingRight: cell.leaf && !column.renderHeader ? actionWidth + 10 : 10,
4329
4332
  justifyContent: column.align === "right" ? "flex-end" : column.align === "center" ? "center" : "flex-start",
4330
4333
  textAlign: column.align === "right" ? "right" : column.align === "center" ? "center" : "left"
4331
4334
  },
package/dist/index.js CHANGED
@@ -4295,7 +4295,10 @@ function TableInner({
4295
4295
  top: headerTop,
4296
4296
  width: width2,
4297
4297
  height: rowHeightForLevel,
4298
- paddingRight: cell.leaf ? actionWidth + 10 : 10,
4298
+ // Custom headers lay out their own title row and metadata rows. The
4299
+ // action layer may reserve space in the title row, but must not
4300
+ // shrink the entire custom header (including type/comment rows).
4301
+ paddingRight: cell.leaf && !column.renderHeader ? actionWidth + 10 : 10,
4299
4302
  justifyContent: column.align === "right" ? "flex-end" : column.align === "center" ? "center" : "flex-start",
4300
4303
  textAlign: column.align === "right" ? "right" : column.align === "center" ? "center" : "left"
4301
4304
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensui/lens-table",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "A lightweight, canvas-rendered React table component for LensUI.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",