@pdg/react-table 1.0.61 → 1.0.63

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
@@ -2799,7 +2799,7 @@ var TableCommonCell = function (_a) {
2799
2799
  getStyle = ((_e = column.footer) === null || _e === void 0 ? void 0 : _e.onGetStyle) ? (_f = column.footer) === null || _f === void 0 ? void 0 : _f.onGetStyle() : undefined;
2800
2800
  break;
2801
2801
  }
2802
- return __assign$3(__assign$3(__assign$3(__assign$3({}, initStyle), { width: column.width, minWidth: column.minWidth, cursor: type === 'body' && (column.onClick || onClick) ? 'pointer' : undefined }), style), getStyle);
2802
+ return __assign$3(__assign$3(__assign$3(__assign$3({}, initStyle), { width: column.width, minWidth: column.minWidth, cursor: type === 'body' && (column.onClick || onClick) ? 'pointer' : undefined, paddingLeft: column.paddingLeft, paddingRight: column.paddingRight }), style), getStyle);
2803
2803
  }, [column, index, initStyle, item, onClick, type]);
2804
2804
  var sx = React.useMemo(function () {
2805
2805
  var _a, _b, _c, _d, _e, _f;
@@ -2864,6 +2864,7 @@ var TableCommonCell = function (_a) {
2864
2864
  if (!menuOpen &&
2865
2865
  column.type !== 'check' &&
2866
2866
  column.type !== 'button' &&
2867
+ column.type !== 'button-ellipsis' &&
2867
2868
  column.type !== 'buttons' &&
2868
2869
  column.type !== 'img') {
2869
2870
  e.stopPropagation();
@@ -2964,6 +2965,7 @@ var TableBodyCell = function (_a) {
2964
2965
  } })));
2965
2966
  break;
2966
2967
  case 'button':
2968
+ case 'button-ellipsis':
2967
2969
  data = (React.createElement(material.Box, { className: 'TableBoxyCell-button-box', onClick: menuOpen ? undefined : function (e) { return e.stopPropagation(); } }, data));
2968
2970
  break;
2969
2971
  case 'buttons':