@leanix/components 0.4.749 → 0.4.751

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,23 +1,37 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export interface Icon {
4
- /** Font-awesome icon class, e.g. 'address-book'. See http://fontawesome.io/icons/ */
3
+ /**
4
+ * The name of the icon to display, either Font Awesome or SAP icons
5
+ *
6
+ * **Note:** Support for Font Awesome icons is deprecated and will be removed soon.
7
+ */
5
8
  type: string;
6
9
  color?: string;
7
- /** @deprecated */
10
+ /**
11
+ * @deprecated Use `order` instead
12
+ */
8
13
  reverse?: boolean;
9
14
  order?: 'ASC' | 'DESC';
10
15
  }
11
- export declare class IconScaleComponent implements OnChanges {
12
- icon: Icon;
13
- numberOfColoredItems: number;
14
- numberOfItems: number;
16
+ export declare class IconScaleComponent {
17
+ /**
18
+ * The icon to render
19
+ */
20
+ readonly icon: import("@angular/core").InputSignal<Icon>;
21
+ /**
22
+ * The amount of colored (active) icons
23
+ */
24
+ readonly numberOfColoredItems: import("@angular/core").InputSignal<number>;
25
+ /**
26
+ * The total amount of icons
27
+ */
28
+ readonly numberOfItems: import("@angular/core").InputSignal<number>;
29
+ protected readonly isFontAwesomeIcon: import("@angular/core").Signal<boolean>;
30
+ protected readonly iconName: import("@angular/core").Signal<string>;
31
+ protected readonly iconArray: import("@angular/core").Signal<boolean[]>;
15
32
  /** @internal */
16
33
  readonly NAME = "IconScaleComponent";
17
- /** @internal */
18
- iconArray: boolean[];
19
- ngOnChanges(_changes: SimpleChanges): void;
20
34
  private createIconArray;
21
35
  static ɵfac: i0.ɵɵFactoryDeclaration<IconScaleComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<IconScaleComponent, "lx-icon-scale", never, { "icon": { "alias": "icon"; "required": false; }; "numberOfColoredItems": { "alias": "numberOfColoredItems"; "required": false; }; "numberOfItems": { "alias": "numberOfItems"; "required": false; }; }, {}, never, never, true, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconScaleComponent, "lx-icon-scale", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "numberOfColoredItems": { "alias": "numberOfColoredItems"; "required": false; "isSignal": true; }; "numberOfItems": { "alias": "numberOfItems"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.749",
3
+ "version": "0.4.751",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {