@coreui/angular 5.7.27 → 5.7.28

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.27",
3
+ "version": "5.7.28",
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.27",
32
+ "@coreui/icons-angular": "~5.7.28",
33
33
  "rxjs": "^7.8.2"
34
34
  },
35
35
  "repository": {
@@ -1362,7 +1362,8 @@ declare class FormFeedbackComponent {
1362
1362
  declare class FormFloatingDirective {
1363
1363
  /**
1364
1364
  * Enable floating labels
1365
- * @dafault boolean
1365
+ * @returns boolean
1366
+ * @default true
1366
1367
  */
1367
1368
  readonly floating: _angular_core.InputSignalWithTransform<boolean, unknown>;
1368
1369
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFloatingDirective, never>;
@@ -1859,8 +1860,8 @@ declare class NavGroupComponent {
1859
1860
  * @returns boolean
1860
1861
  */
1861
1862
  readonly visibleChange: _angular_core.OutputEmitterRef<boolean>;
1862
- readonly display: _angular_core.WritableSignal<string | null>;
1863
1863
  readonly visibleState: _angular_core.Signal<boolean>;
1864
+ readonly display: _angular_core.WritableSignal<string | null>;
1864
1865
  readonly hostClasses: _angular_core.Signal<Record<string, boolean>>;
1865
1866
  toggleGroup(event: Event): void;
1866
1867
  openBranch(): void;
@@ -1887,6 +1888,10 @@ declare class NavGroupService {
1887
1888
  * Id of the open group at this level, `undefined` when none is open.
1888
1889
  */
1889
1890
  readonly activeId: _angular_core.WritableSignal<string | undefined>;
1891
+ /**
1892
+ * Whether an active nav link opens the branch it sits in. Inherited by nested levels.
1893
+ */
1894
+ readonly openOnActive: _angular_core.WritableSignal<boolean>;
1890
1895
  /**
1891
1896
  * Opens the level owner within its own parent and cascades up to the root.
1892
1897
  * Replaced by the owning `c-nav-group`; stays a no-op for the root level.
@@ -3129,7 +3134,8 @@ declare class SidebarNavGroupComponent implements OnInit, OnDestroy {
3129
3134
  * Determines when an inactive `c-sidebar-nav-group` closes.
3130
3135
  * - `path`: on an active route change only
3131
3136
  * - `close`: when another group is clicked
3132
- * - `none`: never, the group stays open
3137
+ * - `none`: never, the group stays open — it stops reacting to the route altogether,
3138
+ * so a matching route neither opens it on init nor on a later navigation
3133
3139
  */
3134
3140
  readonly dropdownMode: _angular_core.InputSignal<"none" | "close" | "path">;
3135
3141
  /**
@@ -3176,7 +3182,8 @@ declare class SidebarNavComponent implements OnChanges {
3176
3182
  * Determines when an inactive `c-sidebar-nav-group` closes.
3177
3183
  * - `path`: on an active route change only
3178
3184
  * - `close`: when another group is clicked
3179
- * - `none`: never, the group stays open
3185
+ * - `none`: never, the group stays open — it stops reacting to the route altogether,
3186
+ * so a matching route neither opens it on init nor on a later navigation
3180
3187
  */
3181
3188
  readonly dropdownMode: _angular_core.InputSignal<"none" | "close" | "path">;
3182
3189
  /**
@@ -3195,7 +3202,14 @@ declare class SidebarNavComponent implements OnChanges {
3195
3202
  * @default 'navigation'
3196
3203
  */
3197
3204
  readonly role: _angular_core.InputSignal<string>;
3205
+ /**
3206
+ * Set the sidebar nav variant to tree.
3207
+ * @default undefined
3208
+ * @since 5.7.28
3209
+ */
3210
+ readonly variant: _angular_core.InputSignal<"tree" | undefined>;
3198
3211
  readonly hostClasses: _angular_core.Signal<{
3212
+ [x: string]: boolean | undefined;
3199
3213
  'sidebar-nav': boolean;
3200
3214
  'nav-group-items': boolean | undefined;
3201
3215
  compact: boolean | undefined;
@@ -3204,7 +3218,7 @@ declare class SidebarNavComponent implements OnChanges {
3204
3218
  ngOnChanges(changes: SimpleChanges): void;
3205
3219
  hideMobile(): void;
3206
3220
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarNavComponent, never>;
3207
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarNavComponent, "c-sidebar-nav", never, { "navItems": { "alias": "navItems"; "required": false; "isSignal": true; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; "isSignal": true; }; "groupItems": { "alias": "groupItems"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
3221
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarNavComponent, "c-sidebar-nav", never, { "navItems": { "alias": "navItems"; "required": false; "isSignal": true; }; "dropdownMode": { "alias": "dropdownMode"; "required": false; "isSignal": true; }; "groupItems": { "alias": "groupItems"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
3208
3222
  }
3209
3223
 
3210
3224
  declare class SidebarNavDividerComponent {