@coreui/angular 5.3.14 → 5.3.15

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.
@@ -14,7 +14,7 @@ export declare class DropdownMenuDirective implements OnInit, AfterContentInit {
14
14
  * Toggle the visibility of dropdown menu component.
15
15
  * @return boolean
16
16
  */
17
- readonly visibleInput: import("@angular/core").InputSignal<boolean>;
17
+ readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
18
18
  readonly visible: import("@angular/core").WritableSignal<boolean>;
19
19
  readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
20
20
  readonly hostStyles: import("@angular/core").Signal<Record<string, any>>;
@@ -2,11 +2,10 @@ import * as i0 from "@angular/core";
2
2
  export declare class FormDirective {
3
3
  /**
4
4
  * Mark a form as validated. If you set it `true`, all validation styles will be applied to the form. [docs]
5
- * @type boolean
5
+ * @return boolean
6
6
  * @default false
7
7
  */
8
8
  readonly validated: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
9
- readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FormDirective, never>;
11
10
  static ɵdir: i0.ɵɵDirectiveDeclaration<FormDirective, "form[cForm]", never, { "validated": { "alias": "validated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
11
  }
@@ -5,7 +5,6 @@ export declare class FormFloatingDirective {
5
5
  * @type boolean
6
6
  */
7
7
  readonly floating: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8
- readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFloatingDirective, never>;
10
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<FormFloatingDirective, "[cFormFloating]", never, { "floating": { "alias": "cFormFloating"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
10
  }
@@ -6,7 +6,7 @@ export declare class ModalToggleDirective {
6
6
  * @default undefined
7
7
  */
8
8
  readonly toggle: import("@angular/core").InputSignal<string | undefined>;
9
- dismiss($event: any): void;
9
+ dismiss($event: Event): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<ModalToggleDirective, never>;
11
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<ModalToggleDirective, "[cModalToggle]", never, { "toggle": { "alias": "cModalToggle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
12
  }
@@ -21,7 +21,7 @@ export declare class NavbarTogglerDirective {
21
21
  * @default 'Toggle navigation'
22
22
  */
23
23
  readonly ariaLabel: import("@angular/core").InputSignal<string>;
24
- handleClick(): void;
24
+ handleClick($event: MouseEvent): void;
25
25
  addDefaultIcon(): void;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<NavbarTogglerDirective, never>;
27
27
  static ɵdir: i0.ɵɵDirectiveDeclaration<NavbarTogglerDirective, "[cNavbarToggler]", never, { "collapseRef": { "alias": "cNavbarToggler"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -2,7 +2,8 @@ import { TemplateRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TemplateIdDirective {
4
4
  readonly templateRef: TemplateRef<any>;
5
- id: string;
5
+ readonly cTemplateId: import("@angular/core").InputSignal<string>;
6
+ get id(): string;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TemplateIdDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "id": { "alias": "cTemplateId"; "required": false; }; }, {}, never, never, true, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateIdDirective, "[cTemplateId]", never, { "cTemplateId": { "alias": "cTemplateId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
8
9
  }
@@ -1,70 +1,83 @@
1
- import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { ISidebarAction } from '../sidebar.service';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
5
5
  #private;
6
- state: ISidebarAction;
6
+ readonly state: import("@angular/core").WritableSignal<ISidebarAction>;
7
7
  /**
8
- * Sets if the color of text should be colored for a light or dark background. [docs]
9
- *
10
- * @type 'dark' | 'light'
8
+ * Sets if the color of text should be colored for a light or dark background.
9
+ * @return 'dark' | 'light'
11
10
  */
12
- colorScheme?: 'dark' | 'light';
11
+ readonly colorScheme: import("@angular/core").InputSignal<"dark" | "light" | undefined>;
13
12
  /**
14
- * Sets html attribute id. [docs]
15
- *
16
- * @type string
13
+ * Sets html attribute id.
14
+ * @return string
17
15
  */
18
- id?: string;
16
+ readonly id: import("@angular/core").InputSignal<string | undefined>;
19
17
  /**
20
- * Make sidebar narrow. [docs]
21
- * @type boolean
18
+ * Make sidebar narrow.
19
+ * @return boolean
22
20
  * @default false
23
21
  */
24
- narrow: boolean;
22
+ readonly narrowInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
23
+ set narrow(value: boolean);
24
+ get narrow(): boolean;
25
25
  /**
26
26
  * Set sidebar to overlaid variant.
27
- * @type boolean
27
+ * @return boolean
28
28
  * @default false
29
29
  */
30
- overlaid: boolean;
30
+ readonly overlaid: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
31
31
  /**
32
- * Components placement, there’s no default placement. [docs]
33
- * @type 'start' | 'end'
32
+ * Components placement, there’s no default placement.
33
+ * @return 'start' | 'end'
34
34
  */
35
- placement?: 'start' | 'end';
35
+ readonly placement: import("@angular/core").InputSignal<"start" | "end" | undefined>;
36
36
  /**
37
- * Place sidebar in non-static positions. [docs]
37
+ * Place sidebar in non-static positions.
38
+ * @return 'fixed' | 'sticky'
38
39
  * @default 'fixed'
39
40
  */
40
- position: 'fixed' | 'sticky';
41
+ readonly position: import("@angular/core").InputSignal<"fixed" | "sticky">;
41
42
  /**
42
- * Size the component small, large, or extra large. [docs]
43
+ * Size the component small, large, or extra large.
44
+ * @return 'sm' | 'lg' | 'xl'
43
45
  */
44
- size?: 'sm' | 'lg' | 'xl';
46
+ readonly size: import("@angular/core").InputSignal<"sm" | "lg" | "xl" | undefined>;
45
47
  /**
46
- * Expand narrowed sidebar on hover. [docs]
48
+ * Expand narrowed sidebar on hover.
47
49
  * @type boolean
48
50
  * @default false
49
51
  */
50
- unfoldable: boolean;
52
+ readonly unfoldableInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
53
+ readonly unfoldable: import("@angular/core").WritableSignal<boolean>;
51
54
  /**
52
- * Toggle the visibility of sidebar component. [docs]
55
+ * Toggle the visibility of sidebar component.
53
56
  * @type boolean
54
57
  * @default false
55
58
  */
59
+ readonly visibleInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
56
60
  set visible(value: boolean);
57
61
  get visible(): boolean;
58
62
  /**
59
- * Event emitted on visibility change. [docs]
60
- * @type boolean
63
+ * Event emitted on visibility change.
64
+ * @return boolean
61
65
  */
62
- visibleChange: EventEmitter<boolean>;
66
+ readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
63
67
  set sidebarState(value: ISidebarAction);
64
68
  get sidebarState(): ISidebarAction;
65
69
  get getMobileBreakpoint(): string;
66
70
  constructor();
67
- get getClasses(): any;
71
+ readonly hostClasses: import("@angular/core").Signal<{
72
+ [x: string]: boolean | "toggle" | undefined;
73
+ sidebar: boolean;
74
+ 'sidebar-fixed': boolean;
75
+ 'sidebar-narrow': boolean;
76
+ 'sidebar-narrow-unfoldable': boolean;
77
+ 'sidebar-overlaid': boolean;
78
+ show: boolean | "toggle" | undefined;
79
+ hide: boolean;
80
+ }>;
68
81
  ngOnInit(): void;
69
82
  ngOnDestroy(): void;
70
83
  ngOnChanges(changes: SimpleChanges): void;
@@ -72,9 +85,5 @@ export declare class SidebarComponent implements OnChanges, OnDestroy, OnInit {
72
85
  private stateToggleSubscribe;
73
86
  layoutChangeSubscribe(subscribe?: boolean): void;
74
87
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "c-sidebar", ["cSidebar"], { "colorScheme": { "alias": "colorScheme"; "required": false; }; "id": { "alias": "id"; "required": false; }; "narrow": { "alias": "narrow"; "required": false; }; "overlaid": { "alias": "overlaid"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "position": { "alias": "position"; "required": false; }; "size": { "alias": "size"; "required": false; }; "unfoldable": { "alias": "unfoldable"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
76
- static ngAcceptInputType_narrow: unknown;
77
- static ngAcceptInputType_overlaid: unknown;
78
- static ngAcceptInputType_unfoldable: unknown;
79
- static ngAcceptInputType_visible: unknown;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "c-sidebar", ["cSidebar"], { "colorScheme": { "alias": "colorScheme"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "narrowInput": { "alias": "narrow"; "required": false; "isSignal": true; }; "overlaid": { "alias": "overlaid"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "unfoldableInput": { "alias": "unfoldable"; "required": false; "isSignal": true; }; "visibleInput": { "alias": "visible"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, ["*"], true, never>;
80
89
  }
@@ -1,12 +1,10 @@
1
- import { OnInit } from '@angular/core';
1
+ import { type UrlTree } from '@angular/router';
2
2
  import * as i0 from "@angular/core";
3
- export declare class SidebarBrandComponent implements OnInit {
4
- brandFull?: any;
5
- brandNarrow?: any;
6
- routerLink?: any[] | string;
7
- sidebarBrandClass: boolean;
8
- brandImg: boolean;
9
- ngOnInit(): void;
3
+ export declare class SidebarBrandComponent {
4
+ readonly brandFull: import("@angular/core").InputSignal<any>;
5
+ readonly brandNarrow: import("@angular/core").InputSignal<any>;
6
+ readonly routerLink: import("@angular/core").InputSignal<string | any[] | UrlTree | null | undefined>;
7
+ readonly brandImg: import("@angular/core").Signal<boolean>;
10
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarBrandComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarBrandComponent, "c-sidebar-brand", never, { "brandFull": { "alias": "brandFull"; "required": false; }; "brandNarrow": { "alias": "brandNarrow"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; }, {}, never, ["*"], true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarBrandComponent, "c-sidebar-brand", never, { "brandFull": { "alias": "brandFull"; "required": false; "isSignal": true; }; "brandNarrow": { "alias": "brandNarrow"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
10
  }
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { SidebarNavHelper } from './sidebar-nav.service';
4
4
  import { INavData } from './sidebar-nav';
@@ -14,7 +14,7 @@ export declare class SidebarNavLinkComponent implements OnInit, OnDestroy {
14
14
  protected _item: INavData;
15
15
  set item(item: INavData);
16
16
  get item(): INavData;
17
- linkClick: EventEmitter<any>;
17
+ readonly linkClick: import("@angular/core").OutputEmitterRef<void>;
18
18
  linkType: string;
19
19
  href: string;
20
20
  linkActive: boolean;
@@ -5,19 +5,18 @@ import * as i0 from "@angular/core";
5
5
  export declare class SidebarToggleDirective {
6
6
  #private;
7
7
  /**
8
- * Id of sidebar for toggle action. [docs]
9
- *
10
- * @type string
8
+ * Id of sidebar for toggle action.
9
+ * @return string
11
10
  */
12
- id?: string;
11
+ readonly id: import("@angular/core").InputSignal<string | undefined>;
13
12
  /**
14
- * Sidebar property name for toggle action. [docs]
13
+ * Sidebar property name for toggle action.
15
14
  *
16
- * @type 'visible' | 'unfoldable'
15
+ * @return 'visible' | 'unfoldable'
17
16
  * @default 'visible'
18
17
  */
19
- toggle: 'visible' | 'unfoldable';
18
+ readonly toggle: import("@angular/core").InputSignal<"visible" | "unfoldable">;
20
19
  toggleOpen($event: any): void;
21
20
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarToggleDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarToggleDirective, "[cSidebarToggle]", ["cSidebarToggle"], { "id": { "alias": "cSidebarToggle"; "required": false; }; "toggle": { "alias": "toggle"; "required": false; }; }, {}, never, never, true, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarToggleDirective, "[cSidebarToggle]", ["cSidebarToggle"], { "id": { "alias": "cSidebarToggle"; "required": false; "isSignal": true; }; "toggle": { "alias": "toggle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
22
  }
@@ -1,9 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "../sidebar-toggle/sidebar-toggle.directive";
3
3
  export declare class SidebarTogglerDirective {
4
- role: string;
5
- sidebarTogglerClass: boolean;
4
+ readonly role: import("@angular/core").InputSignal<string>;
6
5
  get getStyles(): any;
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarTogglerDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarTogglerDirective, "[cSidebarToggler]", never, { "role": { "alias": "role"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.SidebarToggleDirective; inputs: { "cSidebarToggle": "cSidebarToggler"; "toggle": "toggle"; }; outputs: {}; }]>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SidebarTogglerDirective, "[cSidebarToggler]", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.SidebarToggleDirective; inputs: { "cSidebarToggle": "cSidebarToggler"; "toggle": "toggle"; }; outputs: {}; }]>;
9
8
  }
@@ -7,7 +7,7 @@ export declare class TextBgColorDirective {
7
7
  * @type Colors
8
8
  */
9
9
  readonly textBgColor: InputSignal<Colors>;
10
- get hostClasses(): any;
10
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TextBgColorDirective, never>;
12
12
  static ɵdir: i0.ɵɵDirectiveDeclaration<TextBgColorDirective, "[cTextBgColor]", never, { "textBgColor": { "alias": "cTextBgColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
13
  }
@@ -7,7 +7,9 @@ export declare class TextColorDirective {
7
7
  * @type TextColors
8
8
  */
9
9
  readonly color: InputSignal<TextColors>;
10
- get hostClasses(): any;
10
+ readonly hostClasses: import("@angular/core").Signal<{
11
+ [x: string]: boolean;
12
+ }>;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TextColorDirective, never>;
12
14
  static ɵdir: i0.ɵɵDirectiveDeclaration<TextColorDirective, "[cTextColor]", never, { "color": { "alias": "cTextColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
13
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular",
3
- "version": "5.3.14",
3
+ "version": "5.3.15",
4
4
  "description": "CoreUI Components Library for Angular",
5
5
  "copyright": "Copyright 2025 creativeLabs Łukasz Holeczek",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "@angular/core": "^19.1.0",
30
30
  "@angular/router": "^19.1.0",
31
31
  "@coreui/coreui": "^5.2.0",
32
- "@coreui/icons-angular": "~5.3.12",
32
+ "@coreui/icons-angular": "~5.3.15",
33
33
  "rxjs": "^7.8.1"
34
34
  },
35
35
  "repository": {