@life-cockpit/angular-ui-kit 1.11.5 → 1.11.8

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": "@life-cockpit/angular-ui-kit",
3
- "version": "1.11.5",
3
+ "version": "1.11.8",
4
4
  "description": "Life Cockpit Design System - Angular UI component library",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -435,7 +435,7 @@ declare class CheckboxComponent implements ControlValueAccessor {
435
435
  type IconVariant = 'outline' | 'solid';
436
436
  type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
437
437
  /**
438
- * Icon component - Heroicons wrapper for displaying SVG icons
438
+ * Icon component - Tabler Icons wrapper for displaying SVG icons
439
439
  *
440
440
  * Features:
441
441
  * - Signal-based reactive API
@@ -443,7 +443,7 @@ type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
443
443
  * - Multiple size options (xs, sm, md, lg, xl)
444
444
  * - Custom color support (CSS colors, variables)
445
445
  * - Accessibility attributes (ARIA labels, decorative icons)
446
- * - Dynamic SVG loading from Heroicons
446
+ * - Dynamic SVG loading from Tabler Icons
447
447
  *
448
448
  * @example
449
449
  * ```html
@@ -470,7 +470,7 @@ declare class IconComponent {
470
470
  private readonly sanitizer;
471
471
  private readonly http;
472
472
  /**
473
- * Icon name from Heroicons library
473
+ * Icon name from Tabler Icons library
474
474
  * @example "user", "check", "arrow-right"
475
475
  */
476
476
  readonly name: _angular_core.InputSignal<string>;
@@ -509,13 +509,13 @@ declare class IconComponent {
509
509
  */
510
510
  readonly decorative: _angular_core.InputSignal<boolean>;
511
511
  /**
512
- * SVG content loaded from Heroicons
512
+ * SVG content loaded from Tabler Icons
513
513
  * @internal
514
514
  */
515
515
  readonly svgContent: _angular_core.WritableSignal<SafeHtml>;
516
516
  /**
517
- * Alias map for non-Heroicon names (e.g. Material Design names)
518
- * Maps alternative names to their Heroicon equivalents
517
+ * Alias map for non-Tabler names (e.g. Material Design names)
518
+ * Maps alternative names to their Tabler equivalents
519
519
  * @internal
520
520
  */
521
521
  private readonly iconAliasMap;
@@ -794,12 +794,12 @@ declare class InputComponent implements ControlValueAccessor {
794
794
  */
795
795
  readonly helperText: _angular_core.InputSignal<string | undefined>;
796
796
  /**
797
- * Icon to display before input text (Heroicons name)
797
+ * Icon to display before input text (Tabler icon name)
798
798
  * @example 'envelope'
799
799
  */
800
800
  readonly iconBefore: _angular_core.InputSignal<string | undefined>;
801
801
  /**
802
- * Icon to display after input text (Heroicons name)
802
+ * Icon to display after input text (Tabler icon name)
803
803
  * @example 'eye'
804
804
  */
805
805
  readonly iconAfter: _angular_core.InputSignal<string | undefined>;
@@ -3317,7 +3317,7 @@ declare class TabComponent {
3317
3317
  */
3318
3318
  readonly disabled: _angular_core.InputSignal<boolean>;
3319
3319
  /**
3320
- * Optional icon name (Heroicons)
3320
+ * Optional icon name (Tabler Icons)
3321
3321
  */
3322
3322
  readonly icon: _angular_core.InputSignal<string | undefined>;
3323
3323
  /**
@@ -3717,7 +3717,7 @@ declare class ChipComponent {
3717
3717
  variant: _angular_core.InputSignal<ChipVariant>;
3718
3718
  /** Size of the chip */
3719
3719
  size: _angular_core.InputSignal<ChipSize>;
3720
- /** Icon name from Heroicons */
3720
+ /** Icon name from Tabler Icons */
3721
3721
  icon: _angular_core.InputSignal<string | undefined>;
3722
3722
  /** Whether the chip can be removed */
3723
3723
  removable: _angular_core.InputSignal<boolean>;
@@ -3761,6 +3761,8 @@ declare class TableCellDirective {
3761
3761
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableCellDirective, "[lcTableCell]", never, { "columnKey": { "alias": "lcTableCell"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3762
3762
  }
3763
3763
 
3764
+ type TableCellClass = string | ((value: unknown, row: Record<string, unknown>, column: TableColumn, rowIndex: number) => string);
3765
+ type TableCellStyle = Record<string, string> | ((value: unknown, row: Record<string, unknown>, column: TableColumn, rowIndex: number) => Record<string, string>);
3764
3766
  interface TableColumn {
3765
3767
  key: string;
3766
3768
  label: string;
@@ -3770,6 +3772,10 @@ interface TableColumn {
3770
3772
  width?: string;
3771
3773
  /** Optional CSS class(es) applied to both th and td cells */
3772
3774
  cssClass?: string;
3775
+ /** Optional CSS class(es) for td cells only (string or resolver callback) */
3776
+ cellClass?: TableCellClass;
3777
+ /** Optional inline styles for td cells only (object or resolver callback) */
3778
+ cellStyle?: TableCellStyle;
3773
3779
  /** Optional tooltip shown on hover over the column header */
3774
3780
  tooltip?: string;
3775
3781
  /** Optional formatter for cell output when no custom template is used */
@@ -3805,6 +3811,7 @@ type TableSize = 'sm' | 'md' | 'lg';
3805
3811
  * - Size presets (sm, md, lg)
3806
3812
  * - Hoverable row highlighting
3807
3813
  * - Per-column formatter callbacks for display values
3814
+ * - Per-cell class/style callbacks for conditional styling
3808
3815
  * - Custom cell templates via content projection
3809
3816
  * - Composed cells (e.g. avatar + badge + actions)
3810
3817
  * - Responsive horizontal scrolling
@@ -3913,6 +3920,8 @@ declare class TableComponent {
3913
3920
  getHeaderClasses(column: TableColumn): string;
3914
3921
  getCellValue(row: Record<string, unknown>, columnKey: string): unknown;
3915
3922
  getFormattedCellValue(row: Record<string, unknown>, column: TableColumn, relativeRowIndex: number): unknown;
3923
+ getCellClasses(row: Record<string, unknown>, column: TableColumn, relativeRowIndex: number): string;
3924
+ getCellStyles(row: Record<string, unknown>, column: TableColumn, relativeRowIndex: number): Record<string, string> | null;
3916
3925
  getCellTemplate(columnKey: string): TableCellDirective | undefined;
3917
3926
  hasCustomTemplate(columnKey: string): boolean;
3918
3927
  onRowClick(row: Record<string, unknown>): void;
@@ -3942,7 +3951,7 @@ declare class TableComponent {
3942
3951
  *
3943
3952
  * Features:
3944
3953
  * - Consistent label-value layout for read-only data
3945
- * - Optional leading icon from Heroicons
3954
+ * - Optional leading icon from Tabler Icons
3946
3955
  * - Compact mode for dense layouts
3947
3956
  * - Content projection for custom value rendering
3948
3957
  * - Configurable icon size (xs, sm, md)
@@ -3963,7 +3972,7 @@ declare class FieldGroupComponent {
3963
3972
  */
3964
3973
  value: _angular_core.InputSignal<string | undefined>;
3965
3974
  /**
3966
- * Optional icon name from Heroicons
3975
+ * Optional icon name from Tabler Icons
3967
3976
  */
3968
3977
  icon: _angular_core.InputSignal<string | undefined>;
3969
3978
  /**
@@ -4184,7 +4193,7 @@ type EmptyStateSize = 'sm' | 'md' | 'lg';
4184
4193
  *
4185
4194
  * Features:
4186
4195
  * - Compact (sm) and page-level (md, lg) size modes
4187
- * - Optional icon from Heroicons library
4196
+ * - Optional icon from Tabler Icons library
4188
4197
  * - Heading and description text
4189
4198
  * - Action slot for projected CTA buttons
4190
4199
  * - Centered layout with visual hierarchy
@@ -4209,7 +4218,7 @@ declare class EmptyStateComponent {
4209
4218
  */
4210
4219
  readonly size: _angular_core.InputSignal<EmptyStateSize>;
4211
4220
  /**
4212
- * Heroicon name to display above the heading
4221
+ * Tabler icon name to display above the heading
4213
4222
  */
4214
4223
  readonly icon: _angular_core.InputSignal<string | undefined>;
4215
4224
  /**
@@ -4613,7 +4622,7 @@ declare class StatTrendComponent {
4613
4622
  sparklineData: _angular_core.InputSignal<number[]>;
4614
4623
  /** Color of the sparkline. Auto-matched to trend direction if not set. */
4615
4624
  sparklineColor: _angular_core.InputSignal<SparklineColor | undefined>;
4616
- /** Optional icon name (Heroicon). */
4625
+ /** Optional icon name (Tabler icon). */
4617
4626
  icon: _angular_core.InputSignal<string>;
4618
4627
  protected readonly resolvedDirection: _angular_core.Signal<StatTrendDirection>;
4619
4628
  protected readonly trendColorClass: _angular_core.Signal<string>;