@coreui/angular-pro 5.3.6 → 5.3.8

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.
Files changed (60) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/fesm2022/coreui-angular-pro.mjs +1868 -1893
  4. package/fesm2022/coreui-angular-pro.mjs.map +1 -1
  5. package/lib/accordion/accordion-button/accordion-button.directive.d.ts +1 -4
  6. package/lib/accordion/accordion-item/accordion-item.component.d.ts +0 -1
  7. package/lib/button-group/button-group/button-group.component.d.ts +1 -5
  8. package/lib/collapse/collapse.directive.d.ts +1 -3
  9. package/lib/form/form/form.directive.d.ts +3 -4
  10. package/lib/form/form-check/form-check-input.directive.d.ts +10 -12
  11. package/lib/form/form-check/form-check.component.d.ts +10 -18
  12. package/lib/form/form-control/form-control.directive.d.ts +10 -10
  13. package/lib/form/form-feedback/form-feedback.component.d.ts +6 -7
  14. package/lib/form/form-floating/form-floating.directive.d.ts +1 -3
  15. package/lib/form/form-label/form-label.directive.d.ts +6 -5
  16. package/lib/form/form-select/form-select.directive.d.ts +6 -5
  17. package/lib/form/input-group/input-group.component.d.ts +1 -1
  18. package/lib/list-group/list-group-item.directive.d.ts +1 -7
  19. package/lib/modal/modal/modal.component.d.ts +34 -34
  20. package/lib/modal/modal-dialog/modal-dialog.component.d.ts +12 -9
  21. package/lib/modal/modal-dismiss/modal-toggle.directive.d.ts +3 -2
  22. package/lib/modal/modal.service.d.ts +2 -2
  23. package/lib/nav/nav-link.directive.d.ts +13 -15
  24. package/lib/nav/nav.component.d.ts +6 -6
  25. package/lib/placeholder/placeholder-animation.directive.d.ts +1 -3
  26. package/lib/placeholder/placeholder.directive.d.ts +1 -4
  27. package/lib/popover/popover/popover.component.d.ts +1 -1
  28. package/lib/popover/popover.directive.d.ts +1 -4
  29. package/lib/progress/progress-bar.component.d.ts +2 -2
  30. package/lib/progress/progress-bar.directive.d.ts +13 -30
  31. package/lib/progress/progress-stacked.component.d.ts +3 -4
  32. package/lib/progress/progress.component.d.ts +15 -17
  33. package/lib/progress/progress.service.d.ts +11 -0
  34. package/lib/services/color-mode.service.d.ts +0 -1
  35. package/lib/shared/html-attr.directive.d.ts +0 -1
  36. package/lib/spinner/spinner.component.d.ts +1 -3
  37. package/lib/table/table-active.directive.d.ts +3 -5
  38. package/lib/table/table-color.directive.d.ts +4 -5
  39. package/lib/table/table.directive.d.ts +25 -35
  40. package/lib/tabs-2/tab/tab.directive.d.ts +5 -10
  41. package/lib/tabs-2/tab-panel/tab-panel.component.d.ts +1 -7
  42. package/lib/tabs-2/tabs-list/tabs-list.component.d.ts +1 -6
  43. package/lib/tabs-2/tabs.component.d.ts +1 -2
  44. package/lib/toast/toast/toast.component.d.ts +14 -15
  45. package/lib/toast/toast-body/toast-body.component.d.ts +1 -2
  46. package/lib/toast/toast-close.directive.d.ts +4 -3
  47. package/lib/toast/toast-header/toast-header.component.d.ts +5 -5
  48. package/lib/toast/toaster/toaster.component.d.ts +12 -13
  49. package/lib/toast/toaster/toaster.service.d.ts +1 -1
  50. package/lib/tooltip/tooltip/tooltip.component.d.ts +1 -1
  51. package/lib/tooltip/tooltip.directive.d.ts +0 -3
  52. package/lib/utilities/align.directive.d.ts +4 -4
  53. package/lib/utilities/bg-color.directive.d.ts +5 -6
  54. package/lib/utilities/border.directive.d.ts +4 -4
  55. package/lib/utilities/rounded.directive.d.ts +3 -3
  56. package/lib/utilities/shadow-on-scroll.directive.d.ts +2 -2
  57. package/lib/widget/widget-stat-a/widget-stat-a.component.d.ts +1 -1
  58. package/lib/widget/widget-stat-c/widget-stat-c.component.d.ts +1 -1
  59. package/lib/widget/widget-stat-f/widget-stat-f.component.d.ts +1 -1
  60. package/package.json +9 -9
