@eagami/ui 5.62.0 → 5.63.0

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": "@eagami/ui",
3
- "version": "5.62.0",
3
+ "version": "5.63.0",
4
4
  "description": "Lightweight, accessible, themeable Angular UI component library and icon set built on CSS custom properties",
5
5
  "author": "Michal Wiraszka <michal@eagami.com>",
6
6
  "license": "MIT",
@@ -3177,6 +3177,8 @@ export declare class ContextMenuTriggerDirective {
3177
3177
  export type DataTableDensity = 'compact' | 'comfortable' | 'spacious';
3178
3178
  /** Visual size of the table's text, paddings, and icons. */
3179
3179
  export type DataTableSize = EaSize;
3180
+ /** How column widths are worked out: from the cells' content, or from the columns' `width`s alone. */
3181
+ export type DataTableLayout = 'auto' | 'fixed';
3180
3182
  /** Sort direction; `null` means no sort is applied. */
3181
3183
  export type DataTableSortDirection = 'asc' | 'desc' | null;
3182
3184
  /** Column definition for the data table, including optional cell/header templates. */
@@ -3251,6 +3253,15 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
3251
3253
  readonly bordered: import("@angular/core").InputSignal<boolean>;
3252
3254
  /** Keeps every cell on one line, so a narrow viewport scrolls the table sideways instead of wrapping its text. */
3253
3255
  readonly nowrap: import("@angular/core").InputSignal<boolean>;
3256
+ /**
3257
+ * How column widths are worked out. `auto` sizes columns by their content. `fixed`
3258
+ * holds every column at its `width` whatever its cells hold, at any viewport width,
3259
+ * scrolling the table sideways when they don't fit and sharing what is left among
3260
+ * columns without one, so the table keeps its shape while loading and as data changes.
3261
+ * Content wider than its column overflows it, so cells in a fixed layout should fit
3262
+ * or truncate. Moot with `stickyHeader`, whose rows always lay out this way.
3263
+ */
3264
+ readonly layout: import("@angular/core").InputSignal<DataTableLayout>;
3254
3265
  readonly noDataText: import("@angular/core").InputSignal<string | undefined>;
3255
3266
  /** Enables grid keyboard navigation: `role="grid"`, roving tabindex, and arrow-key cell movement. */
3256
3267
  readonly navigable: import("@angular/core").InputSignal<boolean>;
@@ -3294,6 +3305,7 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
3294
3305
  'ea-data-table--hoverable': boolean;
3295
3306
  'ea-data-table--bordered': boolean;
3296
3307
  'ea-data-table--nowrap': boolean;
3308
+ 'ea-data-table--fixed': boolean;
3297
3309
  'ea-data-table--navigable': boolean;
3298
3310
  'ea-data-table--clickable': boolean;
3299
3311
  'ea-data-table--linked': boolean;
@@ -3381,6 +3393,11 @@ export declare class DataTableComponent<T = Record<string, unknown>> {
3381
3393
  "required": false;
3382
3394
  "isSignal": true;
3383
3395
  };
3396
+ "layout": {
3397
+ "alias": "layout";
3398
+ "required": false;
3399
+ "isSignal": true;
3400
+ };
3384
3401
  "noDataText": {
3385
3402
  "alias": "noDataText";
3386
3403
  "required": false;
@@ -8078,6 +8095,7 @@ export declare class TooltipDirective implements OnDestroy {
8078
8095
  /** Side the open bubble settled on, held across repositions while it fits. */
8079
8096
  private placedPosition;
8080
8097
  private templateView;
8098
+ private renderedContent;
8081
8099
  private scrollable;
8082
8100
  private showTimer;
8083
8101
  private hideTimer;
@@ -8108,6 +8126,7 @@ export declare class TooltipDirective implements OnDestroy {
8108
8126
  private shrinkToContent;
8109
8127
  private requestHide;
8110
8128
  private cancelPendingHide;
8129
+ private renderContent;
8111
8130
  private hide;
8112
8131
  private attachRepositionListeners;
8113
8132
  private detachRepositionListeners;