@evotor-dev/ui-kit 8.1.0 → 8.3.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.
@@ -1,5 +1,6 @@
1
1
  import { AfterContentInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { EvoTableColumnComponent } from '../evo-table-column/evo-table-column.component';
3
+ import { NgClass } from '@angular/common';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class EvoTableRowClickEvent {
5
6
  payload: {
@@ -14,9 +15,7 @@ export declare class EvoTableComponent implements OnInit, AfterContentInit, OnCh
14
15
  showHeader: boolean;
15
16
  stripe: boolean;
16
17
  visibleColumns: string[];
17
- rowClasses?: string | string[] | Set<string> | {
18
- [klass: string]: any;
19
- };
18
+ rowClasses?: NgClass['ngClass'] | ((row: number, item: any) => NgClass['ngClass']);
20
19
  rowClick: EventEmitter<EvoTableRowClickEvent>;
21
20
  columns: EvoTableColumnComponent[];
22
21
  states: {
@@ -29,6 +28,7 @@ export declare class EvoTableComponent implements OnInit, AfterContentInit, OnCh
29
28
  striped: boolean;
30
29
  };
31
30
  onRowClick(rowIndex: any, item: any, event: any): void;
31
+ getClasses(row: number, item: any): any;
32
32
  private filterColumns;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<EvoTableComponent, never>;
34
34
  static ɵcmp: i0.ɵɵComponentDeclaration<EvoTableComponent, "evo-table", never, { "data": { "alias": "data"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "stripe": { "alias": "stripe"; "required": false; }; "visibleColumns": { "alias": "visibleColumns"; "required": false; }; "rowClasses": { "alias": "rowClasses"; "required": false; }; }, { "rowClick": "rowClick"; }, ["columns"], never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evotor-dev/ui-kit",
3
- "version": "8.1.0",
3
+ "version": "8.3.0",
4
4
  "homepage": "https://evotor.github.io/Evo-UI-Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,4 +20,8 @@
20
20
  &_h4 {
21
21
  @include evo-text-header(h4);
22
22
  }
23
+
24
+ &_h5 {
25
+ @include evo-text-header(h5);
26
+ }
23
27
  }