@apia/table 4.0.31 → 4.0.33

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.js CHANGED
@@ -1245,7 +1245,7 @@ const NoMemoHeaderCell = ({
1245
1245
  () => !isResize ? {
1246
1246
  minWidth: columnIndex === columns.length - 1 ? "100%" : getColumnWidth(column.minWidth ?? column.width),
1247
1247
  maxWidth: column.maxWidth !== void 0 ? getColumnWidth(column.maxWidth) : void 0,
1248
- width: columnIndex === columns.length - 1 ? "100%" : getColumnWidth(column.width),
1248
+ width: getColumnWidth(column.width),
1249
1249
  position: "relative"
1250
1250
  } : {
1251
1251
  width: `${width}px`,
@@ -3547,14 +3547,14 @@ function makeAsyncRenderer(additionalInfoGetter) {
3547
3547
  ":"
3548
3548
  ] }),
3549
3549
  " ",
3550
- dataCell.label
3550
+ dataCell.label ?? dataCell?.content
3551
3551
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
3552
3552
  /* @__PURE__ */ jsxs(Box, { as: "strong", children: [
3553
3553
  dataCell.name,
3554
3554
  ":"
3555
3555
  ] }),
3556
3556
  " ",
3557
- dataCell.label
3557
+ dataCell.label ?? dataCell?.content
3558
3558
  ] })
3559
3559
  },
3560
3560
  `${dataCell.name}-${uniqueId()}`