@bfrs/agentic-components 0.4.1 → 0.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.
@@ -1592,11 +1592,15 @@ Angular: pass `sorting` as JSON attribute `[sorting]='{"columnId":"name","direct
1592
1592
  accessorFn?: (row: T) => unknown;
1593
1593
  sortable?: boolean;
1594
1594
  cell?: (row: T) => ReactNode;
1595
+ width?: number | string;
1596
+ minWidth?: number | string;
1595
1597
  }
1596
1598
  ```
1597
1599
 
1598
1600
  `enableSorting`, `enableColumnPinning`, and `enableColumnReordering` are enabled by default. Pass `false` to disable each behavior for a simpler table.
1599
1601
 
1602
+ For pinned columns, declare `width` / `minWidth` for predictable layout. `DataTable` measures rendered header cell widths for sticky offsets so pinned columns stay fixed even when the table stretches.
1603
+
1600
1604
  When `loading` is true, `DataTable` renders built-in table-row skeleton placeholders rather than a spinner. The consumer app only owns the loading boolean.
1601
1605
 
1602
1606
  Use `TableSaveView` with `TableColumnVisibility` when the user changes columns or filters and needs to save the draft as a named view. It opens the "Save this view" modal, collects the view name, summarizes settings like hidden columns, and calls `onSave({ name, visibleColumnIds, hiddenColumnCount, filtersCount, appliedSettingLabels })`; persistence remains app-owned.