@coreui/angular 5.7.32 → 5.7.35

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular",
3
- "version": "5.7.32",
3
+ "version": "5.7.35",
4
4
  "description": "CoreUI Components Library for Angular",
5
5
  "copyright": "Copyright 2026 creativeLabs Łukasz Holeczek",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "@angular/core": "^22.2.0",
30
30
  "@angular/router": "^22.2.0",
31
31
  "@coreui/coreui": "^5.9.0",
32
- "@coreui/icons-angular": "~5.7.32",
32
+ "@coreui/icons-angular": "~5.7.35",
33
33
  "rxjs": "^7.8.2"
34
34
  },
35
35
  "repository": {
@@ -3,7 +3,7 @@ import * as i0 from "@angular/core";
3
3
  import { AfterContentChecked, AfterContentInit, AfterViewInit, AnimationCallbackEvent, ChangeDetectorRef, ComponentRef, DestroyRef, ElementRef, Injector, InputSignal, InputSignalWithTransform, ModuleWithProviders, NgModuleRef, OnChanges, OnDestroy, OnInit, PipeTransform, QueryList, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef, WritableSignal } from "@angular/core";
4
4
  import { Observable, Subscription } from "rxjs";
5
5
  import { BooleanInput as BooleanInput$1, NumberInput as NumberInput$1 } from "@angular/cdk/coercion";
6
- import { FocusOrigin, FocusableOption } from "@angular/cdk/a11y";
6
+ import { CdkTrapFocus, FocusOrigin, FocusableOption } from "@angular/cdk/a11y";
7
7
  import { Options, Placement } from "@popperjs/core";
8
8
  import { DomPortal, DomPortalOutlet } from "@angular/cdk/portal";
9
9
  export declare type BooleanInput = string | boolean | null | undefined;
@@ -1487,7 +1487,7 @@ export declare class DropdownMenuDirective implements OnInit, AfterContentInit {
1487
1487
  readonly hostStyles: import("@angular/core").Signal<Record<string, any>>;
1488
1488
  readonly dataPopper: import("@angular/core").Signal<"static" | null>;
1489
1489
  onKeyDown($event: KeyboardEvent): void;
1490
- onKeyUp($event: KeyboardEvent): void;
1490
+ onFocusIn($event: FocusEvent): void;
1491
1491
  readonly dropdownItemsContent: import("@angular/core").Signal<readonly DropdownItemDirective[]>;
1492
1492
  readonly items$: import("node_modules/rxjs/dist/types").Observable<readonly DropdownItemDirective[]>;
1493
1493
  ngAfterContentInit(): void;
@@ -1516,6 +1516,7 @@ export declare class DropdownMenuDirective implements OnInit, AfterContentInit {
1516
1516
  interface IDropdownState {
1517
1517
  visible?: boolean | 'toggle';
1518
1518
  dropdown?: any;
1519
+ focus?: 'first' | 'last';
1519
1520
  }
1520
1521
  export declare class DropdownService {
1521
1522
  #private;
@@ -1562,6 +1563,8 @@ export declare class DropdownToggleDirective implements AfterViewInit {
1562
1563
  readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
1563
1564
  get ariaExpanded(): boolean;
1564
1565
  onClick($event: MouseEvent): void;
1566
+ onKeyDown($event: KeyboardEvent): void;
1567
+ constructor();
1565
1568
  ngAfterViewInit(): void;
1566
1569
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownToggleDirective, never>;
1567
1570
  static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownToggleDirective, "[cDropdownToggle]", ["cDropdownToggle"], {
@@ -1653,6 +1656,7 @@ export declare class DropdownComponent implements OnDestroy, OnInit {
1653
1656
  $implicit: boolean;
1654
1657
  };
1655
1658
  readonly _toggler: import("@angular/core").Signal<DropdownToggleDirective | undefined>;
1659
+ toggler?: DropdownToggleDirective;
1656
1660
  readonly _menu: import("@angular/core").Signal<DropdownMenuDirective | undefined>;
1657
1661
  readonly _menuElementRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
1658
1662
  activeTrap: boolean;
@@ -1733,6 +1737,7 @@ declare namespace dropdown_item_directive_d_exports {
1733
1737
  }
1734
1738
  export declare class DropdownItemDirective implements FocusableOption {
1735
1739
  #private;
1740
+ readonly elementRef: ElementRef;
1736
1741
  dropdown?: DropdownComponent | null | undefined;
1737
1742
  /**
1738
1743
  * Set active state to a dropdown-item.
@@ -1755,11 +1760,11 @@ export declare class DropdownItemDirective implements FocusableOption {
1755
1760
  set disabled(value: boolean);
1756
1761
  get disabled(): boolean;
1757
1762
  /**
1758
- * Default role for dropdown-item.
1763
+ * Role for dropdown-item.
1759
1764
  * @returns string
1760
- * @default 'list-item'
1765
+ * @default undefined
1761
1766
  */
1762
- readonly role: import("@angular/core").InputSignal<string>;
1767
+ readonly role: import("@angular/core").InputSignal<string | undefined>;
1763
1768
  /**
1764
1769
  * Tab index of the dropdown-item.
1765
1770
  * @returns string | number | null
@@ -3443,6 +3448,7 @@ export declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit
3443
3448
  */
3444
3449
  readonly visibleChange: import("@angular/core").OutputEmitterRef<boolean>;
3445
3450
  readonly modalContentRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
3451
+ protected readonly focusTrap: import("@angular/core").Signal<CdkTrapFocus | undefined>;
3446
3452
  readonly modalDialogRef: import("@angular/core").Signal<ElementRef<any>>;
3447
3453
  readonly hostClasses: import("@angular/core").Signal<Record<string, boolean>>;
3448
3454
  readonly ariaHidden: import("@angular/core").Signal<true | null>;
@@ -3534,7 +3540,9 @@ export declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit
3534
3540
  interface IModalAction {
3535
3541
  show?: boolean | 'toggle';
3536
3542
  modal?: ModalComponent;
3543
+ focusFallback?: (HTMLElement | null)[];
3537
3544
  id?: string;
3545
+ trigger?: HTMLElement;
3538
3546
  }
3539
3547
  export declare class ModalService {
3540
3548
  #private;
@@ -3602,13 +3610,13 @@ export declare class OffcanvasComponent implements OnInit, OnDestroy {
3602
3610
  */
3603
3611
  readonly id: import("@angular/core").InputSignal<string>;
3604
3612
  /**
3605
- * Default role for offcanvas
3613
+ * Role attribute rendered while the offcanvas is open
3606
3614
  * @returns string
3607
3615
  * @default 'dialog'
3608
3616
  */
3609
3617
  readonly role: import("@angular/core").InputSignal<string>;
3610
3618
  /**
3611
- * Set aria-modal html attr for offcanvas
3619
+ * aria-modal attribute rendered while the offcanvas is open
3612
3620
  * @returns boolean
3613
3621
  * @default true
3614
3622
  */
@@ -3643,6 +3651,7 @@ export declare class OffcanvasComponent implements OnInit, OnDestroy {
3643
3651
  get responsiveBreakpoint(): string | false;
3644
3652
  animateStart(visible?: boolean): void;
3645
3653
  onKeyDownHandler(event: KeyboardEvent): void;
3654
+ onResizeHandler(): void;
3646
3655
  ngOnInit(): void;
3647
3656
  ngOnDestroy(): void;
3648
3657
  setFocus(): void;
@@ -3762,6 +3771,7 @@ interface IOffcanvasAction {
3762
3771
  show?: boolean | 'toggle';
3763
3772
  offcanvas?: OffcanvasComponent;
3764
3773
  id?: string;
3774
+ trigger?: HTMLElement;
3765
3775
  }
3766
3776
  export declare class OffcanvasService {
3767
3777
  private offcanvasState;