@linzjs/step-ag-grid 28.4.2 → 28.5.1

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.
@@ -2589,10 +2589,10 @@ const GridNoRowsOverlayFr = (props, externalRef) => {
2589
2589
  return jsx(GridLoadingOverlayComponent, { ref: externalRef, headerRowHeight: props.headerRowHeight });
2590
2590
  }
2591
2591
  if (props.rowCount === 0) {
2592
- return jsx("div", { ref: externalRef, children: props.noRowsOverlayText ?? 'There are currently no rows' });
2592
+ return (jsxs("div", { ref: externalRef, className: 'GridNoRowsOverlay', children: [jsx(LuiIcon, { name: "ic_info_outline", alt: "", size: "md" }), props.noRowsOverlayText ?? 'There are currently no rows'] }));
2593
2593
  }
2594
2594
  if (props.filteredRowCount === 0) {
2595
- return jsx("div", { ref: externalRef, children: props.noRowsMatchingOverlayText ?? 'All rows have been filtered' });
2595
+ return (jsxs("div", { ref: externalRef, className: 'GridNoRowsOverlay', children: [jsx(LuiIcon, { name: "ic_info_outline", alt: "", size: "md" }), props.noRowsMatchingOverlayText ?? 'All rows have been filtered'] }));
2596
2596
  }
2597
2597
  return jsx("div", { ref: externalRef });
2598
2598
  };
@@ -2859,7 +2859,8 @@ const Grid = ({ 'data-testid': dataTestId, defaultPostSort = true, rowSelection
2859
2859
  needsAutoSize.current = true;
2860
2860
  }
2861
2861
  }
2862
- if (needsAutoSize.current || (!hasSetContentSize.current && sizeColumns === 'auto')) {
2862
+ if (needsAutoSize.current ||
2863
+ (!hasSetContentSize.current && (sizeColumns === 'auto' || sizeColumns === 'auto-skip-headers'))) {
2863
2864
  needsAutoSize.current = false;
2864
2865
  setInitialContentSize();
2865
2866
  }