@linzjs/step-ag-grid 32.4.0 → 32.4.2

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.
@@ -61096,6 +61096,9 @@ const Grid = ({
61096
61096
  // ─── Spread Remaining Params ──────────────────
61097
61097
  ...params
61098
61098
  }) => {
61099
+ if (isChromatic()) {
61100
+ sizeColumns = "none";
61101
+ }
61099
61102
  const {
61100
61103
  setApis,
61101
61104
  setExternallySelectedItemsAreInSync,
@@ -61328,7 +61331,9 @@ const Grid = ({
61328
61331
  ...colDef.cellClassRules,
61329
61332
  "GridCell-readonly": (ccp) => !suppressReadOnlyStyle && !editable(ccp)
61330
61333
  },
61331
- width: colDef.minWidth || 120
61334
+ // If chromatic we fix the size to minWidth if set otherwise 120px
61335
+ // else whatever user has configured which will probably be undefined
61336
+ width: isChromatic() ? colDef.minWidth || 120 : colDef.width
61332
61337
  };
61333
61338
  }
61334
61339
  },