@digital-ai/dot-components 4.9.0 → 4.9.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.
package/index.esm.js CHANGED
@@ -16532,7 +16532,8 @@ const CollapsibleTableBody = ({
16532
16532
  typography: nestedTableBodyTypography,
16533
16533
  noWrap: column.truncate,
16534
16534
  style: {
16535
- maxWidth: parseCellMaxWidth(column.width)
16535
+ maxWidth: parseCellMaxWidth(column.width),
16536
+ minWidth: parseCellMaxWidth(column.minWidth)
16536
16537
  },
16537
16538
  value: row[colId]
16538
16539
  }, colId);
@@ -16557,7 +16558,7 @@ const StyledCollapsibleTableWrapper = styled.div`
16557
16558
  .dot-table-container {
16558
16559
  th.MuiTableCell-root:first-child,
16559
16560
  td.MuiTableCell-root:first-child {
16560
- padding-left: ${theme.spacing(9)};
16561
+ max-width: 40px;
16561
16562
  }
16562
16563
  }
16563
16564
 
@@ -16826,7 +16827,8 @@ const DotTableRow = ({
16826
16827
  noWrap: column.truncate,
16827
16828
  onActionMenuTrigger: (menuRef, menuItem) => onActionMenuTrigger(menuRef, menuItem),
16828
16829
  style: {
16829
- maxWidth: parseCellMaxWidth(column.width)
16830
+ maxWidth: parseCellMaxWidth(column.width),
16831
+ minWidth: parseCellMaxWidth(column.minWidth)
16830
16832
  },
16831
16833
  value: rowData[column.id]
16832
16834
  }, column.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -70,6 +70,7 @@ export interface DotColumnHeader {
70
70
  align?: TextAlignment;
71
71
  id: string;
72
72
  label?: string;
73
+ minWidth?: string;
73
74
  sortable?: boolean;
74
75
  truncate?: boolean;
75
76
  width?: string;