@bigbinary/neeto-atoms 1.0.21 → 1.0.22

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.
@@ -3375,6 +3375,7 @@ const useTableSelection = ({ enableRowSelection, selectedRowKeys, onRowSelect, d
3375
3375
  ariaLabel: "Select row",
3376
3376
  }),
3377
3377
  size: 40,
3378
+ maxSize: 40,
3378
3379
  enableSorting: false,
3379
3380
  enableResizing: false,
3380
3381
  };
@@ -3724,6 +3725,7 @@ const DataTable = ({ columns, data, getRowId: getRowIdProp, sorting: sortingProp
3724
3725
  minWidth: enableColumnResize
3725
3726
  ? header.getSize()
3726
3727
  : undefined,
3728
+ maxWidth: header.column.columnDef.maxSize,
3727
3729
  ...(isPinned === "left"
3728
3730
  ? {
3729
3731
  left: header.column.getStart("left"),
@@ -3748,6 +3750,7 @@ const DataTable = ({ columns, data, getRowId: getRowIdProp, sorting: sortingProp
3748
3750
  minWidth: enableColumnResize
3749
3751
  ? cell.column.getSize()
3750
3752
  : undefined,
3753
+ maxWidth: cell.column.columnDef.maxSize,
3751
3754
  ...(isPinned === "left"
3752
3755
  ? {
3753
3756
  left: cell.column.getStart("left"),
@@ -3769,4 +3772,4 @@ exports.useColumnVisibility = useColumnVisibility;
3769
3772
  exports.useTablePagination = useTablePagination;
3770
3773
  exports.useTableSelection = useTableSelection;
3771
3774
  exports.useTableSort = useTableSort;
3772
- //# sourceMappingURL=DataTable-CWs96k8n.js.map
3775
+ //# sourceMappingURL=DataTable-BOeCq0s4.js.map