@cqa-lib/cqa-ui 1.1.513 → 1.1.514

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.
@@ -20,6 +20,8 @@ export interface DynamicTableColumn {
20
20
  isShow?: boolean;
21
21
  weight?: number;
22
22
  fixedPx?: number;
23
+ /** Minimum width in px — applied to both the header cell and every body cell of this column. */
24
+ minWidth?: number;
23
25
  responsive?: {
24
26
  xs?: boolean;
25
27
  sm?: boolean;
@@ -66,6 +68,15 @@ export declare class DynamicTableComponent implements OnDestroy, OnChanges {
66
68
  computedData: any[];
67
69
  computedGridTemplate: string;
68
70
  computedColumnWidths: string[];
71
+ /**
72
+ * Hard floor on the `<table>` width = sum of every visible column's minimum (fixed
73
+ * widths + dynamic columns' `minWidth`). With `table-layout: fixed; width: 100%;` set
74
+ * by consumers, `<col>` widths become advisory once the container is narrower than
75
+ * the column-width sum — the browser silently shrinks them. Pinning `min-width` on
76
+ * the table itself prevents that compaction; the consumer's `overflow-x: auto`
77
+ * wrapper then scrolls horizontally instead of squishing columns to zero width.
78
+ */
79
+ computedTableMinWidth: number;
69
80
  private htmlCache;
70
81
  constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
71
82
  ngOnChanges(changes: SimpleChanges): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.513",
3
+ "version": "1.1.514",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",