@pdg/react-table 1.0.63 → 1.0.64

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
@@ -2747,10 +2747,11 @@ var TableCommonCell = function (_a) {
2747
2747
  var align = React.useMemo(function () { return getTableColumnAlign(column, defaultAlign); }, [column, defaultAlign]);
2748
2748
  var ellipsis = React.useMemo(function () {
2749
2749
  return type !== 'head' &&
2750
- column.type !== 'img' &&
2751
- column.type !== 'button' &&
2752
- column.type !== 'buttons' &&
2753
- (column.ellipsis != null ? column.ellipsis : !!initDefaultEllipsis);
2750
+ (column.ellipsis ||
2751
+ (column.type !== 'img' &&
2752
+ column.type !== 'button' &&
2753
+ column.type !== 'buttons' &&
2754
+ (column.ellipsis == null ? !!initDefaultEllipsis : false)));
2754
2755
  }, [type, column, initDefaultEllipsis]);
2755
2756
  var className = React.useMemo(function () {
2756
2757
  var _a, _b, _c, _d, _e, _f;
@@ -2864,7 +2865,6 @@ var TableCommonCell = function (_a) {
2864
2865
  if (!menuOpen &&
2865
2866
  column.type !== 'check' &&
2866
2867
  column.type !== 'button' &&
2867
- column.type !== 'button-ellipsis' &&
2868
2868
  column.type !== 'buttons' &&
2869
2869
  column.type !== 'img') {
2870
2870
  e.stopPropagation();
@@ -2965,7 +2965,6 @@ var TableBodyCell = function (_a) {
2965
2965
  } })));
2966
2966
  break;
2967
2967
  case 'button':
2968
- case 'button-ellipsis':
2969
2968
  data = (React.createElement(material.Box, { className: 'TableBoxyCell-button-box', onClick: menuOpen ? undefined : function (e) { return e.stopPropagation(); } }, data));
2970
2969
  break;
2971
2970
  case 'buttons':