@portnet/ui 0.0.72 → 0.0.74

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.
@@ -282,14 +282,14 @@ const PuiTable = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
282
282
  }] : columns;
283
283
  setAppColumns(newColumns.map(column => {
284
284
  const renderCell = Boolean(column.renderCell) ? column.renderCell : Boolean(column.valueGetter) ? columnData => /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTooltip.default, {
285
- title: String(column.valueGetter(columnData)),
285
+ title: Boolean(column.titleGetter) ? column.titleGetter(columnData.row) : String(column.valueGetter(columnData)),
286
286
  children: column.valueGetter(columnData)
287
287
  }) : Boolean(column.field) ? _ref5 => {
288
288
  let {
289
289
  row
290
290
  } = _ref5;
291
291
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTooltip.default, {
292
- title: String(row[column.field]),
292
+ title: Boolean(column.titleGetter) ? column.titleGetter(row) : String(row[column.field]),
293
293
  children: row[column.field]
294
294
  });
295
295
  } : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",