@leanix/components 0.4.793 → 0.4.794

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,29 +1,22 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { BannerSizes, BannerTypes } from './banner.models';
3
2
  import * as i0 from "@angular/core";
4
3
  /**
5
4
  * Banner can be used to display important information to the user. It allows for any type of content to be displayed in a banner.
6
5
  */
7
- export declare class BannerComponent implements OnInit {
8
- private readonly _type;
9
- private readonly _size;
10
- /** @internal */
11
- readonly showIcon: import("@angular/core").WritableSignal<boolean>;
12
- /** @internal */
13
- readonly iconClass: import("@angular/core").WritableSignal<string>;
6
+ export declare class BannerComponent {
14
7
  /**
15
8
  * The type of the banner
16
9
  */
17
- set type(type: BannerTypes);
18
- get type(): BannerTypes;
10
+ readonly type: import("@angular/core").InputSignal<BannerTypes>;
19
11
  /**
20
12
  * The size of the banner
21
13
  */
22
- set size(size: BannerSizes);
23
- get size(): BannerSizes;
24
- ngOnInit(): void;
25
- /** @internal */
26
- getIconClass(type: BannerTypes): "fa-check" | "fa-info" | "fa-exclamation" | "fa-times";
14
+ readonly size: import("@angular/core").InputSignal<BannerSizes>;
15
+ protected readonly showIcon: import("@angular/core").Signal<boolean>;
16
+ protected readonly iconName: import("@angular/core").Signal<string>;
17
+ protected readonly iconDesign: import("@angular/core").Signal<"Contrast" | "Critical" | "Default" | "Information" | "Negative" | "Neutral" | "NonInteractive" | "Positive">;
18
+ private getIconName;
19
+ private getIconDesign;
27
20
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "lx-banner", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "lx-banner", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
29
22
  }
@@ -4,7 +4,6 @@ export declare const BANNER_TYPE: {
4
4
  readonly INFO: "info";
5
5
  readonly WARNING: "warning";
6
6
  readonly DANGER: "danger";
7
- readonly GRAY: "gray";
8
7
  };
9
8
  export type BannerTypes = ObjectValues<typeof BANNER_TYPE>;
10
9
  export declare const BANNER_SIZE: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.793",
3
+ "version": "0.4.794",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {