@popsure/dirty-swan 0.57.2 → 0.57.3

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/cjs/index.js CHANGED
@@ -16363,16 +16363,12 @@ var TableSection = function (_a) {
16363
16363
  var key = "".concat(rowIndex, "-").concat(cellIndex);
16364
16364
  var isFirstCellInRow = cellIndex === 0;
16365
16365
  var titleFromRow = getModalTitleFromRowHeader(row);
16366
- var titleFromColumnOrRow = getModalTitleFromColumnHeader(cellIndex) ||
16367
- getModalTitleFromRowHeader(row);
16368
16366
  var cellReplacementData = (tableCellData.cellId &&
16369
16367
  (cellReplacements === null || cellReplacements === void 0 ? void 0 : cellReplacements[tableCellData.cellId])) ||
16370
16368
  {};
16371
16369
  var cellProps = __assign(__assign(__assign({}, tableCellData), cellReplacementData), {
16372
16370
  openModal: openModal,
16373
- modalTitle: isFirstCellInRow
16374
- ? titleFromRow
16375
- : titleFromColumnOrRow,
16371
+ modalTitle: (tableCellData === null || tableCellData === void 0 ? void 0 : tableCellData.modalTitle) || titleFromRow,
16376
16372
  align: isFirstCellInRow ? 'left' : 'center',
16377
16373
  });
16378
16374
  return (!hideColumns.includes(cellIndex) && (jsxRuntime.jsx(TableCell, __assign({ isBelowDesktop: isBelowDesktop, isFirstCellInRow: isFirstCellInRow }, cellProps, { imageComponent: imageComponent }), key)));