eru-grid 0.0.60 → 0.0.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eru-grid",
3
- "version": "0.0.60",
3
+ "version": "0.0.62",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.2",
6
6
  "@angular/core": "^21.1.2",
@@ -1987,7 +1987,14 @@ declare class ColumnConstraintsService {
1987
1987
  constrainWidth(width: number, column: Field | undefined, gridConfig?: GridConfiguration): number;
1988
1988
  /**
1989
1989
  * Get default field_size for a column following fallback hierarchy
1990
- * Priority: column.field_size > datatype config minWidth > global config minWidth > datatype default minWidth > 150
1990
+ * Priority: column.field_size > column minWidth > datatype config minWidth > global config minWidth > datatype default minWidth > 150
1991
+ *
1992
+ * The column's own `minWidth` comes second because it is what a designer
1993
+ * typed into the panel's "Min width (px)" for THIS column: it is a statement
1994
+ * about this column and must beat any datatype- or grid-level default. It was
1995
+ * read by nothing, so a column set to 700 still rendered at the 150 default —
1996
+ * the panel's width controls did nothing at all. A width the user set by
1997
+ * dragging (`field_size`) still wins over both.
1991
1998
  */
1992
1999
  getDefaultFieldSize(column: Field | undefined, gridConfig?: GridConfiguration): number;
1993
2000
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnConstraintsService, never>;
@@ -2287,8 +2294,8 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
2287
2294
  showColumnLines: _angular_core.Signal<boolean>;
2288
2295
  showRowLines: _angular_core.Signal<boolean>;
2289
2296
  maxDepth: _angular_core.Signal<number>;
2290
- subTotalStyle: _angular_core.Signal<"bold" | "italic" | "highlighted">;
2291
- grandTotalStyle: _angular_core.Signal<"bold" | "italic" | "highlighted">;
2297
+ subTotalStyle: _angular_core.Signal<"italic" | "bold" | "highlighted">;
2298
+ grandTotalStyle: _angular_core.Signal<"italic" | "bold" | "highlighted">;
2292
2299
  isSortable: _angular_core.Signal<boolean>;
2293
2300
  showSortBar: _angular_core.Signal<boolean>;
2294
2301
  showBoardColumnHeader: _angular_core.Signal<boolean>;