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