zek 16.0.7 → 16.0.9

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,10 +1 @@
1
- export declare enum AlertType {
2
- Primary = 1,
3
- Secondary = 2,
4
- Success = 3,
5
- Danger = 4,
6
- Warning = 5,
7
- Info = 6,
8
- Light = 7,
9
- Dark = 8
10
- }
1
+ export type AlertType = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
@@ -3,8 +3,8 @@ import { AlertType } from '../../../models';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class ZekAlert {
5
5
  private _type;
6
- get type(): AlertType | string | null | undefined;
7
- set type(v: AlertType | string | null | undefined);
6
+ get type(): AlertType | null | undefined;
7
+ set type(v: AlertType | null | undefined);
8
8
  _showClose: boolean;
9
9
  get showClose(): boolean;
10
10
  set showClose(v: BooleanInput);
@@ -11,7 +11,7 @@ export declare class ZekValidation implements OnInit, OnDestroy {
11
11
  clear(): void;
12
12
  remove(alert: Alert): void;
13
13
  cssIcon(alert: Alert): string | undefined;
14
- cssAlert(alert: Alert): "alert-primary" | "alert-secondary" | "alert-success" | "alert-danger" | "alert-warning" | "alert-info" | "alert-light" | "alert-dark" | undefined;
14
+ cssAlert(alert: Alert): string | undefined;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ZekValidation, never>;
16
16
  static ɵcmp: i0.ɵɵComponentDeclaration<ZekValidation, "zek-validation", never, {}, {}, never, ["*"], false, never>;
17
17
  }
@@ -19,7 +19,6 @@ export declare class BootstrapHelper {
19
19
  static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-secondary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-info text-dark" | "bg-dark text-white";
20
20
  static cssIcon(type: ComponentType): string | null;
21
21
  static cssButton(type: ComponentType): string;
22
- static getAlertType(type?: string | null): AlertType | null;
23
22
  static cssAlert(type?: AlertType | null): string;
24
23
  static cssAlertIcon(type?: AlertType | null): string;
25
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "16.0.7",
3
+ "version": "16.0.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.0.0",
6
6
  "@angular/core": "^16.0.0"