@@ -1,4 +1,4 @@
1
- import { AfterContentChecked, ComponentRef, Injector, NgModuleRef, OnInit, QueryList, ViewContainerRef } from '@angular/core';
1
+ import { ComponentRef, Injector, NgModuleRef, OnInit, ViewContainerRef } from '@angular/core';
2
2
  import { IToasterAction } from './toaster.service';
3
3
  import { ToasterHostDirective } from './toaster-host.directive';
4
4
  import * as i0 from "@angular/core";
@@ -15,26 +15,25 @@ export declare enum ToasterPlacement {
15
15
  BottomEnd = "bottom-end"
16
16
  }
17
17
  export type TToasterPlacement = ToasterPlacement.Static | ToasterPlacement.TopStart | ToasterPlacement.TopCenter | ToasterPlacement.TopEnd | ToasterPlacement.MiddleStart | ToasterPlacement.MiddleCenter | ToasterPlacement.MiddleEnd | ToasterPlacement.BottomStart | ToasterPlacement.BottomCenter | ToasterPlacement.BottomEnd | string;
18
- export declare class ToasterComponent implements OnInit, AfterContentChecked {
18
+ export declare class ToasterComponent implements OnInit {
19
19
  #private;
20
20
  placements: ToasterPlacement[];
21
- toasts: QueryList<ViewContainerRef>;
22
- toastsDynamic: any[];
21
+ toastsDynamic: ComponentRef<any>[];
23
22
  /**
24
23
  * Toaster placement
25
- * @type TToasterPlacement
24
+ * @return TToasterPlacement
26
25
  */
27
- placement: TToasterPlacement;
26
+ readonly placementInput: import("@angular/core").InputSignal<string>;
27
+ get placement(): string;
28
28
  /**
29
29
  * Toaster position
30
- * @type (string | 'absolute' | 'fixed' | 'static')
30
+ * @return (string | 'absolute' | 'fixed' | 'static')
31
31
  */
32
- position: string | 'absolute' | 'fixed' | 'static';
33
- toasterHost: ToasterHostDirective;
34
- contentToasts: QueryList<ViewContainerRef>;
35
- get hostClasses(): any;
32
+ readonly position: import("@angular/core").InputSignal<string>;
33
+ readonly toasterHost: import("@angular/core").Signal<ToasterHostDirective>;
34
+ readonly contentToasts: import("@angular/core").Signal<readonly ViewContainerRef[]>;
35
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
36
36
  ngOnInit(): void;
37
- ngAfterContentChecked(): void;
38
37
  addToast(toast: any, props: any, options?: {
39
38
  index?: number;
40
39
  injector?: Injector;
@@ -44,5 +43,5 @@ export declare class ToasterComponent implements OnInit, AfterContentChecked {
44
43
  removeToast(state: IToasterAction): void;
45
44
  private stateToasterSubscribe;
46
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ToasterComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "placement": { "alias": "placement"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, ["contentToasts"], ["*"], true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToasterComponent, "c-toaster", ["cToaster"], { "placementInput": { "alias": "placement"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, ["contentToasts"], ["*"], true, never>;
48
47
  }
@@ -1,5 +1,5 @@
1
1
  import { TToasterPlacement } from './toaster.component';
2
- import { ToastComponent } from '../toast/toast.component';
2
+ import { type ToastComponent } from '../toast/toast.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface IToasterAction {
5
5
  placement?: TToasterPlacement;
@@ -1,13 +1,13 @@
1
1
  import { OnDestroy, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TooltipComponent implements OnDestroy {
4
+ #private;
4
5
  readonly renderer: Renderer2;
5
6
  /**
6
7
  * Content of tooltip
7
8
  * @type {string | TemplateRef}
8
9
  */
9
10
  readonly content: import("@angular/core").InputSignal<string | TemplateRef<any>>;
10
- readonly contentEffect: import("@angular/core").EffectRef;
11
11
  /**
12
12
  * Toggle the visibility of popover component.
13
13
  * @type boolean
@@ -10,13 +10,11 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
10
10
  * @type {string | TemplateRef}
11
11
  */
12
12
  readonly content: import("@angular/core").InputSignal<string | TemplateRef<any> | undefined>;
13
- readonly contentEffect: import("@angular/core").EffectRef;
14
13
  /**
15
14
  * Optional popper Options object, takes precedence over cPopoverPlacement prop
16
15
  * @type Partial<Options>
17
16
  */
18
17
  readonly popperOptions: import("@angular/core").InputSignal<Partial<Options>>;
19
- readonly popperOptionsEffect: import("@angular/core").EffectRef;
20
18
  readonly popperOptionsComputed: import("@angular/core").Signal<{
21
19
  placement: import("@popperjs/core").Placement;
22
20
  modifiers?: Partial<import("@popperjs/core").Modifier<any, any>>[] | undefined;
@@ -46,7 +44,6 @@ export declare class TooltipDirective implements OnDestroy, OnInit, AfterViewIni
46
44
  * @type boolean
47
45
  */
48
46
  readonly visible: import("@angular/core").ModelSignal<boolean>;
49
- readonly visibleEffect: import("@angular/core").EffectRef;
50
47
  get ariaDescribedBy(): string | null;
51
48
  private tooltip;
52
49
  private tooltipId;
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
3
3
  export declare class AlignDirective {
4
4
  /**
5
5
  * Set vertical alignment of inline, inline-block, inline-table, and table cell elements
6
- * @type Alignment
6
+ * @return Alignment
7
7
  */
8
- align?: Alignment;
9
- get hostClasses(): any;
8
+ readonly align: import("@angular/core").InputSignal<Alignment | undefined>;
9
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AlignDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<AlignDirective, "[cAlign]", never, { "align": { "alias": "cAlign"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AlignDirective, "[cAlign]", ["cAlign"], { "align": { "alias": "cAlign"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
12
  }
@@ -1,16 +1,15 @@
1
- import { BackgroundColors } from '../coreui.types';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class BgColorDirective {
4
3
  /**
5
4
  * Set the background of an element to any contextual class
6
5
  */
7
- color: BackgroundColors;
6
+ readonly cBgColor: import("@angular/core").InputSignal<string>;
8
7
  /**
9
8
  * Add linear gradient as background image to the backgrounds.
10
- * @type boolean
9
+ * @return boolean
11
10
  */
12
- gradient?: boolean;
13
- get hostClasses(): any;
11
+ readonly gradient: import("@angular/core").InputSignal<boolean | undefined>;
12
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<BgColorDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<BgColorDirective, "[cBgColor]", never, { "color": { "alias": "cBgColor"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BgColorDirective, "[cBgColor]", ["cBgColor"], { "cBgColor": { "alias": "cBgColor"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
15
  }
@@ -3,10 +3,10 @@ import * as i0 from "@angular/core";
3
3
  export declare class BorderDirective {
4
4
  /**
5
5
  * Add or remove an element’s borders
6
- * @type Border
6
+ * @return Border
7
7
  */
8
- border: Border;
9
- get hostClasses(): any;
8
+ readonly cBorder: import("@angular/core").InputSignal<Border>;
9
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<BorderDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[cBorder]", never, { "border": { "alias": "cBorder"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BorderDirective, "[cBorder]", ["cBorder"], { "cBorder": { "alias": "cBorder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
12
  }
@@ -5,8 +5,8 @@ export declare class RoundedDirective {
5
5
  * Set border radius variant and radius size
6
6
  * @type Rounded
7
7
  */
8
- rounded: Rounded;
9
- get hostClasses(): any;
8
+ readonly cRounded: import("@angular/core").InputSignal<Rounded>;
9
+ readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<RoundedDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<RoundedDirective, "[cRounded]", never, { "rounded": { "alias": "cRounded"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RoundedDirective, "[cRounded]", ["cRounded"], { "cRounded": { "alias": "cRounded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
12
12
  }
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  export declare class ShadowOnScrollDirective {
3
3
  #private;
4
4
  constructor();
5
- set cShadowOnScroll(value: 'sm' | 'lg' | 'none' | boolean);
5
+ readonly cShadowOnScroll: import("@angular/core").InputSignal<boolean | "sm" | "lg" | "none">;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ShadowOnScrollDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]", never, { "cShadowOnScroll": { "alias": "cShadowOnScroll"; "required": false; }; }, {}, never, never, true, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ShadowOnScrollDirective, "[cShadowOnScroll]", ["cShadowOnScroll"], { "cShadowOnScroll": { "alias": "cShadowOnScroll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8
8
  }
@@ -3,6 +3,7 @@ import { TemplateIdDirective } from '../../shared';
3
3
  import { CardComponent } from '../../card';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class WidgetStatAComponent extends CardComponent {
6
+ #private;
6
7
  /**
7
8
  * Sets the color context of the component to one of CoreUI’s themed colors.
8
9
  * @type Colors
@@ -19,7 +20,6 @@ export declare class WidgetStatAComponent extends CardComponent {
19
20
  readonly value: InputSignal<string | undefined>;
20
21
  templates: Record<string, TemplateRef<any>>;
21
22
  readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
22
- readonly contentTemplatesEffect: import("@angular/core").EffectRef;
23
23
  readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
24
24
  get bodyClasses(): {
25
25
  'pb-0': boolean;
@@ -3,6 +3,7 @@ import { CardComponent } from '../../card';
3
3
  import { TemplateIdDirective } from '../../shared';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class WidgetStatCComponent extends CardComponent {
6
+ #private;
6
7
  constructor();
7
8
  /**
8
9
  * Icon for your component.
@@ -26,7 +27,6 @@ export declare class WidgetStatCComponent extends CardComponent {
26
27
  readonly inverse: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
27
28
  templates: Record<string, TemplateRef<any>>;
28
29
  readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
29
- readonly contentTemplatesEffect: import("@angular/core").EffectRef;
30
30
  readonly hostExtendedClass: import("@angular/core").Signal<Record<string, boolean>>;
31
31
  readonly titleClasses: import("@angular/core").Signal<Record<string, boolean>>;
32
32
  readonly valueClasses: import("@angular/core").Signal<Record<string, boolean>>;
@@ -3,6 +3,7 @@ import { TemplateIdDirective } from '../../shared';
3
3
  import { CardComponent } from '../../card';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class WidgetStatFComponent extends CardComponent {
6
+ #private;
6
7
  /**
7
8
  * Sets the color context of the component to one of CoreUI’s themed colors.
8
9
  * @type Colors
@@ -38,7 +39,6 @@ export declare class WidgetStatFComponent extends CardComponent {
38
39
  readonly value: import("@angular/core").InputSignal<string | number | undefined>;
39
40
  templates: Record<string, TemplateRef<any>>;
40
41
  readonly contentTemplates: import("@angular/core").Signal<readonly TemplateIdDirective[]>;
41
- readonly contentTemplatesEffect: import("@angular/core").EffectRef;
42
42
  readonly cardBodyClasses: import("@angular/core").Signal<Record<string, boolean>>;
43
43
  readonly iconClasses: import("@angular/core").Signal<Record<string, boolean>>;
44
44
  readonly titleClasses: import("@angular/core").Signal<Record<string, boolean>>;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "5.3.6",
3
+ "version": "5.3.8",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
- "copyright": "Copyright 2024 creativeLabs Łukasz Holeczek",
5
+ "copyright": "Copyright 2025 creativeLabs Łukasz Holeczek",
6
6
  "homepage": "https://coreui.io/angular",
7
7
  "author": {
8
8
  "name": "creativeLabs Łukasz Holeczek",
@@ -22,14 +22,14 @@
22
22
  },
23
23
  "sideEffects": false,
24
24
  "peerDependencies": {
25
- "@angular/animations": "^19.0.0",
26
- "@angular/cdk": "^19.0.0",
27
- "@angular/common": "^19.0.0",
28
- "@angular/core": "^19.0.0",
29
- "@angular/forms": "^19.0.0",
30
- "@angular/router": "^19.0.0",
25
+ "@angular/animations": "^19.1.1",
26
+ "@angular/cdk": "^19.1.0",
27
+ "@angular/common": "^19.1.1",
28
+ "@angular/core": "^19.1.1",
29
+ "@angular/forms": "^19.1.1",
30
+ "@angular/router": "^19.1.1",
31
31
  "@coreui/coreui-pro": "^5.8.0",
32
- "@coreui/icons-angular": "~5.3.5",
32
+ "@coreui/icons-angular": "~5.3.8",
33
33
  "rxjs": "^7.8.1"
34
34
  },
35
35
  "repository": {