Skip to content

Commit 048a153

Browse files
committed
chore: cui prefix selector alias cleanup
1 parent 88a7a86 commit 048a153

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### [@coreui/angular](https://coreui.io/) changelog
22

3+
##### `v2.6.x`
4+
- chore: add "cui" prefixed selector alias to all components - thanks @Hagith #80
5+
36
##### `v2.6.0`
47
- fix(SidebarNavLink): nav link target doesn't work through appHtmlAttr - thanks @Hagith #79
58
- fix(SidebarNavLink): allow link parameters array

projects/coreui/angular/src/lib/breadcrumb/app-breadcrumb.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {AppBreadcrumbService} from './app-breadcrumb.service';
55
import {Replace} from '../shared';
66

77
@Component({
8-
selector: 'app-breadcrumb, cui-breadcrumb',
8+
selector: 'app-breadcrumb',
99
template: `
1010
<ng-template ngFor let-breadcrumb [ngForOf]="breadcrumbs | async" let-last = last>
1111
<li class="breadcrumb-item"
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
export { AppBreadcrumbComponent } from './app-breadcrumb.component';
2+
export { CuiBreadcrumbComponent } from './cui-breadcrumb.component';
23
export { AppBreadcrumbModule } from './app-breadcrumb.module';

projects/coreui/angular/src/lib/sidebar/app-sidebar-form.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Component, ElementRef, OnInit, Renderer2} from '@angular/core';
22

33
@Component({
4-
selector: 'app-sidebar-form, , cui-sidebar-form',
4+
selector: 'app-sidebar-form, cui-sidebar-form',
55
template: `<ng-content></ng-content>`
66
})
77
export class AppSidebarFormComponent implements OnInit {

projects/coreui/angular/src/lib/sidebar/app-sidebar-nav/app-sidebar-nav-link.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {Observable, Subscription} from 'rxjs';
55
import {filter} from 'rxjs/operators';
66

77
@Component({
8-
selector: 'app-sidebar-nav-link-content',
8+
selector: 'app-sidebar-nav-link-content, cui-sidebar-nav-link-content',
99
template: `
1010
<ng-container *ngIf="true">
1111
<i *ngIf="helper.hasIcon(item)" [ngClass]="item | appSidebarNavIcon"></i>

0 commit comments

Comments
 (0)