@majoo-ui/react 1.60.14-rc.4 → 1.60.14-rc.5

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/index.esm.js CHANGED
@@ -23715,15 +23715,18 @@ function Table({
23715
23715
  minWidth: column.colMinWidth
23716
23716
  }
23717
23717
  }]), {
23718
- css: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, cssTableCell), stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth)), column.headerCss), tableRowData.length === 0 && {
23719
- position: 'unset !important'
23720
- })
23718
+ css: Object.assign(Object.assign(Object.assign(Object.assign({}, cssTableCell), stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth)), column.headerCss)
23721
23719
  }, {
23722
23720
  children: typeof headerRender === 'string' ? jsx(TableHeaderCellContainer, Object.assign({
23723
23721
  isSortedDesc: column.isSortedDesc,
23724
23722
  unsortable: id ? true : column.unsortable,
23725
23723
  isToggleable: !!column.onToggle,
23726
- isToggled: column.isToggled
23724
+ isToggled: column.isToggled,
23725
+ css: {
23726
+ width: column.colWidth,
23727
+ maxWidth: column.colMaxWidth,
23728
+ minWidth: column.colMinWidth
23729
+ }
23727
23730
  }, {
23728
23731
  children: jsx(TableHeadCellContent, Object.assign({
23729
23732
  heading: "headerTable"
@@ -23752,7 +23755,7 @@ function Table({
23752
23755
  return i < 1 && renderRowDecorationReference(row, isContextMenu, i);
23753
23756
  }), jsx(ConditionalWrapper, Object.assign({
23754
23757
  condition: Boolean(decoration),
23755
- wrapper: child => jsx(TableRow$3, Object.assign({
23758
+ wrapper: child => tableRowData && tableRowData.length > 0 ? jsx(TableRow$3, Object.assign({
23756
23759
  css: {
23757
23760
  '&:hover': {
23758
23761
  backgroundColor: 'unset'
@@ -23771,7 +23774,7 @@ function Table({
23771
23774
  children: renderInfiniteScrollWrapper(renderTableDecorationChild(child))
23772
23775
  }), void 0)
23773
23776
  }), void 0)
23774
- }), void 0)
23777
+ }), void 0) : null
23775
23778
  }, {
23776
23779
  children: tableRowData.map((dataRow, i) => {
23777
23780
  var _a, _b, _c, _d;
package/index.umd.js CHANGED
@@ -24153,15 +24153,18 @@
24153
24153
  }
24154
24154
  }];
24155
24155
  }), {
24156
- css: __assign(__assign(__assign(__assign(__assign({}, cssTableCell), stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth)), column.headerCss), tableRowData.length === 0 && {
24157
- position: 'unset !important'
24158
- })
24156
+ css: __assign(__assign(__assign(__assign({}, cssTableCell), stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth)), column.headerCss)
24159
24157
  }, {
24160
24158
  children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer, __assign({
24161
24159
  isSortedDesc: column.isSortedDesc,
24162
24160
  unsortable: id ? true : column.unsortable,
24163
24161
  isToggleable: !!column.onToggle,
24164
- isToggled: column.isToggled
24162
+ isToggled: column.isToggled,
24163
+ css: {
24164
+ width: column.colWidth,
24165
+ maxWidth: column.colMaxWidth,
24166
+ minWidth: column.colMinWidth
24167
+ }
24165
24168
  }, {
24166
24169
  children: jsxRuntime.jsx(TableHeadCellContent, __assign({
24167
24170
  heading: "headerTable"
@@ -24191,7 +24194,7 @@
24191
24194
  }), jsxRuntime.jsx(ConditionalWrapper, __assign({
24192
24195
  condition: Boolean(decoration),
24193
24196
  wrapper: function (child) {
24194
- return jsxRuntime.jsx(TableRow$3, __assign({
24197
+ return tableRowData && tableRowData.length > 0 ? jsxRuntime.jsx(TableRow$3, __assign({
24195
24198
  css: {
24196
24199
  '&:hover': {
24197
24200
  backgroundColor: 'unset'
@@ -24210,7 +24213,7 @@
24210
24213
  children: renderInfiniteScrollWrapper(renderTableDecorationChild(child))
24211
24214
  }), void 0)
24212
24215
  }), void 0)
24213
- }), void 0);
24216
+ }), void 0) : null;
24214
24217
  }
24215
24218
  }, {
24216
24219
  children: tableRowData.map(function (dataRow, i) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.60.14-rc.4",
3
+ "version": "1.60.14-rc.5",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.3",
6
6
  "@majoo-ui/helpers": "^1.30.5",