@leanix/components 0.4.164 → 0.4.166

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,7 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { BannerSizes, BannerTypes } from './banner.models';
1
3
  import * as i0 from "@angular/core";
2
- export declare class BannerComponent {
3
- type: 'success' | 'info' | 'danger' | 'warning';
4
- get bannerTypeClass(): string;
4
+ export declare class BannerComponent implements OnInit {
5
+ private readonly _type;
6
+ private readonly _size;
7
+ readonly showIcon: import("@angular/core").WritableSignal<boolean>;
8
+ readonly iconClass: import("@angular/core").WritableSignal<string>;
9
+ set type(type: BannerTypes);
10
+ get type(): BannerTypes;
11
+ set size(size: BannerSizes);
12
+ get size(): BannerSizes;
13
+ ngOnInit(): void;
14
+ getIconClass(type: BannerTypes): "fa-check" | "fa-info" | "fa-exclamation" | "fa-times";
5
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "lx-banner", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerComponent, "lx-banner", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
7
17
  }
@@ -0,0 +1,14 @@
1
+ type ObjectValues<T> = T[keyof T];
2
+ export declare const BANNER_TYPE: {
3
+ readonly SUCCESS: "success";
4
+ readonly INFO: "info";
5
+ readonly WARNING: "warning";
6
+ readonly DANGER: "danger";
7
+ };
8
+ export type BannerTypes = ObjectValues<typeof BANNER_TYPE>;
9
+ export declare const BANNER_SIZE: {
10
+ readonly BIG: "big";
11
+ readonly SMALL: "small";
12
+ };
13
+ export type BannerSizes = ObjectValues<typeof BANNER_SIZE>;
14
+ export {};
@@ -1,7 +1,10 @@
1
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
1
2
  import { CdkStepper } from '@angular/cdk/stepper';
3
+ import { Directionality } from '@angular/cdk/bidi';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class StepperComponent extends CdkStepper {
4
6
  size: 'small' | 'normal';
7
+ constructor(_dir: Directionality, _changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>);
5
8
  get isSmallVariant(): boolean;
6
9
  isCompleted(index: number): boolean;
7
10
  isActiveStep(index: number): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leanix/components",
3
- "version": "0.4.164",
3
+ "version": "0.4.166",
4
4
  "license": "Apache-2.0",
5
5
  "author": "LeanIX GmbH",
6
6
  "repository": {