@coreui/angular 5.7.26 → 5.7.27

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.26",
3
+ "version": "5.7.27",
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.1.0",
30
30
  "@angular/router": "^22.1.0",
31
31
  "@coreui/coreui": "^5.9.0",
32
- "@coreui/icons-angular": "~5.7.26",
32
+ "@coreui/icons-angular": "~5.7.27",
33
33
  "rxjs": "^7.8.2"
34
34
  },
35
35
  "repository": {
@@ -100,7 +100,7 @@ declare class ThemeDirective {
100
100
  #private;
101
101
  /**
102
102
  * Sets the dark theme attribute on the host element.
103
- * @returns 'dark' | 'light' | undefined
103
+ * @returns 'dark' | 'light'
104
104
  */
105
105
  readonly colorScheme: _angular_core.InputSignal<"dark" | "light" | undefined>;
106
106
  /**
@@ -125,7 +125,7 @@ declare class SharedModule {
125
125
  declare class AccordionButtonDirective {
126
126
  /**
127
127
  * Toggles an accordion button collapsed state. Use in accordionHeaderTemplate.
128
- * @returns boolean
128
+ * @returns boolean | undefined
129
129
  */
130
130
  readonly collapsed: _angular_core.InputSignal<boolean | undefined>;
131
131
  /**
@@ -213,8 +213,8 @@ declare class AlertComponent {
213
213
  readonly role: _angular_core.InputSignal<string>;
214
214
  /**
215
215
  * Set the alert variant to a solid.
216
- * @returns string
217
- * @default 'solid'
216
+ * @returns 'solid'
217
+ * @default undefined
218
218
  */
219
219
  readonly variant: _angular_core.InputSignal<"solid" | undefined>;
220
220
  /**
@@ -285,7 +285,7 @@ declare class AvatarComponent {
285
285
  /**
286
286
  * Size the component small, large, or extra large.
287
287
  * @returns Omit<Sizes, 'xxl'>
288
- * @default 'md'
288
+ * @default ''
289
289
  */
290
290
  readonly size: _angular_core.InputSignal<Omit<string, "xxl">>;
291
291
  /**
@@ -502,7 +502,7 @@ declare class ButtonDirective {
502
502
  readonly shape: _angular_core.InputSignal<string | undefined>;
503
503
  /**
504
504
  * Size the component small or large.
505
- * @returns 'sm' | 'lg' | ''
505
+ * @returns '' | 'sm' | 'lg'
506
506
  */
507
507
  readonly size: _angular_core.InputSignal<"" | "sm" | "lg">;
508
508
  /**
@@ -657,7 +657,7 @@ declare class CardHeaderActionsComponent {
657
657
  declare class CardImgDirective {
658
658
  /**
659
659
  * Optionally orientate the image to the top, bottom, or make it overlaid across the card.
660
- * @returns 'top' | 'bottom' | 'start' | 'end'
660
+ * @returns 'top' | 'bottom' | 'start' | 'end' | undefined
661
661
  */
662
662
  readonly orientation: _angular_core.InputSignal<"start" | "end" | "top" | "bottom" | undefined>;
663
663
  readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
@@ -782,13 +782,13 @@ declare class CarouselControlComponent {
782
782
  #private;
783
783
  /**
784
784
  * Carousel control caption
785
- * @returns string
785
+ * @returns string | undefined
786
786
  */
787
787
  readonly captionInput: _angular_core.InputSignal<string | undefined>;
788
788
  readonly caption: _angular_core.WritableSignal<string>;
789
789
  /**
790
790
  * Carousel control direction.
791
- * @returns 'next' | 'prev'
791
+ * @returns 'prev' | 'next'
792
792
  */
793
793
  readonly direction: _angular_core.InputSignal<"next" | "prev">;
794
794
  /**
@@ -1008,7 +1008,7 @@ declare class DropdownToggleDirective implements AfterViewInit {
1008
1008
  dropdown: DropdownToken | null;
1009
1009
  /**
1010
1010
  * Reference to dropdown component.
1011
- * @returns DropdownComponent | undefined
1011
+ * @returns DropdownComponent
1012
1012
  * @default undefined
1013
1013
  */
1014
1014
  readonly dropdownComponent: _angular_core.InputSignal<DropdownComponent | undefined>;
@@ -1149,7 +1149,7 @@ declare class DropdownItemDirective implements FocusableOption {
1149
1149
  /**
1150
1150
  * Disables a dropdown-item.
1151
1151
  * @returns boolean
1152
- * @default undefined
1152
+ * @default false
1153
1153
  */
1154
1154
  readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
1155
1155
  set disabled(value: boolean);
@@ -1222,7 +1222,7 @@ declare class DropdownModule {
1222
1222
  declare class FooterComponent {
1223
1223
  /**
1224
1224
  * Place footer in non-static positions
1225
- * @returns Positions
1225
+ * @returns Positions | undefined
1226
1226
  */
1227
1227
  readonly position: InputSignal<Positions | undefined>;
1228
1228
  /**
@@ -1377,7 +1377,8 @@ declare class FormLabelDirective {
1377
1377
  readonly col: _angular_core.InputSignal<"" | "col">;
1378
1378
  /**
1379
1379
  * Size the label small or large.
1380
- * @default ''
1380
+ * @returns '' | 'sm' | 'lg'
1381
+ * @default undefined
1381
1382
  */
1382
1383
  readonly sizing: _angular_core.InputSignal<"" | "sm" | "lg" | undefined>;
1383
1384
  readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
@@ -1430,7 +1431,8 @@ declare class FormModule {
1430
1431
  declare class ContainerComponent {
1431
1432
  /**
1432
1433
  * Set container 100% wide until a breakpoint.
1433
- * @returns 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
1434
+ * @returns Exclude<Breakpoints, 'xs'>
1435
+ * @values 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
1434
1436
  * @default ''
1435
1437
  */
1436
1438
  readonly breakpoint: _angular_core.InputSignal<string>;
@@ -1757,7 +1759,7 @@ declare class ListGroupItemDirective {
1757
1759
  readonly active: InputSignalWithTransform<boolean, unknown>;
1758
1760
  /**
1759
1761
  * Sets the color context of the component to one of CoreUI’s themed colors.
1760
- * @returns Colors
1762
+ * @returns Colors | undefined
1761
1763
  */
1762
1764
  readonly color: InputSignal<string | undefined>;
1763
1765
  /**
@@ -1841,7 +1843,7 @@ declare class NavGroupComponent {
1841
1843
  readonly toggler: _angular_core.InputSignal<string | undefined>;
1842
1844
  /**
1843
1845
  * Template for the group toggler content, receives the visible state as `$implicit`.
1844
- * @returns TemplateRef
1846
+ * @returns TemplateRef<{ $implicit: boolean; visible: boolean }>
1845
1847
  */
1846
1848
  readonly togglerTemplate: _angular_core.InputSignal<TemplateRef<{
1847
1849
  $implicit: boolean;
@@ -1849,7 +1851,7 @@ declare class NavGroupComponent {
1849
1851
  }> | undefined>;
1850
1852
  /**
1851
1853
  * Show nav group items. Sets the initial state, and follows every later change.
1852
- * @returns boolean
1854
+ * @returns boolean | undefined
1853
1855
  */
1854
1856
  readonly visible: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
1855
1857
  /**
@@ -1901,7 +1903,7 @@ declare class NavItemComponent {
1901
1903
  static ngAcceptInputType_tabindex: NumberInput;
1902
1904
  /**
1903
1905
  * Toggle the active state for the nav link rendered for `href`.
1904
- * @returns boolean
1906
+ * @returns boolean | undefined
1905
1907
  * @default undefined
1906
1908
  */
1907
1909
  readonly active: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
@@ -2023,7 +2025,7 @@ declare class NavbarTogglerDirective {
2023
2025
  constructor();
2024
2026
  /**
2025
2027
  * Reference to navbar collapse element (via # template variable)
2026
- * @returns CollapseDirective
2028
+ * @returns CollapseDirective | undefined
2027
2029
  */
2028
2030
  readonly collapseRef: _angular_core.InputSignal<CollapseDirective | undefined>;
2029
2031
  /**
@@ -2183,7 +2185,7 @@ declare class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
2183
2185
  /**
2184
2186
  * Set aria-modal html attr for modal
2185
2187
  * @returns boolean
2186
- * @default null
2188
+ * @default false
2187
2189
  */
2188
2190
  readonly ariaModalInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
2189
2191
  readonly ariaModal: _angular_core.Signal<true | null>;
@@ -2289,7 +2291,7 @@ declare class OffcanvasComponent implements OnInit, OnDestroy {
2289
2291
  readonly portal: _angular_core.InputSignalWithTransform<boolean, unknown>;
2290
2292
  /**
2291
2293
  * Responsive offcanvas property hides content outside the viewport from a specified breakpoint and down.
2292
- * @returns boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
2294
+ * @returns (boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl') | undefined
2293
2295
  * @default true
2294
2296
  * @since 4.3.10
2295
2297
  */
@@ -2505,7 +2507,7 @@ declare class PopoverComponent implements OnDestroy {
2505
2507
  readonly renderer: Renderer2;
2506
2508
  /**
2507
2509
  * Content of popover
2508
- * @returns {string | TemplateRef}
2510
+ * @returns string | TemplateRef<any>
2509
2511
  */
2510
2512
  readonly content: _angular_core.InputSignal<string | TemplateRef<any>>;
2511
2513
  /**
@@ -2538,7 +2540,7 @@ declare class PopoverDirective implements OnDestroy, OnInit, AfterViewInit {
2538
2540
  #private;
2539
2541
  /**
2540
2542
  * Content of popover
2541
- * @returns {string | TemplateRef}
2543
+ * @returns string | TemplateRef<any> | undefined
2542
2544
  */
2543
2545
  readonly content: _angular_core.InputSignal<string | TemplateRef<any> | undefined>;
2544
2546
  /**
@@ -2554,20 +2556,21 @@ declare class PopoverDirective implements OnDestroy, OnInit, AfterViewInit {
2554
2556
  }>;
2555
2557
  /**
2556
2558
  * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
2557
- * @return: 'top' | 'bottom' | 'left' | 'right'
2558
- * @default: 'top'
2559
+ * @returns 'top' | 'bottom' | 'left' | 'right'
2560
+ * @default 'top'
2559
2561
  */
2560
2562
  readonly placement: _angular_core.InputSignal<"top" | "bottom" | "right" | "left">;
2561
2563
  /**
2562
2564
  * ElementRefDirective for positioning the tooltip on reference element
2563
- * @return: ElementRefDirective
2564
- * @default: undefined
2565
+ * @returns ElementRefDirective | undefined
2566
+ * @default undefined
2567
+ * @since 5.7.27
2565
2568
  */
2566
2569
  readonly reference: _angular_core.InputSignal<ElementRefDirective | undefined>;
2567
2570
  readonly referenceRef: _angular_core.Signal<ElementRef<any>>;
2568
2571
  /**
2569
2572
  * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
2570
- * @return: Triggers | Triggers[]
2573
+ * @returns Triggers | Triggers[]
2571
2574
  */
2572
2575
  readonly trigger: _angular_core.InputSignal<Triggers | Triggers[]>;
2573
2576
  /**
@@ -2593,7 +2596,7 @@ declare class PopoverDirective implements OnDestroy, OnInit, AfterViewInit {
2593
2596
  private addTooltipElement;
2594
2597
  private removeTooltipElement;
2595
2598
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverDirective, never>;
2596
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[cPopover]", ["cPopover"], { "content": { "alias": "cPopover"; "required": false; "isSignal": true; }; "popperOptions": { "alias": "cPopoverOptions"; "required": false; "isSignal": true; }; "placement": { "alias": "cPopoverPlacement"; "required": false; "isSignal": true; }; "reference": { "alias": "cTooltipRef"; "required": false; "isSignal": true; }; "trigger": { "alias": "cPopoverTrigger"; "required": false; "isSignal": true; }; "visible": { "alias": "cPopoverVisible"; "required": false; "isSignal": true; }; }, { "visible": "cPopoverVisibleChange"; }, never, never, true, never>;
2599
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[cPopover]", ["cPopover"], { "content": { "alias": "cPopover"; "required": false; "isSignal": true; }; "popperOptions": { "alias": "cPopoverOptions"; "required": false; "isSignal": true; }; "placement": { "alias": "cPopoverPlacement"; "required": false; "isSignal": true; }; "reference": { "alias": "cPopoverRef"; "required": false; "isSignal": true; }; "trigger": { "alias": "cPopoverTrigger"; "required": false; "isSignal": true; }; "visible": { "alias": "cPopoverVisible"; "required": false; "isSignal": true; }; }, { "visible": "cPopoverVisibleChange"; }, never, never, true, never>;
2597
2600
  }
2598
2601
 
2599
2602
  declare class PopoverModule {
@@ -2629,7 +2632,7 @@ declare class ProgressBarDirective {
2629
2632
  readonly animated: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
2630
2633
  /**
2631
2634
  * Sets the color context of the component to one of CoreUI’s themed colors.
2632
- * @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
2635
+ * @returns Colors
2633
2636
  */
2634
2637
  readonly color: _angular_core.InputSignal<string | undefined>;
2635
2638
  /**
@@ -3165,7 +3168,7 @@ declare class SidebarNavComponent implements OnChanges {
3165
3168
  readonly router: Router;
3166
3169
  /**
3167
3170
  * Configuration object for sidebar-nav.
3168
- * @returns INavData[]
3171
+ * @returns INavData[] | undefined
3169
3172
  * @default []
3170
3173
  */
3171
3174
  readonly navItems: _angular_core.InputSignal<INavData[] | undefined>;
@@ -3328,8 +3331,7 @@ declare class SpinnerComponent {
3328
3331
  readonly label: _angular_core.InputSignal<string>;
3329
3332
  /**
3330
3333
  * Size the component small.
3331
- * @returns string
3332
- * @values 'sm'
3334
+ * @returns 'sm'
3333
3335
  */
3334
3336
  readonly size: _angular_core.InputSignal<"sm" | undefined>;
3335
3337
  /**
@@ -3358,7 +3360,7 @@ declare class SpinnerModule {
3358
3360
  declare class TableColorDirective {
3359
3361
  /**
3360
3362
  * Use contextual color for tables, table rows or individual cells.
3361
- * @returns Colors
3363
+ * @returns Colors | undefined
3362
3364
  */
3363
3365
  readonly color: _angular_core.InputSignal<string | undefined>;
3364
3366
  readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
@@ -3386,8 +3388,7 @@ declare class TableDirective {
3386
3388
  static ngAcceptInputType_stripedColumns: BooleanInput$1;
3387
3389
  /**
3388
3390
  * Set the vertical alignment.
3389
- * @returns string
3390
- * @values 'bottom' | 'middle' | 'top'
3391
+ * @returns 'bottom' | 'middle' | 'top'
3391
3392
  */
3392
3393
  readonly align: _angular_core.InputSignal<"top" | "middle" | "bottom" | undefined>;
3393
3394
  /**
@@ -3423,7 +3424,8 @@ declare class TableDirective {
3423
3424
  readonly hover: _angular_core.InputSignalWithTransform<boolean, unknown>;
3424
3425
  /**
3425
3426
  * Make table responsive across all viewports or pick a maximum breakpoint with which to have a responsive table up to.
3426
- * @values: {boolean | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'}
3427
+ * @returns boolean | Omit<Breakpoints, 'xs'>
3428
+ * @values true | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'
3427
3429
  */
3428
3430
  readonly responsive: _angular_core.InputSignal<boolean | Omit<string, "xs"> | undefined>;
3429
3431
  /**
@@ -3679,7 +3681,7 @@ declare class TabPanelComponent {
3679
3681
  #private;
3680
3682
  /**
3681
3683
  * aria-labelledby attribute
3682
- * @returns string
3684
+ * @returns string | undefined
3683
3685
  * @default undefined
3684
3686
  */
3685
3687
  readonly ariaLabelledBy: _angular_core.InputSignal<string | undefined>;
@@ -3765,7 +3767,7 @@ declare class ToasterComponent implements OnInit {
3765
3767
  get placement(): string;
3766
3768
  /**
3767
3769
  * Toaster position
3768
- * @returns (string | 'absolute' | 'fixed' | 'static')
3770
+ * @returns string | 'absolute' | 'fixed' | 'static'
3769
3771
  */
3770
3772
  readonly position: _angular_core.InputSignal<string>;
3771
3773
  readonly toasterHost: _angular_core.Signal<ToasterHostDirective>;
@@ -3927,7 +3929,7 @@ declare class TooltipComponent implements OnDestroy {
3927
3929
  readonly renderer: Renderer2;
3928
3930
  /**
3929
3931
  * Content of tooltip
3930
- * @returns {string | TemplateRef}
3932
+ * @returns string | TemplateRef<any>
3931
3933
  */
3932
3934
  readonly content: _angular_core.InputSignal<string | TemplateRef<any>>;
3933
3935
  /**
@@ -3960,7 +3962,7 @@ declare class TooltipDirective implements OnDestroy, OnInit, AfterViewInit {
3960
3962
  #private;
3961
3963
  /**
3962
3964
  * Content of tooltip
3963
- * @returns {string | TemplateRef}
3965
+ * @returns string | TemplateRef<any> | undefined
3964
3966
  */
3965
3967
  readonly content: _angular_core.InputSignal<string | TemplateRef<any> | undefined>;
3966
3968
  /**
@@ -3976,20 +3978,21 @@ declare class TooltipDirective implements OnDestroy, OnInit, AfterViewInit {
3976
3978
  }>;
3977
3979
  /**
3978
3980
  * Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property.
3979
- * @return: 'top' | 'bottom' | 'left' | 'right'
3980
- * @default: 'top'
3981
+ * @returns 'top' | 'bottom' | 'left' | 'right'
3982
+ * @default 'top'
3981
3983
  */
3982
3984
  readonly placement: _angular_core.InputSignal<"top" | "bottom" | "right" | "left">;
3983
3985
  /**
3984
3986
  * ElementRefDirective for positioning the tooltip on reference element
3985
- * @return: ElementRefDirective
3986
- * @default: undefined
3987
+ * @returns ElementRefDirective | undefined
3988
+ * @default undefined
3989
+ * @since 5.1.0
3987
3990
  */
3988
3991
  readonly reference: _angular_core.InputSignal<ElementRefDirective | undefined>;
3989
3992
  readonly referenceRef: _angular_core.Signal<ElementRef<any>>;
3990
3993
  /**
3991
3994
  * Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them.
3992
- * @return: 'Triggers | Triggers[]
3995
+ * @returns Triggers | Triggers[]
3993
3996
  */
3994
3997
  readonly trigger: _angular_core.InputSignal<Triggers | Triggers[]>;
3995
3998
  /**
@@ -4027,7 +4030,7 @@ declare class TooltipModule {
4027
4030
  declare class AlignDirective {
4028
4031
  /**
4029
4032
  * Set vertical alignment of inline, inline-block, inline-table, and table cell elements
4030
- * @returns Alignment
4033
+ * @returns Alignment | undefined
4031
4034
  */
4032
4035
  readonly align: _angular_core.InputSignal<Alignment | undefined>;
4033
4036
  readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
@@ -4226,7 +4229,7 @@ declare class WidgetStatDComponent extends CardComponent {
4226
4229
  */
4227
4230
  /**
4228
4231
  * Values and subtitles for your component.
4229
- * @returns WidgetStatDValue
4232
+ * @returns WidgetStatDValue[]
4230
4233
  */
4231
4234
  readonly values: _angular_core.InputSignal<WidgetStatDValue[] | undefined>;
4232
4235
  readonly headerClasses: _angular_core.Signal<Record<string, boolean>>;