@bluemarble/bm-components 0.0.41 → 0.0.42

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/esm/index.js CHANGED
@@ -15073,7 +15073,7 @@ function Grid({ columns: columnsData, children, fixedColumns, paperProps, tableB
15073
15073
  }, "tr:nth-of-type(even)": {
15074
15074
  transition: "background-color ease 200ms",
15075
15075
  bgcolor: striped ? "divider" : "initial",
15076
- }, width: "fit-content" }, paperProps === null || paperProps === void 0 ? void 0 : paperProps.sx) }),
15076
+ }, width: fixedColumns ? "fit-content" : "100%" }, paperProps === null || paperProps === void 0 ? void 0 : paperProps.sx) }),
15077
15077
  React__default.createElement(Table, Object.assign({ size: "small", stickyHeader: true }, tableProps, { sx: Object.assign(Object.assign({}, getTableWidth()), tableProps === null || tableProps === void 0 ? void 0 : tableProps.sx) }),
15078
15078
  React__default.createElement(TableHead, Object.assign({}, tableHeadProps),
15079
15079
  React__default.createElement(TableRow, { ref: columnsRef }, columns.map((column, index) => (React__default.createElement(TableCell, { key: column.name, padding: dense ? "none" : "normal", sx: Object.assign({ border: "1px solid", borderColor: "divider", width: column.width || 100, minWidth: getColWidth((column === null || column === void 0 ? void 0 : column.width) || 100), maxWidth: getColWidth((column === null || column === void 0 ? void 0 : column.width) || 100), pl: 2, zIndex: columns.length - index }, column === null || column === void 0 ? void 0 : column.sx) },